1(self.webpackChunkorderry=self.webpackChunkorderry||[]).push([[912,6498,9117,15014,47307,56170,60319],{912:function(m){function h(e){return e&&e.length?e[0]:void 0}m.exports=h},1839:function(m,h,e){"use strict";var i=this&&this.__extends||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s]);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)},l=e(61308);function v(t){return function(n){return n.lift(new u(t))}}h.skip=v;var u=function(){function t(n){this.total=n}return t.prototype.call=function(n,s){return s.subscribe(new o(n,this.total))},t}(),o=function(t){i(n,t);function n(s,r){t.call(this,s),this.total=r,this.count=0}return n.prototype._next=function(s){++this.count>this.total&&this.destination.next(s)},n}(l.Subscriber)},3448:function(m,h,e){"use strict";e.d(h,{i:function(){return l}});var i=e(96540);const l=v=>{const{onBlur:u,onFocus:o,onFocusChange:t}=v,n=(0,i.useCallback)(r=>{r.target===r.currentTarget&&(u&&u(r),t&&t(!1))},[u,t]);return{focusProps:{onFocus:(0,i.useCallback)(r=>{r.target===r.currentTarget&&(o&&o(r),t&&t(!0))},[t,o]),onBlur:n}}}},5399:function(m,h,e){"use strict";var i=this&&this.__extends||function(n,s){for(var r in s)s.hasOwnProperty(r)&&(n[r]=s[r]);function c(){this.constructor=n}n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)},l=e(7737),v=e(8497);function u(n){return function(s){return s.lift(new o(n))}}h.takeUntil=u;var o=function(){function n(s){this.notifier=s}return n.prototype.call=function(s,r){return r.subscribe(new t(s,this.notifier))},n}(),t=function(n){i(s,n);function s(r,c){n.call(this,r),this.notifier=c,this.add(v.subscribeToResult(this,c))}return s.prototype.notifyNext=function(r,c,a,d,p){this.complete()},s.prototype.notifyComplete=function(){},s}(l.OuterSubscriber)},6498:function(m,h,e){var i=e(42e3),l=i(function(v,u,o){v[o?0:1].push(u)},function(){return[[],[]]});m.exports=l},7737:function(m,h,e){"use strict";var i=this&&this.__extends||function(u,o){for(var t in o)o.hasOwnProperty(t)&&(u[t]=o[t]);function n(){this.constructor=u}u.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)},l=e(61308),v=function(u){i(o,u);function o(){u.apply(this,arguments)}return o.prototype.notifyNext=function(t,n,s,r,c){this.destination.next(n)},o.prototype.notifyError=function(t,n){this.destination.error(t)},o.prototype.notifyComplete=function(t){this.destination.complete()},o}(l.Subscriber);h.OuterSubscriber=v},8497:function(m,h,e){"use strict";var i=e(32901),l=e(38871),v=e(20456),u=e(69690),o=e(29707),t=e(33763),n=e(53246),s=e(9404);function r(c,a,d,p){var f=new n.InnerSubscriber(c,d,p);if(f.closed)return null;if(a instanceof o.Observable)return a._isScalar?(f.next(a.value),f.complete(),null):(f.syncErrorThrowable=!0,a.subscribe(f));if(l.isArrayLike(a)){for(var P=0,H=a.length;P<H&&!f.closed;P++)f.next(a[P]);f.closed||f.complete()}else{if(v.isPromise(a))return a.then(function(L){f.closed||(f.next(L),f.complete())},function(L){return f.error(L)}).then(null,function(L){i.root.setTimeout(function(){throw L})}),f;if(a&&typeof a[t.iterator]=="function"){var E=a[t.iterator]();do{var U=E.next();if(U.done){f.complete();break}if(f.next(U.value),f.closed)break}while(!0)}else if(a&&typeof a[s.observable]=="function"){var x=a[s.observable]();if(typeof x.subscribe!="function")f.error(new TypeError("Provided object does not correctly implement Symbol.observable"));else return x.subscribe(new n.InnerSubscriber(c,d,p))}else{var W=u.isObject(a)?"an invalid object":"'"+a+"'",V="You provided "+W+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";f.error(new TypeError(V))}}return null}h.subscribeToResult=r},20456:function(m,h){"use strict";function e(i){return i&&typeof i.subscribe!="function"&&typeof i.then=="function"}h.isPromise=e},27195:function(m,h,e){"use strict";e.r(h),e.d(h,{default:function(){return Ne}});var i=e(74848),l=e(96540),v=e(1575),u=e(92630),o=e(70881),t=e(49785),n=e(62770),s=e(13965),r=e(37832),c=e(23356),a=e(25716),d=e(17003),p=e(11206),f=e(89315),P=e(99589),H=e(14854),E=e(22832),U=e(93647),x=e(23824),W=e(99813),V=e(94119),L=e(14756),Z=e(12348),k=e(54499),j=e(70628);const A={EVEN_DISTRIBUTION:"even_distribution",FEWEST_RESOURCES:"fewest_resources"};var ce=e(13555),ue=e(35102),$=e(54350),ee=e(19619),J=e(95944),te=e(75522),re=e(97717),le=e(9738),de=e(75579);const O={NAME:"name",RESOURCE_PER_BRANCH:"resourcePerBranch",NUMBER_OF_RESOURCES:"numberOfResources",ALLOCATION_TYPE:"allocationType"},ne=128,z=0,Q=99,oe="/company/resource-types/initial-resources",he=()=>{const{t:b}=(0,n.Bd)(),{watch:y}=(0,t.xW)(),S=y(O.RESOURCE_PER_BRANCH);return(0,l.useMemo)(()=>({dataCid:oe,name:oe,table:{data:S},whenEmptyTable:{},alignKey:"name",withoutHeader:!0,withoutFilters:!0,withoutFooter:!0,notTrackScroll:!0,shouldResetOnUnmount:!0,ignoreBodyOverflow:!0,fields:[{field:"branch",t
1itle:b("Location"),cell:({branchId:R},T)=>{const{BRANCHES_HASH:N}=e(91530);return(0,le.X)(N[R],T)},width:372,minWidth:200,system:!0,checked:!0},{field:"quantity",title:b("Quantity"),cell:(0,de.o)({name:O.NUMBER_OF_RESOURCES,subName:O.RESOURCE_PER_BRANCH,min:z,max:Q}),width:76,minWidth:76,system:!0,checked:!0,isEditable:!0}]}),[S])};function fe(){const b=he();return(0,i.jsx)(te.Q,{children:(0,i.jsx)(re.A,{...b})})}var pe=(0,l.memo)(fe),ve=e(48997),ye=e(88586),be=e(45707),me=e(75268);const _="/company/resource-types/resources",Oe=({resourceTypeId:b,onChange:y})=>{const{BRANCHES_HASH:S}=e(91530),{t:R}=(0,n.Bd)(),T=(0,ee.wA)(),N=g=>{(0,me.p)({id:g,tableId:_,tableName:_,dispatch:T}),y==null||y()},C=g=>{T((0,J.to)(o.ResourceModalName,{resourceId:g,onSubmit:N,onDelete:N}))},G=()=>{T((0,J.to)(o.ResourceModalName,{resourceTypeId:b,onSubmit:N,onDelete:N}))};return(0,l.useMemo)(()=>({name:_,requestUrl:`/resource-types/${b}/locations`,requestMethod:"GET",offset:0,perPage:200,initialPage:0,alignKey:"name",withoutFilters:!0,withoutFooter:!0,notTrackScroll:!0,minHeaderMargin:!0,ignoreBodyOverflow:!0,addNewButton:{label:R("Resource"),onClick:G},whenEmptyTable:{image:be.A,label:R("Nothing here yet"),secondaryLabel:R("Add resources to use this type at your locations."),offset:20},onDblClickRow:{cb:()=>C},rowGroups:{},renderGroupTitle:g=>{const B=S[g.id];if(!B)return null;const{icon:M,color:F,name:X}=B;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ve._,{image:j.BRANCH_ICON[M],fill:j.BRANCH_FILL[F],position:"left_4",size:14}),(0,i.jsx)("span",{children:X})]})},transformData:()=>g=>{const B=g.data.flatMap(M=>M.resources.map(F=>({...F,group:{id:M.branchId}})));return{data:B,count:B.length}},fields:[{field:"resourceName",title:R("Resource name"),cell:(0,ye.x)("name"),width:448,minWidth:200,system:!0,checked:!0}]}),[])};function Ee(b){const{resourceTypeId:y,onChange:S}=b,R=Oe({resourceTypeId:y,onChange:S});return(0,i.jsx)(te.Q,{children:(0,i.jsx)(re.A,{...R})})}var Se=(0,l.memo)(Ee),Re=e(89583);const{ACTIVE_BRANCHES:Ce}=e(91530),se=()=>{const b=(0,Re.O)();return y=>({[O.NAME]:(y==null?void 0:y[O.NAME])||"",[O.RESOURCE_PER_BRANCH]:Ce.reduce((S,R,T)=>(b(R.id)&&S.push({id:T+1,branchId:R.id,numberOfResources:0}),S),[]),[O.ALLOCATION_TYPE]:(y==null?void 0:y[O.ALLOCATION_TYPE])||A.EVEN_DISTRIBUTION})},xe=()=>{const{t:b}=(0,n.Bd)();return(0,l.useMemo)(()=>[{value:A.EVEN_DISTRIBUTION,label:b("Even distribution")},{value:A.FEWEST_RESOURCES,label:b("Maximum load")}],[])},Te=b=>({name:b[O.NAME],allocationType:b[O.ALLOCATION_TYPE],resourcePerBranch:b[O.RESOURCE_PER_BRANCH].map(y=>({branchId:y.branchId,numberOfResources:y.numberOfResources}))}),Ae=b=>({name:b[O.NAME],allocationType:b[O.ALLOCATION_TYPE]});function ge(b){const{resourceTypeId:y,onResourceChange:S,onCreate:R,onSubmit:T,onDelete:N}=b,{t:C}=(0,n.Bd)(),G=(0,ee.wA)(),{formState:{errors:g,isSubmitting:B},watch:M,reset:F,handleSubmit:X}=(0,t.xW)(),{closeModal:ie}=(0,f.k3)(),je=se(),Be=(0,ue.f)(),{data:I,isLoading:q}=(0,k._E)({params:{resourceTypeId:y}},{skip:!y}),[Ue,{error:Me,isLoading:we}]=(0,k.D6)(),[Fe,{error:De,isLoading:He}]=(0,k.md)(),[ke,{error:Ye,isLoading:We}]=(0,k.gN)(),Ve=xe(),Ke=M(O.ALLOCATION_TYPE),Ge=we||He||We,ae=async Y=>{const D=await Ue({data:Te(Y)}).unwrap();return T==null||T(D.id),D},ze=async()=>{if(I!=null&&I.id){try{await ke({params:{resourceTypeId:I.id}}).unwrap(),N==null||N(I.id)}catch{return}ie()}},Qe=X(async Y=>{try{const D=await ae(Y);if(!D)return;R(D.id)}catch{}}),Xe=X(async Y=>{try{if(I!=null&&I.id){const D=await Fe({params:{resourceTypeId:I.id},data:Ae(Y)}).unwrap();T==null||T(D.id)}else y||await ae(Y)}catch{return}ie()}),Ze=()=>{G((0,J.Ag)())},$e=()=>{y&&(S==null||S(y))};return(0,l.useEffect)(()=>{I&&F(je(I))},[I]),(0,$.B)(Me),(0,$.B)(De),(0,$.B)(Ye),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(E.A,{children:(0,i.jsx)(V.A,{title:y?I==null?void 0:I.name:C("New resource type")})}),(0,i.jsxs)(P.A,{isShowSpinner:q,children:[(0,i.jsx)(a.A,{name:O.NAME,errors:g,labelProps:{label:C("Title"),htmlFor:O.NAME,isRequired:!0},children:(0,i.jsx)(s.A,{id:O.NAME,name:O.NAME,ref:Be})}),!y&&(0,i.jsx)(a.A,{children:(0,i.jsx)(pe,{})}),y&&(0,i.jsx)(a.A,{children:(0,i.jsx)(Se,{resourceTypeId:y,onChange:$e})}),(0,i.jsx)(a.A,{isFullWidth:!0,name:O.ALLOCATION_TYPE,errors:g,labelProps:{label:C("Automatic resource assignment"),htmlFor:O.ALLOCATION_TYPE},description:Ke===A.FEWEST_RESOURCES?C("Fills one resource completely, so the others stay free."):C("Assigns bookings across available resources to keep their usage balanced."),children:(0,i.jsx)(r.A,{name:O.ALLOCATION_TYPE,data:Ve,contentWidth:"100%"})}),(0,i.jsx)(d.Ay,{icon:Z.A,iconFill:j.ICON_FILL.BLUE_100,boxColor:d.pn.BLUE_15,isFullWidth:!0,bottomOffset:16,iconPosition:"left_12",children:(0,i.jsxs)(n.x6,{children:["Once created, assign this resource type in"," ",(0,i.jsx)(p.A,{to:ce.vc.COMPANY.SERVICES_PRICELIST,target:"_blank",rel:"noopener noreferrer",onClick:Ze,children:"Services"}),"."]})})]}),(0,i.jsxs)(H.A,{children:[(0,i.jsxs)(x.A,{children:[(0,i.jsx)(L.A,{text:C(y?"Save":"Create"),disabled:q,isLoading:B,onClick:Xe}),!y&&(0,i.jsx)(c.A,{type:"secondary",disabled:q,isLoading:B,onClick:Qe,children:C("Create and open")})]}),y&&(0,i.jsx)(W.A,{children:(0,i.jsx)(U.A,{confirmProps:{title:C("Delete element?"),onConfirm:ze},isLoading:Ge})})]})]})}var Ie=(0,l.memo)(ge),K=e(12664),w=e(34338),Pe=b=>K.Ik().shape({[O.NAME]:K.Yj().max(ne,w.UU.maxSymbols(ne)).required(w.UU.required),...!b&&{[O.RESOURCE_PER_BRANCH]:K.YO().of(K.Ik().shape({[O.NUMBER_OF_RESOURCES]:K.ai().min(z,w.UU.range(z,Q)).max(Q,w.UU.range(z,Q)).integer(w.UU.integer).t
1ypeError(w.UU.required).required(w.UU.required)}))}});function Le(b){const{resourceTypeId:y,onResourceChange:S,onSubmit:R,onDelete:T,...N}=b,[C,G]=(0,l.useState)(y),g=se(),B=(0,l.useMemo)(()=>({defaultValues:g(),resolver:(0,v.t)(Pe(C))}),[C]),M=F=>{G(F)};return(0,i.jsx)(u.Ay,{size:o.MODAL_SIZE.SIZE_480,position:o.MODAL_POSITION.RIGHT,formProps:B,...N,children:(0,i.jsx)(Ie,{resourceTypeId:C,onResourceChange:S,onCreate:M,onSubmit:R,onDelete:T})})}var Ne=Le},33763:function(m,h,e){"use strict";var i=e(32901);function l(v){var u=v.Symbol;if(typeof u=="function")return u.iterator||(u.iterator=u("iterator polyfill")),u.iterator;var o=v.Set;if(o&&typeof new o()["@@iterator"]=="function")return"@@iterator";var t=v.Map;if(t)for(var n=Object.getOwnPropertyNames(t.prototype),s=0;s<n.length;++s){var r=n[s];if(r!=="entries"&&r!=="size"&&t.prototype[r]===t.prototype.entries)return r}return"@@iterator"}h.symbolIteratorPonyfill=l,h.iterator=l(i.root),h.$$iterator=h.iterator},38871:function(m,h){"use strict";h.isArrayLike=function(e){return e&&typeof e.length=="number"}},40036:function(m,h,e){"use strict";var i=this&&this.__extends||function(s,r){for(var c in r)r.hasOwnProperty(c)&&(s[c]=r[c]);function a(){this.constructor=s}s.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)},l=e(61308),v=e(34181),u=e(57036);function o(s,r){return function(c){return c.lift(new t(s,r))}}h.distinctUntilChanged=o;var t=function(){function s(r,c){this.compare=r,this.keySelector=c}return s.prototype.call=function(r,c){return c.subscribe(new n(r,this.compare,this.keySelector))},s}(),n=function(s){i(r,s);function r(c,a,d){s.call(this,c),this.keySelector=d,this.hasKey=!1,typeof a=="function"&&(this.compare=a)}return r.prototype.compare=function(c,a){return c===a},r.prototype._next=function(c){var a=this.keySelector,d=c;if(a&&(d=v.tryCatch(this.keySelector)(c),d===u.errorObject))return this.destination.error(u.errorObject.e);var p=!1;if(this.hasKey){if(p=v.tryCatch(this.compare)(this.key,d),p===u.errorObject)return this.destination.error(u.errorObject.e)}else this.hasKey=!0;p||(this.key=d,this.destination.next(c))},r}(l.Subscriber)},47307:function(m,h,e){var i=e(83120),l=e(55378);function v(u,o){return i(l(u,o),1)}m.exports=v},53246:function(m,h,e){"use strict";var i=this&&this.__extends||function(u,o){for(var t in o)o.hasOwnProperty(t)&&(u[t]=o[t]);function n(){this.constructor=u}u.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)},l=e(61308),v=function(u){i(o,u);function o(t,n,s){u.call(this),this.parent=t,this.outerValue=n,this.outerIndex=s,this.index=0}return o.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},o.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},o.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},o}(l.Subscriber);h.InnerSubscriber=v},56170:function(m,h,e){m.exports=e(912)},58652:function(m,h,e){"use strict";var i=this&&this.__extends||function(c,a){for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);function p(){this.constructor=c}c.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)},l=e(76840),v=e(82208),u=e(7737),o=e(8497),t={};function n(){for(var c=[],a=0;a<arguments.length;a++)c[a-0]=arguments[a];var d=null;return typeof c[c.length-1]=="function"&&(d=c.pop()),c.length===1&&v.isArray(c[0])&&(c=c[0].slice()),function(p){return p.lift.call(new l.ArrayObservable([p].concat(c)),new s(d))}}h.combineLatest=n;var s=function(){function c(a){this.project=a}return c.prototype.call=function(a,d){return d.subscribe(new r(a,this.project))},c}();h.CombineLatestOperator=s;var r=function(c){i(a,c);function a(d,p){c.call(this,d),this.project=p,this.active=0,this.values=[],this.observables=[]}return a.prototype._next=function(d){this.values.push(t),this.observables.push(d)},a.prototype._complete=function(){var d=this.observables,p=d.length;if(p===0)this.destination.complete();else{this.active=p,this.toRespond=p;for(var f=0;f<p;f++){var P=d[f];this.add(o.subscribeToResult(this,P,P,f))}}},a.prototype.notifyComplete=function(d){(this.active-=1)===0&&this.destination.complete()},a.prototype.notifyNext=function(d,p,f,P,H){var E=this.values,U=E[f],x=this.toRespond?U===t?--this.toRespond:this.toRespond:0;E[f]=p,x===0&&(this.project?this._tryProject(E):this.destination.next(E.slice()))},a.prototype._tryProject=function(d){var p;try{p=this.project.apply(this,d)}catch(f){this.destination.error(f);return}this.destination.next(p)},a}(u.OuterSubscriber);h.CombineLatestSubscriber=r},60319:function(m,h,e){"use strict";e.d(h,{S:function(){return a}});var i=e(74848),l=e(96540),v=e(46942);const u=d=>l.createElement("svg",{width:12,height:10,viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...d},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7803 0.808964C12.0732 1.10186 12.0732 1.57673 11.7803 1.86962L4.4589 9.19105C4.16601 9.48395 3.69113 9.48395 3.39824 9.19105L0.21967 6.01248C-0.0732233 5.71959 -0.0732233 5.24471 0.21967 4.95182C0.512563 4.65893 0.987437 4.65893 1.28033 4.95182L3.92857 7.60006L10.7197 0.808964C11.0126 0.516071 11.4874 0.516071 11.7803 0.808964Z"})),o=d=>l.createElement("svg",{width:10,height:2,viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...d},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1C10 1.41421 9.66421 1.75 9.25 1.75H0.75C0.335786 1.75 0 1.41421 0 1C0 0.585786 0.335786 0.25 0.75 0.25H9.25C9.66421 0.25 10 0.585786 10 1Z"})),t="Checkbox-module__nativeCheckbox___zj-AF",n="Checkbox-module__checkbox___D0D4S",s="Checkbox-module__checked___XfvkJ",r="Checkbox-module__disabled___WagIC",c=(0,l.forwardRef)(function(d,p){const{id:f,name:P,dataCid:H,checked:E=!1,withMinus:U=!1,disabled:x=!1,wrapperClassName:W="",onChange:V=j=>j.stopPropagation()}=d,L=(0,l.useRef)(null);(0,l.useImperativeHandle)(p,()=>L.current);const Z=j=>{var A;j.stopPropagation(),x||((A=L.current)==null||A.click())},k=j=>{let A="";return j.checked&&(A+="/checked"),j.disabled&&(A+="/disabled"),A.length?A.slice(1):A};return(0,i.jsxs)("div",{className:v(W,{[s]:E,[r]:x}),"data-cid":H,children:[(0,i.jsx)("input",{ref:L,id:f,name:P,type:"checkbox",checked:E,disabled:x,className:t,onChange:x?void 0:V,"aria-hidden":"true",tabIndex:-1}),(0,i.jsx)("button",{type:"button",role:"checkbox","aria-checked":U&&E?"mixed":E,"aria-disabled":x,...f&&{"aria-labelledby":f},disabled:x,onClick:Z,className:n,"data-state":k({disabled:x,checked:E}),children:E&&(U?(0,i.jsx)(o,{}):(0,i.jsx)(u,{}))})]})}),a=(0,l.memo)(c)},76840:function(m,h,e){"use strict";var i=this&&this.__extends||function(n,s){for(var r in s)s.hasOwnProperty(r)&&(n[r]=s[r]);function c(){this.constructor=n}
1n.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)},l=e(29707),v=e(93171),u=e(81248),o=e(77452),t=function(n){i(s,n);function s(r,c){n.call(this),this.array=r,this.scheduler=c,!c&&r.length===1&&(this._isScalar=!0,this.value=r[0])}return s.create=function(r,c){return new s(r,c)},s.of=function(){for(var r=[],c=0;c<arguments.length;c++)r[c-0]=arguments[c];var a=r[r.length-1];o.isScheduler(a)?r.pop():a=null;var d=r.length;return d>1?new s(r,a):d===1?new v.ScalarObservable(r[0],a):new u.EmptyObservable(a)},s.dispatch=function(r){var c=r.array,a=r.index,d=r.count,p=r.subscriber;if(a>=d){p.complete();return}p.next(c[a]),!p.closed&&(r.index=a+1,this.schedule(r))},s.prototype._subscribe=function(r){var c=0,a=this.array,d=a.length,p=this.scheduler;if(p)return p.schedule(s.dispatch,0,{array:a,index:c,count:d,subscriber:r});for(var f=0;f<d&&!r.closed;f++)r.next(a[f]);r.complete()},s}(l.Observable);h.ArrayObservable=t},77452:function(m,h){"use strict";function e(i){return i&&typeof i.schedule=="function"}h.isScheduler=e},81248:function(m,h,e){"use strict";var i=this&&this.__extends||function(u,o){for(var t in o)o.hasOwnProperty(t)&&(u[t]=o[t]);function n(){this.constructor=u}u.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)},l=e(29707),v=function(u){i(o,u);function o(t){u.call(this),this.scheduler=t}return o.create=function(t){return new o(t)},o.dispatch=function(t){var n=t.subscriber;n.complete()},o.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(o.dispatch,0,{subscriber:t});t.complete()},o}(l.Observable);h.EmptyObservable=v},93171:function(m,h,e){"use strict";var i=this&&this.__extends||function(u,o){for(var t in o)o.hasOwnProperty(t)&&(u[t]=o[t]);function n(){this.constructor=u}u.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)},l=e(29707),v=function(u){i(o,u);function o(t,n){u.call(this),this.value=t,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return o.create=function(t,n){return new o(t,n)},o.dispatch=function(t){var n=t.done,s=t.value,r=t.subscriber;if(n){r.complete();return}r.next(s),!r.closed&&(t.done=!0,this.schedule(t))},o.prototype._subscribe=function(t){var n=this.value,s=this.scheduler;if(s)return s.schedule(o.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},o}(l.Observable);h.ScalarObservable=v}}]); 2 3//# sourceMappingURL=15014.608943632861f6a2e359.js.map
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.