PageSourceSearch

https://unia.ch/_assets/f47debafe7c72acba299e817b5fb3558/JavaScript/Bundles/bundle.8cd579f14e0528fb501e.js

js unia.ch collected 2026-10-02 08:01:09 UTC 1,648 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkunia21=self.webpackChunkunia21||[]).push([[111],{111:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var a=n(7371),o=n.n(a);class s{constructor(){const e=document.documentElement.lang||"de",t=e.toLowerCase()+"-ch";let n=1,a=!0,s="",c=null,l="json",r="https://do-api.lohnrechner.ch/api/",i="https://lohnrechner.ch/",h="beruf";switch(e){case"fr":i="https://calculateur-de-salaire.ch/ ",h="profession";break;case"it":i="https://calcolatore-salariale.ch/",h="professione"}const d=document.getElementById("sallary-calculator-alert");if(window.location.href.startsWith("https://unia.ch.ddev.site/")||window.location.href.startsWith("https://staging.unia.ch/"))switch(r="https://backend-dev.lr.d-o.li/api/",e){case"fr":i="https://frontend-dev-fr.lr.d-o.li/ ";break;case"it":i="https://frontend-dev-it.lr.d-o.li/";break;default:i="https://frontend-dev.lr.d-o.li/"}new(o())("#job-select",{valueField:"pk",labelField:"name",searchField:"name",load:function(e,o){if(!e.length)return o();n=1,a=!0,s=e,fetch(`${r}occupation/?search=${encodeURIComponent(e)}&${l}=json&page=${n}`,{headers:{"Accept-Language":t}}).then(e=>e.json()).then(e=>{n++,a=!!e.next,o(e.results)}).catch(()=>o())},onScrollToBottom:function(){a&&s&&fetch(`${r}occupation/?search=${encodeURIComponent(query)}&${l}=json&page=${n}`,{headers:{"Accept-Language":t}}).then(e=>e.json()).then(e=>{n++,a=!!e.next,this.addOptions(e.results),this.refreshOptions(!1)})},onChange:function(e){c=e}}),document.getElementById("btn-calculate").addEventListener("click",function(){c?(d.classList.add("d-none"),window.open(`${i}?${h}=${c}`,"_blank")):d.classList.remove("d-none")})}}}}]);

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.