PageSourceSearch

https://jordbruksverket.se/webapp-resource/2.55a8d9cb169292b68928c…/1687420962996/webapp-assets.js

js jordbruksverket.se collected 2026-10-02 02:23:57 UTC 3,198 bytes, 2 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'popup-survey-2|2.0.1',bundle: {"en":{"name":"Name","settings":"Settings","hello":"Hello"},"sv":{"name":"Namn","settings":"Inställningar","hello":"Hej"}}});
2AppRegistry.registerModule({applicationId:'popup-survey-2|2.0.1',path:'/main',module:function(define){'use strict';define(["react","react-dom"],(function(e,t){return function(){"use strict";var n={650:function(t){t.exports=e},729:function(e){e.exports=t}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var l=o[e]={exports:{}};return n[e](l,l.exports,r),l.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return function(){r.r(l),r.d(l,{default:function(){return u}});var e=r(650),t=r(729),n=r.n(t),o=t=>{let{settings:n}=t;function o(){envision.dialog("#popup_modal_"+n.currentPortletHtmlId).then((function(e){e[0].show()}))}function r(){envision.dialog("#popup_modal_"+n.currentPortletHtmlId).then((function(e){e[0].hide()}))}return(0,e.useEffect)((()=>{setTimeout(o,n.delay)}),[]),e.createElement(e.Fragment,null,e.createElement("div",{id:`popup_modal_${n.currentPortletHtmlId}`,class:"popup-modal env-modal-dialog",role:"dialog","aria-modal":"true","aria-labelledby":`popup_heading_${n.currentPortletHtmlId}`,"aria-hidden":"true"},e.createElement("div",{class:"env-modal-dialog__dialog"},e.createElement("section",{class:"env-modal-dialog__content"},e.createElement("div",{class:"env-modal-dialog__body"},e.createElement("h2",{id:`popup_heading_${n.currentPortletHtmlId}`,class:"popup-heading"},n.heading),e.createElement("p",{class:"popup-message env-text env-m-bottom--large"},n.message),e.createElement("p",{class:"popup-link-wrapper env-text"},e.createElement("a",{href:n.link,className:`popup-link ${n.linkStyle}`,target:"_blank",onClick:()=>{localStorage.setItem(n.currentPortletHtmlId,"Ok"),r()}},n.linkText))),e.createElement("footer",{class:"popup-footer env-modal-dialog__footer"},e.createElement("button",{type:"button",className:`popup-later-button env-button ${n.laterButtonStyle}`,onClick:()=>{sessionStorage.setItem(n.currentPortletHtmlId,"Later"),r()}},n.laterButtonText)," ",e.createElement("button",{type:"button",className:`popup-cancel-button env-button ${n.cancelButtonStyle}`,onClick:()=>{localStorage.setItem(n.currentPortletHtmlId,"Cancel"),r()}},n.cancelButtonText))))))},a=t=>{let{settings:n}=t;const[r,l]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{const e=sessionStorage.getItem(n.currentPortletHtmlId),t=localStorage.getItem(n.currentPortletHtmlId);!n.popup||e||t?n.popup||(localStorage.removeItem(n.currentPortletHtmlId),sessionStorage.removeItem(n.currentPortletHtmlId)):l(!0)}),[]),e.createElement(e.Fragment,null,r?e.createElement(o,{settings:n}):null)},u=(t,o)=>{n().hydrate(e.createElement(a,t),o)}}(),l}()}));}});

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.