PageSourceSearch

https://www.wigasoft.ch/component---src-pages-news-index-tsx-a71e7e820a84dbe40bb8.js

js wigasoft.ch collected 2026-10-08 03:27:08 UTC 11,291 bytes, 2 lines download raw bytes

1(self.webpackChunkgatsby_starter_goeast=self.webpackChunkgatsby_starter_goeast||[]).push([[9756],{9947:function(e,t,n){"use strict";n.d(t,{ZT:function(){return r},on:function(){return a},S1:function(){return i},jU:function(){return o}});var r=function(){};function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var o="undefined"!=typeof window},1969:function(e,t,n){"use strict";var r=n(7294);t.Z=function(e){var t=e.isNews;return r.createElement(r.Fragment,null,r.createElement("div",{className:"navContentSpacerHelperSingleNavBar"}),r.createElement("header",{className:"navWrapper"},r.createElement("nav",{className:"mainNav singleNavBar"},r.createElement("div",{className:"mainNavBackgroundHelper"}),r.createElement("div",{className:"logo"},r.createElement("a",{href:"/"},r.createElement("img",{src:"/assets/images/logos/wigasoft-logo.svg",alt:"WigaSoft Logo",width:"175"}))),r.createElement("div",{className:"mainNav-opener"}),r.createElement("ul",{className:"mainLinks"},r.createElement("li",{className:t?"is-active":""},r.createElement("a",{href:"/news/"},"News")),r.createElement("li",null,r.createElement("a",{href:"/dokumentationsloesungen/heime/"},"Heime")),r.createElement("li",null,r.createElement("a",{href:"/dokumentationsloesungen/spitaeler/"},"Spitäler")),r.createElement("li",null,r.createElement("a",{href:"/dokumentationsloesungen/rehabilitation/"},"Rehabilitation")),r.createElement("li",null,r.createElement("a",{href:"/portrait/"},"Über uns")),r.createElement("li",null,r.createElement("a",{href:"/support/"},"Support")),r.createElement("li",null,r.createElement("a",{href:"https://www.linkedin.com/company/wigasoft-ag"},r.createElement("div",{className:"linkedInIcon"})))))))}},8799:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7294),a=n(9),i=n(5826),o=n(9947),c=o.jU?r.useLayoutEffect:r.useEffect,s={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};var l=o.jU&&void 0!==window.ResizeObserver?function(){var e=(0,r.useState)(null),t=e[0],n=e[1],a=(0,r.useState)(s),i=a[0],o=a[1],l=(0,r.useMemo)((function(){return new window.ResizeObserver((function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,a=t.width,i=t.height,c=t.top,s=t.left,l=t.bottom,u=t.right;o({x:n,y:r,width:a,height:i,top:c,left:s,bottom:l,right:u})}}))}),[]);return c((function(){if(t)return l.observe(t),function(){l.disconnect()}}),[t]),[n,i]}:function(){return[o.ZT,s]},u=n(5444),f=function(e){var t=e.data,n=(0,r.useState)(void 0),a=n[0],i=n[1],o=(0,r.useState)(void 0),c=o[0],s=o[1],f=(0,r.useState)(void 0),p=f[0],d=f[1],m=l(),h=m[0],v=m[1].height,g=function(){return Math.ceil((v+22.5)/32.5)},w=new Date(t.postDate),x=(0,r.useState)(g()),b=x[0],E=x[1];return(0,r.useEffect)((function(){i(t.prevtitel.find((function(e){return e.titel}))),s(t.prevlead.find((function(e){return e.lead}))),d(t.prevtext.find((function(e){return e.text})))}),[]),(0,r.useLayoutEffect)((function(){E(g)}),[v]),r.createElement("div",{className:"news-item item blog",style:{gridRowEnd:"span "+b}},r.createElement("div",{className:"content",ref:h},r.createElement(u.rU,{to:"/"+t.uri},r.createElement("h4",{className:"is-color"},null!=a?a.titel:t.title),r.createElement("p",{className:"more-arrow"},r.createElement("span",{className:"articleLead"},null!=c?c.lead:"")," ",null!=p?p.text:""),r.createElement("h6",{className:"articleDate padding-7-top"},"News / ",w.toLocaleDateString("de-CH",{day:"numeric",month:"long",year:"numeric"})))))},p=a.ZP.div.withConfig({displayName:"NewsGrid__GridDiv",componentId:"sc-1l9ca9q-0"})(["display:flex;flex-direction:column;> div{margin-bottom:","px;}@supports (display:grid){> div{margin-bottom:0;}display:grid;grid-gap:","px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-auto-rows:10px;@media screen and (min-width:","px){grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-column-gap:","px;}@media screen and (min-width:","px){grid-template-columns:repeat(auto-fill,minmax(350px,1fr));}@media screen and (min-width:","px){grid-template-columns:repeat(auto-fill,minmax(400px,1fr));grid-column-gap:","px;}}"],i.i.spacerSidesMobile,i.i.spacerSidesMobile,i.A.pageWidthTabletVert,i.i.spacerMobile,i.A.pageWidthTabletHor,i.A.pageWidthPC,i.i.spacerPC),d=function(e){var t=e.entries;return r.createElement(r.Fragment,null,r.createElement(p,{className:"grid has-padding-top has-padding-bottom"},void 0!==t?t.map((function(e){return r.createElement(f,{key:e.id,data:e})})):""))}},9448:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var r=n(7294),a=n(9947),i=function(e){var t=window.history,n=t[e];t[e]=function(t){var r=n.apply(this,arguments),a=new Event(e.toLowerCase());return a.state=t,window.dispatchEvent(a),r}};a.jU&&(i("pushState"),i("replaceState"));var o=function(e){var t=window.history,n=t.state,r=t.length,a=window.location;return{trigger:e,state:n,length:r,hash:a.hash,host:a.host,hostname:a.hostname,href:a.href,origin:a.origin,pathname:a.pathname,port:a.port,protocol:a.protocol,search:a.search}},c="function"==typeof Event,s=a.jU&&c?function(){var e=(0,r.useState)(o("load")),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){return n(o("popstate"))},t=function(){return n(o("pushstate"))},r=function(){return n(o("replacestate"))};return(0,a.on)(window,"popstate",e),(0,a.on)(window,"pushstate",t),(0,a.on)(window,"replacestate",r),function(){(0,a.S1)(window,"popstate",e),(0,a.S1)(window,"pushstate",t),(0,a.S1)(window,"replacestate",r)}}),[]),t}:function(){return{trigger:"load",length:1}},l=n(5444),u=n(8400),f=n.n(u),p=n(4738),d=n(8799),m=n(2577),h=n(1969),v=n(9),g=n(5826),w=v.ZP.a.withConfig({displayName:"PaginationLink__PaginationDiv",componentId:"sc-1b669zm-0"})(["width:35px;height:35px;background:#a9acaf;color:white;text-align:center;display:inline-flex;flex-direction:column;justify-content:center;cursor:pointer;text-decoration:none;&:hover,&.active{background:#ff6a39;color:white;}@media screen AND (min-width:","px){width:45px;height:45px;}"],g.A.pageWidthPC),x=function(e){var t=e.index,n=e.activeChunk,a=e.setActiveChunk;return r.createElement(w,{href:"#"+t,className:n===t?"pagination active":"pagination",onClick:function(){a(t),setTimeout((function(){window.scrollTo({left:0,top:0,behavior:"smooth"})}),50)}},t+1)},b=v.ZP.div.withConfig({displayName:"NewsArchivHeading__HeaderDiv",componentId:"sc-12u8693-0"})(['width:100%;height:24vh;max-height:240px;background:url("https://wigasoft-prod.imgix.net/backgrounds/bkg-wigasoft.png?ch=Width,DPR&auto=compress,format&cs=strip&w=2560&h=400&fit=crop&flip=h");background-size:cover;background-repeat:no-repeat;display:flex;flex-direction:column;justify-content:center;@media screen AND (max-width:1023px){> div{width:100%;}}h1{color:white;}']),E=function(){return r.createElement(b,{className:"headerDivNews"},r.createElement("div",{className:"wrapper has-padding-top has-padding-bottom"},r.createElement("h1",{className:"h1"},"News")))},y=function(){var e=(0,l.K2)("544844991"),t=f()(e.cms.entries,10),n=s().hash,a=n?n.split("#")[1]:"0",i=(0,r.useState)(parseInt(a)),o=i[0],c=i[1];return r.createElement(p.Z,{title:"News"},r.createElement(h.Z,{isNews:!0}),r.createElement(E,null),r.createElement("div",{className:"wrapper has-padding-top has-padding-bottom home"}
vendor: 3,835 bytes, lines 1-2
1,r.createElement(d.Z,{entries:t[o]})),r.createElement("div",{className:"has-padding-bottom",style:{textAlign:"center"}},t.map((function(e,t){return r.createElement(x,{activeChunk:o,setActiveChunk:c,index:t,key:t})}))),r.createElement(m.Z,null))}},5826:function(e,t,n){"use strict";n.d(t,{i:function(){return r},A:function(){return a}});var r={spacerSidesMobile:22.5,spacerMobile:45,spacerPC:90},a={pageWidthTabletVert:768,pageWidthTabletHor:1024,pageWidthPC:1280,pageWidthPCXL:1920}},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},4239:function(e,t,n){var r=n(2705),a=n(9607),i=n(2333),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},4259:function(e){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},7561:function(e,t,n){var r=n(7990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},9607:function(e,t,n){var r=n(2705),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(s){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},6612:function(e,t,n){var r=n(7813),a=n(8612),i=n(5776),o=n(3218);e.exports=function(e,t,n){if(!o(n))return!1;var c=typeof t;return!!("number"==c?a(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5639:function(e,t,n){var r=n(1957),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},7990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},8400:function(e,t,n){var r=n(4259),a=n(6612),i=n(554),o=Math.ceil,c=Math.max;e.exports=function(e,t,n){t=(n?a(e,t,n):void 0===t)?1:c(i(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var l=0,u=0,f=Array(o(s/t));l<s;)f[u++]=r(e,l,l+=t);return f}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},8612:function(e,t,n){var r=n(3560),a=n(1780);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},3560:function(e,t,n){var r=n(4239),a=n(3218);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},3448:function(e,t,n){var r=n(4239),a=n(7005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},8601:function(e,t,n){var r=n(4841),a=1/0;e.exports=function(e){return e?(e=r(e))===a||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},554:function(e,t,n){var r=n(8601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},4841:function(e,t,n){var r=n(7561),a=n(3218),i=n(3448),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}}}]);
2//# sourceMappingURL=component---src-pages-news-index-tsx-a71e7e820a84dbe40bb8.js.map

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.