1(globalThis["webpackChunkroscap"]=globalThis["webpackChunkroscap"]||[]).push([[62624],{3939:e=>{(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,n=0;o<e.length;o++,n+=8)t[n>>>5]|=e[o]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],r=0;r<4;r++)8*n+6*r<=8*e.length?o.push(t.charAt(i>>>6*(3-r)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&o.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return o}};e.exports=o})()},6113:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});const n={mounted(e,t){const o=t.value,n=t=>{"function"===typeof o&&(e.contains(t.target)||o())};e._clckout=n,window.addEventListener("click",n,{passive:!0})},beforeUnmount(e){const t=e._clckout;window.removeEventListener("click",t,{passive:!0})}}},31994:(e,t,o)=>{"use strict";o.d(t,{n:()=>n});const n=Object.freeze({COUNTRY:"country",REGION:"region",AREA:"area",CITY:"city",SETTLEMENT:"settlement",STREET:"street",HOUSE:"house",FLAT:"flat"})},36670:(e,t,o)=>{"use strict";o.d(t,{v:()=>n});const n=Object.freeze({NAME:"fio",FIO:"fio",PARTY:"party",FMS_UNIT:"fms_unit",ADDRESS:"address",EMAIL:"email",OKVED2:"okved2",OKTMO:"oktmo",BANK:"bank"})},37622:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(29726);const i={class:"ui-form-field__input"},r=["for"];function s(e,t,o,s,a,l){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["ui-form-field",{"ui-form-field_dark":o.dark,"ui-form-field_disabled":o.disabled,"ui-form-field_has-focus":a.isFocused,"ui-form-field_has-value":l.hasValue}]),onFocusCapture:t[0]||(t[0]=(...e)=>l.onNativeFocus&&l.onNativeFocus(...e)),onBlurCapture:t[1]||(t[1]=(...e)=>l.onNativeBlur&&l.onNativeBlur(...e))},[(0,n.createElementVNode)("div",i,[(0,n.renderSlot)(e.$slots,"default",{id:l.uid,errors:o.errors,isFocused:a.isFocused}),o.label?((0,n.openBlock)(),(0,n.createElementBlock)("label",{key:0,class:"ui-form-field__label",for:l.uid},(0,n.toDisplayString)(o.label),9,r)):(0,n.createCommentVNode)("",!0)]),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.errors,e=>((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:e.key,class:"ui-form-field__error"},(0,n.toDisplayString)(e.title),1))),128))],34)}var a=o(62193),l=o.n(a);const u={name:"UiFormField",props:{errors:{type:Array,default:()=>[]},label:String,id:String,dark:Boolean,disabled:Boolean,value:[String,Array,Boolean,Object,Number]},setup(){const e=(0,n.useId)();return{uuid:e}},data(){return{isFocused:!1,isAutorecognizeFocus:!0}},provide(){return{setIsFocused:e=>{this.isFocused=e},setIsAutoRecognizeFocus:e=>{this.isAutorecognizeFocus=e}}},computed:{uid(){return this.id??`ui-form-field-${this.uuid}`},hasValue(){let e=!0;switch(typeof this.value){case"string":e=this.value?.length>0;break;case"object":e=!l()(this.value);break;case"undefined":e=!1;break;default:break}return e}},methods:{onNativeBlur(){this.isAutorecognizeFocus&&(this.isFocused=!1)},onNativeFocus(){this.isAutorecognizeFocus&&(this.isFocused=!0)}}};var c=o(66262);const d=(0,c.A)(u,[["render",s]]),p=d},56052:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(29726);const i=["id","type","name","disabled","placeholder","pattern","readonly","autocomplete"];function r(e,t,o,r,s,a){return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("input",{id:a.uid,"onUpdate:modelValue":t[0]||(t[0]=e=>s.localValue=e),class:(0,n.normalizeClass)(["d-input ui-text-input",{"ui-text-input_disabled":o.disabled,"ui-text-input_invalid":o.error,"ui-text-input_focus":s.hasFocus,"ui-text-input_has-value":s.localValue&&s.localValue.length>0,"ui-text-input_dark":o.dark,"d-input_dark":o.dark,"ui-text-input_transparent-placeholder":!o.placeholder||!s.hasFocus}]),type:o.type,name:o.name,disabled:o.disabled,placeholder:o.placeholder,pattern:o.pattern,readonly:o.readonly,autocomplete:o.autocomplete,onFocus:t[1]||(t[1]=t=>(e.$emit("focus"),s.hasFocus=!0)),onBlur:t[2]||(t[2]=t=>(e.$emit("blur"),s.hasFocus=!1)),onChange:t[3]||(t[3]=(...e)=>a.onChange&&a.onChange(...e)),onKeydown:[t[4]||(t[4]=(0,n.withKeys)(t=>e.$emit("down"),["down"])),t[5]||(t[5]=(0,n.withKeys)(t=>e.$emit("up"),["up"]))]},null,42,i)),[[n.vModelDynamic,s.localValue]])}const s={name:"UiTextInput",props:{modelValue:String,id:String,dark:Boolean,type:{type:String,default:"text"},disabled:Boolean,name:String,error:Boolean,placeholder:String,pattern:String,lazy:Boolean,readonly:Boolean,autocomplete:String,onlyNumber:Boolean},setup(){const e=(0,n.useId)();return{uuid:e}},data(){return{localValue:"",hasFocus:!1}},computed:{uid(){return this.id??`ui-text-input-${this.uuid}`}},watch:{modelValue:{immediate:!0,handler(e){this.localValue=this.onlyNumber?e.replace(/\D/g,""):e}},localValue(e){e===this.modelValue||this.lazy||this.$emit("update:modelValue",e)}}
1,methods:{onChange(){this.lazy&&this.$emit("update:modelValue",this.localValue)}}};var a=o(66262);const l=(0,a.A)(s,[["render",r]]),u=l},62193:(e,t,o)=>{var n=o(88984),i=o(5861),r=o(72428),s=o(56449),a=o(64894),l=o(3656),u=o(55527),c=o(37167),d="[object Map]",p="[object Set]",h=Object.prototype,f=h.hasOwnProperty;function m(e){if(null==e)return!0;if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||r(e)))return!e.length;var t=i(e);if(t==d||t==p)return!e.size;if(u(e))return!n(e).length;for(var o in e)if(f.call(e,o))return!1;return!0}e.exports=m},62624:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(29726);const i={id:"vue-suggestion"},r={key:0,class:"vue-suggestion__option disabled"},s=["onClick"],a={key:0,class:"_ellipsis"},l=["innerHTML"],u=["innerHTML"];function c(e,t,o,c,d,p){const h=(0,n.resolveComponent)("UiTextInput"),f=(0,n.resolveComponent)("ui-form-field"),m=(0,n.resolveDirective)("click-outside");return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("div",i,[(0,n.createVNode)(f,{label:o.label,value:d.txt},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(h,{modelValue:d.txt,"onUpdate:modelValue":[t[0]||(t[0]=e=>d.txt=e),d.triggerResponse],"only-number":o.onlyNumber,disabled:o.disabled,onBlur:t[1]||(t[1]=t=>e.$emit("blur")),onFocus:p.onFocus,onKeydown:t[2]||(t[2]=(0,n.withKeys)(e=>d.prohibitOpen=!0,["tab"]))},null,8,["modelValue","only-number","disabled","onUpdate:modelValue","onFocus"]),d.items.length&&d.allowOpen&&!d.prohibitOpen||o.showCompanyNotFound&&d.allowOpen&&!d.prohibitOpen?((0,n.openBlock)(),(0,n.createElementBlock)("ul",{key:0,ref:"options",class:(0,n.normalizeClass)(["vue-suggestion__popup vue-suggestion__popup_absolute",{"vue-suggestion__popup_dark":o.dark}])},[o.showCompanyNotFound&&!d.items.length&&d.allowOpen?((0,n.openBlock)(),(0,n.createElementBlock)("li",r,t[3]||(t[3]=[(0,n.createElementVNode)("div",{class:"_ellipsis"},[(0,n.createElementVNode)("span",null,"ÐÑганизаÑÐ¸Ñ Ð½Ðµ найдена â введиÑе ÐÐРвÑÑÑнÑÑ")],-1)]))):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.items,(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:t,class:"vue-suggestion__option",onClick:t=>p.onSelect(e)},[(0,n.createElementVNode)("div",null,(0,n.toDisplayString)(e.value),1),e.data.inn||e.data.address?((0,n.openBlock)(),(0,n.createElementBlock)("div",a,[e.data.address?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,innerHTML:`ÐÐÐ ${[e.data.inn,e.data.address.value].join(" ")}`},null,8,l)):((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:1,innerHTML:`ÐÐÐ ${e.data.inn}`},null,8,u))])):(0,n.createCommentVNode)("",!0)],8,s))),128))],2)):(0,n.createCommentVNode)("",!0)]),_:1},8,["label","value"])])),[[m,p.selectNothing]])}var d=o(6113),p=o(38221),h=o.n(p),f=o(76455),m=o(37622),g=o(56052);const y={name:"VueSuggestion",directives:{ClickOutside:d.A},props:{modelValue:[String],incomingItems:{type:Array,default:()=>[]},label:{type:String,default:""},method:{type:String,default:""},parts:{type:Array,default:()=>[]},fromBound:{type:String,default:""},toBound:{type:String,default:""},locations:{type:Array,default:()=>[]},dark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},fetch:{type:Boolean,default:!1},onlyNumber:{type:Boolean,default:!1},showCompanyNotFound:{type:Boolean,default:!1},isRedesign:{type:Boolean,default:!1}},components:{UiFormField:m["default"],UiTextInput:g["default"]},setup(){const e=(0,n.useAttrs)(),t=(0,n.computed)(()=>e.onSelect);return{hasSelectListener:t}},data(){return{txt:this.modelValue,allowOpen:!0,prohibitOpen:!1,items:[],triggerResponse:h()(this.getResponse,1e3)}},computed:{suggestOptions(){let e={};return this.parts.length&&(e.parts=this.parts),this.fromBound&&(e.from_bound={value:this.fromBound}),this.toBound&&(e.from_bound={value:this.toBound}),this.locations.length&&(e.locations=this.locations[0]),e}},watch:{txt(e){this.$emit("update:modelValue",e)},incomingItems(e){this.items=e},modelValue(e){this.txt=e},items(e){e.length?this.$emit("showList"):this.$emit("hideList")}},methods:{selectNothing(){this.allowOpen=!1,this.items.length&&this.$emit("selectNothing",this.items[0],!0)},async getResponse(){this.allowOpen=!1,this.txt.length>=3&&(this.allowOpen=!0,this.items=await f.IU.suggest(this.method,this.txt,5,this.suggestOptions),this.items.length||this.$emit("nothingFound",this.txt)),this.$emit("fetch",this.items)},onSelect(e){this.hasSelectListener?this.$emit("select",e):this.txt=e.value,this.items=[],this.allowOpen=!1},onFocus(){this.allowOpen=!0,this.prohibitOpen=!1}}};var _=o(66262);const v=(0,_.A)(y,[["render",c]]),b=v},76455:(e,t,o)=>{"use strict";o.d(t,{QD:()=>c.Q,vJ:()=>i.v,IU:()=>p});const n=()=>o.g.config.dadata_url.replace(/\/*$/,"");var i=o(36670),r=o(83503),s=o.n(r),a=o(61127),l=o(54297),u=o(50347);Object.freeze({AREA:"area",SETTLEMENT:"settlement",STREET:"street",REGION:"region",CITY:"city",COUNTRY:"country",REGION_ISO_CODE:"region_iso_code",COUNTRY_ISO_CODE:"country_iso_code",KLADR_ID:"kladr_id",GION_TYPE_FULL:"gion_type_full",AREA_TYPE_FULL:"area_type_full",CITY_TYPE_FULL:"city_type_full",SETTLEMENT_TYPE_FULL:"settlement_type_full",STREET_TYPE_FULL:"street_type_full",REGION_FIAS_ID:"region_fias_id",AREA_FIAS_ID:"area_fias_id",CITY_FIAS_ID:"city_fias_id",SETTLEMENT_FIAS_ID:"settlement_fias_id",STREET_FIAS_ID:"street_fias_id"});o(31994);var c=o(76783);Object.freeze({UNKNOWN:"unknown",MALE:"male",FEMALE:"female"});class d{constructor(){this.suggestUrl=`${n()}/suggest/`,this.ipLocateUrl=`${n()}/iplocate/address`,this._cache=[],this._init=(0,l.j)(async()=>{}),this.getLocationByIp=(0,l.j)(async()=>{await this._init();const{data:e}=await a.L.get(this.ipLocateUrl,{includeSessionId:!0}).catch(u.f),t=e?.location?.data;return t})}async suggest(e,t="",o=5,n={},r,l){if(!Object.values(i.v).includes(e))throw Error("не Ñказан Ñип подÑказки");const c=s()(`${e}_${t}_${o}_${JSON.stringify(n)}_${r}_${JSON.stringify(l)}`),d=this._cache.findIndex(e=>e.key===c);if(d>-1)return this._cache[d].value;await this._init();const{data:p}=await a.L.post(`${this.suggestUrl}${e}`,{query:t,count:o,...n,restrict_value:r},{includeSessionId:!0}).catch(u.f);return p.suggestions&&this._cache.length>=this._cacheLimit&&this._cache.shift(),this._cache.push({key:c,value:p.suggestions}),p.suggestions??[]}}const p=new d},76783:(e,t,o)=>{"use strict";o.d(t,{Q:()=>n});const n=Object.freeze({NAME:"NAME",SURNAME:"SURNAME",PATRONYMIC:"PATRONYMIC"})},83503:(e,t,o)=>{(function(){var t=o(3939),n=o(92151).utf8,i=o(87206),r=o(92151).bin,s=function(e,o){e.constructor==String?e=o&&"binary"===o.encoding?r.stringToBytes(e):n.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var a=t.bytesToWords(e),l=8*e.length,u=1732584193,c=-271733879,d=-1732584194,p=271733878,h=0;h<a.length;h++)a[h]=16711935&(a[h]<<8|a[h]>>>24)|4278255360&(a[h]<<24|a[h]>>>8);a[l>>>5]|=128<<l%32,a[14+(l+64>>>9<<4)]=l;var f=s._ff,m=s._gg,g=s._hh,y=s._ii;for(h=0;h<a.length;h+=16){var _=u,v=c,b=d,k=p;u=f(u,c,d,p,a[h+0],7,-680876936),p=f(p,u,c,d,a[h+1],12,-389564586),d=f(d,p,u,c,a[h+2],17,606105819),c=f(c,d,p,u,a[h+3],22,-1044525330),u=f(u,c,d,p,a[h+4],7,-176418897),p=f(p,u,c,d,a[h+5],12,1200080426),d=f(d,p,u,c,a[h+6],17,-1473231341),c=f(c,d,p,u,a[h+7],22,-45705983),u=f(u,c,d,p,a[h+8],7,1770035416),p=f(p,u,c,d,a[h+9],12,-1958414417),d=f(d,p,u,c,a[h+10],17,-42063),c=f(c,d,p,u,a[h+11],22,-1990404162),u=f(u,c,d,p,a[h+12],7,1804603682),p=f(p,u,c,d,a[h+13],12,-40341101),d=f(d,p,u,c,a[h+14],17,-1502002290),c=f(c,d,p,u,a[h+15],22,1236535329),u=m(u,c,d,p,a[h+1],5,-165796510),p=m(p,u,c,d,a[h+6],9,-1069501632),d=m(d,p,u,c,a[h+11],14,643717713),c=m(c,d,p,u,a[h+0],20,-373897302),u=m(u,c,d,p,a[h+5],5,-701558691),p=m(p,u,c,d,a[h+10],9,38016083),d=m(d,p,u,c,a[h+15],14,-660478335),c=m(c,d,p,u,a[h+4],20,-405537848),u=m(u,c,d,p,a[h+9],5,568446438),p=m(p,u,c,d,a[h+14],9,-1019803690),d=m(d,p,u,c,a[h+3],14,-187363961),c=m(c,d,p,u,a[h+8],20,1163531501),u=m(u,c,d,p,a[h+13],5,-1444681467),p=m(p,u,c,d,a[h+2],9,-51403784),d=m(d,p,u,c,a[h+7],14,1735328473),c=m(c,d,p,u,a[h+12],20,-1926607734),u=g(u,c,d,p,a[h+5],4,-378558),p=g(p,u,c,d,a[h+8],11,-2022574463),d=g(d,p,u,c,a[h+11],16,1839030562),c=g(c,d,p,u,a[h+14],23,-35309556),u=g(u,c,d,p,a[h+1],4,-1530992060),p=g(p,u,c,d,a[h+4],11,1272893353),d=g(d,p,u,c,a[h+7],16,-155497632),c=g(c,d,p,u,a[h+10],23,-1094730640),u=g(u,c,d,p,a[h+13],4,681279174),p=g(p,u,c,d,a[h+0],11,-358537222),d=g(d,p,u,c,a[h+3],16,-722521979),c=g(c,d,p,u,a[h+6],23,76029189),u=g(u,c,d,p,a[h+9],4,-640364487),p=g(p,u,c,d,a[h+12],11,-421815835),d=g(d,p,u,c,a[h+15],16,530742520),c=g(c,d,p,u,a[h+2],23,-995338651),u=y(u,c,d,p,a[h+0],6,-198630844),p=y(p,u,c,d,a[h+7],10,1126891415),d=y(d,p,u,c,a[h+14],15,-1416354905),c=y(c,d,p,u,a[h+5],21,-57434055),u=y(u,c,d,p,a[h+12],6,1700485571),p=y(p,u,c,d,a[h+3],10,-1894986606),d=y(d,p,u,c,a[h+10],15,-1051523),c=y(c,d,p,u,a[h+1],21,-2054922799),u=y(u,c,d,p,a[h+8],6,1873313359),p=y(p,u,c,d,a[h+15],10,-30611744),d=y(d,p,u,c,a[h+6],15,-1560198380),c=y(c,d,p,u,a[h+13],21,1309151649),u=y(u,c,d,p,a[h+4],6,-145523070),p=y(p,u,c,d,a[h+11],10,-1120210379),d=y(d,p,u,c,a[h+2],15,718787259),c=y(c,d,p,u,a[h+9],21,-343485551),u=u+_>>>0,c=c+v>>>0,d=d+b>>>0,p=p+k>>>0}return t.endian([u,c,d,p])};s._ff=function(e,t,o,n,i,r,s){var a=e+(t&o|~t&n)+(i>>>0)+s;return(a<<r|a>>>32-r)+t},s._gg=function(e,t,o,n,i,r,s){var a=e+(t&n|o&~n)+(i>>>0)+s;return(a<<r|a>>>32-r)+t},s._hh=function(e,t,o,n,i,r,s){var a=e+(t^o^n)+(i>>>0)+s;return(a<<r|a>>>32-r)+t},s._ii=function(e,t,o,n,i,r,s){var a=e+(o^(t|~n))+(i>>>0)+s;return(a<<r|a>>>32-r)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,o){if(void 0===e||null===e)throw new Error("Illegal argument "+e);
1var n=t.wordsToBytes(s(e,o));return o&&o.asBytes?n:o&&o.asString?r.bytesToString(n):t.bytesToHex(n)}})()},87206:e=>{function t(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&t(e.slice(0,0))} 2/*! 3 * Determine if an object is a Buffer 4 * 5 * @author Feross Aboukhadijeh <https://feross.org> 6 * @license MIT 7 */ 8e.exports=function(e){return null!=e&&(t(e)||o(e)||!!e._isBuffer)}},92151:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t}}]); 9//# sourceMappingURL=62624.cc181570.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.