/*! For license information please see portlets.js.LICENSE.txt */ !function(){var e,t,n={90:function(e,t,n){"use strict";var i=n(3957),o=n(6831),s=TypeError;e.exports=function(e){if(i(e))return e;throw s(o(e)+" is not a function")}},5151:function(e,t,n){"use strict";var i=n(5587),o=String,s=TypeError;e.exports=function(e){if(i(e))return e;throw s(o(e)+" is not an object")}},1681:function(e,t,n){"use strict";var i=n(9165),o=n(8464),s=n(5452),r=function(e){return function(t,n,r){var a,l=i(t),c=s(l),d=o(r,c);if(e&&n!=n){for(;c>d;)if((a=l[d++])!=a)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:r(!0),indexOf:r(!1)}},2482:function(e,t,n){"use strict";var i=n(162),o=n(9327),s=TypeError,r=Object.getOwnPropertyDescriptor,a=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(o(e)&&!r(e,"length").writable)throw s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},2083:function(e,t,n){"use strict";var i=n(4335),o=i({}.toString),s=i("".slice);e.exports=function(e){return s(o(e),8,-1)}},5997:function(e,t,n){"use strict";var i=n(1524),o=n(7711),s=n(9746),r=n(3536);e.exports=function(e,t,n){for(var a=o(t),l=r.f,c=s.f,d=0;d9007199254740991)throw t("Maximum allowed index exceeded");return e}},6453:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3171:function(e,t,n){"use strict";var i,o,s=n(3083),r=n(6453),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(o=(i=d.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&r&&(!(i=r.match(/edge\/(\d+)/))||i[1]>=74)&&(i=r.match(/Chrome\/(\d+)/))&&(o=+i[1]),e.exports=o},6177:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8972:function(e,t,n){"use strict";var i=n(3083),o=n(9746).f,s=n(6785),r=n(7461),a=n(725),l=n(5997),c=n(1689);e.exports=function(e,t){var n,d,u,h,m,f=e.target,p=e.global,v=e.stat;if(n=p?i:v?i[f]||a(f,{}):(i[f]||{}).prototype)for(d in t){if(h=t[d],u=e.dontCallGetSet?(m=o(n,d))&&m.value:n[d],!c(p?d:f+(v?".":"#")+d,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(e.sham||u&&u.sham)&&s(h,"sham",!0),r(n,d,h,e)}}},7470:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6740:function(e,t,n){"use strict";var i=n(7470);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},697:function(e,t,n){"use strict";var i=n(6740),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},2719:function(e,t,n){"use strict";var i=n(162),o=n(1524),s=Function.prototype,r=i&&Object.getOwnPropertyDescriptor,a=o(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!i||i&&r(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},4335:function(e,t,n){"use strict";var i=n(6740),o=Function.prototype,s=o.call,r=i&&o.bind.bind(s,s);e.exports=i?r:function(e){return function(){return s.apply(e,arguments)}}},727:function(e,t,n){"use strict";var i=n(3083),o=n(3957);e.exports=function(e,t){return arguments.length<2?(n=i[e],o(n)?n:void 0):i[e]&&i[e][t];var n}},4270:function(e,t,n){"use strict";var i=n(90),o=n(5884);e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},3083:function(e,t,n){"use strict";var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},1524:function(e,t,n){"use strict";var i=n(4335),o=n(2556),s=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},4064:function(e){"use strict";e.exports={}},4070:function(e,t,n){"use strict";var i=n(162),o=n(7470),s=n(2382);e.exports=!i&&!o((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},3435:function(e,t,n){"use strict";var i=n(4335),o=n(7470),s=n(2083),r=Object,a=i("".split);e.exports=o((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):r(e)}:r},1475:function(e,t,n){"use strict";var i=n(4335),o=n(3957),s=n(9210),r=i(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return r(e)}),e.exports=s.inspectSource},9421:function(e,t,n){"use strict";var i,o,s,r=n(7832),a=n(3083),l=n(5587),c=n(6785),d=n(1524),u=n(9210),h=n(9839),m=n(4064),f="Object already initialized",p=a.TypeError,v=a.WeakMap;if(r||u.state){var g=u.state||(u.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,i=function(e,t){if(g.has(e))throw p(f);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},s=function(e){return g.has(e)}}else{var b=h("state");m[b]=!0,i=function(e,t){if(d(e,b))throw p(f);return t.facade=e,c(e,b,t),t},o=function(e){return d(e,b)?e[b]:{}},s=function(e){return d(e,b)}}e.exports={set:i,get:o,has:s,enforce:function(e){return s(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}}}},9327:function(e,t,n){"use strict";var i=n(2083);e.exports=Array.isArray||function(e){return"Array"===i(e)}},3957:function(e,t,n){"use strict";var i=n(9454),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},1689:function(e,t,n){"use strict";var i=n(7470),o=n(3957),s=/#|\.prototype\./,r=function(e,t){var n=l[a(e)];return n===d||n!==c&&(o(t)?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=r.data={},c=r.NATIVE="N",d=r.POLYFILL="P";e.exports=r},5884:function(e){"use strict";e.exports=function(e){return null==e}},5587:function(e,t,n){"use strict";var i=n(3957),o=n(9454),s=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===s}:function(e){return"object"==typeof e?null!==e:i(e)}},7141:function(e){"use strict";e.exports=!1},566:function(e,t,n){"use strict";var i=n(727),o=n(3957),s=n(2080),r=n(4816),a=Object;e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&s(t.prototype,a(e))}},5452:function(e,t,n){"use strict";var i=n(8213);e.exports=function(e){return i(e.length)}},625:function(e,t,n){"use strict";var i=n(4335),o=n(7470),s=n(3957),r=n(1524),a=n(162),l=n(2719).CONFIGURABLE,c=n(1475),d=n(9421),u=d.enforce,h=d.get,m=String,f=Object.defineProperty,p=i("".slice),v=i("".replace),g=i([].join),b=a&&!o((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===p(m(t),0,7)&&(t="["+v(m(t),/^Symbol\(([^)]*)\)/,"1ドル")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&r(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=u(e);return r(i,"source")||(i.source=g(y,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return s(this)&&h(this).source||c(this)}),"toString")},7881:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},3536:function(e,t,n){"use strict";var i=n(162),o=n(4070),s=n(2834),r=n(5151),a=n(8476),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",m="writable";t.f=i?s?function(e,t,n){if(r(e),t=a(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var i=d(e,t);i&&i[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:i[h],enumerable:u in n?n[u]:i[u],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(r(e),t=a(t),r(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},9746:function(e,t,n){"use strict";var i=n(162),o=n(697),s=n(1158),r=n(287),a=n(9165),l=n(8476),c=n(1524),d=n(4070),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return r(!o(s.f,e,t),e[t])}},7456:function(e,t,n){"use strict";var i=n(1082),o=n(6177).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},6429:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},2080:function(e,t,n){"use strict";var i=n(4335);e.exports=i({}.isPrototypeOf)},1082:function(e,t,n){"use strict";var i=n(4335),o=n(1524),s=n(9165),r=n(1681).indexOf,a=n(4064),l=i([].push);e.exports=function(e,t){var n,i=s(e),c=0,d=[];for(n in i)!o(a,n)&&o(i,n)&&l(d,n);for(;t.length>c;)o(i,n=t[c++])&&(~r(d,n)||l(d,n));return d}},1158:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},7612:function(e,t,n){"use strict";var i=n(697),o=n(3957),s=n(5587),r=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!s(a=i(n,e)))return a;if(o(n=e.valueOf)&&!s(a=i(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!s(a=i(n,e)))return a;throw r("Can't convert object to primitive value")}},7711:function(e,t,n){"use strict";var i=n(727),o=n(4335),s=n(7456),r=n(6429),a=n(5151),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=s.f(a(e)),n=r.f;return n?l(t,n(e)):t}},5860:function(e,t,n){"use strict";var i=n(5884),o=TypeError;e.exports=function(e){if(i(e))throw o("Can't call method on "+e);return e}},9839:function(e,t,n){"use strict";var i=n(7224),o=n(7377),s=i("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},9210:function(e,t,n){"use strict";var i=n(3083),o=n(725),s="__core-js_shared__",r=i[s]||o(s,{});e.exports=r},7224:function(e,t,n){"use strict";var i=n(7141),o=n(9210);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.2",mode:i?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6645:function(e,t,n){"use strict";var i=n(3171),o=n(7470),s=n(3083).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},8464:function(e,t,n){"use strict";var i=n(1715),o=Math.max,s=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):s(n,t)}},9165:function(e,t,n){"use strict";var i=n(3435),o=n(5860);e.exports=function(e){return i(o(e))}},1715:function(e,t,n){"use strict";var i=n(7881);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},8213:function(e,t,n){"use strict";var i=n(1715),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},2556:function(e,t,n){"use strict";var i=n(5860),o=Object;e.exports=function(e){return o(i(e))}},6082:function(e,t,n){"use strict";var i=n(697),o=n(5587),s=n(566),r=n(4270),a=n(7612),l=n(7978),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var n,l=r(e,d);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!o(n)||s(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},8476:function(e,t,n){"use strict";var i=n(6082),o=n(566);e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},6831:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},7377:function(e,t,n){"use strict";var i=n(4335),o=0,s=Math.random(),r=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++o+s,36)}},4816:function(e,t,n){"use strict";var i=n(6645);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2834:function(e,t,n){"use strict";var i=n(162),o=n(7470);e.exports=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7832:function(e,t,n){"use strict";var i=n(3083),o=n(3957),s=i.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},7978:function(e,t,n){"use strict";var i=n(3083),o=n(7224),s=n(1524),r=n(7377),a=n(6645),l=n(4816),c=i.Symbol,d=o("wks"),u=l?c.for||c:c&&c.withoutSetter||r;e.exports=function(e){return s(d,e)||(d[e]=a&&s(c,e)?c[e]:u("Symbol."+e)),d[e]}},356:function(e,t,n){"use strict";var i=n(8972),o=n(2556),s=n(5452),r=n(2482),a=n(6036);i({target:"Array",proto:!0,arity:1,forced:n(7470)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=s(t),i=arguments.length;a(n+i);for(var l=0;lthis.length&&(o=this.length),o<0&&(o+=this.length+1);var s,r,a=[],l=[],c=[],d=[],u={},h=t.add,m=t.merge,f=t.remove,p=!1,v=this.comparator&&null==o&&!1!==t.sort,g=n.isString(this.comparator)?this.comparator:null;for(r=0;r0&&!t.silent&&delete t.index,n},_isModel:function(e){return e instanceof g},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes,e.idAttribute);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes,e.idAttribute);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,i){if(t){if(("add"===e||"remove"===e)&&n!==this)return;if("destroy"===e&&this.remove(t,i),"changeId"===e){var o=this.modelId(t.previousAttributes(),t.idAttribute),s=this.modelId(t.attributes,t.idAttribute);null!=o&&delete this._byId[o],null!=s&&(this._byId[s]=t)}}this.trigger.apply(this,arguments)},_forwardPristineError:function(e,t,n){this.has(e)||this._onModelEvent("error",e,t,n)}});var C="function"==typeof Symbol&&Symbol.iterator;C&&(b.prototype[C]=b.prototype.values);var k=function(e,t){this._collection=e,this._kind=t,this._index=0},T=1,E=2,_=3;C&&(k.prototype[C]=function(){return this}),k.prototype.next=function(){if(this._collection){if(this._index7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(K,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,o=i.insertBefore(this.iframe,i.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var s=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),j.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!this.matchRoot()&&this.notfound();this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return this.matchRoot()?(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0}))||this.notfound()):this.notfound()},notfound:function(){return this.trigger("notfound"),!1},navigate:function(e,t){if(!j.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;this._trailingSlash||""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+e;e=e.replace(W,"");var o=this.decodeFragment(e);if(this.fragment!==o){if(this.fragment=o,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;t.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new j;var q=function(e,t){var i,o=this;return i=e&&n.has(e,"constructor")?e.constructor:function(){return o.apply(this,arguments)},n.extend(i,o,t),i.prototype=n.create(o.prototype,e),i.prototype.constructor=i,i.__super__=o.prototype,i};g.extend=b.extend=U.extend=$.extend=j.extend=q;var z=function(){throw new Error('A "url" property or function must be specified')},G=function(e,t){var n=t.error;t.error=function(i){n&&n.call(t.context,e,i,t),e.trigger("error",e,i,t)}};return t._debug=function(){return{root:e,_:n}},t}(s,n,e,t)}.apply(t,i),void 0===o||(e.exports=o)},7800:function(e,t,n){"use strict";var i=n(9526),o=n.n(i),s=n(6751),r=n(7809),a=n.n(r),l=n(1097),c=n.n(l),d=window.SVBackbone=o().noConflict();d.$=a(),t.Z=d;var u=d.Model.prototype.fetch,h=d.Model.prototype.save,m=d.Model.prototype.destroy,f=d.Collection.prototype.fetch;function p(e,t,n){s.ErrorUtil.handleBackboneError(e,t,n)}d.Model.prototype.fetch=function(e){return(e=e||{}).error=e.error||p,u.apply(this,[e])},d.Model.prototype.save=function(e,t,n){return null==e||"object"==typeof e?(t=t||{}).error=t.error||p:(n=n||{}).error=n.error||p,h.apply(this,[e,t,n])},d.Model.prototype.destroy=function(e){return(e=e||{}).error=e.error||p,m.apply(this,[e])},d.Collection.prototype.fetch=function(e){return(e=e||{}).error=e.error||p,f.apply(this,[e])},d.View.prototype.preinitialize=function(e){this.options&&(e=c().extend({},c().result(this,"options"),e)),this.options=e}},9842:function(e,t,n){"use strict";var i=n(7800),o=n(7809),s=n.n(o),r=n(6751),a=n.n(r),l=n(5143),c=n(6237);const d=r.KeyUtil.KEY,u={},h="sv-comments2-full-name",m={triggers:{"@":{source:(0,c.xb)(a().PageContext.pageId,"userIdentitySearch",a().PageContext.pageId),searchKey:"term",allowWhiteSpace:!0,maxWhiteSpace:2,parse:function(e){return e.hits}}},minLength:2,replacer:function(e){return e.trigger+'{"value":"'+e.name+'","id":"'+e.id+'"}'}};let f,p,v;var g=function(e,t){var n;return!t&&u[e]?u[e]:(n=a().i18n.getText("portlet.comments2.comments",e,t),t||(u[e]=n),n)},b=function(e,t){e.find("a[data-user-identity]").each((function(){var e=s()(this);e.attr("href",t+"?identity="+e.data("user-identity"))}))},y=function(e,t){e.find("a[data-social-tag-id]").each((function(){var e=s()(this);e.attr("href",t+"?tag="+encodeURIComponent(e.data("social-tag-name")))}))},w=function(){if("localStorage"in window&&null!==window.localStorage)return window.localStorage.getItem(h)},x=i.Z.Model.extend({url:function(){return this.collection?this.collection.url()+"&commentId="+this.get("id"):"?commentId="+this.get("id")}}),C=i.Z.Collection.extend({model:x,initialize:function(e,t){this.options=t,a().PageContext.userIdentityId&&this.bindServerEvents()},bindServerEvents:function(){var e=this;r.Events.on("server-pagecomment-added-"+a().PageContext.pageId,(function(t){const n=t.content.author.id===a().PageContext.userIdentityId,i=e.length>0&&e.at(0).get("isAdmin"),o={...t.content,isEditable:n||i,isRemovable:n||i,isAdmin:i};e.add(o,{append:!0})}))},url:function(){return(0,c.U4)(this.options.portletId,"comment")+"&file="+this.options.id}}),k=x.extend({url:function(){return this.collection?(0,c.U4)(this.collection.portletId,"subComment")+"&commentId="+this.collection.id+"&subCommentId="+this.get("id"):"?subCommentId="+this.get("id")}}),T=i.Z.Collection.extend({model:k,initialize:function(e,t){this.id=t.id,this.portletId=t.portletId,this.pageCommentId=t.pageCommentId},url:function(){return(0,c.U4)(this.portletId,"subComments")+"&commentId="+this.pageCommentId},parse:function(e){return this.isAllowedToComment=e.isAllowedToComment,this.trigger("updateCommentArea",this.isAllowedToComment),e}}),E=i.Z.View.extend({tagName:"li",className:function(){return this.model.get("hidden")?"sv-comment2-comment sv-comment-hidden":"sv-comment2-comment"},events:function(){return this.model.get("isSubComment")?{"click [data-fn-destroy-subcomment]":"showDestroyDialog","click [data-fn-edit-subcomment]":"editComment","click [data-fn-hide-subcomment]":"doHide","click [data-fn-show-subcomment]":"doHide"}:{"click [data-fn-destroy-comment]":"showDestroyDialog","click [data-fn-edit-comment]":"editComment","click [data-fn-hide-comment]":"doHide","click [data-fn-show-comment]":"doHide","click [data-fn-show-comments]":"handleShowCommentsClick","click [data-fn-expand-subcomments]":"handleShowCommentsClick","click [data-fn-shrink-subcomments]":"handleHideCommentsClick"}},initialize:function(){this.listenTo(this.model,"change:comment",this.updateComment,this),this.listenTo(this.model,"destroy",this.remove,this),this.listenTo(this.model,"change:hidden",this.hide,this)},showDestroyDialog:function(){var e=this,t=this.model.get("isSubComment")?g("removeReplyTitle"):g("removeCommentTitle"),n=this.model.get("isSubComment")?g("removeReplyBody"):g("removeCommentBody");return a().DialogUtil.showConfirmDialog(t,n,(function(t){t&&e.model.destroy({wait:!0})})),!1},editComment:function(e){return e.preventDefault(),r.Ajax.doGet({context:this,url:this.model.url()}).done((function(e){this.showEditComment(e.plainMessage,e.mentions)})),!1},showEditComment:function(e,t){var n=this,i=s()("
"),o=s()(''+(f-e.length)+""),l=s()("':'',{value:o||"",id:`sv-dialog-${t}`||""}),l=i.TemplateUtil.template('
<%= input %>
',{input:c,label:t||"",id:`sv-dialog-${t}`||""}),(a=d({title:i.TemplateUtil.htmlEncode(e),modalBody:l,footerButtons:u()})).on("click",".modal-footer .btn",(function(){r()(this).data("ok")?s({result:!0,text:a.find(".sv-eventfeed-input").val()}):s({result:!1})})),a.on("submit","form",(function(e){e.preventDefault(),a.modal("hide"),s({result:!0,text:a.find(".sv-eventfeed-input").val()})})),h(a),a.modal(),a},showConfirmDialog:function(e,t,n){var o;return(o=d({title:i.TemplateUtil.htmlEncode(e),modalBody:i.TemplateUtil.htmlEncode(t),footerButtons:u()})).on("click",".modal-footer .btn",(function(){n(!!r()(this).data("ok"))})),h(o),o.modal(),o},showMessageDialog:function(e,t,n){var o,s;return s=i.TemplateUtil.template(a,{classNames:"btn-primary",attributes:'data-dismiss="modal"',text:n||"Close"}),h(o=d({title:i.TemplateUtil.htmlEncode(e),modalBody:t,footerButtons:s})),o.modal(),o},showDialog:function(e){var t,n,o,s;return o=e.titleHelp?i.TemplateUtil.template("

<%= text %>

",{text:e.titleHelp}):"",s=e.errorTitle&&e.errorMsg?i.TemplateUtil.template('

<%= errorTitle %>

<%= errorMsg %>

',{errorTitle:e.errorTitle,errorMsg:e.errorMsg}):"",t=d({title:i.TemplateUtil.htmlEncode(e.title),modalBody:e.body,titleHelp:o,errorContent:s}),n=t.find(".modal-footer"),r().each(e.buttons,(function(e,t){var o,s,l;l=t.skipDismiss?"":' data-dismiss="modal" ',s=t.primary?" btn-primary ":"",s+=t.danger?" btn-danger ":"",o=r()(i.TemplateUtil.template(a,{classNames:s,text:t.text,attributes:l})),t.callback&&o.on("click",t.callback),n.append(o)})),e.shownCallback&&"function"==typeof e.shownCallback&&t.on("shown.bs.modal",(function(t){e.shownCallback.call(this,t)})),!1!==e.removeOnHide&&e.hiddenCallback&&"function"==typeof e.hiddenCallback&&t.on("hidden.bs.modal",(function(t){e.hiddenCallback.call(this,t)})),h(t,e.removeOnHide),t.modal(),t}}},5020:function(e,t,n){"use strict";var i=n(6751),o=n.n(i),s=n(6237);const r='
<%= html %>
',a='
<%= html %>
',l=[{name:"Dreambroker",scheme:new RegExp("dreambroker.com/channel/.+"),callback:function(e,t){i.Ajax.doGet({url:(0,s.xb)(o().PageContext.pageId,"embed"),data:{url:e,provider:"dreambroker"}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}},{name:"Instagram",scheme:new RegExp("instagr\\.?am(\\.com)?/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://api.instagram.com/oembed",data:{url:e}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(a,{html:e.html}))}))}},{name:"Youtube",scheme:new RegExp("^(https?://)?(www.)?(youtube.com|youtu.?be)/.+$"),callback:function(e,t){var n=e.match(/.*(?:v\=|be\/|embed\/)([\w\-]+)&?.*/);if(n&&n.length>0){var o='[フレーム]';t(i.TemplateUtil.template(r,{html:o}))}}},{name:"GIPHY",scheme:new RegExp("giphy.com/.*"),callback:function(e,t){var n='';t(i.TemplateUtil.template(a,{html:n}))}},{name:"Youtube no cookie",scheme:new RegExp("^(https?://)?(www.)?(youtube-nocookie.com)/.+$"),callback:function(e,t){var n=e.match(/.*(?:v\=|be\/|embed\/)([\w\-]+)&?.*/);if(n&&n.length>0){var o='[フレーム]';t(i.TemplateUtil.template(r,{html:o}))}}},{name:"Vimeo",scheme:new RegExp("vimeo.com/.*"),callback:function(e,t){i.Ajax.doGet({url:"https://vimeo.com/api/oembed.json",data:{url:e}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}},{name:"Wistia",scheme:new RegExp("https?://(.+)?(wistia.com|wi.st)/.*"),callback:function(e,t){i.Ajax.doGet({url:"https://fast.wistia.com/oembed",data:{url:e}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}},{name:"Screen9",scheme:new RegExp("screen9.com/.+|screen9.tv/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://api.screen9.com/oembed",data:{url:e}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}},{name:"Soundcloud",scheme:new RegExp("soundcloud.com/.+|snd.sc/.+"),callback:function(e,t){i.Ajax.doGet({url:"https://soundcloud.com/oembed",data:{url:e}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}},{name:"Spotify",scheme:new RegExp("open.spotify.com/.+"),callback:function(e,t){i.Ajax.doGet({url:(0,s.xb)(o().PageContext.pageId,"embed"),data:{url:e,provider:"spotify"}}).done((function(e){e&&e.html&&t(i.TemplateUtil.template(r,{html:e.html}))}))}}],c=function(e,t){return e&&e.replace?function(n){if(e.useTitle){const t=(new DOMParser).parseFromString(n,"text/html"),i=t.getElementsByTagName("iframe")[0];i&&(i.setAttribute("title",e.title),n=t.body.innerHTML)}t.find(".sv-embed").first().replaceWith(n)}:function(e){t.find(".sv-message-content> .sv-embed").parent().first().after(e)}};i.Events.on(i.Events.types.updateOembedLinks,(function(e,t){if(!e||!e.length)return;let n=e.find(".sv-embed").first();if(!n.length)return;let i=n.attr("href");if(i)for(var o=0;o{const t=()=>{e.querySelector(".frc-captcha")&&n.e(3812).then(n.bind(n,1248))};"loading"!==e.readyState?t():e.addEventListener("DOMContentLoaded",t)})(document)},6688:function(e,t,n){"use strict";n(6198)},987:function(e,t,n){var i,o,s;!function(r){"use strict";o=[n(7809)],i=function(e){e.ui=e.ui||{};e.ui.version="1.13.2";!function(){var t,n=Math.max,i=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,c=e.fn.position;function d(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function u(t,n){return parseInt(e.css(t,n),10)||0}function h(e){return null!=e&&e===e.window}function m(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:h(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}e.position={scrollbarWidth:function(){if(void 0!==t)return t;var n,i,o=e("
"),s=o.children()[0];return e("body").append(o),n=s.offsetWidth,o.css("overflow","scroll"),n===(i=s.offsetWidth)&&(i=o[0].clientWidth),o.remove(),t=n-i},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),o="scroll"===n||"auto"===n&&t.width0?"right":"center",vertical:d<0?"top":l>0?"bottom":"middle"};hn(i(l),i(d))?u.important="horizontal":u.important="vertical",t.using.call(this,e,u)}),r.offset(e.extend(E,{using:s}))}))},e.ui.position={fit:{left:function(e,t){var i,o=t.within,s=o.isWindow?o.scrollLeft:o.offset.left,r=o.width,a=e.left-t.collisionPosition.marginLeft,l=s-a,c=a+t.collisionWidth-r-s;t.collisionWidth>r?l>0&&c<=0?(i=e.left+l+t.collisionwidth-r-s,e.left+=l-i):e.left=c>0&&l<=0?s:l>c?s+r-t.collisionWidth:s:l>0?e.left+=l:c>0?e.left-=c:e.left=n(e.left-a,e.left)},top:function(e,t){var i,o=t.within,s=o.isWindow?o.scrollTop:o.offset.top,r=t.within.height,a=e.top-t.collisionPosition.marginTop,l=s-a,c=a+t.collisionHeight-r-s;t.collisionHeight>r?l>0&&c<=0?(i=e.top+l+t.collisionheight-r-s,e.top+=l-i):e.top=c>0&&l<=0?s:l>c?s+r-t.collisionHeight:s:l>0?e.top+=l:c>0?e.top-=c:e.top=n(e.top-a,e.top)}},flip:{left:function(e,t){var n,o,s=t.within,r=s.offset.left+s.scrollLeft,a=s.width,l=s.isWindow?s.scrollLeft:s.offset.left,c=e.left-t.collisionPosition.marginLeft,d=c-l,u=c+t.collisionWidth-a-l,h="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,m="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];d<0?((n=e.left+h+m+f+t.collisionwidth-a-r)<0||n0&&((o=e.left-t.collisionPosition.marginLeft+h+m+f-l)>0||i(o)0&&((n=e.top-t.collisionPosition.marginTop+h+m+f-l)>0||i(n)\n ${t.text.goToPage}\n ${e}\n `}function c(e){return`
  • ${t.text.currentPage} ${e}
  • `}function d(e){const n=`#${s}`,i=t.text.prev,r=t.text.next,d=t.text.paginationLabel;let u="";return u+=a<=1?`
  • ${i}
  • `:`
  • ${i}
  • `,u+=function(e,n){let i="",s=1;if(e<2)for(s=1;s`;for(s=e;s<=n;s++)i+=s===a?c(s):l(s);if(n>=o-2)for(s=n+1;s<=o;s++)i+=l(s);else i+=`
  • `,i+=l(o);return i}(e.rangeStart,e.rangeEnd),u+=a>=o?`
  • ${r}
  • `:`
  • ${r}
  • `,``}function u(){let e=a-2,t=a+2;return t>o&&(t=o,e=o-4,e=e<1?1:e),e<=1&&(e=1,t=math.min(5,o)),{rangestart:e,rangeend:t}}n.html(d(u())),e(r).off("click",".pagination a").on("click",".pagination a",(function(o){o.preventDefault();const s=e(o.target).data("page");switch(s){case"prev":a--;break;case"next":a++;break;default:a=s}const l=t.baseUrl+(a-1)*t.hitsPerPage;n.html(d(u())),sv.PortletUtil.doGetWithFade(i,l,(()=>{r.scrollIntoView()}))}))}},5306:function(e,t,n){"use strict";n(3211)},3211:function(){!function(e,t,n,i){var o="svAutoComplete",s={cssClasses:{resultList:"sv-autocomplete-search-result",resultItem:"sv-autocomplete-result-item",activeResultItem:"sv-autocomplete-result-item-active"},appendTo:"body",queryParameterName:"term",delay:200,cacheTTL:3e5},r=38,a=40,l=13,c=27,d='
  • Inga förslag / No suggestions
  • ';function u(t,n){this.element=t,this.$element=e(t),n.selectedValueContainerId&&(this.$selectedValueContainer=e("#"+n.selectedValueContainerId)),this.options=e.extend({},s,n),this._defaults=s,this._name=o,this.init()}u.prototype={init:function(){var n=this;this.menuId=this.$element.attr("data-aria-owns")||this.$element.attr("id")+"listbox",this.$element.attr({"aria-owns":this.menuId,autocomplete:"off"}).on({keydown:e.proxy(this.handleKeydown,this),keypress:e.proxy(this.handleKeypress,this),mousedown:e.proxy(this.handleMousedown,this),blur:e.proxy(this.handleBlur,this),paste:e.proxy(this.handlePaste,this)}),this.$menu=e("
      ").addClass(this.getCssClass("resultList")).attr({id:this.menuId,role:"listbox","aria-labelledby":this.$element.attr("id"),"aria-expanded":"false"}).append(d).appendTo(this.options.appendTo).hide(),this.$menu.on("click","li",(function(){var e=Array.prototype.slice.call(arguments,0);e.splice(0,0,this),n.handleItemClicked.apply(n,e)})).on("mousedown",e.proxy((function(){this.cancelBlur=!0,t.setTimeout(e.proxy((function(){delete this.cancelBlur}),this),10)}),this)),this.cache={}},getCssClass:function(e){return this.options.cssClasses[e]},handleKeydown:function(e){var t=e.which,n="true"===this.$menu.attr("aria-expanded");t!==r||e.shiftKey?t!==a||e.shiftKey?t===l&&n?(this.selectActive(),this.close()):t===c?this.close():this.search():(e.preventDefault(),n&&this.next()):(e.preventDefault(),n&&this.previous())},handleKeypress:function(e){if(!e.shiftKey)switch(e.which){case r:e.preventDefault(),this.previous();break;case a:e.preventDefault(),this.next()}},handleBlur:function(){this.cancelBlur?delete this.cancelBlur:(t.clearTimeout(this.searchTimeout),this.close())},handlePaste:function(){this.search()},previous:function(){void 0===this.activeItem||0===this.activeItem?this.activeItem=this.$menu.find("li").length-1:this.activeItem=this.activeItem-1,this.activateItem(this.activeItem)},next:function(){var e=this.$menu.find("li");void 0===this.activeItem||this.activeItem===e.length-1?this.activeItem=0:this.activeItem=this.activeItem+1,this.activateItem(this.activeItem)},activateItem:function(e){var t=this.getCssClass("activeResultItem"),n=this.$menu.find("li"),i=n.eq(e);n.removeClass(t).attr("aria-selected","false"),i.addClass(t).attr("aria-selected","true"),this.$element.attr("aria-activedescendant",i.attr("id")).val(i.text()),this.$selectedValueContainer&&this.$selectedValueContainer.length&&this.$selectedValueContainer.empty().append(i.text())},selectActive:function(){var e=this.$menu.find("."+this.getCssClass("activeResultItem"));e.length?this.$element.attr("aria-activedescendant",e.attr("id")).val(e.text()):this.$element.removeAttr("aria-activedescendant")},handleItemClicked:function(t,n){n.preventDefault();var i=e(t);this.activateItem(i.index()),this.$element.val(e(t).text()),this.$element.closest("form").trigger("submit"),this.close()},close:function(){this.xhr&&this.xhr.abort(),this.$menu.find("li").remove(),this.$menu.attr("aria-expanded",!1).hide().append(d),this.activeItem=i,this.$element.removeAttr("aria-activedescendant")},search:function(){var n={},i=this.options.source;this.searchTimeout&&t.clearTimeout(this.searchTimeout),this.searchTimeout=t.setTimeout(e.proxy((function(){var t=this.$element.val(),o=this.cache[t];!t||t.length(new Date).getTime()-this.options.cacheTTL?this.handleResult(o.value):(n[this.options.queryParameterName]=this.$element.val(),this.xhr=e.ajax({url:i,dataType:"json",data:n}).done(e.proxy(this.handleResult,this)).done(e.proxy((function(e){e&&(this.cache[t]={value:e,timestamp:(new Date).getTime()})}),this)).fail(e.proxy((function(){this.$menu.attr("aria-expanded",!1).hide()}),this)))}),this),this.options.delay)},handleResult:function(t){if(t){this.activeItem=i,this.$element.removeAttr("aria-activedescendant");var n=e.map(t,e.proxy(this.renderItem,this));if(this.$menu.html(n.join("")).show().attr("aria-expanded",!0).position({my:"left top",at:"left bottom",of:this.$element}),this.$selectedValueContainer&&this.$selectedValueContainer.length){var o="sv"===(e("html").attr("lang")||"sv")?" sökförslag":" suggestions";this.$selectedValueContainer.text(t.length+o)}}},renderItem:function(e,t){return'
    • '+(e.replace(/&/g,"&").replace(//g,">")+"
    • ")}},e.fn[o]=function(t){return this.each((function(){e.data(this,"plugin_"+o)||e.data(this,"plugin_"+o,new u(this,t))}))}}(window.$svjq,window,document)},8496:function(){!function(e,t,n,i){var o="svDialog",s={cssClasses:{},open:!1,modal:!0,movable:!1,url:void 0,title:"My fancy dialog",closeOnEscape:!0,onClose:null,closeButtonLabel:"Close"};function r(t,n){this.element=t,this.$element=e(t),this.options=e.extend({},s,n),this._defaults=s,this._name=o,this.init()}r.prototype={init:function(){var t,n;this.$dialogWrapper=(t=this.options.modal,n="",t&&(n+='
      '),n+='',t&&(n+="
      "),e(n)),this.$dialogWrapper.find(".sv-dialog-body").append(this.element),this.options.buttons&&this.setupButtons(),this.bindEvents(),this.options.modal||(this.$dialogWrapper.addClass("sv-dialog-movable"),this.$dialogWrapper.draggable({handle:".sv-dialog-header",containment:"body",distance:10})),this.options.open&&this.open()},open:function(){this.options.url?e.get(this.options.url).done(e.proxy(this.handleRemoteContent,this)):this._open()},handleRemoteContent:function(e){this.$element.html(e),this._open()},_open:function(){this.$dialogWrapper.appendTo("body"),this.setTitle(),this.setCloseButton(),this.setAriaHidden(!1),this.$dialogWrapper.find(".sv-dialog-container").css("height",e(t).height()),this.options.modal?e("body").addClass("sv-dialog-open"):this.positionDialog(),this.$dialogWrapper.show(),this.setFocus(),this.setupFocusTrap(),this.$element.trigger("open:dialog.sv-dialog")},setCloseButton:function(){this.$dialogWrapper.find(".sv-dialog-close").attr("aria-label",this.options.closeButtonLabel)},setTitle:function(){this.$dialogWrapper.find("#sv-dialog-title").html(this.options.title)},setAriaHidden:function(e){(this.options.modal?this.$dialogWrapper.find(".sv-dialog"):this.$dialogWrapper).attr("aria-hidden",e)},positionDialog:function(){var e=this.$dialogWrapper.outerWidth();this.$dialogWrapper.css({position:"fixed",top:"30px",left:"50%",marginLeft:"-"+t.parseInt(e,10)/2+"px"})},setupButtons:function(){e.each(this.options.buttons,e.proxy((function(t,n){var i=e('