PageSourceSearch

https://www.shn.ch/modules/custom/shn_js_front_page/react_app/build/static/js/4.b3cbf1aa.chunk.js

js shn.ch collected 2026-10-02 06:57:07 UTC 28,937 bytes, 2 lines download raw bytes

1(this.webpackJsonpshn_front=this.webpackJsonpshn_front||[]).push([[4],{447:function(e,t,n){"use strict";var r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i="["+r+"][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",a=new RegExp("^"+i+"$");t.isExist=function(e){return"undefined"!==typeof e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t)for(var r=Object.keys(t),i=r.length,a=0;a<i;a++)e[r[a]]="strict"===n?[t[r[a]]]:t[r[a]]},t.getValue=function(e){return t.isExist(e)?e:""},t.buildOptions=function(e,t,n){var r={};if(!e)return t;for(var i=0;i<n.length;i++)void 0!==e[n[i]]?r[n[i]]=e[n[i]]:r[n[i]]=t[n[i]];return r},t.isTagNameInArrayMode=function(e,t,n){return!1!==t&&(t instanceof RegExp?t.test(e):"function"===typeof t?!!t(e,n):"strict"===t)},t.isName=function(e){var t=a.exec(e);return!(null===t||"undefined"===typeof t)},t.getAllMatches=function(e,t){for(var n=[],r=t.exec(e);r;){for(var i=[],a=r.length,o=0;o<a;o++)i.push(r[o]);n.push(i),r=t.exec(e)}return n},t.nameRegexp=i},454:function(e,t,n){"use strict";var r=n(447),i=n(447).buildOptions,a=n(477),o=n(478);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var s={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[]};t.defaultOptions=s;var u=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes"];function l(e,t,n){return t&&(n.trimValues&&(t=t.trim()),t=f(t=n.tagValueProcessor(t,e),n.parseNodeValue,n.numParseOptions)),t}function d(e,t){if(t.ignoreNameSpace){var n=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===n[0])return"";2===n.length&&(e=r+n[1])}return e}function f(e,t,n){if(t&&"string"===typeof e){var i=e.trim();return"true"===i||"false"!==i&&o(e,n)}return r.isExist(e)?e:""}t.props=u;var c=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function p(e,t){if(!t.ignoreAttributes&&"string"===typeof e){e=e.replace(/\r?\n/g," ");for(var n=r.getAllMatches(e,c),i=n.length,a={},o=0;o<i;o++){var s=d(n[o][1],t);s.length&&(void 0!==n[o][4]?(t.trimValues&&(n[o][4]=n[o][4].trim()),n[o][4]=t.attrValueProcessor(n[o][4],s),a[t.attributeNamePrefix+s]=f(n[o][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(a[t.attributeNamePrefix+s]=!0))}if(!Object.keys(a).length)return;if(t.attrNodeName){var u={};return u[t.attrNodeName]=a,u}return a}}function h(e,t){for(var n,r="",i=t;i<e.length;i++){var a=e[i];if(n)a===n&&(n="");else if('"'===a||"'"===a)n=a;else{if(">"===a)return{data:r,index:i};"\t"===a&&(a=" ")}r+=a}}function v(e,t,n,r){var i=e.indexOf(t,n);if(-1===i)throw new Error(r);return i+t.length-1}t.getTraversalObj=function(e,t){e=e.replace(/\r\n?/g,"\n"),t=i(t,s,u);for(var n=new a("!xml"),o=n,d="",f=0;f<e.length;f++){if("<"===e[f])if("/"===e[f+1]){var c=v(e,">",f,"Closing Tag is not closed."),g=e.substring(f+2,c).trim();if(t.ignoreNameSpace){var y=g.indexOf(":");-1!==y&&(g=g.substr(y+1))}o&&(o.val?o.val=r.getValue(o.val)+""+l(g,d,t):o.val=l(g,d,t)),t.stopNodes.length&&t.stopNodes.includes(o.tagname)&&(o.child=[],void 0==o.attrsMap&&(o.attrsMap={}),o.val=e.substr(o.startIndex+1,f-o.startIndex-1)),o=o.parent,d="",f=c}
1else if("?"===e[f+1])f=v(e,"?>",f,"Pi Tag is not closed.");else if("!--"===e.substr(f+1,3))f=v(e,"--\x3e",f,"Comment is not closed.");else if("!D"===e.substr(f+1,2)){var m=v(e,">",f,"DOCTYPE is not closed.");f=e.substring(f,m).indexOf("[")>=0?e.indexOf("]>",f)+1:m}else if("!["===e.substr(f+1,2)){var b=v(e,"]]>",f,"CDATA is not closed.")-2,P=e.substring(f+9,b);if(d&&(o.val=r.getValue(o.val)+""+l(o.tagname,d,t),d=""),t.cdataTagName){var N=new a(t.cdataTagName,o,P);o.addChild(N),o.val=r.getValue(o.val)+t.cdataPositionChar,P&&(N.val=P)}else o.val=(o.val||"")+(P||"");f=b+2}else{var A=h(e,f+1),O=A.data,x=A.index,C=O.indexOf(" "),T=O,_=!0;if(-1!==C&&(T=O.substr(0,C).replace(/\s\s*$/,""),O=O.substr(C+1)),t.ignoreNameSpace){var F=T.indexOf(":");-1!==F&&(_=(T=T.substr(F+1))!==A.data.substr(F+1))}if(o&&d&&"!xml"!==o.tagname&&(o.val=r.getValue(o.val)+""+l(o.tagname,d,t)),O.length>0&&O.lastIndexOf("/")===O.length-1){O="/"===T[T.length-1]?T=T.substr(0,T.length-1):O.substr(0,O.length-1);var j=new a(T,o,"");T!==O&&(j.attrsMap=p(O,t)),o.addChild(j)}else{var S=new a(T,o);t.stopNodes.length&&t.stopNodes.includes(S.tagname)&&(S.startIndex=x),T!==O&&_&&(S.attrsMap=p(O,t)),o.addChild(S),o=S}d="",f=x}else d+=e[f]}return n}},456:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=g(i),o=g(n(457)),s=g(n(458)),u=g(n(466)),l=g(n(467)),d=g(n(468)),f=g(n(470)),c=g(n(471)),p=g(n(472)),h=g(n(473)),v=g(n(474));function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={adHasPlayed:!1,hasPlayed:!1,hasFired:{}},n.eventHandlers=(0,s.default)(n),n.uniqueScriptId="jw-player-script",e.useMultiplePlayerScripts&&(n.uniqueScriptId+="-"+e.playerId),n.videoRef=null,n._initialize=n._initialize.bind(n),n._setVideoRef=n._setVideoRef.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=!!window.jwplayer,t=document.getElementById(this.uniqueScriptId),n=this.props.useMultiplePlayerScripts;n||!e?n&&t?this._initialize():t?t.onload=(0,u.default)(t,this._initialize):(0,f.default)({context:document,onLoadCallback:this._initialize,scriptSrc:this.props.playerScript,uniqueScriptId:this.uniqueScriptId}):this._initialize()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props.file!==e.file,n=!(0,o.default)(this.props.playlist,e.playlist);return t||n}},{key:"componentDidUpdate",value:function(){window.jwplayer&&window.jwplayer(this.videoRef)&&this._initialize()}},{key:"componentWillUnmount",value:function(){(0,c.default)(this.videoRef,window)}},{key:"_initialize",value:function(){var e=this.props,t=e.playerId;e.useMultiplePlayerScripts&&(0,p.default)({context:window,playerId:t});var n=window.jwplayer(this.videoRef);if(n){var r=(0,l.default)(this.props);(0,d.default)({component:this,player:n,playerOpts:r})}}},{key:"_setVideoRef",value:function(e){this.videoRef=e}},{key:"render",value:function(){return a.default.createElement("div",{className:this.props.className},a.default.createElement("div",{id:this.props.playerId,ref:this._setVideoRef}))}}]),t}(i.Component);y.defaultProps=h.default,y.displayName="ReactJWPlayer",y.propTypes=v.default,t.default=y},457:function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,a=Object.prototype.hasOwnProperty,o="undefined"!==typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;
1if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,u,l,d=r(t),f=r(n);if(d&&f){if((u=t.length)!=n.length)return!1;for(s=u;0!==s--;)if(!e(t[s],n[s]))return!1;return!0}if(d!=f)return!1;var c=t instanceof Date,p=n instanceof Date;if(c!=p)return!1;if(c&&p)return t.getTime()==n.getTime();var h=t instanceof RegExp,v=n instanceof RegExp;if(h!=v)return!1;if(h&&v)return t.toString()==n.toString();var g=i(t);if((u=g.length)!==i(n).length)return!1;for(s=u;0!==s--;)if(!a.call(n,g[s]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(s=u;0!==s--;)if(("_owner"!==(l=g[s])||!t.$$typeof)&&!e(t[l],n[l]))return!1;return!0}return t!==t&&n!==n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},458:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n(459)),i=d(n(460)),a=d(n(461)),o=d(n(462)),s=d(n(463)),u=d(n(464)),l=d(n(465));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return{onAdPlay:r.default.bind(e),onBeforePlay:i.default.bind(e),onFullScreen:a.default.bind(e),onMute:o.default.bind(e),onPlay:s.default.bind(e),onTime:u.default.bind(e),onVideoLoad:l.default.bind(e)}}},459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){this.state.adHasPlayed?this.props.onAdResume(e):(this.props.onAdPlay(e),this.setState({adHasPlayed:!0}))}},460:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.getPlaylistItem();this.state.hasPlayed||this.state.adHasPlayed||"function"!==typeof this.props.generatePrerollUrl||t.playAd(this.props.generatePrerollUrl(n))}},461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.fullscreen?this.props.onEnterFullScreen(e):this.props.onExitFullScreen(e)}},462:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.mute?this.props.onMute(e):this.props.onUnmute(e)}},463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"autostart"===e.playReason?(this.setState({hasPlayed:!0}),this.props.onAutoStart(e)):!this.state.hasPlayed||"buffering"!==e.oldstate&&"paused"!==e.oldstate?(this.props.onPlay(e),this.setState({hasPlayed:!0})):this.props.onResume(e)}},464:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this.state.hasFired,n=e.position,r=e.duration,i=!1;this.props.onTime(e),!t.threeSeconds&&n>3&&(this.props.onThreeSeconds(),t.threeSeconds=!0,i=!0),!t.tenSeconds&&n>10&&(this.props.onTenSeconds(),t.tenSeconds=!0,i=!0),!t.thirtySeconds&&n>30&&(this.props.onThirtySeconds(),t.thirtySeconds=!0,i=!0),!t.twentyFivePercent&&n/r*100>25&&(this.props.onTwentyFivePercent(),t.twentyFivePercent=!0,i=!0),!t.fiftyPercent&&n/r*100>50&&(this.props.onFiftyPercent(),t.fiftyPercent=!0,i=!0),!t.seventyFivePercent&&n/r*100>75&&(this.props.onSeventyFivePercent(),t.seventyFivePercent=!0,i=!0),!t.ninetyFivePercent&&n/r*100>95&&(this.props.onNinetyFivePercent(),t.ninetyFivePercent=!0,i=!0),i&&this.setState({hasFired:t})}},465:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){this.setState({hasFired:{}}),this.props.onVideoLoad(e)}},466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.onload||function(){};return function(){n(),t()}}},467:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e.aspectRatio,n=e.customProps,i=void 0===n?{}:n,a=e.file,o=e.generatePrerollUrl,s=e.image,u=e.isAutoPlay,l=e.isMuted,d=e.licenseKey,f=e.playlist,c=!!o,p={};return d&&(p.key=d),f?p.playlist=f:a&&(p.file=a),t&&"inherit"!==t&&(p.aspectratio=t),c&&(p.advertising={client:"googima",admessage:"Ad \u2014 xxs left",autoplayadsmuted:!0}),"undefined"!==typeof u&&(p.autostart=!!u),"undefined"!==typeof l&&(p.mute=!!l),s&&(p.image=s),r(p,i)}},468:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(469),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.component,n=e.player,r=e.playerOpts;n.setup(r);var i={};Object.keys(t.props).forEach((function(e){var n=(0,a.default)(e);n&&(i[n]=t.props[e])})),i.adPlay=t.eventHandlers.onAdPlay,i.beforeComplete=t.props.onOneHundredPercent,i.beforePlay=function(e){t.eventHandlers.onBeforePlay(e,n)},i.fullscreen=t.eventHandlers.onFullScreen,i.mute=t.eventHandlers.onMute,i.play=t.eventHandlers.onPlay,i.playlistItem=t.eventHandlers.onVideoLoad,i.time=t.eventHandlers.onTime,Object.keys(i).forEach((function(e){n.on(e,i[e])}))}},469:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t;if("on"===e.slice(0,2)){var n=e.slice(2),r=(t=n,Array.isArray(t)?t:Array.from(t)),i=r[0],a=r.slice(1);return""+i.toLowerCase()+a.join("")}return null}},470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.context,n=e.onLoadCallback,r=e.scriptSrc,i=e.uniqueScriptId,a=t.createElement("script");a.id=i,a.src=r,a.onload=n,t.head.appendChild(a)}},471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.jwplayer&&t.jwplayer(e);n&&n.remove()}},472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t=e.context,n=e.playerId,r=t.__JW_PLAYER_CONFIGS__=t.__JW_PLAYER_CONFIGS__||{},i=r[n];i?t.jwplayer.defaults=i:r[n]=t.jwplayer.defaults}},473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){},i={aspectRatio:"inherit",file:"",isAutoPlay:void 0,isMuted:void 0,onAdPlay:r,onAdResume:r,onAdSkipped:r,onAdComplete:r,onEnterFullScreen:r,onExitFullScreen:r,onMute:r,onUnmute:r,onAutoStart:r,onResume:r,onPlay:r,onClose:r,onReady:r,onError:r,onAdPause:r,onPause:r,onVideoLoad:r,onOneHundredPercent:r,onThreeSeconds:r,onTenSeconds:r,onThirtySeconds:r,onTwentyFivePercent:r,onFiftyPercent:r,onSeventyFivePercent:r,onNinetyFivePercent:r,onTime:r,onBuffer:r,onBufferChange:r,playlist:"",useMultiplePlayerScripts:!1};t.default=i},474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(147),a=(r=i)&&r.__esModule?r:{default:r};var o={aspectRatio:a.default.oneOf(["inherit","1:1","16:9"]),className:a.default.string,customProps:a.default.object,file:a.default.string,generatePrerollUrl:a.default.func,image:a.default.string,isAutoPlay:a.default.bool,isMuted:a.default.bool,licenseKey:a.default.string,onAdPause:a.default.func,onAdPlay:a.default.func,onAdResume:a.default.func,onAdSkipped:a.default.func,onAdComplete:a.default.func,onAutoStart:a.default.func,onEnterFullScreen:a.default.func,onError:a.default.func,onExitFullScreen:a.default.func,onFiftyPercent:a.default.func,onMute:a.default.func,onNinetyFivePercent:a.default.func,onOneHundredPercent:a.default.func,onPause:a.default.func,onPlay:a.default.func,onReady:a.default.func,onResume:a.default.func,onSeventyFivePercent:a.default.func,onTenSeconds:a.default.func,onThirtySeconds:a.default.func,onThreeSeconds:a.default.func,onTwentyFivePercent:a.default.func,onUnmute:a.default.func,onVideoLoad:a.default.func,onBuffer:a.default.func,onBufferChange:a.default.func,playerId:a.default.string.isRequired,playerScript:a.default.string.isRequired,playlist:a.default.oneOfType([a.default.string,a.default.array]),useMultiplePlayerScripts:a.default.bool};t.default=o},475:function(e,t,n){"use strict";var r=n(476),i=n(454),a=n(454),o=n(447).buildOptions,s=n(479);t.parse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(n){!0===n&&(n={});var u=s.validate(e,n);if(!0!==u)throw Error(u.err.msg)}t.parseTrueNumberOnly&&!1!==t.parseNodeValue&&!t.numParseOptions&&(t.numParseOptions={leadingZeros:!1});var l=o(t,a.defaultOptions,a.props),d=i.getTraversalObj(e,l);return r.convertToJson(d,l)},t.convertTonimn=n(480).convert2nimn,t.getTraversalObj=i.getTraversalObj,t.convertToJson=r.convertToJson,t.convertToJsonString=n(481).convertToJsonString,t.validate=s.validate,t.j2xParser=n(482),t.parseToNimn=function(e,n,r){return t.convertTonimn(t.getTraversalObj(e,r),n,r)}},476:function(e,t,n){"use strict";var r=n(447);t.convertToJson=function e(t,n,i){var a={};if((!t.child||r.isEmptyObject(t.child))&&(!t.attrsMap||r.isEmptyObject(t.attrsMap)))return r.isExist(t.val)?t.val:"";if(r.isExist(t.val)&&("string"!==typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)){var o=r.isTagNameInArrayMode(t.tagname,n.arrayMode,i);a[n.textNodeName]=o?[t.val]:t.val}r.merge(a,t.attrsMap,n.arrayMode);for(var s=Object.keys(t.child),u=0;u<s.length;u++){var l=s[u];if(t.child[l]&&t.child[l].length>1)for(var d in a[l]=[],t.child[l])t.child[l].hasOwnProperty(d)&&a[l].push(e(t.child[l][d],n,l));else{var f=e(t.child[l][0],n,l),c=!0===n.arrayMode&&"object"===typeof f||r.isTagNameInArrayMode(l,n.arrayMode,i);a[l]=c?[f]:f}}return a}},477:function(e,t,n){"use strict";e.exports=function(e,t,n){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=n,this.addChild=function(e){Array.isArray(this.child[e.tagname])?this.child[e.tagname].push(e):this.child[e.tagname]=[e]}}},478:function(e,t){var n=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/,i={hex:!0,leadingZeros:!0,decimalPoint:"."};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=Object.assign({},i,t),!e||"string"!==typeof e)return e;var a=e.trim();if(void 0!==t.skipLike&&t.skipLike.test(a))return e;if(t.hex&&n.test(a))return Number.parseInt(a,16);var o=r.exec(a);if(o){o[1];var s=o[2],u=o[3];o[4]||o[6];return 1===s.length&&"."===u[0]?Number(e):!t.leadingZeros&&s.length>0?e:Number(a)}return e}},479:function(e,t,n){"use strict";var r=n(447),i={allowBooleanAttributes:!1},a=["allowBooleanAttributes"];function o(e,t){for(var n=t;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{var r=e.substr(n,t-n);if(t>5&&"xml"===r)return c("InvalidXml","XML declaration allowed only at the start of the document.",h(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&0===--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=r.buildOptions(t,i,a);var n,l=[],p=!1,v=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var g=0;g<e.length;g++)if("<"===e[g]&&"?"===e[g+1]){if((g=o(e,g+=2)).err)return g}else{if("<"!==e[g]){if(" "===e[g]||"\t"===e[g]||"\n"===e[g]||"\r"===e[g])continue;return c("InvalidChar","char '"+e[g]+"' is not expected.",h(e,g))}
1if("!"===e[++g]){g=s(e,g);continue}var y=!1;"/"===e[g]&&(y=!0,g++);for(var m="";g<e.length&&">"!==e[g]&&" "!==e[g]&&"\t"!==e[g]&&"\n"!==e[g]&&"\r"!==e[g];g++)m+=e[g];if("/"===(m=m.trim())[m.length-1]&&(m=m.substring(0,m.length-1),g--),n=m,!r.isName(n)){return c("InvalidTag",0===m.trim().length?"There is an unnecessary space between tag name and backward slash '</ ..'.":"Tag '"+m+"' is an invalid name.",h(e,g))}var b=u(e,g);if(!1===b)return c("InvalidAttr","Attributes for '"+m+"' have open quote.",h(e,g));var P=b.value;if(g=b.index,"/"===P[P.length-1]){var N=d(P=P.substring(0,P.length-1),t);if(!0!==N)return c(N.err.code,N.err.msg,h(e,g-P.length+N.err.line));p=!0}else if(y){if(!b.tagClosed)return c("InvalidTag","Closing tag '"+m+"' doesn't have proper closing.",h(e,g));if(P.trim().length>0)return c("InvalidTag","Closing tag '"+m+"' can't have attributes or invalid starting.",h(e,g));var A=l.pop();if(m!==A)return c("InvalidTag","Closing tag '"+A+"' is expected inplace of '"+m+"'.",h(e,g));0==l.length&&(v=!0)}else{var O=d(P,t);if(!0!==O)return c(O.err.code,O.err.msg,h(e,g-P.length+O.err.line));if(!0===v)return c("InvalidXml","Multiple possible root nodes found.",h(e,g));l.push(m),p=!0}for(g++;g<e.length;g++)if("<"===e[g]){if("!"===e[g+1]){g=s(e,++g);continue}if("?"!==e[g+1])break;if((g=o(e,++g)).err)return g}else if("&"===e[g]){var x=f(e,g);if(-1==x)return c("InvalidChar","char '&' is not expected.",h(e,g));g=x}"<"===e[g]&&g--}return p?!(l.length>0)||c("InvalidXml","Invalid '"+JSON.stringify(l,null,4).replace(/\r?\n/g,"")+"' found.",1):c("InvalidXml","Start tag expected.",1)};function u(e,t){for(var n="",r="",i=!1;t<e.length;t++){if('"'===e[t]||"'"===e[t])if(""===r)r=e[t];else{if(r!==e[t])continue;r=""}else if(">"===e[t]&&""===r){i=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:i}}var l=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function d(e,t){for(var n=r.getAllMatches(e,l),i={},a=0;a<n.length;a++){if(0===n[a][1].length)return c("InvalidAttr","Attribute '"+n[a][2]+"' has no space in starting.",v(e,n[a][0]));if(void 0===n[a][3]&&!t.allowBooleanAttributes)return c("InvalidAttr","boolean attribute '"+n[a][2]+"' is not allowed.",v(e,n[a][0]));var o=n[a][2];if(!p(o))return c("InvalidAttr","Attribute '"+o+"' is an invalid name.",v(e,n[a][0]));if(i.hasOwnProperty(o))return c("InvalidAttr","Attribute '"+o+"' is repeated.",v(e,n[a][0]));i[o]=1}return!0}function f(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){var n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);for(var n=0;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function c(e,t,n){return{err:{code:e,msg:t,line:n}}}function p(e){return r.isName(e)}function h(e,t){return e.substring(0,t).split(/\r?\n/).length}function v(e,t){return e.indexOf(t)+t.length}},480:function(e,t,n){"use strict";var r=function(e){return String.fromCharCode(e)},i={nilChar:r(176),missingChar:r(201),nilPremitive:r(175),missingPremitive:r(200),emptyChar:r(178),emptyValue:r(177),boundryChar:r(179),objStart:r(198),arrStart:r(204),arrayEnd:r(185)},a=[i.nilChar,i.nilPremitive,i.missingChar,i.missingPremitive,i.boundryChar,i.emptyChar,i.emptyValue,i.arrayEnd,i.objStart,i.arrStart],o=function e(t,n,r){if("string"===typeof n)return t&&t[0]&&void 0!==t[0].val?s(t[0].val,n):s(t,n);var a,o=void 0===(a=t)?i.missingChar:null===a?i.nilChar:!(a.child&&0===Object.keys(a.child).length&&(!a.attrsMap||0===Object.keys(a.attrsMap).length))||i.emptyChar;if(!0===o){var l="";if(Array.isArray(n)){l+=i.arrStart;var d=n[0],f=t.length;if("string"===typeof d)for(var c=0;c<f;c++){var p=s(t[c].val,d);l=u(l,p)}else for(var h=0;h<f;h++){var v=e(t[h],d,r);l=u(l,v)}
1l+=i.arrayEnd}else{l+=i.objStart;var g=Object.keys(n);for(var y in Array.isArray(t)&&(t=t[0]),g){var m=g[y],b=void 0;b=!r.ignoreAttributes&&t.attrsMap&&t.attrsMap[m]?e(t.attrsMap[m],n[m],r):m===r.textNodeName?e(t.val,n[m],r):e(t.child[m],n[m],r),l=u(l,b)}}return l}return o},s=function(e){switch(e){case void 0:return i.missingPremitive;case null:return i.nilPremitive;case"":return i.emptyValue;default:return e}},u=function(e,t){return l(t[0])||l(e[e.length-1])||(e+=i.boundryChar),e+t},l=function(e){return-1!==a.indexOf(e)};var d=n(454),f=n(447).buildOptions;t.convert2nimn=function(e,t,n){return n=f(n,d.defaultOptions,d.props),o(e,t,n)}},481:function(e,t,n){"use strict";var r=n(447),i=n(447).buildOptions,a=n(454),o=function e(t,n,i){for(var a,o="{",s=Object.keys(t.child),u=0;u<s.length;u++){var l=s[u];if(t.child[l]&&t.child[l].length>1){for(var d in o+='"'+l+'" : [ ',t.child[l])o+=e(t.child[l][d],n)+" , ";o=o.substr(0,o.length-1)+" ] "}else o+='"'+l+'" : '+e(t.child[l][0],n)+" ,"}return r.merge(o,t.attrsMap),r.isEmptyObject(o)?r.isExist(t.val)?t.val:"":(r.isExist(t.val)&&("string"!==typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)&&(o+='"'+n.textNodeName+'" : '+(!0!==(a=t.val)&&!1!==a&&isNaN(a)?'"'+a+'"':a)),","===o[o.length-1]&&(o=o.substr(0,o.length-2)),o+"}")};t.convertToJsonString=function(e,t){return(t=i(t,a.defaultOptions,a.props)).indentBy=t.indentBy||"",o(e,t,0)}},482:function(e,t,n){"use strict";var r=n(447).buildOptions,i={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:"  ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},a=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor"];function o(e){this.options=r(e,i,a),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=h),this.options.cdataTagName?this.isCDATA=v:this.isCDATA=function(){return!1},this.replaceCDATAstr=s,this.replaceCDATAarr=u,this.options.format?(this.indentate=p,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=c,this.buildObjNode=d):(this.buildTextNode=f,this.buildObjNode=l),this.buildTextValNode=f,this.buildObjectNode=l}function s(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function u(e,t){if(e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e)return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(var n in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[n]+"]]>");return e+this.newLine}function l(e,t,n,r){return n&&!e.includes("<")?this.indentate(r)+"<"+t+n+">"+e+"</"+t+this.tagEndChar:this.indentate(r)+"<"+t+n+this.tagEndChar+e+this.indentate(r)+"</"+t+this.tagEndChar}function d(e,t,n,r){return""!==e?this.buildObjectNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function f(e,t,n,r){return this.indentate(r)+"<"+t+n+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function c(e,t,n,r){return""!==e?this.buildTextValNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function p(e){return this.options.indentBy.repeat(e)}function h(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}function v(e){return e===this.options.cdataTagName}o.prototype.parse=function(e){return this.j2x(e,0).val},o.prototype.j2x=function(e,t){for(var n="",r="",i=Object.keys(e),a=i.length,o=0;o<a;o++){var s=i[o];if("undefined"===typeof e[s]);else if(null===e[s])r+=this.indentate(t)+"<"+s+"/"+this.tagEndChar;else if(e[s]instanceof Date)r+=this.buildTextNode(e[s],s,"",t);else if("object"!==typeof e[s]){var u=this.isAttribute(s);u?n+=" "+u+'="'+this.options.attrValueProcessor(""+e[s])+'"':this.isCDATA(s)?e[this.options.textNodeName]?r+=this.replaceCDATAstr(e[this.options.textNodeName],e[s]):r+=this.replaceCDATAstr("",e[s]):s===this.options.textNodeName?e[this.options.cdataTagName]||(r+=this.options.tagValueProcessor(""+e[s])):r+=this.buildTextNode(e[s],s,"",t)}else if(Array.isArray(e[s]))if(this.isCDATA(s))r+=this.indentate(t),e[this.options.textNodeName]?r+=this.replaceCDATAarr(e[this.options.textNodeName],e[s]):r+=this.replaceCDATAarr("",e[s]);else for(var l=e[s].length,d=0;d<l;d++){var f=e[s][d];if("undefined"===typeof f);else if(null===f)r+=this.indentate(t)+"<"+s+"/"+this.tagEndChar;else if("object"===typeof f){var c=this.j2x(f,t+1);r+=this.buildObjNode(c.val,s,c.attrStr,t)}else r+=this.buildTextNode(f,s,"",t)}else if(this.options.attrNodeName&&s===this.options.attrNodeName)for(var p=Object.keys(e[s]),h=p.length,v=0;v<h;v++)n+=" "+p[v]+'="'+this.options.attrValueProcessor(""+e[s][p[v]])+'"';else{var g=this.j2x(e[s],t+1);r+=this.buildObjNode(g.val,s,g.attrStr,t)}}return{attrStr:n,val:r}},e.exports=o}}]);
2//# sourceMappingURL=4.b3cbf1aa.chunk.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.