sendbird-uikit-ios/docs/js/index.4dfda72c.js

9 lines
22 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* This source file is part of the Swift.org open source project
*
* Copyright (c) 2021 Apple Inc. and the Swift project authors
* Licensed under Apache License v2.0 with Runtime Library Exception
*
* See https://swift.org/LICENSE.txt for license information
* See https://swift.org/CONTRIBUTORS.txt for Swift project authors
*/(function(e){function t(t){for(var i,r,h=t[0],c=t[1],a=t[2],l=0,u=[];l<h.length;l++)r=h[l],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&u.push(n[r][0]),n[r]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);d&&d(t);while(u.length)u.shift()();return s.push.apply(s,a||[]),o()}function o(){for(var e,t=0;t<s.length;t++){for(var o=s[t],i=!0,r=1;r<o.length;r++){var h=o[r];0!==n[h]&&(i=!1)}i&&(s.splice(t--,1),e=c(c.s=o[0]))}return e}var i={},r={index:0},n={index:0},s=[];function h(e){return c.p+"js/"+({"documentation-topic~topic~tutorials-overview":"documentation-topic~topic~tutorials-overview","documentation-topic":"documentation-topic",topic:"topic","tutorials-overview":"tutorials-overview","highlight-js-bash":"highlight-js-bash","highlight-js-c":"highlight-js-c","highlight-js-cpp":"highlight-js-cpp","highlight-js-css":"highlight-js-css","highlight-js-custom-markdown":"highlight-js-custom-markdown","highlight-js-custom-swift":"highlight-js-custom-swift","highlight-js-diff":"highlight-js-diff","highlight-js-http":"highlight-js-http","highlight-js-java":"highlight-js-java","highlight-js-javascript":"highlight-js-javascript","highlight-js-json":"highlight-js-json","highlight-js-llvm":"highlight-js-llvm","highlight-js-markdown":"highlight-js-markdown","highlight-js-objectivec":"highlight-js-objectivec","highlight-js-perl":"highlight-js-perl","highlight-js-php":"highlight-js-php","highlight-js-python":"highlight-js-python","highlight-js-ruby":"highlight-js-ruby","highlight-js-scss":"highlight-js-scss","highlight-js-shell":"highlight-js-shell","highlight-js-swift":"highlight-js-swift","highlight-js-xml":"highlight-js-xml"}[e]||e)+"."+{"documentation-topic~topic~tutorials-overview":"06df3b46","documentation-topic":"f5df163e",topic:"d56fc284","tutorials-overview":"0dfedc70","chunk-2d0d3105":"cd72cc8e","highlight-js-bash":"1b52852f","highlight-js-c":"d1db3f17","highlight-js-cpp":"eaddddbe","highlight-js-css":"75eab1fe","highlight-js-custom-markdown":"7cffc4b3","highlight-js-custom-swift":"52388c22","highlight-js-diff":"62d66733","highlight-js-http":"163e45b6","highlight-js-java":"8326d9d8","highlight-js-javascript":"acb8a8eb","highlight-js-json":"471128d2","highlight-js-llvm":"6100b125","highlight-js-markdown":"90077643","highlight-js-objectivec":"bcdf5156","highlight-js-perl":"757d7b6f","highlight-js-php":"cc8d6c27","highlight-js-python":"c214ed92","highlight-js-ruby":"f889d392","highlight-js-scss":"62ee18da","highlight-js-shell":"dd7f411f","highlight-js-swift":"84f3e88c","highlight-js-xml":"9c3688c7"}[e]+".js"}function c(t){if(i[t])return i[t].exports;var o=i[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.e=function(e){var t=[],o={"documentation-topic~topic~tutorials-overview":1,"documentation-topic":1,topic:1,"tutorials-overview":1};r[e]?t.push(r[e]):0!==r[e]&&o[e]&&t.push(r[e]=new Promise((function(t,o){for(var i="css/"+({"documentation-topic~topic~tutorials-overview":"documentation-topic~topic~tutorials-overview","documentation-topic":"documentation-topic",topic:"topic","tutorials-overview":"tutorials-overview","highlight-js-bash":"highlight-js-bash","highlight-js-c":"highlight-js-c","highlight-js-cpp":"highlight-js-cpp","highlight-js-css":"highlight-js-css","highlight-js-custom-markdown":"highlight-js-custom-markdown","highlight-js-custom-swift":"highlight-js-custom-swift","highlight-js-diff":"highlight-js-diff","highlight-js-http":"highlight-js-http","highlight-js-java":"highlight-js-java","highlight-js-javascript":"highlight-js-javascript","highlight-js-json":"highlight-js-json","highlight-js-llvm":"highlight-js-llvm","highlight-js-markdown":"highlight-js-markdown","highlight-js-objectivec":"highlight-js-objectivec","highlight-js-perl":"highlight-js-perl","highlight-js-php":"highlight-js-php","highlight-js-python":"highlight-js-python","highlight-js-ruby":"highlight-js-ruby","highlight-js-scss":"highlight-js-scss","highlight-js-shell":"highlight-js-shell","highlight-js-swift":"highlight-js-swift","highlight-js-xml":"highlight-js-xml"}[e]||e)+"."+{"documentation-topic~topic~tutorials-overview":"67b822e0","documentation-topic":"de084985",topic:"2eb01958","tutorials-overview":"8754eb09","chunk-2d0d3105":"31d6cfe0","highlight-js-bash":"31d6cfe0","highlight-js-c":"31d6cfe0","highlight-js-cpp":"31d6cfe0","highlight-js-css":"31d6cfe0","highlight-js-custom-markdown":"31d6cfe0","highlight-js-custom-swift":"31d6cfe0","highlight-js-diff":"31d6cfe0","highlight-js-http":"31d6cfe0","highlight-js-java":"31d6cfe0","highlight-js-javascript":"31d6cfe0","highlight-js-json":"31d6cfe0","highlight-js-llvm":"31d6cfe0","highlight-js-markdown":"31d6cfe0","highlight-js-objectivec":"31d6cfe0","highlight-js-perl":"31d6cfe0","highlight-js-php":"31d6cfe0","highlight-js-python":"31d6cfe0","highlight-js-ruby":"31d6cfe0","highlight-js-scss":"31d6cfe0","highlight-js-shell":"31d6cfe0","highlight-js-swift":"31d6cfe0","highlight-js-xml":"31d6cfe0"}[e]+".css",n=c.p+i,s=document.getElementsByTagName("link"),h=0;h<s.length;h++){var a=s[h],l=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(l===i||l===n))return t()}var u=document.getElementsByTagName("style");for(h=0;h<u.length;h++){a=u[h],l=a.getAttribute("data-href");if(l===i||l===n)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var i=t&&t.target&&t.target.src||n,s=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=i,delete r[e],d.parentNode.removeChild(d),o(s)},d.href=n;var g=document.getElementsByTagName("head")[0];g.appendChild(d)})).then((function(){r[e]=0})));var i=n[e];if(0!==i)if(i)t.push(i[2]);else{var s=new Promise((function(t,o){i=n[e]=[t,o]}));t.push(i[2]=s);var a,l=document.createElement("script");l.charset="utf-8",l.timeout=120,c.nc&&l.setAttribute("nonce",c.nc),l.src=h(e);var u=new Error;a=function(t){l.onerror=l.onload=null,clearTimeout(d);var o=n[e];if(0!==o){if(o){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",u.name="ChunkLoadError",u.type=i,u.request=r,o[1](u)}n[e]=void 0}};var d=setTimeout((function(){a({type:"timeout",target:l})}),12e4);l.onerror=l.onload=a,document.head.appendChild(l)}return Promise.all(t)},c.m=e,c.c=i,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)c.d(o,i,function(t){return e[t]}.bind(null,i));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="{{BASE_PATH}}/",c.oe=function(e){throw console.error(e),e};var a=window["webpackJsonp"]=window["webpackJsonp"]||[],l=a.push.bind(a);a.push=t,a=a.slice();for(var u=0;u<a.length;u++)t(a[u]);var d=l;s.push([0,"chunk-vendors"]),o()})({0:function(e,t,o){e.exports=o("f161")},"002d":function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return h})),o.d(t,"d",(function(){return l})),o.d(t,"b",(function(){return u}));const i=/(?:\s+|[`"<>])/g,r=/^-+/,n=/["'&<>]/g;function s(e){return e.trim().replace(i,"-").replace(r,"").toLowerCase()}function h(e){const t=e=>({'"':"&quot;","'":"&apos;","&":"&amp;","<":"&lt;",">":"&gt;"}[e]||e);return e.replace(n,t)}const c={zero:"zero",one:"one",two:"two",few:"few",many:"many",other:"other"},a={cardinal:"cardinal",ordinal:"ordinal"};function l(e,t){const{cardinal:o}=a,{one:i,other:r}=c,n="en",s=1===t?i:r;if(!e[n]||!e[n][s])throw new Error("No default choices provided to pluralize using default locale "+n);let h=n,l=s;if("Intl"in window&&"PluralRules"in window.Intl){const i=navigator.languages?navigator.languages:[navigator.language],r=new Intl.PluralRules(i,{type:o}),n=r.select(t),s=r.resolvedOptions().locale;e[s]&&e[s][n]&&(h=s,l=n)}return e[h][l]}function u(e){const t=/#(\d)(.*)/.exec(e);if(null===t)return e;const[o,i]=t.slice(1),r=`\\3${o} `;return`#${r}${i}`}},"1b02":function(e,t,o){"use strict";o("a6ff")},"2be1":function(e,t,o){"use strict";o("9b4f")},3908:function(e,t,o){"use strict";function i(e){let t=null,o=e-1;const i=new Promise(e=>{t=e});return requestAnimationFrame((function e(){o-=1,o<=0?t():requestAnimationFrame(e)})),i}o.d(t,"a",(function(){return i}))},"5c0b":function(e,t,o){"use strict";o("9c0c")},6842:function(e,t,o){"use strict";function i(e,t,o){let i,r=e,n=t;for("string"===typeof n&&(n=[n]),i=0;i<n.length;i+=1){if("undefined"===typeof r[n[i]])return o;r=r[n[i]]}return r}o.d(t,"d",(function(){return r})),o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return s})),o.d(t,"c",(function(){return h}));const r={meta:{},theme:{},features:{}},{baseUrl:n}=window;async function s(){const e=new URL(n+"theme-settings.json",window.location.href);return fetch(e.href).then(e=>e.json()).catch(()=>({}))}const h=(e,t)=>i(r,e,t)},7138:function(e,t,o){"use strict";o("813c")},"813c":function(e,t,o){},"821b":function(e,t,o){"use strict";t["a"]={auto:{label:"Auto",value:"auto"},dark:{label:"Dark",value:"dark"},light:{label:"Light",value:"light"}}},"942d":function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r}));const i=52,r="nav-sticky-anchor"},9895:function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return r}));const i="not-found",r="documentation-topic"},"9b4f":function(e,t,o){},"9c0c":function(e,t,o){},a6aa:function(e,t,o){"use strict";o("d964")},a6ff:function(e,t,o){},d26a:function(e,t,o){"use strict";o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return s}));var i={input:"input",tags:"tags"};function r(e={}){return Object.entries(e).reduce((e,[t,o])=>o?e.concat(`${encodeURIComponent(t)}=${encodeURIComponent(o)}`):e,[]).join("&")}function n(e,{changes:t,language:o,context:i}={}){const[n,s]=e.split("#"),h=n.match(/\?.*/),c=r({changes:t,language:o,context:i}),a=h?"&":"?",l=s?n:e,u=c?`${a}${c}`:"",d=s?"#"+s:"";return`${l}${u}${d}`}function s(e,t){const{query:{changes:o,[i.input]:r,[i.tags]:n,...s}={}}=e,{query:{changes:h,[i.input]:c,[i.tags]:a,...l}={}}=t;return e.name===t.name&&JSON.stringify({path:e.path,query:s})===JSON.stringify({path:t.path,query:l})}},d369:function(e,t,o){"use strict";const i={getItem:e=>{try{return localStorage.getItem(e)}catch(t){return null}},setItem:(e,t)=>{try{localStorage.setItem(e,t)}catch(o){}}},r={preferredColorScheme:"developer.setting.preferredColorScheme",preferredLanguage:"docs.setting.preferredLanguage"},n={preferredColorScheme:"docs.setting.preferredColorScheme"};t["a"]=Object.defineProperties({},Object.keys(r).reduce((e,t)=>({...e,[t]:{get:()=>{const e=n[t],o=i.getItem(r[t]);return e?o||i.getItem(e):o},set:e=>i.setItem(r[t],e)}}),{}))},d964:function(e,t,o){},e425:function(e,t,o){"use strict";var i=o("821b"),r=o("d369");const n="undefined"!==typeof window.matchMedia&&[i["a"].light.value,i["a"].dark.value,"no-preference"].some(e=>window.matchMedia(`(prefers-color-scheme: ${e})`).matches),s=n?i["a"].auto:i["a"].light;t["a"]={state:{preferredColorScheme:r["a"].preferredColorScheme||s.value,supportsAutoColorScheme:n,systemColorScheme:i["a"].light.value},setPreferredColorScheme(e){this.state.preferredColorScheme=e,r["a"].preferredColorScheme=e},setSystemColorScheme(e){this.state.systemColorScheme=e},syncPreferredColorScheme(){r["a"].preferredColorScheme&&r["a"].preferredColorScheme!==this.state.preferredColorScheme&&(this.state.preferredColorScheme=r["a"].preferredColorScheme)}}},e4ca:function(e,t,o){},e51f:function(e,t,o){"use strict";o("e4ca")},ed96:function(e,t,o){o.p=window.baseUrl},f161:function(e,t,o){"use strict";o.r(t);o("ed96");var i=o("2b0e"),r=o("8c4f"),n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{class:{fromkeyboard:e.fromKeyboard,hascustomheader:e.hasCustomHeader},attrs:{id:"app"}},[o("a",{attrs:{href:"#main",id:"skip-nav"}},[e._v("Skip Navigation")]),o("InitialLoadingPlaceholder"),e._t("header",(function(){return[e.hasCustomHeader?o("custom-header",{attrs:{"data-color-scheme":e.preferredColorScheme}}):e._e()]}),{isTargetIDE:e.isTargetIDE}),o("div",{attrs:{id:e.baseNavStickyAnchorId}}),e._t("default",(function(){return[o("router-view"),e.hasCustomFooter?o("custom-footer",{attrs:{"data-color-scheme":e.preferredColorScheme}}):o("Footer")]}),{isTargetIDE:e.isTargetIDE}),e._t("footer",null,{isTargetIDE:e.isTargetIDE})],2)},s=[],h=o("e425"),c=o("821b"),a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("footer",{staticClass:"footer"},[o("div",{staticClass:"row"},[o("ColorSchemeToggle")],1)])},l=[],u=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"color-scheme-toggle",attrs:{"aria-label":"Select a color scheme preference",role:"radiogroup",tabindex:"0"}},e._l(e.options,(function(t){return o("label",{key:t.value},[o("input",{attrs:{type:"radio"},domProps:{checked:t.value==e.preferredColorScheme,value:t.value},on:{input:e.setPreferredColorScheme}}),o("div",{staticClass:"text"},[e._v(e._s(t.label))])])})),0)},d=[],g={name:"ColorSchemeToggle",data:()=>({appState:h["a"].state}),computed:{options:({supportsAutoColorScheme:e})=>[c["a"].light,c["a"].dark,...e?[c["a"].auto]:[]],preferredColorScheme:({appState:e})=>e.preferredColorScheme,supportsAutoColorScheme:({appState:e})=>e.supportsAutoColorScheme},methods:{setPreferredColorScheme:e=>{h["a"].setPreferredColorScheme(e.target.value)}},watch:{preferredColorScheme:{immediate:!0,handler(e){document.body.dataset.colorScheme=e}}}},f=g,p=(o("2be1"),o("2877")),m=Object(p["a"])(f,u,d,!1,null,"4472ec1e",null),j=m.exports,v={name:"Footer",components:{ColorSchemeToggle:j}},w=v,b=(o("1b02"),Object(p["a"])(w,a,l,!1,null,"67c823d8",null)),y=b.exports,S=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.loaded?e._e():o("div",{staticClass:"InitialLoadingPlaceholder",attrs:{id:"loading-placeholder"}})},E=[],C={name:"InitialLoadingPlaceholder",data(){return{loaded:!1}},created(){this.$router.onReady(()=>{this.loaded=!0})}},_=C,P=(o("e51f"),Object(p["a"])(_,S,E,!1,null,"47e4ace8",null)),T=P.exports,k=o("942d"),A=o("6842");function O(e,t){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,t)&&"string"===typeof e[t]}function L(e,t,o,i){if(!t||"object"!==typeof t||i&&(O(t,"light")||O(t,"dark"))){let r=t;if(O(t,i)&&(r=t[i]),"object"===typeof r)return;o[e]=r}else Object.entries(t).forEach(([t,r])=>{const n=[e,t].join("-");L(n,r,o,i)})}function D(e,t="light"){const o={},i=e||{};return L("-",i,o,t),o}var I={name:"CoreApp",components:{Footer:y,InitialLoadingPlaceholder:T},provide(){return{isTargetIDE:this.isTargetIDE,performanceMetricsEnabled:"true"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_PERFORMANCE_ENABLED}},data(){return{appState:h["a"].state,fromKeyboard:!1,isTargetIDE:"ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,themeSettings:A["d"],baseNavStickyAnchorId:k["b"]}},computed:{currentColorScheme:({appState:e})=>e.systemColorScheme,preferredColorScheme:({appState:e})=>e.preferredColorScheme,CSSCustomProperties:({themeSettings:e,currentColorScheme:t})=>D(e.theme,t),hasCustomHeader:()=>!!window.customElements.get("custom-header"),hasCustomFooter:()=>!!window.customElements.get("custom-footer")},props:{enableThemeSettings:{type:Boolean,default:!0}},watch:{CSSCustomProperties:{immediate:!0,handler(e){this.detachStylesFromRoot(e),this.attachStylesToRoot(e)}}},async created(){window.addEventListener("keydown",this.onKeyDown),this.$bridge.on("navigation",this.handleNavigationRequest),this.enableThemeSettings&&Object.assign(this.themeSettings,await Object(A["b"])()),window.addEventListener("pageshow",this.syncPreferredColorScheme),this.$once("hook:beforeDestroy",()=>{window.removeEventListener("pageshow",this.syncPreferredColorScheme)})},mounted(){(document.querySelector(".footer-current-year")||{}).innerText=(new Date).getFullYear(),this.attachColorSchemeListeners()},beforeDestroy(){this.fromKeyboard?window.removeEventListener("mousedown",this.onMouseDown):window.removeEventListener("keydown",this.onKeyDown),this.$bridge.off("navigation",this.handleNavigationRequest),this.detachStylesFromRoot(this.CSSCustomProperties)},methods:{onKeyDown(){this.fromKeyboard=!0,window.addEventListener("mousedown",this.onMouseDown),window.removeEventListener("keydown",this.onKeyDown)},onMouseDown(){this.fromKeyboard=!1,window.addEventListener("keydown",this.onKeyDown),window.removeEventListener("mousedown",this.onMouseDown)},handleNavigationRequest(e){this.$router.push(e)},attachColorSchemeListeners(){if(!window.matchMedia)return;const e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.onColorSchemePreferenceChange),this.$once("hook:beforeDestroy",()=>{e.removeListener(this.onColorSchemePreferenceChange)}),this.onColorSchemePreferenceChange(e)},onColorSchemePreferenceChange({matches:e}){const t=e?c["a"].dark:c["a"].light;h["a"].setSystemColorScheme(t.value)},attachStylesToRoot(e){const t=document.documentElement;Object.entries(e).filter(([,e])=>Boolean(e)).forEach(([e,o])=>{t.style.setProperty(e,o)})},detachStylesFromRoot(e){const t=document.documentElement;Object.entries(e).forEach(([e])=>{t.style.removeProperty(e)})},syncPreferredColorScheme(){h["a"].syncPreferredColorScheme()}}},x=I,$=(o("5c0b"),o("a6aa"),Object(p["a"])(x,n,s,!1,null,"bf0cd418",null)),N=$.exports;class R{constructor(){this.$send=()=>{}}send(e){this.$send(e)}}class U{constructor(){const{webkit:{messageHandlers:{bridge:e={}}={}}={}}=window;this.bridge=e;const{postMessage:t=(()=>{})}=e;this.$send=t.bind(e)}send(e){this.$send(e)}}class B{constructor(e=new R){this.backend=e,this.listeners={}}send(e){this.backend.send(e)}receive(e){this.emit(e.type,e.data)}emit(e,t){this.listeners[e]&&this.listeners[e].forEach(e=>e(t))}on(e,t){this.listeners[e]||(this.listeners[e]=new Set),this.listeners[e].add(t)}off(e,t){this.listeners[e]&&this.listeners[e].delete(t)}}var M={install(e,t){let o;o=t.performanceMetricsEnabled||"ide"===t.appTarget?new U:new R,e.prototype.$bridge=new B(o)}};function V(e){return"custom-"+e}function q(e){return class extends HTMLElement{constructor(){super();const t=this.attachShadow({mode:"open"}),o=e.content.cloneNode(!0);t.appendChild(o)}}}function F(e){const t=V(e),o=document.getElementById(t);o&&window.customElements.define(t,q(o))}function H(e,t={names:["header","footer"]}){const{names:o}=t;e.config.ignoredElements=/^custom-/,o.forEach(F)}function K(e,t){const{value:o=!1}=t;e.style.display=o?"none":""}var G={hide:K};function J(e,{performanceMetrics:t=!1}={}){e.config.productionTip=!1,e.use(H),e.directive("hide",G.hide),e.use(M,{appTarget:Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET,performanceMetricsEnabled:t}),window.bridge=e.prototype.$bridge,e.config.performance=t}var z=o("9895"),Y=o("3908"),X=o("002d"),Q=o("d26a");function W(){const{location:e}=window;return e.pathname+e.search+e.hash}async function Z(e,t,o){if(o)return await this.app.$nextTick(),o;if(e.hash){const{name:t,query:o,hash:i}=e,r=t.includes(z["a"]),n=!!o.changes,s=r&&n?k["a"]:0,h=k["a"]+s,c="ide"===Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET?0:h;return{selector:Object(X["b"])(i),offset:{x:0,y:c}}}return!Object(Q["a"])(e,t)&&{x:0,y:0}}async function ee(){let e=window.sessionStorage.getItem("scrollPosition");if(e){try{e=JSON.parse(e)}catch(t){return void console.error("Error parsing scrollPosition from sessionStorage",t)}W()===e.location&&(await Object(Y["a"])(2),window.scrollTo(e.x,e.y))}}function te(){window.location.hash||sessionStorage.setItem("scrollPosition",JSON.stringify({x:window.pageXOffset,y:window.pageYOffset,location:W()}))}var oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("GenericError")},ie=[],re=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"generic-error"},[o("div",{staticClass:"container"},[o("h1",{staticClass:"title error-content"},[e._v(e._s(e.message))]),e._t("default")],2)])},ne=[],se={name:"GenericError",props:{message:{type:String,default:"An unknown error occurred."}}},he=se,ce=(o("7138"),Object(p["a"])(he,re,ne,!1,null,"790053de",null)),ae=ce.exports,le={name:"ServerError",components:{GenericError:ae}},ue=le,de=Object(p["a"])(ue,oe,ie,!1,null,null,null),ge=de.exports,fe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("GenericError",{attrs:{message:"The page youre looking for cant be found."}},[e._t("default")],2)},pe=[],me={name:"NotFound",components:{GenericError:ae}},je=me,ve=Object(p["a"])(je,fe,pe,!1,null,null,null),we=ve.exports,be=[{path:"/tutorials/:id",name:"tutorials-overview",component:()=>Promise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("tutorials-overview")]).then(o.bind(null,"f025"))},{path:"/tutorials/:id/*",name:"topic",component:()=>Promise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("topic")]).then(o.bind(null,"3213"))},{path:"/documentation/*",name:z["a"],component:()=>Promise.all([o.e("documentation-topic~topic~tutorials-overview"),o.e("documentation-topic")]).then(o.bind(null,"f8ac"))},{path:"*",name:z["b"],component:we},{path:"*",name:"server-error",component:ge}];function ye(e={}){const t=new r["a"]({mode:"history",base:A["a"],scrollBehavior:Z,...e,routes:e.routes||be});return t.onReady(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),ee()}),"ide"!==Object({NODE_ENV:"production",VUE_APP_TITLE:"Documentation",BASE_URL:"{{BASE_PATH}}/"}).VUE_APP_TARGET&&t.onError(e=>{const{route:o={path:"/"}}=e;t.replace({name:"server-error",params:[o.path]})}),window.addEventListener("unload",te),t}i["default"].use(J),i["default"].use(r["a"]),new i["default"]({router:ye(),render:e=>e(N)}).$mount("#app")}});