1"use strict";(self.webpackChunkmicroblog=self.webpackChunkmicroblog||[]).push([[1497,6237],{80648(t,e,n){var r=n(2435),i=n(13903);let o=(0,r.pM)({__name:"BundleAvatar",props:{size:{default:"large"},bundle:{},avatarClass:{default:void 0}},setup:t=>(e,o)=>((0,r.uX)(),(0,r.Wv)(i.Ay,{"avatar-sid":t.bundle.avatarSID,letter:t.bundle.letter,digit:t.bundle.digit,title:t.bundle.title,"default-avatar":n(43471),size:"xxlarge","avatar-class":t.avatarClass},null,8,["avatar-sid","letter","digit","title","default-avatar","avatar-class"]))});n.d(e,["A",0,o])},10646(t,e,n){n(3362);var r=n(2435),i=n(69627),o=n(14643),s=n(51984),a=n(46807),u=n(97095),c=n(59313),l=n(337),m=n(40306),p=n(81517),d=n(32727),y=n(73352),f=n(79201),g=n(84971);let h={key:0,class:"flex flex-col grow"},v={class:"flex-center flex-col grow px-4"},w={class:"rounded-full absolute top-0 left-1/2 -translate-50% bg-background"},b={class:"@text-h2 text-black text-center mt-10"},D={class:"mt-1 @text-title1-r text-gray-700 text-center"},A={class:"flex items-center justify-between mt-60px w-full"},I={class:"@text-body text-gray-600"},C={class:"flex items-center max-w-full"},S=["innerHTML"],L={class:"flex items-center justify-between mt-2"},P={class:"@text-body text-gray-600"},k={class:"text-black @text-body"},j={success:{icon:n(87736),bgClass:"bg-primary-500/15",iconClass:"text-primary-500",titleKey:"successful-buy-community",descriptionKey:"successful-buy-community-description",actionKey:"continue"},error:{icon:n(54415),bgClass:"bg-error-500/15",iconClass:"text-error-500",titleKey:"unsuccessful-buy-community",descriptionKey:"unsuccessful-buy-community-description",actionKey:"go-back"}},z=(0,r.pM)({...{async beforeRouteEnter(t,e,n){await (0,l.Kd)()||n({path:"/showcase",replace:!0}),n()}},__name:"status",setup(t){let{getActiveCommunityInstance:e}=(0,m.r)(),n=(0,r.EW)(()=>e()),z=(0,p.R)(),T=(0,y.KR)(null),x=(0,y.KR)("success"),R=(0,y.KR)(""),M=(0,r.EW)(()=>n.value?R.value.length?R.value:(0,f.Ay)(j[x.value].descriptionKey,[(0,f.Ay)(n.value.entitySingleTitleKey)]):""),B=(0,r.EW)(()=>n.value?"success"===x.value&&T.value?T.value.detailsLink:"/academy":""),{LoadingContainer:O}=(0,u.A)(async()=>{let t=await (0,l.Kd)();if(t){T.value=(await z.get()).communityBundle;try{let e=await T.value.join({businessPackageID:t.businessPackageID,eduGroupID:t.eduGroupID,eduGroupLevelID:t.eduGroupLevelID});return await (0,l.ds)(),e}catch(t){x.value="error",(0,g.TF)(t)&&(R.value=t.message)}}}),E=new c.$().formatDate("yyyy/mm/dd");return(t,e)=>{let u=(0,r.g2)("BaseHeader");return(0,i.R1)(n)?((0,r.uX)(),(0,r.CE)("div",h,[(0,r.bF)((0,i.R1)(O),null,{default:(0,r.k6)(()=>[(0,r.bF)(u,{"start-section":"none","center-section":"logo",title:t.__("buy-x",[t.__((0,i.R1)(n).entitySingleTitleKey)])},null,8,["title"]),(0,r.Lk)("div",v,[(0,i.R1)(T)?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["relative rounded-4 px-5 pb-4 max-w-full",j[(0,i.R1)(x)].bgClass])},[(0,r.Lk)("div",w,[(0,r.bF)(a.A,{src:j[(0,i.R1)(x)].icon,class:(0,o.C4)(["s-64px",j[(0,i.R1)(x)].iconClass])},null,8,["src","class"])]),(0,r.Lk)("h2",b,(0,o.v_)(t.__(j[(0,i.R1)(x)].titleKey,[t.__((0,i.R1)(n).entitySingleTitleKey)])),1),(0,r.Lk)("p",D,(0,o.v_)((0,i.R1)(M)),1),(0,r.Lk)("div",A,[(0,r.Lk)("span",I,(0,o.v_)(t.__((0,i.R1)(n).entitySingleTitleKey))+":",1),(0,r.Lk)("div",C,[(0,r.bF)(d.A,{bundle:(0,i.R1)(T),size:"medium",class:"ms-2"},null,8,["bundle"]),(0,r.Lk)("span",{class:"@text-h3-b grow min-w-0 truncate text-primary-500 ms-1",innerHTML:(0,i.R1)(T).getSanitizedTitle()},null,8,S)])]),(0,r.Lk)("div",L,[(0,r.Lk)("span",P,(0,o.v_)(t.__("date"))+":",1),(0,r.Lk)("span",k,(0,o.v_)((0,i.R1)(E)),1)])],2)):(0,r.Q3)("",!0),(0,r.bF)(s.A,{link:(0,i.R1)(B),class:"min-w-150px mt-4"},{default:(0,r.k6)(()=>[(0,r.eW)((0,o.v_)(t.__(j[(0,i.R1)(x)].actionKey)),1)]),_:1},8,["link"])])]),_:1})])):(0,r.Q3)("",!0)}}});n.d(e,["A",0,z])},32727(t,e,n){let r=n(80648).A;n.d(e,["A",0,r])},86237(t,e,n){n.r(e);let r=n(10646).A;n.d(e,["default",0,r])},82953(t,e,n){n.d(e,{Jh:()=>a,Ns:()=>i,ZF:()=>s,u4:()=>o});var r=n(85117);function i(t){return(0,r.zA)("/academy/student/list",t,{autoAbort:!0})}function o(t){return(0,r.zA)("/academy/student/eduGroupJoin",t)}function s(t){return(0,r.zA)("/academy/student/eduProfile",t)}function a(t){return(0,r.zA)("/academy/homework/list",t)}},33528(t,e,n){n.d(e,{EN:()=>p,Ir:()=>w,Js:()=>f,Kb:()=>h,YM:()=>i,Z_:()=>s,_r:()=>o,cC:()=>m,dC:()=>c,gV:()=>l,lt:()=>b,mn:()=>d,r8:()=>y,vL:()=>v,xs:()=>g,y5:()=>u,y9:()=>a});var r=n(85117);function i(t){return(0,r.zA)("/communityBundle/create",t)}function o(t){return(0,r.zA)("/communityBundle/community/add",t)}function s(t){return(0,r.zA)("/communityBundle/list/all",t)}function a(){return(0,r.zA)("/communityBundle/get")}function u(t){return(0,r.zA)("/communityBundle/edit",t)}function c(t){return(0,r.zA)("/communityBundle/status/update",t)}function l(t){return(0,r.zA)("/communityBundle/staff/list",t)}function m(t){return(0,r.zA)("/communityBundle/enrollment/list",t)}function p(){return(0,r.zA)("/communityBundle/list/attendedByMe")}function d(){return(0,r.zA)("/communityBundle/list/moderatedByMe")}function y(t){return(0,r.zA)("/communityBundle/eduGroupLevel/add",t)}function f(t){return(0,r.zA)("/communityBundle/eduGroupLevel/remove",t)}function g(){return(0,r.zA)("/communityBundle/eduGroupLevel/list")}function h(t){return(0,r.zA)("/communityBundle/enroll",t)}function v(t){return(0,r.zA)("/communityBundle/staff/add",t)}function w(t){return(0,r.zA)("/communityBundle/staff/remove",t)}function b(t){return(0,r.zA)("/communityBundle/pricing/set",t)}},33412(t,e,n){n.d(e,{AP:()=>i,Iv:()=>l,aM:()=>c,iO:()=>o,iT:()=>a,m2:()=>m,sK:()=>s,yL:()=>u});var r=n(85117);function i(t){return(0,r.zA)("/academy/student/eduGroup/detail",t)}function o(){return(0,r.zA)("/academy/eduGroup/list")}function s(t){return(0,r.zA)("/academy/eduGroup/create",t)}function a(t){return(0,r.zA)("/academy/eduGroup/remove",t)}function u(t){return(0,r.zA)("/academy/eduGroup/edit",t)}function c(t){return(0,r.zA)("/academy/eduGroupLevel/create",t)}function l(t){return(0,r.zA)("/academy/eduGroupLevel/edit",t)}function m(t){return(0,r.zA)("/academy/eduGroupLevel/remove",t)}},78261(t,e,n){n.d(e,{Jy:()=>i,Xg:()=>s,rg:()=>a,xF:()=>o}),n(3362);var r=n(85117);async function i(t){return(await (0,r.zA)("/networkCategory/list",t)).categories}function o(t){return(0,r.zA)("/networkCategory/create",t)}function s(t){return(0,r.zA)("/networkCategory/edit",t)}function a(t){return(0,r.zA)("/networkCategory/remove",t)}},337(t,e,n){n.d(e,{Bc:()=>u,CZ:()=>f,E6:()=>m,Jd:()=>d,Kd:()=>l,Nd:()=>y,XB:()=>a,ds:()=>p,dy:()=>o,s9:()=>c,yw:()=>s,zr:()=>i});var r=n(47494);function i(){return(0,r.fm)("promote:premium")}function o(t){return(0,r.ph)("promote:premium",t)}function s(){return(0,r.ww)("promote:premium")}function a(){return(0,r.fm)("promote:community")}function u(t){return(0,r.ph)("promote:community",t)}function c(){return(0,r.ww)("promote:community")}function l(){return(0,r.fm)("promote:bundle")}function m(t){return(0,r.ph)("promote:bundle",t)}function p(){return(0,r.ww)("promote:bundle")}function d(){return(0,r.fm)("promote:boshra")}function y(t){return(0,r.ph)("promote:boshra",t)}function f(){return(0,r.ww)("promote:boshra")}},53578(t,e,n){n.d(e,{N:()=>m}),n(44114),n(3362),n(15472);var r=n(33528),i=n(70886),o=n(5634),s=n(95745),a=n(50293),u=n(55624),c=n(79201),l=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;
1a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class m extends u._{constructor(t,e=!0,n){super(t,e),this.communities=n}get isMembershipFree(){return 0===this.priceInfo.subscriptionCostAfterDiscount}get membershipCostString(){return(0,s.$)(this.priceInfo.subscriptionCostAfterDiscount)}get durationDaysString(){return(0,c.Ay)("n-day",[this.durationDays])}get capacityString(){return(0,c.Ay)("n-capacity",[this.capacity])}get isActive(){return"start"===this.status}isMember(){return"none"!==this.contributionStatus}get canViewAdminsList(){let t=this.viewAdminsPermission;switch(this.contributionStatus){case"member":return"all"===t;case"staff":case"owner":return!0;default:return!1}}get canViewMembersList(){let t=this.viewMembersPermission;switch(this.contributionStatus){case"member":return"all"===t;case"staff":case"owner":return!0;default:return!1}}get isCurrentUserOwner(){return"owner"===this.contributionStatus}get membersCountString(){return(0,o.Nf)(this.membersCount)}get staffCountString(){return(0,o.Nf)(this.staffCount)}async addCommunity(t){await (0,r._r)({communityID:t.ID}),(this.communities||[]).push(t)}async addToEduGroup(t){let e=(0,a.A)(),n=await (0,r.r8)({eduGroupLevelID:t});return e.fromPlain(n.eduGroup)}removeEduGroup(t){return(0,r.Js)({eduGroupLevelID:t})}async getToEduGroupList(){let t=(0,a.A)(),e=await (0,r.xs)();return t.fromPlainList(e.eduGroups)}edit(t){return(0,r.y5)(t)}async updateStatus(t){await (0,r.dC)(t),this.status=t.status}async join(t){await (0,r.Kb)(t)}addStaff(t,e){return(0,r.vL)({communityID:e.ID,staffUserID:t.userID})}setPrice(t){return(0,r.lt)(t)}}l([(0,i.pj)()],m.prototype,"bannerSID",void 0),l([(0,i.pj)()],m.prototype,"membershipType",void 0),l([(0,i.pj)()],m.prototype,"membershipCost",void 0),l([(0,i.pj)()],m.prototype,"renewalCost",void 0),l([(0,i.pj)()],m.prototype,"viewMembersPermission",void 0),l([(0,i.pj)()],m.prototype,"viewAdminsPermission",void 0),l([(0,i.pj)()],m.prototype,"showInPublicDirectory",void 0),l([(0,i.pj)()],m.prototype,"durationDays",void 0),l([(0,i.pj)()],m.prototype,"capacity",void 0),l([(0,i.pj)()],m.prototype,"hasCertificate",void 0),l([(0,i.pj)()],m.prototype,"hasFinalExam",void 0),l([(0,i.pj)()],m.prototype,"status",void 0),l([(0,i.pj)()],m.prototype,"communitiesCount",void 0),l([(0,i.pj)(),(0,i.W6)("membersCountString")],m.prototype,"membersCount",void 0),l([(0,i.pj)(),(0,i.W6)("staffCountString")],m.prototype,"staffCount",void 0),l([(0,i.pj)()],m.prototype,"contributionStatus",void 0),l([(0,i.pj)()],m.prototype,"priceInfo",void 0),l([(0,i.PP)()],m.prototype,"membersCountString",null),l([(0,i.PP)()],m.prototype,"staffCountString",null)},81517(t,e,n){n.d(e,{R:()=>a}),n(18111),n(61701),n(3362);var r=n(33528),i=n(53578),o=n(71497),s=n(13315);let a=(0,n(46645).nY)("bundle",()=>{function t(t,e){return new i.N(t,!0,e)}function e(e){return e?e.map(e=>t(e)):[]}async function n(){let t=(0,s.A)(),n=await (0,r.EN)();return{usersSummary:t.fromPlainList(n.usersSummary),communityBundles:e(n.communityBundles)}}async function a(){let t=(0,s.A)(),n=await (0,r.mn)();return{usersSummary:t.fromPlainList(n.usersSummary),communityBundles:e(n.communityBundles)}}async function u(){let e=(0,s.A)(),n=(0,o.useCommunityStore)(),i=await (0,r.y9)();return{usersSummary:e.map.addPlainMany(i.usersSummary),communityBundle:t(i.communityBundle,n.fromPlainList(i.communities))}}return{create:async function(e){return t((await (0,r.YM)({communityBundle:{...e}})).communityBundle)},fromPlain:t,get:u,getList:async function(t){let n=(0,s.A)(),i=await (0,r.Z_)(t);return{...i,usersSummary:n.fromPlainList(i.usersSummary),communityBundles:e(i.communityBundles)}},fromPlainList:e,getAttendedByMeList:n,getModeratedByMeList:a}})},68067(t,e,n){n.d(e,{e:()=>p}),n(78350),n(44114),n(30237),n(18111),n(22489),n(30531),n(61701),n(3362),n(15472);var r=n(15846),i=n(82953),o=n(50293),s=n(70886),a=n(20776),u=n(33412),c=n(79201),l=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;
1a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};function m(t){var e;return!!(null==(e=t[(0,c.TH)().language])?void 0:e.trim())}class p extends a.k{constructor(){super(d,"ID")}}class d extends s.SS{constructor(t,e=!0){let n=(0,o.A)();super(t,e),e&&n.map.add(this)}getSanitizedTitle(){return r.W.processText(this.localizedTitle)}getLastLevelID(){var t;return null!=(t=this.levels)&&t.length?this.levels[this.levels.length-1].eduGroupLevelID:""}getSanitizedLastLevel(){var t;if(!(null!=(t=this.levels)&&t.length))return"";let e=this.levels[this.levels.length-1];return r.W.processText(e.localizedTitle)}getLevelAsSelectableItemsArray(){return this.levels?this.levels.map(t=>({text:t.localizedTitle,value:t.eduGroupLevelID})):[]}joinStudent(t){return(0,i.u4)({...t})}async addLevel(t){let e=await (0,u.aM)({eduGroupID:this.ID,localization:t});m(t)&&(this.levels||(this.levels=[]),this.levels.push({localizedTitle:e.localization,eduGroupLevelID:e.eduGroupLevelID,localizedTitles:t}))}async removeLevel(t){var e;await (0,u.m2)({eduGroupLevelID:t}),this.levels=null==(e=this.levels)?void 0:e.filter(e=>e.eduGroupLevelID!==t)}async editLevel(t,e){var n;let r=await (0,u.Iv)({eduGroupLevelID:t,localization:e});this.levels=null==(n=this.levels)?void 0:n.flatMap(n=>n.eduGroupLevelID!==t?n:m(e)?{...n,localizedTitle:r.localization,localizedTitles:e}:[])}}l([(0,s.pj)()],d.prototype,"ID",void 0),l([(0,s.pj)()],d.prototype,"localizedTitle",void 0),l([(0,s.pj)()],d.prototype,"levels",void 0),l([(0,s.pj)()],d.prototype,"iconSID",void 0),l([(0,s.pj)()],d.prototype,"type",void 0),l([(0,s.pj)()],d.prototype,"localizedTitles",void 0)},50293(t,e,n){n.d(e,{A:()=>a}),n(18111),n(61701),n(3362);var r=n(33412),i=n(81517),o=n(68067),s=n(13315);let a=(0,n(46645).nY)("educationGroup",()=>{let t=new o.e;function e(e){return t.addPlain(e)}function n(e){return t.addPlainMany(e)}async function a(){return{eduGroups:n((await (0,r.iO)()).eduGroups)}}async function u(e){return t.get(e)||await a(),t.get(e)}async function c(t){let n=(0,s.A)(),o=(0,i.R)(),a=await (0,r.AP)(t);return{eduGroup:e(a.eduGroup),usersSummary:n.fromPlainList(a.usersSummary),communityBundles:o.fromPlainList(a.communityBundles)}}async function l(t){await (0,r.yL)(t),await a()}return{map:t,fromPlain:e,fromPlainList:n,getList:a,getGroupById:u,getAsSelectableItemsArray:function(t){return t.map(t=>({text:t.localizedTitle,value:t.ID}))},getBundleList:c,create:function(t){return(0,r.sK)(t)},remove:function(t){return(0,r.iT)(t)},edit:l}})},25222(t,e,n){n.d(e,{E:()=>h,c:()=>g}),n(16280),n(23792),n(18111),n(7588),n(61701),n(3362),n(15472),n(62953);var r=n(13315),i=n(95288),o=n(70321),s=n(96566),a=n(5634),u=n(70886),c=n(81616),l=n(44712),m=n(14783),p=n(28661),d=n(20776),y=n(71497),f=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class g extends d.k{constructor(){super(h,"ID")}}class h extends c.Y{constructor(t,e=!0){let n=(0,y.useCommunityStore)();super(t),this.subscribersShowcase=new m.L(this,l.g.center,"subscribers"),this.guestsShowcase=new m.L(this,l.g.center,"all"),this.posts=[],e&&n.map.addPlain(t)}get hasPost(){return!!this.posts.length}canMovePostDown(t){return t<this.posts.length-1}canMovePostUp(t){return t>0}isOwner(t){return this.ownerUserID===t.userID}async movePostDown(t){try{if(!this.canMovePostDown(t))return;await this.setPostOrder({operation:"down",postID:this.posts[t].postID}),(0,a.wg)(this.posts,t,t+1)}catch(t){(0,a.wH)(t)}}async movePostUp(t){try{if(!this.canMovePostUp(t))return;await this.setPostOrder({operation:"up",postID:this.posts[t].postID}),(0,a.wg)(this.posts,t,t-1)}catch(t){(0,a.wH)(t)}}async getPostsList(t){var e;let n=(0,s.D)(),u=(0,r.A)(),c=await (0,i.rd)(t);n.map.addPlainMany(c.posts),u.map.addPlainMany(c.usersSummary);let l=o.j.fromPlainList(c.index);if(null==(e=c.contentQuestionExerciseCount)||e.forEach(t=>{let e=n.map.get(t.postID);e&&(e.setExercisesCount(t.exercisesCount),e.setQuestionsCount(t.questionsCount))}),!t.pagination)throw Error("pagination not sent");let m=(0,a.n4)((0,p.F)(),t.pagination);return!this.posts.length||m?this.posts=l:this.posts=[...this.posts,...l],{pagination:c.pagination,indexes:l}}async getMembersList(t){let e=await (0,i.vb)(t),n=(0,r.A)().map.addPlainMany(e.usersSummary);return{...e,usersSummary:n}}async getModeratorsList(t){let e=await (0,i.if)(t),n=(0,r.A)().map.addPlainMany(e.usersSummary);return{...e,usersSummary:n}}addModerator(t){return(0,i.yE)(t)}removeModerator(t){return(0,i.jN)({...t,communityID:this.ID})}async edit(t){let e=(0,y.useCommunityStore)(),n=await (0,i.GD)({...this==null?void 0:this.toPlain(),...t});e.fromPlain(n.community)}async setPrice(t){let e=t.isFreeSubscription?0:t.subscriptionCost,n=0;if(!t.isFreeSubscription&&t.hasDiscount){if(null==t.subscriptionCostAfterDiscount)return!1;n=t.subscriptionCostAfterDiscount}if(null!=e&&n>e)return!1;let r=!t.isFreeSubscription&&t.hasDiscount&&null!=e&&n<e;return await (0,i.Np)({...t,subscriptionCost:e,subscriptionCostAfterDiscount:r?n:0,hasDiscount:r}),!0}async updateStatus(t){await (0,i.jZ)(t),this.status=t.status}setPostOrder(t){return(0,i.wB)(t)}addMember(t){return(0,i.yQ)({...t,communityID:this.ID})}async join(t={}){let e=await (0,i.yQ)({communityID:this.ID,...t});this.contributionStatus=e.status,"member"===e.status&&this.membersCount++}async leave(t={}){await (0,i.Nd)(t)}async kick(t){await (0,i.el)({userID:t.userID}),this.membersCount--}}f([(0,u.pj)()],h.prototype,"orderingMode",void 0),f([(0,u.pj)()],h.prototype,"viewMode",void 0),f([(0,u.pj)()],h.prototype,"hasShowcase",void 0),f([(0,u.pj)()],h.prototype,"bannerSID",void 0),f([(0,u.pj)()],h.prototype,"joinLink",void 0),f([(0,u.pj)()],h.prototype,"progressPercent",void 0),f([(0,u.pj)()],h.prototype,"networkCategory",void 0),f([(0,u.pj)()],h.prototype,"contentAccessWithDirectLink",void 0),f([(0,u.pj)()],h.prototype,"communityBundleContributionStatus",void 0)},55624(t,e,n){n.d(e,{_:()=>u}),n(89463),n(18111),n(61701),n(15472);var r=n(15846),i=n(13315),o=n(70886),s=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;
1a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};let a=/\p{L}/u;class u extends o.SS{get detailsLink(){return`/academy/${this.ID}`}get editLink(){return`/academy/bundle/set/${this.ID}`}get settingsLink(){return`/academy/${this.ID}/settings`}get groupsAndLevelsSettingsLink(){return`${this.settingsLink}/groups-and-levels`}get permissionsSettingsLink(){return`${this.settingsLink}/permissions`}get membershipSettingsLink(){return`${this.settingsLink}/membership`}get conditionsSettingsLink(){return`${this.settingsLink}/conditions`}get staffListLink(){return`/academy/${this.ID}/moderators`}get studentsListLink(){return`/academy/${this.ID}/students`}get setStaffLink(){return`${this.staffListLink}/set`}get letter(){var t;return(null==(t=a.exec(this.title))?void 0:t[0])||""}get digit(){return+this.ownerUserID.slice(-1)}get ownerUser(){return(0,i.A)().map.safeGet(this.ownerUserID)}isOwner(t){return this.ownerUserID===t.userID}getSanitizedTitle(){return r.W.processText(this.title)}getSanitizedDescription(){return r.W.processText(this.description)}getCommunityLink(t){return`/academy/${this.ID}/${t.ID}`}}s([(0,o.pj)()],u.prototype,"ID",void 0),s([(0,o.pj)(),(0,o.W6)("sanitizedDescription")],u.prototype,"description",void 0),s([(0,o.pj)()],u.prototype,"ownerUserID",void 0),s([(0,o.pj)()],u.prototype,"title",void 0),s([(0,o.pj)()],u.prototype,"avatarSID",void 0)},9412(t,e,n){n.d(e,{w:()=>a}),n(18111),n(61701),n(15472);var r=n(71497),i=n(13315),o=n(70886),s=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class a extends o.SS{get user(){return(0,i.A)().map.safeGet(this.userID)}get community(){return(0,r.useCommunityStore)().map.get(this.communityID)}}s([(0,o.pj)()],a.prototype,"ID",void 0),s([(0,o.pj)()],a.prototype,"userID",void 0),s([(0,o.pj)()],a.prototype,"communityID",void 0),s([(0,o.pj)()],a.prototype,"status",void 0)},39679(t,e,n){n.d(e,{O:()=>i}),n(18111),n(61701);var r=n(9412);let i=(0,n(46645).nY)("communityMember",()=>({fromPlainList:function(t){return t?t.map(t=>new r.w(t)):[]}}))},99945(t,e,n){n.d(e,{V:()=>u}),n(18111),n(61701),n(15472);var r=n(59313),i=n(71497),o=n(70886),s=n(95745),a=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class u extends o.SS{get community(){return(0,i.useCommunityStore)().map.get(this.communityID)}get createdTimeString(){return r.$.fromTimestampSeconds(this.createdTime).formatDate("yyyy/mm/dd - hh:mm")}get finalAmountString(){return(0,s.$)(this.priceInfo.subscriptionCostAfterDiscount)}get subscriptionCostString(){return(0,s.$)(this.priceInfo.subscriptionCost)}get subscriptionCostAfterDiscountString(){return(0,s.$)(this.priceInfo.subscriptionCostAfterDiscount)}get currency(){switch(this.priceInfo.currency){case"IRR":return"n-currency.IRR";case"USD":return"n-currency.USD";default:return"n-currency.TMN"}}}a([(0,o.pj)()],u.prototype,"communityID",void 0),a([(0,o.pj)()],u.prototype,"createdTime",void 0),a([(0,o.pj)()],u.prototype,"priceInfo",void 0)},43408(t,e,n){n.d(e,{l:()=>o}),n(18111),n(61701);var r=n(46645),i=n(99945);let o=(0,r.nY)("communityPurchaseHistory",()=>({fromPlainList:function(t){return t?t.map(t=>new i.V(t)):[]}}))},71497(t,e,n){n.d(e,{useCommunityStore:()=>m}),n(18111),n(61701),n(3362);var r=n(95288),i=n(25222),o=n(39679),s=n(43408),a=n(29019),u=n(43176),c=n(13315),l=n(45179);let m=(0,n(46645).nY)("community",()=>{let t=new i.c;function e(e){let n=(0,u.x)(),r=t.addPlain(e);return r.categories=n.fromPlainList(e.networkCategories),r}function n(t){return t?t.map(e):[]}async function m(t){let n=(0,c.A)(),i=await (0,r.eR)(t);return n.map.addPlainMany(i.usersSummary),i.userSummary&&n.map.addPlain(i.userSummary),e(i.community)}async function p(e){let n=t.get(e.communityID),r=m(e);return n||r}async function d(t){if(t.title&&t.membershipType&&t.customizationType)return e((await (0,r.m$)({...t,title:t.title,membershipType:t.membershipType,writePermission:"owner",customizationType:t.customizationType,orderingMode:"contentCreatedTimeASC",viewMode:"postStyle"})).community)}async function y(t){let e=await (0,r.Q4)(t),i=(0,c.A)().map.addPlainMany(e.usersSummary);return{pagination:{...e.pagination},communities:n(e.communities),usersSummary:i}}async function f(t){let e=await (0,r.cg)(t),i=(0,c.A)().map.addPlainMany(e.usersSummary);return{pagination:{...e.pagination},communities:n(e.communities),usersSummary:i}}async function g(t){let e=await (0,r.jd)(t),i=(0,c.A)().map.addPlainMany(e.usersSummary);return{pagination:{...e.pagination},communities:n(e.communities),usersSummary:i}}async function h(){let t=await (0,r.jd)({},{"app-scope-tenant":"boshra"}),e=(0,c.A)().map.addPlainMany(t.usersSummary);return{pagination:{...t.pagination},communities:n(t.communities),usersSummary:e}}async function v(t){let e=await (0,r.SE)(t),i=(0,c.A)().map.addPlainMany(e.usersSummary),s=n(e.communities),a=(0,o.O)().fromPlainList(e.members);return{pagination:{...e.pagination},communities:s,usersSummary:i,members:a}}async function w(t){let e=await (0,r.Li)(t),i=(0,c.A)(),o=(0,s.l)();return i.fromPlainList(e.usersSummary),{pagination:{...e.pagination},communities:n(e.communities),purchaseHistory:o.fromPlainList(e.purchaseHistory)}}return{map:t,fromPlain:e,fromPlainList:n,create:d,get:m,getOrFetchCommunity:p,getCommunityListAll:y,getCommunityList:f,getCommunityListModeratedByMe:g,getCommunityListManagedByMe:v,getPurchaseHistory:w,getCommunityBasedOnRoute:function(e=l.p){let n,r=null==e?void 0:e.currentRoute.value.params.communityId;if(r){let e=(0,a.U)();n=t.get(r)||e.map.get(r)||void 0}return n},getBoshraCommunityListModeratedByMe:h}})},81616(t,e,n){n.d(e,{Y:()=>y,u:()=>d}),n(89463),n(23792),n(44114),n(18111),n(61701),n(3362),n(15472),n(62953);var r=n(95288),i=n(74544),o=n(15846),s=n(13315),a=n(5634),u=n(70886),c=n(20776),l=n(79201),m=n(75850),p=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;
1a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class d extends c.k{constructor(){super(y,"ID")}}class y extends i.M{constructor(){super(...arguments),this.mode="view",this.categories=[]}get recentModerators(){let t=(0,s.A)().map;return this.moderatorsRecentContributed.map(e=>t.safeGet(e))}get ownerUser(){return(0,s.A)().map.safeGet(this.ownerUserID)}get hasMoreDescription(){return this.description.length>300||this.description.split("\n").length>8}get sanitizedDescription(){return o.W.processText(this.description)}get membersCountString(){return(0,a.Nf)(this.membersCount)}get moderatorsCountString(){return(0,a.Nf)(this.moderatorsCount)}get staffsCountString(){return(0,a.Nf)(this.staffsCount)}get editLink(){return`${this.detailsLink}/set`}get createPostLink(){return`${this.detailsLink}/compose`}get membersPageLink(){return`${this.detailsLink}/members`}get viewSettingsPageLink(){return`${this.detailsLink}/settings/view`}get permissionsViewPageLink(){return`${this.detailsLink}/settings/permissions-view`}get permissionsWritePageLink(){return`${this.detailsLink}/settings/permissions-write`}get membershipPageLink(){return`${this.detailsLink}/settings/membership`}get moderatorsPageLink(){return`${this.detailsLink}/moderators`}get fullLink(){return"https://farsnews.ir"+this.detailsLink}get canViewMembersList(){let t=this.viewMembersPermission;switch(this.contributionStatus){case"member":return"member"===t||"all"===t;case"moderator":case"owner":return!0;default:return!1}}get summarizeContentsCount(){return(0,a.Nf)(this.contentsCount)}get mainCategoryTitleLocalized(){var t;return(null==(t=this.categories)||null==(t=t[0])?void 0:t.localizedTitle)||(0,l.Ay)("category")}get manageCategoriesLink(){if(this.isCurrentUserOwner)return`${this.detailsLink}/categories`}get canDisplayCategories(){var t;return!!this.isCurrentUserOwner||null!=(t=this.categories)&&!!t.length}get moreCategoriesNumber(){if(this.categories.length>1)return this.categories.length-1}getSanitizedSummarizedDescription(){return o.W.processText(this.getSummarizedDescription())}getSummarizedDescription(){if(!this.hasMoreDescription)return this.description;let t=this.description.substring(0,300);return t=t.split("\n").slice(0,8).join("\n"),`${t}â¦`}setMode(t){this.mode=t}acceptJoinRequest(t){return(0,r.lD)({action:"accept",communityID:this.ID,userID:t})}rejectJoinRequest(t){return(0,r.lD)({action:"reject",communityID:this.ID,userID:t})}removeJoinRequest(t){return(0,r.lD)({action:"remove",communityID:this.ID,userID:t})}async addNetworkCategory(t){3===this.categories.length?(0,m.GY)((0,l.Ay)("category-error-message",[3]),{type:"warning"}):(await (0,r.bU)({networkCategoryID:t.ID}),this.categories.push(t))}async removeNetworkCategory(t){await (0,r.ei)({networkCategoryID:t.ID});let e=this.categories.findIndex(e=>e.ID===t.ID);~e&&this.categories.splice(e,1)}}p([(0,u.pj)(),(0,u.W6)("sanitizedDescription")],y.prototype,"description",void 0),p([(0,u.pj)()],y.prototype,"ownerUserID",void 0),p([(0,u.pj)()],y.prototype,"customizationType",void 0),p([(0,u.pj)()],y.prototype,"viewMembersPermission",void 0),p([(0,u.pj)()],y.prototype,"showInPublicDirectory",void 0),p([(0,u.pj)()],y.prototype,"status",void 0),p([(0,u.pj)(),(0,u.W6)("membersCountString")],y.prototype,"membersCount",void 0),p([(0,u.pj)(),(0,u.W6)("summarizeContentsCount")],y.prototype,"contentsCount",void 0),p([(0,u.pj)(),(0,u.W6)("moderatorsCountString")],y.prototype,"moderatorsCount",void 0),p([(0,u.pj)()],y.prototype,"moderatorsRecentContributed",void 0),p([(0,u.pj)(),(0,u.W6)("staffsCountString")],y.prototype,"staffsCount",void 0),p([(0,u.pj)()],y.prototype,"createdTime",void 0),p([(0,u.pj)()],y.prototype,"staffAccessToThisCommunity",void 0),p([(0,u.pj)()],y.prototype,"networkCategories",void 0),p([(0,u.PP)()],y.prototype,"sanitizedDescription",null),p([(0,u.PP)()],y.prototype,"membersCountString",null),p([(0,u.PP)()],y.prototype,"moderatorsCountString",null),p([(0,u.PP)()],y.prototype,"staffsCountString",null),p([(0,u.PP)()],y.prototype,"summarizeContentsCount",null)},29019(t,e,n){n(18111),n(61701);var r=n(81616),i=n(43176);let o=(0,n(46645).nY)("communitySummary",()=>{let t=new r.u;function e(e){let n=(0,i.x)(),r=t.addPlain(e);return r.categories=n.fromPlainList(e.networkCategories),r}return{map:t,fromPlain:e,fromPlainList:function(t){return t?t.map(e):[]}}});n.d(e,["U",0,o])},14049(t,e,n){n.d(e,{x:()=>m,z:()=>l}),n(23792),n(44114),n(18111),n(7588),n(3362),n(15472),n(62953);var r=n(43176),i=n(78261),o=n(79201),s=n(70886),a=n(20776),u=n(40306),c=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;
1a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class l extends s.SS{constructor(t){super(t)}get localizedTitle(){let t=(0,o.TH)();return this.title[t.language]}get editLink(){let{getActiveCommunityInstance:t}=(0,u.r)(),e=t();return e?`${e.baseRoute}/category/set/${this.ID}`:""}getChildren(){if(!this.subCategories)return[];let t=[];return this.subCategories.forEach(e=>t.push(new l(e))),t}getCategoryWithChildren(){return[this,...this.getChildren()]}async edit(t){await (0,i.Xg)({...t,networkCategoryID:this.ID}),t.iconSID&&(this.iconSID=t.iconSID),t.title&&(this.title=t.title)}async remove(t){let e=(0,r.x)();await (0,i.rg)({networkCategoryID:this.ID}),t?e.removeSubCategory(t,this):e.removeCategory(this)}}c([(0,s.pj)()],l.prototype,"ID",void 0),c([(0,s.pj)()],l.prototype,"parentID",void 0),c([(0,s.pj)()],l.prototype,"title",void 0),c([(0,s.pj)()],l.prototype,"iconSID",void 0),c([(0,s.pj)()],l.prototype,"subCategories",void 0);class m extends a.k{constructor(){super(l,"ID")}safeGet(t){let e=(0,r.x)();return this.get(t)||e.getDefaultNetworkCategory()}}},43176(t,e,n){n.d(e,{x:()=>c}),n(23792),n(44114),n(18111),n(20116),n(61701),n(13579),n(3362),n(62953);var r=n(46645),i=n(14049),o=n(78261),s=n(40306),a=n(73352),u=n(2435);let c=(0,r.nY)("networkCategory",()=>{let t,e=new i.x,n=(0,a.Kh)({}),r=(0,u.EW)(()=>{let{getActiveCommunityInstance:t}=(0,s.r)(),e=t();return e?e.customizationType:"book"});function c(t){n[r.value]||(n[r.value]=[]),n[r.value].push(l(t))}function l(t){return e.addPlain(t)}function m(t){return t?t.map(l):[]}async function p(){var t,e,i;if(null!=(t=n[r.value])&&t.length)return{categories:n[r.value],hasChildren:null==(i=n[r.value])?void 0:i.some(t=>t.getChildren().length>0)};let s=await (0,o.Jy)({});n[r.value]=m(s);let a=null==(e=n[r.value])?void 0:e.some(t=>t.getChildren().length>0);return{categories:n[r.value],hasChildren:a}}async function d(t){let e=await (0,o.xF)(t);return t.parentID||c(e.networkCategory),e}async function y(t){var e;for(let i of(null!=(e=n[r.value])&&e.length||await p(),n[r.value])){if(i.ID===t)return i;let e=i.getChildren().find(e=>e.ID===t);if(e)return e}}return{getList:p,fromPlainList:m,fromPlain:l,getDefaultNetworkCategory:function(){return t||(t=new i.z({ID:"-1",iconSID:"",parentID:"-1",subCategories:[],title:{ar:"",en:"",fa:""}})),t},addCategory:c,addSubCategory:function(t,e){var i;let o=null==(i=n[r.value])?void 0:i.find(e=>e.ID===t);o&&(o.subCategories||(o.subCategories=[]),o.subCategories.push(e))},removeCategory:function(t){if(!n[r.value])return;let e=n[r.value].findIndex(e=>e.ID===t.ID);~e&&n[r.value].splice(e,1)},removeSubCategory:function(t,e){var i,o;let s=null==(i=n[r.value])?void 0:i.find(e=>e.ID===t);if(!s||!s.subCategories)return;let a=s.subCategories.findIndex(t=>t.ID===e.ID);~a&&(null==(o=s.subCategories)||o.splice(a,1))},categories:(0,u.EW)(()=>n[r.value]),create:d,get:async function(t){var e;let s=null==(e=n[r.value])?void 0:e.find(e=>e.ID===t);if(s)return s;let a=await (0,o.Jy)({parentCategoryID:t});return new i.z(a[0])},MAX_TITLE_LENGTH:32,search:y}})},14783(t,e,n){n.d(e,{L:()=>p}),n(16280),n(44114),n(18111),n(20116),n(7588),n(61701),n(3362);var r=n(57240),i=n(21953),o=n(37830),s=n(24370),a=n(49108),u=n(13315),c=n(84971),l=n(79201),m=n(69627);class p extends s._{constructor(t,e,n){super(),this.community=t,this.column=e,this.visibility=n}get key(){return this.community.ID}get defaultAutoBlockSeederType(){return"manual"}get canManageBlocks(){return this.community.isCurrentUserOwner}get canManageContents(){return this.community.canWrite}get addBlockLink(){return`${this.community.detailsLink}/showcase/block`}get contentSingleTitleKey(){return"content"}get contentPluralTitleKey(){return"contents"}isCommunityShowcase(){return!0}async addBlock(t){var e,n;let s=(0,i.q)(),p=(0,a.d)(),d=(0,u.A)();if(!t.type)throw(0,c.mT)((0,l.Ay)("block-type-error"));if(!t.contentType)throw(0,c.mT)({message:(0,l.Ay)("empty-block-content-type-error"),track:!1});let y=await (0,r.Xp)({communityID:this.community.ID,showcaseType:"community",title:t.title,titleURL:t.titleURL,t
1ype:t.type,location:o._.showcase,locationColumn:this.column,contentType:t.contentType,seeder:t.seeder||"manual",config:(0,m.ux)(t.config),visibility:this.visibility}),f=s.fromPlainList(y.blocks);await (null==(e=f[0].getMetaData())||null==(n=e.getData)?void 0:n.call(e)),f.forEach(t=>{var e;null==(e=t.blockTabs)||e.forEach(e=>{e.contents.forEach(e=>{var n;let r=null==(n=y.showcaseContents)?void 0:n.find(t=>t.entityID===e.entityID);r&&p.addPlainToMap(r,t.contentType)})})}),d.map.addPlainMany(y.usersSummary),this.blocks.push(f[0])}async getBlocksList(t=!1){let e=(0,i.q)(),n=(0,a.d)(),s=(0,u.A)();if(!this.community.ID)throw Error("community.ID not provided!");let c=await (0,r.gj)({location:o._.showcase,showcaseType:this.showcaseType(),visibility:this.visibility}),l=e.fromPlainList(c[`${this.column}Blocks`]);for(let t=0;t<l.length;t++){var m,p;let e=l[t];await (null==(m=e.getMetaData())||null==(p=m.getData)?void 0:p.call(m))}l.forEach(t=>{var e;null==(e=t.blockTabs)||e.forEach(e=>{e.contents.forEach(e=>{var r;let i=null==(r=c.showcaseContents)?void 0:r.find(t=>t.entityID===e.entityID);i&&n.addPlainToMap(i,t.contentType)})})}),s.map.addPlainMany(c.usersSummary),this.blocks=l}canSetAutoBlock(){return!1}showcaseType(){return"community"}canSetAutoBlockSource(){return!0}}},54415(t){t.exports='<svg fill="none" viewBox="0 0 80 80"><rect width="80" height="80" fill="var(--svg-secondary-color)" rx="40"/><path fill="currentColor" d="m31.656 53.076 8.348-8.381 8.348 8.381 4.734-4.733-8.382-8.348 8.382-8.348-4.734-4.734-8.348 8.382-8.348-8.382-4.734 4.733 8.382 8.349-8.382 8.348z"/><path fill="currentColor" fill-rule="evenodd" d="M39.999 5.833c18.866 0 34.166 15.3 34.166 34.167S58.865 74.167 40 74.167c-18.867 0-34.167-15.3-34.167-34.167S21.133 5.833 40 5.833ZM67.499 40c0-15.2-12.3-27.5-27.5-27.5s-27.5 12.3-27.5 27.5 12.3 27.5 27.5 27.5 27.5-12.3 27.5-27.5" clip-rule="evenodd"/></svg>'},43471(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAclBMVEXeXCr+/v789PL66+X66+P66uP44db44Nb21sr21sn0zbz0zLzywq/ywq7wt6Lwt6HvrpTurpPvrZTurZPspIfto4bqmnnqmXnqmXjqmHjoj23oj2vojmvlhl/lhl7lhV/lhV7jelHhcEThcEPgZjfeXSp64NzoAAADa0lEQVR42u3c4W7aSBiF4fMNUEzI4rB4N2mpSwMz93+LrVLVNs7AZ5RgDtJ5fiK16qtMpkeOFYiIiIiIiIiIiIiIiIiIiIjIEMkBuZ4Uq4eJOeYPz+ioy2JSPDzvweB7sEEmbwkJqJ+aP7GKuLVU2mD/AohVcVS1x4092QVWdWE9YZ9wS8/2UZOIW5rYh62QdydfgN8ibmdpn2CD2/lin6DArSTYp9jBMUYAGtnP+sI/W+cMjR6Q3M9aiyoCRVsDxxgB3met6Sb2b7Ad3mMNeGz+sTHYXyX6eAM2aDzaXyGihzegQKO2xgt6eAO65z30s1rEARs0VqfnBHFAyJ6hCseIA7pnaH7yDDEHlGisrfGKI8wB7Z2Z4rk5QRvQ3pln5gR1QIFGdWpOUAdYhDsnuAOq7BmK6OAOyM+JHTq4A+zVnRPkAf6cIA/w5wR5QPe8T7NniD0gPycOaLAHdO7MffZbgz3Adrn/CqZo0Ad4c4I+wJsT/AHV+UnKH5CfEz+BP/gD7JA5Q23WHQTk5kR7vd5BwPTsnLiDgPNPuHgDgjMnIt7wBmTuzNyc4A34kb0z26wveMMbEMOgOcEbkL0zU8wsbdaAetCcIA7I35nb3hkiDkhrZ5I+AgBzwH7InGAO6N2Z+TlBHVD5cwLEAUjR/DnBHAAUzhOuDcAdsHWeThQAd0D3zszPCfIArIb8wIw5wJ0T7AGZO7P3/g17gDsn2ANq9/0b8gAU3vs37AHunCAPSNH9gRl3gD8nKvaAZ29OsAfk78x1J4s8AI/enGAPqL33b9gD4D7hYg9YOXOiZA/I35nLzrcGeYA7J76xB6y9OUEeMGBOcAfAnxPsAZX3/g17QAze+zfkAVh6c4I9oHtnZt+/YQ/w5wR7gDsn2APcJ1zsAZg6c+KVPSB3Z6bOGdqSB2TvzFhN7ibg+M5MAFAXwVq78QLSH+5njfd3ZkJdBjsSxwtoDPos+0T3qbCeBUYKGA59hZ3xgiub2oXm6KvttAWubWkXWiJ7hvJmB1xbZR7/TKzshNlrwrXFYBeZ4b1DsKzFIeH6th/+AgD/WcbiBaNIq8t/BYZ/iMLmgNGsbbBy0N8Ryh1G9XVmg4QtTqpnzdH5P2J0L8upOabLKuKculzM58sqQkRERERERERERERERERERETkPvwC3eBfiENN6BMAAAAASUVORK5CYII="}}]);
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.