1import{a as he,b as H,c as Ce,d as ge,e as P,f as A,g as B,h as ue,i as W,j as xe,l as fe,m as ve}from"./chunk-VUFI3FIO.js";import{a as pe}from"./chunk-APDDQFNG.js";import"./chunk-Y77UCFYP.js";import"./chunk-57GBS5HI.js";import{a as ce}from"./chunk-TOQXDQXR.js";import"./chunk-SEGLTPII.js";import"./chunk-T675STIN.js";import{b as Qt,c as Kt,d as Yt}from"./chunk-GDHVY3VS.js";import{a as ae}from"./chunk-3L2CMIP4.js";import"./chunk-62BZJB3W.js";import{a as re,b as se,c as le,d as _e,e as de,f as me}from"./chunk-DCWWDZSN.js";import"./chunk-4XBPAN2Q.js";import"./chunk-SBNM44QV.js";import"./chunk-6ICW6IAK.js";import"./chunk-WCDV3JX2.js";import"./chunk-5YXASH7T.js";import"./chunk-L3TMZSYM.js";import"./chunk-Y2UBYVQZ.js";import"./chunk-Q732TLLN.js";import"./chunk-CNJNXYXE.js";import"./chunk-45XALDR3.js";import"./chunk-PPS4DMJR.js";import"./chunk-P4O4Q6MD.js";import"./chunk-TIKLHI5M.js";import"./chunk-OI7YRJTU.js";import{a as ee}from"./chunk-HFBCSVSR.js";import{a as oe}from"./chunk-6RAEKGRT.js";import{a as ie}from"./chunk-PI6J3LX4.js";import"./chunk-Q33RCU6J.js";import"./chunk-MSBGJBCZ.js";import{b as ne}from"./chunk-7TTPAPGT.js";import{a as Xt}from"./chunk-LWV5AX76.js";import{b as jt,c as qt}from"./chunk-XEO5FTVA.js";import"./chunk-ZSU77ZIP.js";import{b as At}from"./chunk-72AOEOHI.js";import"./chunk-ZOQGKVUN.js";import{a as Y}from"./chunk-STUGURIZ.js";import"./chunk-NYBKXWUQ.js";import"./chunk-WAZQPHFU.js";import"./chunk-7UKWFC6Z.js";import"./chunk-MXUGXXMQ.js";import{a as te}from"./chunk-BCX5R3UE.js";import"./chunk-FFBFOTJW.js";import"./chunk-HDTFX2YO.js";import{a as Ot}from"./chunk-KYHL5OOP.js";import"./chunk-L7RVGY7W.js";import{a as Nt,b as Ht}from"./chunk-KHYPRB62.js";import"./chunk-EACRKDW2.js";import"./chunk-5LKPCPQR.js";import"./chunk-M5UNDBHL.js";import"./chunk-6QAD46IL.js";import"./chunk-LBTOMDJQ.js";import"./chunk-GDXYVKBC.js";import"./chunk-IQCUSQVV.js";import"./chunk-VJF5ZTYT.js";import"./chunk-JONISZS5.js";import{e as Gt}from"./chunk-SVVW2GNO.js";import"./chunk-OGG72DBQ.js";import{a as Lt}from"./chunk-H7IACD5R.js";import"./chunk-6GCXAGYQ.js";import"./chunk-2BLZ5HBF.js";import"./chunk-SEP3MGWH.js";import{b as Jt}from"./chunk-ZQPBCD3O.js";import{a as Zt}from"./chunk-E6PLEMJN.js";import{L as $t,Q as zt,T as Dt,U as Ut,X as Bt,Y as Wt,m as Rt}from"./chunk-3I36ELKV.js";import"./chunk-QEYWGXZI.js";import"./chunk-ARDKMT76.js";import{f as Ft}from"./chunk-Q36UYFPB.js";import{i as Et}from"./chunk-QUSGAZI6.js";import"./chunk-3MEAEYDE.js";import"./chunk-Z5N7ABTE.js";import"./chunk-UY4LDNMV.js";import{b as wt}from"./chunk-LYIR3EUL.js";import{Ha as Pt,Ja as Vt,a as kt,e as bt,r as St,xa as Mt}from"./chunk-TV3SSIWA.js";import{B as $,Bb as p,Db as r,Ea as N,Fa as ct,Gd as Tt,Ha as rt,Hb as pt,Hd as It,Ia as q,Ib as M,J as tt,Ja as o,Jb as T,K as et,N as nt,Nb as I,Oa as st,Ob as Q,Pa as b,Pb as w,Pc as gt,R as z,Rb as l,Sb as h,Ta as lt,Tb as k,Tc as ut,Ub as K,Uc as xt,V as it,W as ot,Za as E,a as X,dc as ht,hb as g,hc as L,jb as u,ka as d,la as m,lb as _t,mb as F,mc as D,nb as O,nc as U,ob as C,pa as at,pb as a,q as R,qb as c,qc as Ct,rb as v,sd as ft,vb as dt,w as Z,wb as mt,wd as vt,xb as G,yb as x,yd as yt}from"./chunk-52C3GDED.js";import"./chunk-QBUHZOWM.js";var Oe=["categoriesAutocomplete"],Le=["categorySearchInput"],Ae=["categoryTitle"],Re=["categorySection"],Ne=["tree"],He=["contactsInterestTreeTrigger"],$e=["contactsInterestTreePanel"],ze=["contactsInterestTree"],De=["contactsChipsRow"],Ue=["matchCardsWrap"],Be=i=>({hintSmall:i}),We=i=>({count:i}),J=i=>[i],ye=i=>({"d-flex":i}),j=(i,_)=>_.countryID,ke=(i,_)=>_.vendorCategoryID;function je(i,_){if(i&1){let t=x();a(0,"app-message-widget",20),p("messageSentMM",function(){d(t);let n=r(3);return m(n.onMessageSentInOverlay())}),c()}if(i&2){let t=r(3);C("threadInfo",_)("quickReplies",t.messageSnipets)}}function qe(i,_){if(i&1){let t=x();a(0,"div",15),p("touchstart",function(n){d(t);let s=r(2);return m(s.onOverlaySwipeStart(n))})("touchend",function(n){d(t);let s=r(2);return m(s.onOverlaySwipeEnd(n))}),a(1,"div",16),v(2,"div",17),c(),a(3,"button",18),p("click",function(){d(t);let n=r(2);return m(n.closeMessageOverlay())}),a(4,"mat-icon"),l(5,"close"),c()(),g(6,je,1,2,"app-message-widget",19),D(7,"async"),c()}if(i&2){let t,e=r(2);Q("height",e.overlayHeight),o(6),u((t=U(7,3,e.msgThread$))?6:-1,t)}}function Ge(i,_){if(i&1){let t=x();a(0,"div",21)(1,"div",22),v(2,"mat-icon",23),c(),a(3,"span",24),l(4),c(),a(5,"span",24),l(6),c(),a(7,"span",25),p("click",function(){d(t);let n=r(3);return m(n.goToPeople())}),l(8),c()()}if(i&2){let t=r(2).$implicit;o(4),h(t("noContactsTitle")),o(2),h(t("noContactsSub")),o(2),h(t("catalogLink"))}}function Qe(i,_){if(i&1){let t=x();a(0,"div",27)(1,"app-guide-last-step",31),p("redirectToRecommendations",function(){d(t);let n=r(4);return m(n.onGoToRecommendations())}),c()()}}function Ke(i,_){if(i&1&&(a(0,"span",36),l(1),c()),i&2){let t=r(7);o(),h(t.myContactsNewCount)}}function Ye(i,_){if(i&1&&(a(0,"span"),l(1),c(),g(2,Ke,2,1,"span",36)),i&2){let t=r(5).$implicit,e=r();o(),h(t("selected")),o(),u(e.myContactsNewCount>0?2:-1)}}function Je(i,_){if(i&1){let t=x();a(0,"mat-tab-group",33),p("selectedTabChange",function(n){d(t);let s=r(5);return m(s.onTabChange(n))}),v(1,"mat-tab",34),a(2,"mat-tab"),E(3,Ye,3,2,"ng-template",35),c()()}if(i&2){let t=r(4).$implicit,e=r();C("selectedIndex",e.selectedTab-1),o(),C("label",ht(t("recommendations")))}}function Xe(i,_){if(i&1&&g(0,Je,4,3,"mat-tab-group",32),i&2){let t=r(4);u(t.sendToCompany?-1:0)}}function Ze(i,_){if(i&1){let t=x();a(0,"mat-icon",40),p("click",function(){d(t);let n=r(5);return m(n.openConnectionsGuide())}),c()}}function tn(i,_){if(i&1){let t=x();a(0,"button",41),p("click",function(){d(t);let n=r(5);return m(n.openFilters(!0))}),v(1,"mat-icon",42),l(2),c()}if(i&2){let t=r(4).$implicit;o(2),k(" ",t("configureRecommendations")," ")}}function en(i,_){if(i&1&&(a(0,"div",28)(1,"span",37),l(2),g(3,Ze,1,0,"mat-icon",38),c(),g(4,tn,3,1,"button",39),c()),i&2){let t=r(3).$implicit,e=r();o(2),k("",t("foundMatchesCompany")," "),o(),u((e.recommendationType==="companies"?e.companiesResolved.length:e.productsResolved.length)>0?3:-1),o(),u((e.recommendationType==="companies"?!e.showSkippedCompanies:!e.showSkippedProducts)?4:-1)}}function nn(i,_){if(i&1){let t=x();a(0,"mat-icon",40),p("click",function(){d(t);let n=r(7);return m(n.openConnectionsGuide())}),c()}}function on(i,_){if(i&1){let t=x();a(0,"div",44)(1,"button",45),p("click",function(){d(t);let n=r(6);return m(n.openFilters(!0))}),v(2,"mat-icon",46),l(3),c(),g(4,nn,1,0,"mat-icon",38),c()}if(i&2){let t=r(5).$implicit,e=r();o(),C("matTooltip",t("configureRecommendations")),o(2),k(" ",t("configureRecommendations")," "),o(),u((e.recommendationType==="companies"?e.companiesResolved.length:e.productsResolved.length)>0?4:-1)}}function an(i,_){if(i&1&&g(0,on,5,3,"div",44),i&2){let t=r(5);u(t.selectedTab===1&&(t.recommendationType==="companies"?!t.showSkippedCompanies:!t.showSkippedProducts)&&(!t.companiesLoader.show||!t.productsLoader.show)?0:-1)}}function cn(i,_){if(i&1){let t=x();a(0,"app-send-message-popup",47),p("closeMessage",function(n){d(t);let s=r(5);return m(s.closeMessage(n))}),c()}if(i&2){let t=r(5);C("eventId",t.eventId)("company",t.sendToCompany)("isForExibithors",!1)("isHandset",t.isHandset)}}function rn(i,_){if(i&1&&(g(0,an,1,1),g(1,cn,1,4,"app-send-message-popup",43)),i&2){let t=r(4);u(t.sendToCompany?-1:0),o(),u(t.sendToCompany?1:-1)}}function sn(i,_){i&1&&(a(0,"mat-option")(1,"div",68),v(2,"app-loading-spinner",69),c()()),i&2&&(o(2),C("loaderSize",20))}function ln(i,_){if(i&1&&(a(0,"mat-option",62),l(1),c()),i&2){let t=_.$implicit;C("value",t.countryID),o(),h(t.name)}}function _n(i,_){if(i&1){let t=x();a(0,"mat-tree-node",76),p("click",function(n){return n.stopPropagation()}),a(1,"div",77)(2,"mat-checkbox",78),p("change",function(n){let s=d(t).$implicit,f=r(7);return m(f.onCategoryNoChildCheckboxChange(n,s))})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit;return r(7).triggerNoChildCheckboxClick(s),m(n.stopPropagation())}),l(4),c()()()}if(i&2){let t=_.$implicit;o(2),C("checked",t.isChecked),o(2),h(t.categoryName)}}function dn(i,_){i&1&&v(0,"mat-icon",83)}function mn(i,_){i&1&&v(0,"mat-icon",84)}function pn(i,_){if(i&1){let t=x();a(0,"mat-tree-node",80)(1,"div",77)(2,"mat-checkbox",81),p("change",function(n){let s=d(t).$implicit;r();let f=I(3),y=r(6);return m(y.onCategoryWithChildrenCheckboxChange(n,s,f))})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit;r();let f=I(3);return r(6).triggerWithChildrenCheckboxClick(s,f),m(n.stopPropagation())}),l(4),c(),a(5,"button",82),g(6,dn,1,0,"mat-icon",83),g(7,mn,1,0,"mat-icon",84),c()()()}if(i&2){let t=_.$implicit;r();let e=I(3);C("cdkTreeNodeTypeaheadLabel",t.categoryName),o(2),C("checked",t.isChecked),o(2),h(t.categoryName),o(2),u(e.isExpanded(t)?6:-1),o(),u(e.isExpanded(t)?-1:7)}}function hn(i,_){if(i&1&&(a(0,"div",72,2)(2,"mat-tree",73,3),E(4,_n,5,2,"mat-tree-node",74)(5,pn,8,5,"mat-tree-node",75),c()()),i&2){let t=r(6);o(2),C("dataSource",t.categoriesAutocompletePg.categoryList)("childrenAccessor",t.categoryChildrenAccessor),o(3),C("matTreeNodeDefWhen",t.categoryHasChild)}}function Cn(i,_){if(i&1){let t=x();a(0,"div",64)(1,"div",70,1),p("click",function(){d(t);let n=r(5);return m(n.showCategorySection())}),a(3,"span",71),l(4),c(),a(5,"mat-icon"),l(6,"keyboard_arrow_down"),c()(),g(7,hn,6,3,"div",72),c()}if(i&2){let t=r(4).$implicit,e=r();o(),w("black-color",e.multiCategoryIds),o(2),C("matTooltip",e.multiCategoryIds?e.multiCategoryNames:""),o(),h(e.multiCategoryIds?e.multiCategoryNames:t("specialization")),o(3),u(e.categoriesAutocompletePg.categoryList.length>0&&e.isCategorySectionVisible?7:-1)}}function gn(i,_){if(i&1){let t=x();a(0,"div",48),p("click",function(){d(t);let n=r(4);return m(n.openFilters(!1))}),c(),a(1,"div",49)(2,"div",50)(3,"span",37),l(4),c()(),a(5,"span",51),l(6),c(),a(7,"button",52),p("click",function(){d(t);let n=r(4);return m(n.goToSuggestions())}),l(8),c(),a(9,"div",53)(10,"span",54),l(11),c(),a(12,"label",55)(13,"input",56),p("change",function(){d(t);let n=r(4);return m(n.onRecommendationTypeChange("products"))}),c(),a(14,"span"),l(15),c()(),a(16,"label",55)(17,"input",56),p("change",function(){d(t);let n=r(4);return m(n.onRecommendationTypeChange("companies"))}),c(),a(18,"span"),l(19),c()()(),a(20,"div",57)(21,"div",58)(22,"mat-form-field",59)(23,"mat-label"),l(24),c(),a(25,"mat-icon",60),l(26,"keyboard_arrow_down"),c(),a(27,"mat-select",61),p("opened",function(){d(t);let n=r(4);return m(n.onLocationOpen())})("selectionChange",function(n){d(t);let s=r(4);return m(s.onLocationSelect(n))}),g(28,sn,3,1,"mat-option"),a(29,"mat-option",62),l(30),c(),F(31,ln,2,2,"mat-option",62,j),c()()(),a(33,"div",63),g(34,Cn,8,5,"div",64),
1c()(),a(35,"div",65)(36,"button",66),p("click",function(){d(t);let n=r(4);return m(n.resetFilters())}),l(37),c(),a(38,"button",67),p("click",function(){d(t);let n=r(4);return m(n.saveFilters(!1))}),l(39),c()()()}if(i&2){let t=r(3).$implicit,e=r();o(4),h(t("configureRecommendationsTitle")),o(2),h(t("configureRecommendationsSub")),o(2),k(" ",t("configureMyInterests")," "),o(3),h(t("showInRecommendations")),o(2),C("checked",e.recommendationType==="products"),o(2),h(t("products")),o(2),C("checked",e.recommendationType==="companies"),o(2),h(t("companies")),o(5),h(t("regionCountryFilter")),o(3),C("value",e.location),o(),u((e.countries==null?null:e.countries.length)===0?28:-1),o(),C("value",0),o(),k(" ",t("all")," "),o(),O(e.countries),o(3),u(e.categoriesAutocompletePg.categoryList.length>0?34:-1),o(3),h(t("resetFilter")),o(2),h(t("apply"))}}function un(i,_){i&1&&(a(0,"div",87),v(1,"app-loading-spinner",89),c())}function xn(i,_){if(i&1){let t=x();v(0,"mat-icon",90),a(1,"div",91)(2,"span"),l(3),c(),a(4,"span",92),p("click",function(){d(t);let n=r(7);return m(n.openFilters(!0))}),c()()}if(i&2){let t=r(6).$implicit;o(3),h(t("noResults")),o(),C("innerHTML",t("changeFilters"),N)}}function fn(i,_){if(i&1&&(v(0,"mat-icon",93),a(1,"div",91)(2,"span"),l(3),c(),a(4,"span"),l(5),c()()),i&2){let t=r(6).$implicit;o(3),h(t("noRecommendationssTitle")),o(2),h(t("tryAgainLater"))}}function vn(i,_){if(i&1&&(a(0,"div",88),g(1,xn,5,2)(2,fn,6,2),c()),i&2){let t=r(6);o(),u(t.hasRecommendationFiltersApplied?1:2)}}function yn(i,_){if(i&1){let t=x();a(0,"app-match-company",86),p("saveCompany",function(n){d(t);let s=r(5);return m(s.save(n))})("removeCompany",function(n){d(t);let s=r(5);return m(s.remove(n))})("sendMessages",function(n){d(t);let s=r(5);return m(s.sendMessage(n))}),c(),g(1,un,2,0,"div",87),g(2,vn,3,1,"div",88)}if(i&2){let t=r(5);C("companies",t.companiesResolved)("opacityForMM",t.opacityForMM&&!t.filtersOpened)("showWizardAgain",t.showWizardAgain)("wideScreen",t.wideScreen)("isHandset",t.isHandset)("eventId",t.eventId)("showSkippedCompanies",t.showSkippedCompanies)("stackMode",t.isHandset&&t.cardViewMode==="stack")("externalSaveTrigger",t.stackSaveFeedback),o(),u(t.companiesLoader.show?1:-1),o(),u(!t.isLoading&&t.companiesResolved.length===0&&!t.showSkippedCompanies?2:-1)}}function kn(i,_){i&1&&(a(0,"div",87),v(1,"app-loading-spinner",89),c())}function bn(i,_){if(i&1){let t=x();v(0,"mat-icon",90),a(1,"div",91)(2,"span"),l(3),c(),a(4,"span",92),p("click",function(){d(t);let n=r(7);return m(n.openFilters(!0))}),c()()}if(i&2){let t=r(6).$implicit;o(3),h(t("noResults")),o(),C("innerHTML",t("changeFilters"),N)}}function wn(i,_){if(i&1&&(v(0,"mat-icon",93),a(1,"div",91)(2,"span"),l(3),c(),a(4,"span"),l(5),c()()),i&2){let t=r(6).$implicit;o(3),h(t("noRecommendationssTitle")),o(2),h(t("tryAgainLater"))}}function Sn(i,_){if(i&1&&(a(0,"div",88),g(1,bn,5,2)(2,wn,6,2),c()),i&2){let t=r(6);o(),u(t.hasRecommendationFiltersApplied?1:2)}}function Mn(i,_){if(i&1){let t=x();a(0,"app-match-product",94),D(1,"async"),p("saveProduct",function(n){d(t);let s=r(5);return m(s.saveProduct(n))})("removeProduct",function(n){d(t);let s=r(5);return m(s.removeProduct(n))})("sendMessages",function(n){d(t);let s=r(5);return m(s.sendProductMessage(n))}),c(),g(2,kn,2,0,"div",87),g(3,Sn,3,1,"div",88)}if(i&2){let t=r(5);C("products",U(1,8,t.products$))("isHandset",t.isHandset)("eventId",t.eventId)("showSkippedProducts",t.showSkippedProducts)("stackMode",t.isHandset&&t.cardViewMode==="stack")("externalSaveTrigger",t.stackSaveFeedback),o(2),u(t.productsLoader.show?2:-1),o(),u(!t.productsIsLoading&&t.productsResolved.length===0&&!t.showSkippedProducts?3:-1)}}function Tn(i,_){if(i&1&&(a(0,"div",85,4),g(2,yn,3,11),g(3,Mn,4,10),c()),i&2){let t=r(4);Q("--mm-stack-height",t.stackFrameHeight,"px"),w("mm-stack-frame",t.isHandset&&t.cardViewMode==="stack"),o(2),u(t.recommendationType==="companies"?2:-1),o(),u(t.recommendationType==="products"?3:-1)}}function In(i,_){if(i&1){let t=x();a(0,"div",30)(1,"button",95),p("click",function(){d(t);let n=r(4);return m(n.getCompaniesList())}),l(2),c()()}if(i&2){let t=r(3).$implicit;o(2),h(t("loadMore"))}}function Pn(i,_){i&1&&(a(0,"div",97),v(1,"app-loading-spinner",89),c())}function Vn(i,_){if(i&1){let t=x();a(0,"button",115),p("click",function(){d(t);let n=r(7);return m(n.clearContactsSearch())}),a(1,"mat-icon"),l(2,"close"),c()()}}function En(i,_){i&1&&(a(0,"mat-icon"),l(1,"close"),c())}function Fn(i,_){i&1&&(a(0,"mat-icon"),l(1,"expand_more"),c())}function On(i,_){i&1&&(a(0,"mat-icon"),l(1,"close"),c())}function Ln(i,_){i&1&&(a(0,"mat-icon"),l(1,"expand_more"),c())}function An(i,_){i&1&&(a(0,"mat-icon"),l(1,"close"),c())}function Rn(i,_){i&1&&(a(0,"mat-icon"),l(1,"expand_more"),c())}function Nn(i,_){if(i&1){let t=x();a(0,"button",110),p("click",function(){d(t);let n=r(7);return m(n.contactsInterestsActive?n.resetContactsChipFilter("interests"):n.openContactsFilters("interests"))}),a(1,"span"),l(2),c(),g(3,An,2,0,"mat-icon")(4,Rn,2,0,"mat-icon"),c()}if(i&2){let t=r(6).$implicit,e=r();w("contacts-chip-active",e.contactsInterestsActive),o(2),h(e.interestsChipLabel||t("interests")),o(),u(e.contactsInterestsActive?3:4)}}function Hn(i,_){i&1&&(a(0,"mat-icon"),l(1,"close"),c())}function $n(i,_){i&1&&(a(0,"mat-icon"),l(1,"expand_more"),c())}function zn(i,_){if(i&1){let t=x();a(0,"div",113)(1,"span",116),v(2,"mat-icon",117),a(3,"span",118),l(4),c()(),a(5,"button",119),p("click",function(){d(t);let n=r(7);return m(n.resetContactsChipFilters())}),v(6,"mat-icon",120),a(7,"span"),l(8),c()()()}if(i&2){let t=r(6).$implicit,e=r();o(4),K("",t("selectedFiltersLabel"),": ",e.contactsChipFiltersSummary),o(4),h(t("resetAllFilters"))}}function Dn(i,_){if(i&1&&(a(0,"span",114),l(1),c()),i&2){let t=r(6).$implicit,e=r();o(),h(t("contactsCount",L(1,We,e.myContactsTotal)))}}function Un(i,_){i&1&&(a(0,"div",123),v(1,"app-loading-spinner",89),c())}function Bn(i,_){if(i&1){let t=x();a(0,"button",125),p("click",function(){d(t);let n=r(8);return m(n.selectTab(1))}),l(1),c()}if(i&2){let t=r(7).$implicit;o(),h(t("moreMatches"))}}function Wn(i,_){if(i&1){let t=x();a(0,"app-my-contacts",121),p("sendMessages",function(n){d(t);let s=r(7);return m(s.sendContactMessage(n))}),c(),a(1,"div",122),p("scrolled",function(){d(t);let n=r(7);return m(n.onContactsScroll())}),c(),g(2,Un,2,0,"div",123),g(3,Bn,2,1,"button",124),D(4,"async")}if(i&2){let t,e=r(7);C("contacts",e.myContactsList)("eventId",e.eventId)("isHandset",e.isHandset),o(),C("infiniteScrollDistance",2)("alwaysCallback",!0)("infiniteScrollDisabled",!e.myContactsHasMore||e.myContactsIsLoading)("infiniteScrollThrottle",500),o(),u(e.myContactsLoader.show?2:-1),o(),u(e.isMatchmakingEnabled&&((t=U(4,9,e.companies$))==null?null:t.length)>0?3:-1)}}function jn(i,_){if(i&1){let t=x();a(0,"div",22),v(1,"mat-icon",126),c(),a(2,"span",24),l(3),c(),a(4,"span",127),p("click",function(){d(t);let n=r(8);return m(n.resetAllContactsFilters())}),c()}if(i&2){let t=r(7).$implicit;o(3),h(t("noResults")),o(),C("innerHTML",t("changeFilters"),N)}}function qn(i,_){if(i&1){let t=x();a(0,"div",22),v(1,"mat-icon",23),c(),a(2,"span",24),l(3),c(),a(4,"span",24),l(5),c(),a(6,"span",25),p("click",function(){d(t);let n=r(8);return m(n.selectTab(1))}),l(7),c()}if(i&2){let t=r(7).$implicit;o(3),h(t("noContactsTitle")),o(2),h(t("noContactsSub")),o(2),h(t("recomendations"))}}function Gn(i,_){if(i&1&&(a(0,"div",21),g(1,jn,5,2)(2,qn,8,3),c()),i&2){let t=r(7);o(),u(t.hasContactsFiltersApplied?1:2)}}function Qn(i,_){if(i&1){let t=x();a(0,"div",98)(1,"div",99)(2,"div",100)(3,"mat-form-field",101)(4,"mat-icon",102),l(5,"search"),c(),a(6,"input",103),p("input",function(n){d(t);let s=r(6);return m(s.onContactsSearch(n))}),c(),g(7,Vn,3,0,"button",104),c()(),a(8,"button",105),p("click",function(){d(t);let n=r(6);return m(n.openContactsSort())}),v(9,"mat-icon",106),c()(),a(10,"app-contacts-sort-popup",107),p("closed",function(){d(t);let n=r(6);return m(n.closeContactsSort())})("sortChange",function(n){d(t);let s=r(6);return m(s.onContactsSortChange(n))}),c(),a(11,"div",108)(12,"div",109,5),p("scroll",function(){d(t);let n=r(6);return m(n.onContactsChipsScroll())}),a(14,"button",110),p("click",function(){d(t);let n=r(6);return m(n.contactParticipantTypeFilter.length>0?n.resetContactsChipFilter("participantType"):n.openContactsFilters("participantType"))}),a(15,"span"),l(16),c(),g(17,En,2,0,"mat-icon")(18,Fn,2,0,"mat-icon"),c(),a(19,"button",110),p("click",function(){d(t);let n=r(6);return m(n.contactTypeFilter.length>0?n.resetContactsChipFilter("contactType"):n.openContactsFilters("contactType"))}),a(20,"span"),l(21),c(),g(22,On,2,0,"mat-icon")(23,Ln,2,0,"mat-icon"),c(),g(24,Nn,5,4,"button",111),a(25,"button",110),p("click",function(){d(t);let n=r(6);return m(n.contactsRegionActive?n.resetContactsChipFilter("region"):n.openContactsFilters("region"))}),a(26,"span"),l(27),c(),g(28,Hn,2,0,"mat-icon")(29,$n,2,0,"mat-icon"),c()(),v(30,"div",112),c(),g(31,zn,9,3,"div",113),g(32,Dn,2,3,"span",114),g(33,Wn,5,11)(34,Gn,3,1,"div",21),c()}if(i&2){let t=r(5).$implicit,e=r();o(6),C("value",e.contactsSearchQuery)("placeholder",t("searchContacts")),o(),u(e.contactsSearchQuery?7:-1),o(),w("contacts-sort-btn-active",e.contactsSortOption!==e.ContactsSortOption.Newest),C("matTooltip",t("sort")),o(2),C("isOpen",e.contactsSortOpen)("isHandset",e.isHandset)("selected",e.contactsSortOption),o(4),w("contacts-chip-active",e.contactParticipantTypeFilter.length>0),o(2),h(t(e.participantTypeChipLabelKey)),o(),u(e.contactParticipantTypeFilter.length>0?17:18),o(2),w("contacts-chip-active",e.contactTypeFilter.length>0),o(2),h(t(e.contactTypeChipLabelKey)),o(),u(e.contactTypeFilter.length>0?22:23),o(2),u(e.categoriesAutocompletePg.categoryList.length>0?24:-1),o(),w("contacts-chip-active",e.contactsRegionActive),o(2),h(e.regionChipLabel||t("location")),o(),u(e.contactsRegionActive?28:29),o(2),w("contacts-chips-fade-visible",e.contactsChipsHasMoreToScroll),o(),u(e.hasContactsChipFiltersApplied?31:-1),o(),u(e.myContactsTotal>0?32:-1),o(),u((e.myContactsList==null?null:e.myContactsList.length)>0?33:34)}}function Kn(i,_){if(i&1&&g(0,Pn,2,0,"div",97)(1,Qn,35,27,"div",98),i&2){let t=r(5);u(t.myContactsLoader.show&&t.myContactsList.length===0?0:1)}}function Yn(i,_){i&1&&G(0)}function Jn(i,_){if(i&1&&(a(0,"div",96)(1,"span",128),l(2),c(),E(3,Yn,1,0,"ng-container",129),c()),i&2){let t=r(4).$implicit,e=I(7);o(2),h(t("contactsMainLabel")),o(),C("ngTemplateOutlet",e)}}function Xn(i,_){if(i&1&&g(0,Kn,2,1)(1,Jn,4,2,"div",96),i&2){let t=r(4);u(t.isHandset?0:1)}}function Zn(i,_){if(i&1&&(a(0,"div",26),g(1,Qe,2,0,"div",27),g(2,Xe,1,1),g(3,en,5,3,"div",28),g(4,rn,2,2),g(5,gn,40,16),c(),g(6,Tn,4,6,"div",29),g(7,In,3,1,"div",30),g(8,Xn,2,1)),i&2){let t=r(3);
1C("ngClass",L(9,Be,!t.wideScreen)),o(),u(t.showLastConnectionStep?1:-1),o(),u(t.isMatchmakingEnabled?2:-1),o(),u(!t.isHandset&&t.selectedTab===1&&!t.sendToCompany&&t.isMatchmakingEnabled&&(!t.companiesLoader.show||!t.productsLoader.show)?3:-1),o(),u(t.isHandset?4:-1),o(),u(!t.isHandset&&t.filtersOpened&&t.selectedTab===1?5:-1),o(),u(t.isMatchmakingEnabled&&t.selectedTab===1&&!t.sendToCompany?6:-1),o(),u(t.companiesCount===0&&t.hasMore&&t.selectedTab===1?7:-1),o(),u(t.selectedTab===2&&!t.sendToCompany?8:-1)}}function ti(i,_){if(i&1&&(a(0,"div",12),g(1,Ge,9,3,"div",21)(2,Zn,9,11),c()),i&2){let t=r(2);o(),u(t.showEmptyMatchmakingState?1:2)}}function ei(i,_){if(i&1){let t=x();a(0,"div",21)(1,"div",22),v(2,"mat-icon",23),c(),a(3,"span",24),l(4),c(),a(5,"span",24),l(6),c(),a(7,"span",25),p("click",function(){d(t);let n=r(3);return m(n.goToPeople())}),l(8),c()()}if(i&2){let t=r(2).$implicit;o(4),h(t("noContactsTitle")),o(2),h(t("noContactsSub")),o(2),h(t("catalogLink"))}}function ni(i,_){i&1&&G(0)}function ii(i,_){if(i&1&&E(0,ni,1,0,"ng-container",129),i&2){r(2);let t=I(7);C("ngTemplateOutlet",t)}}function oi(i,_){if(i&1&&(a(0,"div",13)(1,"span",128),l(2),c(),g(3,ei,9,3,"div",21)(4,ii,1,1,"ng-container"),c()),i&2){let t=r().$implicit,e=r();o(2),h(t(e.showEmptyMatchmakingState?"selected":"contactsMainLabel")),o(),u(e.showEmptyMatchmakingState?3:4)}}function ai(i,_){if(i&1&&(a(0,"span",137),l(1),c()),i&2){let t=r();o(),h(t.subtitle)}}function ci(i,_){if(i&1&&(a(0,"span",142),l(1),c()),i&2){let t=_.$implicit;C("matTooltip",t),o(),h(t)}}function ri(i,_){if(i&1&&(v(0,"div",140),a(1,"div",141),F(2,ci,2,2,"span",142,_t),c()),i&2){let t=r();o(2),O(t.tags.slice(0,3))}}function si(i,_){if(i&1){let t=x();a(0,"span",131),l(1),c(),a(2,"div",132)(3,"div",133),p("click",function(){d(t);let n=r(4);return m(n.openWidgetRecommendation())}),v(4,"img",134),a(5,"div",135)(6,"span",136),l(7),c(),g(8,ai,2,1,"span",137),c()(),g(9,ri,4,0),a(10,"span",138),p("click",function(){d(t);let n=r(4);return m(n.openWidgetRecommendation())}),l(11),a(12,"mat-icon"),l(13,"chevron_right"),c()()(),a(14,"button",139),p("click",function(){d(t);let n=r(4);return m(n.selectTab(1))}),l(15),c()}if(i&2){let t=_,e=r(3).$implicit;o(),h(e("recommendationsForYou")),o(3),C("src",t.image||"../../../../assets/images/company_default.png",ct),o(2),C("matTooltip",t.name),o(),h(t.name),o(),u(t.subtitle?8:-1),o(),u((t.tags==null?null:t.tags.length)>0?9:-1),o(2),k(" ",e("viewProfile")," "),o(4),h(e("seeMore"))}}function li(i,_){if(i&1&&(a(0,"span",131),l(1),c(),a(2,"div",143)(3,"span",144),l(4),c()()),i&2){let t=r(3).$implicit;o(),h(t("recommendations")),o(3),h(t("noRecommendationsRightNow"))}}function _i(i,_){if(i&1&&g(0,si,16,8)(1,li,5,2),i&2){let t,e=r(3);u((t=e.widgetRecommendation)?0:1,t)}}function di(i,_){if(i&1&&(a(0,"span",147),l(1),c()),i&2){let t=r(4);o(),h(t.myContactsNewCount)}}function mi(i,_){if(i&1){let t=x();a(0,"app-my-contacts",121),p("sendMessages",function(n){d(t);let s=r(4);return m(s.sendContactMessage(n))}),c(),a(1,"button",139),p("click",function(){d(t);let n=r(4);return m(n.selectTab(2))}),l(2),c()}if(i&2){let t=r(3).$implicit,e=r();C("contacts",L(5,J,e.recentContact))("eventId",e.eventId)("isHandset",!0),o(2),K("",t("seeMore")," (",e.recentContactsTotal,")")}}function pi(i,_){if(i&1){let t=x();a(0,"div",143),v(1,"mat-icon",93),a(2,"span",144),l(3),c(),a(4,"span",144),l(5),c(),a(6,"span",148),p("click",function(){d(t);let n=r(4);return m(n.selectTab(1))}),l(7),c()()}if(i&2){let t=r(3).$implicit;o(3),h(t("noContactsTitle")),o(2),h(t("noContactsSub")),o(2),h(t("recomendations"))}}function hi(i,_){if(i&1&&(a(0,"div",145)(1,"span",146),l(2),c(),g(3,di,2,1,"span",147),c(),g(4,mi,3,7)(5,pi,8,3,"div",143)),i&2){let t=r(2).$implicit,e=r();o(2),h(t("lastAdded")),o(),u(e.myContactsNewCount>0?3:-1),o(),u(e.recentContact?4:5)}}function Ci(i,_){if(i&1&&(a(0,"div",14)(1,"div",130),g(2,_i,2,1)(3,hi,6,3),c()()),i&2){let t=r(2);o(2),u(t.selectedTab===2?2:3)}}function gi(i,_){if(i&1){let t=x();a(0,"button",115),p("click",function(){d(t);let n=r(3);return m(n.clearContactsSearch())}),a(1,"mat-icon"),l(2,"close"),c()()}}function ui(i,_){if(i&1){let t=x();a(0,"button",160),p("click",function(n){d(t);let s=r(3);return n.stopPropagation(),m(s.resetContactsChipFilter("contactType"))}),a(1,"mat-icon"),l(2,"close"),c()()}}function xi(i,_){i&1&&(a(0,"mat-icon",60),l(1,"keyboard_arrow_down"),c())}function fi(i,_){if(i&1){let t=x();a(0,"button",161),p("click",function(n){d(t);let s=r(3);return n.stopPropagation(),m(s.resetContactsChipFilter("interests"))}),a(1,"mat-icon"),l(2,"close"),c()()}}function vi(i,_){i&1&&(a(0,"mat-icon"),l(1,"keyboard_arrow_down"),c())}function yi(i,_){if(i&1){let t=x();a(0,"mat-tree-node",76),p("click",function(n){return n.stopPropagation()}),a(1,"div",77)(2,"mat-checkbox",78),p("change",function(){let n=d(t).$implicit,s=r(4);return s.toggleContactsInterestNode(n),m(s.applyContactsFilters())})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit,f=r(4);return f.toggleContactsInterestNode(s),f.applyContactsFilters(),m(n.stopPropagation())}),l(4),c()()()}if(i&2){let t=_.$implicit,e=r(4);o(2),C("checked",e.isContactsInterestChildChecked(t)),o(2),h(t.categoryName)}}function ki(i,_){i&1&&v(0,"mat-icon",83)}function bi(i,_){i&1&&v(0,"mat-icon",84)}function wi(i,_){if(i&1){let t=x();a(0,"mat-tree-node",80)(1,"div",77)(2,"mat-checkbox",162),p("change",function(n){let s=d(t).$implicit,f=r(4);return m(f.toggleContactsInterestParent(s,n.checked))})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit,f=r(4);return f.toggleContactsInterestParent(s,!f.isCategoryAllSelected(s)),m(n.stopPropagation())}),l(4),c(),a(5,"button",82),g(6,ki,1,0,"mat-icon",83),g(7,bi,1,0,"mat-icon",84),c()()()}if(i&2){let t=_.$implicit;r();let e=I(3),n=r(3);C("cdkTreeNodeTypeaheadLabel",t.categoryName),o(2),C("checked",n.isCategoryAllSelected(t))("indeterminate",n.isCategoryPartiallySelected(t)&&!n.isCategoryAllSelected(t)),o(2),h(t.categoryName),o(2),u(e.isExpanded(t)?6:-1),o(),u(e.isExpanded(t)?-1:7)}}function Si(i,_){if(i&1&&(a(0,"div",157,7)(2,"mat-tree",73,8),E(4,yi,5,2,"mat-tree-node",74)(5,wi,8,6,"mat-tree-node",75),c()()),i&2){let t=r(3);o(2),C("dataSource",t.categoriesAutocompletePg.categoryList)("childrenAccessor",t.categoryChildrenAccessor),o(3),C("matTreeNodeDefWhen",t.categoryHasChild)}}function Mi(i,_){if(i&1&&(a(0,"mat-option",62),l(1),c()),i&2){let t=_.$implicit;C("value",t.countryID),o(),h(t.name)}}function Ti(i,_){if(i&1){let t=x();a(0,"button",160),p("click",function(n){d(t);let s=r(3);return n.stopPropagation(),m(s.resetContactsChipFilter("region"))}),a(1,"mat-icon"),l(2,"close"),c()()}}function Ii(i,_){i&1&&(a(0,"mat-icon",60),l(1,"keyboard_arrow_down"),c())}function Pi(i,_){if(i&1){let t=x();a(0,"button",160),p("click",function(n){d(t);let s=r(3);return n.stopPropagation(),m(s.resetContactsChipFilter("participantType"))}),a(1,"mat-icon"),l(2,"close"),c()()}}function Vi(i,_){i&1&&(a(0,"mat-icon",60),l(1,"keyboard_arrow_down"),c())}function Ei(i,_){if(i&1){let t=x();a(0,"button",119),p("click",function(){d(t);let n=r(3);return m(n.resetContactsChipFilters())}),v(1,"mat-icon",120),a(2,"span"),l(3),c()()}if(i&2){let t=r(2).$implicit;o(3),h(t("resetAllFilters"))}}function Fi(i,_){i&1&&(a(0,"div",97),v(1,"app-loading-spinner",89),c())}function Oi(i,_){i&1&&(a(0,"div",123),v(1,"app-loading-spinner",89),c())}function Li(i,_){if(i&1){let t=x();a(0,"app-my-contacts",121),p("sendMessages",function(n){d(t);let s=r(3);return m(s.sendContactMessage(n))}),c(),a(1,"div",122),p("scrolled",function(){d(t);let n=r(3);return m(n.onContactsScroll())}),c(),g(2,Oi,2,0,"div",123)}if(i&2){let t=r(3);C("contacts",t.myContactsList)("eventId",t.eventId)("isHandset",t.isHandset),o(),C("infiniteScrollDistance",2)("alwaysCallback",!0)("infiniteScrollDisabled",!t.myContactsHasMore||t.myContactsIsLoading)("infiniteScrollThrottle",500),o(),u(t.myContactsLoader.show?2:-1)}}function Ai(i,_){if(i&1){let t=x();a(0,"div",22),v(1,"mat-icon",126),c(),a(2,"span",24),l(3),c(),a(4,"span",127),p("click",function(){d(t);let n=r(4);return m(n.resetAllContactsFilters())}),c()}if(i&2){let t=r(3).$implicit;o(3),h(t("noResults")),o(),C("innerHTML",t("changeFilters"),N)}}function Ri(i,_){if(i&1){let t=x();a(0,"div",22),v(1,"mat-icon",23),c(),a(2,"span",24),l(3),c(),a(4,"span",24),l(5),c(),a(6,"span",25),p("click",function(){d(t);let n=r(4);return m(n.selectTab(1))}),l(7),c()}if(i&2){let t=r(3).$implicit;o(3),h(t("noContactsTitle")),o(2),h(t("noContactsSub")),o(2),h(t("recomendations"))}}function Ni(i,_){if(i&1&&(a(0,"div",21),g(1,Ai,5,2)(2,Ri,8,3),c()),i&2){let t=r(3);o(),u(t.hasContactsFiltersApplied?1:2)}}function Hi(i,_){if(i&1){let t=x();a(0,"div",99)(1,"div",100)(2,"mat-form-field",101)(3,"mat-icon",102),l(4,"search"),c(),a(5,"input",103),p("input",function(n){d(t);let s=r(2);return m(s.onContactsSearch(n))}),c(),g(6,gi,3,0,"button",104),c()(),a(7,"button",105),p("click",function(){d(t);let n=r(2);return m(n.openContactsSort())}),v(8,"mat-icon",106),c()(),a(9,"app-contacts-sort-popup",107),p("closed",function(){d(t);let n=r(2);return m(n.closeContactsSort())})("sortChange",function(n){d(t);let s=r(2);return m(s.onContactsSortChange(n))}),c(),a(10,"div",149)(11,"mat-form-field",150)(12,"span",151),l(13),c(),a(14,"mat-select",152),p("selectionChange",function(n){d(t);let s=r(2);return m(s.onContactTypeCheckboxChange(n))}),a(15,"mat-option",62),l(16),c(),a(17,"mat-option",62),l(18),c(),a(19,"mat-option",62),l(20),c(),a(21,"mat-option",62),l(22),c()(),g(23,ui,3,0,"button",153)(24,xi,2,0,"mat-icon",60),c(),a(25,"div",154)(26,"div",155,6),p("click",function(){d(t);let n=r(2);return m(n.toggleContactsInterestTree())}),a(28,"span",151),l(29),c(),g(30,fi,3,0,"button",156)(31,vi,2,0,"mat-icon"),c(),g(32,Si,6,3,"div",157),c(),a(33,"mat-form-field",150)(34,"span",151),l(35),c(),a(36,"mat-select",158),p("opened",function(){d(t);let n=r(2);return m(n.onLocationOpen())})("selectionChange",function(n){d(t);let s=r(2);return m(s.onContactsLocationSelect(n))}),a(37,"mat-option",62),l(38),c(),F(39,Mi,2,2,"mat-option",62,j),c(),g(41,Ti,3,0,"button",153)(42,Ii,2,0,"mat-icon",60),c(),a(43,"mat-form-field",150)(44,"span",151),l(45),c(),a(4
16,"mat-select",152),p("selectionChange",function(n){d(t);let s=r(2);return m(s.onParticipantTypeCheckboxChange(n))}),a(47,"mat-option",62),l(48),c(),a(49,"mat-option",62),l(50),c(),a(51,"mat-option",62),l(52),c(),a(53,"mat-option",62),l(54),c()(),g(55,Pi,3,0,"button",153)(56,Vi,2,0,"mat-icon",60),c()(),g(57,Ei,4,1,"button",159),g(58,Fi,2,0,"div",97)(59,Li,3,8)(60,Ni,3,1,"div",21)}if(i&2){let t=r().$implicit,e=r();o(5),C("value",e.contactsSearchQuery)("placeholder",t("searchContacts")),o(),u(e.contactsSearchQuery?6:-1),o(),w("contacts-sort-btn-active",e.contactsSortOption!==e.ContactsSortOption.Newest),C("matTooltip",t("sort")),o(2),C("isOpen",e.contactsSortOpen)("isHandset",e.isHandset)("selected",e.contactsSortOption),o(2),w("contacts-filter-chip-active",e.contactTypeFilter.length>0),o(),C("matTooltip",e.contactTypeFilter.length>0?t(e.contactTypeChipLabelKey):""),o(),h(t(e.contactTypeChipLabelKey)),o(),C("value",e.contactTypeFilter.length?e.contactTypeFilter:L(53,J,e.ContactType.All)),o(),C("value",e.ContactType.All),o(),h(t("selectAll")),o(),C("value",e.ContactType.User),o(),h(t("contactTypePeople")),o(),C("value",e.ContactType.Company),o(),h(t("contactTypeCompanies")),o(),C("value",e.ContactType.Product),o(),h(t("contactTypeProducts")),o(),u(e.contactTypeFilter.length>0?23:24),o(3),w("contacts-filter-chip-active",e.contactsInterestsActive),o(2),C("matTooltip",e.interestsChipLabel??""),o(),h(e.interestsChipLabel||t("interests")),o(),u(e.contactsInterestsActive?30:31),o(2),u(e.isContactsInterestTreeVisible?32:-1),o(),w("contacts-filter-chip-active",e.contactsRegionActive),o(),C("matTooltip",e.regionChipLabel??""),o(),h(e.regionChipLabel||t("location")),o(),C("value",e.contactsLocationFilter),o(),C("value",0),o(),h(t("all")),o(),O(e.countries),o(2),u(e.contactsRegionActive?41:42),o(2),w("contacts-filter-chip-active",e.contactParticipantTypeFilter.length>0),o(),C("matTooltip",e.contactParticipantTypeFilter.length>0?t(e.participantTypeChipLabelKey):""),o(),h(t(e.participantTypeChipLabelKey)),o(),C("value",e.contactParticipantTypeFilter.length?e.contactParticipantTypeFilter:L(55,J,e.ContactParticipantType.All)),o(),C("value",e.ContactParticipantType.All),o(),h(t("selectAll")),o(),C("value",e.ContactParticipantType.Exhibitor),o(),h(t("exhibitor")),o(),C("value",e.ContactParticipantType.Visitor),o(),h(t("visitor")),o(),C("value",e.ContactParticipantType.Organizer),o(),h(t("organizer")),o(),u(e.contactParticipantTypeFilter.length>0?55:56),o(2),u(e.hasContactsChipFiltersApplied?57:-1),o(),u(e.myContactsLoader.show&&e.myContactsList.length===0?58:(e.myContactsList==null?null:e.myContactsList.length)>0?59:60)}}function $i(i,_){if(i&1){let t=x();a(0,"div",169),p("click",function(){d(t);let n=r(3);return m(n.closeContactsFilters())}),c()}}function zi(i,_){if(i&1){let t=x();a(0,"span",37),l(1),c(),a(2,"div",170)(3,"div",171)(4,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactParticipantTypeFilter(n.ContactParticipantType.All))}),l(5),c()(),a(6,"div",171)(7,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactParticipantTypeFilter(n.ContactParticipantType.Exhibitor))}),l(8),c()(),a(9,"div",171)(10,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactParticipantTypeFilter(n.ContactParticipantType.Visitor))}),l(11),c()(),a(12,"div",171)(13,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactParticipantTypeFilter(n.ContactParticipantType.Organizer))}),l(14),c()()()}if(i&2){let t=r(2).$implicit,e=r();o(),h(t("participantType")),o(3),C("checked",e.contactParticipantTypeFilter.length===0),o(),k(" ",t("selectAll")," "),o(2),C("checked",e.contactParticipantTypeFilter.includes(e.ContactParticipantType.Exhibitor)),o(),k(" ",t("exhibitor")," "),o(2),C("checked",e.contactParticipantTypeFilter.includes(e.ContactParticipantType.Visitor)),o(),k(" ",t("visitor")," "),o(2),C("checked",e.contactParticipantTypeFilter.includes(e.ContactParticipantType.Organizer)),o(),k(" ",t("organizer")," ")}}function Di(i,_){if(i&1){let t=x();a(0,"span",37),l(1),c(),a(2,"div",170)(3,"div",171)(4,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactTypeFilter(n.ContactType.All))}),l(5),c()(),a(6,"div",171)(7,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactTypeFilter(n.ContactType.User))}),l(8),c()(),a(9,"div",171)(10,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactTypeFilter(n.ContactType.Company))}),l(11),c()(),a(12,"div",171)(13,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactTypeFilter(n.ContactType.Product))}),l(14),c()()()}if(i&2){let t=r(2).$implicit,e=r();o(),h(t("contactType")),o(3),C("checked",e.contactTypeFilter.length===0),o(),k(" ",t("selectAll")," "),o(2),C("checked",e.contactTypeFilter.includes(e.ContactType.User)),o(),k(" ",t("contactTypePeople")," "),o(2),C("checked",e.contactTypeFilter.includes(e.ContactType.Company)),o(),k(" ",t("contactTypeCompanies")," "),o(2),C("checked",e.contactTypeFilter.includes(e.ContactType.Product)),o(),k(" ",t("contactTypeProducts")," ")}}function Ui(i,_){if(i&1){let t=x();a(0,"div",171)(1,"mat-checkbox",172),p("change",function(){let n=d(t).$implicit,s=r(4);return m(s.setContactsLocationFilter(n.countryID))}),l(2),c()()}if(i&2){let t=_.$implicit,e=r(4);o(),C("checked",e.contactsLocationFilter===t.countryID),o(),k(" ",t.name," ")}}function Bi(i,_){if(i&1){let t=x();a(0,"span",37),l(1),c(),a(2,"div",170)(3,"div",171)(4,"mat-checkbox",172),p("change",function(){d(t);let n=r(3);return m(n.setContactsLocationFilter(null))}),l(5),c()(),F(6,Ui,3,2,"div",171,j),c()}if(i&2){let t=r(2).$implicit,e=r();o(),h(t("location")),o(3),C("checked",!e.contactsLocationFilter),o(),k(" ",t("all")," "),o(),O(e.countries)}}function Wi(i,_){if(i&1){let t=x();a(0,"div",177),p("click",function(){let n=d(t).$implicit,s=r(4);return m(s.selectContactsInterestCategory(n))}),a(1,"span"),l(2),c()()}if(i&2){let t=_.$implicit,e=r(4);w("contacts-interest-category-active",(e.contactsInterestCategorySelected==null?null:e.contactsInterestCategorySelected.vendorCategoryID)===t.vendorCategoryID)("contacts-interest-category-selected",e.isCategoryPartiallySelected(t)),o(2),h(t.categoryName)}}function ji(i,_){if(i&1){let t=x();a(0,"div",171)(1,"mat-checkbox",172),p("change",function(){let n=d(t).$implicit,s=r(6);return m(s.toggleContactsInterest(n.vendorCategoryID))}),l(2),c()()}if(i&2){let t=_.$implicit,e=r(6);o(),C("checked",e.contactsSelectedInterests.includes(t.vendorCategoryID)||e.contactsSelectedInterests.includes(e.contactsInterestCategorySelected.vendorCategoryID)),o(),k(" ",t.categoryName," ")}}function qi(i,_){if(i&1){let t=x();a(0,"div",178)(1,"mat-checkbox",179),p("change",function(n){d(t);let s=r(5);return m(s.toggleAllCategoryChildren(s.contactsInterestCategorySelected,n.checked))}),l(2),c()(),F(3,ji,3,2,"div",171,ke)}if(i&2){let t=r(4).$implicit,e=r();o(),C("checked",e.isCategoryAllSelected(e.contactsInterestCategorySelected))("indeterminate",e.isCategoryPartiallySelected(e.contactsInterestCategorySelected)&&!e.isCategoryAllSelected(e.contactsInterestCategorySelected)),o(),k(" ",t("selectAll")," "),o(),O(e.contactsInterestCategorySelected.children)}}function Gi(i,_){if(i&1){let t=x();a(0,"div",171)(1,"mat-checkbox",172),p("change",function(){d(t);let n=r(5);return m(n.toggleContactsInterest(n.contactsInterestCategorySelected.vendorCategoryID))}),l(2),c()()}if(i&2){let t=r(5);o(),C("checked",t.contactsSelectedInterests.includes(t.contactsInterestCategorySelected.vendorCategoryID)),o(),k(" ",t.contactsInterestCategorySelected.categoryName," ")}}function Qi(i,_){if(i&1&&g(0,qi,5,3)(1,Gi,3,2,"div",171),i&2){let t=r(4);u(t.contactsInterestCategorySelected.children!=null&&t.contactsInterestCategorySelected.children.length?0:1)}}function Ki(i,_){if(i&1&&(a(0,"span",37),l(1),c(),a(2,"div",173)(3,"div",174),F(4,Wi,3,5,"div",175,ke),c(),a(6,"div",176),g(7,Qi,2,1),c()()),i&2){let t=r(2).$implicit,e=r();o(),h(t("interests")),o(3),O(e.categoriesAutocompletePg.categoryList),o(3),u(e.contactsInterestCategorySelected?7:-1)}}function Yi(i,_){if(i&1){let t=x();g(0,$i,1,0,"div",163),a(1,"div",164),p("touchstart",function(n){d(t);let s=r(2);return m(s.onFiltersSwipeStart(n))})("touchend",function(n){d(t);let s=r(2);return m(s.onContactsFiltersSwipeEnd(n))}),a(2,"div",165)(3,"div",166),p("click",function(){d(t);let n=r(2);return m(n.closeContactsFilters())}),v(4,"hr"),c(),g(5,zi,15,9),g(6,Di,15,9),g(7,Bi,8,3),g(8,Ki,8,2),a(9,"div",167)(10,"button",168),p("click",function(){d(t);let n=r(2);return m(n.saveContactsFilters())}),l(11),c(),a(12,"button",66),p("click",function(){d(t);let n=r(2);return m(n.resetContactsFilters())}),l(13),c()()()()}if(i&2){let t=r().$implicit,e=r();u(e.contactsFiltersOpened?0:-1),o(),C("ngClass",L(8,ye,e.contactsFiltersOpened)),o(4),u(e.contactsActiveFilter==="participantType"?5:-1),o(),u(e.contactsActiveFilter==="contactType"?6:-1),o(),u(e.contactsActiveFilter==="region"?7:-1),o(),u(e.contactsActiveFilter==="interests"?8:-1),o(3),h(t("save")),o(2),h(t("resetFilter"))}}function Ji(i,_){if(i&1){let t=x();a(0,"div",169),p("click",function(){d(t);let n=r(3);return m(n.openFilters(!1))}),c()}}function Xi(i,_){i&1&&(a(0,"mat-option")(1,"div",68),v(2,"app-loading-spinner",69),c()()),i&2&&(o(2),C("loaderSize",20))}function Zi(i,_){if(i&1&&(a(0,"mat-option",62),l(1),c()),i&2){let t=_.$implicit;C("value",t.countryID),o(),h(t.name)}}function to(i,_){if(i&1){let t=x();a(0,"mat-tree-node",76),p("click",function(n){return n.stopPropagation()}),a(1,"div",77)(2,"mat-checkbox",78),p("change",function(n){let s=d(t).$implicit,f=r(6);return m(f.onCategoryNoChildCheckboxChange(n,s))})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit;return r(6).triggerNoChildCheckboxClick(s),m(n.stopPropagation())}),l(4),c()()()}if(i&2){let t=_.$implicit;o(2),C("checked",t.isChecked),o(2),h(t.categoryName)}}function eo(i,_){i&1&&v(0,"mat-icon",83)}function no(i,_){i&1&&v(0,"mat-icon",84)}function io(i,_){if(i&1){let t=x();a(0,"mat-tree-node",80)(1,"div",77)(2,"mat-checkbox",81),p("change",function(n){let s=d(t).$implicit;r();let f=I(3),y=r(5);return m(y.onCategoryWithChildrenCheckboxChange(n,s,f))})("click",function(n){return n.stopPropagation()}),c(),a(3,"span",79),p("click",function(n){let s=d(t).$implicit;r();let f=I(3);return r(5).triggerWithChildrenCheckboxClick(s,f),m(n.stopPropagation())}),l(4),c(),a(5,"button",82),g(6,eo,1,0,"mat-icon",83),g(7,no,1,0,"mat-icon",84),c()()()}if(i&2){let t=_.$implicit;r();let e=I(3);C("cdkTreeNodeTypeaheadLabel",t.categoryName),o(2),C("checked",t.isChecked),o(2),h(t.categoryName),o(2),u(e.isExpanded(t)?6:-1),o(),u(e.isExpanded(t)?-1:7)}}function oo(i,_){if(i&1&&(a(0,"div",72,2)(2,"mat-tree",73,3),E(4,to,5,2,"mat-tree-node",74)(5,io,8,5,"mat-tree-node",75),c()()),i&2){let t=r(5);o(2),C("dataSource",t.categoriesAutocompletePg.categoryList)("childrenAccessor",t.categoryChildrenAccessor),o(3),C("matTreeNodeDefWhen",t.categoryHasChild)}}function ao(i,_){if(i&1){let t=x();a(0,"div",64)(1,"div",70,1),p("click",function(){d(t);let n=r(4);return m(n.showCategorySection())}),a(3,"span"),l(4),c(),a(5,"mat-icon"),l(6,"keyboard_arrow_down"),c()(),g(7,oo,6,3,"div",72),c()}if(i&2){let t=r(3).$implicit,e=r();o(),w("black-color",e.multiCategoryIds),o(3),h(e.multiCategoryIds?e.multiCategoryNames:t("specialization")),o(3),u(e.categoriesAutocompletePg.categoryList.length>0&&e.isCategorySectionVisible?7:-1)}}function co(i,_){if(i&1){let t=x();a(0,"span",180),l(1),c(),a(2,"span",51),l(3),c(),a(4,"button",52),p("click",function(){d(t);let n=r(3);return m(n.goToSuggestions())}),l(5),c(),a(6,"div",53)(7,"span",54),l(8),c(),a(9,"div",181)(10,"button",182),p("click",function(){d(t);let n=r(3);return m(n.cardViewMode="stack")}),a(11,"span",183),l(12),c(),a(13,"span",184),l(14),c()(),a(15,"button",182),p("click",function(){d(t);let n=r(3);return m(n.cardViewMode="list")}),a(16,"span",183),l(17),c(),a(18,"span",184),l(19),c()()()(),a(20,"div",53)(21,"span",54),l(22),c(),a(23,"label",55)(24,"input",56),p("change",function(){d(t);let n=r(3);return m(n.onRecommendationTypeChange("products"))}),c(),a(25,"span"),l(26),c()(),a(27,"label",55)(28,"input",56),p("change",function(){d(t);let n=r(3);return m(n.onRecommendationTypeChange("companies"))}),c(),a(29,"span"),l(30),c()()(),a(31,"div",57)(32,"div",58)(33,"mat-form-field",59)(34,"mat-label"),l(35),c(),a(36,"mat-icon",60),l(37,"keyboard_arrow_down"),c(),a(38,"mat-select",61),p("opened",function(){d(t);let n=r(3);return m(n.onLocationOpen())})("selectionChange",function(n){d(t);let s=r(3);return m(s.onLocationSelect(n))}),g(39,Xi,3,1,"mat-option"),a(40,"mat-option",62),l(41),c(),F(42,Zi,2,2,"mat-option",62,j),c()()(),a(44,"div",63),g(45,ao,8,4,"div",64),
1c()()}if(i&2){let t=r(2).$implicit,e=r();o(),h(t("configureRecommendationsTitle")),o(2),h(t("configureRecommendationsSub")),o(2),k(" ",t("configureMyInterests")," "),o(3),h(t("displayFormat")),o(2),w("filter-card-active",e.cardViewMode==="stack"),o(2),h(t("swipeMode")),o(2),h(t("swipeModeSubtitle")),o(),w("filter-card-active",e.cardViewMode==="list"),o(2),h(t("listMode")),o(2),h(t("listModeSubtitle")),o(3),h(t("showInRecommendations")),o(2),C("checked",e.recommendationType==="products"),o(2),h(t("products")),o(2),C("checked",e.recommendationType==="companies"),o(2),h(t("companies")),o(5),h(t("location")),o(3),C("value",e.location),o(),u((e.countries==null?null:e.countries.length)===0?39:-1),o(),C("value",0),o(),k(" ",t("all")," "),o(),O(e.countries),o(3),u(e.categoriesAutocompletePg.categoryList.length>0?45:-1)}}function ro(i,_){if(i&1){let t=x();g(0,Ji,1,0,"div",163),a(1,"div",164),p("touchstart",function(n){d(t);let s=r(2);return m(s.onFiltersSwipeStart(n))})("touchend",function(n){d(t);let s=r(2);return m(s.onRecommendationFiltersSwipeEnd(n))}),a(2,"div",165)(3,"div",166),p("click",function(){d(t);let n=r(2);return m(n.openFilters(!1))}),v(4,"hr"),c(),g(5,co,46,23),a(6,"div",167)(7,"button",168),p("click",function(){d(t);let n=r(2);return m(n.saveFilters(!1))}),l(8),c(),a(9,"button",66),p("click",function(){d(t);let n=r(2);return m(n.resetFilters())}),l(10),c()()()()}if(i&2){let t=r().$implicit,e=r();u(e.filtersOpened?0:-1),o(),C("ngClass",L(5,ye,e.filtersOpened)),o(4),u(e.selectedTab===1?5:-1),o(3),h(t("save")),o(2),h(t("resetFilter"))}}function so(i,_){if(i&1&&(dt(0),g(1,qe,8,5,"div",10),a(2,"div",11),g(3,ti,3,1,"div",12),g(4,oi,5,2,"div",13),g(5,Ci,4,1,"div",14),E(6,Hi,61,57,"ng-template",null,0,Ct),g(8,Yi,14,10),g(9,ro,11,7),c(),mt()),i&2){let t=r();o(),u(t.messageOverlayVisitor&&t.isHandset?1:-1),o(2),u(t.isHandset||t.isMatchmakingEnabled?3:-1),o(),u(!t.isHandset&&!t.isMatchmakingEnabled?4:-1),o(),u(t.showSideWidget?5:-1),o(3),u(t.isHandset&&t.selectedTab===2?8:-1),o(),u(t.isHandset&&t.selectedTab===1&&(t.recommendationType==="companies"?!t.showSkippedCompanies:!t.showSkippedProducts)?9:-1)}}var ra=(()=>{class i{set contactsChipsRowRef(t){this.contactsChipsResizeObserver?.disconnect(),this.contactsChipsMutationObserver?.disconnect(),this.contactsChipsRowEl=t?.nativeElement,t?(this.contactsChipsResizeObserver=new ResizeObserver(()=>this.updateContactsChipsFade()),this.contactsChipsResizeObserver.observe(t.nativeElement),this.contactsChipsMutationObserver=new MutationObserver(()=>this.updateContactsChipsFade()),this.contactsChipsMutationObserver.observe(t.nativeElement,{childList:!0}),this.updateContactsChipsFade()):this.contactsChipsHasMoreToScroll=!1}onContactsChipsScroll(){this.updateContactsChipsFade()}updateContactsChipsFade(){let t=this.contactsChipsRowEl;if(!t){this.contactsChipsHasMoreToScroll=!1;return}this.contactsChipsHasMoreToScroll=t.scrollWidth-t.clientWidth-t.scrollLeft>4}onWindowResizeContactsChips(){this.updateContactsChipsFade()}ngAfterViewChecked(){this.scheduleStackFrameUpdate()}scheduleStackFrameUpdate(){let t=this.isHandset&&this.cardViewMode==="stack"&&this.selectedTab===1&&!this.sendToCompany;if(t!==this.stackScrollLocked&&(this.stackScrollLocked=t,this.document.body.classList.toggle("mm-stack-scroll-lock",t),t&&typeof window<"u"&&window.scrollTo(0,0)),this.stackFrameRaf===null){if(!t){if(this.stackFrameHeight===null)return;this.stackFrameRaf=requestAnimationFrame(()=>{this.stackFrameRaf=null,this.stackFrameHeight=null});return}this.stackFrameRaf=requestAnimationFrame(()=>{this.stackFrameRaf=null,this.updateStackFrameHeight()})}}updateStackFrameHeight(){let t=this.matchCardsWrapEl;if(!t)return;let e=t.getBoundingClientRect().top,n=this.document.querySelector("nav.fixed-bottom"),s=n?n.getBoundingClientRect().top:window.innerHeight-90,f=Math.max(320,Math.round(s-e));this.stackFrameHeight!==f&&(this.stackFrameHeight=f)}set matchCardsWrapRef(t){this.matchCardsWrapEl=t?.nativeElement}get currentTabName(){return this.selectedTab===2?"my_contacts":"connections_page_visitors"}constructor(t,e,n,s,f,y,S,V,be,we,Se,Me,Te,Ie,Pe,Ve,Ee,Fe){this.router=t,this.route=e,this.translocoService=n,this.eventSrv=s,this.dialog=f,this.matchingSrv=y,this.notificationSrv=S,this.localeSrv=V,this.metricsSrv=be,this.renderer=we,this.companyProfileSrv=Se,this.userSrv=Me,this.breakpointObserver=Te,this.msgSrv=Ie,this.authSrv=Pe,this.myEvSrv=Ve,this.contactProfilePanelSrv=Ee,this.document=Fe,this.numOfChosenCompanies=0,this.opacityForMM=!1,this.subscriptions=new X,this.pageNumber=0,this.pageSize=10,this.companiesCount=0,this.showSideWidget=!1,this.recentContact=null,this.recentContactsTotal=0,this.cdnPath=kt.cdnPath,this.showProgressBar=!1,this.showWizardAgain=!1,this.selectedTab=1,this.hitFive=!1,this.sendToCompany=null,this.chosenCompaniesPlain=[],this.matchCompaniesPlain=[],this.showSkippedCompanies=!1,this.isLoading=!0,this.isMatchmakingEnabled=!0,this.location=null,this.contactsLocationFilter=null,this.countries=[],this.categoriesAutocompletePg={pageNum:0,pageSize:-1,searchKey:"",stopScrollRequest:!1,scrollRequestInProgress:!1,categoryList:[]},this.selectedCategoryId=null,this.selectedCategory=null,this.categorySearchCtrl=new Rt,this.isCategorySectionVisible=!1,this.hasCategoryBeenSearched=!1,this.multiCategoryIds="",this.multiCategoryNames="",this.isContactsInterestTreeVisible=!1,this.contactsChipsHasMoreToScroll=!1,this.filtersOpened=!1,this.cardViewMode="list",this.recommendationType="products",this.stackFrameHeight=null,this.stackFrameRaf=null,this.stackScrollLocked=!1,this.firstRecommendationLoad=!0,this.companiesResolved=[],this.productsResolved=[],this.productsCount=0,this.productsHasMore=!1,this.showSkippedProducts=!1,this.productsIsLoading=!1,this.companiesLoader=new W,this.productsLoader=new W,this.isMatchmakingFinished=!1,this.showOnlyNotContacted=!1,this.filteredChosenCompanies=[],this.contactsSearchQuery="",this.contactsFiltersOpened=!1,this.contactsActiveFilter=null,this.contactsSelectedInterests=[],this.contactsInterestCategorySelected=null,this.myContactsList=[],this.myContactsPageNumber=1,this.myContactsPageSize=20,this.myContactsTotal=0,this.myContactsNewCount=0,this.myContactsHasMore=!1,this.myContactsIsLoading=!1,this.myContactsLoader=new W,this.contactTypeFilter=[],this.contactParticipantTypeFilter=[],this.ContactType=P,this.ContactParticipantType=A,this.contactsSortOption=B.Newest,this.contactsSortOpen=!1,this.ContactsSortOption=B,this.messageOverlayVisitor=null,this.messageSnipets=[],this.messageOverlayFromContacts=!1,this.overlayHeight=null,this.messageSentInOverlay=!1,this.stackSaveFeedback=!1,this.overlaySwipeStartY=0,this.filtersSwipeStartY=0,this.newContactsCount=0,this.firstTime=!1,this.showLastConnectionStep=!1,this.shouldOpenConnectionsGuide=!1,this.connectionsGuideOpened=!1,this.onViewportResize=()=>
1{typeof window<"u"&&window.visualViewport&&(this.overlayHeight=`${window.visualViewport.height}px`)}}ngOnInit(){this.subscriptions.add(this.contactProfilePanelSrv.connectStatusChange$.subscribe(({username:n,status:s,isFollowed:f})=>{s===Y.RequestedByMe||s===Y.Connected||f||!this.myContactsList.some(V=>V.userName===n)||(this.myContactsList=this.myContactsList.filter(V=>V.userName!==n),this.myContactsTotal=Math.max(0,this.myContactsTotal-1))})),this.subscriptions.add(this.breakpointObserver.observe(["(min-width: 1600px)"]).pipe(R(n=>n.matches),z()).subscribe(n=>{this.wideScreen=n})),this.subscriptions.add(this.breakpointObserver.observe(["(max-width: 767px)"]).pipe(R(n=>n.matches),z()).subscribe(n=>{this.isHandset=n})),this.subscriptions.add(this.breakpointObserver.observe(["(min-width: 1500px)"]).pipe(R(n=>n.matches),z()).subscribe(n=>{this.showSideWidget=n})),this.eventId=parseInt(this.eventSrv.getCurrentEventId()),this.metricsSrv.trackingUserBehavior(this.eventId,"connections_page_loaded","recommendations").subscribe(),this.subscriptions.add(this.router.events.pipe($(n=>n instanceof ft),$(n=>!n.url.includes("matchmaking"))).subscribe(()=>{this.metricsSrv.trackingUserBehavior(this.eventId,"leave_connections",this.currentTabName).subscribe()})),this.subscriptions.add(this.route.queryParams.subscribe(n=>{n.view==="companies"&&(this.recommendationType="companies"),n.TraceId?this.metricsSrv.trackingUserBehavior(this.eventId,n.TraceId,"MM_Page_Visitors").subscribe():this.metricsSrv.trackingUserBehavior(this.eventId,"MM_page_open","MM_Page_Visitors").subscribe()})),this.subscriptions.add(this.eventSrv.getEventOnboardingForUser(!1).subscribe(n=>{this.isMatchmakingFinished=n.isMatchmakingFinished,n.isMatchmakingFinished||(this.firstTime=!0,this.shouldOpenConnectionsGuide=!0)})),this.companies$=this.matchingSrv.matchCompanyList$,this.products$=this.matchingSrv.matchProductList$,this.activeLang$=this.localeSrv.activeLanguage$,this.subscriptions.add(this.companies$.subscribe(n=>this.companiesResolved=n??[])),this.subscriptions.add(this.products$.subscribe(n=>this.productsResolved=n??[]));let t=this.authSrv.getLoggedUserInfo(),e=!!(t?.isMatchEnabled&&t?.ticket);this.subscriptions.add(this.myEvSrv.eventSettingsModel$.pipe($(n=>!!n),et(1)).subscribe(n=>{this.isMatchmakingEnabled=n.enableMatchmaking&&e,this.isMatchmakingEnabled?(this.recommendationType==="companies"?(this.companiesLoader.start(),this.getCompaniesList()):this.getProductsList(),this.getMyContacts()):(this.isLoading=!1,this.companiesLoader.stop(),this.productsIsLoading=!1,this.productsLoader.stop(),this.selectedTab=2,this.getMyContacts()),this.getRecentContact()})),this.loadCategories(this.categoriesAutocompletePg.pageNum,this.categoriesAutocompletePg.pageSize,this.categoriesAutocompletePg.searchKey),this.registerCategorySearchChanges(),this.matchingSrv.getNewContactsCount().subscribe(n=>{n&&(this.myContactsNewCount=n.newContactsCount)}),this.matchingSrv.getMessageSnippets(0).subscribe(n=>{this.messageSnipets=n??[]})}ngAfterViewInit(){this.updateCategorySectionWidth()}getCompaniesList(){this.subscriptions.add(this.matchingSrv.getMatchCompanies(this.eventId,this.location,this.multiCategoryIds).subscribe(t=>{t?t.data.length>0?(this.companiesCount=t.data.length,this.showProgressBar=!t.haveHitFive,this.matchCompaniesPlain=t.data,this.hasMore=t.hasMore,this.isLoading=!1,this.companiesLoader.stop(),this.tryOpenConnectionsGuide()):(this.location===0||!this.location)&&this.multiCategoryIds===""?(this.isLoading=!1,this.companiesLoader.stop(),this.showProgressBar=!t.haveHitFive,this.getSkippedCompanyList()):(this.isLoading=!1,this.companiesLoader.stop(),this.showProgressBar=!t.haveHitFive):(this.isLoading=!1,this.companiesLoader.stop(),this.getSkippedCompanyList())}))}getSkippedCompanyList(){this.subscriptions.add(this.subscriptions.add(this.matchingSrv.getSkippedMatchCompanies(this.eventId).subscribe(t=>{this.showSkippedCompanies=!0,this.companiesCount=t.data.length,this.companiesCount>0?this.showSkippedCompanies=!0:this.showSkippedCompanies=!1})))}getProductsList(){this.productsIsLoading=!0,this.productsLoader.start(),this.subscriptions.add(this.matchingSrv.getMatchProducts(this.eventId,this.location,this.multiCategoryIds).subscribe(t=>{t?.data?.length>0?(this.productsCount=t.data.length,this.productsHasMore=t.hasMore,this.productsIsLoading=!1,this.productsLoader.stop(),this.firstRecommendationLoad=!1,this.tryOpenConnectionsGuide()):(this.location===0||!this.location)&&this.multiCategoryIds===""?(this.productsIsLoading=!1,this.productsLoader.stop(),this.get
1SkippedProductList()):(this.productsIsLoading=!1,this.productsLoader.stop(),this.firstRecommendationLoad=!1)}))}getSkippedProductList(){this.subscriptions.add(this.matchingSrv.getSkippedMatchProducts(this.eventId).subscribe(t=>{this.showSkippedProducts=t?.data?.length>0,this.productsCount=t?.data?.length??0,this.firstRecommendationLoad&&this.productsCount===0&&this.onRecommendationTypeChange("companies"),this.firstRecommendationLoad=!1}))}saveProduct(t){this.metricsSrv.trackingUserBehavior(this.eventId,"selected_card","product",null,JSON.stringify({entity_id:t.companyProductID})).subscribe(),this.subscriptions.add(this.matchingSrv.saveProductMatch(this.eventId,t.companyProductID).subscribe(e=>{e?.status&&(this.productsCount--,this.myContactsNewCount++,this.getRecentContact(),this.productsCount===0&&!this.productsHasMore&&this.getSkippedProductList())}))}removeProduct(t){this.productsCount--,this.subscriptions.add(this.matchingSrv.deleteProductMatch(this.eventId,t.companyProductID).subscribe(e=>{e?.status&&this.productsCount===0&&!this.productsHasMore&&this.getSkippedProductList()}))}sendProductMessage(t){let e=t.companyID;if(this.metricsSrv.trackingUserBehavior(this.eventId,"selected_card","product",null,JSON.stringify({entity_id:t.companyProductID})).subscribe(),!this.isHandset)this.dialog.open(H,{data:{company:{companyId:e,name:t.companyName},eventId:this.eventId,isForExibithors:!1},closeOnNavigation:!0,disableClose:!0,width:"100%",maxHeight:"calc(100vh - 55px)",maxWidth:"520px",panelClass:["custom-modalbox"]}).afterClosed().subscribe(s=>{s&&(this.saveProduct(t),this.metricsSrv.trackingUserBehavior(this.eventId,"message_sent","product",null,JSON.stringify({entity_id:t.companyProductID})).subscribe(),this.notificationSrv.success(this.translocoService.translate("matchmaking.messageSent")))});else{let n=this.authSrv.getLoggedUserId();this.msgSrv.getOrCreateChatCompany("",e,this.eventId,!0).subscribe(s=>{s?.conversation&&(this.msgSrv.currentMsgThread.next(s.conversation),this.msgThread$=this.msgSrv.msgThread$,this.messageOverlayVisitor=t,typeof window<"u"&&window.visualViewport&&(this.overlayHeight=`${window.visualViewport.height}px`,window.visualViewport.addEventListener("resize",this.onViewportResize)))})}}onRecommendationTypeChange(t){this.recommendationType=t,this.loadRecommendations()}loadRecommendations(){this.recommendationType==="companies"?(this.isLoading=!0,this.companiesLoader.start(),this.productsIsLoading=!1,this.productsLoader.stop(),this.getCompaniesList()):(this.productsIsLoading=!0,this.isLoading=!1,this.companiesLoader.stop(),this.getProductsList())}remove(t){this.companiesCount--,this.subscriptions.add(this.matchingSrv.deleteCompanyMatch(this.eventId,t.companyId).subscribe(e=>{e.status&&(this.companiesCount,this.companiesCount===0&&!this.hasMore&&this.getSkippedCompanyList())})),this.companyProfileSrv.bookmark(!1,this.eventId,t.companyId).subscribe()}save(t){this.metricsSrv.trackingUserBehavior(this.eventId,"selected_card","exhibitor",null,JSON.stringify({entity_id:t.companyId})).subscribe(),this.subscriptions.add(this.matchingSrv.saveCompanyMatch(this.eventId,t.companyId).subscribe(e=>{e.status&&(this.companiesCount--,this.myContactsNewCount++,this.getRecentContact(),this.companiesCount===0&&!this.hasMore&&this.getSkippedCompanyList())})),this.companyProfileSrv.bookmark(!0,this.eventId,t.companyId).subscribe()}showMobileTutorial(){this.dialog.open(he,{data:{isForExibithors:!1,isHandset:!0},closeOnNavigation:!0,disableClose:!0,width:"100%",maxHeight:this.isHandset?"650px":"calc(100vh - 55px)",maxWidth:this.isHandset?"350px":"520px",panelClass:["custom-modalbox"]})}sendMessage(t){if(this.eventSrv.setOpacityForMM(!1),this.metricsSrv.trackingUserBehavior(this.eventId,"selected_card","exhibitor",null,JSON.stringify({entity_id:t.companyId})).subscribe(),!this.isHandset)this.dialog.open(H,{data:{company:t,eventId:this.eventId,isForExibithors:!1},closeOnNavigation:!0,disableClose:!0,width:"100%",maxHeight:"calc(100vh - 55px)",maxWidth:"520px",panelClass:["custom-modalbox"]}).afterClosed().subscribe(n=>{n&&(this.save(t),this.metricsSrv.trackingUserBehavior(this.eventId,"message_sent","company",null,JSON.stringify({entity_id:t.companyId})).subscribe(),this.notificationSrv.success(this.translocoService.translate("matchmaking.messageSent")))});else{let e=this.authSrv.getLoggedUserId();this.msgSrv.getOrCreateChatCompany("",t.companyId,this.eventId,!0).subscribe(n=>{n?.conversation&&(this.msgSrv.currentMsgThread.next(n.conversation),this.msgThread$=this.msgSrv.msgThread$,this.messageOverlayVisitor=t,typeof window<"u"&&window.visualVie
1wport&&(this.overlayHeight=`${window.visualViewport.height}px`,window.visualViewport.addEventListener("resize",this.onViewportResize)))})}}sendContactMessage(t){if(!t.canMessage)return;let e=t.type===P.Company||t.type===P.Product;if(this.metricsSrv.trackingUserBehavior(this.eventId,"selected_card",e?"company":"visitor",null,JSON.stringify({entity_id:t.id})).subscribe(),this.isHandset){let n=this.authSrv.getLoggedUserId();(e?this.msgSrv.getOrCreateChatCompany("",t.companyId,this.eventId,!0):this.msgSrv.createNewMessage("",[t.id,n],!0)).subscribe(f=>{f?.conversation&&(this.messageOverlayFromContacts=!0,this.msgSrv.currentMsgThread.next(f.conversation),this.msgThread$=this.msgSrv.msgThread$,this.messageOverlayVisitor=t,typeof window<"u"&&window.visualViewport&&(this.overlayHeight=`${window.visualViewport.height}px`,window.visualViewport.addEventListener("resize",this.onViewportResize)))})}else{let n=this.authSrv.getLoggedUserId();(e?this.msgSrv.getOrCreateChatCompany("",t.companyId,this.eventId,!0):this.msgSrv.createNewMessage("",[t.id,n],!0)).subscribe(f=>{if(f?.conversation?.messages?.length>0){this.router.navigate(["/event",this.eventId,"messages","thread",f.conversation.conversationGroupId]);return}this.dialog.open(H,{data:e?{company:{companyId:t.companyId,name:t.companyName},eventId:this.eventId,isForExibithors:!1}:{visitor:{systemUserID:t.id},eventId:this.eventId,isForExibithors:!0},closeOnNavigation:!0,disableClose:!0,width:"100%",maxHeight:"calc(100vh - 55px)",maxWidth:"520px",panelClass:["custom-modalbox"]}).afterClosed().subscribe(S=>{S&&this.notificationSrv.success(this.translocoService.translate("matchmaking.messageSent"))})})}}onMessageSentInOverlay(){this.messageSentInOverlay=!0}onOverlaySwipeStart(t){this.overlaySwipeStartY=t.touches[0].clientY}onOverlaySwipeEnd(t){t.changedTouches[0].clientY-this.overlaySwipeStartY>80&&this.closeMessageOverlay()}onFiltersSwipeStart(t){this.filtersSwipeStartY=t.touches[0].clientY}onContactsFiltersSwipeEnd(t){t.changedTouches[0].clientY-this.filtersSwipeStartY>80&&this.closeContactsFilters()}onRecommendationFiltersSwipeEnd(t){t.changedTouches[0].clientY-this.filtersSwipeStartY>80&&this.openFilters(!1)}closeMessageOverlay(){let t=this.messageSentInOverlay,e=this.messageOverlayVisitor,n=this.messageOverlayFromContacts;this.messageOverlayVisitor=null,this.overlayHeight=null,this.messageSentInOverlay=!1,this.messageOverlayFromContacts=!1,this.msgSrv.currentMsgThread.next(null),typeof window<"u"&&window.visualViewport&&window.visualViewport.removeEventListener("resize",this.onViewportResize),t&&e&&!n&&(this.stackSaveFeedback=!0,setTimeout(()=>{this.stackSaveFeedback=!1},50),this.recommendationType==="products"?(setTimeout(()=>{this.saveProduct(e)},2e3),this.metricsSrv.trackingUserBehavior(this.eventId,"message_sent","product",null,JSON.stringify({entity_id:e.companyProductID})).subscribe()):(setTimeout(()=>{this.save(e)},2e3),this.metricsSrv.trackingUserBehavior(this.eventId,"message_sent","company",null,JSON.stringify({entity_id:e.companyId})).subscribe()))}closeMessage(t){this.sendToCompany=null,t&&this.notificationSrv.success(this.translocoService.translate("matchmaking.messageSent"))}selectTab(t){this.selectedTab=t,t===1?(this.recommendationType==="companies"?this.getCompaniesList():this.getProductsList(),window.scrollTo(0,0)):t===2&&(this.getMyContacts(),window.scrollTo(0,0),this.myContactsNewCount=0)}onLocationSelect(t){this.pageNumber=0,this.location=t.value}onContactsLocationSelect(t){this.contactsLocationFilter=t.value,this.applyContactsFilters()}onLocationOpen(){this.countries.length===0&&this.subscriptions.add(this.eventSrv.getCountries().subscribe(t=>{this.countries=t}))}onCategoriesAutocompleteScroll(){this.categoriesAutocompletePg.categoryList.length==0&&this.loadCategories(this.categoriesAutocompletePg.pageNum,this.categoriesAutocompletePg.pageSize,this.categoriesAutocompletePg.searchKey),setTimeout(()=>{let t=null;this.autocompleteTriggers&&this.categoriesAutocompleteRef&&(t=this.autocompleteTriggers.find(e=>e.autocomplete.id==this.categoriesAutocompleteRef.id)),this.categoriesAutocompleteRef&&this.categoriesAutocompleteRef.panel&&t&&Z(this.categoriesAutocompleteRef.panel.nativeElement,"scroll").pipe(R(e=>this.categoriesAutocompleteRef.panel.nativeElement.scrollTop),ot(t.panelClosingActions)).subscribe(e=>{let n=this.categoriesAutocompleteRef.panel.nativeElement.scrollTop,s=this.categoriesAutocompleteRef.panel.nativeElement.scrollHeight,f=this.categoriesAutocompleteRef.panel.nativeElement.clientHeight;ce.calcAtBottom(s,n,f)&&this.categoriesAutocompletePg.scrollRequestInProgress==!1&&this.categoriesAutocompletePg.stopScrollRequest==!1&&(this.categoriesAutocompletePg.pageNum+=1,this.categoriesAutocompletePg.scrollRequestInProgress=!0,this.userSrv.getPeopleCategoriesForAutocompleteV2(this.eventId,this.categoriesAutocompletePg.pageNum,this.categoriesAutocompletePg.pageSize,this.categoriesAutocompletePg.searchKey).subscribe(S=>{this.categoriesAutocompletePg.stopScrollRequest=S.categories.length==0,this.categoriesAutocompletePg.categoryList=[...this.categoriesAutocompletePg.categoryList,...S.categories],this.categoriesAutocompletePg.scrollRequestInProgress=!1}))})})}loadCategories(t,e,n){this.userSrv.getPeopleCategoriesForAutocompleteV2(this.eventId,t,e,n).subscribe(s=>{this.categoriesAutocompletePg.categoryList=s!=null?s.categories:[]})}mapSelectedCategoriesToTree(t,e){if(!t?.length||!e?.length)return;let n=new Set;function s(y){for(let S of y)S.isChecked&&n.add(S.vendorCategoryID),Array.isArray(S.children)&&s(S.children)}s(e);let f=[];for(let y of t){let S=!1;if(y.isChecked=!1,n.has(y.vendorCategoryID)&&(S=!0),y.children?.length)for(let V of y.children)V.isChecked=n.has(V.vendorCategoryID),V.isChecked&&(S=!0,f.push(y));y.isChecked=S}setTimeout(()=>{f.forEach(y=>this.tree.expand(y))})}registerCategorySearchChanges(){this.subscriptions.add(this.categorySearchCtrl.valueChanges.pipe(tt(300),nt
1(),it(t=>this.handleCategoryInput(t))).subscribe(t=>{this.categoriesAutocompletePg.categoryList=t!=null?t.categories:[]}))}handleCategoryInput(t){return this.categoriesAutocompletePg.stopScrollRequest=!1,this.categoriesAutocompletePg.scrollRequestInProgress=!1,this.categoriesAutocompletePg.pageNum=0,this.categoriesAutocompletePg.searchKey=!t||typeof t!="string"?"":t,this.userSrv.getPeopleCategoriesForAutocompleteV2(this.eventId,this.categoriesAutocompletePg.pageNum,this.categoriesAutocompletePg.pageSize,this.categoriesAutocompletePg.searchKey)}categoryDisplayFn(t){return t?t.all?t.all:t.categoryName:""}onCategorySelect(t){let e=t?.option?.value;e&&(e.vendorCategoryID?(this.selectedCategoryId=e.vendorCategoryID,this.selectedCategory=e):this.selectedCategoryId=null)}categoryChildrenAccessor(t){return t.children??[]}categoryHasChild(t,e){return!!e.children&&e.children.length>0}onCategoryNoChildCheckboxChange(t,e){if(e.isChecked=t.checked,e.parentID){let n=this.categoriesAutocompletePg.categoryList.find(s=>s.vendorCategoryID==e.parentID);n!=null&&t.checked&&(n.isChecked=!0,this.hasCategoryBeenSearched=!0)}}onCategoryWithChildrenCheckboxChange(t,e,n){e.isChecked=t.checked,t.checked==!1&&e.children.forEach(s=>{s.isChecked=!1}),n?.expand(e)}triggerNoChildCheckboxClick(t){let e={checked:!t.isChecked};this.onCategoryNoChildCheckboxChange(e,t)}triggerWithChildrenCheckboxClick(t,e){let n={checked:!t.isChecked};this.onCategoryWithChildrenCheckboxChange(n,t,e),n.checked&&t.children?.length&&this.tree.expand(t)}resetCategoryFilter(){this.categoriesAutocompletePg={pageNum:0,pageSize:10,searchKey:"",stopScrollRequest:!1,scrollRequestInProgress:!1,categoryList:[]}}showCategorySection(){this.isCategorySectionVisible=!this.isCategorySectionVisible,this.isCategorySectionVisible?setTimeout(()=>{if(this.categoryTitle&&this.categorySection){let t=this.categoryTitle.nativeElement.offsetWidth;this.renderer.setStyle(this.categorySection.nativeElement,"width",`${t}px`)}this.expandCheckedNodesAndChildren(this.categoriesAutocompletePg.categoryList)},0):this.multiCategoryIds=this.getMultiCategoryIds()}expandCheckedNodesAndChildren(t){t.forEach(e=>{let n=e.children?.some(s=>s.isChecked);(e.isChecked||n)&&this.tree.expand(e),e.children&&e.children.length>0&&(e.children.forEach(s=>{}),this.expandCheckedNodesAndChildren(e.children))})}getMultiCategoryIds(){if(this.categoriesAutocompletePg!=null&&this.categoriesAutocompletePg.categoryList!=null){let t=[],e=[];return this.categoriesAutocompletePg.categoryList.filter(n=>n.isChecked).forEach(n=>{if(t.push(n.vendorCategoryID),e.push(n.categoryName),n.children!=null){let s=n.children.filter(y=>y.isChecked).map(y=>y.vendorCategoryID);s!=null&&s.length>0&&t.push(s);let f=n.children.filter(y=>y.isChecked).map(y=>y.categoryName);f!=null&&f.length>0&&e.push(f),this.multiCategoryNames=e.join(", ")}}),t.toString()}}updateCategorySectionWidth(){if(this.categoryTitle&&this.categorySection){let t=this.categoryTitle.nativeElement.offsetWidth;this.categorySection.nativeElement.style.width=`${t}px`}}handleDocumentClick(t){if(this.isCategorySectionVisible&&this.categoryTitle&&this.categorySection){let e=t.target,n=this.categoryTitle.nativeElement.contains(e),s=this.categorySection.nativeElement.contains(e);!n&&!s&&(this.isCategorySectionVisible=!1,this.multiCategoryIds=this.getMultiCategoryIds())}}handleEscapeKey(){this.contactsFiltersOpened?this.closeContactsFilters():this.filtersOpened&&this.openFilters(!1)}setFiltersScrollLock(t){this.document.body.classList.toggle("mm-filters-scroll-lock",t)}openFilters(t){this.eventSrv.setOpacityForMM(t),this.filtersOpened=t,this.setFiltersScrollLock(t||this.contactsFiltersOpened),t?this.metricsSrv.trackingUserBehavior(this.eventId,"filter_click","filters").subscribe():this.metricsSrv.trackingUserBehavior(this.eventId,"FilterClose",null).subscribe()}saveFilters(t){this.multiCategoryIds=this.getMultiCategoryIds(),this.loadRecommendations(),this.metricsSrv.trackingUserBehavior(this.eventId,"FilterApply","recommendations_filters",null,JSON.stringify({location:this.location,category_ids:this.multiCategoryIds})).subscribe(),this.eventSrv.setOpacityForMM(t),this.filtersOpened=t,this.setFiltersScrollLock(t||this.contactsFiltersOpened)}resetFilters(){this.pageNumber=1,this.location=null,this.multiCategoryIds="",this.categoriesAutocompletePg={pageNum:0,pageSize:-1,searchKey:"",stopScrollRequest:!1,scrollRequestInProgress:!1,categoryList:[]},this.loadCategories(this.categoriesAutocompletePg.pageNum,this.categoriesAutocompletePg.pageSize,this.categoriesAutocompletePg.searchKey),this.selectedCategoryId=null,this.selectedCategory=null,this.categorySearchCtrl.setValue(""),this.loadRecommendations(),this.eventSrv.setOpacityForMM(!1),this.filtersOpened=!1}filterContacted(t){return this.showOnlyNotContacted?t.filter(e=>!e.conversationId):t}get hasRecommendationFiltersApplied(){return!((this.location===0||!this.location)&&this.multiCategoryIds==="")}goToSuggestions(){this.openFilters(!1);let t=this.router.serializeUrl(this.router.createUrlTree(["/event",this.eventId,"profile"],{queryParams:{tab:"1"}}));window.open(t,"_blank")}onTabChange(t){let e=this.currentTabName,n=t.index+1;this.selectTab(n);let s=n===2?"my_contacts":"connections_page_visitors";this.metricsSrv.trackingUserBehavior(this.eventId,"tab_switched",null,null,JSON.stringify({from_tab:e,to_tab:s})).subscribe()}get contactsInterestsActive(){return this.contactsSelectedInterests.length>0}get contactsRegionActive(){return!!this.contactsLocationFilter&&this.contactsLocationFilter!==0}get contactTypeChipLabelKey(){switch(this.contactTypeFilter[0]){case P.User:return"contactTypePeople";case P.Company:return"contactTypeCompanies";case P.Product:return"contactTypeProducts";default:return"contactType"}}get participantTypeChipLabelKey(){switch(this.contactParticipantTypeFilter[0]){case A.Exhibitor:return"exhibitor";case A.Visitor:return"visitor";case A.Organizer:return"organizer";default:return"participantType"}}get regionChipLabel(){return!this.contactsLocationFilter||this.contactsLocationFilter===0?null:this.countries.find(t=>t.countryID===this.contactsLocationFilter)?.name??null}get interestsChipLabel(){if(!this.contactsSelectedInterests.length)return null;let t=this.contactsSelectedInterests[0];for(let e of this.categoriesAutocompletePg.categoryList){if(e.vendorCategoryID===t)return e.categoryName;let n=e.children?.find(s=>
1s.vendorCategoryID===t);if(n)return n.categoryName}return null}get hasContactsFiltersApplied(){return!!(this.contactsSearchQuery||this.contactTypeFilter.length>0||this.contactParticipantTypeFilter.length>0||this.contactsSelectedInterests.length>0||this.contactsLocationFilter&&this.contactsLocationFilter!==0)}get hasContactsChipFiltersApplied(){return!!(this.contactTypeFilter.length>0||this.contactParticipantTypeFilter.length>0||this.contactsSelectedInterests.length>0||this.contactsRegionActive)}get contactsChipFiltersSummary(){let t=[];return this.contactTypeFilter.length>0&&t.push(this.translocoService.translate(`matchmaking.${this.contactTypeChipLabelKey}`)),this.contactsInterestsActive&&this.interestsChipLabel&&t.push(this.interestsChipLabel),this.contactsRegionActive&&this.regionChipLabel&&t.push(this.regionChipLabel),this.contactParticipantTypeFilter.length>0&&t.push(this.translocoService.translate(`matchmaking.${this.participantTypeChipLabelKey}`)),t.length?t.join(", "):null}resetContactsChipFilter(t){switch(t){case"participantType":this.contactParticipantTypeFilter=[];break;case"contactType":this.contactTypeFilter=[];break;case"region":this.contactsLocationFilter=null;break;case"interests":this.contactsSelectedInterests=[],this.contactsInterestCategorySelected=null,this.isContactsInterestTreeVisible=!1;break}this.metricsSrv.trackingUserBehavior(this.eventId,"FilterReset","contacts_filters").subscribe(),this.getMyContacts()}resetContactsChipFilters(){this.contactTypeFilter=[],this.contactParticipantTypeFilter=[],this.contactsSelectedInterests=[],this.contactsInterestCategorySelected=null,this.contactsLocationFilter=null,this.isContactsInterestTreeVisible=!1,this.metricsSrv.trackingUserBehavior(this.eventId,"FilterReset","contacts_filters").subscribe(),this.getMyContacts()}get hasNoContactsAtAll(){return!this.myContactsIsLoading&&this.myContactsTotal===0&&!this.hasContactsFiltersApplied}get showEmptyMatchmakingState(){return!this.isMatchmakingEnabled&&this.hasNoContactsAtAll}goToPeople(){let t=this.router.serializeUrl(this.router.createUrlTree(["/event",this.eventId,"catalog","people"]));window.open(t,"_blank")}applyContactsFilters(){this.metricsSrv.trackingUserBehavior(this.eventId,"FilterApply","contacts_filters",null,JSON.stringify({participant_type:this.contactParticipantTypeFilter.join(","),contact_type:this.contactTypeFilter.join(","),interests:this.contactsSelectedInterests.join(","),search:this.contactsSearchQuery})).subscribe(),this.getMyContacts()}onContactsSearch(t){this.contactsSearchQuery=t.target.value,this.applyContactsFilters()}clearContactsSearch(){this.contactsSearchQuery="",this.applyContactsFilters()}openContactsFilters(t){this.contactsActiveFilter=t,t==="region"&&this.onLocationOpen(),this.contactsFiltersOpened=!0,this.setFiltersScrollLock(!0)}openContactsSort(){this.contactsSortOpen=!0}closeContactsSort(){this.contactsSortOpen=!1}onContactsSortChange(t){this.contactsSortOption=t,this.applyContactsFilters()}closeContactsFilters(){this.contactsFiltersOpened=!1,this.setFiltersScrollLock(this.filtersOpened),this.metricsSrv.trackingUserBehavior(this.eventId,"FilterClose",null).subscribe()}saveContactsFilters(){this.applyContactsFilters(),this.contactsFiltersOpened=!1,this.setFiltersScrollLock(this.filtersOpened)}resetContactsFilters(){switch(this.contactsActiveFilter){case"participantType":this.contactParticipantTypeFilter=[];break;case"contactType":this.contactTypeFilter=[];break;case"region":this.contactsLocationFilter=null;break;case"interests":this.contactsSelectedInterests=[],this.contactsInterestCategorySelected=null;break}this.metricsSrv.trackingUserBehavior(this.eventId,"FilterReset","contacts_filters").subscribe(),this.getMyContacts(),this.contactsFiltersOpened=!1,this.setFiltersScrollLock(this.filtersOpened)}resetAllContactsFilters(){this.contactsSearchQuery="",this.contactTypeFilter=[],this.contactParticipantTypeFilter=[],this.contactsSelectedInterests=[],this.contactsInterestCategorySelected=null,this.contactsLocationFilter=null,this.metricsSrv.trackingUserBehavior(this.eventId,"FilterReset","contacts_filters").subscribe(),this.getMyContacts()}setContactTypeFilter(t){if(t===P.All){this.contactTypeFilter=[];return}this.contactTypeFilter=this.contactTypeFilter.includes(t)?this.contactTypeFilter.filter(e=>e!==t):[...this.contactTypeFilter,t]}setContactsLocationFilter(t){this.contactsLocationFilter=t}onContactTypeCheckboxChange(t){let e=t.value??[],n=this.contactTypeFilter.length===0,s=e.includes(P.All);this.contactTypeFilter=s&&!n?[]:e.filter(f=>f!==P.All),this.applyContactsFilters()}setContactParticipantTypeFilter(t){if(t===A.All){this.contactParticipantTypeFilter=[];return}this.contactParticipantTypeFilter=this.contactParticipantTypeFilter.includes(t)?this.contactParticipantTypeFilter.filter(e=>e!==t):[...this.contactParticipantTypeFilter,t]}onParticipantTypeCheckboxChange(t){let e=t.value??[],n=this.contactParticipantTypeFilter.length===0,s=e.includes(A.All);this.contactParticipantTypeFilter=s&&!n?[]:e.filter(f=>f!==A.All),this.applyContactsFilters()}getMyContacts(t=!1){t||(this.myContactsPageNumber=1),this.myContactsIsLoading=!0,this.myContactsLoader.start(),this.matchingSrv.getMyContacts(this.eventId,this.myContactsPageNumber,this.myContactsPageSize,this.contactParticipantTypeFilter,this.contactTypeFilter,this.contactsSearchQuery,this.contactsSelectedInterests.join(","),this.contactsLocationFilter?this.contactsLocationFilter.toString():void 0,void 0,void 0,this.contactsSortOption).subscribe(e=>{t?this.myContactsList=[...this.myContactsList,...e.contacts]:this.myContactsList=e.contacts,this.myContactsTotal=e.total,this.myContactsHasMore=e.hasmore,this.myContactsIsLoading=!1,this.myContactsLoader.stop()})}onContactsScroll(){!this.myContactsHasMore||this.myContactsIsLoading||(this.myContactsPageNumber++,this.getMyContacts(!0))}getRecentContact(){this.matchingSrv.getMyContacts(this.eventId,1,1,void 0,void 0,void 0,void 0,void 0,void 0,void 0,B.Newest).subscribe(t=>{this.recentContact=t.contacts[0]??null,this.recentContactsTotal=t.total})}get widgetRecommendation(){if(this.recommendationType==="companies"){let e=this.companiesResolved[0];return e?{image:e.logoPath,name:e.name,subtitle:e.countryName,tags:e.categories}:null}let t=this.productsResolved[0];return t?{image:t.imagePath?`${this.cdnPath}${t.imagePath}`:null,name:t.name,subtitle:t.companyName,tags:t.categories}:null}openWidgetRecommendation(){if(this.recommendationType==="companies"){let t=this.companiesResolved[0];if(!t)return;window.open(this.router.serializeUrl(this.router.createUrlTree(["/event",this.eventId,"company",t.username])),"_blank")}else{let t=this.productsResolved[0];if(!t)return;window.open(this.router.serializeUrl(this.router.createUrlTree(["/event",this.eventId,"company",t.companyUserName,"products",t.companyProductID])),"_blank")}}selectContactsInterestCategory(t){this.contactsInterestCategorySelected=t}isCategoryPartiallySelected(t){return t.children?.length?this.contactsSelectedInterests.includes(t.vendorCategoryID)||t.children.some(e=>this.contactsSelectedInterests.includes(e.vendorCategoryID)):this.contactsSelectedInterests.includes(t.vendorCategoryID)}isCategoryAllSelected(t){return this.contactsSelectedInterests.includes(t.vendorCategoryID)}toggleAllCategoryChildren(t,e){if(!t.children?.length)return;[t.vendorCategoryID,...t.children.map(s=>
1s.vendorCategoryID)].forEach(s=>{let f=this.contactsSelectedInterests.indexOf(s);f>=0&&this.contactsSelectedInterests.splice(f,1)}),e&&this.contactsSelectedInterests.push(t.vendorCategoryID)}toggleContactsInterest(t,e=this.contactsInterestCategorySelected){let n=this.contactsSelectedInterests.indexOf(e?.vendorCategoryID);if(n>=0&&e?.children?.length)this.contactsSelectedInterests.splice(n,1),e.children.forEach(s=>{s.vendorCategoryID!==t&&!this.contactsSelectedInterests.includes(s.vendorCategoryID)&&this.contactsSelectedInterests.push(s.vendorCategoryID)});else{let s=this.contactsSelectedInterests.indexOf(t);s>=0?this.contactsSelectedInterests.splice(s,1):this.contactsSelectedInterests.push(t)}}toggleContactsInterestTree(){this.isContactsInterestTreeVisible=!this.isContactsInterestTreeVisible,this.isContactsInterestTreeVisible&&setTimeout(()=>{this.contactsInterestTree&&this.expandContactsInterestNodes(this.categoriesAutocompletePg.categoryList)})}expandContactsInterestNodes(t){t.forEach(e=>{let n=e.children?.some(s=>this.contactsSelectedInterests.includes(s.vendorCategoryID));(this.contactsSelectedInterests.includes(e.vendorCategoryID)||n)&&this.contactsInterestTree.expand(e)})}toggleContactsInterestNode(t){let e=t.parentID?this.categoriesAutocompletePg.categoryList.find(n=>n.vendorCategoryID===t.parentID):t;this.toggleContactsInterest(t.vendorCategoryID,e)}toggleContactsInterestParent(t,e){this.toggleAllCategoryChildren(t,e),this.applyContactsFilters(),this.contactsInterestTree&&this.contactsInterestTree.expand(t)}isContactsInterestChildChecked(t){return this.contactsSelectedInterests.includes(t.vendorCategoryID)||!!t.parentID&&this.contactsSelectedInterests.includes(t.parentID)}handleContactsInterestTreeDocumentClick(t){if(this.isContactsInterestTreeVisible&&this.contactsInterestTreeTrigger&&this.contactsInterestTreePanel){let e=t.target,n=this.contactsInterestTreeTrigger.nativeElement.contains(e),s=this.contactsInterestTreePanel.nativeElement.contains(e);!n&&!s&&(this.isContactsInterestTreeVisible=!1)}}tryOpenConnectionsGuide(){let t=this.productsCount>0||this.companiesCount>0;!this.shouldOpenConnectionsGuide||this.connectionsGuideOpened||!t||(this.connectionsGuideOpened=!0,this.openConnectionsGuide(!0))}openConnectionsGuide(t=!1){let e=this.dialog.open(fe,{width:"500px",minWidth:"320px",maxHeight:"780px",panelClass:["custom-modalbox","connections-quide"],disableClose:!0,data:{eventId:this.eventId,companies:this.companies$,products:this.products$,isHandset:this.isHandset,firstTime:t&&this.firstTime,isForExhibitors:!1,recommendationType:this.recommendationType}});this.subscriptions.add(e.componentInstance.recommendationApproved.subscribe(()=>{this.myContactsNewCount++})),this.subscriptions.add(e.afterClosed().subscribe(n=>{this.showLastConnectionStep=n?.showLastStep??!1,this.firstTime&&(n?.showLastStep?(this.subscriptions.add(this.eventSrv.updateMatchmakingFlagForOnboarding(!0).subscribe()),this.subscriptions.add(this.eventSrv.updateEventOnboarding(!1).subscribe())):this.subscriptions.add(this.eventSrv.updateEventOnboarding(!1).subscribe()))}))}onGoToRecommendations(){this.showLastConnectionStep=!1,this.router.navigate(["event",this.eventId,"my-event","matchmaking"])}ngOnDestroy(){this.subscriptions.unsubscribe(),this.setFiltersScrollLock(!1),this.document.body.classList.remove("mm-stack-scroll-lock"),this.contactsChipsResizeObserver?.disconnect(),this.contactsChipsMutationObserver?.disconnect(),this.stackFrameRaf!==null&&cancelAnimationFrame(this.stackFrameRaf),this.companiesLoader.stop(),this.productsLoader.stop(),this.myContactsLoader.stop()}static{this.\u0275fac=function(e){return new(e||i)(b(yt),b(vt),b(Tt),b(Ft),b(Mt),b(ae),b(Xt),b(St),b(At),b(st),b(Ot),b(te),b(bt),b(ee),b(Et),b(Lt),b(oe),b(at))}}static{this.\u0275cmp=lt({type:i,selectors:[["app-matchmaking"]],viewQuery:function(e,n){if(e&1&&pt(Oe,5)(Le,5)(Ae,5)(Re,5)(Ne,5)(He,5)($e,5)(ze,5)(De,5)(Ue,5)(ne,5),e&2){let s;M(s=T())&&(n.categoriesAutocompleteRef=s.first),M(s=T())&&(n.categorySearchInput=s.first),M(s=T())&&(n.categoryTitle=s.first),M(s=T())&&(n.categorySection=s.first),M(s=T())&&(n.tree=s.first),M(s=T())&&(n.contactsInterestTreeTrigger=s.first),M(s=T())&&(n.contactsInterestTreePanel=s.first),M(s=T())&&(n.contactsInterestTree=s.first),M(s=T())&&(n.contactsChipsRowRef=s.first),M(s=T())&&(n.matchCardsWrapRef=s.first),M(s=T())&&(n.autocompleteTriggers=s)}},hostBindings:function(e,n){e&1&&p("resize",function(){return n.updateCategorySectionWidth()},rt)("click",function(f){return n.handleContactsInterestTreeDocumentClick(f)},q)("keydown.escape",function(){return n.handleEscapeKey()},q)}
vendor: 5,151 bytes, line 1
1,decls:1,vars:1,consts:[["desktopMyContacts",""],["categoryTitle",""],["categorySection",""],["tree",""],["matchCardsWrap",""],["contactsChipsRow",""],["contactsInterestTreeTrigger",""],["contactsInterestTreePanel",""],["contactsInterestTree",""],[4,"transloco","translocoPrefix"],[1,"message-overlay",3,"height"],[1,"matchmaking-container"],[1,"MM-wrap"],[1,"contacts-wrap","full-width"],[1,"mm-side-widget"],[1,"message-overlay",3,"touchstart","touchend"],[1,"overlay-drag-handle"],[1,"drag-pill"],["mat-icon-button","",1,"overlay-close",3,"click"],[3,"threadInfo","quickReplies"],[3,"messageSentMM","threadInfo","quickReplies"],[1,"no-contacts-state"],[1,"no-contacts-icon"],["svgIcon","people",1,"no-contacts-svg-icon"],[1,"no-contacts-sub"],[1,"no-contacts-sub","primary-color",3,"click"],[1,"top-banner",3,"ngClass"],[1,"connections-guide","position-relative"],[1,"desktop-header-row"],[1,"match-cards-wrap",3,"mm-stack-frame","--mm-stack-height"],[1,"d-flex","w-100","justify-content-center","pt-3"],[3,"redirectToRecommendations"],["primary","",1,"custom-tab-group","MMTabGrp",3,"selectedIndex"],["primary","",1,"custom-tab-group","MMTabGrp",3,"selectedTabChange","selectedIndex"],[3,"label"],["mat-tab-label",""],[1,"tab-badge"],[1,"main-header"],["svgIcon","help"],["type","button",1,"configure-recommendations-btn"],["svgIcon","help",3,"click"],["type","button",1,"configure-recommendations-btn",3,"click"],["svgIcon","filter_two"],[3,"eventId","company","isForExibithors","isHandset"],[1,"filter-button","with-helper"],["mat-raised-button","",1,"btn-outline-accent","brd-transparent",3,"click","matTooltip"],["svgIcon","filter_two",1,"mr-2"],[3,"closeMessage","eventId","company","isForExibithors","isHandset"],[1,"desktop-config-backdrop",3,"click"],[1,"desktop-config-popup"],[1,"desktop-config-popup-header"],[1,"desktop-config-popup-sub"],["type","button",1,"desktop-config-interests-btn",3,"click"],[1,"filter-card-group"],[1,"filter-card-label"],[1,"desktop-config-radio"],["type","radio","name","recommendationType",3,"change","checked"],[1,"filters","custom-field"],[1,"filter","mb-3"],["appearance","outline",1,""],["matSuffix",""],["name","company","disableOptionCentering","",3,"opened","selectionChange","value"],[3,"value"],[1,"filter"],[1,"tree-holder"],[1,"mobile-filters-buttons","desktop-config-buttons"],["mat-button","",1,"btn-outline-accent","brd-transparent",3,"click"],["mat-button","","color","primary",1,"btn-primary",3,"click"],[1,"w-100","ml-50"],["color","#888",3,"loaderSize"],[1,"category-title",3,"click"],[3,"matTooltip"],[1,"category-section"],[3,"dataSource","childrenAccessor"],["matTreeNodePadding","",3,"click",4,"matTreeNodeDef"],["matTreeNodePadding","","matTreeNodeToggle","",3,"cdkTreeNodeTypeaheadLabel",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding","",3,"click"],[1,"d-flex","align-items-center","tree-custom"],["color","primary",1,"checklist-leaf-node","align-box",3,"change","click","checked"],[3,"click"],["matTreeNodePadding","","matTreeNodeToggle","",3,"cdkTreeNodeTypeaheadLabel"],["color","primary",1,"align-box",3,"change","click","checked"],["mat-icon-button","","matTreeNodeToggle","",1,"icn-chevron"],["svgIcon","chevron_down",1,"mat-icon-rtl-mirror","icon-fill"],["svgIcon","chevron_up",1,"mat-icon-rtl-mirror","icon-fill"],[1,"match-cards-wrap"],[3,"saveCompany","removeCompany","sendMessages","companies","opacityForMM","showWizardAgain","wideScreen","isHandset","eventId","showSkippedCompanies","stackMode","externalSaveTrigger"],[1,"pt-4","pb-4"],[1,"mm-empty-state"],["color","#ccc"],["svgIcon","noSearch"],[1,"mm-empty-state-text"],[1,"mm-empty-state-link",3,"click","innerHTML"],["svgIcon","people"],[3,"saveProduct","removeProduct","sendMessages","products","isHandset","eventId","showSkippedProducts","stackMode","externalSaveTrigger"],["mat-raised-button","","color","primary",3,"click"],[1,"desktop-my-contacts-card"],[1,"mt-5"],[1,"chosen-companies","mt-2"],[1,"contacts-search-row"],[1,"contacts-search","custom-field"],["appearance","outline",1,"w-100"],["matPrefix",""],["matInput","",3,"input","value","placeholder"],["mat-icon-button","","matSuffix",""],["type","button",1,"contacts-sort-btn",3,"click","matTooltip"],["svgIcon","sort"],[3,"closed","sortChange","isOpen","isHandset","selected"],[1,"contacts-chips-wrap"],[1,"contacts-chips-row",3,"scroll"],[1,"contacts-chip",3,"click"],[1,"contacts-chip",3,"contacts-chip-active"],[1,"contacts-chips-fade"],[1,"contacts-chip-filters-summary-row"],[1,"contacts-total-label"],["mat-icon-button","","matSuffix","",3,"click"],[1,"contacts-chip-filters-summary"],["svgIcon","icon_filter"],[1,"contacts-chip-filters-summary-text"],["type","button",1,"contacts-chip-filters-reset",3,"click"],["svgIcon","bin"],[1,"w-100","my-contacts",3,"sendMessages","contacts","eventId","isHandset"],["infiniteScroll","",3,"scrolled","infiniteScrollDistance","alwaysCallback","infiniteScrollDisabled","infiniteScrollThrottle"],[1,"pt-3","pb-2"],["mat-button","","type","button",1,"btn-primary","mt-3"],["mat-button","","type","button",1,"btn-primary","mt-3",3,"click"],["svgIcon","noSearch",1,"no-contacts-svg-icon"],[1,"n
1o-contacts-sub","no-contacts-link",3,"click","innerHTML"],[1,"main-header","text-left","d-block","mb-3"],[4,"ngTemplateOutlet"],[1,"mm-side-widget-card"],[1,"side-main-header","text-left","d-block","mb-3"],[1,"mm-widget-item"],[1,"mm-widget-item-link",3,"click"],["alt","",1,"mm-widget-avatar",3,"src"],[1,"mm-widget-info"],[1,"mm-widget-name",3,"matTooltip"],[1,"mm-widget-subtitle"],[1,"mm-widget-view-link",3,"click"],["type","button",1,"mm-widget-seemore-btn","w-100","mt-3",3,"click"],[1,"mm-widget-divider"],[1,"mm-widget-tags"],[1,"mm-widget-tag",3,"matTooltip"],[1,"mm-widget-empty"],[1,"mm-widget-empty-text"],[1,"mm-widget-header"],[1,"side-main-header","text-left"],[1,"mm-widget-badge"],[1,"mm-widget-empty-text","primary-color",3,"click"],[1,"contacts-filters-row"],["appearance","outline",1,"contacts-filter-chip"],[1,"contacts-filter-chip-label",3,"matTooltip"],["multiple","","disableOptionCentering","","panelClass","contacts-filter-checkbox-panel",3,"selectionChange","value"],["type","button","mat-icon-button","","matSuffix","",1,"contacts-filter-chip-clear"],[1,"contacts-interest-tree-wrap"],[1,"contacts-interest-tree-trigger",3,"click"],["type","button","mat-icon-button","",1,"contacts-filter-chip-clear"],[1,"contacts-interest-tree-panel"],["disableOptionCentering","",3,"opened","selectionChange","value"],["type","button",1,"contacts-chip-filters-reset"],["type","button","mat-icon-button","","matSuffix","",1,"contacts-filter-chip-clear",3,"click"],["type","button","mat-icon-button","",1,"contacts-filter-chip-clear",3,"click"],["color","primary",1,"align-box",3,"change","click","checked","indeterminate"],[1,"mobile-filters-backdrop"],[1,"mobile-filters",3,"touchstart","touchend","ngClass"],[1,"mobile-filters-wrap"],[1,"close-line",3,"click"],[1,"mobile-filters-buttons"],["mat-button","","color","primary",1,"btn-primary","mb-2",3,"click"],[1,"mobile-filters-backdrop",3,"click"],[1,"contacts-filter-options"],[1,"contacts-interest-checkbox-row"],["color","primary",3,"change","checked"],[1,"contacts-interests-layout"],[1,"contacts-interests-left"],[1,"contacts-interest-category",3,"contacts-interest-category-active","contacts-interest-category-selected"],[1,"contacts-interests-right"],[1,"contacts-interest-category",3,"click"],[1,"contacts-interest-checkbox-row","contacts-interest-checkbox-row--all"],["color","primary",3,"change","checked","indeterminate"],[1,"main-header","mobile-config-title"],[1,"filter-card-row"],["type","button",1,"filter-card",3,"click"],[1,"filter-card-title"],[1,"filter-card-sub"]],template:function(e,n){e&1&&E(0,so,10,6,"ng-container",9),e&2&&C("translocoPrefix","matchmaking")},dependencies:[It,gt,ut,wt,Jt,Pt,H,Ce,ge,Vt,me,se,le,de,_e,re,Ht,Nt,qt,jt,Bt,zt,Dt,Ut,Wt,Zt,Yt,Kt,Qt,Gt,$t,ue,pe,ie,xe,ve,xt],styles:['.message-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;height:100dvh;z-index:1600;background:#fff;display:flex;flex-direction:column;overflow:hidden}.message-overlay[_ngcontent-%COMP%] app-message-widget{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.message-overlay[_ngcontent-%COMP%] app-message-widget .mat-mdc-card{flex:1;min-height:0;max-height:none!important;height:100%;border-radius:0!important;box-shadow:none!important;display:flex;flex-direction:column}.message-overlay[_ngcontent-%COMP%] app-message-widget .thread-container{flex:1;min-height:0}.message-overlay[_ngcontent-%COMP%] app-message-widget main{height:auto!important;flex:1;min-height:0}.overlay-close[_ngcontent-%COMP%]{color:#888;position:absolute;right:10px;top:8px;z-index:1}.overlay-drag-handle[_ngcontent-%COMP%]{width:100%;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0;touch-action:none}.drag-pill[_ngcontent-%COMP%]{width:40px;height:4px;border-radius:2px;background:#ccc}.matchmaking-container[_ngcontent-%COMP%]{display:flex}.MM-wrap[_ngcontent-%COMP%]{max-width:776px;width:100%}.contacts-wrap[_ngcontent-%COMP%]{max-width:540px;width:100%;padding-left:20px}.contacts-wrap.full-width[_ngcontent-%COMP%]{max-width:776px;background:#fff;border-radius:24px;padding:26px 24px}.match-cards-wrap[_ngcontent-%COMP%]{background:#fff;border-radius:0 0 24px 24px;padding:0 24px}.desktop-my-contacts-card[_ngcontent-%COMP%]{width:100%;background:#fff;border-radius:0 0 24px 24px;padding:0 24px 24px}.desktop-header-row[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:32px}.desktop-header-row[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%]{text-align:left}.configure-recommendations-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:10px 18px;border:none;background-color:#f3f6f8;color:#637c8e;border-radius:25px;font-family:Montserrat,sans-serif;font-weight:500;font-size:14px;cursor:pointer}.configure-recommendations-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#637c8e}.desktop-config-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:transparent;z-index:1500}.desktop-config-popup[_ngcontent-%COMP%]{position:fixed;top:90px;left:50%;transform:translate(-50%);width:480px;max-width:calc(100vw - 40px);max-height:calc(100vh - 130px);overflow-y:auto;scrollbar-gutter:stable;background-color:#fff;border-radius:16px;box-shadow:0 16px 40px #00000029;padding:24px;z-index:1501}.desktop-config-popup-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.desktop-config-popup-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%]{text-align:center}.desktop-config-popup-sub[_ngcontent-%COMP%]{display:block;font-size:14px;color:#637c8e;text-align:center;margin:4px auto 20px}.desktop-config-interests-btn[_ngcontent-%COMP%]{width:100%;border:none;background-color:var(--theme-primary-color-500);color:#fff;border-radius:12px;height:48px;font-family:Montserrat,sans-serif;font-weight:500;font-size:15px;cursor:pointer;margin-bottom:20px}.desktop-config-radio[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:0;cursor:pointer;font-family:Montserrat,sans-serif;font-size:15px;
1color:#1a1a1a}.desktop-config-radio[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{appearance:none;width:20px;height:20px;flex-shrink:0;border-radius:50%;border:1.5px solid #EF3F4A;position:relative;margin:0;cursor:pointer}.desktop-config-radio[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked:after{content:"";position:absolute;inset:3px;border-radius:50%;background-color:#ef3f4a}.desktop-config-buttons[_ngcontent-%COMP%]{display:flex;gap:12px;margin-top:24px}.desktop-config-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1}.top-banner[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:24px 24px 0 0;padding:32px 24px;display:flex;flex-direction:column;align-items:center}.main-header[_ngcontent-%COMP%]{font-size:22px;font-weight:600;line-height:26px;text-align:center}.sub-header[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:19.5px;text-align:center;margin-top:15px}.chosen-companies[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:15px;padding:20px 24px;display:flex;flex-direction:column;align-items:center}.main-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;vertical-align:top}.filters[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:15px 0 0;width:100%}.filters[_ngcontent-%COMP%] .mat-mdc-form-field-flex{height:44px}.filter[_ngcontent-%COMP%]{width:100%;display:grid}.custom-field[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%} .custom-field .mat-mdc-select-arrow{display:none!important} .custom-field .mdc-text-field--outlined .mat-mdc-form-field-infix{border-top-width:2px;padding:12px 0 10px} .custom-field .mat-mdc-form-field .mat-mdc-form-field-flex{background-color:#e9edef;border-radius:12px!important;padding:0 10px} .custom-field .mdc-notched-outline__leading, .custom-field .mdc-notched-outline__notch, .custom-field .mdc-notched-outline__trailing{border:0 none!important} .custom-field .mat-mdc-form-field-subscript-wrapper{display:none} .custom-field .mat-mdc-form-field-icon-prefix>.mat-icon{padding:0} .custom-field .mat-mdc-form-field-icon-suffix>.mat-icon{padding:0} .select .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{padding-left:0} .custom-field .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper, .custom-field .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;padding-right:0} .custom-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:50%!important}.category-section[_ngcontent-%COMP%]{padding:5px 8px;margin:0 5px;border-bottom-left-radius:12px;border-bottom-right-radius:12px;box-shadow:0 3px 9px #0000001c;width:calc(100% - 10px);box-sizing:border-box}.category-section[_ngcontent-%COMP%] .mat-tree[_ngcontent-%COMP%]{overflow:hidden;overflow-y:auto;max-height:200px} .category-section .mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple, .category-section .mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple, .category-section .mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple, .category-section .mdc-checkbox:hover>.mdc-checkbox__ripple, .category-section .mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{background:none!important}.category-title[_ngcontent-%COMP%]{padding:16px 12px 16px 16px;background:#e9edef;border-radius:12px;font-weight:400;font-size:14px;line-height:20px;letter-spacing:0%;display:flex;color:#0000008a;justify-content:space-between;align-items:center;width:100%;height:44px}.category-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-overflow:ellipsis;display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all;width:fit-content}.tree-holder[_ngcontent-%COMP%]{width:100%}.connections-guide[_ngcontent-%COMP%]{width:100%;max-width:460px;margin-left:auto}.mm-empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:18px;background:#fff;padding:100px 16px 28px;width:100%;min-height:calc(100vh - 320px)}.mm-empty-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:150px;height:150px;font-size:150px}.mm-empty-state-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:6px;font-family:Roboto,sans-serif;font-weight:400;font-size:18px;line-height:24px;color:#637c8e;text-align:center} .no-contacts-state .mm-highlight{color:var(--theme-primary-color-500);font-weight:600} .mm-empty-state .mm-highlight{color:var(--theme-primary-color-500);font-weight:600}.mm-empty-state-link[_ngcontent-%COMP%]{cursor:pointer}.black-color[_ngcontent-%COMP%]{color:#000}.MMTabGrp[_ngcontent-%COMP%]{width:100%;border-bottom:1px #F0F0F000 solid}.tab-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:999px;background-color:#ef3f4a;color:#fff;font-family:Montserrat,sans-serif;font-size:11px;font-weight:700;line-height:1;vertical-align:middle} .MMTabGrp .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:#000!important;font-weight:600} .MMTabGrp .mat-mdc-tab .mdc-tab__ripple:before{opacity:0!important} .MMTabGrp .mat-mdc-tab-body-wrapper{display:none!important}.contacts-search[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.custom-field[_ngcontent-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-flex{height:44px}.contacts-chips-wrap[_ngcontent-%COMP%]{position:relative;width:100%;margin-right:-8px;margin-bottom:12px}.contacts-chips-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-x:auto;gap:8px;width:100%;padding-bottom:4px;scrollbar-width:none}.contacts-chips-fade[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:32px;height:100%;background:linear-gradient(to right,#fff0,#fff 85%);pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:1}.contacts-chips-fade.contacts-chips-fade-visible[_ngcontent-%COMP%]{opacity:1}.contacts-total-label[_ngcontent-%COMP%]{display:block;width:100%;font-family:Montserrat,sans-serif;font-size:17px;font-weight:600;
1color:#1a1a1a;margin-bottom:12px}.contacts-chips-row[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.contacts-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:2px;background:#e9edef;border:none;border-radius:25px;padding:0 12px 0 14px;height:32px;white-space:nowrap;cursor:pointer;font-size:13px;color:#000000b3;flex-shrink:0}.contacts-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;line-height:18px}.contacts-chip-active[_ngcontent-%COMP%]{background-color:var(--theme-primary-color-500);color:#fff}.contacts-chip-active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff}.contacts-filter-options[_ngcontent-%COMP%]{width:100%;margin-top:12px;overflow-y:auto;max-height:45vh} .contacts-filter-options .mat-mdc-checkbox label{margin-bottom:0!important}.no-contacts-state[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:0 0 24px 24px;padding:32px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:calc(100vh - 420px);justify-content:center}.no-contacts-icon[_ngcontent-%COMP%]{width:172px;height:172px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.no-contacts-svg-icon[_ngcontent-%COMP%]{width:172px;height:172px;font-size:172px;color:#637c8e}.no-contacts-sub[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:18px;font-weight:400;line-height:24px;color:#637c8e;text-align:center;margin-bottom:4px;cursor:default}.no-contacts-sub.primary-color[_ngcontent-%COMP%], .no-contacts-sub.no-contacts-link[_ngcontent-%COMP%]{cursor:pointer}.contacts-interests-layout[_ngcontent-%COMP%]{display:flex;width:100%;height:45vh;margin-top:12px;overflow:hidden;gap:0}.contacts-interests-left[_ngcontent-%COMP%]{width:42%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y;border-right:1px solid #F0F0F0;flex-shrink:0}.contacts-interest-category[_ngcontent-%COMP%]{padding:14px 12px;cursor:pointer;font-size:14px;overflow-wrap:anywhere;color:#000000b3;border-bottom:1px solid #F5F5F5;border-left:2px solid transparent}.contacts-interest-category-active[_ngcontent-%COMP%]{background:#ef3f4a12;border-left:2px solid var(--theme-primary-color-500);color:#000;font-weight:500}.contacts-interest-category-selected[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--theme-primary-color-500);font-weight:500}.contacts-interests-right[_ngcontent-%COMP%]{flex:1;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y;padding:0 0 0 8px}.contacts-interest-checkbox-row[_ngcontent-%COMP%]{display:flex;align-items:center}.filter-card-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;width:100%}.filter-card-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#555}.filter-card-row[_ngcontent-%COMP%]{display:flex;gap:10px}.filter-card[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;border-radius:10px;border:1.5px solid #d0d5db;background:#fff;cursor:pointer;text-align:center;transition:border-color .15s,background .15s;gap:2px}.filter-card-active[_ngcontent-%COMP%]{border-color:var(--theme-primary-color-500);background:color-mix(in srgb,var(--theme-primary-color-500) 7%,transparent)}.filter-card-title[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#1a1a1a;line-height:1.3}.filter-card-sub[_ngcontent-%COMP%]{font-size:11px;font-weight:400;color:#777;line-height:1.3}.contacts-search-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;width:100%}.contacts-search-row[_ngcontent-%COMP%] .contacts-search[_ngcontent-%COMP%]{flex:1;min-width:0}.contacts-sort-btn[_ngcontent-%COMP%]{flex-shrink:0;width:49px;height:44px;border:none;background:#e9edef;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-bottom:10px}.contacts-sort-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#637c8e;width:20px;height:20px;font-size:20px}.contacts-sort-btn.contacts-sort-btn-active[_ngcontent-%COMP%]{background-color:var(--theme-primary-color-50)} .contacts-sort-btn.contacts-sort-btn-active mat-icon svg path{stroke:var(--theme-primary-color-500)!important}.contacts-filters-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px;width:100%}.contacts-filter-chip[_ngcontent-%COMP%]{position:relative} .contacts-filters-row .contacts-filter-chip.mat-mdc-form-field{flex:1 1 auto!important;width:auto!important} .contacts-search-row .contacts-search .mat-mdc-form-field .mat-mdc-form-field-flex{background-color:#fff;border:1px solid #E9EDEF} .contacts-search .mat-mdc-form-field .mdc-text-field__input::placeholder{color:#9c9da4!important} .contacts-filter-chip .mat-mdc-text-field-wrapper{padding:0} .contacts-filter-chip .mat-mdc-form-field-flex{align-items:center;background-color:#e9edef;border-radius:12px!important;padding:10px 10px 10px 6px;height:44px;min-width:0;overflow:hidden} .contacts-filter-chip .mat-mdc-form-field-infix{padding:0!important;min-height:unset;width:auto;position:relative;display:flex;align-items:center} .contacts-filter-chip .mat-mdc-select{flex:0 0 auto!important;width:auto!important} .contacts-filter-chip .mat-mdc-select-trigger{position:absolute!important;inset:0;width:auto} .contacts-filter-chip .mdc-notched-outline__leading, .contacts-filter-chip .mdc-notched-outline__notch, .contacts-filter-chip .mdc-notched-outline__trailing{border:0 none!important} .contacts-filter-chip .mat-mdc-form-field-subscript-wrapper{display:none} .contacts-filter-chip .mat-mdc-select-arrow{display:none!important} .contacts-filter-chip .mat-mdc-select-value, .contacts-filter-chip .mat-mdc-select-trigger, .contacts-filter-chip .mat-mdc-select-min-line{opacity:0}
1 .contacts-filter-chip .mat-mdc-form-field-icon-suffix{padding-left:0;max-height:40px} .contacts-filter-chip .mat-mdc-form-field-icon-suffix .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 20px !important;--mat-icon-button-state-layer-size: 20px !important;padding:0!important} .contacts-filter-chip .mat-mdc-form-field-icon-suffix .mat-icon{color:#637c8e;font-size:20px;width:20px;height:20px;padding:0}.contacts-filter-chip-label[_ngcontent-%COMP%]{display:inline-block;padding:0 8px 0 10px;width:140px;box-sizing:border-box;font-family:Montserrat,sans-serif;font-size:15px;font-weight:400;color:#637c8e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none} .contacts-filter-chip.contacts-filter-chip-active .mat-mdc-form-field-flex{background-color:color-mix(in srgb,var(--theme-primary-color-500) 5%,transparent)}.contacts-filter-chip.contacts-filter-chip-active[_ngcontent-%COMP%] .contacts-filter-chip-label[_ngcontent-%COMP%]{color:#000}.contacts-filter-chip-clear[_ngcontent-%COMP%]{color:var(--theme-primary-color-500)} .contacts-filter-chip .mat-mdc-form-field-icon-suffix .contacts-filter-chip-clear .mat-icon{color:var(--theme-primary-color-500)} .contacts-filter-checkbox-panel{border-radius:12px!important;box-shadow:0 10px 15px #0000000d!important} .contacts-filter-checkbox-panel .mat-mdc-option{gap:11px;min-height:44px} .contacts-filter-checkbox-panel .mat-mdc-option .mdc-list-item__primary-text{font-family:Montserrat,sans-serif;font-weight:500;font-size:14px;color:#000}.contacts-interest-tree-wrap[_ngcontent-%COMP%]{position:relative;flex:1 1 auto;width:auto}.contacts-interest-tree-trigger[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:44px;padding:10px 10px 10px 6px;background-color:#e9edef;border-radius:12px;cursor:pointer}.contacts-interest-tree-trigger[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#637c8e;font-size:20px;width:20px;height:20px}.contacts-interest-tree-trigger.contacts-filter-chip-active[_ngcontent-%COMP%]{background-color:color-mix(in srgb,var(--theme-primary-color-500) 5%,transparent)}.contacts-interest-tree-trigger.contacts-filter-chip-active[_ngcontent-%COMP%] .contacts-filter-chip-label[_ngcontent-%COMP%]{color:#000}.contacts-interest-tree-trigger[_ngcontent-%COMP%] .contacts-filter-chip-clear[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--theme-primary-color-500);font-size:20px;width:20px;height:20px} .contacts-interest-tree-trigger .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 20px !important;--mat-icon-button-state-layer-size: 20px !important;padding:0!important}.contacts-chip-filters-reset[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;width:fit-content;margin-bottom:12px;padding:3px 10px;border:none;background:color-mix(in srgb,var(--theme-primary-color-500) 9%,transparent);border-radius:21px;font-family:Montserrat,sans-serif;font-weight:600;font-size:12px;color:var(--theme-primary-color-500);cursor:pointer;line-height:normal;margin-top:12px}.contacts-chip-filters-reset[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:var(--theme-primary-color-500);display:flex} .contacts-chip-filters-reset mat-icon svg g path{stroke:var(--theme-primary-color-500)!important}.contacts-chip-filters-summary-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:12px}.contacts-chip-filters-summary[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;min-width:0;flex:1 1 auto;font-family:Montserrat,sans-serif;font-weight:600;font-size:10px;color:var(--theme-primary-color-500)}.contacts-chip-filters-summary-text[_ngcontent-%COMP%]{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.contacts-chip-filters-summary[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:16px;width:16px;height:16px;display:flex} .contacts-chip-filters-summary mat-icon svg path{stroke:var(--theme-primary-color-500)!important}.contacts-chip-filters-summary-row[_ngcontent-%COMP%] .contacts-chip-filters-reset[_ngcontent-%COMP%]{margin:0;flex-shrink:0}.contacts-interest-tree-panel[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:300px;max-width:90vw;padding:8px;background:#fff;border-radius:12px;box-shadow:0 10px 15px #0000000d;box-sizing:border-box}.contacts-interest-tree-panel[_ngcontent-%COMP%] .mat-tree[_ngcontent-%COMP%]{max-height:320px;overflow-y:auto}@media only screen and (min-width:768px){.my-contacts[_ngcontent-%COMP%]{margin-top:32px;display:block} .MMTabGrp .mat-mdc-tab-header{background:#e9eaee;border-radius:1000px;padding:4px;height:auto} .MMTabGrp .mat-mdc-tab-labels{width:100%} .MMTabGrp .mdc-tab-indicator{display:none} .MMTabGrp .mat-mdc-tab{flex:1 1 0;height:36px;border-radius:1000px;padding:0} .MMTabGrp .mat-mdc-tab .mdc-tab__text-label{color:#9c9da4;font-weight:500} .MMTabGrp .mat-mdc-tab.mdc-tab--active{background:#fff;border-radius:1000px;box-shadow:0 1px 3px #0000001f} .MMTabGrp .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:#000!important;font-weight:600}.top-banner[_ngcontent-%COMP%]{border:1px solid #E9EAEE;border-bottom:none}.match-cards-wrap[_ngcontent-%COMP%], .desktop-my-contacts-card[_ngcontent-%COMP%]{border:1px solid #E9EAEE;border-top:none}}@media only screen and (max-width:767px){.MM-wrap[_ngcontent-%COMP%]{max-width:100%;width:100%}.main-header[_ngcontent-%COMP%]{display:block;font-size:20px;text-align:center}.main-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px}.top-banner[_ngcontent-%COMP%]{margin-top:-35px;padding:10px 0 20px;margin-bottom:-18px}.chosen-companies[_ngcontent-%COMP%]{padding:0 12px 20px}.contacts-chips-wrap[_ngcontent-%COMP%]{margin-right:4px}.mobile-filters-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;align-items:flex-start}.mobile-filters-wrap[_ngcontent-%COMP%] .mobile-config-title[_ngcontent-%COMP%]{display:block;width:100%}.filters[_ngcontent-%COMP%]{flex-direction:column;width:100%}.mobile-filters-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#00000080;z-index:1500}.mobile-filters[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;width:100%;height:fit-content;padding:20px 24px;background-color:#fff;z-index:1501;display:none;flex-direction:column;justify-content:space-between;align-items:flex-start;border-radius:16px}.mobile-filters-buttons[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;margin-top:26px;min-height:120px}.mobile-filters-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .close-line[_ngcontent-%COMP%]{width:100%}.close-line[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{width:56px;height:4px;background-color:#d9d9dd;margin:auto auto 20px}.filter-button[_ngcontent-%COMP%]{width:100%;padding:12px 16px;display:flex;align-items:center;gap:8px}.filter-button[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-child{flex:1}.top-banner[_ngcontent-%COMP%]{padding:10px 0 20px;margin-bottom:-18px}.with-helper.filter-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:4px}.connections-guide[_ngcontent-%COMP%]{max-width:330px}.match-cards-wrap[_ngcontent-%COMP%]{padding:0}.matchmaking-container[_ngcontent-%COMP%]{background:#fff;padding-bottom:90px} .contacts-search-row .contacts-search .mat-mdc-form-field .mat-mdc-form-field-flex{background-color:#e9edef}}@media only screen and (min-width:768px)and (max-width:1024px){.MM-wrap[_ngcontent-%COMP%]{max-width:100%}}']})}}return i})();export{ra as MatchmakingComponent};
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.