1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="25e3eb2e-9fae-57da-8b46-505e032da5d1")}catch(e){}}(); 3import{b as he}from"./chunk-IF45JEQW.js";import{b as Se}from"./chunk-HBOZYP26.js";import{c as C}from"./chunk-PCBL74MC.js";import"./chunk-PBS4X5UD.js";import"./chunk-5H6N4HCK.js";import"./chunk-O6FZC5MG.js";import"./chunk-X4NFSD7Y.js";import"./chunk-AIGLAEWN.js";import"./chunk-WPJMSW2Z.js";import"./chunk-YMX6OLA7.js";import{b as _}from"./chunk-H6IZA63Q.js";import{a as ce,j as ge,m as fe}from"./chunk-3LARCUUE.js";import"./chunk-BOAFBAEU.js";import"./chunk-GQIJEW46.js";import"./chunk-IW6B34NY.js";import{f as de}from"./chunk-TGD2VG2I.js";import{d as le}from"./chunk-2AVBMLWB.js";import"./chunk-AICMCWTQ.js";import{D as ue,a as y,g as me,p as S}from"./chunk-5OTQQA73.js";import"./chunk-O432QPX3.js";import"./chunk-5FL4OI7B.js";import"./chunk-CMWXI3RU.js";import"./chunk-UCK4FYGQ.js";import"./chunk-GNHERFY5.js";import"./chunk-JXGK6VID.js";import"./chunk-VDTYNO6X.js";import"./chunk-ESEIMO4G.js";import"./chunk-FDLG263M.js";import"./chunk-WXOSWNUC.js";import"./chunk-MDPN7EUR.js";import"./chunk-XY4DRH2K.js";import"./chunk-2MVHLLCS.js";import"./chunk-4XXIEPQD.js";import"./chunk-FZDWNW7F.js";import"./chunk-W6GNF4US.js";import"./chunk-JETPG5AV.js";import"./chunk-OXWZC74R.js";import"./chunk-RLI2KNMN.js";import"./chunk-CUSGE7JV.js";import{a as ee}from"./chunk-3XNP4JBN.js";import{a as z}from"./chunk-AESV6YAN.js";import"./chunk-AOCDN5O6.js";import"./chunk-62UCN5LG.js";import"./chunk-OL745NOE.js";import"./chunk-FV6P3LJY.js";import{Jb as pe,Qd as xe,Sd as se,za as x}from"./chunk-AQF37UGA.js";import"./chunk-ICRZCHAS.js";import"./chunk-3WZBJAGG.js";import"./chunk-5S4GSWQM.js";import"./chunk-PKR6DMSR.js";import"./chunk-X3DVRFTT.js";import{w as te,x as ie}from"./chunk-UFMNNIBJ.js";import"./chunk-YQZXM67H.js";import"./chunk-L5QO3ISF.js";import"./chunk-L7I332VI.js";import"./chunk-C6737PVF.js";import"./chunk-3LFUPBQN.js";import"./chunk-TABTMQZ7.js";import{k as $}from"./chunk-DL5HIGYO.js";import"./chunk-NRNL7OY5.js";import{i as H,j as G,k as K,l as V,m as Q}from"./chunk-ZWJJ6QV3.js";import"./chunk-QV67L76E.js";import{Ba as X,Eb as re,Na as Z,Tb as oe,b as j,bc as ne,ec as ae,va as J}from"./chunk-OOLC7UNJ.js";import"./chunk-IQ65XKCP.js";import"./chunk-EJ7P67SK.js";import"./chunk-DLICIVZE.js";import"./chunk-VWQPPZQH.js";import{C as Y}from"./chunk-MZYY3M4F.js";import{a as D}from"./chunk-SQGLTEYX.js";import"./chunk-4CF7YNSH.js";import{$a as k,Ad as A,Bc as s,Cc as o,D as T,Dc as n,Ec as g,Ja as u,Kb as r,Kd as q,Mc as F,Pd as U,Qd as b,Ra as L,Rd as W,Sa as M,Sc as B,Vc as d,Xa as O,Y as E,ac as R,ba as I,dd as w,gc as P,id as l,jd as N,kd as v,uc as f,wc as h}from"./chunk-OWVPANHJ.js";import{a as c,i as De}from"./chunk-6GOPUL35.js";var _e={defaultPeriod:S,minDate:x(S.start),maxDate:x(S.end),shift:2,minDaysDiff:1,maxDaysDiff:31};var Pe=De(xe());var Ce=[{label:"\u0411\u0440\u0435\u043D\u0434\u043E\u0432",prop:"brandsCount"},{label:"\u0420\u0430\u0441\u0447. \u0437\u0430\u043A\u0430\u0437\u044B",prop:"estimatedOrders",pipe:"number",suffix:" \u0448\u0442.",isOracul:!0,hint:`\u0420\u0430\u0441\u0447\u0435\u0442\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0437\u0430 30 \u0434\u043D. 4\u0414\u0430\u043D\u043D\u044B\u0435 \u043F\u043E \u0437\u0430\u043A\u0430\u0437\u0430\u043C \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044B\u0432\u0430\u044E\u0442\u0441\u044F \u0418\u0418-\u043C\u043E\u0434\u0435\u043B\u044C\u044E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043F\u043E \u0432\u0441\u0435\u0439 \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0435 Wildberries. \u0412 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u043E\u0442\u043B\u0438\u0447\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 WB`},{label:"\u0421\u0440. \u0432\u044B\u0440\u0443\u0447\u043A\u0430 \u0432 \u0434\u0435\u043D\u044C",prop:"avgEstimatedOrderRevenuePerDay",pipe:"currency"},{label:"\u0421\u0440. \u043A\u043E\u043B-\u0432\u043E \u043E\u0446\u0435\u043D\u043E\u043A \u043D\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0435",prop:"avgFeedbackCount",pipe:"number",suffix:" \u0448\u0442."},{label:"\u0422\u043E\u0432\u0430\u0440\u044B \u0441 \u043F\u0440\u043E\u0434\u0430\u0436\u0430\u043C\u0438",prop:"sellingPercentage",pipe:"number",suffix:" %"},{label:"\u0420\u0430\u0441\u0447. \u0432\u044B\u0440\u0443\u0447\u043A\u0430 \u043F\u043E \u0437\u0430\u043A\u0430\u0437\u0430\u043C (\u0441 \u0421\u041F\u041F)",prop:"estimatedOrderRevenue",pipe:"currency",isOracul:!0,hint:`\u0420\u0430\u0441\u0447\u0435\u0442\u043D\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430 \u043F\u043E \u0437\u0430\u043A\u0430\u0437\u0430\u043C (\u0441 \u0421\u041F\u041F) \u043F\u043E \u0432\u0441\u0435\u043C \u0442\u043E\u0432\u0430\u0440\u0430\u043C \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0437\u0430 30 \u0434\u043D. 5\u0420\u0430\u0441\u0447\u0435\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0418\u0418 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E \u0432\u0441\u0435\u0439 \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0435 Wildberries. \u0412 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u043E\u0442\u043B\u0438\u0447\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 WB`},{label:"\u0422\u043E\u0432\u0430\u0440\u043E\u0432",prop:"uniqArticlesCount",pipe:"number",suffix:" \u0448\u0442."},{label:"\u0421\u0440. \u0446\u0435\u043D\u0430 \u0441 \u0421\u041F\u041F",prop:"avgFinalPrice",pipe:"currency",hint:ue},{label:"\u0421\u0440. \u0432\u044B\u0440\u0443\u0447\u043A\u0430 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440",prop:"avgRevenueSumPerItem",pipe:"currency"},{label:"\u0421\u0440. \u0440\u0435\u0439\u0442\u0438\u043D\u0433 \u043D\u0430 WB",prop:"avgRating",pipe:"number"}];var ye=(e,m)=>({whType:e,showMarketplace:m});function Te(e,m){if(e&1&&(o(0,"a",14),l(1,"\u041F\u0440\u043E\u0434\u0430\u0432\u0446\u044B"),n()),e&2){let t=d();s("queryParams",A(1,ye,t.dataParams().whType,t.dataParams().showMarketplace))}}function Ee(e,m){if(e&1&&(o(0,"span"),l(1),n()),e&2){let t=d();r(),v(" ",t.supplierTitle())}}function Ie(e,m){if(e&1&&g(0,"mg-tooltip-icon",5),e&2){d();let t=w(19);s("content",t)}}function Le(e,m){if(e&1&&(o(0,"div"),l(1),n()),e&2){let t=d(2);r(),N(t.supplierStats().fullName)}}function Me(e,m){if(e&1&&(o(0,"div"),l(1),n()),e&2){let t=d(2);
5r(),v("\u041E\u0413\u0420\u041D: ",t.supplierStats().ogrn)}}function Oe(e,m){if(e&1&&(f(0,Le,2,1,"div"),f(1,Me,2,1,"div")),e&2){let t=d();h(t.supplierStats().fullName?0:-1),r(),h(t.supplierStats().ogrn?1:-1)}}var ve=(()=>{class e{#e;#i;#t;#o;#r;changeFilter(t){this.#e.updateFilters(t)}patchDataParams(t){this.dataParams.update(a=>c(c({},a),t))}showPermissionModal(){this.#i.showPermissionModal()}constructor(){this.#e=u(C),this.#i=u(se),this.#t=u(H),this.#o=u(K),this.#r=u(O),this.periodService=u(_),this.supplierStats=this.#e.supplierStats,this.error=this.#e.error,this.isLoading=this.#e.isLoading,this.statsConfig=Ce,this.showMarketplaceOptions=me,this.isLockedFilter=!this.#i.checkPermission(Pe.Permissions.IsFiltersForItemsEnabledOnSupplierAnalysis),this.supplierId=this.#e.supplierId,this.supplierTitle=b(()=>this.supplierStats()?.title||"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0435"),this.dataParams=k({whType:y.FBO,showMarketplace:!1}),this.query=b(()=>({supplierId:this.supplierId(),params:c(c({},this.dataParams()),this.periodService.periodQuery())})),W(()=>{let t=this.#e.filters();U(()=>this.patchDataParams(t))}),this.#t.queryParams.pipe(E(1),T(le),I(Y),D(this.#r)).subscribe(({whType:t=y.FBO,showMarketplace:a=!1})=>{this.isLockedFilter||this.#e.updateFilters({whType:t,showMarketplace:a}),this.#o.navigate([],{relativeTo:this.#t,queryParams:{}})}),this.#t.params.pipe(D(this.#r)).subscribe(({supplierId:t})=>{this.#e.updateSupplierId(Number(t)||null)}),this.#e.getSupplierStats(this.query)}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=R({type:e,selectors:[["app-supplier-detail"]],decls:20,vars:11,consts:[["supplierInfoTooltip",""],[1,"mb-32"],["routerLink","/wb/competitors/suppliers","mg-button-text","",3,"queryParams",4,"mgItem"],[4,"mgItem"],[1,"gx-12!",3,"text","isLoading"],["mgHintDirection","right",3,"content"],[1,"ml-auto",3,"ngModelChange","ngModel","options"],["type","tooltip"],["disabled","",3,"value"],[1,"mb-24",3,"period"],[1,"mb-24",3,"data","error","isLoading","statsConfig"],[1,"mb-24"],["mg-tab","","queryParamsHandling","merge","routerLink","products","routerLinkActive","active"],["mg-tab","","queryParamsHandling","merge","routerLink","brands","routerLinkActive","active"],["routerLink","/wb/competitors/suppliers","mg-button-text","",3,"queryParams"]],template:function(a,i){if(a&1){let p=F();o(0,"mg-breadcrumbs",1),P(1,Te,2,4,"a",2)(2,Ee,2,1,"span",3),n(),o(3,"app-page-title",4),f(4,Ie,1,1,"mg-tooltip-icon",5),o(5,"mg-select",6),B("ngModelChange",function(be){return L(p),M(i.changeFilter({showMarketplace:be}))}),o(6,"mg-prefix-text"),l(7,"\u0422\u043E\u0432\u0430\u0440\u044B \u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\u0430 WB:"),n()(),g(8,"app-badge-datepicker-days",7)(9,"mg-datepicker-range",8),n(),g(10,"app-external-oracul-banner",9)(11,"app-stats-block",10),o(12,"mg-tab-group",11)(13,"a",12),l(14,"\u0422\u043E\u0432\u0430\u0440\u044B"),n(),o(15,"a",13),l(16,"\u0411\u0440\u0435\u043D\u0434\u044B"),n()(),g(17,"router-outlet"),P(18,Oe,2,2,"ng-template",null,0,q)}if(a&2){let p;r(3),s("text",i.supplierTitle())("isLoading",i.isLoading()),r(),h(!i.isLoading()&&((p=i.supplierStats())!=null&&p.ogrn||((p=i.supplierStats())==null?null:p.title)!==((p=i.supplierStats())==null?null:p.fullName))?4:-1),r(),s("ngModel",i.dataParams().showMarketplace)("options",i.showMarketplaceOptions),r(4),s("value",i.periodService.currentPeriod()),r(),s("period",i.periodService.currentPeriod()),r(),s("data",i.supplierStats())("error",i.error())("isLoading",i.isLoading())("statsConfig",i.statsConfig)}},dependencies:[j,ne,ae,te,G,ce,Z,J,X,ge,oe,pe,ee,z,$,V,re,Q,ie,fe],encapsulation:2,changeDetection:0})}}return e})();var St=[{path:"",component:ve,providers:[C,he,Se,de(_e),_],children:[{path:"",redirectTo:"products",pathMatch:"full"},{path:"brands",loadComponent:()=>import("./chunk-2RZS4GOO.js").then(e=>e.SupplierBrandsComponent)},{path:"products",loadComponent:()=>import("./chunk-6DPQWWUN.js").then(e=>e.SupplierProductsComponent)}]}];export{St as SUPPLIER_DETAIL_ROUTES}; 6//# sourceMappingURL=chunk-WFMFXP5P.js.map 7 8//# debugId=25e3eb2e-9fae-57da-8b46-505e032da5d1
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.