PageSourceSearch

https://portal.skilldeo.ai/static/js/383.02ecd49b.chunk.js

js skilldeo.ai collected 2026-09-29 10:56:53 UTC 46,200 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkjobportal||=[]).push([[383],{40383(e,t,n){function o(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}function i(e,t,n,o){return new(n||(n=Promise))(function(i,s){function r(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}c((o=o.apply(e,t||[])).next())})}var s,r,a,c,l,d,u,f,p,g;n.d(t,{SD:()=>pn,n_:()=>fn}),"function"==typeof SuppressedError&&SuppressedError,function(e){e.Inline="inline",e.Desktop="desktop",e.Web="web"}(s||(s={})),function(e){e.M365Content="m365content"}(r||(r={})),function(e){e.DriveId="driveId",e.GroupId="groupId",e.SiteId="siteId",e.UserId="userId"}(a||(a={})),function(e){e[e.NOT_SUPPORTED_ON_PLATFORM=100]="NOT_SUPPORTED_ON_PLATFORM",e[e.INTERNAL_ERROR=500]="INTERNAL_ERROR",e[e.NOT_SUPPORTED_IN_CURRENT_CONTEXT=501]="NOT_SUPPORTED_IN_CURRENT_CONTEXT",e[e.PERMISSION_DENIED=1e3]="PERMISSION_DENIED",e[e.NETWORK_ERROR=2e3]="NETWORK_ERROR",e[e.NO_HW_SUPPORT=3e3]="NO_HW_SUPPORT",e[e.INVALID_ARGUMENTS=4e3]="INVALID_ARGUMENTS",e[e.UNAUTHORIZED_USER_OPERATION=5e3]="UNAUTHORIZED_USER_OPERATION",e[e.INSUFFICIENT_RESOURCES=6e3]="INSUFFICIENT_RESOURCES",e[e.THROTTLE=7e3]="THROTTLE",e[e.USER_ABORT=8e3]="USER_ABORT",e[e.OPERATION_TIMED_OUT=8001]="OPERATION_TIMED_OUT",e[e.OLD_PLATFORM=9e3]="OLD_PLATFORM",e[e.FILE_NOT_FOUND=404]="FILE_NOT_FOUND",e[e.SIZE_EXCEEDED=1e4]="SIZE_EXCEEDED"}(c||(c={})),function(e){e.GeoLocation="geolocation",e.Media="media"}(l||(l={})),function(e){e.BCAIS="bcais",e.BCWAF="bcwaf",e.BCWBF="bcwbf"}(d||(d={})),function(e){e.Faculty="faculty",e.Student="student",e.Other="other"}(u||(u={})),function(e){e.Adult="adult",e.MinorNoParentalConsentRequired="minorNoParentalConsentRequired",e.MinorWithoutParentalConsent="minorWithoutParentalConsent",e.MinorWithParentalConsent="minorWithParentalConsent",e.NotAdult="notAdult",e.NonAdult="notAdult"}(f||(f={})),function(e){e.HigherEducation="higherEducation",e.K12="k12",e.Other="other"}(p||(p={})),function(e){e.TextPlain="text/plain",e.TextHtml="text/html",e.ImagePNG="image/png",e.ImageJPEG="image/jpeg"}(g||(g={}));var m={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let h;const w=new Uint8Array(16);const v=[];for(let gn=0;gn<256;++gn)v.push((gn+256).toString(16).slice(1));function y(e,t,n){if(m.randomUUID&&!e)return m.randomUUID();const o=(e=e||{}).random??e.rng?.()??function(){if(!h){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");h=crypto.getRandomValues.bind(crypto)}return h(w)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,function(e,t=0){return(v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]).toLowerCase()}(o)}var C=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function b(e,t){if("string"!=typeof e||"string"!=typeof t)return NaN;const n=e.split("."),o=t.split(".");function i(e){return/^\d+$/.test(e)}if(!n.every(i)||!o.every(i))return NaN;for(;n.length<o.length;)n.push("0");for(;o.length<n.length;)o.push("0");for(let s=0;s<n.length;++s)if(Number(n[s])!=Number(o[s]))return Number(n[s])>Number(o[s])?1:-1;return 0}function S(e){return Object.keys(e).forEach(t=>{null!==e[t]&&void 0!==e[t]&&"object"==typeof e[t]&&S(e[t])}),Object.freeze(e)}function I(e){return"https:"===e.protocol}function O(){return"undefined"==typeof window}function T(e){return new RegExp(`${/<script[^>]*>|&lt;script[^&]*&gt;|%3Cscript[^%]*%3E/gi.source}|${/<\/script[^>]*>|&lt;\/script[^&]*&gt;|%3C\/script[^%]*%3E/gi.source}`,"gi").test(e)}function E(e){if(!e)throw new Error("id must not be empty");if(!1===function(e){return"string"==typeof e&&C.test(e)}(e))throw new Error("id must be a valid UUID")}const A=!!performance&&"now"in performance;function N(){return A?performance.now()+performance.timeOrigin:void 0}function P(e){var t,n;if(!(null===(n=null===(t=e.hostVersionsInfo)||void 0===t?void 0:t.appEligibilityInformation)||void 0===n?void 0:n.ageGroup))return e;const o=e.hostVersionsInfo.appEligibilityInformation.ageGroup;return"nonadult"!==(null==o?void 0:o.toLowerCase())?e:Object.assign(Object.assign({},e),{hostVersionsInfo:Object.assign(Object.assign({},e.hostVersionsInfo),{appEligibilityInformation:Object.assign(Object.assign({},e.hostVersionsInfo.appEligibilityInformation),{ageGroup:f.NotAdult})})})}class F{constructor(e=function(){return y()}()){this.uuid=e,E(e)}toString(){return this.uuid}serialize(){return this.toString()}}const M={childProxyingCommunication:!1};function R(){return M.childProxyingCommunication}let k=Object.assign({},{disableEnforceOriginMatchForChildResponses:!1});function x(){return k}const U=e=>{const{uuid:t}=e,n=o(e,["uuid"]),i=null==t?void 0:t.toString();return Object.assign(Object.assign({},n),{uuidAsString:i})};var W,D,j={exports:{}};var V=function(e){function t(e){let o,i,s,r=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),s=i-(o||i);n.diff=s,n.prev=o,n.curr=i,o=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(o,i)=>{if("%%"===o)return"%";r++;const s=t.formatters[i];if("function"==typeof s){const t=e[r];o=s.call(n,t),e.splice(r,1),r--}return o}
1),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{r=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(n=0;n<i;n++)o[n]&&("-"===(e=o[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=function(){if(D)return W;D=1;var e=1e3,t=60*e,n=60*t,o=24*n,i=7*o;function s(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}return W=function(r,a){a=a||{};var c=typeof r;if("string"===c&&r.length>0)return function(s){if(!((s=String(s)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(r){var a=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(r);if("number"===c&&isFinite(r))return a.long?function(i){var r=Math.abs(i);return r>=o?s(i,r,o,"day"):r>=n?s(i,r,n,"hour"):r>=t?s(i,r,t,"minute"):r>=e?s(i,r,e,"second"):i+" ms"}(r):function(i){var s=Math.abs(i);return s>=o?Math.round(i/o)+"d":s>=n?Math.round(i/n)+"h":s>=t?Math.round(i/t)+"m":s>=e?Math.round(i/e)+"s":i+"ms"}(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t};!function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=void 0),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33
1CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=V(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(j,j.exports);var H=j.exports;const _=new F,L=H.debug.formatArgs;H.debug.formatArgs=function(e){e[0]=`(${(new Date).toISOString()}): ${e[0]} [${_.toString()}]`,L.call(this,e)};const z=H.debug("teamsJs");function B(e){return z.extend(e)}function $(e,t){return`${e}_${t}`}function J(e){return/^v\d+_[\w.]+$/.test(e)}function G(e){return void 0!==e.uuidAsString?`${e.uuidAsString} (legacy id: ${e.id})`:void 0!==e.uuid?`${e.uuid.toString()} (legacy id: ${e.id})`:`legacy id: ${e.id} (no uuid)`}const K=B("flushMessageQueue");function q(e,t,n,o){if(e&&t&&0!==n.length)for(;n.length>0;){const i=n.shift();if(i){const n=U(i);K("Flushing message %s from %s message queue via postMessage.",G(n),o),e.postMessage(n,t)}}}var Q,Z,X,Y,ee,te,ne,oe;!function(e){e.desktop="desktop",e.web="web",e.android="android",e.ios="ios",e.ipados="ipados",e.macos="macos",e.visionOS="visionOS",e.rigel="rigel",e.surfaceHub="surfaceHub",e.teamsRoomsWindows="teamsRoomsWindows",e.teamsRoomsAndroid="teamsRoomsAndroid",e.teamsPhones="teamsPhones",e.teamsDisplays="teamsDisplays"}(Q||(Q={})),function(e){e.office="Office",e.outlook="Outlook",e.outlookWin32="OutlookWin32",e.orange="Orange",e.places="Places",e.teams="Teams",e.teamsModern="TeamsModern"}(Z||(Z={})),function(e){e.settings="settings",e.content="content",e.authentication="authentication",e.remove="remove",e.task="task",e.sidePanel="sidePanel",e.stage="stage",e.meetingStage="meetingStage"}(X||(X={})),function(e){e.copilotSidePanel="copilotSidePanel",e.copilotMainPane="copilotMainPane",e.copilotFullScreen="copilotFullScreen"}(Y||(Y={})),function(e){e[e.Standard=0]="Standard",e[e.Edu=1]="Edu",e[e.Class=2]="Class",e[e.Plc=3]="Plc",e[e.Staff=4]="Staff"}(ee||(ee={})),function(e){e[e.Admin=0]="Admin",e[e.User=1]="User",e[e.Guest=2]="Guest"}(te||(te={})),function(e){e.Large="large",e.Medium="medium",e.Small="small"}(ne||(ne={})),function(e){e.Regular="Regular",e.Private="Private",e.Shared="Shared"}(oe||(oe={}));const ie={errorCode:c.NOT_SUPPORTED_ON_PLATFORM},se={adaptiveCardSchemaVersion:{majorVersion:1,minorVersion:5}};new Error("Invalid input count: Must supply a valid image count (limit of 10)."),new Error("Invalid response: Received more images than the specified max limit in the response.");var re=["teams.microsoft.com","teams.microsoft.us","gov.teams.microsoft.us","dod.teams.microsoft.us","int.teams.microsoft.com","outlook.office.com","outlook-sdf.office.com","outlook.office365.com","outlook-sdf.office365.com","outlook.office365.us","outlook-dod.office365.us","webmail.apps.mil","outlook.live.com","outlook-sdf.live.com","teams.live.com","local.teams.live.com","local.teams.live.com:8080","local.teams.office.com","local.teams.office.com:8080","devspaces.skype.com","*.www.office.com","www.office.com","word.office.com","excel.office.com","powerpoint.office.com","www.officeppe.com","*.www.microsoft365.com","www.microsoft365.com","bing.com","edgeservices.bing.com","work.bing.com","www.bing.com","www.staging-bing-int.com","*.cloud.microsoft","*.m365.cloud.microsoft","*.outlook.cloud.microsoft","chatuxmanager.svc.cloud.microsoft","copilot.microsoft.com","windows.msn.com","fa000000125.resources.office.net","fa000000129.resources.office.net","fa000000124.resources.office.net","fa000000128.resources.office.net","fa000000136.resources.office.net","fa000000125.officeapps.live.com","fa000000129.officeapps.live.com","fa000000124.officeapps.live.com","fa000000128.officeapps.live.com","fa000000136.mro1cdnstorage.public.cdn.office.net","fa000000136.mro1cdnstorage.public.onecdn.static.microsoft","substrate-msb-bizchatvnext-service.sdf01.substrate-msb-bingatwork.eastus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2sdf1.office-home-m365copilotapp.westus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2test1.office-home-m365copilotapp.westus2-test.cosmic-int.office.net","m365copilotapp.svc.cloud.microsoft","cr.m365copilotapp.svc.cloud.microsoft","m365copilotapp.svc.usgovcloud.microsoft","cr.m365copilotapp.svc.usgovcloud.microsoft","dod.m365copilotapp.svc.usgovcloud.microsoft","cr.dod.m365copilotapp.svc.usgovcloud.microsoft","m365copilotapp.svc.cloud.dev.microsoft","ffc-copilot.officeapps.live.com","m365.cloud.dev.microsoft","m365.cloud.dev.microsoft:3001","portal.officeppe.com","ignite.m365.admin.cloud.microsoft","ignite.admin.cloud.microsoft","sdf.m365.admin.cloud.microsoft","admin-sdf.microsoft.com","canary.m365.admin.cloud.microsoft","ring0.m365.admin.cloud.microsoft","admin.microsoft.com","m365.admin.cloud.microsoft","portal.office365.us","portal.apps.mil","www.ohome.apps.mil","www.office365.us"];const ae=re,ce=new URL("https://res.cdn.office.net/teams-js/validDomains/json/validDomains.json"),le="The library has not yet been initialized";class de{}de.initializeCalled=!1,de.initializeCompleted=!1,de.additionalValidOrigins=[],de.initializePromise=void 0,de.isFramelessWindow=!1,de.frameContext=void 0,de.hostClientType=void 0,de.printCapabilityEnabled=!1,de.teamsJsInstanceId=(new F).toString();const ue=B("runtime");function fe(e){return 4===e.apiVersion}let pe={apiVersion:-1,supports:{}};const ge={supports:{appInstallDialog:{},appEntity:{},call:{},chat:{},conversations:{},dialog:{card:{bot:{}},url:{bot:{},parentCommunication:{}},update:{}},interactive:{},logs:{},meetingRoom:{},menus:{},monetization:{},notifications:{},pages:{config:{},backStack:{},fullTrust:{}},remoteCamera:{},teams:{fullTrust:{}},teamsCore:{},video:{sharedFrame:{}}}},me=[Q.desktop,Q.web,Q.rigel,Q.surfaceHub,Q.teamsRoomsWindows,Q.teamsRoomsAndroid,Q.teamsPhones,Q.teamsDisplays],he=[Q.android,Q.ios,Q.ipados,Q.visionOS],we=[...me,...he];const ve=[{versionToUpgradeFrom:1,upgradeToNextVersion:e=>{var t;return{apiVersion:2,hostVersionsInfo:void 0,isLegacyTeams:e.isLegacyTeams,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{card:void 0,url:e.supports.dialog,update:null===(t=e.supports.dialog)||void 0===t?void 0:t.update}:void 0})}}},{versionToUpgradeFrom:2,upgradeToNextVersion:e=>{const t=e.supports,{appNotification:n}=t,i=o(t,["appNotification"]);return Object.assign(Object.assign({},e),{apiVersion:3,supports:i})}},{versionToUpgradeFrom:3,upgradeToNextVersion:e=>{var t,n,o,i,s;return{apiVersion:4,hostVersionsInfo:e.hostVersionsInfo,isNAAChannelRecommended:e.isNAAChannelRecommended,isLegacyTeams:e.isLegacyTeams,supports:Object.assign(Object.assign({},e.supports),{dialog:e.supports.dialog?{card:null===(t=e.supports.dialog)||void 0===t?void 0:t.card,url:{bot:null===(o=null===(n=e.supports.dialog)||void 0===n?void 0:n.url)||void 0===o?void 0:o.bot,parentCommunication:(null===(i=e.supports.dialog)||void 0===i?void 0:i.url)?{}:void 0},update:null===(s=e.supports.dialog)||void 0===s?void 0:s.update}:void 0})}}}],ye={"1.0.0":[{capability:{pages:{appButton:{},tabs:{}},stageView:{}},hostClientTypes:me}],"1.9.0":[{capability:{location:{}},hostClientTypes:we}],"2.0.0":[{capability:{people:{}},hostClientTypes:we},{capability:{sharing:{}},hostClientTypes:[Q.desktop,Q.web]}],"2.0.1":[{capability:{teams:{fullTrust:{joinedTeams:{}}}},hostClientTypes:[Q.android,Q.desktop,Q.ios,Q.teamsRoomsAndroid,Q.teamsPhones,Q.teamsDisplays,Q.web]},{capability:{webStorage:{}},hostClientTypes:[Q.desktop]}],"2.0.5":[{capability:{webStorage:{}},hostClientTypes:[Q.android,Q.ios]}],"2.0.8":[{capability:{sharing:{}},hostClientTypes:[Q.android,Q.ios]}],"2.1.1":[{capability:{nestedAppAuth:{}},hostClientTypes:[Q.android,Q.ios,Q.ipados,Q.visionOS]}],"2.1.2":[]},Ce=ue.extend("generateBackCompatRuntimeConfig");function be(e,t){const n=Object.assign({},e);for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&("object"!=typeof t[o]||Array.isArray(t[o])?o in e||(n[o]=t[o
1]):n[o]=be(e[o]||{},t[o]));return n}function Se(e,t,n){Ce("generating back compat runtime config for %s",e);let o=Object.assign({},t.supports);Ce("Supported capabilities in config before updating based on highestSupportedVersion: %o",o),Object.keys(n).forEach(t=>{b(e,t)>=0&&n[t].forEach(e=>{void 0!==de.hostClientType&&e.hostClientTypes.includes(de.hostClientType)&&(o=be(o,e.capability))})});const i={apiVersion:4,hostVersionsInfo:se,isLegacyTeams:!0,supports:o};return Ce("Runtime config after updating based on highestSupportedVersion: %o",i),i}const Ie=ue.extend("applyRuntimeConfig");function Oe(e){"string"==typeof e.apiVersion&&(Ie("Trying to apply runtime with string apiVersion, processing as v1: %o",e),e=Object.assign(Object.assign({},e),{apiVersion:1})),Ie("Fast-forwarding runtime %o",e);const t=function(e){let t=e;if(t.apiVersion<4&&ve.forEach(e=>{t.apiVersion===e.versionToUpgradeFrom&&(t=e.upgradeToNextVersion(t))}),fe(t))return t;throw new Error("Received a runtime that could not be upgraded to the latest version")}(e);Ie("Applying runtime %o",t),pe=S(t)}const Te=/^[A-Za-z][A-Za-z\d+.-]*:\/\//;function Ee(e,t){const n=e.split("."),o=t.split(".");if(o.length!==n.length)return!1;let i=!1;for(let s=0;s<n.length;s++)if(n[s]!==o[s]){if("*"!==n[s])return!1;if(s===n.length-1||i)return!1;i=!0}return!0}class Ae{constructor(e,t,n){this.protocol=e,this.host=t,this.logger=n}static canUse(e){return Te.test(e)}static create(e,t){const n=e.split("://");return new Ae(n[0],n[1],t.extend("InternalURLPattern"))}test(e){return this.logger("Testing URL %s against pattern protocol: %s, host: %s",e,this.protocol,this.host),e.protocol===`${this.protocol}:`&&(!e.host||Ee(this.host,e.host))}}const Ne=B("internal"),Pe=Ne.extend("ensureInitializeCalled"),Fe=Ne.extend("ensureInitialized");function Me(e,...t){if(!de.initializeCompleted)throw Fe("%s. initializeCalled: %s",le,de.initializeCalled.toString()),new Error(le);if(t&&t.length>0){let e=!1;for(let n=0;n<t.length;n++)if(t[n]===de.frameContext){e=!0;break}if(!e){const e=`This call is only allowed in following contexts: ${JSON.stringify(t)}. Current context: "${de.frameContext}".`;throw Fe(e),new Error(e)}}return function(e){if(fe(e))return!0;throw-1===e.apiVersion?new Error("The runtime has not yet been initialized"):new Error("The runtime version is not supported")}(e)}function Re(e){let t=de.additionalValidOrigins.concat(e.filter(e=>"string"==typeof e&&function(e){return Ae.canUse(e)}(e)));const n={};t=t.filter(e=>!n[e]&&(n[e]=!0,!0)),de.additionalValidOrigins=t}function ke(){return function(e){return new Promise(t=>{if(Me(pe),!xe())throw ie;t(function(e,t,n,...o){return ht(e,t,o).then(([e,t])=>{if(!e)throw new Error(t||n)})}(e,"navigateBack","Back navigation is not supported in the current client or context."))})}($(Ue,"pages.backStack.navigateBack"))}function xe(){return!(!Me(pe)||!pe.supports.pages)&&!!pe.supports.pages.backStack}const Ue="v2";let We;function De(){We&&We()||(Qe()?et("backButtonPress",[]):ke())}const je=B("handlers");class Ve{static initializeHandlers(){Ve.handlers.themeChange=ze,Ve.handlers.contextChange=Be,Ve.handlers.load=Je,Ve.handlers.beforeUnload=Ge,Le($("v2","pages.backStack.registerBackButtonPressHandler"),"backButtonPress",De,!1)}static uninitializeHandlers(){Ve.handlers={},Ve.themeChangeHandler=null,Ve.beforeUnloadHandler=null,Ve.beforeSuspendOrTerminateHandler=null,Ve.resumeHandler=null,Ve.contextChangeHandler=null}}Ve.handlers={},Ve.themeChangeHandler=null,Ve.loadHandler=null,Ve.beforeUnloadHandler=null,Ve.beforeSuspendOrTerminateHandler=null,Ve.resumeHandler=null,Ve.hostToAppPerformanceMetricsHandler=null,Ve.contextChangeHandler=null;const He=je.extend("callHandler");function _e(e,t){const n=Ve.handlers[e];return n?(He("Invoking the registered handler for message %s with arguments %o",e,t),[!0,n.apply(this,t)]):Qe()?(et(e,t),[!1,void 0]):(He("Handler for action message %s not found.",e),[!1,void 0])}function Le(e,t,n,o=!0,i=[]){n?(Ve.handlers[t]=n,o&&wt(e,"registerHandler",[t,...i])):delete Ve.handlers[t]}function ze(e){Ve.themeChangeHandler&&Ve.themeChangeHandler(e),Qe()&&et("themeChange",[e])}function Be(e){Ve.contextChangeHandler&&Ve.contextChangeHandler(e),Qe()&&et("contextChange",[e])}function $e(e){Ve.hostToAppPerformanceMetricsHandler&&Ve.hostToAppPerformanceMetricsHandler(e)}
1function Je(e){const t={entityId:(n=e).entityId,contentUrl:new URL(n.contentUrl)};var n;Ve.resumeHandler?(Ve.resumeHandler(t),Qe()&&et("load",[t])):Ve.loadHandler&&(Ve.loadHandler(e),Qe()&&et("load",[e]))}function Ge(){return i(this,void 0,void 0,function*(){const e=()=>{wt($("v2","handleBeforeUnload"),"readyToUnload",[])};Ve.beforeSuspendOrTerminateHandler?(yield Ve.beforeSuspendOrTerminateHandler(),Qe()?et("beforeUnload"):e()):Ve.beforeUnloadHandler&&Ve.beforeUnloadHandler(e)||(Qe()?et("beforeUnload"):e())})}const Ke=B("childProxyingCommunication");class qe{}function Qe(){return!!R()&&!!qe.window}function Ze(e,t,n,s){return i(this,void 0,void 0,function*(){qe.window===t&&(q(qe.window,qe.origin,qe.messageQueue,"child"),function(e,t,n){if(void 0===e.data.id||void 0===e.data.func)return;const i=(e=>{const{uuidAsString:t}=e,n=o(e,["uuidAsString"]);return Object.assign(Object.assign({},n),{uuid:t?new F(t):void 0})})(e.data),[s,r]=_e(i.func,i.args);if(s&&void 0!==r)return Xe("Handler called in response to message %s from child. Returning response from handler to child, action: %s.",G(i),i.func),void Ye(i.id,i.uuid,Array.isArray(r)?r:[r]);Xe("No handler for message %s from child found; relaying message on to parent, action: %s. Relayed message will have a new id.",G(i),i.func),function(e,t,n){const o=t($("v2","tasks.startTask"),e.func,e.args,!0,e.teamsJsInstanceId),i=qe.origin;n(o.uuid,(...t)=>{if(!qe.window)return;if(!x().disableEnforceOriginMatchForChildResponses&&i!==qe.origin)return void Xe("Origin of child window has changed, not sending response back to child window");const n=t.pop();Xe("Message from parent being relayed to child, id: %s",G(e)),Ye(e.id,e.uuid,t,n)})}(i,t,n)}(e,n,s))})}qe.messageQueue=[];const Xe=Ke.extend("handleIncomingMessageFromChild");function Ye(e,t,n,i){const s=qe.window,r=function(e,t,n,o){return{id:e,uuid:t,args:n||[],isPartialResponse:o}}(e,t,n,i),a=(e=>{const{uuid:t}=e,n=o(e,["uuid"]),i=null==t?void 0:t.toString();return Object.assign(Object.assign({},n),{uuidAsString:i})})(r),c=qe.origin;s&&c&&(Xe("Sending message %s to %s via postMessage, args = %o",G(a),"child",a.args),s.postMessage(a,c))}function et(e,t){const n=qe.window,o=function(e,t){return{func:e,args:t||[]}}(e,t),i=qe.origin;n&&i?n.postMessage(o,i):qe.messageQueue.push(o)}class tt{static storeCallbackInformation(e,t){tt.callbackInformation.set(e,t)}static clearMessages(){tt.callbackInformation.clear()}static deleteMessageInformation(e){tt.callbackInformation.delete(e)}static handleOneWayPerformanceMetrics(e,t,n){const o=e.monotonicTimestamp;o&&n?$e({actionName:e.func,messageDelay:n-o,requestStartedAt:o}):t("Unable to send performance metrics for event %s",e.func)}static handlePerformanceMetrics(e,t,n,o){const i=tt.callbackInformation.get(e);i&&t.monotonicTimestamp&&o?($e({actionName:i.name,messageDelay:o-t.monotonicTimestamp,requestStartedAt:i.calledAt}),tt.deleteMessageInformation(e)):n("Unable to send performance metrics for callback %s with arguments %o",e.toString(),t.args)}}tt.callbackInformation=new Map;const nt=B("nestedAppAuthUtils"),ot=nt.extend("tryPolyfillWithNestedAppAuthBridge");const it=nt.extend("createNestedAppAuthBridge");let st=[];const rt=B("validateOrigin");let at;function ct(){return 0===st.length}function lt(e=!1){return i(this,void 0,void 0,function*(){if(!ct()&&!e)return st;if(at)return at;if(O())return st=ae,ae;{rt("Initiating fetch call to acquire valid origins list from CDN");const e=new AbortController,t=setTimeout(()=>e.abort(),1500);return at=fetch(ce,{signal:e.signal}).then(e=>{if(clearTimeout(t),!e.ok)throw new Error("Invalid Response from Fetch Call");return rt("Fetch call completed and retrieved valid origins list from CDN"),e.json().then(e=>{if(function(e){let t;try{t=JSON.parse(e)}catch(e){return!1}if(!t||!Array.isArray(t.validOrigins))return!1;for(const n of t.validOrigins){if("string"!=typeof n)return!1;try{new URL("https://"+n)}catch(t){return rt("isValidOriginsFromCDN call failed to validate origin: %s",n),!1}}return!0}(JSON.stringify(e)))return st=e.validOrigins,st;throw new Error("Valid origins list retrieved from CDN is invali
1d")})}).catch(e=>("AbortError"===e.name?rt("validOrigins fetch call to CDN failed due to Timeout of 1500 ms. Defaulting to fallback list"):rt("validOrigins fetch call to CDN failed with error: %s. Defaulting to fallback list",e),st=ae,st)),at}})}function dt(e,t){let n;try{const t=function(e,t){if(Ae.canUse(e))return Ae.create(e,t);t("No URL verifier available for pattern: %s",e)}(e,rt);if(!t)return!1;n=t}catch(e){return!1}return n.test(t)}function ut(e,t){for(const o of de.additionalValidOrigins)if(dt(o,e))return!0;const n=e.host;return I(e)?!!t.some(e=>Ee(e,n))||(rt("Origin %s is invalid because it is not an origin approved by this library or included in the call to app.initialize.\nOrigins approved by this library: %o\nOrigins included in app.initialize: %o",e,t,de.additionalValidOrigins),!1):(rt("Origin %s is invalid because it is not using https protocol. Protocol being used: %s",e,e.protocol),!1)}!function(){i(this,void 0,void 0,function*(){at||(yield lt())})}();const ft=B("communication");class pt{}class gt{}function mt(e,t){if(gt.messageListener=e=>function(e){return i(this,void 0,void 0,function*(){if(!e||!e.data||"object"!=typeof e.data)return void Ot("Unrecognized message format received by app, message being ignored. Message: %o",e);const t=e.source||e.originalEvent&&e.originalEvent.source,n=e.origin||e.originalEvent&&e.originalEvent.origin;return Nt(t,n).then(o=>{o?(function(e,t){de.isFramelessWindow||pt.parentWindow&&!pt.parentWindow.closed&&e!==pt.parentWindow||(pt.parentWindow=e,pt.parentOrigin=t),pt.parentWindow&&pt.parentWindow.closed&&(pt.parentWindow=null,pt.parentOrigin=null),q(pt.parentWindow,pt.parentOrigin,gt.parentMessageQueue,"parent")}(t,n),t!==pt.parentWindow?function(e,t){return!!R()&&(qe.window&&!qe.window.closed&&e!==qe.window||(qe.window=e,qe.origin=t),qe.window&&qe.window.closed?(qe.window=null,qe.origin=null,!1):qe.window===e)}(t,n)&&Ze(e,t,It,(e,t)=>gt.callbacks.set(e,t)):Rt(e)):Ot("Message being ignored by app because it is either coming from the current window or a different window with an invalid origin, message: %o, source: %o, origin: %o",e,t,n)})})}(e),pt.currentWindow=pt.currentWindow||function(){if(O())throw new Error("window object undefined at SSR check");return window}(),pt.parentWindow=pt.currentWindow.parent!==pt.currentWindow.self?pt.currentWindow.parent:pt.currentWindow.opener,pt.topWindow=pt.currentWindow.top,(pt.parentWindow||e)&&pt.currentWindow.addEventListener("message",gt.messageListener,!1),!pt.parentWindow){const e=pt.currentWindow;if(!e.nativeInterface)return Promise.reject(new Error("Initialization Failed. No Parent window found."));de.isFramelessWindow=!0,e.onNativeMessage=Rt}try{return pt.parentOrigin="*",ht(t,"initialize",["2.57.0",4,e]).then(([e,t,n,o])=>(function(t,n,o){var i;const s=ot;if(de.isFramelessWindow)return void s("Cannot polyfill nestedAppAuthBridge as current window is frameless");if(!n)return void s("Cannot polyfill nestedAppAuthBridge as current window does not exist");if(n.parent!==n.top)return void s("Default NAA bridge injection not supported in nested iframe. Use standalone NAA bridge instead.");const r=(()=>{try{return JSON.parse(t)}catch(e){return null}})();if(!r||!(null===(i=r.supports)||void 0===i?void 0:i.nestedAppAuth))return void s("Cannot polyfill nestedAppAuthBridge as current hub does not support nested app auth");const a=n;if(a.nestedAppAuthBridge)return void s("nestedAppAuthBridge already exists on current window, skipping polyfill");const c=function(e,t){const n=it;if(!e)return n("nestedAppAuthBridge cannot be created as current window does not exist"),null;const{onMessage:o,sendPostMessage:i}=t,s=e=>t=>o(t,e);return{addEventListener:(t,o)=>{"message"===t?e.addEventListener(t,s(o)):n(`Event ${t} is not supported by nestedAppAuthBridge`)},postMessage:e=>{const t=(()=>{try{return JSON.parse(e)}catch(e){return null}})();if(!t||"object"!=typeof t||"NestedAppAuthRequest"!==t.messageType)return void n("Unrecognized data format received by app, message being ignored. Message: %o",e);const o=$("v2","nestedAppAuth.execute");i(e,o)},removeEventListener:(t,n)=>{e.removeEventListener(t,s(n))}}}(a,o);c&&(a.nestedAppAuthBridge=c)}(o,pt.currentWindow,{onMessage:Et,sendPostMessage:yt}),{context:e,clientType:t,runtimeConfig:n,clientSupportedSDKVersion:o}))}finally{pt.parentOrigin=null}}function ht(e,t,n=void 0){if(!J(e))throw Error(`apiVersionTag: ${e} passed in doesn't follow the pattern starting with 'v' followed by digits, then underscore with words, please check.`);return new Promise(o=>{const i=It(e,t,n);var s;o((s=i.uuid,new Promise(e=>{gt.promiseCallbacks.set(s,e)})))})}function wt(e,t,n,o){let i;if(n instanceof Function?o=n:n instanceof Array&&(i=n),!J(e))throw Error(`apiVersionTag: ${e} passed in doesn't follow the pattern starting with 'v' followed by digits, then underscore with words, please check.`);
vendor: 2,611 bytes, line 1
1const s=It(e,t,i);o&&gt.callbacks.set(s.uuid,o)}gt.parentMessageQueue=[],gt.topMessageQueue=[],gt.nextMessageId=0,gt.callbacks=new Map,gt.promiseCallbacks=new Map,gt.portCallbacks=new Map,gt.legacyMessageIdsToUuidMap={};const vt=ft.extend("sendNestedAuthRequestToTopWindow");function yt(e,t){const n=vt,o=pt.topWindow,i=function(e,t){const n=gt.nextMessageId++,o=new F;return gt.legacyMessageIdsToUuidMap[n]=o,{id:n,uuid:o,func:"nestedAppAuth.execute",timestamp:Date.now(),monotonicTimestamp:N(),apiVersionTag:t,args:[],data:e}}(e,t);return n("Message %s information: %o",G(i),{actionName:i.func}),bt(o,i)}const Ct=ft.extend("sendRequestToTargetWindowHelper");function bt(e,t){const n=Ct,o=function(e){return e===pt.topWindow&&kt()?"top":e===pt.parentWindow?"parent":null}(e),i=U(t);if(de.isFramelessWindow)pt.currentWindow&&pt.currentWindow.nativeInterface&&(n("Sending message %s to %s via framelessPostMessage interface",G(i),o),pt.currentWindow.nativeInterface.framelessPostMessage(JSON.stringify(i)));else{const s=function(e){return e===pt.topWindow&&kt()?pt.topOrigin:e===pt.parentWindow?pt.parentOrigin:null}(e);e&&s?(n("Sending message %s to %s via postMessage",G(i),o),e.postMessage(i,s)):(n("Adding message %s to %s message queue",G(i),o),xt(e).push(t))}return t}const St=ft.extend("sendMessageToParentHelper");function It(e,t,n,o,i){const s=St,r=pt.parentWindow,a=function(e,t,n,o,i){const s=gt.nextMessageId++,r=new F;gt.legacyMessageIdsToUuidMap[s]=r;const a=!0===o?i:de.teamsJsInstanceId;return{id:s,uuid:r,func:t,timestamp:Date.now(),monotonicTimestamp:N(),args:n||[],apiVersionTag:e,isProxiedFromChild:null!=o&&o,teamsJsInstanceId:a}}(e,t,n,o,i);return tt.storeCallbackInformation(a.uuid,{name:t,calledAt:a.timestamp}),s("Message %s information: %o",G(a),{actionName:t,args:n}),bt(r,a)}const Ot=ft.extend("processIncomingMessage"),Tt=ft.extend("processAuthBridgeMessage");function Et(e,t){var n,o;const i=Tt;if(!e||!e.data||"object"!=typeof e.data)return void i("Unrecognized message format received by app, message being ignored. Message: %o",e);const{args:s}=e.data,[,r]=null!=s?s:[],a=(()=>{try{return JSON.parse(r)}catch(e){return null}})();if(!a||"object"!=typeof a||"NestedAppAuthResponse"!==a.messageType)return void i("Unrecognized data format received by app, message being ignored. Message: %o",e);const c=e.source||(null===(n=null==e?void 0:e.originalEvent)||void 0===n?void 0:n.source),l=e.origin||(null===(o=null==e?void 0:e.originalEvent)||void 0===o?void 0:o.origin);c?Nt(c,l).then(e=>{e?(pt.topWindow&&!pt.topWindow.closed&&c!==pt.topWindow||(pt.topWindow=c,pt.topOrigin=l),pt.to
1pWindow&&pt.topWindow.closed&&(pt.topWindow=null,pt.topOrigin=null),q(pt.topWindow,pt.topOrigin,gt.topMessageQueue,"top"),t(r)):i("Message being ignored by app because it is either coming from the current window or a different window with an invalid origin")}).catch(e=>{i("Unexpected error verifying message origin: %o",e)}):i("Message being ignored by app because it is coming for a target that is null")}const At=ft.extend("verifyIncomingMessageOrigin");function Nt(e,t){return i(this,void 0,void 0,function*(){if(pt.currentWindow&&e===pt.currentWindow)return At("Should not process message because it is coming from the current window"),!1;if(pt.currentWindow&&pt.currentWindow.location&&t&&t===pt.currentWindow.location.origin)return!0;{let e;try{e=new URL(t)}catch(a){return At("Message has an invalid origin of %s",t),!1}const n=yield function(e,t){const n=ct()?ae:st;return ut(e,n)?Promise.resolve(!0):(rt("Origin %s is not in the local valid origins list, fetching from CDN",e),lt(t).then(t=>ut(e,t)))}(e);return n||At("Message has an invalid origin of %s",t),n}})}const Pt=ft.extend("handleIncomingMessageFromParent");function Ft(e,t){if(t){const n=[...e].find(([e,n])=>e.toString()===t.toString());if(n)return n[0]}}function Mt(e,t){const n=Ft(t,e.uuid);n&&t.delete(n),e.uuid?gt.legacyMessageIdsToUuidMap={}:delete gt.legacyMessageIdsToUuidMap[e.id]}function Rt(e){const t=Pt,n=N();if("id"in e.data&&"number"==typeof e.data.id){const i=(e=>{const{uuidAsString:t}=e,n=o(e,["uuidAsString"]);return Object.assign(Object.assign({},n),{uuid:t?new F(t):void 0})})(e.data),s=function(e){const t=Pt;if(!e.uuid)return gt.legacyMessageIdsToUuidMap[e.id];{const t=e.uuid,n=Ft(gt.callbacks,t);if(n)return n;const o=Ft(gt.promiseCallbacks,t);if(o)return o;const i=Ft(gt.portCallbacks,t);if(i)return i}t("Received message %s that failed to produce a callbackId",G(e))}(i);if(s){const o=gt.callbacks.get(s);t("Received a response from parent for message %s",s.toString()),tt.handlePerformanceMetrics(s,i,t,n),o&&(t("Invoking the registered callback for message %s with arguments %o",s.toString(),i.args),o.apply(null,[...i.args,i.isPartialResponse]),function(e){return!0===e.data.isPartialResponse}(e)||(t("Removing registered callback for message %s",s.toString()),Mt(i,gt.callbacks)));const r=gt.promiseCallbacks.get(s);r&&(t("Invoking the registered promise callback for message %s with arguments %o",s.toString(),i.args),r(i.args),t("Removing registered promise callback for message %s",s.toString()),Mt(i,gt.promiseCallbacks));const a=gt.portCallbacks.get(s);if(a){let n;t("Invoking the registered port callback for message %s with arguments %o",s.toString(),i.args),e.ports&&e.ports[0]instanceof MessagePort&&(n=e.ports[0]),a(n,i.args),t("Removing registered port callback for message %s",s.toString()),Mt(i,gt.portCallbacks)}i.uuid&&(gt.legacyMessageIdsToUuidMap={})}}else if("func"in e.data&&"string"==typeof e.data.func){const o=e.data;tt.handleOneWayPerformanceMetrics(o,t,n),t('Received a message from parent %s, action: "%s"',G(o),o.func),_e(o.func,o.args)}else t("Received an unknown message: %O",e)}function kt(){return pt.topWindow!==pt.parentWindow}function xt(e){return e===pt.topWindow&&kt()?gt.topMessageQueue:e===pt.parentWindow?gt.parentMessageQueue:[]}const Ut="v2";const Wt=[];function Dt(e){de.frameContext&&(de.frameContext===X.task?Wt.push(e):function(e){delete Ve.handlers[e]}("messageForChild"))}const jt="v2";var Vt,Ht;!function(e){e[e.ifRoom=0]="ifRoom",e[e.overflowOnly=1]="overflowOnly"}(Vt||(Vt={}));let _t,Lt,zt;function Bt(e){zt&&zt(e)||(Me(pe),wt($(jt,"menus.handleViewConfigItemPress"),"viewConfigItemPress",[e]))}function $t(e){_t&&_t(e)||(Me(pe),wt($(jt,"menus.handleNavBarMenuItemPress"),"handleNavBarMenuItemPress",[e]))}function Jt(e){Lt&&Lt(e)||(Me(pe),wt($(jt,"menus.handleActionMenuItemPress"),"handleActionMenuItemPress",[e]))}let Gt,Kt;function qt(e){const t=new Qt(e);Gt?Gt(t):Qe()?et("settings.save",[e]):t.notifySuccess()}!function(e){e.dropDown="dropDown",e.popOver="popOver"}(Ht||(Ht={}));class Qt{constructor(e){this.notified=!1,this.result=e||{}}notifySuccess(){this.ensureNotNotified(),wt($(Ue,"pages.saveEvent.notifySuccess"),"settings.save.success"),this.notified=!0}notifyFailure(e){this.ensureNotNotified(),wt($(Ue,"pages.saveEvent.notifyFailure"),"settings.save.failure",[e]),this.notified=!0}ensureNotNotified(){if(this.notified)throw new Error("The SaveEvent may only notify success or failure once.")}}function Zt(){const e=new Xt;Kt?Kt(e):Qe()?et("settings.remove",[]):e.notifySuccess()}class Xt{constructor(){this.notified=!1}notifySuccess(){this.ensureNotNotified(),wt($(Ue,"pages.removeEvent.notifySuccess"),"settings.remove.success"),this.notified=!0}notifyFailure(e){this.ensureNotNotified(),wt($(Ue,"pages.removeEvent.notifyFailure"),"settings.remove.failure",[e]),this.notified=!0}ensureNotNotified(){if(this.notified)throw new Error("The removeEventType may only notify success or failure once.")}}const Yt=B("app");function en(e,t){return O()?(Yt.extend("initialize")("window object undefined at initialization"),Promise.resolve()):function(e,t,n){return new Promise((o,i)=>{const s=setTimeout(i,t,n);e().then(e=>{clearTimeout(s),o(e)}).catch(e=>{clearTimeout(s),i(e)})})}(()=>function(e,t){return new Promise(n=>{de.initializeCalled||(de.initializeCalled=!0,Ve.initializeHandlers(),de.initializePromise=mt(t,e).then(({context:e,clientType:t,runtimeConfig:n,clientSupportedSDKVersion:o="2.0.1"})=>{de.frameContext=e,de.hostClientType=t,de.clientSupportedSDKVersion=o;try{tn("Parsing %s",n);let e=JSON.parse(n);if(tn("Checking if %o is a valid runtime object",null!=e?e:"null"),!e||!e.apiVersion)throw new Error("Received runtime config is invali
1d");e=P(e),n&&Oe(e)}catch(e){if(!(e instanceof SyntaxError))throw e;try{tn("Attempting to parse %s as an SDK version",n),isNaN(b(n,"2.0.1"))||(de.clientSupportedSDKVersion=n);let e=JSON.parse(o);if(tn("givenRuntimeConfig parsed to %o",null!=e?e:"null"),!e)throw new Error("givenRuntimeConfig string was successfully parsed. However, it parsed to value of null");e=P(e),Oe(e)}catch(e){if(!(e instanceof SyntaxError))throw e;Oe(Se(de.clientSupportedSDKVersion,ge,ye))}}de.initializeCompleted=!0}),Le($(jt,"menus.registerNavBarMenuItemPressHandler"),"navBarMenuItemPress",$t,!1),Le($(jt,"menus.registerActionMenuItemPressHandler"),"actionMenuItemPress",Jt,!1),Le($(jt,"menus.registerSetModuleViewHandler"),"setModuleView",Bt,!1),Le($(Ue,"pages.config.registerSettingsSaveHandler"),"settings.save",qt,!1),Le($(Ue,"pages.config.registerSettingsRemoveHandler"),"settings.remove",Zt,!1),Le($(Ut,"dialog.registerMessageForChildHandler"),"messageForChild",Dt,!1)),Array.isArray(t)&&Re(t),void 0!==de.initializePromise?n(de.initializePromise):tn("GlobalVars.initializePromise is unexpectedly undefined")})}(e,t),6e4,new Error("SDK initialization timed out."))}const tn=Yt.extend("initializeHelper");function nn(e){if(!function(e){return e.length<sn&&e.length>on}(e))throw new Error(`Potential app id (${e}
1) is invalid; its length ${e.length} is not within the length limits (${on}-${sn}).`)}const on=4,sn=256;class rn{constructor(e){this.idAsString=e,function(e){if(T(e))throw new Error(`Potential app id (${e}) is invalid; it contains script tags.`);if(function(e){return[...e].some(e=>{const t=e.charCodeAt(0);return t<32||t>126})}(e))throw new Error(`Potential app id (${e}) is invalid; it contains non-printable characters.`)}(e)}serialize(){return this.toString()}toString(){return this.idAsString}}class an extends rn{constructor(e){super(e),nn(e)}toJSON(){return{appIdAsString:this.toString()}}}const cn="v2",ln=B("app");var dn,un;function fn(e){return en($(cn,"app.initialize"),e)}function pn(){return new Promise(e=>{(function(){if(!de.initializeCalled)throw Pe(le),new Error(le)})(),e(function(e,t,...n){return ht(e,t,n).then(([e])=>e)}($(cn,"app.getContext"),"getContext"))}).then(e=>function(e){var t;return{actionInfo:e.actionInfo,app:{locale:e.locale,sessionId:e.appSessionId?e.appSessionId:"",theme:e.theme?e.theme:"default",iconPositionVertical:e.appIconPosition,osLocaleInfo:e.osLocaleInfo,messageId:e.messageId,parentMessageId:e.parentMessageId,userClickTime:e.userClickTime,userClickTimeV2:e.userClickTimeV2,userFileOpenPreference:e.userFileOpenPreference,host:{name:e.hostName?e.hostName:Z.teams,clientType:e.hostClientType?e.hostClientType:Q.web,features:e.hostFeatures,sessionId:e.sessionId?e.sessionId:"",ringId:e.ringId,ancestors:e.hostAncestors},appLaunchId:e.appLaunchId,appId:e.appId?new an(e.appId):void 0,manifestVersion:e.manifestVersion},page:{id:e.entityId,frameContext:e.frameContext?e.frameContext:de.frameContext,renderingSurface:e.renderingSurface?e.renderingSurface:void 0,subPageId:e.subEntityId,isFullScreen:e.isFullScreen,isMultiWindow:e.isMultiWindow,isBackgroundLoad:e.isBackgroundLoad,sourceOrigin:e.sourceOrigin},user:{id:null!==(t=e.userObjectId)&&void 0!==t?t:"",displayName:e.userDisplayName,isCallingAllowed:e.isCallingAllowed,isPSTNCallingAllowed:e.isPSTNCallingAllowed,licenseType:e.userLicenseType,loginHint:e.loginHint,userPrincipalName:e.userPrincipalName,tenant:e.tid?{id:e.tid,teamsSku:e.tenantSKU}:void 0},channel:e.channelId?{id:e.channelId,displayName:e.channelName,relativeUrl:e.channelRelativeUrl,membershipType:e.channelType,defaultOneNoteSectionId:e.defaultOneNoteSectionId,ownerGroupId:e.hostTeamGroupId,ownerTenantId:e.hostTeamTenantId}:void 0,chat:e.chatId?{id:e.chatId}:void 0,meeting:e.meetingId?{id:e.meetingId}:void 0,sharepoint:e.sharepoint,team:e.teamId?{internalId:e.teamId,displayName:e.teamName,type:e.teamType,groupId:e.groupId,templateId:e.teamTemplateId,isArchived:e.isTeamArchived,userRole:e.userTeamRole}:void 0,sharePointSite:e.teamSiteUrl||e.teamSiteDomain||e.teamSitePath||e.mySitePath||e.mySiteDomain?{teamSiteUrl:e.teamSiteUrl,teamSiteDomain:e.teamSiteDomain,teamSitePath:e.teamSitePath,teamSiteId:e.teamSiteId,mySitePath:e.mySitePath,mySiteDomain:e.mySiteDomain}:void 0,dialogParameters:e.dialogParameters||{}}}(e))}!function(e){e.AuthFailed="AuthFailed",e.Timeout="Timeout",e.Other="Other"}(dn||(dn={})),function(e){e.PermissionError="PermissionError",e.NotFound="NotFound",e.Throttling="Throttling",e.Offline="Offline",e.Other="Other"}(un||(un={})),ln("teamsjs instance is version %s, starting at %s UTC (%s local)","2.57.0",(new Date).toISOString(),(new Date).toLocaleString()),function(){if(O())return;const e=document.getElementsByTagName("script"),t=e&&e[e.length-1]&&e[e.length-1].src,n="Today, teamsjs can only be used from a single script or you may see undefined behavior. This log line is used to help detect cases where teamsjs is loaded multiple times -- it is always written. The presence of the log itself does not indicate a multi-load situation, but multiples of these log lines will. If you would like to use teamjs from more than one script at the same time, please open an issue at https://github.com/OfficeDev/microsoft-teams-library-js/issues";t&&0!==t.length?ln("teamsjs is being used from %s. %s",t,n):ln("teamsjs is being used from a script tag embedded directly in your html. %s",n)}()}}]);

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.