PageSourceSearch

https://my.network.ch/2948.383986d2b96264b6.js

js network.ch collected 2026-10-02 20:49:08 UTC 11,282 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkVeryConnect=self.webpackChunkVeryConnect||[]).push([[2948],{12948:(Pt,f,n)=>{n.r(f),n.d(f,{OpportunitiesModule:()=>Jt});var a=n(72922),b=n(5742),g=n(60611),Q=n(8239),A=n(4962),v=n(50245),C=n(76125),N=n(19807),S=n(35783),M=n(53261),x=n(74174),c=n(17639),O=n(43632),_=n(87638),w=n(92296),U=n(61397),d=n(66006),h=n(97294),F=n(74687),t=n(14026);let E=(()=>{class e extends F.y{constructor(o){super(),this.oppoCfg=o}typeIsRequired(){return Boolean(this.oppoCfg.type.required)}typesAreEnabled(){return this.oppoCfg.type.show}}return e.\u0275fac=function(o){return new(o||e)(t.LFG(x.kM))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac}),e})();const R={i18n:{common:{allListings:"allListings",create:"create",deletedListing:"deletedListing",deleteListing:"deleteListing",listHeading:null,new:"new",noListings:"noListings",noMoreListings:"noMoreListings",searchPlaceholder:"searchByTitle",title:"title",type:"type",update:"update"},create:{err:"create_err",ok:"create_ok"},removeListing:{confirm:"confirmRm",err:"rmFail",ok:"rmOk"},update:{err:"update_err",ok:"update_ok"}},i18nNamespace:"opportunities",metadataMethod:"opportunities",resource:h.h,routes:{create:"opportunities.create",edit:"opportunities.edit",list:"opportunities.list",view:"opportunities.view"},showCreateButton:(0,d.Gv)(U.h.createRoles),showListingLabel:!0,showListingUserProfile:{list:!1,view:!1}},m={provide:d.Ez,useClass:E},u={provide:d.ok,useValue:R};var p=n(64177),D=n(38674),V=n(26495),Y=n(7933),T=n(90237),y=n(3814),B=n(27795),H=n(30438),j=n(61958),G=n(4087),k=n(81117),K=n(92341),s=n(52805),I=n(64683);function W(e,r){if(1&e&&(t.TgZ(0,"option",22),t._uU(1),t.qZA()),2&e){const o=r.$implicit;t.Q6J("ngValue",o),t.xp6(1),t.Oqu(o)}}function z(e,r){if(1&e&&t._UZ(0,"tg-help-block",23),2&e){const o=t.oxw(3);t.Q6J("errors",o.form.controls.type.errors)}}function X(e,r){if(1&e&&(t.TgZ(0,"div",5,16)(2,"label",7),t._uU(3),t.ALo(4,"tr"),t.qZA(),t.TgZ(5,"div",8)(6,"tg-clearable-input",17)(7,"select",18),t._UZ(8,"option",19),t.YNc(9,W,2,2,"option",20),t.qZA()(),t.YNc(10,z,1,1,"tg-help-block",21),t.qZA()()),2&e){const o=t.MAs(1),i=t.oxw(2);t.Q6J("autoId",!1),t.xp6(2),t.Q6J("for",o.id),t.xp6(1),t.AsE("",i.requireType?"* ":"","",t.xi3(4,10,i.i18n.common.type,i.ns),":"),t.xp6(3),t.Q6J("showButton",!i.requireType),t.xp6(1),t.Q6J("id",o.id)("formControlName","type"),t.xp6(1),t.Q6J("ngValue",null),t.xp6(1),t.Q6J("ngForOf",i.types),t.xp6(1),t.Q6J("ngIf",i.form.controls.type.touched)}}function $(e,r){if(1&e){const o=t.EpF();t.TgZ(0,"button",24),t.NdJ("click.passive",function(){t.CHM(o);const l=t.oxw(2);return t.KtG(l.delete())}),t._uU(1),t.ALo(2,"tr"),t.qZA()}if(2&e){const o=t.oxw(2);t.xp6(1),t.Oqu(t.xi3(2,1,o.i18n.common.deleteListing,o.ns))}}function q(e,r){1&e&&t._UZ(0,"tg-loader-spinner")}function tt(e,r){if(1&e){const o=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"form",3),t.NdJ("submit",function(){t.CHM(o);const l=t.oxw();return t.KtG(l.submit())}),t.YNc(3,X,11,13,"div",4),t.TgZ(4,"div",5,6)(6,"label",7),t._uU(7),t.ALo(8,"tr"),t.qZA(),t.TgZ(9,"tg-help-block-container",8),t._UZ(10,"input",9),t.qZA()(),t.TgZ(11,"div",10)(12,"tg-help-block-container",2),t._UZ(13,"tg-wysiwyg-editor",11),t.qZA()(),t.TgZ(14,"div",12),t.YNc(15,$,3,4,"button",13),t.TgZ(16,"div"),t.YNc(17,q,1,0,"tg-loader-spinner",14),t.TgZ(18,"button",15),t._uU(19),t.ALo(20,"tr"),t.qZA()()()()()()}if(2&e){const o=t.MAs(5),i=t.oxw();t.xp6(2),t.Q6J("formGroup",i.form),t.xp6(1),t.Q6J("ngIf",i.enableTypes),t.xp6(1),t.Q6J("autoId",!1),t.xp6(2),t.Q6J("for",o.id),t.xp6(1),t.hij("* ",t.xi3(8,15,i.i18n.common.title,i.ns),":"),t.xp6(3),t.Q6J("autocomplete","off")("id",o.id)("formControlName","title"),t.xp6(3),t.Q6J("formControlName","content"),t.xp6(1),t.ekj("deletable",i.item),t.xp6(1),t.Q6J("ngIf",i.item),t.xp6(2),t.Q6J("ngIf",i.submitting),t.xp6(1),t.Q6J("disabled",i.submitting),t.xp6(1),t.Oqu(t.xi3(20,18,i.i18n.common[i.item?"update":"create"],i.ns))}}let J=(()=>{class e extends w.v{}return e.\u0275fac=function(){let r;return function(i){return(r||(r=t.n5z(e)))(i||e)}}(),e.\u0275cmp=t.Xpm({type:e,selectors:[["tg-opportunities-create"]],features:[t._Bn([m,u]),t.qOj],decls:1,vars:1,consts:[["class","row",4,"ngIf"],[1,"row"],[1,"col-xs-12"],[1,"form-horizontal",3,"formGroup","submit"],["class","form-group",3,"autoId",4,"ngIf"],[1,"form-group",3,"autoId"],["idTitle","id"],[1,"col-sm-2","col-xs-12",3,"for"],[1,"col-sm-10","col-xs-12"],["name","title","type","text",1,"form-control",3,"autocomplete","
1id","formControlName"],[1,"form-group"],[3,"formControlName"],[1,"btn-menu"],["class","btn btn-danger","type","button",3,"click.passive",4,"ngIf"],[4,"ngIf"],["type","submit",1,"btn","btn-success",3,"disabled"],["idType","id"],[3,"showButton"],["name","type",1,"form-control",3,"id","formControlName","hasPlaceholder","clearable-input-target"],[3,"placeholderText","ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"errors",4,"ngIf"],[3,"ngValue"],[3,"errors"],["type","button",1,"btn","btn-danger",3,"click.passive"]],template:function(o,i){1&o&&t.YNc(0,tt,21,21,"div",0),2&o&&t.Q6J("ngIf",i.form)},dependencies:[p.sg,p.O5,D.r,V.f,Y._,T.I,y.u0,y.k6,B.y,H.h,j.y,G.W,k.e,K.Z,s._Y,s.YN,s.Kr,s.Fj,s.EJ,s.JJ,s.JL,s.sg,s.u,I.H],styles:["[_nghost-%COMP%]{display:block}tg-clearable-input[_ngcontent-%COMP%]{width:100%}.btn-menu.deletable[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.btn-menu[_ngcontent-%COMP%]:not(.deletable){text-align:right}"],changeDetection:0}),e})();var et=n(40266),ot=n(49389),L=n(32904),nt=n(10218),it=n(22009),rt=n(50339),st=n(80499),lt=n(65624),pt=n(74647);function at(e,r){if(1&e&&t._UZ(0,"div",9),2&e){const o=t.oxw(2);t.Q6J("translate",o.i18n.listHeading)("tr-namespace",o.ns)}}function ct(e,r){if(1&e&&(t._UZ(0,"tg-dropdown-select",10),t.ALo(1,"tr")),2&e){const o=t.oxw(2);t.Q6J("array",o.types)("multi",!1)("formControl",o.ctrlType)("label",t.xi3(1,4,o.i18n.allListings,o.ns))}}function dt(e,r){if(1&e&&t._UZ(0,"a",11),2&e){const o=t.oxw(2);t.Q6J("uiSref",o.abstractCfg.routes.create)("translate",o.i18n.new)("tr-namespace",o.ns)}}function mt(e,r){if(1&e){const o=t.EpF();t.TgZ(0,"tg-marketspace-opportunities-item",14),t.NdJ("deletedChange",function(l){const Lt=t.CHM(o).$implicit,Zt=t.oxw(3);return t.KtG(Zt.onDeleteChange(Lt.id,l))}),t.qZA()}if(2&e){const o=r.$implicit,i=t.oxw(3);t.Q6J("item",o)("showProfile",i.showProfile)("deleted",i.deletedMap.has(o.id))}}function ut(e,r){if(1&e){const o=t.EpF();t.TgZ(0,"div",12),t.NdJ("scrolled",function(){t.CHM(o);const l=t.oxw(2);return t.KtG(l.scroller.scrolled())}),t.YNc(1,mt,1,3,"tg-marketspace-opportunities-item",13),t.qZA()}if(2&e){const o=t.oxw(2);t.Q6J("immediateCheck",!0)("scrollWindow",!0)("infiniteScrollDistance",1)("infiniteScrollDisabled",o.busy||o.done),t.xp6(1),t.Q6J("ngForOf",o.data)("ngForTrackBy",o.TRACK_BY_ID)}}function ft(e,r){1&e&&t._UZ(0,"tg-loader-spinner")}function gt(e,r){if(1&e&&t._UZ(0,"div",9),2&e){const o=t.oxw(2);t.Q6J("translate",o.getNoListingsText())("tr-namespace",o.ns)}}function vt(e,r){if(1&e&&(t.TgZ(0,"div",1),t.YNc(1,at,1,2,"div",2),t.TgZ(2,"form",3),t._UZ(3,"input",4),t.ALo(4,"tr"),t.YNc(5,ct,2,7,"tg-dropdown-select",5),t.YNc(6,dt,1,3,"a",6),t.qZA(),t.YNc(7,ut,2,6,"div",7),t.YNc(8,ft,1,0,"tg-loader-spinner",8),t.YNc(9,gt,1,2,"div",2),t.qZA()),2&e){const o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.i18n.listHeading),t.xp6(2),t.Q6J("formControl",o.ctrlTitle)("placeholder",t.xi3(4,8,o.i18n.searchPlaceholder,o.ns)),t.xp6(2),t.Q6J("ngIf",o.enableTypes),t.xp6(1),t.Q6J("ngIf",o.user&&(o.user.isSiteAdmin||o.abstractCfg.showCreateButton(o.user))),t.xp6(1),t.Q6J("ngIf",o.data),t.xp6(1),t.Q6J("ngIf",o.busy||!o.data),t.xp6(1),t.Q6J("ngIf",o.done)}}let Ct=(()=>{class e extends et.n{}return e.\u0275fac=function(){let r;return function(i){return(r||(r=t.n5z(e)))(i||e)}}(),e.\u0275cmp=t.Xpm({type:e,selectors:[["tg-opportunities-list"]],features:[t._Bn([ot.TgInfiniteScroller,m,u]),t.qOj],decls:1,vars:1,consts:[["class","col-xs-12",4,"ngIf"],[1,"col-xs-12"],["class","alert alert-info text-center",3,"translate","tr-namespace",4,"ngIf"],[1,"searchbar"],["type","text",1,"form-control","first",3,"formControl","placeholder"],[3,"array","multi","formControl","label",4,"ngIf"],["class","btn btn-primary",3,"uiSref","translate","tr-namespace",4,"ngIf"],["infiniteScroll","",3,"immediateCheck","scrollWindow","infiniteScrollDistance","infiniteScrollDisabled","scrolled",4,"ngIf"],[4,"ngIf"],[1,"alert","alert-info","text-center",3,"translate","tr-namespace"],[3,"array","multi","formControl","label"],[1,"btn","btn-primary",3,"uiSref","translate","tr-namespace"],["infiniteScroll","",3,"immediateCheck","scrollWindow","infiniteScrollDistance","infiniteScrollDisabled","scrolled"],[3,"item","showProfile","deleted","deletedChange",4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","showProfile","deleted","deletedChange"]],template:function(o,i){1&o&&t.YNc(0,vt,10,11,"div",0),2&o&&t.Q6J("ngIf",i.types)},dependencies:[a.UISref,a.AnchorUISref,L.a,p.sg,p.O5,nt.P,T.I,it.a,rt.k,st._,lt.N,pt.Ry,s._Y,s.Fj,s.JJ,s.JL,s.F,s.oH,I.H],styles:["[_nghost-%COMP%]{display:block}.searchbar[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;margin-bottom:2em}.searchbar[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),e})();var xt=n(68044),Ot=n(69939);function ht(e,r){if(1&e&&t._UZ(0,"tg-share",2),2&e){const o=t.oxw();t.Q6J("url",o.getPostUrl())("title",o.item.title)}}let Tt=(()=>{class e extends xt.X{}return e.\u0275fac=function(){let r;
1return function(i){return(r||(r=t.n5z(e)))(i||e)}}(),e.\u0275cmp=t.Xpm({type:e,selectors:[["tg-opportunities-view"]],features:[t._Bn([m,u]),t.qOj],decls:2,vars:4,consts:[["class","text-right",3,"url","title",4,"ngIf"],[3,"item","showProfile","linkable","deletedChange"],[1,"text-right",3,"url","title"]],template:function(o,i){1&o&&(t.YNc(0,ht,1,2,"tg-share",0),t.TgZ(1,"tg-marketspace-opportunities-item",1),t.NdJ("deletedChange",function(P){return i.onDelete(P)}),t.qZA()),2&o&&(t.Q6J("ngIf",i.showShare),t.xp6(1),t.Q6J("item",i.item)("showProfile",i.showProfile)("linkable",!1))},dependencies:[L.a,p.O5,Ot.n],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})();const Z={deps:[N.c,A.Transition,g.Z,h.h],resolveFn:(e,r,o,i)=>(0,Q.Z)(function*(){try{return yield(0,v.n)(i.get(r.params().id).pipe(e.alertHttpError()))}catch{return r.abort(),yield o.go("opportunities.list")}})(),token:x.wp},It=[{abstract:!0,component:_.qU,data:{requireLogin:{path:["opportunities"]}},name:"opportunities",resolve:[c.resolveOpportunitiesConfig],url:"/opportunities"},{component:Ct,name:"opportunities.list",resolve:[O.w,c.resolveMemberTagsConfig],url:""},{component:J,data:{requireLogin:{always:!0}},name:"opportunities.create",redirectTo:(0,M.P)("opportunities.list",C._),resolve:[O.w],url:"/create"},{component:J,name:"opportunities.edit",resolve:[Z],url:"/edit/{id:ObjectId}"},{component:Tt,name:"opportunities.view",resolve:[Z,c.resolveMemberTagsConfig,{deps:[C._],resolveFn:e=>(0,v.n)(e.latest("share","enable")),token:S.MARKETSPACE_OPPORTUNITIES_SHOW_SHARE}],url:"/view/{id:ObjectId}"}];let Jt=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[a.UIRouterModule.forChild({config:g.Z.config(It)}),b.x]}),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.