PageSourceSearch

https://intermark.global/_nuxt/BL8PgZew.js

js intermark.global collected 2026-10-06 16:27:53 UTC 12,932 bytes, 5 lines download raw bytes

1import{d as te,aa as Ee,x as p,E as N,D as x,h as ce,o as i,c,n as s,a as d,t as L,b as F,q as C,C as _e,m as t,B as K,N as pe,F as q,p as w,A as ee,W as Te,aG as W,aV as Se,_ as se,i as ve,j as le,Q as Le,aW as Ce,w as de,l as ue,Y as $e,v as ge,H as re,f as Ne,aX as Q,O as be,a0 as De,R as Me,G as ye,S as Fe,a5 as xe,u as qe,I as we}from"./C8lE_Se_.js";import{u as ae}from"./pNNkf7IQ.js";import{I as Ae}from"./DQkTe4Ms.js";import"./DuW1kofe.js";import"./CHgCJZGK.js";import"./DyG6MbDx.js";var $=(l=>(l.FINANCIAL_INDEPENDENCE="Financial independence",l.DIRECT_CITIZENSHIP="Direct Citizenship",l.INVESTMENT_IN_REAL_ESTATE="Investment in Real Estate",l.INVESTMENT_IN_FOUNDS="Investment in Funds",l.DONATION_TO_THE_STATE="Donation to the State",l.BY_INVESTMENT="By Investment",l))($||{});const D={name:"country",value:"country.name"},P={name:"immigrationStatus",value:"immigration_status"},ie={name:"type",value:"permit_type_of_investment"},R={name:"volInvest",value:"volume_of_investments",isPrice:!0},V={name:"holdingPeriod",value:"minimum_asset_holding_period"},M={name:"visit",value:"need_visit_country_process_obtaining_citizenship",big:!0,confirmation:!0},B={name:"stayTime",value:"required_time_of_stay",fixHeight:!0},H={name:"validityPeriod",value:"validity_period"},ke={name:"visaFree",value:"visa_free_countries"},Oe={name:"schengen",value:"schengen",confirmation:!0},Pe={name:"availableCountries",value:"countries_available_to_visit",fixHeight:!0,tags:!0},Re={name:"spouse",value:"spouse"},Ve={name:"children",value:"children"},Be={name:"parents",value:"parents"},He={name:"siblings",value:"brother_and_sisters"},ze={name:"passiveIncome",value:"permit_income",isPrice:!0},z={name:"extensionAvailability",value:"permit_extension_availability",confirmation:!0},X={name:"employment",value:"permit_the_possibility_of_employment",mark:!0},G={name:"moneyConfirmation",value:"permit_confirmation_of_the_origin_of_funds",mark:!0},Ge={name:"estateOrRent",value:"permit_real_estate_in_ownership_or_long_term_rent",confirmation:!0},J={name:"permanentResidence",value:"permit_opportunity_to_obtain_permanent_residence"},U={name:"opportunityCitizenship",value:"permit_conditions_for_obtaining_citizenship"},Y={name:"processingTime",value:"processing_time"},Ue={name:"requiredStay",value:"has_required_time_of_stay_in_the_country",mark:!0},Ye=["title"],Ze=["innerHTML"],je=["innerHTML"],We=te({__name:"ComparisonProgram",props:{fileds:{},program:{},showLabels:{type:Boolean},test:{type:Boolean}},setup(l){const n=l,{t:a}=Ee(),I=ae(),S=p(N.large),r=p(x.secondary),f=e=>{if(Object.hasOwn(e,"mark"))return W(n.program,e.value,!1)?`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
2                        <path d="M6.66674 10.1145L12.7947 3.98584L13.7381 4.92851L6.66674 11.9998L2.42407 7.75717L3.36674 6.81451L6.66674 10.1145Z" fill="#65C466"/>
3                      </svg>`:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
4                        <path d="M7.99999 7.05732L11.3 3.75732L12.2427 4.69999L8.94266 7.99999L12.2427 11.3L11.3 12.2427L7.99999 8.94266L4.69999 12.2427L3.75732 11.3L7.05732 7.99999L3.75732 4.69999L4.69999 3.75732L7.99999 7.05732Z" fill="#EA4E3D"/>
5                       </svg>`;if(Object.hasOwn(e,"confirmation"))return W(n.program,e.value,!1)?a("yes"):a("no");if(Object.hasOwn(e,"isPrice")){const o=W(n.program,e.value,0);return o?`${n.program.currency?.symbol||""}${Se(o)}`:"-"}return W(n.program,e.value,"–")??"–"},u=e=>e.map(o=>({name:o.name,imageBeforeContent:o.logo,color:"gray"}));return ce(e=>{S.value=e?N.medium:N.large,r.value=e?x.tertiary:x.secondary},"isMobile"),(e,o)=>{const g=pe,v=_e,A=Te;return i(),c("div",{class:s(e.$style.ComparisonProgram)},[d("div",{class:s(e.$style.top)},[l.program.name?(i(),c("p",{key:0,class:s(e.$style.name),title:l.program.name},L(l.program.name),11,Ye)):F("",!0),C(v,{equal:"",size:t(S),color:t(r),onClick:o[0]||(o[0]=E=>t(I).removeProgram(l.program))},{default:K(()=>[d("span",{class:s(e.$style.icon)},[C(g,{name:"trash"})],2)]),_:1},8,["size","color"])],2),d("div",{class:s(e.$style.fields)},[(i(!0),c(q,null,w(l.fileds,E=>(i(),c("div",{key:`cell-program-${E.title}`,class:s(e.$style.grid)},[l.showLabels?(i(),c("h2",{key:0,class:s(e.$style.fieldTitle)},L(e.$t(`pages.comparison.table.${E.title}`)),3)):F("",!0),(i(!0),c(q,null,w(E.data,m=>(i(),c("div",{key:`cell-program-${E.title}-${m.name}`,class:s([e.$style.cell,{[e.$style._fixHeight]:m?.fixHeight}])},[l.showLabels?(i(),c("p",{key:0,class:s(e.$style.label),innerHTML:e.$t(`pages.comparison.table.${m.name}`)},null,10,Ze)):F("",!0),m?.tags?m?.tags&&Array.isArray(f(m))?(i(),ee(A,{key:2,"modal-title":e.$t(`pages.comparison.table.${m.name}`),specs:u(f(m)),"gap-size":"0.8rem",wrap:"","is-modal":"","is-dynamic-rendering":""},null,8,["modal-title","specs"])):F("",!0):(i(),c("div",{key:1,class:s([e.$style.text,{[e.$style._big]:m?.big}]),innerHTML:f(m)},null,10,je))],2))),128))],2))),128))],2)],2)}}}),Qe="_ComparisonProgram_ryrqn_21",Xe="_top_ryrqn_25",Je="_icon_ryrqn_63",Ke="_name_ryrqn_68",et="_fields_ryrqn_87",tt="_grid_ryrqn_98",st="_fieldTitle_ryrqn_117",at="_cell_ryrqn_134",nt="__fixHeight_ryrqn_139",ot="_label_ryrqn_153",it="_text_ryrqn_170",lt="__big_ryrqn_177",rt={ComparisonProgram:Qe,top:Xe,icon:Je,name:Ke,fields:et,grid:tt,fieldTitle:st,cell:at,_fixHeight:nt,label:ot,text:it,_big:lt},ct={$style:rt},_t=se(We,[["__cssModules",ct]]),ut=te({__name:"ComparisonSlider",props:{fields:{},type:{}},emits:["change-index"],setup(l,{emit:n}
5){const a=l,I=n,S=ae(),r=p(null),f=p(null),u=p(null),e=p(null),o=p(null),g=p(3),v=re(()=>S.programs[a.type]),A=()=>{const{slider:_,handleInitSlider:T,destroySlider:b,activeIndex:O,updateSlider:oe}=Ne(v,{sliderRef:r,navigationRef:u},{loop:!1,breakpoints:{0:{slidesPerView:2,spaceBetween:8},768:{slidesPerView:3,spaceBetween:30}},watchSlidesProgress:!0});return{slider:_,handleInitSlider:T,destroySlider:b,activeIndex:O,updateSlider:oe}};function E(){const _=u.value?.querySelector(".prev"),T=u.value?.querySelector(".next");_&&T&&(Q.to(_,{x:0,opacity:1,duration:.5}),Q.to(T,{x:0,opacity:1,duration:.5}))}const m=()=>{const _=u.value?.querySelector(".prev"),T=u.value?.querySelector(".next");_&&T&&(Q.to(_,{x:-100,opacity:0,duration:.5}),Q.to(T,{x:100,opacity:0,duration:.5}))},Z=()=>{o.value&&(clearTimeout(o.value),o.value=null),E(),o.value=setTimeout(()=>{m()},2e3)},k=()=>{o.value&&(clearTimeout(o.value),o.value=null),o.value=setTimeout(()=>{m()},2e3)},ne=()=>{o.value&&(clearTimeout(o.value),o.value=null),E()};return ve(async()=>{await le(),e.value=A(),e.value&&(e.value.handleInitSlider(),m())}),Le(()=>{e.value&&e.value.destroySlider(),o.value&&clearTimeout(o.value),Ce.getAll().forEach(_=>{_.vars.trigger===r.value&&_.kill()})}),de(v,()=>{e.value&&e.value.updateSlider()}),de(()=>e.value?.activeIndex,async()=>{await le(),I("change-index",e.value?.activeIndex??0)}),ce(_=>{_?g.value=v.value.length-2:g.value=v.value.length-3},"isMobile"),(_,T)=>(i(),c("div",{ref_key:"rootRef",ref:f,class:s(_.$style.ComparisonSlider),onMouseleave:k,onMouseenter:Z,onTouchstart:Z,onTouchend:k},[d("div",{ref_key:"navigationRef",ref:u,class:s(_.$style.navigation),onMouseenter:ne,onMouseleave:k},[ue(C($e,{class:s(_.$style.navigationComponent),index:t(e)?.activeIndex||0,"disable-next":t(e)?.slider?.isEnd,"disable-prev":t(e)?.slider?.isBeginning},null,8,["class","index","disable-next","disable-prev"]),[[ge,t(e)?.slider]])],34),d("div",{ref_key:"sliderRef",ref:r,class:s(["swiper-container",_.$style.slider])},[d("div",{class:s(["swiper-wrapper",{[_.$style.wrapper]:!t(e)?.slider}])},[(i(!0),c(q,null,w(t(v),(b,O)=>(i(),ee(_t,{key:`program-${b.id}`,class:"swiper-slide",fileds:l.fields,program:b,"show-labels":O===t(e)?.activeIndex},null,8,["fileds","program","show-labels"]))),128))],2)],2)],34))}}),mt="_navigation_1i2ef_21",dt="_navigationComponent_1i2ef_48",pt="_slider_1i2ef_48",vt="_wrapper_1i2ef_58",gt={navigation:mt,navigationComponent:dt,slider:pt,wrapper:vt},yt={$style:gt},ft=se(ut,[["__cssModules",yt]]),ht=["title"],It=["innerHTML"],Et=te({__name:"ComparisonList",props:{type:{}}
5,setup(l){const n=l,a=be(),I=De(),S=ae(),r=p(N.large),f=p(x.secondary),u=p(0),e=p(3),o=p(!0),g=[ke,Oe,Pe],v=[Re,Ve,Be,He],A=[D,ze,ie,H,z,M,B,X,G,Ge,J,U],E=[D,P,ie,R,V,M,B,Y],m=[D,P,R,V,M,H,z,Y,G,B,z,U],Z=[D,P,R,V,M,H,Y,X,G,Ue,J,U],k=[D,P,R,V,M,H,z,Y,X,G,B,J,U],ne=[D,P,ie,R,V,M,H,z,Y,X,G,B,J,U],_=p({[$.FINANCIAL_INDEPENDENCE]:[{title:"general",data:A},{title:"travel",data:g},{title:"family",data:v}],[$.DIRECT_CITIZENSHIP]:[{title:"general",data:E},{title:"travel",data:g},{title:"family",data:v}],[$.INVESTMENT_IN_REAL_ESTATE]:[{title:"general",data:m},{title:"travel",data:g},{title:"family",data:v}],[$.INVESTMENT_IN_FOUNDS]:[{title:"general",data:k},{title:"travel",data:g},{title:"family",data:v}],[$.DONATION_TO_THE_STATE]:[{title:"general",data:Z},{title:"travel",data:g},{title:"family",data:v}],[$.BY_INVESTMENT]:[{title:"general",data:ne},{title:"travel",data:g},{title:"family",data:v}]}),T=re(()=>S.programs[n.type].slice(u.value,e.value+u.value)),b=re(()=>[{[a._scrolled]:I.isScrolled&&I.isVisible&&!I.isTransparent&&!I.isBurgerMenuVisible,[a._hidden]:o.value}]),O=y=>{o.value=!!y?.[0]?.isIntersecting},oe=y=>{u.value=y};return ce(y=>{r.value=y?N.medium:N.large,f.value=y?x.tertiary:x.secondary,e.value=y?2:3},"isMobile"),(y,me)=>{const fe=pe,he=_e,Ie=Me("intersect");return i(),c("section",{class:s(t(a).ComparisonList)},[d("div",{class:s([t(a).headerContainer,t(b)])},[d("div",{class:s(["container",t(a).comparisonHeader])},[d("p",{class:s([t(a).cellTitle,t(a)._top,t(a)._header])},L(y.$t("pages.comparison.table.program")),3),(i(!0),c(q,null,w(t(T),h=>(i(),c("div",{key:`program-${h.id}`,class:s(t(a).program)},[h.name?(i(),c("p",{key:0,class:s(t(a).name),title:h.name},L(h.name),11,ht)):F("",!0),C(he,{equal:"",size:t(r),color:t(f),onClick:j=>t(S).removeProgram(h)},{default:K(()=>[d("span",{class:s(t(a).icon)},[C(fe,{name:"trash"})],2)]),_:1},8,["size","color","onClick"])],2))),128))],2)],2),d("div",{class:s(t(a).labels)},[ue((i(),c("p",{class:s([t(a).cellTitle,t(a)._top])},[ye(L(y.$t("pages.comparison.table.program")),1)],2)),[[Ie,{handler:O,options:{threshold:[1]}}]]),d("div",{class:s(t(a).fields)},[(i(!0),c(q,null,w(t(_)[n.type],h=>(i(),c("div",{key:h.title,class:s(t(a).grid)},[d("h2",{class:s(t(a).cellTitle)},L(y.$t(`pages.comparison.table.${h.title}`)),3),(i(!0),c(q,null,w(h.data,j=>(i(),c("p",{key:`label-${j.value}`,class:s(t(a).label),style:Fe(j?.fixHeight?{height:"5.6rem"}:{}),innerHTML:y.$t(`pages.comparison.table.${j.name}`)},null,14,It))),128))],2))),128))],2)],2),C(ft,{class:s(t(a).slider),fields:t(_)[l.type],type:l.type,onChangeIndex:me[0]||(me[0]=h=>oe(h))},null,8,["class","fields","type"])],2)}}}),Tt="_ComparisonList_3q7xs_21",St="_headerContainer_3q7xs_37",Lt="__scrolled_3q7xs_50",Ct="__hidden_3q7xs_58",$t="_comparisonHeader_3q7xs_63",Nt="_program_3q7xs_82",bt="_icon_3q7xs_112",Dt="_name_3q7xs_117",Mt="_labels_3q7xs_142",Ft="_fields_3q7xs_147",xt="_grid_3q7xs_153",qt="_cellTitle_3q7xs_180",wt="__top_3q7xs_187",At="__header_3q7xs_191",kt="_label_3q7xs_142",Ot="_slider_3q7xs_210",Pt={ComparisonList:Tt,headerContainer:St,_scrolled:Lt,_hidden:Ct,comparisonHeader:$t,program:Nt,icon:bt,name:Dt,labels:Mt,fields:Ft,grid:xt,cellTitle:qt,_top:wt,_header:At,label:kt,slider:Ot},Rt={$style:Pt},Vt=se(Et,[["__cssModules",Rt]]),Bt=te({__name:"comparison",setup(l){const n=ae(),a=p(!1);function I(r){r?.type&&n.setSelectedType(r.type)}async function S(){const f={id:n.allPrograms.map(u=>u.id)};try{const{$fetchData:u}=qe(),e=await u.immigration.getComparison(f);n.overwriteStore(e.programs)}catch(u){console.warn("[ComparisonPage/fetchData] Error: ",u)}a.value=!0}return ve(async()=>{await le(),await S(),n.createSpecs()}),(r,f)=>{const u=_e;return ue((i(),c("div",{class:s([r.$style.ComparisonPage,"page","container"])},[d("h1",{class:s(r.$style.title)},L(r.$t("pages.comparison.title")),3),t(n).getCount&&t(n).specs?.type?.length&&t(n).facets?.type?.length?(i(),ee(Ae,{key:`${t(n).facets.type?.length}-comparison-tabs`,class:s(r.$style.tabs),specs:t(n).specs,facets:t(n).facets,values:{type:t(n).selectedType},onChange:I},null,8,["class","specs","facets","values"])):F("",!0),C(xe,{name:"fade-fast",mode:"out-in"},{default:K(()=>[t(n).getCount&&t(a)?(i(),ee(Vt,{key:`list-${t(n).selectedType}-${t(n).getCount}`,type:t(n).selectedType},null,8,["type"])):(i(),c("div",{key:1,class:s(r.$style.empty)},[d("h2",{class:s(r.$style.title)},L(r.$t("noResultsFound")),3),C(u,{size:t(N).large,to:t(we).immigration},{default:K(()=>[ye(L(r.$t("pages.comparison.back")),1)]),_:1},8,["size","to"])],2))]),_:1})],2)),[[ge,t(a)]])}}}),Ht="_ComparisonPage_c0psx_21",zt="_title_c0psx_28",Gt="_tabs_c0psx_60",Ut="_empty_c0psx_75",Yt={ComparisonPage:Ht,title:zt,tabs:Gt,empty:Ut},Zt={$style:Yt},es=se(Bt,[["__cssModules",Zt]]);export{es as default};

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.