!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=19)}([function(t,e){t.exports=function(t){var e,n,i,o,r;return(e=document.createElement("div")).setAttribute("aria-hidden","true"),e.setAttribute("class","tnh-dialog-box"),(n=document.createElement("header")).setAttribute("class","tnh-dialog-box-header"),e.appendChild(n),(i=document.createElement("button")).setAttribute("class","tnh-close-button"),i.setAttribute("data-label","closeButton"),n.appendChild(i),(o=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("width","16"),o.setAttribute("height","16"),o.setAttribute("viewBox","0 0 16 16"),o.setAttribute("fill","none"),i.appendChild(o),(r=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d","M15.6622 0.337775C15.4478 0.121597 15.1559 0 14.8515 0C14.547 0 14.2551 0.121597 14.0407 0.337775L8 6.38991L1.95929 0.337775C1.51152 -0.109993 0.785544 -0.109993 0.337775 0.337775C-0.109993 0.785544 -0.109993 1.51152 0.337775 1.95929L6.38991 8L0.337775 14.0407C0.121597 14.2551 0 14.547 0 14.8515C0 15.1559 0.121597 15.4478 0.337775 15.6622C0.552188 15.8784 0.844056 16 1.14853 16C1.45301 16 1.74488 15.8784 1.95929 15.6622L8 9.6101L14.0407 15.6622C14.2551 15.8784 14.547 16 14.8515 16C15.1559 16 15.4478 15.8784 15.6622 15.6622C15.8784 15.4478 16 15.1559 16 14.8515C16 14.547 15.8784 14.2551 15.6622 14.0407L9.6101 8L15.6622 1.95929C15.8784 1.74488 16 1.45301 16 1.14853C16 0.844056 15.8784 0.552188 15.6622 0.337775Z"),r.setAttribute("fill","#0C1026"),o.appendChild(r),(n=document.createElement("section")).setAttribute("class","tnh-message-container"),n.setAttribute("data-label","messageContainer"),e.appendChild(n),e}},function(t,e){t.exports=function(t){var e,n,i;return(e=document.createElement("div")).setAttribute("class","tnh-logo-box"),e.setAttribute("data-box","box"),(n=document.createElement("div")).setAttribute("class","tnh-photo-logo"),e.appendChild(n),(i=document.createElement("img")).setAttribute("src",""+t.imageUrl),i.setAttribute("width","74"),i.setAttribute("height","74"),n.appendChild(i),e}},function(t,e){t.exports=function(t){var e,n;return(e=document.createElement("div")).setAttribute("class","tnh-title"),e.setAttribute("data-box","box"),n=document.createTextNode(""+t.message),e.appendChild(n),e}},function(t,e){t.exports=function(t){var e,n;return(e=document.createElement("div")).setAttribute("class","tnh-info-box"),e.setAttribute("data-box","box"),n=document.createTextNode(""+t.message),e.appendChild(n),e}},function(t,e){t.exports=function(t){var e,n,i;return(e=document.createElement("div")).setAttribute("class","tnh-summary"),(n=document.createElement("div")).setAttribute("class","tnh-summary-text"),e.appendChild(n),i=document.createTextNode(""+t.message),n.appendChild(i),e}},function(t,e){t.exports=function(t){var e,n,i;return(e=document.createElement("div")).setAttribute("class","tnh-link"),e.setAttribute("data-box","box"),(n=document.createElement("a")).setAttribute("href",""+t.link),e.appendChild(n),i=document.createTextNode(""+t.message),n.appendChild(i),e}},function(t,e){t.exports=function(t){var e,n,i,o;return(e=document.createElement("form")).setAttribute("novalidate","novalidate"),e.setAttribute("data-label","tnh-form"),(n=document.createElement("div")).setAttribute("class","tnh-input-text"),n.setAttribute("data-label","input"),e.appendChild(n),(i=document.createElement("input")).setAttribute("pattern",""+t.$validationPattern),i.setAttribute("value",""+t.$defaultValue),i.setAttribute("type","text"),i.setAttribute("placeholder",""+t.placeholder),n.appendChild(i),(i=document.createElement("span")).setAttribute("class","tnh-input-error-message"),n.appendChild(i),o=document.createTextNode(""+t.invalidInputMessage),i.appendChild(o),(n=document.createElement("div")).setAttribute("class","tnh-input"),e.appendChild(n),(i=document.createElement("button")).setAttribute("class","tnh-button tnh-button-primary"),i.setAttribute("type","submit"),n.appendChild(i),o=document.createTextNode(""+t.submitLabel),i.appendChild(o),e}},function(t,e){t.exports=function(t){var e,n,i,o;return(e=document.createElement("div")).setAttribute("class","tnh-policy"),e.setAttribute("data-box","box"),(n=document.createElement("div")).setAttribute("class","tnh-policy-box"),e.appendChild(n),i=document.createTextNode(""+t.text),n.appendChild(i),(i=document.createElement("a")).setAttribute("class","tnh-policy-link"),i.setAttribute("href","/om-telenor/vores-ansvar/databeskyttelse/"),n.appendChild(i),o=document.createTextNode(""+t.link),i.appendChild(o),e}},function(t,e){t.exports=function(t){var e,n,i,o,r;return(e=document.createElement("div")).setAttribute("class","tnh-logo-box"),(n=document.createElement("div")).setAttribute("class","tnh-icon-success"),e.appendChild(n),(i=document.createElement("div")).setAttribute("class","tnh-photo-icon"),n.appendChild(i),(o=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("width","16"),o.setAttribute("height","12"),o.setAttribute("viewBox","0 0 16 12"),o.setAttribute("fill","none"),i.appendChild(o),(r=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d","M14.2868 0.293872L5.00153 9.5862L1.71321 6.28892C1.32129 5.89712 0.685862 5.89712 0.293941 6.28892C-0.0979803 6.68072 -0.0979803 7.31595 0.293941 7.70775L4.29189 11.7044C4.47956 11.8936 4.73503 12 5.00153 12C5.26803 12 5.52349 11.8936 5.71116 11.7044L15.706 1.7127C15.9596 1.45925 16.0586 1.08984 15.9658 0.743622C15.873 0.397404 15.6025 0.126977 15.2561 0.0342082C14.9098 -0.0585606 14.5403 0.0404226 14.2868 0.293872Z"),r.setAttribute("fill","#1A1A1A"),o.appendChild(r),e}},function(t,e){t.exports=function(t){var e,n,i,o;return(e=document.createElement("div")).setAttribute("class","tnh-logo-box"),(n=document.createElement("div")).setAttribute("class","tnh-icon-duplicate"),e.appendChild(n),(i=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("fill","none"),i.setAttribute("viewBox","0 0 48 48"),n.appendChild(i),(o=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("fill","#1A1A1A"),o.setAttribute("d","M23 17a1 1 0 0 1 1 -1h0a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h0a1 1 0 0 1 -1 -1z"),i.appendChild(o),(o=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("fill","#1A1A1A"),o.setAttribute("d","M23 31a1 1 0 0 1 1 -1h0a1 1 0 0 1 1 1v0a1 1 0 0 1 -1 1h0a1 1 0 0 1 -1 -1z"),i.appendChild(o),e}},function(t,e){t.exports=function(t){var e,n,i,o,r;return(e=document.createElement("div")).setAttribute("class","tnh-logo-box"),(n=document.createElement("div")).setAttribute("class","tnh-icon-error"),e.appendChild(n),(i=document.createElement("div")).setAttribute("class","tnh-photo-icon"),n.appendChild(i),(o=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("width","16"),o.setAttribute("height","16"),o.setAttribute("viewBox","0 0 16 16"),o.setAttribute("fill","none"),i.appendChild(o),(r=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d","M15.6622 0.337775C15.4478 0.121597 15.1559 0 14.8515 0C14.547 0 14.2551 0.121597 14.0407 0.337775L8 6.38991L1.95929 0.337775C1.51152 -0.109993 0.785544 -0.109993 0.337775 0.337775C-0.109993 0.785544 -0.109993 1.51152 0.337775 1.95929L6.38991 8L0.337775 14.0407C0.121597 14.2551 0 14.547 0 14.8515C0 15.1559 0.121597 15.4478 0.337775 15.6622C0.552188 15.8784 0.844056 16 1.14853 16C1.45301 16 1.74488 15.8784 1.95929 15.6622L8 9.6101L14.0407 15.6622C14.2551 15.8784 14.547 16 14.8515 16C15.1559 16 15.4478 15.8784 15.6622 15.6622C15.8784 15.4478 16 15.1559 16 14.8515C16 14.547 15.8784 14.2551 15.6622 14.0407L9.6101 8L15.6622 1.95929C15.8784 1.74488 16 1.45301 16 1.14853C16 0.844056 15.8784 0.552188 15.6622 0.337775Z"),r.setAttribute("fill","#1A1A1A"),o.appendChild(r),e}},function(t,e){t.exports=function(t){var e,n;return(e=document.createElement("div")).setAttribute("class","tnh-summary-text"),n=document.createTextNode(""+t.message),e.appendChild(n),e}},function(t,e){t.exports=function(t){var e,n;return(e=document.createElement("div")).setAttribute("class","tnh-warning"),n=document.createTextNode(""+t.message),e.appendChild(n),e}},function(t,e){t.exports=function(t){var e,n,i;return(e=document.createElement("div")).setAttribute("class","tnh-loader"),e.setAttribute("data-box","box"),(n=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("class","tnh-loader__image"),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("width","33"),n.setAttribute("height","32"),n.setAttribute("viewBox","0 0 33 32"),n.setAttribute("fill","none"),e.appendChild(n),(i=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("class","tnh-loader__circle"),i.setAttribute("d","M16.0009 32C13.4692 31.9879 10.9768 31.3735 8.73005 30.2074C6.48329 29.0414 4.54679 27.3574 3.08085 25.2947C2.64743 24.6677 2.46926 23.8992 2.58258 23.1455C2.69589 22.3919 3.09217 21.7097 3.69085 21.2376C3.99221 21.0094 4.33654 20.8444 4.70322 20.7524C5.06991 20.6604 5.45141 20.6432 5.82487 20.702C6.19834 20.7608 6.5561 20.8943 6.87673 21.0945C7.19735 21.2947 7.47425 21.5575 7.69085 21.8671C8.63633 23.1969 9.88484 24.2829 11.3333 25.0352C12.7817 25.7876 14.3885 26.1848 16.0208 26.1941C18.7801 26.1572 21.4123 25.0291 23.341 23.0568C25.2696 21.0846 26.3376 18.4289 26.3109 15.6715C26.3054 14.9071 26.6014 14.1713 27.1348 13.6233C27.6682 13.0753 28.396 12.7593 29.1609 12.7436C29.5368 12.7448 29.9088 12.8205 30.2554 12.9661C30.602 13.1116 30.9163 13.3243 31.1803 13.5918C31.4443 13.8593 31.6527 14.1764 31.7935 14.5247C31.9343 14.8731 32.0048 15.2458 32.0009 15.6215C32.0273 17.747 31.6343 19.8569 30.8444 21.8305C30.0544 23.8041 28.8831 25.6029 27.3972 27.1239C25.9113 28.645 24.14 29.8585 22.1845 30.6952C20.2291 31.5318 18.1278 31.9752 16.0009 32ZM2.85085 18.5894C2.47395 18.5868 2.10126 18.51 1.75406 18.3635C1.40686 18.2169 1.09194 18.0035 0.827291 17.7353C0.562642 17.4671 0.353444 17.1495 0.211643 16.8005C0.0698418 16.4516 -0.00178591 16.0781 0.000849694 15.7015C-0.0341179 12.2806 1.01099 8.93572 2.98758 6.14245C4.96417 3.34918 7.77164 1.24968 11.0108 0.142417C11.3679 0.0246856 11.7449 -0.0207644 12.1197 0.00872235C12.4945 0.0382091 12.8597 0.142041 13.194 0.314154C13.5282 0.486267 13.8247 0.723209 14.0663 1.01114C14.3079 1.29907 14.4896 1.63222 14.6008 1.99112C14.8403 2.71749 14.7848 3.50877 14.4462 4.19465C14.1077 4.88054 13.5133 5.40621 12.7908 5.65854C10.7071 6.36796 8.89976 7.7151 7.62533 9.50881C6.3509 11.3025 5.67406 13.4517 5.69085 15.6515C5.6988 16.0311 5.6315 16.4086 5.49283 16.7621C5.35416 17.1156 5.14686 17.4382 4.88287 17.7113C4.61888 17.9843 4.30343 18.2025 3.95468 18.3533C3.60593 18.504 3.23078 18.5842 2.85085 18.5894Z"),i.setAttribute("fill","#007AD0"),n.appendChild(i),e}},function(t,e){t.exports=function(t){var e,n;return(e=document.createElement("button")).setAttribute("aria-hidden","true"),e.setAttribute("class","tnh-open-button"),e.setAttribute("data-label","openPopup"),(n=document.createElement("img")).setAttribute("src",""+t.imageUrl),n.setAttribute("width","50"),n.setAttribute("height","50"),e.appendChild(n),e}},function(t,e,n){var i=n(16),o=n(17);"string"==typeof(o=o.__esModule?o["default"]:o)&&(o=[[t.i,o,""]]);var r={insert:"head",singleton:!1},a=(i(o,r),o.locals?o.locals:{});t.exports=a},function(t,e,n){"use strict";var i,o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var t={};return function(e){if("undefined"==typeof t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(i){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},i=[],o=0;o<t.length;o++){var r=t[o],u=e.base?r[0]+e.base:r[0],l=n[u]||0,c="".concat(u," ").concat(l);n[u]=l+1;var p=s(c),d={css:r[1],media:r[2],sourceMap:r[3]};-1!==p?(a[p].references++,a[p].updater(d)):a.push({identifier:c,updater:b(d,e),references:1}),i.push(c)}return i}function l(t){var e=document.createElement("style"),i=t.attributes||{};if("undefined"==typeof i.nonce){var o=n.nc;o&&(i.nonce=o)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var a=r(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var c,p=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function d(t,e,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function h(t,e,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),r&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var m=null,f=0;function b(t,e){var n,i,o;if(e.singleton){var r=f++;n=m||(m=l(e)),i=d.bind(null,n,r,!1),o=d.bind(null,n,r,!0)}else n=l(e),i=h.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var o=s(n[i]);a[o].references--}for(var r=u(t,e),l=0;l<n.length;l++){var c=s(n[l]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=r}}}},function(t,e,n){(e=n(18)(!1)).push([t.i,'.tnh-dialog-box[aria-hidden="true"], .tnh-open-button[aria-hidden="true"] {\n    display: none;\n}\n\n.tnh-dialog-box[aria-hidden="false"], .tnh-open-button[aria-hidden="false"] {\n    display: unset;\n}\n\n.tnh-open-button {\n    position: fixed;\n    bottom: 24px;\n    right: 24px;\n    width: 56px;\n    height: 56px;\n    background: #ffffff;\n    box-shadow: 0 3px 10px #E6E9F4;\n    border: 1px solid #E6E9F4;\n    border-radius: 50%;\n    padding: 2px;\n    cursor: pointer;\n}\n\n.tnh-open-button:focus {\n    outline: none;\n}\n\n.tnh-open-button:active {\n    transform: scale(.95);\n}\n\n.tnh-dialog-box {\n    position: fixed;\n    z-index: 11;\n    width: 288px;\n    bottom: 0;\n    right: 50%;\n    transform: translate(50%, -16px);\n    background: #fff;\n    max-height: 100vh;\n    display: flex;\n    flex-direction: column;\n    box-shadow: 0 0 16px rgba(12, 16, 38, 0.1);\n}\n\n.tnh-photo, .tnh-icon-success, .tnh-icon-duplicate, .tnh-icon-error {\n    width: 48px;\n    min-width: 48px;\n    height: 48px;\n    background: #19AAF8;\n    border-radius: 50%;\n}\n\n.tnh-icon-success {\n    background: #B0F0B2;\n}\n\n.tnh-icon-duplicate {\n    background: #FDF192;\n}\n\n.tnh-icon-error {\n    background: #FFB4B4;\n}\n\n.tnh-photo-icon {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    height: 100%;\n}\n\n.tnh-photo-logo {\n    width: 80px;\n    height: 80px;\n    margin: 6px;\n    background: #ffffff;\n    border: 1px solid #E6E9F4;\n    border-radius: 50%;\n    padding: 2px;\n    box-sizing: border-box;\n}\n\n.tnh-dialog-box-header {\n    display: flex;\n    align-items: center;\n    justify-content: flex-end;\n    color: #0C1026;\n    border-top-left-radius: 4px;\n    border-top-right-radius: 4px;\n}\n\n.tnh-close-button {\n    border: none;\n    background: transparent;\n    padding: 24px;\n    color: inherit;\n    margin-bottom: -24px;\n    cursor: pointer;\n}\n\n.tnh-message-container {\n    padding: 0 24px;\n    color: #1A1A1A;\n    font-family: Telenor;\n    font-style: normal;\n    font-weight: normal;\n    font-size: 18px;\n    line-height: 24px;\n    max-height: 568px;\n    overflow: auto;\n}\n\n.tnh-message-container > *:last-child {\n    margin-bottom: 32px;\n}\n\n.tnh-logo-box {\n    width: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    margin-bottom: 24px;\n}\n\n.tnh-title {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-weight: bold;\n    margin-bottom: 8px;\n    text-align: center;\n}\n\n.tnh-info-box, .tnh-warning {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-family: Source Sans Pro;\n    text-align: center;\n}\n\n.tnh-info-box {\n    margin-bottom: 24px;\n}\n\n.tnh-warning {\n    margin-bottom: 16px;\n}\n\n.tnh-input {\n    display: flex;\n    justify-content: space-between;\n    margin-bottom: 24px;\n    cursor: pointer;\n}\n\n.tnh-input > * {\n    flex: 1;\n}\n\n.tnh-button {\n    border: 1px solid #767676;\n    outline: none;\n    border-radius: 3px;\n    background: #FFFFFF;\n    font-size: 18px;\n    font-family: Telenor;\n    padding: 12px;\n}\n\n.tnh-button:hover {\n    border-color: #1A1A1A;\n}\n\n.tnh-button-primary {\n    border: none;\n    background: #007AD0;\n    color: #ffffff;\n}\n\n.tnh-button-primary:hover {\n    background: #006BB7;\n}\n\n.tnh-button-primary:active {\n    background: #005EA0;\n}\n\n.tnh-input-text {\n    display: flex;\n    flex-direction: column;\n    margin-bottom: 16px;\n}\n\n.tnh-input-text input {\n    flex: auto;\n    padding: 12px 16px;\n    font-family: Telenor;\n    font-style: normal;\n    font-weight: normal;\n    font-size: 18px;\n    line-height: 24px;\n    color: #1A1A1A;\n    border: 1px solid #767676;\n    box-sizing: border-box;\n    border-radius: 3px;\n}\n\n.tnh-input-text input::placeholder {\n    color: #D6D6D6;\n}\n\n.tnh-input-text input:focus {\n    border-color: #19AAF8;\n    outline: none;\n}\n\n.tnh-input-text.tnh-input-invalid input {\n    border-color: #FFB4B4;\n}\n\n.tnh-input-error-message {\n    display: none;\n    align-self: flex-start;\n    font-family: Source Sans Pro;\n    font-style: normal;\n    font-weight: normal;\n    font-size: 14px;\n    line-height: 20px;\n    margin-top: 8px;\n    border-bottom: 1px solid #FFB4B4;\n}\n\n.tnh-input-text.tnh-input-invalid .tnh-input-error-message {\n    display: inline;\n}\n\n.tnh-link {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    text-align: center;\n    margin-bottom: 4px;\n}\n\n.tnh-link a {\n    font-family: Source Sans Pro;\n    text-decoration: none;\n    color: #19AAF8;\n}\n\n.tnh-policy {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n}\n\n.tnh-policy-box {\n    text-align: center;\n    font-family: Source Sans Pro;\n    font-size: 12px;\n    line-height: 16px;\n    color: #000000;\n}\n\n.tnh-policy-link {\n    color: #000000;\n    text-decoration: underline;\n}\n\n.tnh-summary {\n    display: flex;\n    align-items: center;\n    flex-direction: column;\n    margin-bottom: 16px;\n}\n\n.tnh-summary-text {\n    font-family: telenor;\n    font-weight: bold;\n    font-size: 18px;\n    text-align: center;\n}\n\n@media only screen and (min-width: 768px) {\n    .tnh-open-button {\n        bottom: 48px;\n        right: 48px;\n        width: 56px;\n        height: 56px;\n    }\n\n    .tnh-dialog-box {\n        right: 0;\n        transform: translate(-16px, -16px);\n    }\n}\n\n/*Loader*/\n.tnh-loader {\n    width: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding-top: 109px;\n    padding-bottom: 188px;\n}\n\n.tnh-loader__image {\n     transform: rotate(90deg);\n     vertical-align: middle;\n     animation: tnh-rotation 1.5s cubic-bezier(.28, 0, .58, 1) infinite;\n }\n\n.tnh-loader__circle {\n    animation: tnh-rotationCircle 1.5s cubic-bezier(.28, 0, .58, 1) infinite;\n }\n\n@keyframes tnh-rotation {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(720deg);\n    }\n}\n\n@keyframes tnh-rotationCircle {\n    0% {\n        stroke-dasharray: 0, 240%, 0;\n    }\n    20% {\n        stroke-dasharray: 55%, 160%, 0;\n    }\n    60% {\n        stroke-dasharray: 50%, 50%, 65%;\n    }\n    100% {\n        stroke-dasharray: 0, 240%, 0;\n    }\n}\n',""]),t.exports=e},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=(a=i,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u," */")),r=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(r).concat([o]).join("\n")}var a,s,u;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var u=[].concat(t[s]);i&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},function(t,e,n){"use strict";n.r(e);n(15);var i={storageKeyName:"telenorHelpboxState",maxSessionLength:50,systemId:"telenor.dk",apis:{getPageStatus:"https://apigateway.telenor.dk/helpbox/v1/api/status?url=",postCallbackRequest:"https://apigateway.telenor.dk/helpbox/v1/api/CallbackRequest"},i18n:{welcomeMessage:"Hello, welcome to Telenor. Do you need help?",needHelpConfirmButtons:{yes:"Yes",no:"Later",$type:"need-help"},enterPhoneNumberMessage:"What phone number you like us to call?",inputPhoneNumber:{inputLabel:"Phone Number",invalidInputMessage:"Phone number is invalid",submitLabel:"Submit",$type:"phone-number",$defaultValue:"+45",$validationPattern:"\\+45[0-9]{8}"},enterCommentMessage:"If you want, you may leave comment prior to call?",inputComment:{inputLabel:"Comment",invalidInputMessage:"",submitLabel:"Request callback",$type:"comment",$defaultValue:"",$validationPattern:".*"},completeMessage:"Thank you! We'll call you soon."}};var o=new function(){var t={},e={surfing:{pages:[]},activeRequest:{phoneNumber:undefined,created:undefined,skillset:"",comment:""}},n=function(){window.localStorage[i.storageKeyName]=JSON.stringify(t),window.sessionStorage[i.storageKeyName]=JSON.stringify(e)};return window.localStorage[i.storageKeyName]&&window.sessionStorage[i.storageKeyName]?(Object.assign(t,JSON.parse(window.localStorage[i.storageKeyName])),Object.assign(e,JSON.parse(window.sessionStorage[i.storageKeyName])),e.surfing.pages.length>i.maxSessionLength&&(e.surfing.pages=e.surfing.pages.slice(-1*i.maxSessionLength),n())):(delete window.localStorage[i.storageKeyName],delete window.sessionStorage[i.storageKeyName]),e.surfing.origin=window.location.origin,e.currentPage={path:window.location.pathname+window.location.search,started:+new Date,duration:null},window.addEventListener("unload",(function(){e.currentPage.duration=new Date-e.currentPage.started,n()})),e.surfing.pages.push(e.currentPage),n(),{save:n,activeRequest:e.activeRequest,get currentPage(){return e.currentPage},get currentOrigin(){return e.surfing.origin},set quarantineTime(e){t.quarantine={started:+new Date,duration:e},n()},get onQuarantine(){return!!t.quarantine&&(t.quarantine.started+t.quarantine.duration>+new Date||(t.quarantine=undefined,!1))}}};function r(t,e,n){return new Promise((function(i,o){var r=new XMLHttpRequest;r.open(t,e,!0),"GET"!==t&&r.setRequestHeader("Content-Type","application/json; charset=utf-8"),r.onreadystatechange=function(){4===this.readyState&&200===this.status&&i(JSON.parse(this.responseText))},r.addEventListener("error",(function(t){o(t)})),r.send(n)}))}var a=function(t){return r("GET",t,null)},s=function(t,e){return r("POST",t,JSON.stringify(e))},u=function(t){return a(i.apis.getPageStatus+encodeURIComponent(t))};var l=function(){var t={};this.on=function(e,n,i){t[e]||(t[e]=[]),t[e].push({callback:n,context:i})},this.off=function(e,n){t[e]&&t[e].some((function(i,o){if(i.callback===n)return t[e].splice(o,1),!0}))},this.emit=function(e,n){t[e]&&t[e].forEach((function(t){setTimeout((function(){t.callback.call(t.context,n)}))}))}},c=n(0),p=n.n(c),d=n(1),h=n.n(d),m=function(t){return h()(t)},f=n(2),b=n.n(f),g=function(t){return b()({message:t})},x=n(3),v=n.n(x),w=function(t){return v()({message:t})},A=n(4),y=n.n(A),C=function(t){return y()({message:t})},E=n(5),S=n.n(E),T=function(t,e){return S()(t)},L=n(6),k=n.n(L),P=function(t,e){var n=k()(t),i=function(){var t=n.checkValidity();return t?n.querySelector("[data-label='input']").classList.remove("tnh-input-invalid"):n.querySelector("[data-label='input']").classList.add("tnh-input-invalid"),t};return n.addEventListener("submit",(function(o){var r=i(),a=n.querySelector("[data-label='input'] > input");r?(n.parentNode.removeChild(n),e.emit(t.$type+"-submit",a.value)):(a.removeEventListener("input",i),a.addEventListener("input",i)),o.preventDefault()})),window.setTimeout((function(){var t=n.querySelector("[data-label='input'] > input");t.selectionStart=t.selectionEnd=t.value.length})),n},M=n(7),N=n.n(M),q=function(t){return N()(t)},j=n(8),B=n.n(j),O=function(){return B()()},F=n(9),D=n.n(F),_=function(){return D()()},R=n(10),U=n.n(R),I=function(){return U()()},z=n(11),K=n.n(z),$=function(t){return K()({message:t})},H=n(12),J=n.n(H),Z=function(t){return J()({message:t})},V=n(13),G=n.n(V),Q=function(){return G()()},W=function(t,e){var n=p()(),i=function(t){t.querySelector("[data-label='closeButton']").addEventListener("click",function(){this.hide(),e.emit("dialogclose-click")}.bind(this))}.bind(this);this.TEMPLATES={logoBox:m,agentPost:g,clientPost:w,complete:C,link:T,input:P,policy:q,successLogo:O,duplicateLogo:_,errorLogo:I,warningTitle:$,warningMessage:Z,loader:Q},this._rootDom=t,this.show=function(){"false"!==n.getAttribute("aria-hidden")&&(n.setAttribute("aria-hidden",!1),e.emit("popup-opened"))},this.hide=function(){n.setAttribute("aria-hidden",!0),n.querySelector("[data-label='messageContainer']").innerHTML=""},this.post=function(t,i){n.querySelector("[data-label='messageContainer']").appendChild(t(i,e))},i(n),this._rootDom.appendChild(n)},X=n(14),Y=n.n(X),tt=function(t,e,n){var i=Y()({imageUrl:n.imageUrl}),o=function(t){t.addEventListener("click",function(){this.hide(),e.emit("openbutton-click")}.bind(this))}.bind(this);this._rootDom=t,this.show=function(){i.setAttribute("aria-hidden",!1)},this.hide=function(){i.setAttribute("aria-hidden",!0)},o(i),this._rootDom.appendChild(i)},et={start:function(t,e){var n;this.events=new l,this.popup=new W(e,this.events),o.activeRequest.skillset=t.availability.details.filter((function(t){return n=t.localization,1}))[0].skillset,o.onQuarantine||setTimeout(function(){var t=new CustomEvent("tnh-auto-popup",{bubbles:!0});document.body.querySelector(".tnh-dialog-box").dispatchEvent(t),this.button.hide(),this.popup.show()}.bind(this),t.availability.minDurationOnPage),this.button=new tt(e,this.events,{imageUrl:n.callbackImageUrl}),this.button.show(),this.events.on("openbutton-click",function(){this.popup.show()}.bind(this)),this.events.on("popup-opened",function(){this.popup.post(this.popup.TEMPLATES.logoBox,{imageUrl:n.callbackImageUrl}),this.popup.post(this.popup.TEMPLATES.agentPost,n.title),this.popup.post(this.popup.TEMPLATES.clientPost,n.info),this.popup.post(this.popup.TEMPLATES.input,n.inputPhoneNumber),this.popup.post(this.popup.TEMPLATES.link,{message:n.link,link:n.supportPageUrl}),this.popup.post(this.popup.TEMPLATES.policy,n.policy)}.bind(this)),this.events.on("dialogclose-click",function(){this.button.show(),o.quarantineTime=t.configurations.quarantineTime}.bind(this)),this.events.on("phone-number-submit",function(e){o.activeRequest.phoneNumber=e.substring(3),o.quarantineTime=t.configurations.quarantineTime,nt(this.popup._rootDom),this.popup.post(this.popup.TEMPLATES.logoBox,{imageUrl:n.callbackImageUrl}),this.popup.post(this.popup.TEMPLATES.loader),function(){o.activeRequest.created=+new Date;var t={systemId:i.systemId,phoneNumber:o.activeRequest.phoneNumber,skillset:o.activeRequest.skillset,url:o.currentOrigin+o.currentPage.path};return s(i.apis.postCallbackRequest,t)}().then(function(t){switch(nt(this.popup._rootDom),t.reason){case"OK":this.popup.post(this.popup.TEMPLATES.successLogo),this.popup.post(this.popup.TEMPLATES.complete,n.successMessage),this.popup.post(this.popup.TEMPLATES.policy,n.policy);break;case"Duplicate":this.popup.post(this.popup.TEMPLATES.duplicateLogo),this.popup.post(this.popup.TEMPLATES.warningTitle,n.duplicateMessage),this.popup.post(this.popup.TEMPLATES.agentPost,e),this.popup.post(this.popup.TEMPLATES.warningMessage,n.warningMessage),this.popup.post(this.popup.TEMPLATES.policy,n.policy);break;default:this.popup.post(this.popup.TEMPLATES.errorLogo),this.popup.post(this.popup.TEMPLATES.agentPost,n.errorTitle),this.popup.post(this.popup.TEMPLATES.warningMessage,n.errorMessage)}}.bind(this))}.bind(this))}};function nt(t){t.querySelectorAll("[data-box='box']").forEach((function(t){t.remove()}))}u(o.currentPage.path).then((function(t){if(t.availability.allowed&&t.availability.details){var e=document.createElement("div");e.className="tnh-helpbox",document.body.appendChild(e),et.start(t,e)}}))}]);