1define("ParametersServiceAPI/ParametersScope",["require","exports","ParametersWebAPI/Loader","ParametersServiceAPI/Loader","ParametersServiceAPI/Options","Types/source","Types/collection","Types/entity"],(function(e,t,r,a,s,E,o,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parametersMultiGet=t.DEVICE=t.USERDEVICE=t.ACCOUNT=t.PROFILE=t.USER=t.GLOBAL=void 0;const i=(new class{constructor(){this.opts=new s.BLOptions,this.loaders={GLOBAL:this.createLoader(r.CONFIG_SCOPE.GLOBAL),ACCOUNT:this.createLoader(r.CONFIG_SCOPE.ACCOUNT),PROFILE:this.createLoader(r.CONFIG_SCOPE.PROFILE),USER:this.createLoader(r.CONFIG_SCOPE.USER),DEVICE:this.createLoader(r.CONFIG_SCOPE.DEVICE),USERDEVICE:this.createLoader(r.CONFIG_SCOPE.USERDEVICE)}}createLoader(e){const{source:t,getter:s}=this.opts.get(e),E=(0,a.chooseRawLoader)(t,s,r.IS_PRESENTATION_SERVICE),o=r.CONFIG_SCOPE[e],c=new r.ConfigFabric(`Config/${o}`,r.IS_PRESENTATION_SERVICE);return new a.Loader(E,s,c)}getLoaders(){return this.loaders}}).getLoaders();t.GLOBAL=i.GLOBAL,t.USER=i.USER,t.PROFILE=i.PROFILE,t.ACCOUNT=i.ACCOUNT,t.USERDEVICE=i.USERDEVICE,t.DEVICE=i.DEVICE;t.parametersMultiGet=e=>{const t=new o.RecordSet({adapter:"adapter.sbis",format:{ScopeType:{type:"integer"},Key:{type:"string"}}});return Object.entries(e).forEach((([e,a])=>{const s=e;a.forEach((e=>{t.add(c.Record.fromObject({ScopeType:r.CONFIG_SCOPE[s],Key:e},"adapter.sbis"))}))})),new E.SbisService({endpoint:{address:"/parameters/service/",contract:"ParameterExt"}}).call("MultiGet",{Parameters:t}).then((e=>{const t=e.getAll(),a={};return t.forEach((e=>{const t=r.SCOPE_BY_ID[e.get("ScopeType")],s=e.get("Key"),E=e.get("Value");if(!a[t])a[t]={};a[t][s]=E})),Object.entries(a).forEach((([e,t])=>{i[e].fill(t)})),a})).catch((function(e){return e}))}}));
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.