{"version":3,"file":"app.9f4c46ff9b70ff787616.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;;ACPM;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,MAAM;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC3FA,IAAI,YAAC,CAAC,YAAC,CAAC,YAAC,GAAG,YAAC,GAAG,YAAC,OAAO,SAAS,YAAC,IAAI,6CAA6C,aAAa,kDAAkD,CAAC,YAAC,GAAG,YAAC,GAAG,eAAe,4BAA4B,CAAC,YAAC,GAAG,YAAC,GAAG,eAAe,4EAA4E,CAAC,YAAC,GAAG,YAAC,GAAG,eAAe,osBAAosB,SAAS,eAAe,4CAA4C,CAAC,YAAC,GAAG,YAAC,GAAG,eAAe,gDAAgD,SAAS,eAAe,wDAAwD,CAAC,YAAC,GAAG,YAAC,GAAG,eAAe,0NAA0N,SAAS,eAAe,gEAAgE,SAAS,eAAe,gGAAgG,SAAS,GAAqP;;;ACAt3D,IAAI,WAAC,CAAC,WAAC,CAAC,WAAC,CAAC,WAAC,CAAC,WAAC,CAAC,WAAC,CAAC,WAAC,CAAC,aAAa,8SAA8S,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,oJAAoJ,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,kLAAkL,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,uGAAuG,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,6DAA6D,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,kDAAkD,CAAC,WAAC,GAAG,WAAC,GAAG,eAAe,0DAA0D,CAAC,WAAC,GAAG,WAAC,GAAG,GAAG,MAAM,WAAC,EAAE,UAAU,CAAC,2BAA2B,CAAC,WAAC,EAAE,8BAA8B,CAAC,WAAC,EAAE,2BAA2B,+BAA+B,CAAC,WAAC,kFAAkF,WAAC,mGAA8Y;;;ACA7tD,iBAAiB,SAAI,IAAI,SAAI;AAC7B,4BAA4B,+DAA+D,iBAAiB;AAC5G;AACA,oCAAoC,MAAM,+BAA+B,YAAY;AACrF,mCAAmC,MAAM,mCAAmC,YAAY;AACxF,gCAAgC;AAChC;AACA,KAAK;AACL;AACyC;AACW;AAC7C;AACA;AACA;AACA;AACA;AACP;AACO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,wBAAwB,0BAA0B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,0BAA0B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qEAAqE,WAAW,GAAG,YAAY;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,WAAW,GAAG,YAAY;AACjE,8CAA8C,YAAY,EAAE,YAAY;AACxE,8CAA8C,WAAW;AACzD;AACA,6BAA6B;AAC7B,yFAAyF,YAAY;AACrG;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA,wBAAwB,yBAAyB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACO;AACP;AACA;AACA;AACA;AACA,kCAAkC,KAAK,QAAQ,aAAa;AAC5D;AACA,KAAK;AACL;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,qBAAqB,aAAa,iBAAiB;AAC5E;AACA;AACA;AACA;AACA;AACA,yBAAyB,aAAa;AACtC;AACA;AACA,yBAAyB,aAAa;AACtC;AACA,4CAA4C,YAAY,eAAe,wDAAwD;AAC/H;AACA,wCAAwC,WAAa;AACrD;AACA;AACA,wCAAwC,WAAa;AACrD;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,WAAW;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,WAAW;AACtC,kCAAkC,YAAY;AAC9C,kCAAkC,WAAW;AAC7C;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,iDAAiD;AAC7D;AACA;AAC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WAAS;AAChC,2DAA2D,oBAAoB;AAC/E;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA,uBAAuB,WAAS;AAChC;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA,uBAAuB,WAAS;AAChC;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAA8C;AAC1D,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAA8B;AAC1C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,KAA6B;AACzC,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,YAAyB;AACrC,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,MAAyC;AACrD;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,MAA4C;AACxD;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAwC;AACpD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,OAA8C;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAgC;AAC5C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAwC;AACpD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,KAA+C;AAC3D,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,QAAuD;AACnE;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAAsC;AAClD;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAA2C;AACvD;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAA2C;AACvD;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAkC;AAC9C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,KAA2B;AACvC,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAkC;AAC9C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,YAAY,gBAA0C;AACtD;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,YAAY,gBAA0C;AACtD,2DAA2D,oBAAoB,UAAU,oBAAoB,OAAO,EAAE,aAAa,UAAU,kBAAkB,gBAAgB;AAC/K;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,sHAAsH;AACtJ,aAAa;AACb;AACA;AACA,0BAA0B,OAA8B;AACxD;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,+BAA+B,WAA8B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,+BAA+B,WAA8B;AAC7D;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,eAA6C;AACzD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,YAAY,gBAA0C;AACtD;AACA;AACA,aAAa;AACb;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA,YAAY,gBAAqC;AACjD;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,gBAA2C;AACvD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,gBAA2C;AACvD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,OAA8B;AAC1C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,QAAiD;AAC7D;AACA;AACA,gBAAgB,QAAqC;AACrD;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,+IAA+I;AAC/K,aAAa;AACb;AACA;AACA;AACA,YAAY,QAAqC;AACjD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,QAA4C;AACxD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,QAAmD;AAC/D;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,aAA8B;AAC1C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAA+B;AAC3C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,sHAAsH;AACtJ,aAAa;AACb;AACA;AACA;AACA,YAAY,OAA8B;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,uEAAuE;AACvG,aAAa;AACb;AACA;AACA,YAAY,OAA+B;AAC3C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,eAA6C;AACzD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,eAA2C;AACvD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,aACuB;AACnC;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,2CAA2C,gCAAgC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA,YAAY,WAAwD;AACpE;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA,YAAY,WAA2C;AACvD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,OAAgC;AAC5C,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,eAA6C;AAC7D;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA,YAAY,eAA8C;AAC1D,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,OAAiC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,8CAA8C,wGAAwG;AACtL,aAAa;AACb;AACA,YAAY,OAAgC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,wBAAwB;AAC5D;AACA;AACA,gFAAgF;AAChF;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,8CAA8C,wGAAwG;AACtL,aAAa;AACb;AACA;AACA,YAAY,OAAgC;AAC5C;AACA;AACA;AACA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,gBAAgB,OAA+B;AAC/C;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,4BAA4B,sBAAsB;AAClD;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,YAAY,OAA+B;AAC3C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,0CAA0C;AAC1E,aAAa;AACb;AACA;AACA,YAAY,UAAmC;AAC/C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,6BAA6B;AAC7D,aAAa;AACb;AACA;AACA,YAAY,UAAoC;AAChD;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,wBAAwB;AACxB,YAAY,aACsB;AAClC,sDAAsD,MAAM;AAC5D;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,wBAAwB;AACxB,YAAY,OACsB;AAClC,sDAAsD,MAAM;AAC5D;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,wBAAwB;AACxB,YAAY,YAAyD;AACrE,qDAAqD,MAAM;AAC3D;AACA,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,+CAA+C;AAC/E;AACA;AACA;AACA,YAAY,KAAoC;AAChD;AACA;AACA,aAAa;AACb;AACA,0CAA0C,MAAM;AAChD,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,aAAa;AACb;AACA;AACA;AACA,gCAAgC,+CAA+C;AAC/E;AACA;AACA;AACA,YAAY,KAAyC;AACrD;AACA;AACA,aAAa;AACb;AACA,0CAA0C,MAAM;AAChD,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,aAAa;AACb;AACA;AACA;AACA,gCAAgC,+CAA+C;AAC/E;AACA;AACA;AACA,YAAY,KAAoC;AAChD;AACA;AACA,aAAa;AACb;AACA,0CAA0C,MAAM;AAChD,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,aAAa;AACb;AACA;AACA;AACA,gCAAgC,+CAA+C;AAC/E;AACA;AACA;AACA,YAAY,KAAoC;AAChD;AACA,oCAAoC,OAAO;AAC3C,aAAa;AACb;AACA,0CAA0C,MAAM;AAChD,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,+CAA+C;AAC/E,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,KAA6C;AACzD;AACA;AACA,aAAa;AACb;AACA,0CAA0C,MAAM;AAChD,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,0BAA0B;AAC1D,aAAa;AACb;AACA;AACA,YAAY,OAAgC;AAC5C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,oEAAoE;AACpG,aAAa;AACb;AACA;AACA,YAAY,MACc;AAC1B;AACA,iDAAiD,IAAI;AACrD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAAwC;AACpD;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAA6C;AACzD;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAAqD;AACjE;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAA4D;AACxE;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,cAAkD;AAC9D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAAkD;AAC9D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAAgD;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,SAA6D;AACzE;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,6FAA6F;AAC7H,aAAa;AACb;AACA;AACA,YAAY,QAAkC;AAC9C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,iCAAiC;AACjE,aAAa;AACb;AACA;AACA,YAAY,OAAoC;AAChD,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,YAA4B;AACxC;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,YAAY,+DAA+D,EAAE;AAC7G,aAAa;AACb;AACA;AACA;AACA;AACA,YAAY,SAAsC;AAClD;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,WAA6B;AACzC,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA,YAAY,MAAmC;AAC/C;AACA,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,8sCAA8sC,EAAE,swGAAswG,EAAE,isDAAisD,EAAE,88DAA88D,EAAE,0lDAA0lD;AACtuT,aAAa;AACb;AACA;AACA,YAAY,OAAkC;AAC9C;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,YAAY,WAAwC;AACpD;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,wGAAwG;AACxI,aAAa;AACb;AACA;AACA,YAAY,MACkB;AAC9B;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,+CAA+C,sCAAsC;AACrF,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,2BACiC;AAC7C;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA,YAAY,2BACwB;AACpC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,iCAAiC;AACjC,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,2BACwC;AACpD;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,wBACwB;AACpC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,wBACyB;AACrC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,YAAY,WAA6B;AACzC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,WAA8B;AAC1C;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAmC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA,YAAY,iCACwB;AACpC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,iCAC0B;AACtC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,iCAAiC;AACjC,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,iCACwC;AACpD;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,iCACiC;AAC7C;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,YAAY,8BACwB;AACpC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,8BACyB;AACrC;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb,SAAS;AACT,KAAK;AACL,IAAI,SAAS;AACb;AACA;AACA;AACA;AACA,mBAAmB,eAAoD;AACvE,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAgC;AAC5C;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ,mBAA8C;AACtD,oBAAoB,KAA6C;AACjE,SAAS;AACT;AACA;AACA,QAAQ,mBAA8C;AACtD;AACA;;;AC38DmH;AAChF;AACa;AAChD;AACA;AACA;AACA;AACA,IAAI,UAAU;AACd,IAAI,oBAAoB;AACxB,8BAA8B,SAAS;AACvC;AACA,eAAe,YAAY;AAC3B,4CAA4C,SAAS;AACrD;AACA,QAAQ,eAAe;AACvB,QAAQ,aAAa;AACrB,KAAK;AACL;AACA;AACA,QAAQ,WAA+B;AACvC;AACA;AACA;AACA;AACA,CAAC","sources":["webpack://microsoft-teams-test-tab/webpack/bootstrap","webpack://microsoft-teams-test-tab/webpack/runtime/global","webpack://microsoft-teams-test-tab/./src/jsonUtils.ts","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/interfaces.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/constants.js","webpack://microsoft-teams-test-tab/./src/utils.ts","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/_virtual/browser.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/_virtual/_polyfill-node.global.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/_virtual/_polyfill-node.buffer.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/native.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/rng.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/stringify.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/regex.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/validate.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/utils.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/uuidObject.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/telemetry.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/artifactsForCDN/validDomains.json.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/constants.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/globalVars.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/runtime.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/serializable.interface.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/version.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/internalAPIs.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/typeCheckUtilities.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/appIdValidation.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/appId.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/pages/pages.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/pages/tabs.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/pages/config.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/pagesHelpers.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/pages/backStack.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/handlers.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/hostToAppTelemetry.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/messageObjects.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/nestedAppAuthUtils.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/validOrigins.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/communication.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/authentication.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/dialog/update.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/dialog/url/url.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/dialog/url/bot.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/dialogHelpers.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/dialog/dialog.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/menus.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/responseHandler.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/appHelpers.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/app/app.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/privateAPIs.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/teamsAPIs.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/publicAPIs.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/pages/appButton.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/appWindow.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/tasks.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/notifications.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/conversations.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/teams/fullTrust/joinedTeams.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/mediaUtil.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/media.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/location.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/geoLocation/geoLocation.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/webStorageHelpers.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/webStorage.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/hostEntity/hostEntity.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/hostEntity/tab.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/deepLinkConstants.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/internal/deepLinkUtilities.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/call.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/meeting/meeting.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/monetization.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/people.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/navigation.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/sharing/sharing.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/stageView/stageView.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/stageView/self.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/appEntity.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/chat.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/externalAppCardActions.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/clipboard.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/teams/teams.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/externalAppAuthenticationForCEA.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/private/externalAppCardActionsForCEA.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/nestedAppAuth.js","webpack://microsoft-teams-test-tab/./node_modules/@microsoft/teams-js/dist/esm/packages/teams-js/src/public/appInitialization.js","webpack://microsoft-teams-test-tab/./src/app.ts","webpack://microsoft-teams-test-tab/./src/index.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","export function renderJson(parent, value, appendComma = false) {\r\n if (Array.isArray(value)) {\r\n parent.appendChild(renderSymbol('['));\r\n if (value.length > 0) {\r\n parent.appendChild(renderArrayContent(value));\r\n }\r\n parent.appendChild(renderSymbol(']'));\r\n }\r\n else if (typeof value === 'object' && value !== null) {\r\n parent.appendChild(renderSymbol('{'));\r\n if (Object.keys(value).length > 0) {\r\n parent.appendChild(renderObjectContent(value));\r\n }\r\n parent.appendChild(renderSymbol('}'));\r\n }\r\n else {\r\n parent.appendChild(renderSimpleType(value, 'json-object-value'));\r\n }\r\n if (appendComma) {\r\n parent.appendChild(renderSymbol(','));\r\n }\r\n}\r\nfunction renderSimpleType(value, className = '') {\r\n const element = document.createElement('span');\r\n element.className = className;\r\n switch (typeof value) {\r\n case 'string':\r\n element.innerText = `\"${value}\"`;\r\n break;\r\n case 'number':\r\n case 'boolean':\r\n element.innerText = value.toString();\r\n break;\r\n case 'undefined':\r\n element.innerText = 'undefined';\r\n case 'object':\r\n if (value === null) {\r\n element.innerText = 'null';\r\n }\r\n default:\r\n element.innerText = value.toString();\r\n }\r\n return element;\r\n}\r\nfunction renderSymbol(symbol, className = '') {\r\n const element = document.createElement('span');\r\n element.className = className;\r\n element.innerText = symbol;\r\n return element;\r\n}\r\nfunction renderObjectContent(object) {\r\n const element = document.createElement('div');\r\n element.className = 'json-object-content';\r\n Object.keys(object).forEach((key, index) => {\r\n const value = object[key];\r\n const appendComma = index < Object.keys(object).length - 1;\r\n element.appendChild(renderKeyValuePair(key, value, appendComma));\r\n });\r\n return element;\r\n}\r\nfunction renderKeyValuePair(key, value, appendComma) {\r\n const element = document.createElement('div');\r\n element.className = 'json-object-key-value';\r\n element.appendChild(renderObjectKey(key));\r\n renderJson(element, value, appendComma);\r\n return element;\r\n}\r\nfunction renderObjectKey(name) {\r\n const element = document.createElement('span');\r\n element.className = 'json-object-key-wrapper';\r\n const elementInner = document.createElement('span');\r\n elementInner.className = 'json-object-key';\r\n elementInner.innerText = name;\r\n element.appendChild(elementInner);\r\n element.appendChild(renderSymbol(':'));\r\n return element;\r\n}\r\nfunction renderArrayContent(array) {\r\n const element = document.createElement('div');\r\n element.className = 'json-array-content';\r\n array.forEach((item, index) => {\r\n const appendComma = index < array.length - 1;\r\n element.appendChild(renderArrayItem(item, appendComma));\r\n });\r\n return element;\r\n}\r\nfunction renderArrayItem(value, appendComma) {\r\n const element = document.createElement('div');\r\n element.className = 'json-array-item';\r\n renderJson(element, value, appendComma);\r\n return element;\r\n}\r\n","var n,e,t,E,O,R,o,T,N,_;function i(n){return void 0!==(null==n?void 0:n.errorCode)}!function(n){n.Inline=\"inline\",n.Desktop=\"desktop\",n.Web=\"web\"}(n||(n={})),function(n){n.M365Content=\"m365content\"}(e||(e={})),function(n){n.DriveId=\"driveId\",n.GroupId=\"groupId\",n.SiteId=\"siteId\",n.UserId=\"userId\"}(t||(t={})),function(n){n[n.NOT_SUPPORTED_ON_PLATFORM=100]=\"NOT_SUPPORTED_ON_PLATFORM\",n[n.INTERNAL_ERROR=500]=\"INTERNAL_ERROR\",n[n.NOT_SUPPORTED_IN_CURRENT_CONTEXT=501]=\"NOT_SUPPORTED_IN_CURRENT_CONTEXT\",n[n.PERMISSION_DENIED=1e3]=\"PERMISSION_DENIED\",n[n.NETWORK_ERROR=2e3]=\"NETWORK_ERROR\",n[n.NO_HW_SUPPORT=3e3]=\"NO_HW_SUPPORT\",n[n.INVALID_ARGUMENTS=4e3]=\"INVALID_ARGUMENTS\",n[n.UNAUTHORIZED_USER_OPERATION=5e3]=\"UNAUTHORIZED_USER_OPERATION\",n[n.INSUFFICIENT_RESOURCES=6e3]=\"INSUFFICIENT_RESOURCES\",n[n.THROTTLE=7e3]=\"THROTTLE\",n[n.USER_ABORT=8e3]=\"USER_ABORT\",n[n.OPERATION_TIMED_OUT=8001]=\"OPERATION_TIMED_OUT\",n[n.OLD_PLATFORM=9e3]=\"OLD_PLATFORM\",n[n.FILE_NOT_FOUND=404]=\"FILE_NOT_FOUND\",n[n.SIZE_EXCEEDED=1e4]=\"SIZE_EXCEEDED\"}(E||(E={})),function(n){n.GeoLocation=\"geolocation\",n.Media=\"media\"}(O||(O={})),function(n){n.BCAIS=\"bcais\",n.BCWAF=\"bcwaf\",n.BCWBF=\"bcwbf\"}(R||(R={})),function(n){n.Faculty=\"faculty\",n.Student=\"student\",n.Other=\"other\"}(o||(o={})),function(n){n.Adult=\"adult\",n.MinorNoParentalConsentRequired=\"minorNoParentalConsentRequired\",n.MinorWithoutParentalConsent=\"minorWithoutParentalConsent\",n.MinorWithParentalConsent=\"minorWithParentalConsent\",n.NonAdult=\"nonAdult\"}(T||(T={})),function(n){n.HigherEducation=\"higherEducation\",n.K12=\"k12\",n.Other=\"other\"}(N||(N={})),function(n){n.TextPlain=\"text/plain\",n.TextHtml=\"text/html\",n.ImagePNG=\"image/png\",n.ImageJPEG=\"image/jpeg\"}(_||(_={}));export{e as ActionObjectType,_ as ClipboardSupportedMimeType,R as Cohort,O as DevicePermission,N as EduType,E as ErrorCode,n as FileOpenPreference,T as LegalAgeGroupClassification,o as Persona,t as SecondaryM365ContentIdName,i as isSdkError};\n","import{ErrorCode as e}from\"./interfaces.js\";var o,s,a,i,n,t,r;!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\"}(o||(o={})),function(e){e.office=\"Office\",e.outlook=\"Outlook\",e.outlookWin32=\"OutlookWin32\",e.orange=\"Orange\",e.places=\"Places\",e.teams=\"Teams\",e.teamsModern=\"TeamsModern\"}(s||(s={})),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\"}(a||(a={})),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\"}(i||(i={})),function(e){e[e.Admin=0]=\"Admin\",e[e.User=1]=\"User\",e[e.Guest=2]=\"Guest\"}(n||(n={})),function(e){e.Large=\"large\",e.Medium=\"medium\",e.Small=\"small\"}(t||(t={})),function(e){e.Regular=\"Regular\",e.Private=\"Private\",e.Shared=\"Shared\"}(r||(r={}));const m={errorCode:e.NOT_SUPPORTED_ON_PLATFORM},d={majorVersion:1,minorVersion:5},u={adaptiveCardSchemaVersion:{majorVersion:1,minorVersion:5}},l=new Error(\"Invalid input count: Must supply a valid image count (limit of 10).\"),c=new Error(\"Invalid response: Received more images than the specified max limit in the response.\");export{r as ChannelType,t as DialogDimension,a as FrameContexts,o as HostClientType,s as HostName,t as TaskModuleDimension,i as TeamType,n as UserTeamRole,l as errorInvalidCount,c as errorInvalidResponse,m as errorNotSupportedOnPlatform,d as minAdaptiveCardVersion,u as teamsMinAdaptiveCardVersion};\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nimport { renderJson } from \"./jsonUtils\";\r\nimport { FrameContexts } from \"@microsoft/teams-js\";\r\nexport let inputs = {};\r\nexport const LocalStorageContextKey = \"app-context\";\r\nexport const LocalStorageUnloadKey = \"isUnloading\";\r\nexport let appCacheMode = \"Normal\";\r\nexport let container = document.createElement(\"div\");\r\ncontainer.classList.add(\"moduleContainer\");\r\nexport function addModule(config) {\r\n var element = document.createElement(\"div\");\r\n var button = createButton({\r\n displayName: config.name,\r\n id: config.name,\r\n });\r\n element.appendChild(button);\r\n element.appendChild(document.createElement(\"br\"));\r\n if (config.inputs) {\r\n element.appendChild(document.createElement(\"br\"));\r\n for (var i = 0; i < config.inputs.length; i++) {\r\n var label = document.createElement(\"label\");\r\n label.appendChild(document.createTextNode(config.inputs[i].name + \":\"));\r\n element.appendChild(label);\r\n element.appendChild(document.createElement(\"br\"));\r\n let input;\r\n let valueGetter;\r\n const defaultInputValue = (config.inputs[i].defaultValue) ? config.inputs[i].defaultValue : null;\r\n switch (config.inputs[i].type) {\r\n case \"string\":\r\n input = document.createElement(\"input\");\r\n valueGetter = function () {\r\n return input.value;\r\n };\r\n break;\r\n case \"boolean\":\r\n input = document.createElement(\"input\");\r\n input.type = \"checkbox\";\r\n if (defaultInputValue) {\r\n input.checked = defaultInputValue;\r\n }\r\n valueGetter = function () {\r\n return input.checked;\r\n };\r\n break;\r\n case \"object\":\r\n input = document.createElement(\"textarea\");\r\n valueGetter = function () {\r\n input.style.backgroundColor = \"\";\r\n try {\r\n return JSON.parse(input.value);\r\n }\r\n catch (e) {\r\n input.style.backgroundColor = \"red\";\r\n if (defaultInputValue) {\r\n input.value = defaultInputValue;\r\n }\r\n return null;\r\n }\r\n };\r\n break;\r\n }\r\n config.inputs[i].valueGetter = valueGetter;\r\n input.setAttribute(\"aria-label\", \"input-\" + config.name);\r\n input.id = \"input-\" + config.name + \"-\" + i;\r\n element.appendChild(input);\r\n inputs[input.id] = input;\r\n element.appendChild(document.createElement(\"br\"));\r\n }\r\n }\r\n if (config.hasOutput) {\r\n var label = document.createElement(\"label\");\r\n element.appendChild(document.createElement(\"br\"));\r\n label.appendChild(document.createTextNode(\"Output:\"));\r\n label.setAttribute(\"id\", \"outputHeader-\" + config.name);\r\n element.appendChild(label);\r\n element.appendChild(document.createElement(\"br\"));\r\n var textarea = document.createElement(\"textarea\");\r\n textarea.setAttribute(\"aria-label\", \"textarea-\" + config.name);\r\n textarea.id = \"textarea-\" + config.name;\r\n element.appendChild(textarea);\r\n }\r\n if (config.hasSelectMedia) {\r\n var label = document.createElement(\"label\");\r\n element.appendChild(document.createElement(\"br\"));\r\n label.appendChild(document.createTextNode(\"SelectMediaOutput:\"));\r\n element.appendChild(label);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image = document.createElement(\"img\");\r\n image.id = \"image-\" + config.name;\r\n image.height = 30;\r\n image.width = 20;\r\n element.appendChild(image);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image1 = document.createElement(\"img\");\r\n image1.id = \"image-1\" + config.name;\r\n image1.height = 30;\r\n image1.width = 20;\r\n element.appendChild(image1);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image2 = document.createElement(\"img\");\r\n image2.id = \"image-2\" + config.name;\r\n image2.height = 30;\r\n image2.width = 20;\r\n element.appendChild(image2);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image3 = document.createElement(\"img\");\r\n image3.id = \"image-3\" + config.name;\r\n image3.height = 30;\r\n image3.width = 20;\r\n element.appendChild(image3);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image4 = document.createElement(\"img\");\r\n image4.id = \"image-4\" + config.name;\r\n image4.height = 30;\r\n image4.width = 20;\r\n element.appendChild(image4);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image5 = document.createElement(\"img\");\r\n image5.id = \"image-5\" + config.name;\r\n image5.height = 30;\r\n image5.width = 20;\r\n element.appendChild(image5);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image6 = document.createElement(\"img\");\r\n image6.id = \"image-6\" + config.name;\r\n image6.height = 30;\r\n image6.width = 20;\r\n element.appendChild(image6);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image7 = document.createElement(\"img\");\r\n image7.id = \"image-7\" + config.name;\r\n image7.height = 30;\r\n image7.width = 20;\r\n element.appendChild(image7);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image8 = document.createElement(\"img\");\r\n image8.id = \"image-8\" + config.name;\r\n image8.height = 30;\r\n image8.width = 20;\r\n element.appendChild(image8);\r\n element.appendChild(document.createElement(\"br\"));\r\n var image9 = document.createElement(\"img\");\r\n image9.id = \"image-9\" + config.name;\r\n image9.height = 30;\r\n image9.width = 20;\r\n element.appendChild(image9);\r\n }\r\n if (config.hasGetMedia) {\r\n var label = document.createElement(\"label\");\r\n element.appendChild(document.createElement(\"br\"));\r\n label.appendChild(document.createTextNode(\"GetMedia (First selected):\"));\r\n element.appendChild(label);\r\n element.appendChild(document.createElement(\"br\"));\r\n var getMediaImage = document.createElement(\"img\");\r\n getMediaImage.id = \"image-getMediaImage\" + config.name;\r\n getMediaImage.height = 200;\r\n getMediaImage.width = 150;\r\n element.appendChild(getMediaImage);\r\n }\r\n container.appendChild(element);\r\n button.addEventListener(\"click\", () => __awaiter(this, void 0, void 0, function* () {\r\n var args = [];\r\n if (config.inputs) {\r\n for (var i = 0; i < config.inputs.length; i++) {\r\n var inputValue = config.inputs[i].valueGetter();\r\n if (inputValue === null) {\r\n return;\r\n }\r\n args.push(inputValue);\r\n }\r\n }\r\n if (config.hasSelectMedia) {\r\n args.push(function (result) {\r\n if (typeof result !== typeof []) {\r\n alert(\"something went wrong\");\r\n }\r\n if (result.length > 0 && result[0]) {\r\n image.src = result[0];\r\n }\r\n else {\r\n image.removeAttribute('src');\r\n }\r\n if (result.length > 1 && result[1]) {\r\n image1.src = result[1];\r\n }\r\n else {\r\n image1.removeAttribute('src');\r\n }\r\n if (result.length > 2 && result[2]) {\r\n image2.src = result[2];\r\n }\r\n else {\r\n image2.removeAttribute('src');\r\n }\r\n if (result.length > 3 && result[3]) {\r\n image3.src = result[3];\r\n }\r\n else {\r\n image3.removeAttribute('src');\r\n }\r\n if (result.length > 4 && result[4]) {\r\n image4.src = result[4];\r\n }\r\n else {\r\n image4.removeAttribute('src');\r\n }\r\n if (result.length > 5 && result[5]) {\r\n image5.src = result[5];\r\n }\r\n else {\r\n image5.removeAttribute('src');\r\n }\r\n if (result.length > 6 && result[6]) {\r\n image6.src = result[6];\r\n }\r\n else {\r\n image6.removeAttribute('src');\r\n }\r\n if (result.length > 7 && result[7]) {\r\n image7.src = result[7];\r\n }\r\n else {\r\n image7.removeAttribute('src');\r\n }\r\n if (result.length > 8 && result[8]) {\r\n image8.src = result[8];\r\n }\r\n else {\r\n image8.removeAttribute('src');\r\n }\r\n if (result.length > 9 && result[9]) {\r\n image9.src = result[9];\r\n }\r\n else {\r\n image9.removeAttribute('src');\r\n }\r\n });\r\n }\r\n if (config.hasGetMedia) {\r\n args.push(function (result) {\r\n if (typeof result !== \"string\") {\r\n result = JSON.stringify(result);\r\n }\r\n getMediaImage.src = result;\r\n });\r\n }\r\n if (config.hasOutput) {\r\n args.push(function (result) {\r\n if (typeof result !== \"string\") {\r\n result = JSON.stringify(result);\r\n }\r\n textarea.value = result;\r\n [\"copy\", \"view\"].forEach((buttonType) => {\r\n const button = document.getElementById(`button-${buttonType}-${config.name}`);\r\n if (result) {\r\n if (button) {\r\n button.style.display = \"inline\";\r\n }\r\n else {\r\n const newButton = createButton({\r\n displayName: buttonType,\r\n id: `${buttonType}-${config.name}`,\r\n ariaLabel: `${buttonType} ${config.name}`,\r\n className: `${buttonType}-button`,\r\n onClick: buttonType === \"copy\" ? copyText(config.name) : viewJson(config.name)\r\n });\r\n const outputHeader = document.getElementById(`outputHeader-${config.name}`);\r\n outputHeader && outputHeader.appendChild(newButton);\r\n }\r\n }\r\n else if (button) {\r\n button.style.display = \"none\";\r\n }\r\n });\r\n });\r\n }\r\n if (config.onClick) {\r\n textarea.value = yield config.onClick.apply(null, args);\r\n }\r\n if (config.action)\r\n config.action.apply(null, args);\r\n }));\r\n var searchInput = document.getElementById(\"searchInput\");\r\n searchInput && searchInput.addEventListener(\"input\", function () {\r\n // Show element if it matches search text or searchBox is empty\r\n if (searchInput.value === \"\" || config.name.toLowerCase().indexOf(searchInput.value.toLowerCase()) !== -1) {\r\n element.style.display = \"block\";\r\n }\r\n else {\r\n element.style.display = \"none\";\r\n }\r\n });\r\n}\r\nexport function restoreState() {\r\n var stateStr = localStorage.getItem(\"state\");\r\n if (!stateStr) {\r\n return;\r\n }\r\n var state = JSON.parse(stateStr);\r\n for (var id in state) {\r\n if (!inputs[id]) {\r\n continue;\r\n }\r\n inputs[id].value = state[id];\r\n }\r\n}\r\nexport function saveState() {\r\n var state = {};\r\n for (var id in inputs) {\r\n state[id] = inputs[id].value;\r\n }\r\n localStorage.setItem(\"state\", JSON.stringify(state));\r\n}\r\nexport function downloadHandler() {\r\n var input = document.querySelector(\"#image_uploads\");\r\n var preview = document.querySelector(\".fileUploadPreview\");\r\n if (!input || !preview) {\r\n return;\r\n }\r\n input.style.opacity = 0;\r\n input.addEventListener(\"change\", updateImageDisplay);\r\n function updateImageDisplay() {\r\n while (preview.firstChild) {\r\n preview.removeChild(preview.firstChild);\r\n }\r\n var curFiles = input.files;\r\n if (curFiles.length === 0) {\r\n var para = document.createElement(\"p\");\r\n para.textContent = \"No files currently selected for upload\";\r\n preview.appendChild(para);\r\n }\r\n else {\r\n var list = document.createElement(\"ol\");\r\n preview.appendChild(list);\r\n for (var i = 0; i < curFiles.length; i++) {\r\n var listItem = document.createElement(\"li\");\r\n var para = document.createElement(\"p\");\r\n if (validFileType(curFiles[i])) {\r\n para.textContent =\r\n \"File name \" +\r\n curFiles[i].name +\r\n \", file size \" +\r\n returnFileSize(curFiles[i].size) +\r\n \".\";\r\n var image = document.createElement(\"img\");\r\n image.src = window.URL.createObjectURL(curFiles[i]);\r\n listItem.appendChild(image);\r\n listItem.appendChild(para);\r\n }\r\n else {\r\n para.textContent =\r\n \"File name \" +\r\n curFiles[i].name +\r\n \": Not a valid file type. Update your selection.\";\r\n listItem.appendChild(para);\r\n }\r\n list.appendChild(listItem);\r\n }\r\n }\r\n }\r\n var fileTypes = [\"image/jpeg\", \"image/pjpeg\", \"image/png\"];\r\n function validFileType(file) {\r\n for (var i = 0; i < fileTypes.length; i++) {\r\n if (file.type === fileTypes[i]) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n function returnFileSize(number) {\r\n if (number < 1024) {\r\n return number + \"bytes\";\r\n }\r\n else if (number >= 1024 && number < 1048576) {\r\n return (number / 1024).toFixed(1) + \"KB\";\r\n }\r\n else if (number >= 1048576) {\r\n return (number / 1048576).toFixed(1) + \"MB\";\r\n }\r\n }\r\n}\r\nexport function filterHandler() {\r\n var searchInput = document.getElementById('searchInput');\r\n var sectionTitle = document.getElementsByClassName('sectionTitle');\r\n searchInput && searchInput.addEventListener('input', function () {\r\n var searchText = searchInput.value.toLowerCase();\r\n for (var i = 0; i < sectionTitle.length; i++) {\r\n var title = sectionTitle[i].textContent.toLowerCase();\r\n if (title.indexOf(searchText) === -1) {\r\n sectionTitle[i].parentElement.style.display = 'none';\r\n }\r\n else {\r\n sectionTitle[i].parentElement.style.display = 'block';\r\n }\r\n }\r\n });\r\n}\r\nexport function initializeNavigation(searchParams) {\r\n const searchString = searchParams.toString();\r\n [\"index\", \"page1\", \"page2\"].forEach((page) => {\r\n const pageAnchor = document.getElementById(page);\r\n if (pageAnchor) {\r\n pageAnchor.href = `/${page}.html?${searchString}`;\r\n }\r\n });\r\n}\r\nexport function initializeDownloadLinks() {\r\n const csv = \"Id,Value\\n1,Hello world!\\n\";\r\n const data = new Blob([csv]);\r\n const downloadLink = document.getElementById(\"downloadLink\");\r\n if (downloadLink) {\r\n downloadLink.href = URL.createObjectURL(data);\r\n }\r\n const downloadButton = document.getElementById(\"downloadButton\");\r\n if (!downloadButton) {\r\n return;\r\n }\r\n downloadButton.onclick = () => {\r\n const csv = \"Id, Value\\n1,Hello world!\\n\";\r\n const data = new Blob([csv]);\r\n let downloadLink = document.getElementById(\"hiddenDownloadLink\");\r\n if (downloadLink == null) {\r\n downloadLink = document.createElement('a');\r\n downloadLink.setAttribute('download', 'DownloadViaButton.csv');\r\n downloadLink.setAttribute('id', 'hiddenDownloadLink');\r\n document.body.appendChild(downloadLink);\r\n }\r\n downloadLink.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(data));\r\n downloadLink.href = URL.createObjectURL(data);\r\n downloadLink.style.display = 'none';\r\n downloadLink.click();\r\n };\r\n}\r\nexport function outputTabRenderedLocation(getContext) {\r\n if (isInTeams()) {\r\n getContext(outputTabRenderedLocationInTeams);\r\n }\r\n else {\r\n addPageSection(`Currently running outside of Microsoft Teams.`);\r\n }\r\n function isInTeams() {\r\n if ((window.parent === window.self && window.nativeInterface) ||\r\n window.name === \"embedded-page-container\" ||\r\n window.name === \"extension-tab-frame\") {\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\nexport function initialieCacheToggleButton() {\r\n const cacheToggle = document.getElementById(\"cache-mode-toggle\");\r\n if (!cacheToggle) {\r\n return;\r\n }\r\n cacheToggle.innerText = appCacheMode;\r\n cacheToggle.onclick = () => {\r\n appCacheMode = appCacheMode === \"Normal\" ? \"ReloadOnUnload\" : \"Normal\";\r\n cacheToggle.innerText = appCacheMode;\r\n };\r\n}\r\nfunction outputTabRenderedLocationInTeams(context) {\r\n var appLocation = 'unidentified location...';\r\n const perfData = window.performance;\r\n if (context.meetingId) {\r\n appLocation = 'Meeting';\r\n }\r\n else if (context.chatId) {\r\n appLocation = 'Chat';\r\n }\r\n else if (context.teamId && context.channelId) {\r\n appLocation = `${context.channelName} channel in ${context.teamName}`;\r\n }\r\n else {\r\n appLocation = 'Teams App';\r\n }\r\n if (isInConfig()) {\r\n appLocation = `${appLocation} (Config page)`;\r\n }\r\n else if (isInSidePanel()) {\r\n appLocation = `${appLocation} (Side Panel)`;\r\n }\r\n addPageSection(`Currently running in: ${appLocation}. with time ${perfData.timing.navigationStart - context.userClickTime}`);\r\n function isInConfig() {\r\n return context.frameContext === FrameContexts.settings;\r\n }\r\n function isInSidePanel() {\r\n return context.frameContext === FrameContexts.sidePanel;\r\n }\r\n}\r\n;\r\nexport function printRecentLocalStoredAppContext() {\r\n var storedContext = localStorage.getItem(LocalStorageContextKey);\r\n var contextContainer = document.getElementById(\"textarea-recentAppContext\");\r\n if (!storedContext || !contextContainer) {\r\n return;\r\n }\r\n contextContainer.value = storedContext;\r\n [\"copy\", \"view\"].forEach((buttonType) => {\r\n const button = document.getElementById(`button-${buttonType}-recentAppContext`);\r\n if (storedContext) {\r\n if (button) {\r\n button.style.display = \"inline\";\r\n }\r\n else {\r\n const newButton = createButton({\r\n displayName: buttonType,\r\n id: `${buttonType}-recentAppContext`,\r\n ariaLabel: `${buttonType} recent app context`,\r\n className: `${buttonType}-button`,\r\n onClick: buttonType === \"copy\" ? copyText(\"recentAppContext\") : viewJson(\"recentAppContext\")\r\n });\r\n const outputHeader = document.getElementById(\"outputHeader-recentAppContext\");\r\n outputHeader && outputHeader.appendChild(newButton);\r\n }\r\n }\r\n else if (button) {\r\n button.style.display = \"none\";\r\n }\r\n });\r\n}\r\n;\r\nexport function handleReloadOnUnload(sendCustomMessage) {\r\n const isReloading = localStorage.getItem(LocalStorageUnloadKey);\r\n if (isReloading === 'true') {\r\n console.log(`>>>>> Test tab app calling readyToUnload.`);\r\n localStorage.removeItem(LocalStorageUnloadKey);\r\n sendCustomMessage(\"readyToUnload\");\r\n }\r\n}\r\nfunction addPageSection(content) {\r\n var element = document.createElement(\"div\");\r\n var title = document.createElement(\"div\");\r\n title.classList.add(\"sectionTitle\");\r\n title.textContent = content;\r\n element.appendChild(title);\r\n container.prepend(element);\r\n}\r\nfunction createButton(buttonProps) {\r\n const { displayName, id, ariaLabel, className, onClick } = buttonProps;\r\n const button = document.createElement(\"button\");\r\n button.appendChild(document.createTextNode(displayName));\r\n button.setAttribute(\"aria-label\", ariaLabel || displayName);\r\n button.id = \"button-\" + id;\r\n if (onClick) {\r\n button.onclick = onClick;\r\n }\r\n if (className) {\r\n button.classList.add(className);\r\n }\r\n return button;\r\n}\r\nfunction copyText(name) {\r\n return () => {\r\n const area = document.getElementById(`textarea-${name}`);\r\n if (!area) {\r\n return;\r\n }\r\n area.select();\r\n navigator.clipboard.writeText(area.value);\r\n };\r\n}\r\nfunction viewJson(name) {\r\n return () => {\r\n const area = document.getElementById(`textarea-${name}`);\r\n if (!area) {\r\n return;\r\n }\r\n area.select();\r\n renderJsonViewer(area.value, name);\r\n };\r\n}\r\nfunction renderJsonViewer(data, title) {\r\n const modal = document.getElementById(\"myModal\");\r\n if (!modal) {\r\n return;\r\n }\r\n modal.style.display = \"block\";\r\n document.getElementById(\"errorMessage\").style.display = \"none\";\r\n const jsonViewer = document.getElementById(\"jsonViewer\");\r\n if (!jsonViewer) {\r\n return;\r\n }\r\n jsonViewer.innerHTML = \"\";\r\n const titleElement = document.createElement(\"h3\");\r\n titleElement.textContent = title;\r\n jsonViewer.appendChild(titleElement);\r\n try {\r\n const json = JSON.parse(data);\r\n renderJson(jsonViewer, json);\r\n }\r\n catch (_a) {\r\n renderJson(jsonViewer, data.toString());\r\n }\r\n}\r\n","function t(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&\"function\"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o=1.5*s;return Math.round(e/s)+\" \"+n+(a?\"s\":\"\")}return e=function(e,r){r=r||{};var o=typeof e;if(\"string\"===o&&e.length>0)return function(e){if((e=String(e)).length>100)return;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(e);if(!r)return;var i=parseFloat(r[1]);switch((r[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return i*u;case\"weeks\":case\"week\":case\"w\":return i*c;case\"days\":case\"day\":case\"d\":return i*t;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return i*a;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return i*n;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return i*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return i;default:return}}(e);if(\"number\"===o&&isFinite(e))return r.long?function(e){var r=Math.abs(e);if(r>=t)return i(e,r,t,\"day\");if(r>=a)return i(e,r,a,\"hour\");if(r>=n)return i(e,r,n,\"minute\");if(r>=s)return i(e,r,s,\"second\");return e+\" ms\"}(e):function(e){var r=Math.abs(e);if(r>=t)return Math.round(e/t)+\"d\";if(r>=a)return Math.round(e/a)+\"h\";if(r>=n)return Math.round(e/n)+\"m\";if(r>=s)return Math.round(e/s)+\"s\";return e+\"ms\"}(e);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(e))}}export{s as __require};\n","import{__require as e}from\"../../../../ms@2.1.2/node_modules/ms/index.js\";var n=function(n){function t(e){let n,s,o,a=null;function l(...e){if(!l.enabled)return;const r=l,s=Number(new Date),o=s-(n||s);r.diff=o,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),\"string\"!=typeof e[0]&&e.unshift(\"%O\");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if(\"%%\"===n)return\"%\";a++;const o=t.formatters[s];if(\"function\"==typeof o){const t=e[a];n=o.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return l.namespace=e,l.useColors=t.useColors(),l.color=t.selectColor(e),l.extend=r,l.destroy=t.destroy,Object.defineProperty(l,\"enabled\",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),\"function\"==typeof t.init&&t.init(l),l}function r(e,n){const r=t(this.namespace+(void 0===n?\":\":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).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 r=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),s=r.length;for(n=0;n{t[e]=n[e]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{\"%%\"!==e&&(t++,\"%c\"===e&&(n=t))})),o.splice(n,0,C)},C.save=function(e){try{e?C.storage.setItem(\"debug\",e):C.storage.removeItem(\"debug\")}catch(e){}},C.load=function(){let e;try{e=C.storage.getItem(\"debug\")}catch(e){}!e&&\"undefined\"!=typeof process&&\"env\"in process&&(e=process.env.DEBUG);return e},C.useColors=function(){if(\"undefined\"!=typeof window&&window.process&&(\"renderer\"===window.process.type||window.process.__nwjs))return!0;if(\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return\"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+)/)},C.storage=function(){try{return localStorage}catch(e){}}(),C.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`.\"))}})(),C.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\",\"#33CCCC\",\"#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\"],C.log=console.debug||console.log||(()=>{}),e.exports=o(C);const{formatters:t}=e.exports;t.j=function(e){try{return JSON.stringify(e)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}}}(e,e.exports);var C=e.exports;export{C as b};\n","var e=\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{};export{e as default};\n","import t from\"./_polyfill-node.global.js\";var r=[],e=[],n=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,i=!1;function o(){i=!0;for(var t=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",n=0;n<64;++n)r[n]=t[n],e[t.charCodeAt(n)]=n;e[\"-\".charCodeAt(0)]=62,e[\"_\".charCodeAt(0)]=63}function u(t,e,n){for(var i,o,u=[],f=e;f>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return u.join(\"\")}function f(t){var e;i||o();for(var n=t.length,f=n%3,s=\"\",h=[],a=16383,c=0,l=n-f;cl?l:c+a));return 1===f?(e=t[n-1],s+=r[e>>2],s+=r[e<<4&63],s+=\"==\"):2===f&&(e=(t[n-2]<<8)+t[n-1],s+=r[e>>10],s+=r[e>>4&63],s+=r[e<<2&63],s+=\"=\"),h.push(s),h.join(\"\")}function s(t,r,e,n,i){var o,u,f=8*i-n-1,s=(1<>1,a=-7,c=e?i-1:0,l=e?-1:1,p=t[r+c];for(c+=l,o=p&(1<<-a)-1,p>>=-a,a+=f;a>0;o=256*o+t[r+c],c+=l,a-=8);for(u=o&(1<<-a)-1,o>>=-a,a+=n;a>0;u=256*u+t[r+c],c+=l,a-=8);if(0===o)o=1-h;else{if(o===s)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,n),o-=h}return(p?-1:1)*u*Math.pow(2,o-n)}function h(t,r,e,n,i,o){var u,f,s,h=8*o-i-1,a=(1<>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,g=n?1:-1,y=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=a):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),(r+=u+c>=1?l/s:l*Math.pow(2,1-c))*s>=2&&(u++,s/=2),u+c>=a?(f=0,u=a):u+c>=1?(f=(r*s-1)*Math.pow(2,i),u+=c):(f=r*Math.pow(2,c-1)*Math.pow(2,i),u=0));i>=8;t[e+p]=255&f,p+=g,f/=256,i-=8);for(u=u<0;t[e+p]=255&u,p+=g,u/=256,h-=8);t[e+p-g]|=128*y}var a={}.toString,c=Array.isArray||function(t){return\"[object Array]\"==a.call(t)},l=50;function p(){return y.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function g(t,r){if(p()=p())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+p().toString(16)+\" bytes\");return 0|t}function R(t){return!(null==t||!t._isBuffer)}function b(t,r){if(R(t))return t.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;\"string\"!=typeof t&&(t=\"\"+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case\"ascii\":case\"latin1\":case\"binary\":return e;case\"utf8\":case\"utf-8\":case void 0:return K(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*e;case\"hex\":return e>>>1;case\"base64\":return Q(t).length;default:if(n)return K(t).length;r=(\"\"+r).toLowerCase(),n=!0}}function m(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return\"\";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return\"\";if((e>>>=0)<=(r>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return k(this,r,e);case\"utf8\":case\"utf-8\":return L(this,r,e);case\"ascii\":return D(this,r,e);case\"latin1\":case\"binary\":return x(this,r,e);case\"base64\":return O(this,r,e);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return N(this,r,e);default:if(n)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),n=!0}}function _(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function P(t,r,e,n,i){if(0===t.length)return-1;if(\"string\"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0){if(!i)return-1;e=0}if(\"string\"==typeof r&&(r=y.from(r,n)),R(r))return 0===r.length?-1:T(t,r,e,n,i);if(\"number\"==typeof r)return r&=255,y.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):T(t,[r],e,n,i);throw new TypeError(\"val must be string, number or Buffer\")}function T(t,r,e,n,i){var o,u=1,f=t.length,s=r.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,e/=2}function h(t,r){return 1===u?t[r]:t.readUInt16BE(r*u)}if(i){var a=-1;for(o=e;of&&(e=f-s),o=e;o>=0;o--){for(var c=!0,l=0;li&&(n=i):n=i;var o=r.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");n>o/2&&(n=o/2);for(var u=0;u>8,i=e%256,o.push(i),o.push(n);return o}(r,t.length-e),t,e,n)}function O(t,r,e){return 0===r&&e===t.length?f(t):f(t.slice(r,e))}function L(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i239?4:h>223?3:h>191?2:1;if(i+c<=e)switch(c){case 1:h<128&&(a=h);break;case 2:128==(192&(o=t[i+1]))&&(s=(31&h)<<6|63&o)>127&&(a=s);break;case 3:o=t[i+1],u=t[i+2],128==(192&o)&&128==(192&u)&&(s=(15&h)<<12|(63&o)<<6|63&u)>2047&&(s<55296||s>57343)&&(a=s);break;case 4:o=t[i+1],u=t[i+2],f=t[i+3],128==(192&o)&&128==(192&u)&&128==(192&f)&&(s=(15&h)<<18|(63&o)<<12|(63&u)<<6|63&f)>65535&&s<1114112&&(a=s)}null===a?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=c}return function(t){var r=t.length;if(r<=M)return String.fromCharCode.apply(String,t);var e=\"\",n=0;for(;n0&&(t=this.toString(\"hex\",0,50).match(/.{2}/g).join(\" \"),this.length>50&&(t+=\" ... \")),\"\"},y.prototype.compare=function(t,r,e,n,i){if(!R(t))throw new TypeError(\"Argument must be a Buffer\");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),r<0||e>t.length||n<0||i>this.length)throw new RangeError(\"out of range index\");if(n>=i&&r>=e)return 0;if(n>=i)return-1;if(r>=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),u=(e>>>=0)-(r>>>=0),f=Math.min(o,u),s=this.slice(n,i),h=t.slice(r,e),a=0;ai)&&(e=i),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");n||(n=\"utf8\");for(var o=!1;;)switch(n){case\"hex\":return U(this,t,r,e);case\"utf8\":case\"utf-8\":return B(this,t,r,e);case\"ascii\":return S(this,t,r,e);case\"latin1\":case\"binary\":return Y(this,t,r,e);case\"base64\":return I(this,t,r,e);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return C(this,t,r,e);default:if(o)throw new TypeError(\"Unknown encoding: \"+n);n=(\"\"+n).toLowerCase(),o=!0}},y.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function D(t,r,e){var n=\"\";e=Math.min(t.length,e);for(var i=r;in)&&(e=n);for(var i=\"\",o=r;oe)throw new RangeError(\"Trying to access beyond buffer length\")}function F(t,r,e,n,i,o){if(!R(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(r>i||rt.length)throw new RangeError(\"Index out of range\")}function j(t,r,e,n){r<0&&(r=65535+r+1);for(var i=0,o=Math.min(t.length-e,2);i>>8*(n?i:1-i)}function V(t,r,e,n){r<0&&(r=4294967295+r+1);for(var i=0,o=Math.min(t.length-e,4);i>>8*(n?i:3-i)&255}function q(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError(\"Index out of range\");if(e<0)throw new RangeError(\"Index out of range\")}function J(t,r,e,n,i){return i||q(t,0,e,4),h(t,r,e,n,23,4),e+4}function Z(t,r,e,n,i){return i||q(t,0,e,8),h(t,r,e,n,52,8),e+8}y.prototype.slice=function(t,r){var e,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r0&&(i*=256);)n+=this[t+--r]*i;return n},y.prototype.readUInt8=function(t,r){return r||z(t,1,this.length),this[t]},y.prototype.readUInt16LE=function(t,r){return r||z(t,2,this.length),this[t]|this[t+1]<<8},y.prototype.readUInt16BE=function(t,r){return r||z(t,2,this.length),this[t]<<8|this[t+1]},y.prototype.readUInt32LE=function(t,r){return r||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},y.prototype.readUInt32BE=function(t,r){return r||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},y.prototype.readIntLE=function(t,r,e){t|=0,r|=0,e||z(t,r,this.length);for(var n=this[t],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*r)),n},y.prototype.readIntBE=function(t,r,e){t|=0,r|=0,e||z(t,r,this.length);for(var n=r,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*r)),o},y.prototype.readInt8=function(t,r){return r||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},y.prototype.readInt16LE=function(t,r){r||z(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},y.prototype.readInt16BE=function(t,r){r||z(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},y.prototype.readInt32LE=function(t,r){return r||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},y.prototype.readInt32BE=function(t,r){return r||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},y.prototype.readFloatLE=function(t,r){return r||z(t,4,this.length),s(this,t,!0,23,4)},y.prototype.readFloatBE=function(t,r){return r||z(t,4,this.length),s(this,t,!1,23,4)},y.prototype.readDoubleLE=function(t,r){return r||z(t,8,this.length),s(this,t,!0,52,8)},y.prototype.readDoubleBE=function(t,r){return r||z(t,8,this.length),s(this,t,!1,52,8)},y.prototype.writeUIntLE=function(t,r,e,n){(t=+t,r|=0,e|=0,n)||F(this,t,r,e,Math.pow(2,8*e)-1,0);var i=1,o=0;for(this[r]=255&t;++o=0&&(o*=256);)this[r+i]=t/o&255;return r+e},y.prototype.writeUInt8=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,1,255,0),y.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},y.prototype.writeUInt16LE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):j(this,t,r,!0),r+2},y.prototype.writeUInt16BE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):j(this,t,r,!1),r+2},y.prototype.writeUInt32LE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):V(this,t,r,!0),r+4},y.prototype.writeUInt32BE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):V(this,t,r,!1),r+4},y.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r|=0,!n){var i=Math.pow(2,8*e-1);F(this,t,r,e,i-1,-i)}var o=0,u=1,f=0;for(this[r]=255&t;++o=0&&(u*=256);)t<0&&0===f&&0!==this[r+o+1]&&(f=1),this[r+o]=(t/u|0)-f&255;return r+e},y.prototype.writeInt8=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,1,127,-128),y.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},y.prototype.writeInt16LE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):j(this,t,r,!0),r+2},y.prototype.writeInt16BE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):j(this,t,r,!1),r+2},y.prototype.writeInt32LE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,4,2147483647,-2147483648),y.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):V(this,t,r,!0),r+4},y.prototype.writeInt32BE=function(t,r,e){return t=+t,r|=0,e||F(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),y.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):V(this,t,r,!1),r+4},y.prototype.writeFloatLE=function(t,r,e){return J(this,t,r,!0,e)},y.prototype.writeFloatBE=function(t,r,e){return J(this,t,r,!1,e)},y.prototype.writeDoubleLE=function(t,r,e){return Z(this,t,r,!0,e)},y.prototype.writeDoubleBE=function(t,r,e){return Z(this,t,r,!1,e)},y.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n=this.length)throw new RangeError(\"sourceStart out of bounds\");if(n<0)throw new RangeError(\"sourceEnd out of bounds\");n>this.length&&(n=this.length),t.length-r=0;--i)t[i+r]=this[i+e];else if(o<1e3||!y.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),\"number\"==typeof t)for(o=r;o55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error(\"Invalid code point\");if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return o}function Q(t){return function(t){var r,u,f,s,h,a;i||o();var c=t.length;if(c%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");h=\"=\"===t[c-2]?2:\"=\"===t[c-1]?1:0,a=new n(3*c/4-h),f=h>0?c-4:c;var l=0;for(r=0,u=0;r>16&255,a[l++]=s>>8&255,a[l++]=255&s;return 2===h?(s=e[t.charCodeAt(r)]<<2|e[t.charCodeAt(r+1)]>>4,a[l++]=255&s):1===h&&(s=e[t.charCodeAt(r)]<<10|e[t.charCodeAt(r+1)]<<4|e[t.charCodeAt(r+2)]>>2,a[l++]=s>>8&255,a[l++]=255&s),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\\s+|\\s+$/g,\"\")}(t).replace(G,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function W(t,r,e,n){for(var i=0;i=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function X(t){return null!=t&&(!!t._isBuffer||$(t)||function(t){return\"function\"==typeof t.readFloatLE&&\"function\"==typeof t.slice&&$(t.slice(0,0))}(t))}function $(t){return!!t.constructor&&\"function\"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}export{y as Buffer,l as INSPECT_MAX_BYTES,X as isBuffer};\n","var o={randomUUID:\"undefined\"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};export{o as default};\n","let t;const e=new Uint8Array(16);function o(){if(!t&&(t=\"undefined\"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!t))throw new Error(\"crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported\");return t(e)}export{o as default};\n","const t=[];for(let n=0;n<256;++n)t.push((n+256).toString(16).slice(1));function n(n,o=0){return t[n[o+0]]+t[n[o+1]]+t[n[o+2]]+t[n[o+3]]+\"-\"+t[n[o+4]]+t[n[o+5]]+\"-\"+t[n[o+6]]+t[n[o+7]]+\"-\"+t[n[o+8]]+t[n[o+9]]+\"-\"+t[n[o+10]]+t[n[o+11]]+t[n[o+12]]+t[n[o+13]]+t[n[o+14]]+t[n[o+15]]}export{n as unsafeStringify};\n","import r from\"./native.js\";import n from\"./rng.js\";import{unsafeStringify as o}from\"./stringify.js\";function t(t,m,i){if(r.randomUUID&&!m&&!t)return r.randomUUID();const f=(t=t||{}).random||(t.rng||n)();return f[6]=15&f[6]|64,f[8]=63&f[8]|128,o(f)}export{t as default};\n","var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;export{a as default};\n","import t from\"./regex.js\";function e(e){return\"string\"==typeof e&&t.test(e)}export{e as default};\n","import{Buffer as t}from\"../../../../_virtual/_polyfill-node.buffer.js\";import{minAdaptiveCardVersion as e}from\"../public/constants.js\";import r from\"../../../../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js\";import n from\"../../../../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/validate.js\";function o(t){return(t,e)=>{if(!t)throw new Error(e)}}function i(t,e){if(\"string\"!=typeof t||\"string\"!=typeof e)return NaN;const r=t.split(\".\"),n=e.split(\".\");function o(t){return/^\\d+$/.test(t)}if(!r.every(o)||!n.every(o))return NaN;for(;r.lengthNumber(n[t])?1:-1;return 0}function c(){return r()}function u(t){return Object.keys(t).forEach((e=>{null!==t[e]&&void 0!==t[e]&&\"object\"==typeof t[e]&&u(t[e])})),Object.freeze(t)}function s(t,e,...r){const n=t(...r);return n.then((t=>{e&&e(void 0,t)})).catch((t=>{e&&e(t)})),n}function f(t,e,...r){const n=t(...r);return n.then((()=>{e&&e(null)})).catch((t=>{e&&e(t)})),n}function l(t,e,...r){const n=t(...r);return n.then((t=>{e&&e(null,t)})).catch((t=>{e&&e(t,null)})),n}function a(t,e,r){return new Promise(((n,o)=>{const i=setTimeout(o,e,r);t().then((t=>{clearTimeout(i),n(t)})).catch((t=>{clearTimeout(i),o(t)}))}))}function p(t){const e=new URL(\"https://teams.microsoft.com/l/entity/\"+encodeURIComponent(t.appId.toString())+\"/\"+encodeURIComponent(t.pageId));return t.webUrl&&e.searchParams.append(\"webUrl\",t.webUrl.toString()),(t.chatId||t.channelId||t.subPageId)&&e.searchParams.append(\"context\",JSON.stringify({chatId:t.chatId,channelId:t.channelId,subEntityId:t.subPageId})),e.toString()}function d(t){return!(i(`${t.majorVersion}.${t.minorVersion}`,`${e.majorVersion}.${e.minorVersion}`)>=0)}function m(t){return\"https:\"===t.protocol}function h(e,r){return new Promise(((n,o)=>{if(e||o(\"MimeType cannot be null or empty.\"),r||o(\"Base64 string cannot be null or empty.\"),e.startsWith(\"image/\")){const t=atob(r),o=new Uint8Array(t.length);for(let e=0;e{0===t.size&&r(new Error(\"Blob cannot be empty.\"));const n=new FileReader;n.onloadend=()=>{n.result?e(n.result.toString().split(\",\")[1]):r(new Error(\"Failed to read the blob\"))},n.onerror=()=>{r(n.error)},n.readAsDataURL(t)}))}function w(){if(g())throw new Error(\"window object undefined at SSR check\");return window}function g(){return\"undefined\"==typeof window}function y(t,e){if(v(t)||!function(t){return t.length<256&&t.length>4}(t)||!function(t){for(let e=0;e126)return!1}return!0}(t))throw e||new Error(\"id is not valid.\")}function j(t,e){const r=t.toString().toLocaleLowerCase();if(v(r))throw new Error(\"Invalid Url\");if(r.length>2048)throw new Error(\"Url exceeds the maximum size of 2048 characters\");if(!m(t))throw new Error(\"Url should be a valid https url\")}function E(t){const e=document.createElement(\"a\");return e.href=t,new URL(e.href)}function v(t){return new RegExp(`${/]*>|<script[^&]*>|%3Cscript[^%]*%3E/gi.source}|${/<\\/script[^>]*>|<\\/script[^&]*>|%3C\\/script[^%]*%3E/gi.source}`,\"gi\").test(t)}function I(t){if(!t)throw new Error(\"id must not be empty\");if(!1===n(t))throw new Error(\"id must be a valid UUID\")}const U=!!performance&&\"now\"in performance;function O(){return U?performance.now()+performance.timeOrigin:void 0}function S(t,e=0){if(e>1e3)return!1;if(void 0===t||\"boolean\"==typeof t||\"number\"==typeof t||\"bigint\"==typeof t||\"string\"==typeof t||null===t)return!0;if(Array.isArray(t))return t.every((t=>S(t,e+1)));return!(\"object\"!=typeof t||\"[object Object]\"!==Object.prototype.toString.call(t)||Object.getPrototypeOf(t)!==Object.prototype&&null!==Object.getPrototypeOf(t))&&Object.keys(t).every((r=>S(t[r],e+1)))}export{h as base64ToBlob,s as callCallbackWithErrorOrResultFromPromiseAndReturnPromise,l as callCallbackWithErrorOrResultOrNullFromPromiseAndReturnPromise,f as callCallbackWithSdkErrorFromPromiseAndReturnPromise,i as compareSDKVersions,p as createTeamsAppLink,u as deepFreeze,E as fullyQualifyUrlString,c as generateGUID,b as getBase64StringFromBlob,O as getCurrentTimestamp,o as getGenericOnCompleteHandler,v as hasScriptTags,g as inServerSideRenderingEnvironment,d as isHostAdaptiveCardSchemaVersionUnsupported,S as isPrimitiveOrPlainObject,m as isValidHttpsURL,a as runWithTimeout,w as ssrSafeWindow,y as validateId,j as validateUrl,I as validateUuid};\n","import{validateUuid as t,generateGUID as r}from\"../internal/utils.js\";class i{constructor(i=r()){this.uuid=i,t(i)}toString(){return this.uuid}}export{i as UUID};\n","import{b as t}from\"../../../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js\";import{UUID as e}from\"../public/uuidObject.js\";const n=new e,o=t.debug.formatArgs;t.debug.formatArgs=function(t){t[0]=`(${(new Date).toISOString()}): ${t[0]} [${n.toString()}]`,o.call(this,t)};const r=t.debug(\"teamsJs\");function u(t){return r.extend(t)}function s(t,e){return`${t}_${e}`}function d(t){return/^v\\d+_[\\w.]+$/.test(t)}export{s as getApiVersionTag,u as getLogger,d as isFollowingApiVersionTagFormat,n as teamsJsInstanceIdentifier};\n","var o=[\"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.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\",\"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\"],c={validOrigins:o};export{c as default,o as validOrigins};\n","import*as t from\"../artifactsForCDN/validDomains.json.js\";const i=\"2.0.1\",s=\"2.0.2\",e=\"2.0.3\",n=\"2.0.4\",o=\"2.0.1\",a=\"1.9.0\",r=\"2.0.0\",m=\"1.7.0\",l=\"1.8.0\",d=\"2.0.0\",h=\"1.9.0\",p=t.validOrigins,c=1500,f=new URL(\"https://res.cdn.office.net/teams-js/validDomains/json/validDomains.json\"),j=/^https:\\/\\//,v=\"https\",y=\"teams.microsoft.com\",D=\"The library has not yet been initialized\",T=\"The runtime has not yet been initialized\",b=\"The runtime version is not supported\",u=\"The call was not properly started\";export{c as ORIGIN_LIST_FETCH_TIMEOUT_IN_MS,m as captureImageMobileSupportVersion,i as defaultSDKVersionForCompatCheck,u as errorCallNotStarted,D as errorLibraryNotInitialized,T as errorRuntimeNotInitialized,b as errorRuntimeNotSupported,d as getMediaCallbackSupportVersion,o as getUserJoinedTeamsSupportedAndroidClientVersion,n as imageOutputFormatsAPISupportVersion,a as locationAPIsRequiredVersion,l as mediaAPISupportVersion,e as nonFullScreenVideoModeAPISupportVersion,r as peoplePickerRequiredVersion,h as scanBarCodeAPIMobileSupportVersion,y as teamsDeepLinkHost,v as teamsDeepLinkProtocol,j as userOriginUrlValidationRegExp,f as validOriginsCdnEndpoint,p as validOriginsFallback,s as videoAndImageMediaAPISupportVersion};\n","class i{}i.initializeCalled=!1,i.initializeCompleted=!1,i.additionalValidOrigins=[],i.initializePromise=void 0,i.isFramelessWindow=!1,i.frameContext=void 0,i.hostClientType=void 0,i.printCapabilityEnabled=!1;export{i as GlobalVars};\n","import{__rest as o}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{errorRuntimeNotInitialized as e,errorRuntimeNotSupported as s}from\"../internal/constants.js\";import{GlobalVars as i}from\"../internal/globalVars.js\";import{getLogger as t}from\"../internal/telemetry.js\";import{compareSDKVersions as n,deepFreeze as a}from\"../internal/utils.js\";import{HostClientType as r,teamsMinAdaptiveCardVersion as p}from\"./constants.js\";const l=t(\"runtime\"),d=4;function u(o){return o.apiVersion===d}function c(o){if(u(o))return!0;throw-1===o.apiVersion?new Error(e):new Error(s)}let g={apiVersion:-1,supports:{}};const m={apiVersion:4,isNAAChannelRecommended:!1,hostVersionsInfo:p,isLegacyTeams:!0,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:{}}}},b=[r.desktop,r.web,r.rigel,r.surfaceHub,r.teamsRoomsWindows,r.teamsRoomsAndroid,r.teamsPhones,r.teamsDisplays],y=[r.android,r.ios,r.ipados,r.visionOS],f=[...b,...y];function h(o){let e=o;if(e.apiVersion{e.apiVersion===o.versionToUpgradeFrom&&(e=o.upgradeToNextVersion(e))})),u(e))return e;throw new Error(\"Received a runtime that could not be upgraded to the latest version\")}const v=[{versionToUpgradeFrom:1,upgradeToNextVersion:o=>{var e;return{apiVersion:2,hostVersionsInfo:void 0,isLegacyTeams:o.isLegacyTeams,supports:Object.assign(Object.assign({},o.supports),{dialog:o.supports.dialog?{card:void 0,url:o.supports.dialog,update:null===(e=o.supports.dialog)||void 0===e?void 0:e.update}:void 0})}}},{versionToUpgradeFrom:2,upgradeToNextVersion:e=>{const s=e.supports,i=o(s,[\"appNotification\"]);return Object.assign(Object.assign({},e),{apiVersion:3,supports:i})}},{versionToUpgradeFrom:3,upgradeToNextVersion:o=>{var e,s,i,t,n;return{apiVersion:4,hostVersionsInfo:o.hostVersionsInfo,isNAAChannelRecommended:o.isNAAChannelRecommended,isLegacyTeams:o.isLegacyTeams,supports:Object.assign(Object.assign({},o.supports),{dialog:o.supports.dialog?{card:null===(e=o.supports.dialog)||void 0===e?void 0:e.card,url:{bot:null===(i=null===(s=o.supports.dialog)||void 0===s?void 0:s.url)||void 0===i?void 0:i.bot,parentCommunication:(null===(t=o.supports.dialog)||void 0===t?void 0:t.url)?{}:void 0},update:null===(n=o.supports.dialog)||void 0===n?void 0:n.update}:void 0})}}}],T={\"1.0.0\":[{capability:{pages:{appButton:{},tabs:{}},stageView:{}},hostClientTypes:b}],\"1.9.0\":[{capability:{location:{}},hostClientTypes:f}],\"2.0.0\":[{capability:{people:{}},hostClientTypes:f},{capability:{sharing:{}},hostClientTypes:[r.desktop,r.web]}],\"2.0.1\":[{capability:{teams:{fullTrust:{joinedTeams:{}}}},hostClientTypes:[r.android,r.desktop,r.ios,r.teamsRoomsAndroid,r.teamsPhones,r.teamsDisplays,r.web]},{capability:{webStorage:{}},hostClientTypes:[r.desktop]}],\"2.0.5\":[{capability:{webStorage:{}},hostClientTypes:[r.android,r.ios]}],\"2.0.8\":[{capability:{sharing:{}},hostClientTypes:[r.android,r.ios]}],\"2.1.1\":[{capability:{nestedAppAuth:{}},hostClientTypes:[r.android,r.ios,r.ipados,r.visionOS]}]},V=l.extend(\"generateBackCompatRuntimeConfig\");function C(o,e){const s=Object.assign({},o);for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(\"object\"!=typeof e[i]||Array.isArray(e[i])?i in o||(s[i]=e[i]):s[i]=C(o[i]||{},e[i]));return s}function j(o,e,s){V(\"generating back compat runtime config for %s\",o);let t=Object.assign({},e.supports);V(\"Supported capabilities in config before updating based on highestSupportedVersion: %o\",t),Object.keys(s).forEach((e=>{n(o,e)>=0&&s[e].forEach((o=>{void 0!==i.hostClientType&&o.hostClientTypes.includes(i.hostClientType)&&(t=C(t,o.capability))}))}));const a={apiVersion:d,hostVersionsInfo:p,isLegacyTeams:!0,supports:t};return V(\"Runtime config after updating based on highestSupportedVersion: %o\",a),a}const w=l.extend(\"applyRuntimeConfig\");function O(o){\"string\"==typeof o.apiVersion&&(w(\"Trying to apply runtime with string apiVersion, processing as v1: %o\",o),o=Object.assign(Object.assign({},o),{apiVersion:1})),w(\"Fast-forwarding runtime %o\",o);const e=h(o);w(\"Applying runtime %o\",e),g=a(e)}export{O as applyRuntimeConfig,h as fastForwardRuntime,j as generateVersionBasedTeamsRuntimeConfig,c as isRuntimeInitialized,d as latestRuntimeApiVersion,T as mapTeamsVersionToSupportedCapabilities,g as runtime,v as upgradeChain,f as v1HostClientTypes,y as v1MobileHostClientTypes,m as versionAndPlatformAgnosticTeamsRuntimeConfig};\n","function e(e){return null!=e&&void 0!==e.serialize&&\"function\"==typeof e.serialize}export{e as isSerializable};\n","const o=\"2.34.0\";export{o as version};\n","import{HostClientType as i}from\"../public/constants.js\";import{ErrorCode as t}from\"../public/interfaces.js\";import{isRuntimeInitialized as e}from\"../public/runtime.js\";import{errorLibraryNotInitialized as n,defaultSDKVersionForCompatCheck as o,userOriginUrlValidationRegExp as r}from\"./constants.js\";import{GlobalVars as l}from\"./globalVars.js\";import{getLogger as s}from\"./telemetry.js\";import{compareSDKVersions as a}from\"./utils.js\";const f=s(\"internal\"),c=f.extend(\"ensureInitializeCalled\"),d=f.extend(\"ensureInitialized\");function p(){if(!l.initializeCalled)throw c(n),new Error(n)}function m(i,...t){if(!l.initializeCompleted)throw d(\"%s. initializeCalled: %s\",n,l.initializeCalled.toString()),new Error(n);if(t&&t.length>0){let i=!1;for(let e=0;e=0}function C(){return l.hostClientType==i.android||l.hostClientType==i.ios||l.hostClientType==i.ipados||l.hostClientType==i.visionOS}function h(i=o){if(!C()){throw{errorCode:t.NOT_SUPPORTED_ON_PLATFORM}}if(!u(i)){throw{errorCode:t.OLD_PLATFORM}}}function w(i){let t=l.additionalValidOrigins.concat(i.filter((i=>\"string\"==typeof i&&r.test(i))));const e={};t=t.filter((i=>!e[i]&&(e[i]=!0,!0))),l.additionalValidOrigins=t}export{p as ensureInitializeCalled,m as ensureInitialized,u as isCurrentSDKVersionAtLeast,C as isHostClientMobile,w as processAdditionalValidOrigins,h as throwExceptionIfMobileApiIsNotSupported};\n","function n(n){return null==n}export{n as isNullOrUndefined};\n","import{AppId as i}from\"../public/appId.js\";import{hasScriptTags as t}from\"./utils.js\";function n(i){if(t(i))throw new Error(`Potential app id (${i}) is invalid; it contains script tags.`);if(!a(i))throw new Error(`Potential app id (${i}) is invalid; its length ${i.length} is not within the length limits (${o}-${r}).`);if(e(i))throw new Error(`Potential app id (${i}) is invalid; it contains non-printable characters.`)}const o=4,r=256;function a(i){return i.lengtho}function e(i){return[...i].some((i=>{const t=i.charCodeAt(0);return t<32||t>126}))}function s(t){if(!(t instanceof i))throw new Error(`Potential app id (${t}) is invalid; it is not an instance of AppId class.`)}export{e as doesStringContainNonPrintableCharacters,a as isStringWithinAppIdLengthLimits,r as maximumValidAppIdLength,o as minimumValidAppIdLength,s as validateAppIdInstance,n as validateStringAsAppId};\n","import{validateStringAsAppId as t}from\"../internal/appIdValidation.js\";class r{constructor(r){this.appIdAsString=r,t(r)}serialize(){return this.toString()}toString(){return this.appIdAsString}}export{r as AppId};\n","import{appInitializeHelper as e}from\"../../internal/appHelpers.js\";import{sendMessageToParent as r,sendAndHandleStatusAndReason as t}from\"../../internal/communication.js\";import{registerHandlerHelper as n}from\"../../internal/handlers.js\";import{ensureInitialized as o}from\"../../internal/internalAPIs.js\";import{setCurrentFrameHelper as i,getConfigHelper as s,navigateCrossDomainHelper as a,isAppNavigationParametersObject as m,convertNavigateToAppParamsToAppNavigationParameters as p,convertAppNavigationParametersToNavigateToAppParams as u,shareDeepLinkHelper as c,pagesTelemetryVersionNumber as f}from\"../../internal/pagesHelpers.js\";import{getApiVersionTag as l}from\"../../internal/telemetry.js\";import{isNullOrUndefined as g}from\"../../internal/typeCheckUtilities.js\";import{createTeamsAppLink as d}from\"../../internal/utils.js\";import{prefetchOriginsFromCDN as j}from\"../../internal/validOrigins.js\";import{errorNotSupportedOnPlatform as k,FrameContexts as v}from\"../constants.js\";import{runtime as x}from\"../runtime.js\";import*as L from\"./appButton.js\";export{L as appButton};import*as F from\"./backStack.js\";export{F as backStack};import*as h from\"./config.js\";export{h as config};import*as C from\"./currentApp.js\";export{C as currentApp};import*as P from\"./fullTrust.js\";export{P as fullTrust};import*as y from\"./tabs.js\";export{y as tabs};var A,T;function w(e){const t=l(f,\"pages.returnFocus\");if(o(x),!z())throw k;if(void 0===e&&r(t,\"returnFocus\",[!1]),\"boolean\"==typeof e)r(t,\"returnFocus\",[e]);else switch(e){case T.PreviousLandmark:case T.GoToActivityFeed:r(t,\"returnFocus\",[!1,e]);break;case T.NextLandmark:r(t,\"returnFocus\",[!0,e])}}function N(e){n(l(f,\"pages.registerFocusEnterHandler\"),\"focusEnter\",e,[],(()=>{if(!z())throw k}))}function b(e){i(l(f,\"pages.setCurrentFrame\"),e)}function H(r,t,n){j(),e(l(f,\"pages.initializeWithFrameContext\"),n).then((()=>t&&t())),b(r)}function S(){return s(l(f,\"pages.getConfig.\"))}function D(e){return a(l(f,\"pages.navigateCrossDomain\"),e)}function G(e){return new Promise((r=>{if(o(x,v.content,v.sidePanel,v.settings,v.task,v.stage,v.meetingStage),!z())throw k;const n=l(f,\"pages.navigateToApp\");if(x.isLegacyTeams){const o=m(e)?e:p(e);r(t(n,\"executeDeepLink\",d(o)))}else{const o=m(e)?u(e):e;r(t(n,\"pages.navigateToApp\",o))}}))}function E(e){return c(l(f,\"pages.shareDeepLink\"),e)}function R(e){n(l(f,\"pages.registerFullScreenHandler\"),\"fullScreenChange\",e,[],(()=>{if(!g(e)&&!z())throw k}))}function z(){return!(!o(x)||!x.supports.pages)}!function(e){e[e.PreviousLandmark=0]=\"PreviousLandmark\",e[e.NextLandmark=1]=\"NextLandmark\",e[e.Read=2]=\"Read\",e[e.Compose=3]=\"Compose\"}(A||(A={})),function(e){e[e.PreviousLandmark=0]=\"PreviousLandmark\",e[e.NextLandmark=1]=\"NextLandmark\",e[e.GoToActivityFeed=2]=\"GoToActivityFeed\"}(T||(T={}));export{A as EnterFocusType,T as ReturnFocusType,S as getConfig,H as initializeWithFrameContext,z as isSupported,D as navigateCrossDomain,G as navigateToApp,N as registerFocusEnterHandler,R as registerFullScreenHandler,w as returnFocus,b as setCurrentFrame,E as shareDeepLink};\n","import{ensureInitialized as t}from\"../../internal/internalAPIs.js\";import{tabsNavigateToTabHelper as r,getTabInstancesHelper as e,getMruTabInstancesHelper as n,pagesTelemetryVersionNumber as s}from\"../../internal/pagesHelpers.js\";import{getApiVersionTag as a}from\"../../internal/telemetry.js\";import{runtime as o}from\"../runtime.js\";function p(t){return r(a(s,\"pages.tabs.navigateToTab\"),t)}function i(t){return e(a(s,\"pages.tabs.getTabInstances\"),t)}function u(t){return n(a(s,\"pages.tabs.getMruTabInstances\"),t)}function m(){return!(!t(o)||!o.supports.pages)&&!!o.supports.pages.tabs}export{u as getMruTabInstances,i as getTabInstances,m as isSupported,p as navigateToTab};\n","import{sendMessageToParent as e,Communication as t,sendMessageEventToChild as i}from\"../../internal/communication.js\";import{registerHandler as n,registerHandlerHelper as s}from\"../../internal/handlers.js\";import{ensureInitialized as o}from\"../../internal/internalAPIs.js\";import{configSetValidityStateHelper as r,configSetConfigHelper as f,pagesTelemetryVersionNumber as a}from\"../../internal/pagesHelpers.js\";import{getApiVersionTag as c}from\"../../internal/telemetry.js\";import{isNullOrUndefined as g}from\"../../internal/typeCheckUtilities.js\";import{FrameContexts as u,errorNotSupportedOnPlatform as l}from\"../constants.js\";import{runtime as m}from\"../runtime.js\";let p,d;function v(){n(c(a,\"pages.config.registerSettingsSaveHandler\"),\"settings.save\",E,!1),n(c(a,\"pages.config.registerSettingsRemoveHandler\"),\"settings.remove\",F,!1)}function h(e){return r(c(a,\"pages.config.setValidityState\"),e)}function y(e){return f(c(a,\"pages.config.setConfig\"),e)}function S(e){N(c(a,\"pages.config.registerOnSaveHandler\"),e,(()=>{if(!g(e)&&!O())throw l}))}function N(t,i,n){!g(i)&&o(m,u.settings),n&&n(),p=i,!g(i)&&e(t,\"registerHandler\",[\"save\"])}function w(e){j(c(a,\"pages.config.registerOnRemoveHandler\"),e,(()=>{if(!g(e)&&!O())throw l}))}function j(t,i,n){!g(i)&&o(m,u.remove,u.settings),n&&n(),d=i,!g(i)&&e(t,\"registerHandler\",[\"remove\"])}function E(e){const n=new C(e);p?p(n):t.childWindow?i(\"settings.save\",[e]):n.notifySuccess()}function H(e){s(c(a,\"pages.config.registerChangeConfigHandler\"),\"changeSettings\",e,[u.content],(()=>{if(!O())throw l}))}class C{constructor(e){this.notified=!1,this.result=e||{}}notifySuccess(){this.ensureNotNotified(),e(c(a,\"pages.saveEvent.notifySuccess\"),\"settings.save.success\"),this.notified=!0}notifyFailure(t){this.ensureNotNotified(),e(c(a,\"pages.saveEvent.notifyFailure\"),\"settings.save.failure\",[t]),this.notified=!0}ensureNotNotified(){if(this.notified)throw new Error(\"The SaveEvent may only notify success or failure once.\")}}function F(){const e=new T;d?d(e):t.childWindow?i(\"settings.remove\",[]):e.notifySuccess()}class T{constructor(){this.notified=!1}notifySuccess(){this.ensureNotNotified(),e(c(a,\"pages.removeEvent.notifySuccess\"),\"settings.remove.success\"),this.notified=!0}notifyFailure(t){this.ensureNotNotified(),e(c(a,\"pages.removeEvent.notifyFailure\"),\"settings.remove.failure\",[t]),this.notified=!0}ensureNotNotified(){if(this.notified)throw new Error(\"The removeEventType may only notify success or failure once.\")}}function O(){return!(!o(m)||!m.supports.pages)&&!!m.supports.pages.config}export{v as initialize,O as isSupported,H as registerChangeConfigHandler,w as registerOnRemoveHandler,j as registerOnRemoveHandlerHelper,S as registerOnSaveHandler,N as registerOnSaveHandlerHelper,y as setConfig,h as setValidityState};\n","import{AppId as t}from\"../public/appId.js\";import{FrameContexts as e,errorNotSupportedOnPlatform as n}from\"../public/constants.js\";import{isSupported as i}from\"../public/pages/pages.js\";import{runtime as r}from\"../public/runtime.js\";import{sendAndHandleStatusAndReasonWithDefaultError as o,sendMessageToParent as s,sendAndUnwrap as a,sendAndHandleStatusAndReason as c}from\"./communication.js\";import{ensureInitialized as p}from\"./internalAPIs.js\";import{isSupported as u}from\"../public/pages/backStack.js\";import{isSupported as g}from\"../public/pages/tabs.js\";import{isSupported as f}from\"../public/pages/config.js\";const m=\"v2\";function b(t,s){return new Promise((a=>{if(p(r,e.content,e.sidePanel,e.settings,e.remove,e.task,e.stage,e.meetingStage),!i())throw n;a(o(t,\"navigateCrossDomain\",\"Cross-origin navigation is only supported for URLs matching the pattern registered in the manifest.\",s))}))}function w(t){return new Promise((e=>{if(p(r),!u())throw n;e(o(t,\"navigateBack\",\"Back navigation is not supported in the current client or context.\"))}))}function d(t,e){return new Promise((i=>{if(p(r),!g())throw n;i(o(t,\"navigateToTab\",\"Invalid internalTabInstanceId and/or channelId were/was provided\",e))}))}function l(t,e){if(p(r),!i())throw n;s(t,\"returnFocus\",[e])}function h(t,e){return new Promise((i=>{if(p(r),!g())throw n;i(a(t,\"getTabInstances\",e))}))}function P(t,e){return new Promise((i=>{if(p(r),!g())throw n;i(a(t,\"getMruTabInstances\",e))}))}function I(t,o){if(p(r,e.content,e.sidePanel,e.meetingStage),!i())throw n;s(t,\"shareDeepLink\",[o.subPageId,o.subPageLabel,o.subPageWebUrl])}function j(t,o){if(p(r,e.content),!i())throw n;s(t,\"setFrameContext\",[o])}function v(t,i){if(p(r,e.settings,e.remove),!f())throw n;s(t,\"settings.setValidityState\",[i])}function S(t){return new Promise((o=>{if(p(r,e.content,e.settings,e.remove,e.sidePanel),!i())throw n;o(a(t,\"settings.getSettings\"))}))}function U(t,i){return new Promise((o=>{if(p(r,e.content,e.settings,e.sidePanel),!f())throw n;o(c(t,\"settings.setSettings\",i))}))}function k(e){return e.appId instanceof t}function T(e){return Object.assign(Object.assign({},e),{appId:new t(e.appId),webUrl:e.webUrl?new URL(e.webUrl):void 0})}function L(t){return Object.assign(Object.assign({},t),{appId:t.appId.toString(),webUrl:t.webUrl?t.webUrl.toString():void 0})}export{w as backStackNavigateBackHelper,U as configSetConfigHelper,v as configSetValidityStateHelper,L as convertAppNavigationParametersToNavigateToAppParams,T as convertNavigateToAppParamsToAppNavigationParameters,S as getConfigHelper,P as getMruTabInstancesHelper,h as getTabInstancesHelper,k as isAppNavigationParametersObject,b as navigateCrossDomainHelper,m as pagesTelemetryVersionNumber,l as returnFocusHelper,j as setCurrentFrameHelper,I as shareDeepLinkHelper,d as tabsNavigateToTabHelper};\n","import{sendMessageToParent as t,Communication as r,sendMessageEventToChild as n}from\"../../internal/communication.js\";import{registerHandler as e}from\"../../internal/handlers.js\";import{ensureInitialized as a}from\"../../internal/internalAPIs.js\";import{backStackNavigateBackHelper as o,pagesTelemetryVersionNumber as i}from\"../../internal/pagesHelpers.js\";import{getApiVersionTag as s}from\"../../internal/telemetry.js\";import{isNullOrUndefined as c}from\"../../internal/typeCheckUtilities.js\";import{errorNotSupportedOnPlatform as p}from\"../constants.js\";import{runtime as m}from\"../runtime.js\";let u;function l(){e(s(i,\"pages.backStack.registerBackButtonPressHandler\"),\"backButtonPress\",j,!1)}function f(){return o(s(i,\"pages.backStack.navigateBack\"))}function k(t){g(s(i,\"pages.backStack.registerBackButtonHandler\"),t,(()=>{if(!c(t)&&!B())throw p}))}function g(r,n,e){!c(n)&&a(m),e&&e(),u=n,!c(n)&&t(r,\"registerHandler\",[\"backButton\"])}function j(){u&&u()||(r.childWindow?n(\"backButtonPress\",[]):f())}function B(){return!(!a(m)||!m.supports.pages)&&!!m.supports.pages.backStack}export{l as _initialize,B as isSupported,f as navigateBack,k as registerBackButtonHandler,g as registerBackButtonHandlerHelper};\n","import{__awaiter as e}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{getLogger as n,getApiVersionTag as r}from\"./telemetry.js\";import{runtime as l}from\"../public/runtime.js\";import{sendMessageToParent as o,Communication as a,sendMessageEventToChild as d}from\"./communication.js\";import{ensureInitialized as t}from\"./internalAPIs.js\";import{isNullOrUndefined as i}from\"./typeCheckUtilities.js\";import{_initialize as s}from\"../public/pages/backStack.js\";const u=n(\"handlers\");class c{static initializeHandlers(){c.handlers.themeChange=v,c.handlers.load=j,c.handlers.beforeUnload=S,s()}static uninitializeHandlers(){c.handlers={},c.themeChangeHandler=null,c.loadHandler=null,c.beforeUnloadHandler=null,c.beforeSuspendOrTerminateHandler=null,c.resumeHandler=null}}function f(){c.initializeHandlers()}function m(){c.uninitializeHandlers()}c.handlers={},c.themeChangeHandler=null,c.loadHandler=null,c.beforeUnloadHandler=null,c.beforeSuspendOrTerminateHandler=null,c.resumeHandler=null,c.hostToAppPerformanceMetricsHandler=null;const h=u.extend(\"callHandler\");function H(e,n){const r=c.handlers[e];if(r){h(\"Invoking the registered handler for message %s with arguments %o\",e,n);return[!0,r.apply(this,n)]}return a.childWindow?(d(e,n),[!1,void 0]):(h(\"Handler for action message %s not found.\",e),[!1,void 0])}function p(e,n,r,l=!0,a=[]){r?(c.handlers[n]=r,l&&o(e,\"registerHandler\",[n,...a])):delete c.handlers[n]}function g(e){delete c.handlers[e]}function b(e){return null!=c.handlers[e]}function U(e,n,r,o,a){r&&t(l,...o),a&&a(),p(e,n,r)}function T(e,n){c.themeChangeHandler=n,!i(n)&&o(e,\"registerHandler\",[\"themeChange\"])}function v(e){c.themeChangeHandler&&c.themeChangeHandler(e),a.childWindow&&d(\"themeChange\",[e])}function y(e){c.hostToAppPerformanceMetricsHandler=e}function C(e){c.hostToAppPerformanceMetricsHandler&&c.hostToAppPerformanceMetricsHandler(e)}function w(e,n){c.loadHandler=n,!i(n)&&o(e,\"registerHandler\",[\"load\"])}function j(e){const n={entityId:(r=e).entityId,contentUrl:new URL(r.contentUrl)};var r;c.resumeHandler?(c.resumeHandler(n),a.childWindow&&d(\"load\",[n])):c.loadHandler&&(c.loadHandler(e),a.childWindow&&d(\"load\",[e]))}function O(e,n){c.beforeUnloadHandler=n,!i(n)&&o(e,\"registerHandler\",[\"beforeUnload\"])}function S(){return e(this,void 0,void 0,(function*(){const e=()=>{o(r(\"v2\",\"handleBeforeUnload\"),\"readyToUnload\",[])};c.beforeSuspendOrTerminateHandler?(yield c.beforeSuspendOrTerminateHandler(),a.childWindow?d(\"beforeUnload\"):e()):c.beforeUnloadHandler&&c.beforeUnloadHandler(e)||(a.childWindow?d(\"beforeUnload\"):e())}))}function W(e){c.beforeSuspendOrTerminateHandler=e,!i(e)&&o(r(\"v2\",\"registerBeforeSuspendOrTerminateHandler\"),\"registerHandler\",[\"beforeUnload\"])}function _(e){c.resumeHandler=e,!i(e)&&o(r(\"v2\",\"registerOnResumeHandler\"),\"registerHandler\",[\"load\"])}export{H as callHandler,b as doesHandlerExist,C as handleHostToAppPerformanceMetrics,v as handleThemeChange,f as initializeHandlers,W as registerBeforeSuspendOrTerminateHandler,O as registerBeforeUnloadHandler,p as registerHandler,U as registerHandlerHelper,y as registerHostToAppPerformanceMetricsHandler,w as registerOnLoadHandler,_ as registerOnResumeHandler,T as registerOnThemeChangeHandler,g as removeHandler,m as uninitializeHandlers};\n","import{handleHostToAppPerformanceMetrics as e}from\"./handlers.js\";class a{static storeCallbackInformation(e,t){a.callbackInformation.set(e,t)}static clearMessages(){a.callbackInformation.clear()}static deleteMessageInformation(e){a.callbackInformation.delete(e)}static handleOneWayPerformanceMetrics(a,t,n){const o=a.monotonicTimestamp;o&&n?e({actionName:a.func,messageDelay:n-o,requestStartedAt:o}):t(\"Unable to send performance metrics for event %s\",a.func)}static handlePerformanceMetrics(t,n,o,s){const c=a.callbackInformation.get(t);c&&n.monotonicTimestamp&&s?(e({actionName:c.name,messageDelay:s-n.monotonicTimestamp,requestStartedAt:c.calledAt}),a.deleteMessageInformation(t)):o(\"Unable to send performance metrics for callback %s with arguments %o\",t.toString(),n.args)}}a.callbackInformation=new Map;export{a as default};\n","import{__rest as i}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{UUID as t}from\"../public/uuidObject.js\";const u=t=>{const{uuid:u}=t,s=i(t,[\"uuid\"]),n=null==u?void 0:u.toString();return Object.assign(Object.assign({},s),{uuidAsString:n})},s=u=>{const{uuidAsString:s}=u,n=i(u,[\"uuidAsString\"]);return Object.assign(Object.assign({},n),{uuid:s?new t(s):void 0})},n=u=>{const{uuidAsString:s}=u,n=i(u,[\"uuidAsString\"]);return Object.assign(Object.assign({},n),{uuid:s?new t(s):void 0})},r=t=>{const{uuid:u}=t,s=i(t,[\"uuid\"]),n=null==u?void 0:u.toString();return Object.assign(Object.assign({},s),{uuidAsString:n})};export{s as deserializeMessageRequest,n as deserializeMessageResponse,u as serializeMessageRequest,r as serializeMessageResponse};\n","import{GlobalVars as e}from\"./globalVars.js\";import{getLogger as t}from\"./telemetry.js\";const n=t(\"nestedAppAuthUtils\"),s=n.extend(\"tryPolyfillWithNestedAppAuthBridge\");function r(t,n,r){var i;const d=s;if(e.isFramelessWindow)return void d(\"Cannot polyfill nestedAppAuthBridge as current window is frameless\");if(!n)return void d(\"Cannot polyfill nestedAppAuthBridge as current window does not exist\");const p=(()=>{try{return JSON.parse(t)}catch(e){return null}})();if(!p||!(null===(i=p.supports)||void 0===i?void 0:i.nestedAppAuth))return void d(\"Cannot polyfill nestedAppAuthBridge as current hub does not support nested app auth\");const u=n;if(u.nestedAppAuthBridge)return void d(\"nestedAppAuthBridge already exists on current window, skipping polyfill\");const a=function(e,t){const n=o;if(!e)return n(\"nestedAppAuthBridge cannot be created as current window does not exist\"),null;const{onMessage:s,sendPostMessage:r}=t,i=e=>t=>s(t,e);return{addEventListener:(t,s)=>{\"message\"===t?e.addEventListener(t,i(s)):n(`Event ${t} is not supported by nestedAppAuthBridge`)},postMessage:e=>{const t=(()=>{try{return JSON.parse(e)}catch(e){return null}})();t&&\"object\"==typeof t&&\"NestedAppAuthRequest\"===t.messageType?r(e):n(\"Unrecognized data format received by app, message being ignored. Message: %o\",e)},removeEventListener:(t,n)=>{e.removeEventListener(t,i(n))}}}(u,r);a&&(u.nestedAppAuthBridge=a)}const o=n.extend(\"createNestedAppAuthBridge\");export{r as tryPolyfillWithNestedAppAuthBridge};\n","import{__awaiter as i}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{ORIGIN_LIST_FETCH_TIMEOUT_IN_MS as t,validOriginsCdnEndpoint as r,validOriginsFallback as n}from\"./constants.js\";import{GlobalVars as e}from\"./globalVars.js\";import{getLogger as o}from\"./telemetry.js\";import{inServerSideRenderingEnvironment as l,isValidHttpsURL as s}from\"./utils.js\";let a=[];const u=o(\"validateOrigin\");function c(){return i(this,void 0,void 0,(function*(){yield d()}))}function d(e=!1){return i(this,void 0,void 0,(function*(){if(0!==a.length&&!e)return a;if(l())return a=n,n;{u(\"Initiating fetch call to acquire valid origins list from CDN\");const i=new AbortController,e=setTimeout((()=>i.abort()),t);return fetch(r,{signal:i.signal}).then((i=>{if(clearTimeout(e),!i.ok)throw new Error(\"Invalid Response from Fetch Call\");return u(\"Fetch call completed and retrieved valid origins list from CDN\"),i.json().then((i=>{if(function(i){let t=JSON.parse(i);try{t=JSON.parse(i)}catch(i){return!1}if(!t.validOrigins)return!1;for(const i of t.validOrigins)try{new URL(\"https://\"+i)}catch(t){return u(\"isValidOriginsFromCDN call failed to validate origin: %s\",i),!1}return!0}(JSON.stringify(i)))return a=i.validOrigins,a;throw new Error(\"Valid origins list retrieved from CDN is invalid\")}))})).catch((i=>(\"AbortError\"===i.name?u(`validOrigins fetch call to CDN failed due to Timeout of ${t} ms. Defaulting to fallback list`):u(\"validOrigins fetch call to CDN failed with error: %s. Defaulting to fallback list\",i),a=n,a)))}}))}function f(i,t){if(\"*.\"===i.substring(0,2)){const r=i.substring(1);if(t.length>r.length&&t.split(\".\").length===r.split(\".\").length&&t.substring(t.length-r.length)===r)return!0}else if(i===t)return!0;return!1}function g(i,t){return d(t).then((t=>{if(!s(i))return u(\"Origin %s is invalid because it is not using https protocol. Protocol being used: %s\",i,i.protocol),!1;const r=i.host;if(t.some((i=>f(i,r))))return!0;for(const i of e.additionalValidOrigins){if(f(\"https://\"===i.substring(0,8)?i.substring(8):i,r))return!0}return u(\"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\",i,t,e.additionalValidOrigins),!1}))}c();export{c as prefetchOriginsFromCDN,g as validateOrigin};\n","import{__awaiter as e}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{getLogger as n,isFollowingApiVersionTagFormat as i,getApiVersionTag as o}from\"./telemetry.js\";import{isSdkError as t,ErrorCode as s}from\"../public/interfaces.js\";import{latestRuntimeApiVersion as r}from\"../public/runtime.js\";import{isSerializable as a}from\"../public/serializable.interface.js\";import{UUID as d}from\"../public/uuidObject.js\";import{version as c}from\"../public/version.js\";import{GlobalVars as u}from\"./globalVars.js\";import{callHandler as l}from\"./handlers.js\";import g from\"./hostToAppTelemetry.js\";import{serializeMessageRequest as p,deserializeMessageResponse as f,deserializeMessageRequest as m,serializeMessageResponse as w}from\"./messageObjects.js\";import{tryPolyfillWithNestedAppAuthBridge as h}from\"./nestedAppAuthUtils.js\";import{getCurrentTimestamp as W,ssrSafeWindow as v}from\"./utils.js\";import{validateOrigin as M}from\"./validOrigins.js\";const b=n(\"communication\");class y{}class k{}function I(n,i){if(k.messageListener=n=>function(n){return e(this,void 0,void 0,(function*(){if(!n||!n.data||\"object\"!=typeof n.data)return void _(\"Unrecognized message format received by app, message being ignored. Message: %o\",n);const e=n.source||n.originalEvent&&n.originalEvent.source,i=n.origin||n.originalEvent&&n.originalEvent.origin;return D(e,i).then((t=>{t?(function(e,n){u.isFramelessWindow||y.parentWindow&&!y.parentWindow.closed&&e!==y.parentWindow?y.childWindow&&!y.childWindow.closed&&e!==y.childWindow||(y.childWindow=e,y.childOrigin=n):(y.parentWindow=e,y.parentOrigin=n);y.parentWindow&&y.parentWindow.closed&&(y.parentWindow=null,y.parentOrigin=null);y.childWindow&&y.childWindow.closed&&(y.childWindow=null,y.childOrigin=null);oe(y.parentWindow),oe(y.childWindow)}(e,i),e===y.parentWindow?G(n):e===y.childWindow&&function(e){if(\"id\"in e.data&&\"func\"in e.data){const n=m(e.data),[i,t]=l(n.func,n.args);i&&void 0!==t?(X(\"Handler called in response to message %s from child. Returning response from handler to child, action: %s.\",ae(n),n.func),se(n.id,n.uuid,Array.isArray(t)?t:[t])):(X(\"No handler for message %s from child found; relaying message on to parent, action: %s. Relayed message will have a new id.\",ae(n),n.func),function(e){const n=L(o(\"v2\",\"tasks.startTask\"),e.func,e.args,!0);k.callbacks.set(n.uuid,((...n)=>{if(y.childWindow){const i=n.pop();X(\"Message from parent being relayed to child, id: %s\",ae(e)),se(e.id,e.uuid,n,i)}}))}(n))}}(n)):_(\"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\",n,e,i)}))}))}(n),y.currentWindow=y.currentWindow||v(),y.parentWindow=y.currentWindow.parent!==y.currentWindow.self?y.currentWindow.parent:y.currentWindow.opener,y.topWindow=y.currentWindow.top,(y.parentWindow||n)&&y.currentWindow.addEventListener(\"message\",k.messageListener,!1),!y.parentWindow){const e=y.currentWindow;if(!e.nativeInterface)return Promise.reject(new Error(\"Initialization Failed. No Parent window found.\"));u.isFramelessWindow=!0,e.onNativeMessage=G}try{return y.parentOrigin=\"*\",j(i,\"initialize\",[c,r,n]).then((([e,n,i,o])=>(h(o,y.currentWindow,{onMessage:q,sendPostMessage:U}),{context:e,clientType:n,runtimeConfig:i,clientSupportedSDKVersion:o})))}finally{y.parentOrigin=null}}function T(){y.currentWindow&&y.currentWindow.removeEventListener(\"message\",k.messageListener,!1),y.currentWindow=null,y.parentWindow=null,y.parentOrigin=null,y.childWindow=null,y.childOrigin=null,k.parentMessageQueue=[],k.childMessageQueue=[],k.nextMessageId=0,k.callbacks.clear(),k.promiseCallbacks.clear(),k.portCallbacks.clear(),k.legacyMessageIdsToUuidMap={},g.clearMessages()}function R(e,n,...i){return j(e,n,i).then((([e])=>e))}function E(e,n,...i){return j(e,n,i).then((([e,n])=>{if(!e)throw new Error(n)}))}function O(e,n,i,...o){return j(e,n,o).then((([e,n])=>{if(!e)throw new Error(n||i)}))}function S(e,n,...i){return j(e,n,i).then((([e,n])=>{if(e)throw e;return n}))}function j(e,n,o=void 0){if(!i(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((i=>{const t=L(e,n,o);var s;i((s=t.uuid,new Promise((e=>{k.promiseCallbacks.set(s,e)}))))}))}function P(e){return e.map((e=>a(e)?e.serialize():e))}function A(n,i,o,r,a){var d;return e(this,void 0,void 0,(function*(){const e=P(i),[c]=yield j(r,n,e);if(a&&a(c)||!a&&t(c))throw new Error(`${c.errorCode}, message: ${null!==(d=c.message)&&void 0!==d?d:\"None\"}`);if(o.validate(c))return o.deserialize(c);throw new Error(`${s.INTERNAL_ERROR}, message: Invalid response from host - ${JSON.stringify(c)}`)}))}function C(n,i,o,r){var a;return e(this,void 0,void 0,(function*(){const e=P(i),[d]=yield j(o,n,e);if(r&&r(d)||!r&&t(d))throw new Error(`${d.errorCode}, message: ${null!==(a=d.message)&&void 0!==a?a:\"None\"}`);if(void 0!==d)throw new Error(`${s.INTERNAL_ERROR}, message: Invalid response from host`)}))}function x(e,n,o=void 0){if(!i(e))throw Error(`apiVersionTag: ${e} passed in doesn't follow the pattern starting with 'v' followed by digits, then underscore with words, please check.`);const t=L(e,n,o);return s=t.uuid,new Promise(((e,n)=>{k.portCallbacks.set(s,((i,o)=>{i instanceof MessagePort?e(i):n(o&&o.length>0?o[0]:new Error(\"Host responded without port or error details.\"))}))}));var s}function N(e,n,o,t){let s;if(o instanceof Function?t=o:o instanceof Array&&(s=o),!i(e))throw Error(`apiVersionTag: ${e} passed in doesn't follow the pattern starting with 'v' followed by digits, then underscore with words, please check.`);const r=L(e,n,s);t&&k.callbacks.set(r.uuid,t)}k.parentMessageQueue=[],k.childMessageQueue=[],k.topMessageQueue=[],k.nextMessageId=0,k.callbacks=new Map,k.promiseCallbacks=new Map,k.portCallbacks=new Map,k.legacyMessageIdsToUuidMap={};const $=b.extend(\"sendNestedAuthRequestToTopWindow\");function U(e){const n=$,i=y.topWindow,o=function(e){const n=k.nextMessageId++,i=new d;return k.legacyMessageIdsToUuidMap[n]=i,{id:n,uuid:i,func:\"nestedAppAuth.execute\",timestamp:Date.now(),monotonicTimestamp:W(),args:[],data:e}}(e);return n(\"Message %s information: %o\",ae(o),{actionName:o.func}),Q(i,o)}const F=b.extend(\"sendRequestToTargetWindowHelper\");function Q(e,n){const i=F,o=ne(e),t=p(n);if(u.isFramelessWindow)y.currentWindow&&y.currentWindow.nativeInterface&&(i(\"Sending message %s to %s via framelessPostMessage interface\",ae(t),o),y.currentWindow.nativeInterface.framelessPostMessage(JSON.stringify(t)));else{const s=ee(e);e&&s?(i(\"Sending message %s to %s via postMessage\",ae(t),o),e.postMessage(t,s)):(i(\"Adding message %s to %s message queue\",ae(t),o),Z(e).push(n))}return n}const z=b.extend(\"sendMessageToParentHelper\");function L(e,n,i,o){const t=z,s=y.parentWindow,r=function(e,n,i,o){const t=k.nextMessageId++,s=new d;return k.legacyMessageIdsToUuidMap[t]=s,{id:t,uuid:s,func:n,timestamp:Date.now(),monotonicTimestamp:W(),args:i||[],apiVersionTag:e,isProxiedFromChild:null!=o&&o}}(e,n,i,o);return g.storeCallbackInformation(r.uuid,{name:n,calledAt:r.timestamp}),t(\"Message %s information: %o\",ae(r),{actionName:n,args:i}),Q(s,r)}const _=b.extend(\"processIncomingMessage\");const V=b.extend(\"processAuthBridgeMessage\");function q(e,n){var i,o;const t=V;if(!e||!e.data||\"object\"!=typeof e.data)return void t(\"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 t(\"Unrecognized data format received by app, message being ignored. Message: %o\",e);const d=e.source||(null===(i=null==e?void 0:e.originalEvent)||void 0===i?void 0:i.source),c=e.origin||(null===(o=null==e?void 0:e.originalEvent)||void 0===o?void 0:o.origin);d?D(d,c)?(y.topWindow&&!y.topWindow.closed&&d!==y.topWindow||(y.topWindow=d,y.topOrigin=c),y.topWindow&&y.topWindow.closed&&(y.topWindow=null,y.topOrigin=null),oe(y.topWindow),n(r)):t(\"Message being ignored by app because it is either coming from the current window or a different window with an invalid origin\"):t(\"Message being ignored by app because it is coming for a target that is null\")}const H=b.extend(\"shouldProcessIncomingMessage\");function D(n,i){return e(this,void 0,void 0,(function*(){if(y.currentWindow&&n===y.currentWindow)return H(\"Should not process message because it is coming from the current window\"),!1;if(y.currentWindow&&y.currentWindow.location&&i&&i===y.currentWindow.location.origin)return!0;{let e;try{e=new URL(i)}catch(e){return H(\"Message has an invalid origin of %s\",i),!1}const n=yield M(e);return n||H(\"Message has an invalid origin of %s\",i),n}}))}const J=b.extend(\"handleIncomingMessageFromParent\");function B(e,n){if(n){const i=[...e].find((([e,i])=>e.toString()===n.toString()));if(i)return i[0]}}function K(e,n){const i=B(n,e.uuid);i&&n.delete(i),e.uuid?k.legacyMessageIdsToUuidMap={}:delete k.legacyMessageIdsToUuidMap[e.id]}function G(e){const n=J,i=W();if(\"id\"in e.data&&\"number\"==typeof e.data.id){const o=e.data,t=f(o),s=function(e){const n=J;if(!e.uuid)return k.legacyMessageIdsToUuidMap[e.id];{const n=e.uuid,i=B(k.callbacks,n);if(i)return i;const o=B(k.promiseCallbacks,n);if(o)return o;const t=B(k.portCallbacks,n);if(t)return t}n(\"Received message %s that failed to produce a callbackId\",ae(e))}(t);if(s){const o=k.callbacks.get(s);n(\"Received a response from parent for message %s\",s.toString()),g.handlePerformanceMetrics(s,t,n,i),o&&(n(\"Invoking the registered callback for message %s with arguments %o\",s.toString(),t.args),o.apply(null,[...t.args,t.isPartialResponse]),function(e){return!0===e.data.isPartialResponse}(e)||(n(\"Removing registered callback for message %s\",s.toString()),K(t,k.callbacks)));const r=k.promiseCallbacks.get(s);r&&(n(\"Invoking the registered promise callback for message %s with arguments %o\",s.toString(),t.args),r(t.args),n(\"Removing registered promise callback for message %s\",s.toString()),K(t,k.promiseCallbacks));const a=k.portCallbacks.get(s);if(a){let i;n(\"Invoking the registered port callback for message %s with arguments %o\",s.toString(),t.args),e.ports&&e.ports[0]instanceof MessagePort&&(i=e.ports[0]),a(i,t.args),n(\"Removing registered port callback for message %s\",s.toString()),K(t,k.portCallbacks)}t.uuid&&(k.legacyMessageIdsToUuidMap={})}}else if(\"func\"in e.data&&\"string\"==typeof e.data.func){const o=e.data;g.handleOneWayPerformanceMetrics(o,n,i),n('Received a message from parent %s, action: \"%s\"',ae(o),o.func),l(o.func,o.args)}else n(\"Received an unknown message: %O\",e)}const X=b.extend(\"handleIncomingMessageFromChild\");function Y(){return y.topWindow!==y.parentWindow}function Z(e){return e===y.topWindow&&Y()?k.topMessageQueue:e===y.parentWindow?k.parentMessageQueue:e===y.childWindow?k.childMessageQueue:[]}function ee(e){return e===y.topWindow&&Y()?y.topOrigin:e===y.parentWindow?y.parentOrigin:e===y.childWindow?y.childOrigin:null}function ne(e){return e===y.topWindow&&Y()?\"top\":e===y.parentWindow?\"parent\":e===y.childWindow?\"child\":null}const ie=b.extend(\"flushMessageQueue\");function oe(e){const n=ee(e),i=Z(e),o=ne(e);for(;e&&n&&i.length>0;){const t=i.shift();if(t){const i=p(t);ie(\"Flushing message %s from %s message queue via postMessage.\",ae(i),o),e.postMessage(i,n)}}}function te(e,n){let i;i=y.currentWindow.setInterval((()=>{0===Z(e).length&&(clearInterval(i),n())}),100)}function se(e,n,i,o){const t=y.childWindow,s=function(e,n,i,o){return{id:e,uuid:n,args:i||[],isPartialResponse:o}}(e,n,i,o),r=w(s),a=ee(t);t&&a&&(X(\"Sending message %s to %s via postMessage, args = %o\",ae(r),ne(t),r.args),t.postMessage(r,a))}function re(e,n){const i=y.childWindow,o=function(e,n){return{func:e,args:n||[]}}(e,n),t=ee(i);i&&t?i.postMessage(o,t):Z(i).push(o)}function ae(e){return\"uuidAsString\"in e?`${e.uuidAsString} (legacy id: ${e.id})`:\"uuid\"in e&&void 0!==e.uuid?`${e.uuid.toString()} (legacy id: ${e.id})`:`legacy id: ${e.id} (no uuid)`}export{y as Communication,C as callFunctionInHost,A as callFunctionInHostAndHandleResponse,I as initializeCommunication,x as requestPortFromParentWithVersion,S as sendAndHandleSdkError,E as sendAndHandleStatusAndReason,O as sendAndHandleStatusAndReasonWithDefaultError,R as sendAndUnwrap,re as sendMessageEventToChild,N as sendMessageToParent,j as sendMessageToParentAsync,U as sendNestedAuthRequestToTopWindow,T as uninitializeCommunication,te as waitForMessageQueue};\n","import{sendMessageToParentAsync as t,Communication as e,sendMessageEventToChild as n,sendMessageToParent as i,waitForMessageQueue as r}from\"../internal/communication.js\";import{GlobalVars as a}from\"../internal/globalVars.js\";import{registerHandler as o,removeHandler as c}from\"../internal/handlers.js\";import{ensureInitialized as l,ensureInitializeCalled as u}from\"../internal/internalAPIs.js\";import{getApiVersionTag as s}from\"../internal/telemetry.js\";import{fullyQualifyUrlString as h,validateUrl as d}from\"../internal/utils.js\";import{FrameContexts as f,HostClientType as w}from\"./constants.js\";import{runtime as m}from\"./runtime.js\";const g=\"v1\",b=\"v2\";let W,C,k;function p(){o(s(g,\"authentication.registerAuthenticateSuccessHandler\"),\"authentication.authenticate.success\",P,!1),o(s(g,\"authentication.registerAuthenticateFailureHandler\"),\"authentication.authenticate.failure\",I,!1)}function v(t){k=t}function y(i){const r=void 0!==i,c=r?i:k;if(!c)throw new Error(\"No parameters are provided for authentication\");l(m,f.content,f.sidePanel,f.settings,f.remove,f.task,f.stage,f.meetingStage);return function(i,r){return new Promise(((c,l)=>{if(a.hostClientType!==w.web){const e=h(r.url);d(e),c(t(i,\"authentication.authenticate\",[e.href,r.width,r.height,r.isExternal]).then((([t,e])=>{if(t)return e;throw new Error(e)})))}else W={success:c,fail:l},function(t){E();let i=t.width||600,r=t.height||400;i=Math.min(i,e.currentWindow.outerWidth-400),r=Math.min(r,e.currentWindow.outerHeight-200);const c=h(t.url.replace(\"{oauthRedirectMethod}\",\"web\"));d(c);let l=void 0!==e.currentWindow.screenLeft?e.currentWindow.screenLeft:e.currentWindow.screenX,u=void 0!==e.currentWindow.screenTop?e.currentWindow.screenTop:e.currentWindow.screenY;l+=e.currentWindow.outerWidth/2-i/2,u+=e.currentWindow.outerHeight/2-r/2,e.childWindow=e.currentWindow.open(c.href,\"_blank\",\"toolbar=no, location=yes, status=no, menubar=no, scrollbars=yes, top=\"+u+\", left=\"+l+\", width=\"+i+\", height=\"+r),e.childWindow?(A(),C=e.currentWindow.setInterval((()=>{if(!e.childWindow||e.childWindow.closed)I(\"CancelledByUser\");else{const t=e.childOrigin;try{e.childOrigin=\"*\",n(\"ping\")}finally{e.childOrigin=t}}}),100),o(s(g,\"authentication.authenticationWindow.registerInitializeHandler\"),\"initialize\",(()=>[f.authentication,a.hostClientType])),o(s(g,\"authentication.authenticationWindow.registerNavigateCrossDomainHandler\"),\"navigateCrossDomain\",(()=>!1))):I(\"FailedToOpenWindow\")}(r)}))}(c.successCallback||c.failureCallback?s(g,\"authentication.authenticate\"):s(b,\"authentication.authenticate\"),c).then((t=>{try{return c&&c.successCallback?(c.successCallback(t),\"\"):t}finally{r||(k=void 0)}})).catch((t=>{try{if(c&&c.failureCallback)return c.failureCallback(t.message),\"\";throw t}finally{r||(k=void 0)}}))}function T(e){u();return function(e,n){return new Promise((i=>{i(t(e,\"authentication.getAuthToken\",[null==n?void 0:n.resources,null==n?void 0:n.claims,null==n?void 0:n.silent,null==n?void 0:n.tenantId]))})).then((([t,e])=>{if(t)return e;throw new Error(e)}))}(e&&(e.successCallback||e.failureCallback)?s(g,\"authentication.getAuthToken\"):s(b,\"authentication.getAuthToken\"),e).then((t=>e&&e.successCallback?(e.successCallback(t),\"\"):t)).catch((t=>{if(e&&e.failureCallback)return e.failureCallback(t.message),\"\";throw t}))}function j(e){u();return function(e){return new Promise((n=>{n(t(e,\"authentication.getUser\"))})).then((([t,e])=>{if(t)return e;throw e}))}(e&&(e.successCallback||e.failureCallback)?s(g,\"authentication.getUser\"):s(b,\"authentication.getUser\")).then((t=>e&&e.successCallback?(e.successCallback(t),null):t)).catch((t=>{const n=`Error returned, code = ${t.errorCode}, message = ${t.message}`;if(e&&e.failureCallback)return e.failureCallback(n),null;throw new Error(n)}))}function E(){A();try{e.childWindow&&e.childWindow.close()}finally{e.childWindow=null,e.childOrigin=null}}function A(){C&&(clearInterval(C),C=0),c(\"initialize\"),c(\"navigateCrossDomain\")}function H(t,n){l(m,f.authentication);const a=s(n?g:b,\"authentication.notifySuccess\");i(a,\"authentication.authenticate.success\",[t]),r(e.parentWindow,(()=>setTimeout((()=>e.currentWindow.close()),200)))}function O(t,n){l(m,f.authentication);const a=s(n?g:b,\"authentication.notifyFailure\");i(a,\"authentication.authenticate.failure\",[t]),r(e.parentWindow,(()=>setTimeout((()=>e.currentWindow.close()),200)))}function P(t){try{W&&W.success(t)}finally{W=void 0,E()}}function I(t){try{W&&W.fail(new Error(t))}finally{W=void 0,E()}}var U;!function(t){t.Public=\"public\",t.EUDB=\"eudb\",t.Other=\"other\"}(U||(U={}));export{U as DataResidency,y as authenticate,T as getAuthToken,j as getUser,p as initialize,O as notifyFailure,H as notifySuccess,v as registerAuthenticationHandlers};\n","import{updateResizeHelper as r,dialogTelemetryVersionNumber as t}from\"../../internal/dialogHelpers.js\";import{ensureInitialized as o}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as e}from\"../../internal/telemetry.js\";import{runtime as i}from\"../runtime.js\";function n(o){r(e(t,\"dialog.update.resize\"),o)}function p(){return!(!o(i)||!i.supports.dialog)&&!!i.supports.dialog.update}export{p as isSupported,n as resize};\n","import{urlOpenHelper as t,urlSubmitHelper as o,dialogTelemetryVersionNumber as r}from\"../../../internal/dialogHelpers.js\";import{ensureInitialized as i}from\"../../../internal/internalAPIs.js\";import{getApiVersionTag as n}from\"../../../internal/telemetry.js\";import{DialogDimension as l}from\"../../constants.js\";import{runtime as e}from\"../../runtime.js\";import*as m from\"./bot.js\";export{m as bot};import*as s from\"./parentCommunication.js\";export{s as parentCommunication};function a(o,i,l){t(n(r,\"dialog.url.open\"),o,i,l)}function p(t,i){o(n(r,\"dialog.url.submit\"),t,i)}function u(){return i(e)&&void 0!==(e.supports.dialog&&e.supports.dialog.url)}function f(t){return{url:t.url,height:t.size?t.size.height:l.Small,width:t.size?t.size.width:l.Small,title:t.title,fallbackUrl:t.fallbackUrl}}function c(t){const o=f(t);return o.completionBotId=t.completionBotId,o}export{c as getDialogInfoFromBotUrlDialogInfo,f as getDialogInfoFromUrlDialogInfo,u as isSupported,a as open,p as submit};\n","import{botUrlOpenHelper as r,dialogTelemetryVersionNumber as o}from\"../../../internal/dialogHelpers.js\";import{ensureInitialized as t}from\"../../../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../../../internal/telemetry.js\";import{runtime as n}from\"../../runtime.js\";function l(t,n,l){r(i(o,\"dialog.url.bot.open\"),t,n,l)}function e(){return t(n)&&void 0!==(n.supports.dialog&&n.supports.dialog.url&&n.supports.dialog.url.bot)}export{e as isSupported,l as open};\n","import{ensureInitialized as t}from\"./internalAPIs.js\";import{FrameContexts as e,errorNotSupportedOnPlatform as r,DialogDimension as o}from\"../public/constants.js\";import{runtime as s}from\"../public/runtime.js\";import{sendMessageToParent as i}from\"./communication.js\";import{GlobalVars as a}from\"./globalVars.js\";import{registerHandler as n,removeHandler as l}from\"./handlers.js\";import{getApiVersionTag as m}from\"./telemetry.js\";import{isSupported as u}from\"../public/dialog/update.js\";import{isSupported as c,getDialogInfoFromUrlDialogInfo as p,getDialogInfoFromBotUrlDialogInfo as f}from\"../public/dialog/url/url.js\";import{isSupported as g}from\"../public/dialog/url/bot.js\";const d=\"v2\";function h(o,a){if(t(s,e.content,e.sidePanel,e.task,e.meetingStage),!u())throw r;i(o,\"tasks.updateTask\",[a])}function k(o,a,u,f){if(t(s,e.content,e.sidePanel,e.meetingStage),!c())throw r;f&&n(m(d,\"dialog.url.registerMessageForParentHandler\"),\"messageForParent\",f);const g=p(a);i(o,\"tasks.startTask\",[g],((t,e)=>{null==u||u({err:t,result:e}),l(\"messageForParent\")}))}function j(o,a,u,c){if(t(s,e.content,e.sidePanel,e.meetingStage),!g())throw r;c&&n(m(d,\"dialog.url.bot.registerMessageForParentHandler\"),\"messageForParent\",c);const p=f(a);i(o,\"tasks.startTask\",[p],((t,e)=>{null==u||u({err:t,result:e}),l(\"messageForParent\")}))}function P(o,a,n){if(t(s,e.task),!c())throw r;i(o,\"tasks.completeTask\",[a,n?Array.isArray(n)?n:[n]:[]])}function b(t){return{card:t.card,height:t.size?t.size.height:o.Small,width:t.size?t.size.width:o.Small,title:t.title}}function F(t){const e=b(t);return e.completionBotId=t.completionBotId,e}const S=[];function w(t){a.frameContext&&(a.frameContext===e.task?S.push(t):l(\"messageForChild\"))}export{j as botUrlOpenHelper,d as dialogTelemetryVersionNumber,b as getDialogInfoFromAdaptiveCardDialogInfo,F as getDialogInfoFromBotAdaptiveCardDialogInfo,w as handleDialogMessage,S as storedMessages,h as updateResizeHelper,k as urlOpenHelper,P as urlSubmitHelper};\n","import{handleDialogMessage as r,dialogTelemetryVersionNumber as o}from\"../../internal/dialogHelpers.js\";import{registerHandler as t}from\"../../internal/handlers.js\";import{ensureInitialized as e}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../../internal/telemetry.js\";import{runtime as a}from\"../runtime.js\";import*as s from\"./adaptiveCard/adaptiveCard.js\";export{s as adaptiveCard};import*as m from\"./update.js\";export{m as update};import*as n from\"./url/url.js\";export{n as url};function p(){t(i(o,\"dialog.registerMessageForChildHandler\"),\"messageForChild\",r,!1)}function l(){return!(!e(a)||!a.supports.dialog)}export{p as initialize,l as isSupported};\n","import{sendMessageToParent as e}from\"../internal/communication.js\";import{registerHandler as n}from\"../internal/handlers.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{getApiVersionTag as r}from\"../internal/telemetry.js\";import{runtime as s}from\"./runtime.js\";import{errorNotSupportedOnPlatform as o}from\"./constants.js\";const i=\"v2\";var u,m;!function(e){e[e.ifRoom=0]=\"ifRoom\",e[e.overflowOnly=1]=\"overflowOnly\"}(u||(u={}));class a{constructor(){this.enabled=!0,this.selected=!1}}let f,l,c;function p(){n(r(i,\"menus.registerNavBarMenuItemPressHandler\"),\"navBarMenuItemPress\",h,!1),n(r(i,\"menus.registerActionMenuItemPressHandler\"),\"actionMenuItemPress\",I,!1),n(r(i,\"menus.registerSetModuleViewHandler\"),\"setModuleView\",w,!1)}function d(n,u){if(t(s),!P())throw o;c=u,e(r(i,\"menus.setUpViews\"),\"setUpViews\",[n])}function w(n){c&&c(n)||(t(s),e(r(i,\"menus.handleViewConfigItemPress\"),\"viewConfigItemPress\",[n]))}function M(n,u){if(t(s),!P())throw o;f=u,e(r(i,\"menus.setNavBarMenu\"),\"setNavBarMenu\",[n])}function h(n){f&&f(n)||(t(s),e(r(i,\"menus.handleNavBarMenuItemPress\"),\"handleNavBarMenuItemPress\",[n]))}function v(n,u){if(t(s),!P())throw o;l=u,e(r(i,\"menus.showActionMenu\"),\"showActionMenu\",[n])}function I(n){l&&l(n)||(t(s),e(r(i,\"menus.handleActionMenuItemPress\"),\"handleActionMenuItemPress\",[n]))}function P(){return!(!t(s)||!s.supports.menus)}!function(e){e.dropDown=\"dropDown\",e.popOver=\"popOver\"}(m||(m={}));export{u as DisplayMode,a as MenuItem,m as MenuListType,p as initialize,P as isSupported,M as setNavBarMenu,d as setUpViews,v as showActionMenu};\n","class e{}class r extends e{validate(e){return!0}deserialize(e){return e}}export{e as ResponseHandler,r as SimpleTypeResponseHandler};\n","import{__awaiter as i}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendMessageToParent as e,sendAndHandleStatusAndReason as t,callFunctionInHostAndHandleResponse as n,initializeCommunication as o}from\"./communication.js\";import{errorLibraryNotInitialized as r,defaultSDKVersionForCompatCheck as s}from\"./constants.js\";import{GlobalVars as l}from\"./globalVars.js\";import{registerOnThemeChangeHandler as a,initializeHandlers as p}from\"./handlers.js\";import{ensureInitializeCalled as u,ensureInitialized as m,processAdditionalValidOrigins as c}from\"./internalAPIs.js\";import{getLogger as f}from\"./telemetry.js\";import{isNullOrUndefined as d}from\"./typeCheckUtilities.js\";import{inServerSideRenderingEnvironment as g,runWithTimeout as h,compareSDKVersions as j}from\"./utils.js\";import{Messages as S}from\"../public/app/app.js\";import{initialize as v}from\"../public/authentication.js\";import{FrameContexts as w}from\"../public/constants.js\";import{initialize as y}from\"../public/dialog/dialog.js\";import{initialize as z}from\"../public/menus.js\";import{runtime as b,applyRuntimeConfig as P,generateVersionBasedTeamsRuntimeConfig as C,mapTeamsVersionToSupportedCapabilities as x,versionAndPlatformAgnosticTeamsRuntimeConfig as D}from\"../public/runtime.js\";import{version as E}from\"../public/version.js\";import{SimpleTypeResponseHandler as V}from\"./responseHandler.js\";import{initialize as K}from\"../public/pages/config.js\";const _=f(\"app\");function k(i,e){if(g()){return _.extend(\"initialize\")(\"window object undefined at initialization\"),Promise.resolve()}return h((()=>function(i,e){return new Promise((t=>{l.initializeCalled||(l.initializeCalled=!0,p(),l.initializePromise=o(e,i).then((({context:i,clientType:e,runtimeConfig:t,clientSupportedSDKVersion:n=s})=>{l.frameContext=i,l.hostClientType=e,l.clientSupportedSDKVersion=n;try{J(\"Parsing %s\",t);const i=JSON.parse(t);if(J(\"Checking if %o is a valid runtime object\",null!=i?i:\"null\"),!i||!i.apiVersion)throw new Error(\"Received runtime config is invalid\");t&&P(i)}catch(i){if(!(i instanceof SyntaxError))throw i;try{J(\"Attempting to parse %s as an SDK version\",t),isNaN(j(t,s))||(l.clientSupportedSDKVersion=t);const i=JSON.parse(n);if(J(\"givenRuntimeConfig parsed to %o\",null!=i?i:\"null\"),!i)throw new Error(\"givenRuntimeConfig string was successfully parsed. However, it parsed to value of null\");P(i)}catch(i){if(!(i instanceof SyntaxError))throw i;P(C(l.clientSupportedSDKVersion,D,x))}}l.initializeCompleted=!0})),v(),z(),K(),y()),Array.isArray(e)&&c(e),void 0!==l.initializePromise?t(l.initializePromise):J(\"GlobalVars.initializePromise is unexpectedly undefined\")}))}(i,e)),6e4,new Error(\"SDK initialization timed out.\"))}function A(i){e(i,S.AppLoaded,[E])}function F(i,t){e(i,S.ExpectedFailure,[t.reason,t.message])}function N(i,t){e(i,S.Failure,[t.reason,t.message])}function R(e){return i(this,void 0,void 0,(function*(){if(l.initializeCompleted)return H(e);if(!l.initializePromise)throw new Error(r);return l.initializePromise.then((()=>H(e)))}))}function H(t){return i(this,void 0,void 0,(function*(){return m(b)&&(null===(i=b.supports.app)||void 0===i?void 0:i.notifySuccessResponse)?n(S.Success,[E],new V,t).then((()=>({hasFinishedSuccessfully:!0}))):(e(t,S.Success,[E]),{hasFinishedSuccessfully:\"unknown\"});var i}))}const J=_.extend(\"initializeHelper\");function L(i,e){!d(e)&&u(),a(i,e)}function O(i,e){return new Promise((n=>{m(b,w.content,w.sidePanel,w.settings,w.task,w.stage,w.meetingStage),n(t(i,\"executeDeepLink\",e))}))}export{k as appInitializeHelper,H as callNotifySuccessInHost,A as notifyAppLoadedHelper,F as notifyExpectedFailureHelper,N as notifyFailureHelper,R as notifySuccessHelper,O as openLinkHelper,L as registerOnThemeChangeHandlerHelper};\n","import{appInitializeHelper as e,notifyAppLoadedHelper as i,notifySuccessHelper as t,notifyFailureHelper as n,notifyExpectedFailureHelper as a,registerOnThemeChangeHandlerHelper as o,openLinkHelper as s}from\"../../internal/appHelpers.js\";import{uninitializeCommunication as r,sendAndUnwrap as l,Communication as m}from\"../../internal/communication.js\";import{GlobalVars as d}from\"../../internal/globalVars.js\";import{uninitializeHandlers as p,registerHostToAppPerformanceMetricsHandler as c}from\"../../internal/handlers.js\";import{ensureInitializeCalled as u}from\"../../internal/internalAPIs.js\";import{getLogger as f,getApiVersionTag as h}from\"../../internal/telemetry.js\";import{inServerSideRenderingEnvironment as I}from\"../../internal/utils.js\";import{AppId as g}from\"../appId.js\";import{HostName as y,HostClientType as S}from\"../constants.js\";import{version as T}from\"../version.js\";import*as C from\"./lifecycle.js\";export{C as lifecycle};import{_clearTelemetryPort as v}from\"../../private/messageChannels/telemetry.js\";import{_clearDataLayerPort as P}from\"../../private/messageChannels/dataLayer.js\";const j=\"v2\",w=f(\"app\"),N={AppLoaded:\"appInitialization.appLoaded\",Success:\"appInitialization.success\",Failure:\"appInitialization.failure\",ExpectedFailure:\"appInitialization.expectedFailure\"};var O,b;function F(){return d.initializeCompleted}function x(){return d.frameContext}function L(i){return e(h(j,\"app.initialize\"),i)}function A(e){m.currentWindow=e}function z(){d.initializeCalled&&(p(),d.initializeCalled=!1,d.initializeCompleted=!1,d.initializePromise=void 0,d.additionalValidOrigins=[],d.frameContext=void 0,d.hostClientType=void 0,d.isFramelessWindow=!1,v(),P(),r())}function D(){return new Promise((e=>{u(),e(l(h(j,\"app.getContext\"),\"getContext\"))})).then((e=>function(e){var i;const t={actionInfo:e.actionInfo,app:{locale:e.locale,sessionId:e.appSessionId?e.appSessionId:\"\",theme:e.theme?e.theme:\"default\",iconPositionVertical:e.appIconPosition,osLocaleInfo:e.osLocaleInfo,parentMessageId:e.parentMessageId,userClickTime:e.userClickTime,userClickTimeV2:e.userClickTimeV2,userFileOpenPreference:e.userFileOpenPreference,host:{name:e.hostName?e.hostName:y.teams,clientType:e.hostClientType?e.hostClientType:S.web,sessionId:e.sessionId?e.sessionId:\"\",ringId:e.ringId},appLaunchId:e.appLaunchId,appId:e.appId?new g(e.appId):void 0,manifestVersion:e.manifestVersion},page:{id:e.entityId,frameContext:e.frameContext?e.frameContext:d.frameContext,subPageId:e.subEntityId,isFullScreen:e.isFullScreen,isMultiWindow:e.isMultiWindow,isBackgroundLoad:e.isBackgroundLoad,sourceOrigin:e.sourceOrigin},user:{id:null!==(i=e.userObjectId)&&void 0!==i?i:\"\",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||{}};return t}(e)))}function k(){u(),i(h(j,\"app.notifyAppLoaded\"))}function U(){return t(h(j,\"app.notifySuccess\"))}function V(e){u(),n(h(j,\"app.notifyFailure\"),e)}function E(e){u(),a(h(j,\"app.notifyExpectedFailure\"),e)}function H(e){o(h(j,\"app.registerOnThemeChangeHandler\"),e)}function M(e){c(e)}function W(e){return s(h(j,\"app.openLink\"),e)}!function(e){e.AuthFailed=\"AuthFailed\",e.Timeout=\"Timeout\",e.Other=\"Other\"}(O||(O={})),function(e){e.PermissionError=\"PermissionError\",e.NotFound=\"NotFound\",e.Throttling=\"Throttling\",e.Offline=\"Offline\",e.Other=\"Other\"}(b||(b={})),w(\"teamsjs instance is version %s, starting at %s UTC (%s local)\",T,(new Date).toISOString(),(new Date).toLocaleString()),function(){if(I())return;const e=document.getElementsByTagName(\"script\"),i=e&&e[e.length-1]&&e[e.length-1].src,t=\"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\";i&&0!==i.length?w(\"teamsjs is being used from %s. %s\",i,t):w(\"teamsjs is being used from a script tag embedded directly in your html. %s\",t)}();export{b as ExpectedFailureReason,O as FailedReason,N as Messages,A as _initialize,z as _uninitialize,D as getContext,x as getFrameContext,L as initialize,F as isInitialized,k as notifyAppLoaded,E as notifyExpectedFailure,V as notifyFailure,U as notifySuccess,W as openLink,M as registerHostToAppPerformanceMetricsHandler,H as registerOnThemeChangeHandler};\n","import{sendMessageToParent as e,Communication as t,sendMessageEventToChild as n}from\"../internal/communication.js\";import{registerHandler as i}from\"../internal/handlers.js\";import{ensureInitialized as r}from\"../internal/internalAPIs.js\";import{getApiVersionTag as o}from\"../internal/telemetry.js\";import{getGenericOnCompleteHandler as s}from\"../internal/utils.js\";import{FrameContexts as l}from\"../public/constants.js\";import{runtime as p}from\"../public/runtime.js\";const a=\"v1\";function m(t,n){r(p),e(o(a,\"uploadCustomApp\"),\"uploadCustomApp\",[t],n||s())}function c(t,n,i){r(p),e(o(a,\"sendCustomMessage\"),t,n,i)}function d(e,i){if(r(p),!t.childWindow)throw new Error(\"The child window has not yet been initialized or is not present\");n(e,i)}function u(e,t){r(p),i(o(a,\"registerCustomHandler\"),e,((...e)=>t.apply(this,e)))}function f(e,t){r(p),i(o(a,\"registerUserSettingsChangeHandler\"),\"userSettingsChange\",t,!0,[e])}function w(t){r(p,l.content,l.task);const n=[t.entityId,t.title,t.description,t.type,t.objectUrl,t.downloadUrl,t.webPreviewUrl,t.webEditUrl,t.baseUrl,t.editFile,t.subEntityId,t.viewerAction,t.fileOpenPreference,t.conversationId,t.sizeInBytes];e(o(a,\"openFilePreview\"),\"openFilePreview\",n)}export{w as openFilePreview,u as registerCustomHandler,f as registerUserSettingsChangeHandler,d as sendCustomEvent,c as sendCustomMessage,m as uploadCustomApp};\n","import{GlobalVars as t}from\"../internal/globalVars.js\";import{registerOnLoadHandler as e,registerBeforeUnloadHandler as r}from\"../internal/handlers.js\";import{ensureInitialized as n}from\"../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{isNullOrUndefined as o}from\"../internal/typeCheckUtilities.js\";import{ssrSafeWindow as a}from\"../internal/utils.js\";import{errorNotSupportedOnPlatform as s}from\"./constants.js\";import{runtime as l}from\"./runtime.js\";function m(){if(!t.printCapabilityEnabled){if(n(l),!j())throw s;t.printCapabilityEnabled=!0,document.addEventListener(\"keydown\",(t=>{(t.ctrlKey||t.metaKey)&&80===t.keyCode&&(f(),t.cancelBubble=!0,t.preventDefault(),t.stopImmediatePropagation())}))}}function f(){a().print()}function p(t){d(i(\"v2\",\"teamsAPIs_registerOnLoadHandler\"),t,(()=>{if(!o(t)&&!j())throw s}))}function d(t,r,i){!o(r)&&n(l),!o(r)&&i&&i(),e(t,r)}function u(t){c(i(\"v2\",\"teamsAPIs_registerBeforeUnloadHandler\"),t,(()=>{if(!o(t)&&!j())throw s}))}function c(t,e,i){!o(e)&&n(l),!o(e)&&i&&i(),r(t,e)}function j(){return!(!n(l)||!l.supports.teamsCore)}export{m as enablePrintCapability,j as isSupported,f as print,u as registerBeforeUnloadHandler,c as registerBeforeUnloadHandlerHelper,p as registerOnLoadHandler,d as registerOnLoadHandlerHelper};\n","import{appInitializeHelper as t,registerOnThemeChangeHandlerHelper as e,openLinkHelper as n}from\"../internal/appHelpers.js\";import{sendMessageToParent as r}from\"../internal/communication.js\";import{GlobalVars as i}from\"../internal/globalVars.js\";import{registerHandlerHelper as o}from\"../internal/handlers.js\";import{ensureInitializeCalled as a,ensureInitialized as s}from\"../internal/internalAPIs.js\";import{getTabInstancesHelper as c,getMruTabInstancesHelper as l,shareDeepLinkHelper as u,setCurrentFrameHelper as f}from\"../internal/pagesHelpers.js\";import{getApiVersionTag as m}from\"../internal/telemetry.js\";import{getGenericOnCompleteHandler as p}from\"../internal/utils.js\";import{FrameContexts as g}from\"./constants.js\";import{runtime as H}from\"./runtime.js\";import{enablePrintCapability as b,print as d,registerOnLoadHandlerHelper as h,registerBeforeUnloadHandlerHelper as C}from\"./teamsAPIs.js\";import{registerBackButtonHandlerHelper as j}from\"./pages/backStack.js\";const x=\"v1\";function B(e,n){t(m(x,\"initialize\"),n).then((()=>{e&&e()}))}function k(){b()}function v(){d()}function E(t){a(),r(m(x,\"getContext\"),\"getContext\",(e=>{e.frameContext||(e.frameContext=i.frameContext),t(e)}))}function L(t){e(m(x,\"registerOnThemeChangeHandlerHelper\"),t)}function P(t){o(m(x,\"registerFullScreenHandler\"),\"fullScreenChange\",t,[])}function I(t){o(m(x,\"registerAppButtonClickHandler\"),\"appButtonClick\",t,[g.content])}function S(t){o(m(x,\"registerAppButtonHoverEnterHandler\"),\"appButtonHoverEnter\",t,[g.content])}function y(t){o(m(x,\"registerAppButtonHoverLeaveHandler\"),\"appButtonHoverLeave\",t,[g.content])}function A(t){j(m(x,\"registerBackButtonHandler\"),t)}function F(t){h(m(x,\"registerOnLoadHandler\"),t)}function T(t){C(m(x,\"registerBeforeUnloadHandler\"),t)}function U(t){o(m(x,\"registerFocusEnterHandler\"),\"focusEnter\",t,[])}function W(t){o(m(x,\"registerChangeSettingsHandler\"),\"changeSettings\",t,[g.content])}function z(t,e){s(H),c(m(x,\"getTabInstances\"),e).then((e=>{t(e)}))}function D(t,e){s(H),l(m(x,\"getMruTabInstances\"),e).then((e=>{t(e)}))}function O(t){u(m(x,\"shareDeepLink\"),{subPageId:t.subEntityId,subPageLabel:t.subEntityLabel,subPageWebUrl:t.subEntityWebUrl})}function M(t,e){s(H,g.content,g.sidePanel,g.settings,g.task,g.stage,g.meetingStage);const r=null!=e?e:p();n(m(x,\"executeDeepLink\"),t).then((()=>{r(!0)})).catch((t=>{r(!1,t.message)}))}function V(t){f(m(x,\"setFrameContext\"),t)}function q(e,n,r){t(m(x,\"initializeWithFrameContext\"),r).then((()=>n&&n())),f(m(x,\"setFrameContext\"),e)}export{k as enablePrintCapability,M as executeDeepLink,E as getContext,D as getMruTabInstances,z as getTabInstances,B as initialize,q as initializeWithFrameContext,v as print,I as registerAppButtonClickHandler,S as registerAppButtonHoverEnterHandler,y as registerAppButtonHoverLeaveHandler,A as registerBackButtonHandler,T as registerBeforeUnloadHandler,W as registerChangeSettingsHandler,U as registerFocusEnterHandler,P as registerFullScreenHandler,F as registerOnLoadHandler,L as registerOnThemeChangeHandler,V as setFrameContext,O as shareDeepLink};\n","import{registerHandlerHelper as t}from\"../../internal/handlers.js\";import{ensureInitialized as n}from\"../../internal/internalAPIs.js\";import{pagesTelemetryVersionNumber as o}from\"../../internal/pagesHelpers.js\";import{getApiVersionTag as r}from\"../../internal/telemetry.js\";import{FrameContexts as e,errorNotSupportedOnPlatform as p}from\"../constants.js\";import{runtime as a}from\"../runtime.js\";function i(n){t(r(o,\"pages.appButton.onClick\"),\"appButtonClick\",n,[e.content],(()=>{if(!m())throw p}))}function s(n){t(r(o,\"pages.appButton.onHoverEnter\"),\"appButtonHoverEnter\",n,[e.content],(()=>{if(!m())throw p}))}function u(n){t(r(o,\"pages.appButton.onHoverLeave\"),\"appButtonHoverLeave\",n,[e.content],(()=>{if(!m())throw p}))}function m(){return!(!n(a)||!a.supports.pages)&&!!a.supports.pages.appButton}export{m as isSupported,i as onClick,s as onHoverEnter,u as onHoverLeave};\n","import{sendMessageToParent as e}from\"../internal/communication.js\";import{registerHandler as s}from\"../internal/handlers.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{getApiVersionTag as n}from\"../internal/telemetry.js\";import{getGenericOnCompleteHandler as a}from\"../internal/utils.js\";import{FrameContexts as i}from\"./constants.js\";import{runtime as r}from\"./runtime.js\";const o=\"v1\";class p{postMessage(s,i){t(r),e(n(o,\"appWindow.childAppWindow.postMessage\"),\"messageForChild\",[s],i||a())}addEventListener(e,a){t(r),\"message\"===e&&s(n(o,\"appWindow.childAppWindow.addEventListener\"),\"messageForParent\",a)}}class m{static get Instance(){return this._instance||(this._instance=new this)}postMessage(s,p){t(r,i.task),e(n(o,\"appWindow.parentAppWindow.postMessage\"),\"messageForParent\",[s],p||a())}addEventListener(e,a){t(r,i.task),\"message\"===e&&s(n(o,\"appWindow.parentAppWindow.addEventListener\"),\"messageForChild\",a)}}export{p as ChildAppWindow,m as ParentAppWindow};\n","import{__rest as t}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendMessageToParent as i}from\"../internal/communication.js\";import{botUrlOpenHelper as o,urlOpenHelper as r,updateResizeHelper as e,urlSubmitHelper as n}from\"../internal/dialogHelpers.js\";import{ensureInitialized as l}from\"../internal/internalAPIs.js\";import{getApiVersionTag as s}from\"../internal/telemetry.js\";import{ChildAppWindow as a}from\"./appWindow.js\";import{FrameContexts as d,DialogDimension as u}from\"./constants.js\";import{runtime as h}from\"./runtime.js\";const m=\"v1\";function c(t,e){const n=s(m,\"tasks.startTask\"),c=e?t=>{var i,o;return e(null!==(i=t.err)&&void 0!==i?i:\"\",null!==(o=t.result)&&void 0!==o?o:\"\")}:void 0;return void 0===t.card&&void 0===t.url||t.card?(l(h,d.content,d.sidePanel,d.meetingStage),i(n,\"tasks.startTask\",[t],e)):void 0!==t.completionBotId?o(n,function(t){if(void 0===t.url||void 0===t.completionBotId)throw new Error(`Both url ${t.url} and completionBotId ${t.completionBotId} are required for bot url dialog. At least one is undefined.`);const i={url:t.url,size:{height:t.height?t.height:u.Small,width:t.width?t.width:u.Small},title:t.title,fallbackUrl:t.fallbackUrl,completionBotId:t.completionBotId};return i}(t),c):r(n,function(t){if(void 0===t.url)throw new Error(\"url property of taskInfo object can't be undefined\");const i={url:t.url,size:{height:t.height?t.height:u.Small,width:t.width?t.width:u.Small},title:t.title,fallbackUrl:t.fallbackUrl};return i}(t),c),new a}function p(i){i=g(i);const o=t(i,[\"width\",\"height\"]);if(Object.keys(o).length)throw new Error(\"resize requires a TaskInfo argument containing only width and height\");e(s(m,\"tasks.updateTask\"),i)}function f(t,i){n(s(m,\"tasks.submitTask\"),t,i)}function g(t){return t.height=t.height?t.height:u.Small,t.width=t.width?t.width:u.Small,t}export{g as getDefaultSizeIfNotProvided,c as startTask,f as submitTask,p as updateTask};\n","import{sendMessageToParent as t}from\"../internal/communication.js\";import{ensureInitialized as i}from\"../internal/internalAPIs.js\";import{getApiVersionTag as o}from\"../internal/telemetry.js\";import{FrameContexts as n,errorNotSupportedOnPlatform as r}from\"../public/constants.js\";import{runtime as s}from\"../public/runtime.js\";function m(m){if(i(s,n.content),!c())throw r;t(o(\"v1\",\"notifications.showNotification\"),\"notifications.showNotification\",[m])}function c(){return!(!i(s)||!s.supports.notifications)}export{c as isSupported,m as showNotification};\n","import{sendAndHandleStatusAndReason as n,sendMessageToParent as o,sendAndUnwrap as t}from\"../internal/communication.js\";import{registerHandler as e,removeHandler as r}from\"../internal/handlers.js\";import{ensureInitialized as i}from\"../internal/internalAPIs.js\";import{getApiVersionTag as s}from\"../internal/telemetry.js\";import{FrameContexts as a,errorNotSupportedOnPlatform as c}from\"../public/constants.js\";import{runtime as v}from\"../public/runtime.js\";const l=\"v1\";function d(o){return new Promise((t=>{if(i(v,a.content),!C())throw c;const r=n(s(l,\"conversations.openConversation\"),\"conversations.openConversation\",{title:o.title,subEntityId:o.subEntityId,conversationId:o.conversationId,channelId:o.channelId,entityId:o.entityId});o.onStartConversation&&e(s(l,\"conversations.registerStartConversationHandler\"),\"startConversation\",((n,t,e,r)=>{var i;return null===(i=o.onStartConversation)||void 0===i?void 0:i.call(o,{subEntityId:n,conversationId:t,channelId:e,entityId:r})})),o.onCloseConversation&&e(s(l,\"conversations.registerCloseConversationHandler\"),\"closeConversation\",((n,t,e,r)=>{var i;return null===(i=o.onCloseConversation)||void 0===i?void 0:i.call(o,{subEntityId:n,conversationId:t,channelId:e,entityId:r})})),t(r)}))}function m(){if(i(v,a.content),!C())throw c;o(s(l,\"conversations.closeConversation\"),\"conversations.closeConversation\"),r(\"startConversation\"),r(\"closeConversation\")}function u(){return new Promise((n=>{if(i(v),!C())throw c;n(t(s(l,\"conversations.getChatMember\"),\"getChatMembers\"))}))}function C(){return!(!i(v)||!v.supports.conversations)}export{m as closeConversation,u as getChatMembers,C as isSupported,d as openConversation};\n","import{sendAndUnwrap as t}from\"../../../internal/communication.js\";import{getUserJoinedTeamsSupportedAndroidClientVersion as r}from\"../../../internal/constants.js\";import{GlobalVars as e}from\"../../../internal/globalVars.js\";import{ensureInitialized as s,isCurrentSDKVersionAtLeast as o}from\"../../../internal/internalAPIs.js\";import{getApiVersionTag as n}from\"../../../internal/telemetry.js\";import{errorNotSupportedOnPlatform as i,HostClientType as m}from\"../../../public/constants.js\";import{ErrorCode as a}from\"../../../public/interfaces.js\";import{runtime as l}from\"../../../public/runtime.js\";function p(p){return new Promise((f=>{if(s(l),!u())throw i;if((e.hostClientType===m.android||e.hostClientType===m.teamsRoomsAndroid||e.hostClientType===m.teamsPhones||e.hostClientType===m.teamsDisplays)&&!o(r)){const t={errorCode:a.OLD_PLATFORM};throw new Error(JSON.stringify(t))}f(t(n(\"v1\",\"teams.fullTrust.joinedTeams.getUserJoinedTeams\"),\"getUserJoinedTeams\",p))}))}function u(){return!(!s(l)||!l.supports.teams)&&(!!l.supports.teams.fullTrust&&!!l.supports.teams.fullTrust.joinedTeams)}export{p as getUserJoinedTeams,u as isSupported};\n","import{MediaType as e,FileFormat as n}from\"../public/media.js\";import{videoAndImageMediaAPISupportVersion as t,nonFullScreenVideoModeAPISupportVersion as r,imageOutputFormatsAPISupportVersion as l}from\"./constants.js\";import{throwExceptionIfMobileApiIsNotSupported as o}from\"./internalAPIs.js\";function u(e,n){if(null==e||null==n||e.length<=0)return null;let t=null,r=1;return e.sort(((e,n)=>e.sequence>n.sequence?1:-1)),e.forEach((e=>{e.sequence==r&&(t=t?new Blob([t,e.file],{type:n}):new Blob([e.file],{type:n}),r++)})),t}function i(e,n){if(null==e||null==n)return null;const t=atob(e.chunk),r=new Array(t.length);for(let e=0;e10)}function d(n){var t;return!((null==n?void 0:n.mediaType)!=e.Image||!(null===(t=null==n?void 0:n.imageProps)||void 0===t?void 0:t.imageOutputFormats))}function s(n){return!(!n||n.mediaType!=e.VideoAndImage&&!n.videoAndImageProps)}function p(n){return!(!n||n.mediaType!=e.Video||!n.videoProps||n.videoProps.isFullScreenMode)}function m(e,t,r){return null!=e&&null!=t&&t==n.ID&&null!=r}function I(e){return!(null==e||e.length<=0||e.length>10)}function v(e){return!e||!(null===e.timeOutIntervalInSec||null!=e.timeOutIntervalInSec&&e.timeOutIntervalInSec<=0||null!=e.timeOutIntervalInSec&&e.timeOutIntervalInSec>60)}function g(e){if(e){if(e.title&&\"string\"!=typeof e.title)return!1;if(e.setSelected&&\"object\"!=typeof e.setSelected)return!1;if(e.openOrgWideSearchInChatOrChannel&&\"boolean\"!=typeof e.openOrgWideSearchInChatOrChannel)return!1;if(e.singleSelect&&\"boolean\"!=typeof e.singleSelect)return!1}return!0}export{u as createFile,i as decodeAttachment,d as isMediaCallForImageOutputFormats,p as isMediaCallForNonFullScreenVideoMode,s as isMediaCallForVideoAndImageInputs,a as isVideoControllerRegistered,c as throwExceptionIfMediaCallIsNotSupportedOnMobile,m as validateGetMediaInputs,g as validatePeoplePickerInput,v as validateScanBarCodeInput,f as validateSelectMediaInputs,I as validateViewImagesInput};\n","import{sendMessageToParent as e,sendAndHandleSdkError as t}from\"../internal/communication.js\";import{captureImageMobileSupportVersion as i,mediaAPISupportVersion as n,getMediaCallbackSupportVersion as o,nonFullScreenVideoModeAPISupportVersion as r,scanBarCodeAPIMobileSupportVersion as a}from\"../internal/constants.js\";import{GlobalVars as s}from\"../internal/globalVars.js\";import{registerHandler as l,removeHandler as c}from\"../internal/handlers.js\";import{ensureInitialized as d,isCurrentSDKVersionAtLeast as m,throwExceptionIfMobileApiIsNotSupported as u}from\"../internal/internalAPIs.js\";import{validateGetMediaInputs as h,throwExceptionIfMediaCallIsNotSupportedOnMobile as f,validateSelectMediaInputs as p,isVideoControllerRegistered as C,validateViewImagesInput as T,validateScanBarCodeInput as g,createFile as M,decodeAttachment as b}from\"../internal/mediaUtil.js\";import{getLogger as R,getApiVersionTag as k}from\"../internal/telemetry.js\";import{isNullOrUndefined as w}from\"../internal/typeCheckUtilities.js\";import{generateGUID as A}from\"../internal/utils.js\";import{FrameContexts as y,errorNotSupportedOnPlatform as v,HostClientType as I}from\"./constants.js\";import{ErrorCode as E,DevicePermission as P}from\"./interfaces.js\";import{runtime as O}from\"./runtime.js\";const L=\"v1\",D=R(\"media\");var S,N,_,B,V,j,F;!function(e){e.Base64=\"base64\",e.ID=\"id\"}(S||(S={}));class U{}function G(t){if(!t)throw new Error(\"[captureImage] Callback cannot be null\");if(d(O,y.content,y.task),s.isFramelessWindow)if(m(i))e(k(L,\"media.captureImage\"),\"captureImage\",t);else{t({errorCode:E.OLD_PLATFORM},[])}else{t({errorCode:E.NOT_SUPPORTED_ON_PLATFORM},[])}}function q(){if(d(O,y.content,y.task),!W())throw v;const e=P.Media;return new Promise((i=>{i(t(k(L,\"media.hasPermission\"),\"permissions.has\",e))}))}function H(){if(d(O,y.content,y.task),!W())throw v;const e=P.Media;return new Promise((i=>{i(t(k(L,\"media.requestPermission\"),\"permissions.request\",e))}))}function W(){return!(!d(O)||!O.supports.permissions)}class x extends U{constructor(e){super(),e&&(this.content=e.content,this.format=e.format,this.mimeType=e.mimeType,this.name=e.name,this.preview=e.preview,this.size=e.size)}getMedia(e){if(!e)throw new Error(\"[get Media] Callback cannot be null\");if(d(O,y.content,y.task),m(n))if(h(this.mimeType,this.format,this.content))m(o)?this.getMediaViaCallback(e):this.getMediaViaHandler(e);else{e({errorCode:E.INVALID_ARGUMENTS},new Blob)}else{e({errorCode:E.OLD_PLATFORM},new Blob)}}getMediaViaCallback(t){const i={mediaMimeType:this.mimeType,assembleAttachment:[]},n=[this.content];e(k(L,\"media.getMedia\"),\"getMedia\",n,(function(e){if(t)if(e&&e.error)t(e.error,new Blob);else if(e&&e.mediaChunk)if(e.mediaChunk.chunkSequence<=0){const n=M(i.assembleAttachment,i.mediaMimeType);t(e.error,null!=n?n:new Blob)}else{const t=b(e.mediaChunk,i.mediaMimeType);t?i.assembleAttachment.push(t):D(`Received a null assemble attachment for when decoding chunk sequence ${e.mediaChunk.chunkSequence}; not including the chunk in the assembled file.`)}else t({errorCode:E.INTERNAL_ERROR,message:\"data received is null\"},new Blob)}))}getMediaViaHandler(t){const i=A(),n={mediaMimeType:this.mimeType,assembleAttachment:[]},o=[i,this.content];this.content&&!w(t)&&e(k(L,\"media.getMedia\"),\"getMedia\",o),l(k(L,\"media.registerGetMediaRequestHandler\"),\"getMedia\"+i,(function(e){if(t){const o=JSON.parse(e);if(o.error)t(o.error,new Blob),c(\"getMedia\"+i);else if(o.mediaChunk)if(o.mediaChunk.chunkSequence<=0){const e=M(n.assembleAttachment,n.mediaMimeType);t(o.error,null!=e?e:new Blob),c(\"getMedia\"+i)}else{const e=b(o.mediaChunk,n.mediaMimeType);e&&n.assembleAttachment.push(e)}else t({errorCode:E.INTERNAL_ERROR,message:\"data received is null\"},new Blob),c(\"getMedia\"+i)}}))}}class z{constructor(e){this.controllerCallback=e}notifyEventToHost(t,i){d(O,y.content,y.task);try{u(r)}catch(e){return void(i&&i(e))}const n={mediaType:this.getMediaType(),mediaControllerEvent:t};e(k(L,\"media.controller\"),\"media.controller\",[n],(e=>{i&&i(e)}))}stop(e){this.notifyEventToHost(N.StopRecording,e)}}class J extends z{getMediaType(){return V.Video}notifyEventToApp(e){if(this.controllerCallback)switch(e){case N.StartRecording:if(this.controllerCallback.onRecordingStarted){this.controllerCallback.onRecordingStarted();break}}}}function $(t,i){if(!i)throw new Error(\"[select Media] Callback cannot be null\");if(d(O,y.content,y.task),!m(n)){const e={errorCode:E.OLD_PLATFORM};return void i(e,[])}try{f(t)}catch(e){return void i(e,[])}if(!p(t)){const e={errorCode:E.INVALID_ARGUMENTS};return void i(e,[])}const o=[t];e(k(L,\"media.selectMedia\"),\"selectMedia\",o,((e,n,o)=>{var r,a;if(o)return void(C(t)&&(null===(a=null===(r=null==t?void 0:t.videoProps)||void 0===r?void 0:r.videoController)||void 0===a||a.notifyEventToApp(o)));if(!n)return void i(e,[]);const s=[];for(const e of n)s.push(new x(e));i(e,s)}))}function K(t,i){if(!i)throw new Error(\"[view images] Callback cannot be null\");if(d(O,y.content,y.task),!m(n)){return void i({errorCode:E.OLD_PLATFORM})}if(!T(t)){return void i({errorCode:E.INVALID_ARGUMENTS})}const o=[t];e(k(L,\"media.viewImages\"),\"viewImages\",o,i)}function Q(t,i){if(!t)throw new Error(\"[media.scanBarCode] Callback cannot be null\");if(d(O,y.content,y.task),s.hostClientType!==I.desktop&&s.hostClientType!==I.web&&s.hostClientType!==I.rigel&&s.hostClientType!==I.teamsRoomsWindows&&s.hostClientType!==I.teamsRoomsAndroid&&s.hostClientType!==I.teamsPhones&&s.hostClientType!==I.teamsDisplays)if(m(a))if(g(i))e(k(L,\"media.scanBarCode\"),\"media.scanBarCode\",[i],t);else{t({errorCode:E.INVALID_ARGUMENTS},\"\")}else{t({errorCode:E.OLD_PLATFORM},\"\")}else{t({errorCode:E.NOT_SUPPORTED_ON_PLATFORM},\"\")}}!function(e){e[e.StartRecording=1]=\"StartRecording\",e[e.StopRecording=2]=\"StopRecording\"}(N||(N={})),function(e){e[e.Photo=1]=\"Photo\",e[e.Document=2]=\"Document\",e[e.Whiteboard=3]=\"Whiteboard\",e[e.BusinessCard=4]=\"BusinessCard\"}(_||(_={})),function(e){e[e.Camera=1]=\"Camera\",e[e.Gallery=2]=\"Gallery\"}(B||(B={})),function(e){e[e.Image=1]=\"Image\",e[e.Video=2]=\"Video\",e[e.VideoAndImage=3]=\"VideoAndImage\",e[e.Audio=4]=\"Audio\"}(V||(V={})),function(e){e[e.ID=1]=\"ID\",e[e.URL=2]=\"URL\"}(j||(j={})),function(e){e[e.IMAGE=1]=\"IMAGE\",e[e.PDF=2]=\"PDF\"}(F||(F={}));export{_ as CameraStartMode,U as File,S as FileFormat,F as ImageOutputFormats,j as ImageUriType,x as Media,N as MediaControllerEvent,V as MediaType,B as Source,J as VideoController,G as captureImage,q as hasPermission,H as requestPermission,Q as scanBarCode,$ as selectMedia,K as viewImages};\n","import{sendMessageToParent as o}from\"../internal/communication.js\";import{locationAPIsRequiredVersion as t}from\"../internal/constants.js\";import{ensureInitialized as r,isCurrentSDKVersionAtLeast as n}from\"../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{FrameContexts as a,errorNotSupportedOnPlatform as e}from\"./constants.js\";import{ErrorCode as c}from\"./interfaces.js\";import{runtime as l}from\"./runtime.js\";function s(s,f){if(!f)throw new Error(\"[location.getLocation] Callback cannot be null\");if(r(l,a.content,a.task),!n(t))throw{errorCode:c.OLD_PLATFORM};if(!s)throw{errorCode:c.INVALID_ARGUMENTS};if(!m())throw e;o(i(\"v1\",\"location.getLocation\"),\"location.getLocation\",[s],f)}function f(s,f){if(!f)throw new Error(\"[location.showLocation] Callback cannot be null\");if(r(l,a.content,a.task),!n(t))throw{errorCode:c.OLD_PLATFORM};if(!s)throw{errorCode:c.INVALID_ARGUMENTS};if(!m())throw e;o(i(\"v1\",\"location.showLocation\"),\"location.showLocation\",[s],f)}function m(){return!(!r(l)||!l.supports.location)}export{s as getLocation,m as isSupported,f as showLocation};\n","import{sendAndHandleSdkError as o}from\"../../internal/communication.js\";import{ensureInitialized as t}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as n}from\"../../internal/telemetry.js\";import{FrameContexts as r,errorNotSupportedOnPlatform as i}from\"../constants.js\";import{DevicePermission as s}from\"../interfaces.js\";import{runtime as e}from\"../runtime.js\";import*as a from\"./map.js\";export{a as map};const m=\"v2\";function c(){if(t(e,r.content,r.task),!u())throw i;return o(n(m,\"geoLocation.getCurrentLocation\"),\"location.getLocation\",{allowChooseLocation:!1,showMap:!1})}function p(){if(t(e,r.content,r.task),!u())throw i;const a=s.GeoLocation;return new Promise((t=>{t(o(n(m,\"geoLocation.hasPermission\"),\"permissions.has\",a))}))}function f(){if(t(e,r.content,r.task),!u())throw i;const a=s.GeoLocation;return new Promise((t=>{t(o(n(m,\"geoLocation.requestPermission\"),\"permissions.request\",a))}))}function u(){return!!(t(e)&&e.supports.geoLocation&&e.supports.permissions)}export{c as getCurrentLocation,p as hasPermission,u as isSupported,f as requestPermission};\n","import{__awaiter as p}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{getContext as l}from\"../public/app/app.js\";let t=null;function o(){return p(this,void 0,void 0,(function*(){return null===t&&(t=(yield l()).app.host.name),t}))}export{t as cachedHostName,o as getCachedHostName};\n","import{__awaiter as t}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendAndUnwrap as e}from\"../internal/communication.js\";import{GlobalVars as o}from\"../internal/globalVars.js\";import{ensureInitialized as r}from\"../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{getCachedHostName as n}from\"../internal/webStorageHelpers.js\";import{errorNotSupportedOnPlatform as s,HostClientType as l,HostName as p}from\"./constants.js\";import{runtime as m}from\"./runtime.js\";function a(){return t(this,void 0,void 0,(function*(){if(r(m),!u())throw s;return!(!m.isLegacyTeams||o.hostClientType!==l.android&&o.hostClientType!==l.ios&&o.hostClientType!==l.ipados&&o.hostClientType!==l.visionOS||(yield function(){return t(this,void 0,void 0,(function*(){return n()}))}())!==p.teams)||(yield e(i(\"v2\",\"webStorage.isWebStorageClearedOnUserLogOut\"),\"webStorage.isWebStorageClearedOnUserLogOut\"))}))}function u(){return r(m)&&void 0!==m.supports.webStorage}export{u as isSupported,a as isWebStorageClearedOnUserLogOut};\n","import{ensureInitialized as t}from\"../../internal/internalAPIs.js\";import{runtime as r}from\"../../public/runtime.js\";import*as o from\"./tab.js\";export{o as tab};var n;function i(){return!(!t(r)||!r.supports.hostEntity)}!function(t){t.edu=\"EDU\"}(n||(n={}));export{n as AppTypes,i as isSupported};\n","import{callFunctionInHostAndHandleResponse as t}from\"../../internal/communication.js\";import{ensureInitialized as r}from\"../../internal/internalAPIs.js\";import{SimpleTypeResponseHandler as e,ResponseHandler as n}from\"../../internal/responseHandler.js\";import{getApiVersionTag as o}from\"../../internal/telemetry.js\";import{runtime as a}from\"../../public/runtime.js\";import{isSupported as s}from\"./hostEntity.js\";import{ErrorCode as i}from\"../../public/interfaces.js\";const l=\"v2\";class d extends n{validate(t){return\"ConfigurableTab\"===t.tabType}deserialize(t){return t}}class c{constructor(t){this.configurableTabInstance=t}serialize(){return this.configurableTabInstance}}class u{constructor(t){this.hostEntityId=t}serialize(){return this.hostEntityId}}class E extends n{validate(t){return\"ConfigurableTab\"===t.tabType||\"StaticTab\"===t.tabType}deserialize(t){return t}}class h{constructor(t){this.hostEntityTabInstance=t}serialize(){return this.hostEntityTabInstance}}class p extends n{validate(t){return t.allTabs&&t.allTabs.forEach((t=>{})),!0}deserialize(t){return t}}function f(e,n){if(r(a),!y())throw new Error(`Error code: ${i.NOT_SUPPORTED_ON_PLATFORM}, message: Not supported on platform`);if(I(e.threadId),n&&0===n.length)throw new Error(`Error code: ${i.INVALID_ARGUMENTS}, message: App types cannot be an empty array`);return t(\"hostEntity.tab.addAndConfigure\",[new u(e),n],new E,o(l,\"hostEntity.tab.addAndConfigure\"))}function m(e){if(r(a),!y())throw new Error(`Error code: ${i.NOT_SUPPORTED_ON_PLATFORM}, message: Not supported on platform`);return I(e.threadId),t(\"hostEntity.tab.getAll\",[new u(e)],new p,o(l,\"hostEntity.tab.getAll\"))}function b(e,n){if(r(a),!y())throw new Error(`Error code: ${i.NOT_SUPPORTED_ON_PLATFORM}, message: Not supported on platform`);return g(e),I(n.threadId),t(\"hostEntity.tab.reconfigure\",[new c(e),new u(n)],new d,o(l,\"hostEntity.tab.reconfigure\"))}function T(e,n){if(r(a),!y())throw new Error(`Error code: ${i.NOT_SUPPORTED_ON_PLATFORM}, message: Not supported on platform`);return g(e),I(n.threadId),t(\"hostEntity.tab.rename\",[new c(e),new u(n)],new d,o(l,\"hostEntity.tab.rename\"))}function w(n,s){if(r(a),!y())throw new Error(`Error code: ${i.NOT_SUPPORTED_ON_PLATFORM}, message: Not supported on platform`);return I(s.threadId),g(n),t(\"hostEntity.tab.remove\",[new h(n),new u(s)],new e,o(l,\"hostEntity.tab.remove\"))}function y(){var t;return!!(r(a)&&s()&&(null===(t=a.supports.hostEntity)||void 0===t?void 0:t.tab))}function I(t){if(!t||0==t.length)throw new Error(`Error code: ${i.INVALID_ARGUMENTS}, message: ThreadId cannot be null or empty`)}function g(t){if(!(null==t?void 0:t.internalTabInstanceId)||0===t.internalTabInstanceId.length)throw new Error(`Error code: ${i.INVALID_ARGUMENTS}, message: TabId cannot be null or empty`)}export{f as addAndConfigure,m as getAll,y as isSupported,b as reconfigure,w as remove,T as rename};\n","const e=\"/l/app/\",t=\"/l/meeting/new\",s=\"attendees\",a=\"startTime\",c=\"endTime\",n=\"subject\",i=\"content\",l=\"/l/call/0/0\",o=\"source\",m=\"withVideo\",p=\"/l/chat/0/0\",r=\"users\",d=\"topicName\",u=\"message\";export{s as teamsDeepLinkAttendeesUrlParameterName,i as teamsDeepLinkContentUrlParameterName,c as teamsDeepLinkEndTimeUrlParameterName,u as teamsDeepLinkMessageUrlParameterName,o as teamsDeepLinkSourceUrlParameterName,a as teamsDeepLinkStartTimeUrlParameterName,n as teamsDeepLinkSubjectUrlParameterName,d as teamsDeepLinkTopicUrlParameterName,e as teamsDeepLinkUrlPathForAppInstall,t as teamsDeepLinkUrlPathForCalendar,l as teamsDeepLinkUrlPathForCall,p as teamsDeepLinkUrlPathForChat,r as teamsDeepLinkUsersUrlParameterName,m as teamsDeepLinkWithVideoUrlParameterName};\n","import{teamsDeepLinkProtocol as n,teamsDeepLinkHost as o}from\"./constants.js\";import{teamsDeepLinkUsersUrlParameterName as e,teamsDeepLinkUrlPathForChat as t,teamsDeepLinkUrlPathForCall as $,teamsDeepLinkAttendeesUrlParameterName as i,teamsDeepLinkUrlPathForCalendar as r,teamsDeepLinkUrlPathForAppInstall as d,teamsDeepLinkTopicUrlParameterName as p,teamsDeepLinkMessageUrlParameterName as c,teamsDeepLinkWithVideoUrlParameterName as a,teamsDeepLinkSourceUrlParameterName as m,teamsDeepLinkStartTimeUrlParameterName as s,teamsDeepLinkEndTimeUrlParameterName as C,teamsDeepLinkSubjectUrlParameterName as I,teamsDeepLinkContentUrlParameterName as l}from\"./deepLinkConstants.js\";function u($,i,r){if(0===$.length)throw new Error(\"Must have at least one user when creating a chat deep link\");const d=`${e}=`+$.map((n=>encodeURIComponent(n))).join(\",\"),a=void 0===i?\"\":`&${p}=${encodeURIComponent(i)}`,m=void 0===r?\"\":`&${c}=${encodeURIComponent(r)}`;return`${n}://${o}${t}?${d}${a}${m}`}function R(t,i,r){if(0===t.length)throw new Error(\"Must have at least one target when creating a call deep link\");const d=`${e}=`+t.map((n=>encodeURIComponent(n))).join(\",\"),p=void 0===i?\"\":`&${a}=${encodeURIComponent(i)}`,c=void 0===r?\"\":`&${m}=${encodeURIComponent(r)}`;return`${n}://${o}${$}?${d}${p}${c}`}function U(e,t,$,d,p){const c=void 0===e?\"\":`${i}=`+e.map((n=>encodeURIComponent(n))).join(\",\"),a=void 0===t?\"\":`&${s}=${encodeURIComponent(t)}`,m=void 0===$?\"\":`&${C}=${encodeURIComponent($)}`,u=void 0===d?\"\":`&${I}=${encodeURIComponent(d)}`,R=void 0===p?\"\":`&${l}=${encodeURIComponent(p)}`;return`${n}://${o}${r}?${c}${a}${m}${u}${R}`}function h(e){if(!e)throw new Error(\"App ID must be set when creating an app install dialog deep link\");return`${n}://${o}${d}${encodeURIComponent(e)}`}export{h as createTeamsDeepLinkForAppInstallDialog,U as createTeamsDeepLinkForCalendar,R as createTeamsDeepLinkForCall,u as createTeamsDeepLinkForChat};\n","import{sendAndUnwrap as t,sendMessageToParent as n}from\"../internal/communication.js\";import{errorCallNotStarted as r}from\"../internal/constants.js\";import{createTeamsDeepLinkForCall as e}from\"../internal/deepLinkUtilities.js\";import{ensureInitialized as i}from\"../internal/internalAPIs.js\";import{getApiVersionTag as o}from\"../internal/telemetry.js\";import{FrameContexts as a,errorNotSupportedOnPlatform as s}from\"./constants.js\";import{runtime as l}from\"./runtime.js\";var m;function c(c){const d=o(\"v2\",\"call.startCall\");return new Promise((o=>{var f;if(i(l,a.content,a.task),!u())throw s;if(!l.isLegacyTeams)return n(d,\"call.startCall\",[c],o);o(t(d,\"executeDeepLink\",e(c.targets,null===(f=c.requestedModalities)||void 0===f?void 0:f.includes(m.Video),c.source)).then((t=>{if(!t)throw new Error(r);return t})))}))}function u(){return!(!i(l)||!l.supports.call)}!function(t){t.Unknown=\"unknown\",t.Audio=\"audio\",t.Video=\"video\",t.VideoBasedScreenSharing=\"videoBasedScreenSharing\",t.Data=\"data\"}(m||(m={}));export{m as CallModalities,u as isSupported,c as startCall};\n","import{__awaiter as e}from\"../../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendMessageToParent as n,sendAndHandleSdkError as t}from\"../../internal/communication.js\";import{registerHandler as i,doesHandlerExist as a,removeHandler as o}from\"../../internal/handlers.js\";import{ensureInitialized as r}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as l}from\"../../internal/telemetry.js\";import{FrameContexts as g}from\"../constants.js\";import{ErrorCode as s}from\"../interfaces.js\";import{runtime as d}from\"../runtime.js\";import*as c from\"./appShareButton.js\";export{c as appShareButton};const u=\"v1\";var m,p,h,C,S,f;function b(e){if(!e)throw new Error(\"[get incoming client audio state] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.getIncomingClientAudioState\"),\"getIncomingClientAudioState\",e)}function A(e){if(!e)throw new Error(\"[toggle incoming client audio] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.toggleIncomingClientAudio\"),\"toggleIncomingClientAudio\",e)}function w(e){if(!e)throw new Error(\"[get meeting details] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage,g.settings,g.content),n(l(u,\"meeting.getMeetingDetails\"),\"meeting.getMeetingDetails\",e)}function v(){var n,i,a;return e(this,void 0,void 0,(function*(){let e;r(d,g.sidePanel,g.meetingStage,g.settings,g.content);try{const n=!0;e=yield t(l(\"v2\",\"meeting.getMeetingDetailsVerbose\"),\"meeting.getMeetingDetails\",n)}catch(e){throw new Error(null===(n=null==e?void 0:e.errorCode)||void 0===n?void 0:n.toString())}if(((null===(i=e.details)||void 0===i?void 0:i.type)==C.GroupCall||(null===(a=e.details)||void 0===a?void 0:a.type)==C.OneOnOneCall)&&!e.details.originalCallerInfo)throw new Error(s.NOT_SUPPORTED_ON_PLATFORM.toString());return e}))}function H(e){if(!e)throw new Error(\"[get Authentication Token For AnonymousUser] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage,g.task),n(l(u,\"meeting.getAuthenticationTokenForAnonymousUser\"),\"meeting.getAuthenticationTokenForAnonymousUser\",e)}function k(e){if(!e)throw new Error(\"[get live stream state] Callback cannot be null\");r(d,g.sidePanel),n(l(u,\"meeting.getLiveStreamState\"),\"meeting.getLiveStreamState\",e)}function _(e,t,i){if(!e)throw new Error(\"[request start live streaming] Callback cannot be null\");r(d,g.sidePanel),n(l(u,\"meeting.requestStartLiveStreaming\"),\"meeting.requestStartLiveStreaming\",[t,i],e)}function M(e){if(!e)throw new Error(\"[request stop live streaming] Callback cannot be null\");r(d,g.sidePanel),n(l(u,\"meeting.requestStopLiveStreaming\"),\"meeting.requestStopLiveStreaming\",e)}function E(e){if(!e)throw new Error(\"[register live stream changed handler] Handler cannot be null\");r(d,g.sidePanel),i(l(u,\"meeting.registerLiveStreamChangedHandler\"),\"meeting.liveStreamChanged\",e)}function P(e,t,i={sharingProtocol:S.Collaborative}){if(!e)throw new Error(\"[share app content to stage] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.shareAppContentToStage\"),\"meeting.shareAppContentToStage\",[t,i],e)}function j(e){if(!e)throw new Error(\"[get app content stage sharing capabilities] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.getAppContentStageSharingCapabilities\"),\"meeting.getAppContentStageSharingCapabilities\",e)}function q(e){if(!e)throw new Error(\"[stop sharing app content to stage] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.stopSharingAppContentToStage\"),\"meeting.stopSharingAppContentToStage\",e)}function T(e){if(!e)throw new Error(\"[get app content stage sharing state] Callback cannot be null\");r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.getAppContentStageSharingState\"),\"meeting.getAppContentStageSharingState\",e)}function D(e){if(!e)throw new Error(\"[registerSpeakingStateChangeHandler] Handler cannot be null\");r(d,g.sidePanel,g.meetingStage),i(l(u,\"meeting.registerSpeakingStateChangeHandler\"),\"meeting.speakingStateChanged\",e)}function y(e){if(!e)throw new Error(\"[registerRaiseHandStateChangedHandler] Handler cannot be null\");r(d,g.sidePanel,g.meetingStage),i(l(u,\"meeting.registerRaiseHandStateChangedHandler\"),\"meeting.raiseHandStateChanged\",e)}function O(e){if(!e)throw new Error(\"[registerMeetingReactionReceivedHandler] Handler cannot be null\");r(d,g.sidePanel,g.meetingStage),i(l(u,\"meeting.registerMeetingReactionReceivedHandler\"),\"meeting.meetingReactionReceived\",e)}function R(e){if(void 0===(null==e?void 0:e.joinWebUrl)||null===(null==e?void 0:e.joinWebUrl))return Promise.reject(new Error(\"Invalid joinMeetingParams\"));r(d);const n={joinWebUrl:e.joinWebUrl.href,source:e.source||f.Other};return t(l(\"v2\",\"meeting.joinMeeting\"),\"meeting.joinMeeting\",n)}function I(t,s){if(!s)throw new Error(\"[requestAppAudioHandling] Callback response cannot be null\");if(!t.micMuteStateChangedCallback)throw new Error(\"[requestAppAudioHandling] Callback Mic mute state handler cannot be null\");r(d,g.sidePanel,g.meetingStage),t.isAppHandlingAudio?function(t,a){const o=(n,o)=>{if(n&&null!=o)throw new Error(\"[requestAppAudioHandling] Callback response - both parameters cannot be set\");if(n)throw new Error(`[requestAppAudioHandling] Callback response - SDK error ${n.errorCode} ${n.message}`);if(\"boolean\"!=typeof o)throw new Error(\"[requestAppAudioHandling] Callback response - isHostAudioless must be a boolean\");const r=n=>e(this,void 0,void 0,(function*(){try{const e=yield t.micMuteStateChangedCallback(n);F(e,e.isMicMuted===n.isMicMuted?m.HostInitiated:m.AppDeclinedToChange)}catch(e){F(n,m.AppFailedToChange)}}));i(l(u,\"meeting.registerMicStateChangeHandler\"),\"meeting.micStateChanged\",r);const g=e=>{var n;null===(n=t.audioDeviceSelectionChangedCallback)||void 0===n||n.call(t,e)};i(l(u,\"meeting.registerAudioDeviceSelectionChangedHandler\"),\"meeting.audioDeviceSelectionChanged\",g),a(o)};n(l(u,\"meeting.requestAppAudioHandling\"),\"meeting.requestAppAudioHandling\",[t.isAppHandlingAudio],o)}(t,s):function(e,t){const i=(e,n)=>{if(e&&null!=n)throw new Error(\"[requestAppAudioHandling] Callback response - both parameters cannot be set\");if(e)throw new Error(`[requestAppAudioHandling] Callback response - SDK error ${e.errorCode} ${e.message}`);if(\"boolean\"!=typeof n)throw new Error(\"[requestAppAudioHandling] Callback response - isHostAudioless must be a boolean\");a(\"meeting.micStateChanged\")&&o(\"meeting.micStateChanged\"),a(\"meeting.audioDeviceSelectionChanged\")&&o(\"meeting.audioDeviceSelectionChanged\"),t(n)};n(l(u,\"meeting.requestAppAudioHandling\"),\"meeting.requestAppAudioHandling\",[e.isAppHandlingAudio],i)}(t,s)}function U(e){F(e,m.AppInitiated)}function F(e,t){r(d,g.sidePanel,g.meetingStage),n(l(u,\"meeting.setMicStateWithReason\"),\"meeting.updateMicState\",[e,t])}!function(e){e[e.HostInitiated=0]=\"HostInitiated\",e[e.AppInitiated=1]=\"AppInitiated\",e[e.AppDeclinedToChange=2]=\"AppDeclinedToChange\",e[e.AppFailedToChange=3]=\"AppFailedToChange\"}(m||(m={})),function(e){e.like=\"like\",e.heart=\"heart\",e.laugh=\"laugh\",e.surprised=\"surprised\",e.applause=\"applause\"}(p||(p={})),function(e){e.Unknown=\"Unknown\",e.Adhoc=\"Adhoc\",e.Scheduled=\"Scheduled\",e.Recurring=\"Recurring\",e.Broadcast=\"Broadcast\",e.MeetNow=\"MeetNow\"}(h||(h={})),function(e){e.OneOnOneCall=\"oneOnOneCall\",e.GroupCall=\"groupCall\"}(C||(C={})),function(e){e.Collaborative=\"Collaborative\",e.ScreenShare=\"ScreenShare\"}(S||(S={})),function(e){e.M365CalendarGridContextMenu=\"m365_calendar_grid_context_menu\",e.M365CalendarGridPeek=\"m365_calendar_grid_peek\",e.M365CalendarGridEventCardJoinButton=\"m365_calendar_grid_event_card_join_button\",e.M365CalendarFormRibbonJoinButton=\"m365_calendar_form_ribbon_join_button\",e.M365CalendarFormJoinTeamsMeetingButton=\"m365_calendar_form_join_teams_meeting_button\",e.Other=\"other\"}(f||(f={}));export{C as CallType,f as EventActionSource,p as MeetingReactionType,h as MeetingType,S as SharingProtocol,j as getAppContentStageSharingCapabilities,T as getAppContentStageSharingState,H as getAuthenticationTokenForAnonymousUser,b as getIncomingClientAudioState,k as getLiveStreamState,w as getMeetingDetails,v as getMeetingDetailsVerbose,R as joinMeeting,E as registerLiveStreamChangedHandler,O as registerMeetingReactionReceivedHandler,y as registerRaiseHandStateChangedHandler,D as registerSpeakingStateChangeHandler,I as requestAppAudioHandling,_ as requestStartLiveStreaming,M as requestStopLiveStreaming,P as shareAppContentToStage,q as stopSharingAppContentToStage,A as toggleIncomingClientAudio,U as updateMicState};\n","import{sendAndHandleSdkError as n}from\"../internal/communication.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{getApiVersionTag as e}from\"../internal/telemetry.js\";import{callCallbackWithErrorOrResultOrNullFromPromiseAndReturnPromise as o}from\"../internal/utils.js\";import{FrameContexts as r,errorNotSupportedOnPlatform as i}from\"./constants.js\";import{runtime as m}from\"./runtime.js\";function p(p,a){let c,u,f=\"\";\"function\"==typeof p?(c=p,u=a,f=e(\"v1\",\"monetization.openPurchaseExperience\")):(u=p,f=e(\"v2\",\"monetization.openPurchaseExperience\"));return t(m,r.content),o((()=>new Promise((t=>{if(!s())throw i;t(n(f,\"monetization.openPurchaseExperience\",u))}))),c)}function s(){return!(!t(m)||!m.supports.monetization)}export{s as isSupported,p as openPurchaseExperience};\n","import{sendAndHandleSdkError as t}from\"../internal/communication.js\";import{peoplePickerRequiredVersion as e}from\"../internal/constants.js\";import{ensureInitialized as r,isCurrentSDKVersionAtLeast as o}from\"../internal/internalAPIs.js\";import{validatePeoplePickerInput as n}from\"../internal/mediaUtil.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{callCallbackWithErrorOrResultFromPromiseAndReturnPromise as s}from\"../internal/utils.js\";import{FrameContexts as m,errorNotSupportedOnPlatform as p}from\"./constants.js\";import{ErrorCode as l}from\"./interfaces.js\";import{runtime as f}from\"./runtime.js\";function a(t,e){let o,n;r(f,m.content,m.task,m.settings);let p=\"\";return\"function\"==typeof t?([o,n]=[t,e],p=i(\"v1\",\"people.selectPeople\")):(n=t,p=i(\"v2\",\"people.selectPeople\")),s(c,o,p,n)}function c(r,i){return new Promise((s=>{if(!o(e))throw{errorCode:l.OLD_PLATFORM};if(!n(i))throw{errorCode:l.INVALID_ARGUMENTS};if(!u())throw p;s(t(r,\"people.selectPeople\",i))}))}function u(){return!(!r(f)||!f.supports.people)}export{u as isSupported,a as selectPeople};\n","import{ensureInitialized as n}from\"../internal/internalAPIs.js\";import{returnFocusHelper as t,tabsNavigateToTabHelper as e,navigateCrossDomainHelper as a,backStackNavigateBackHelper as i}from\"../internal/pagesHelpers.js\";import{getApiVersionTag as o}from\"../internal/telemetry.js\";import{getGenericOnCompleteHandler as s}from\"../internal/utils.js\";import{FrameContexts as r}from\"./constants.js\";import{runtime as m}from\"./runtime.js\";const c=\"v1\";function g(n){t(o(c,\"navigation.returnFocus\"),n)}function l(t,a){n(m);const i=null!=a?a:s();e(o(c,\"navigation.navigateToTab\"),t).then((()=>{i(!0)})).catch((n=>{i(!1,n.message)}))}function u(t,e){n(m,r.content,r.sidePanel,r.settings,r.remove,r.task,r.stage,r.meetingStage);const i=null!=e?e:s();a(o(c,\"navigation.navigateCrossDomain\"),t).then((()=>{i(!0)})).catch((n=>{i(!1,n.message)}))}function f(t){n(m);const e=null!=t?t:s();i(o(c,\"navigation.navigateBack\")).then((()=>{e(!0)})).catch((n=>{e(!1,n.message)}))}export{f as navigateBack,u as navigateCrossDomain,l as navigateToTab,g as returnFocus};\n","import{sendAndHandleSdkError as e}from\"../../internal/communication.js\";import{ensureInitialized as t}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as n}from\"../../internal/telemetry.js\";import{callCallbackWithSdkErrorFromPromiseAndReturnPromise as r}from\"../../internal/utils.js\";import{FrameContexts as o,errorNotSupportedOnPlatform as s}from\"../constants.js\";import{ErrorCode as i}from\"../interfaces.js\";import{runtime as m}from\"../runtime.js\";import*as a from\"./history.js\";export{a as history};const c={shareWebContent:\"sharing.shareWebContent\"};function f(e,s){try{!function(e){if(!(e&&e.content&&e.content.length)){throw{errorCode:i.INVALID_ARGUMENTS,message:\"Shared content is missing\"}}}(e),function(e){let t;if(e.content.some((e=>!e.type)))throw t={errorCode:i.INVALID_ARGUMENTS,message:\"Shared content type cannot be undefined\"},t;if(e.content.some((t=>t.type!==e.content[0].type)))throw t={errorCode:i.INVALID_ARGUMENTS,message:\"Shared content must be of the same type\"},t}(e),function(e){let t;if(\"URL\"!==e.content[0].type)throw t={errorCode:i.INVALID_ARGUMENTS,message:\"Content type is unsupported\"},t;if(e.content.some((e=>!e.url)))throw t={errorCode:i.INVALID_ARGUMENTS,message:\"URLs are required for URL content types\"},t}(e)}catch(e){return r((()=>Promise.reject(e)),s)}t(m,o.content,o.sidePanel,o.task,o.stage,o.meetingStage);const a=n(s?\"v1\":\"v2\",\"sharing.shareWebContent\");return r(p,s,a,e)}function p(t,n){return new Promise((r=>{if(!h())throw s;r(e(t,c.shareWebContent,n))}))}function h(){return!(!t(m)||!m.supports.sharing)}export{c as SharingAPIMessages,h as isSupported,f as shareWebContent};\n","import{sendAndHandleSdkError as t}from\"../../internal/communication.js\";import{ensureInitialized as o}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as r}from\"../../internal/telemetry.js\";import{FrameContexts as e,errorNotSupportedOnPlatform as n}from\"../constants.js\";import{runtime as i}from\"../runtime.js\";import*as p from\"./self.js\";export{p as self};var a;function m(p){return new Promise((a=>{if(o(i,e.content),!s())throw n;if(!p)throw new Error(\"[stageView.open] Stage view params cannot be null\");a(t(r(\"v2\",\"stageView.open\"),\"stageView.open\",p))}))}function s(){return!(!o(i)||!i.supports.stageView)}!function(t){t.modal=\"modal\",t.popout=\"popout\",t.popoutWithChat=\"popoutWithChat\"}(a||(a={}));export{a as StageViewOpenMode,s as isSupported,m as open};\n","import{sendAndHandleSdkError as t}from\"../../internal/communication.js\";import{ensureInitialized as e}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as o}from\"../../internal/telemetry.js\";import{FrameContexts as r,errorNotSupportedOnPlatform as n}from\"../constants.js\";import{runtime as i}from\"../runtime.js\";function s(){return new Promise((s=>{if(e(i,r.content),!m())throw n;s(t(o(\"v2\",\"stageView.self.close\"),\"stageView.self.close\"))}))}function m(){var t;return e(i)&&void 0!==(null===(t=i.supports.stageView)||void 0===t?void 0:t.self)}export{s as close,m as isSupported};\n","import{sendMessageToParent as t}from\"../internal/communication.js\";import{ensureInitialized as n}from\"../internal/internalAPIs.js\";import{getApiVersionTag as r}from\"../internal/telemetry.js\";import{FrameContexts as p,errorNotSupportedOnPlatform as i}from\"../public/constants.js\";import{runtime as e}from\"../public/runtime.js\";function o(o,a,m,c){if(n(e,p.content),!l())throw i;if(!o||0==o.length)throw new Error(\"[appEntity.selectAppEntity] threadId name cannot be null or empty\");if(!c)throw new Error(\"[appEntity.selectAppEntity] Callback cannot be null\");t(r(\"v1\",\"appEntity.selectAppEntity\"),\"appEntity.selectAppEntity\",[o,a,m],c)}function l(){return!(!n(e)||!e.supports.appEntity)}export{l as isSupported,o as selectAppEntity};\n","import{sendAndHandleStatusAndReason as e}from\"../internal/communication.js\";import{createTeamsDeepLinkForChat as s}from\"../internal/deepLinkUtilities.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{getApiVersionTag as r}from\"../internal/telemetry.js\";import{FrameContexts as n,errorNotSupportedOnPlatform as o}from\"./constants.js\";import{runtime as i}from\"./runtime.js\";function a(e){return m(r(\"v2\",\"chat.openChat\"),e)}function m(r,a){return new Promise((m=>{if(t(i,n.content,n.task),!u())throw o;if(i.isLegacyTeams)m(e(r,\"executeDeepLink\",s([a.user],void 0,a.message)));else{m(e(r,\"chat.openChat\",{members:[a.user],message:a.message}))}}))}function c(a){const c=r(\"v2\",\"chat.openGroupChat\");return new Promise((r=>{if(a.users.length<1)throw Error(\"OpenGroupChat Failed: No users specified\");if(1===a.users.length){const e={user:a.users[0],message:a.message};r(m(c,e))}else{if(t(i,n.content,n.task),!u())throw o;if(i.isLegacyTeams)r(e(c,\"executeDeepLink\",s(a.users,a.topic,a.message)));else{r(e(c,\"chat.openChat\",{members:a.users,message:a.message,topic:a.topic}))}}}))}function u(){return!(!t(i)||!i.supports.chat)}export{u as isSupported,a as openChat,c as openGroupChat};\n","import{sendMessageToParentAsync as e}from\"../internal/communication.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{ResponseHandler as n}from\"../internal/responseHandler.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{isPrimitiveOrPlainObject as r,validateId as o,validateUrl as s}from\"../internal/utils.js\";import{FrameContexts as a,errorNotSupportedOnPlatform as u}from\"../public/constants.js\";import{runtime as c}from\"../public/runtime.js\";import{AppId as h}from\"../public/appId.js\";const l=\"v2\";class p{constructor(e){this.invokeRequest=e}serialize(){return this.invokeRequest}}function f(e){const t=e;return t.responseType===R.ActionExecuteInvokeResponse&&void 0!==t.value&&void 0!==t.statusCode&&void 0!==t.type}const m=\"Action.Execute\";var d,R,A;!function(e){e.ActionExecuteInvokeRequest=\"ActionExecuteInvokeRequest\",e.QueryMessageExtensionRequest=\"QueryMessageExtensionRequest\"}(d||(d={})),function(e){e.ActionExecuteInvokeResponse=\"ActionExecuteInvokeResponse\",e.QueryMessageExtensionResponse=\"QueryMessageExtensionResponse\"}(R||(R={}));class x extends n{validate(e){return f(e)}deserialize(e){return e}}function w(e){if(\"object\"!=typeof e||null===e)return!1;const t=e;return Object.values(A).includes(t.errorCode)&&(void 0===t.message||\"string\"==typeof t.message)}function E(e){e.requestType===d.ActionExecuteInvokeRequest?v(e):e.requestType===d.QueryMessageExtensionRequest&&function(e){if(e.commandId.length>64)throw new Error(\"originalRequestInfo.commandId exceeds the maximum size of 64 characters\");if(e.parameters.length>5)throw new Error(\"originalRequestInfo.parameters exceeds the maximum size of 5\");for(const t of e.parameters){if(t.name.length>64)throw new Error(\"originalRequestInfo.parameters.name exceeds the maximum size of 64 characters\");if(t.value.length>512)throw new Error(\"originalRequestInfo.parameters.value exceeds the maximum size of 512 characters\")}}(e)}function v(e){if(e.type!==m){throw{errorCode:A.INTERNAL_ERROR,message:`Invalid action type ${e.type}. Action type must be \"${m}\"`}}if(!r(e.data)){throw{errorCode:A.INTERNAL_ERROR,message:`Invalid data type ${typeof e.data}. Data must be a primitive or a plain object.`}}}function g(n,r,o){if(t(c,a.content),!j())throw u;const s=new h(n);return E(o),e(i(l,\"externalAppAuthentication.authenticateAndResendRequest\"),\"externalAppAuthentication.authenticateAndResendRequest\",[s.toString(),o,r.url.href,r.width,r.height,r.isExternal]).then((([e,t])=>{if(e&&null!=t.responseType)return t;throw t}))}function I(n,r){if(t(c,a.content),!j())throw u;const o=new h(n);return e(i(l,\"externalAppAuthentication.authenticateWithSSO\"),\"externalAppAuthentication.authenticateWithSSO\",[o.toString(),r.claims,r.silent]).then((([e,t])=>{if(!e)throw t}))}function y(n,r,o){if(t(c,a.content),!j())throw u;const s=new h(n);return E(o),e(i(l,\"externalAppAuthentication.authenticateWithSSOAndResendRequest\"),\"externalAppAuthentication.authenticateWithSSOAndResendRequest\",[s.toString(),o,r.claims,r.silent]).then((([e,t])=>{if(e&&null!=t.responseType)return t;throw t}))}function q(n,r,s){if(t(c,a.content),!j())throw u;return o(n,new Error(\"titleId is Invalid.\")),o(r,new Error(\"oauthConfigId is Invalid.\")),e(i(l,\"externalAppAuthentication.authenticateWithOauth2\"),\"externalAppAuthentication.authenticateWithOauth2\",[n,r,s.width,s.height,s.isExternal]).then((([e,t])=>{if(!e)throw t}))}function S(n,r,h){if(t(c,a.content),!j())throw u;return o(n,new Error(\"titleId is Invalid.\")),r&&s(r),e(i(l,\"externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins\"),\"externalAppAuthentication.authenticateWithPowerPlatformConnectorPlugins\",[n,null==r?void 0:r.toString(),null==h?void 0:h.width,null==h?void 0:h.height,null==h?void 0:h.isExternal]).then((([e,t])=>{if(!e)throw t}))}function j(){return!(!t(c)||!c.supports.externalAppAuthentication)}!function(e){e.INTERNAL_ERROR=\"INTERNAL_ERROR\"}(A||(A={}));export{m as ActionExecuteInvokeRequestType,x as ActionExecuteResponseHandler,A as InvokeErrorCode,R as InvokeResponseType,d as OriginalRequestType,p as SerializableActionExecuteInvokeRequest,g as authenticateAndResendRequest,q as authenticateWithOauth2,S as authenticateWithPowerPlatformConnectorPlugins,I as authenticateWithSSO,y as authenticateWithSSOAndResendRequest,f as isActionExecuteResponse,w as isInvokeError,j as isSupported,v as validateActionExecuteInvokeRequest};\n","import{sendMessageToParentAsync as n}from\"../internal/communication.js\";import{ensureInitialized as t}from\"../internal/internalAPIs.js\";import{getApiVersionTag as e}from\"../internal/telemetry.js\";import{FrameContexts as r,errorNotSupportedOnPlatform as i}from\"../public/constants.js\";import{runtime as o}from\"../public/runtime.js\";import{AppId as p}from\"../public/appId.js\";var c,s;function a(c,s){if(t(o,r.content),!A())throw i;const a=new p(c);return n(e(\"v2\",\"externalAppCardActions.processActionSubmit\"),\"externalAppCardActions.processActionSubmit\",[a.toString(),s]).then((([n,t])=>{if(!n)throw t}))}function l(c,s,a){if(t(o,r.content),!A())throw i;const l=new p(c);return n(e(\"v2\",\"externalAppCardActions.processActionOpenUrl\"),\"externalAppCardActions.processActionOpenUrl\",[l.toString(),s.href,a]).then((([n,t])=>{if(n)throw n;return t}))}function A(){return!(!t(o)||!o.supports.externalAppCardActions)}!function(n){n.DeepLinkDialog=\"DeepLinkDialog\",n.DeepLinkOther=\"DeepLinkOther\",n.DeepLinkStageView=\"DeepLinkStageView\",n.GenericUrl=\"GenericUrl\"}(c||(c={})),function(n){n.INTERNAL_ERROR=\"INTERNAL_ERROR\",n.INVALID_LINK=\"INVALID_LINK\",n.NOT_SUPPORTED=\"NOT_SUPPORTED\"}(s||(s={}));export{s as ActionOpenUrlErrorCode,c as ActionOpenUrlType,A as isSupported,l as processActionOpenUrl,a as processActionSubmit};\n","import{__awaiter as t}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendAndHandleSdkError as r}from\"../internal/communication.js\";import{GlobalVars as e}from\"../internal/globalVars.js\";import{ensureInitialized as o}from\"../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{getBase64StringFromBlob as n,base64ToBlob as s}from\"../internal/utils.js\";import{FrameContexts as p,errorNotSupportedOnPlatform as a}from\"./constants.js\";import{ClipboardSupportedMimeType as l}from\"./interfaces.js\";import{runtime as m}from\"./runtime.js\";function c(e){return t(this,void 0,void 0,(function*(){if(o(m,p.content,p.meetingStage,p.task,p.settings,p.stage,p.sidePanel),!u())throw a;if(!e.type||!Object.values(l).includes(e.type))throw new Error(`Blob type ${e.type} is not supported. Supported blob types are ${Object.values(l)}`);const t=yield n(e),s={mimeType:e.type,content:t};return r(i(\"v2\",\"clipboard.write\"),\"clipboard.writeToClipboard\",s)}))}function d(){return t(this,void 0,void 0,(function*(){o(m,p.content,p.meetingStage,p.task,p.settings,p.stage,p.sidePanel);const t=i(\"v2\",\"clipboard.read\");if(!u())throw a;const e=yield r(t,\"clipboard.readFromClipboard\");if(\"string\"==typeof e){const t=JSON.parse(e);return s(t.mimeType,t.content)}return e}))}function u(){return e.isFramelessWindow?!(!o(m)||!m.supports.clipboard):!!(o(m)&&navigator&&navigator.clipboard&&m.supports.clipboard)}export{u as isSupported,d as read,c as write};\n","import{sendMessageToParent as r}from\"../../internal/communication.js\";import{ensureInitialized as e}from\"../../internal/internalAPIs.js\";import{getApiVersionTag as t}from\"../../internal/telemetry.js\";import{FrameContexts as n,errorNotSupportedOnPlatform as a}from\"../../public/constants.js\";import{runtime as o}from\"../../public/runtime.js\";import*as l from\"./fullTrust/fullTrust.js\";export{l as fullTrust};var i;function m(l,i){if(e(o,n.content),!f())throw a;if(!l)throw new Error(\"[teams.getTeamChannels] groupId cannot be null or empty\");if(!i)throw new Error(\"[teams.getTeamChannels] Callback cannot be null\");r(t(\"v1\",\"teams.getTeamChannels\"),\"teams.getTeamChannels\",[l],i)}function s(n,l){if(e(o),!f())throw a;if(!n)throw new Error(\"[teams.refreshSiteUrl] threadId cannot be null or empty\");if(!l)throw new Error(\"[teams.refreshSiteUrl] Callback cannot be null\");r(t(\"v1\",\"teams.refreshSiteUrl\"),\"teams.refreshSiteUrl\",[n],l)}function f(){return!(!e(o)||!o.supports.teams)}!function(r){r[r.Regular=0]=\"Regular\",r[r.Private=1]=\"Private\",r[r.Shared=2]=\"Shared\"}(i||(i={}));export{i as ChannelType,m as getTeamChannels,f as isSupported,s as refreshSiteUrl};\n","import{__awaiter as t}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{validateAppIdInstance as n}from\"../internal/appIdValidation.js\";import{callFunctionInHost as e,callFunctionInHostAndHandleResponse as i}from\"../internal/communication.js\";import{ensureInitialized as r}from\"../internal/internalAPIs.js\";import{getApiVersionTag as o}from\"../internal/telemetry.js\";import{validateId as u}from\"../internal/utils.js\";import{FrameContexts as a,errorNotSupportedOnPlatform as p}from\"../public/constants.js\";import{runtime as s}from\"../public/runtime.js\";import{validateActionExecuteInvokeRequest as c,ActionExecuteResponseHandler as h,SerializableActionExecuteInvokeRequest as l,isInvokeError as A}from\"./externalAppAuthentication.js\";const m=\"v2\";function d(n,i,u){return t(this,void 0,void 0,(function*(){if(r(s,a.content),!v())throw p;return w(n,i),e(\"externalAppAuthenticationForCEA.authenticateWithSSO\",[n,i,u.claims,u.silent],o(m,\"externalAppAuthenticationForCEA.authenticateWithSSO\"),A)}))}function f(n,i,u){return t(this,void 0,void 0,(function*(){if(r(s,a.content),!v())throw p;return w(n,i),e(\"externalAppAuthenticationForCEA.authenticateWithOauth\",[n,i,u.url.href,u.width,u.height,u.isExternal],o(m,\"externalAppAuthenticationForCEA.authenticateWithOauth\"),A)}))}function x(n,e,u,d){return t(this,void 0,void 0,(function*(){if(r(s,a.content),!v())throw p;return w(n,e),c(d),i(\"externalAppAuthenticationForCEA.authenticateAndResendRequest\",[n,e,new l(d),u.url.href,u.width,u.height,u.isExternal],new h,o(m,\"externalAppAuthenticationForCEA.authenticateAndResendRequest\"),A)}))}function E(n,e,u,d){return t(this,void 0,void 0,(function*(){if(r(s,a.content),!v())throw p;return w(n,e),c(d),i(\"externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest\",[n,e,new l(d),u.claims,u.silent],new h,o(m,\"externalAppAuthenticationForCEA.authenticateWithSSOAndResendRequest\"),A)}))}function v(){return!(!r(s)||!s.supports.externalAppAuthenticationForCEA)}function w(t,e){u(e,new Error(\"conversation id is not valid.\")),n(t)}export{x as authenticateAndResendRequest,f as authenticateWithOauth,d as authenticateWithSSO,E as authenticateWithSSOAndResendRequest,v as isSupported,w as validateInput};\n","import{__awaiter as t}from\"../../../../node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js\";import{sendMessageToParentAsync as o,sendAndUnwrap as r}from\"../internal/communication.js\";import{ensureInitialized as n}from\"../internal/internalAPIs.js\";import{getApiVersionTag as i}from\"../internal/telemetry.js\";import{FrameContexts as e,errorNotSupportedOnPlatform as p}from\"../public/constants.js\";import{runtime as s}from\"../public/runtime.js\";import{validateInput as c}from\"./externalAppAuthenticationForCEA.js\";function l(r,l,m){return t(this,void 0,void 0,(function*(){if(n(s,e.content),!A())throw p;c(r,l);const[t,u]=yield o(i(\"v2\",\"externalAppCardActionsForCEA.processActionOpenUrl\"),\"externalAppCardActionsForCEA.processActionOpenUrl\",[r.toString(),l,m.href]);if(t)throw t;return u}))}function m(o,l,m){return t(this,void 0,void 0,(function*(){if(n(s,e.content),!A())throw p;c(o,l);const t=yield r(i(\"v2\",\"externalAppCardActionsForCEA.processActionSubmit\"),\"externalAppCardActionsForCEA.processActionSubmit\",o.toString(),l,m);if(t)throw t}))}function A(){return!(!n(s)||!s.supports.externalAppCardActionsForCEA)}export{A as isSupported,l as processActionOpenUrl,m as processActionSubmit};\n","import{GlobalVars as t}from\"../internal/globalVars.js\";import{ensureInitialized as n}from\"../internal/internalAPIs.js\";import{HostClientType as o}from\"./constants.js\";import{runtime as e}from\"./runtime.js\";function i(){var i;return null!==(i=n(e)&&(e.isNAAChannelRecommended||!(!n(e)||t.hostClientType!==o.android&&t.hostClientType!==o.ios&&t.hostClientType!==o.ipados&&t.hostClientType!==o.visionOS||!e.isLegacyTeams||!e.supports.nestedAppAuth)))&&void 0!==i&&i}export{i as isNAAChannelRecommended};\n","import{notifyAppLoadedHelper as i,notifyFailureHelper as n,notifyExpectedFailureHelper as o}from\"../internal/appHelpers.js\";import{sendMessageToParent as t}from\"../internal/communication.js\";import{getApiVersionTag as p}from\"../internal/telemetry.js\";import{Messages as a}from\"./app/app.js\";export{ExpectedFailureReason,FailedReason}from\"./app/app.js\";import{version as e}from\"./version.js\";const r=\"v1\";function s(){i(p(r,\"appInitialization.notifyAppLoaded\"))}function f(){t(p(r,\"appInitialization.notifySuccess\"),a.Success,[e])}function m(i){n(p(r,\"appInitialization.notifyFailure\"),i)}function c(i){o(p(r,\"appInitialization.notifyExpectedFailure\"),i)}export{a as Messages,s as notifyAppLoaded,c as notifyExpectedFailure,m as notifyFailure,f as notifySuccess};\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nimport { addModule, initializeDownloadLinks, outputTabRenderedLocation, LocalStorageContextKey, LocalStorageUnloadKey, printRecentLocalStoredAppContext, handleReloadOnUnload, appCacheMode, initialieCacheToggleButton } from \"./utils\";\r\nimport * as microsoftTeams from \"@microsoft/teams-js\";\r\nexport const renderPage = (displayName, renderBasicPage = false) => {\r\n console.log(`>>>>> Test tab app on ${window.location.href}`);\r\n try {\r\n microsoftTeams.app.initialize()\r\n .then(() => {\r\n registerAppCachingHandlers();\r\n // This tests a specific scenario where the tab is reloaded on unload\r\n handleReloadOnUnload(microsoftTeams.sendCustomMessage);\r\n });\r\n microsoftTeams.app.notifyAppLoaded();\r\n if (displayName) {\r\n document.title = displayName;\r\n const heading = document.getElementById(\"pageDisplayName\");\r\n if (heading) {\r\n heading.innerText = displayName;\r\n }\r\n }\r\n if (renderBasicPage) {\r\n initializeBaseModulesForVisualTests();\r\n }\r\n else {\r\n initializeAppModules();\r\n }\r\n microsoftTeams.app.notifySuccess();\r\n }\r\n catch (err) {\r\n console.error(`Failed during app initialization. Error: ${err.message || err}`);\r\n microsoftTeams.app.notifyFailure({\r\n reason: microsoftTeams.app.FailedReason.Other,\r\n message: err.message,\r\n });\r\n }\r\n};\r\nconst registerAppCachingHandlers = () => {\r\n microsoftTeams.teamsCore.registerBeforeUnloadHandler((readyToUnload) => {\r\n const result = beforeUnloadHandler(readyToUnload);\r\n return result;\r\n });\r\n microsoftTeams.teamsCore.registerOnLoadHandler((data) => {\r\n loadHandler(data);\r\n });\r\n};\r\nconst beforeUnloadHandler = (readyToUnload) => {\r\n microsoftTeams.app.getContext()\r\n .then(context => {\r\n localStorage.setItem(LocalStorageContextKey, JSON.stringify(context));\r\n if (appCacheMode === 'ReloadOnUnload') {\r\n console.log(`>>>>> Test tab app reloading page during unload state.`);\r\n localStorage.setItem(LocalStorageUnloadKey, 'true');\r\n window.location.reload();\r\n }\r\n else {\r\n readyToUnload();\r\n }\r\n });\r\n return true;\r\n};\r\nconst loadHandler = (data) => {\r\n printRecentLocalStoredAppContext();\r\n const timeout = 1000;\r\n setTimeout(() => {\r\n microsoftTeams.app.notifySuccess();\r\n }, timeout);\r\n};\r\nconst initializeBaseModulesForVisualTests = () => {\r\n addModule({\r\n name: \"app.getContext\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.app.getContext().then(output);\r\n },\r\n });\r\n};\r\nconst initializeAppModules = () => {\r\n var childWindow;\r\n let totalStates = 0;\r\n let attachmentArray;\r\n initialieCacheToggleButton();\r\n initializeDownloadLinks();\r\n outputTabRenderedLocation(microsoftTeams.getContext);\r\n addModule({\r\n name: \"hasStorageAccess\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n onClick: () => __awaiter(void 0, void 0, void 0, function* () {\r\n const perm = yield document.hasStorageAccess();\r\n console.log(perm);\r\n return perm;\r\n }),\r\n });\r\n addModule({\r\n name: \"popOut\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n onClick: () => {\r\n window.open(window.location.href);\r\n },\r\n });\r\n addModule({\r\n name: \"setUnpartitionedCookie\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n onClick: () => __awaiter(void 0, void 0, void 0, function* () {\r\n document.cookie = document.cookie + `myCookie${Math.random() % 100}=helloworld`;\r\n return document.cookie;\r\n }),\r\n });\r\n addModule({\r\n name: \"readUnpartitionedCookie\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n onClick: () => __awaiter(void 0, void 0, void 0, function* () {\r\n console.log(document.cookie);\r\n return document.cookie;\r\n }),\r\n });\r\n addModule({\r\n name: \"requestStorageAccess\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n onClick: () => __awaiter(void 0, void 0, void 0, function* () {\r\n const perm = yield document.requestStorageAccess();\r\n console.log(perm);\r\n return perm;\r\n }),\r\n });\r\n addModule({\r\n name: \"enablePrintCapability\",\r\n initializedRequired: true,\r\n hasOutput: false,\r\n action: function () {\r\n microsoftTeams.teamsCore.enablePrintCapability();\r\n },\r\n });\r\n addModule({\r\n name: \"print\",\r\n initializedRequired: true,\r\n hasOutput: false,\r\n action: function () {\r\n microsoftTeams.teamsCore.print();\r\n },\r\n });\r\n addModule({\r\n name: \"app.getContext\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.app.getContext().then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"getContext\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.getContext(output);\r\n },\r\n });\r\n addModule({\r\n name: \"getTabInstances\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.tabs.getTabInstances()\r\n .then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"getMRUTabInstances\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.tabs.getMruTabInstances()\r\n .then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"navigateCrossDomain\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"url\",\r\n },\r\n ],\r\n action: function (url) {\r\n microsoftTeams.pages.navigateCrossDomain(url);\r\n },\r\n });\r\n addModule({\r\n name: \"pages.registerFocusEnterHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.registerFocusEnterHandler((navigateForward) => {\r\n if (navigateForward) {\r\n output(\"Focus entered forward\");\r\n }\r\n else {\r\n output(\"Focus entered backward\");\r\n }\r\n var searchInput = document.getElementById(\"searchInput\");\r\n searchInput.focus();\r\n });\r\n }\r\n });\r\n addModule({\r\n name: \"pages.returnFocus\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"boolean\",\r\n name: \"navigateForward\",\r\n },\r\n ],\r\n action: function (navigateForward) {\r\n microsoftTeams.pages.returnFocus(navigateForward);\r\n },\r\n });\r\n addModule({\r\n name: \"navigateCrossDomain\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"url\",\r\n },\r\n ],\r\n action: function (url) {\r\n microsoftTeams.pages.navigateCrossDomain(url);\r\n },\r\n });\r\n addModule({\r\n name: \"registerOnThemeChangeHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.app.registerOnThemeChangeHandler(output);\r\n },\r\n });\r\n addModule({\r\n name: \"registerChangeSettingsHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.config.registerChangeConfigHandler(function () {\r\n output(\"Change Settings Event recieved\");\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"registerAppButtonClickHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.appButton.onClick(function () {\r\n output(\"Click event received\");\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"registerAppButtonHoverEnterHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.appButton.onHoverEnter(function () {\r\n output(`Hover enter event received`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"registerAppButtonHoverLeaveHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.appButton.onHoverLeave(function () {\r\n output(`Hover leave event received`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"shareDeepLink\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"deepLinkParameters\",\r\n },\r\n ],\r\n action: function (deepLinkParameters) {\r\n microsoftTeams.pages.shareDeepLink(deepLinkParameters);\r\n },\r\n });\r\n addModule({\r\n name: \"executeDeepLink\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"deepLink\",\r\n },\r\n ],\r\n action: function (deepLink) {\r\n microsoftTeams.app.openLink(deepLink);\r\n },\r\n });\r\n addModule({\r\n name: \"navigateToApp\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"navigateToAppParameters\",\r\n },\r\n ],\r\n action: (navigateToAppParameters) => {\r\n microsoftTeams.pages.navigateToApp(navigateToAppParameters);\r\n },\r\n });\r\n addModule({\r\n name: \"authentication.authenticate\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"url\",\r\n },\r\n ],\r\n hasOutput: true,\r\n action: function (url, output) {\r\n //TODO: Convert callback to promise, for more info, please refer to https://aka.ms/teamsfx-callback-to-promise.\r\n microsoftTeams.authentication.authenticate({\r\n url: url,\r\n }).then((result) => {\r\n output(\"Success:\" + result);\r\n }).catch((reason) => {\r\n output(\"Failure:\" + reason);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"authentication_externalBrowser\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"boolean\",\r\n name: \"mockOAuth\", // do not go to the actual oauth provider, for scenario testing purpose\r\n },\r\n ],\r\n hasOutput: true,\r\n action: function (mockOAuth, output) {\r\n //TODO: Convert callback to promise, for more info, please refer to https://aka.ms/teamsfx-callback-to-promise.\r\n microsoftTeams.authentication.authenticate({\r\n url: `auth_start.html?oauthRedirectMethod={oauthRedirectMethod}&authId=${mockOAuth ? \"1\" : \"{authId}\"}&mockOAuth=${mockOAuth}&hostRedirectUrl={hostRedirectUrl}`,\r\n isExternal: true\r\n }).then((result) => {\r\n output(\"Success:\" + result);\r\n }).catch((reason) => {\r\n output(\"Failure:\" + reason);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"tasks.startTask and listen for task module messages\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"taskInfo\",\r\n defaultValue: '{\"title\": \"Test Task Module\", \"height\": \"medium\", \"width\": \"medium\", \"url\": \"https://teams-test-tab.azurewebsites.net\"}',\r\n },\r\n ],\r\n action: function (taskInfo, output) {\r\n childWindow = microsoftTeams.tasks.startTask(taskInfo);\r\n childWindow.addEventListener(\"message\", function (message) {\r\n output(\"Message from task module: \" + message);\r\n childWindow.postMessage(\"tab received - \" + message);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"send message to Child Window(tab to task module)\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"message\",\r\n },\r\n ],\r\n action: function (message, output) {\r\n if (childWindow) {\r\n childWindow.postMessage(message);\r\n }\r\n else {\r\n output(\"child window not available\");\r\n }\r\n },\r\n });\r\n addModule({\r\n name: \"send message to parent Window(task module to tab)\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"message\",\r\n },\r\n ],\r\n action: function (message, output) {\r\n var parentWindow = microsoftTeams.ParentAppWindow.Instance;\r\n if (parentWindow) {\r\n parentWindow.postMessage(message);\r\n output(\"message sent to parent(tab)\");\r\n }\r\n else {\r\n output(\"parent window not available\");\r\n }\r\n },\r\n });\r\n addModule({\r\n name: \"register listener for parent message(tab to task module)\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n var parentWindow = microsoftTeams.ParentAppWindow.Instance;\r\n if (parentWindow) {\r\n parentWindow.addEventListener(\"message\", function (message) {\r\n output(\"message from tab: \" + message);\r\n });\r\n }\r\n else {\r\n output(\"parent window not available\");\r\n }\r\n },\r\n });\r\n addModule({\r\n name: \"downloadFile ShowNotificationOnly\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"showNotificationParameters\",\r\n },\r\n ],\r\n action: function (showNotificationParameters) {\r\n microsoftTeams.notifications.showNotification(showNotificationParameters);\r\n },\r\n });\r\n addModule({\r\n name: \"authentication.getAuthToken\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"getAuthTokenParameters\",\r\n },\r\n ],\r\n action: function (getAuthTokenParameters, output) {\r\n //TODO: Convert callback to promise, for more info, please refer to https://aka.ms/teamsfx-callback-to-promise.\r\n microsoftTeams.authentication.getAuthToken(getAuthTokenParameters)\r\n .then((token) => {\r\n output(\"Success: \" + token);\r\n }).catch((reason) => {\r\n output(\"Failure: \" + reason);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"authentication.getUser\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n //TODO: Convert callback to promise, for more info, please refer to https://aka.ms/teamsfx-callback-to-promise.\r\n microsoftTeams.authentication.getUser()\r\n .then(output)\r\n .catch(output);\r\n },\r\n });\r\n addModule({\r\n name: \"authentication.notifyFailure\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"reason\",\r\n },\r\n ],\r\n action: function (reason) {\r\n microsoftTeams.authentication.notifyFailure(reason);\r\n },\r\n });\r\n addModule({\r\n name: \"authentication.notifySuccess\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"result\",\r\n },\r\n ],\r\n action: function (result) {\r\n microsoftTeams.authentication.notifySuccess(result);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.getSettings\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.getConfig().then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnSaveHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.config.registerOnSaveHandler(function (saveEvent) {\r\n window.saveEvent = saveEvent;\r\n const configUrl = window.location.href;\r\n microsoftTeams.pages.config.setConfig({\r\n websiteUrl: configUrl,\r\n contentUrl: configUrl,\r\n entityId: \"tabconfig\",\r\n suggestedDisplayName: \"Test Tab RegisterOnSave\",\r\n }).then(() => {\r\n output(\"SaveEvent recieved\");\r\n });\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnSaveHandler.notifyFailure\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"reason\",\r\n },\r\n ],\r\n action: function (reason) {\r\n window.saveEvent &&\r\n window.saveEvent.notifyFailure(reason);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnSaveHandler.notifySuccess\",\r\n initializedRequired: true,\r\n action: function () {\r\n window.saveEvent && window.saveEvent.notifySuccess();\r\n },\r\n });\r\n addModule({\r\n name: \"settings.setSettings\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"settings\",\r\n defaultValue: '{\"contentUrl\": \"https://teams-test-tab.azurewebsites.net/\", \"entityId\": \"someEntity\", \"websiteUrl\": \"https://teams-test-tab.azurewebsites.net/\"}',\r\n },\r\n ],\r\n hasOutput: true,\r\n action: function (settings, output) {\r\n microsoftTeams.pages.config.setConfig(settings);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.setValidityState\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"boolean\",\r\n name: \"validityState\",\r\n },\r\n ],\r\n action: function (validityState) {\r\n microsoftTeams.pages.config.setValidityState(validityState);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnRemoveHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.pages.config.registerOnRemoveHandler(function (removeEvent) {\r\n window.removeEvent = removeEvent;\r\n output(\"RemoveEvent recieved\");\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnRemoveHandler.notifyFailure\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"reason\",\r\n },\r\n ],\r\n action: function (reason) {\r\n window.removeEvent &&\r\n window.removeEvent.notifyFailure(reason);\r\n },\r\n });\r\n addModule({\r\n name: \"settings.registerOnRemoveHandler.notifySuccess\",\r\n initializedRequired: true,\r\n action: function () {\r\n window.removeEvent &&\r\n window.removeEvent.notifySuccess();\r\n },\r\n });\r\n addModule({\r\n name: \"openFilePreview\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"filePreviewParameters\",\r\n },\r\n ],\r\n action: function (filePreviewParameters) {\r\n microsoftTeams.openFilePreview(filePreviewParameters);\r\n },\r\n });\r\n addModule({\r\n name: \"task.submitTask\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"result\",\r\n },\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n },\r\n ],\r\n action: function (result, appId) {\r\n microsoftTeams.tasks.submitTask(result, appId);\r\n },\r\n });\r\n addModule({\r\n name: \"tasks.startTask\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"taskInfo\",\r\n defaultValue: '{\"title\": \"Test Task Module\", \"height\": \"medium\", \"width\": \"medium\", \"url\": \"https://teams-test-tab.azurewebsites.net\"}',\r\n },\r\n ],\r\n hasOutput: true,\r\n action: function (taskInfo, output) {\r\n microsoftTeams.tasks.startTask(taskInfo, (error, result) => {\r\n if (error) {\r\n output(\"Error: \" + error);\r\n }\r\n else {\r\n output(\"Result: \" + result);\r\n }\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"tasks.updateTask\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"taskInfo\",\r\n defaultValue: '{\"title\": \"Large Test Task Module\", \"height\": \"large\", \"width\": \"large\"}',\r\n },\r\n ],\r\n action: function (taskInfo) {\r\n microsoftTeams.tasks.updateTask(taskInfo);\r\n },\r\n });\r\n addModule({\r\n name: \"downloadFile ShowNotificationOnly\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"showNotificationParameters\",\r\n },\r\n ],\r\n action: function (showNotificationParameters) {\r\n microsoftTeams.notifications.showNotification(showNotificationParameters);\r\n },\r\n });\r\n addModule({\r\n name: \"getChatMembers\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.conversations.getChatMembers().then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"getUserJoinedTeams\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.teams.fullTrust.joinedTeams\r\n .getUserJoinedTeams()\r\n .then(output);\r\n },\r\n });\r\n addModule({\r\n name: \"readyToUnload\",\r\n initializedRequired: true,\r\n action: function () {\r\n window.readyToUnload && window.readyToUnload();\r\n },\r\n });\r\n addModule({\r\n name: \"add states\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"boolean\",\r\n name: \"includeHistory\",\r\n defaultValue: true,\r\n },\r\n ],\r\n hasOutput: true,\r\n action: function (includeHistory, output) {\r\n totalStates++;\r\n if (includeHistory) {\r\n window.history.pushState({ some: \"state\", id: totalStates }, \"tab state\" + totalStates, \"/testTab\");\r\n }\r\n output(\"total States: \" + totalStates);\r\n let historyStates = totalStates;\r\n window.addEventListener(\"popstate\", function (event) {\r\n historyStates--;\r\n output(\"onpopstate: back button clicked. total remaining state: \" +\r\n historyStates);\r\n }, false);\r\n },\r\n });\r\n addModule({\r\n name: \"registerBackButtonHandler\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n output(\"total States: \" + totalStates);\r\n microsoftTeams.pages.backStack.registerBackButtonHandler(function () {\r\n if (totalStates > 0) {\r\n totalStates--;\r\n output(\"back button clicked. total remaining state: \" + totalStates);\r\n return true;\r\n }\r\n return false;\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"navigateBack\",\r\n initializedRequired: true,\r\n action: function () {\r\n microsoftTeams.pages.backStack.navigateBack();\r\n },\r\n });\r\n addModule({\r\n name: \"returnFocus\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"boolean\",\r\n name: \"navigateForward\",\r\n },\r\n ],\r\n action: function (navigateForward) {\r\n microsoftTeams.pages.returnFocus(navigateForward);\r\n },\r\n });\r\n addModule({\r\n name: \"conversations.openConversation\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"openConversationRequest\",\r\n },\r\n ],\r\n action: function (openConversationRequest, output) {\r\n openConversationRequest.onStartConversation = (conversationResponse) => {\r\n output(\"Start Conversation Subentity Id \" +\r\n conversationResponse.subEntityId +\r\n \" Conversation Id: \" +\r\n conversationResponse.conversationId +\r\n \" Entity Id: \" +\r\n conversationResponse.entityId +\r\n \" Channel Id: \" +\r\n conversationResponse.channelId);\r\n };\r\n openConversationRequest.onCloseConversation = (conversationResponse) => {\r\n output(\"Start Conversation Subentity Id \" +\r\n conversationResponse.subEntityId +\r\n \" Conversation Id: \" +\r\n conversationResponse.conversationId +\r\n \" Entity Id: \" +\r\n conversationResponse.entityId +\r\n \" Channel Id: \" +\r\n conversationResponse.channelId);\r\n };\r\n try {\r\n microsoftTeams.conversations.openConversation(openConversationRequest);\r\n }\r\n catch (e) {\r\n output(\"Error\" + e);\r\n }\r\n },\r\n });\r\n addModule({\r\n name: \"conversations.closeConversation\",\r\n initializedRequired: true,\r\n action: function () {\r\n microsoftTeams.conversations.closeConversation();\r\n },\r\n });\r\n addModule({\r\n name: \"captureImage\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: (output) => {\r\n microsoftTeams.media.captureImage((err, files) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n const file = files[0];\r\n let content = \"\";\r\n let len = 20;\r\n if (file.content) {\r\n len = Math.min(len, file.content.length);\r\n content = file.content.substr(0, len);\r\n }\r\n output(\"format: \" +\r\n file.format +\r\n \", size: \" +\r\n file.size +\r\n \", mimeType: \" +\r\n file.mimeType +\r\n \", content: \" +\r\n content);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"selectMedia\",\r\n initializedRequired: true,\r\n hasSelectMedia: true,\r\n inputs: [{\r\n type: \"object\",\r\n name: \"mediaInputs\",\r\n defaultValue: '{\"mediaType\":1,\"maxMediaCount\":5,\"imageProps\":{\"sources\":[1,2],\"startMode\":1,\"ink\":true,\"cameraSwitcher\":true,\"textSticker\":true,\"enableFilter\":false}}',\r\n }],\r\n action: (mediaInputs, output) => {\r\n microsoftTeams.media.selectMedia(mediaInputs, (error, attachments) => {\r\n if (error) {\r\n if (error.message) {\r\n alert(\" ErrorCode: \" + error.errorCode + error.message);\r\n }\r\n else {\r\n alert(\" ErrorCode: \" + error.errorCode);\r\n }\r\n }\r\n else if (attachments) {\r\n let imageArr = [];\r\n attachmentArray = attachments;\r\n for (let i = 0; i < attachments.length; i++)\r\n if (attachments[i].mimeType.includes(\"image\")) {\r\n console.log(\"***debug***attach\", attachments[i]);\r\n imageArr.push(\"data:\" + attachments[i].mimeType + \";base64,\" + attachments[i].preview);\r\n output(imageArr);\r\n }\r\n }\r\n });\r\n }\r\n });\r\n addModule({\r\n name: \"getMedia\",\r\n initializedRequired: true,\r\n hasGetMedia: true,\r\n action: (output) => {\r\n if (attachmentArray == null || attachmentArray.length < 0) {\r\n alert(\"You haven't selected anything\");\r\n }\r\n else {\r\n let mediaInput = attachmentArray[0];\r\n mediaInput.getMedia((error, blob) => {\r\n if (blob) {\r\n if (blob.type.includes(\"image\")) {\r\n output(URL.createObjectURL(blob));\r\n }\r\n }\r\n if (error) {\r\n if (error.message) {\r\n alert(\" ErrorCode: \" + error.errorCode + error.message);\r\n }\r\n else {\r\n alert(\" ErrorCode: \" + error.errorCode);\r\n }\r\n }\r\n });\r\n }\r\n }\r\n });\r\n addModule({\r\n name: \"viewImagesWithId\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"selectMediaInputs\",\r\n defaultValue: '{\"mediaType\":1,\"maxMediaCount\":5,\"imageProps\":{\"sources\":[1,2],\"startMode\":1,\"ink\":true,\"cameraSwitcher\":true,\"textSticker\":true,\"enableFilter\":false}}',\r\n },\r\n ],\r\n action: (selectMediaInputs, output) => {\r\n microsoftTeams.media.selectMedia(selectMediaInputs, (err, medias) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n const urlList = [];\r\n for (let i = 0; i < medias.length; i++) {\r\n const media = medias[i];\r\n urlList.push({\r\n value: media.content,\r\n type: 1, //microsoftTeams.ImageUriType.ID\r\n });\r\n }\r\n microsoftTeams.media.viewImages(urlList, (gmErr) => {\r\n if (gmErr) {\r\n output(gmErr);\r\n return;\r\n }\r\n output(\"Success\");\r\n });\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"viewImagesWithUrls\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"imageUrls\",\r\n defaultValue: '[\"https://www.w3schools.com/images/picture.jpg\",\"https://www.w3schools.com/images/picture.jpg\"]',\r\n },\r\n ],\r\n action: (imageUrls, output) => {\r\n const urlList = [];\r\n for (let i = 0; i < imageUrls.length; i++) {\r\n const imageUrl = imageUrls[i];\r\n urlList.push({\r\n value: imageUrl,\r\n type: 2, //microsoftTeams.ImageUriType.URL\r\n });\r\n }\r\n microsoftTeams.media.viewImages(urlList, (err) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(\"Success\");\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"getLocation\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"locationProps\",\r\n defaultValue: '{\"allowChooseLocation\":true,\"showMap\":true}',\r\n },\r\n ],\r\n action: (locationProps, output) => {\r\n microsoftTeams.location.getLocation(locationProps, (err, location) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(JSON.stringify(location));\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"showLocation\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"location\",\r\n defaultValue: '{\"latitude\":17,\"longitude\":17}',\r\n },\r\n ],\r\n action: (location, output) => {\r\n microsoftTeams.location.showLocation(location, (err, result) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(result);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"geoLocation.requestPermission\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n output(\"\"); // Clear output\r\n microsoftTeams.geoLocation\r\n .requestPermission()\r\n .then((value) => output(`Consented: ${value}`))\r\n .catch((err) => output(err));\r\n },\r\n });\r\n addModule({\r\n name: \"media.requestPermission\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n output(\"\"); // Clear output\r\n microsoftTeams.media\r\n .requestPermission()\r\n .then((value) => output(`Consented: ${value}`))\r\n .catch((err) => output(err));\r\n },\r\n });\r\n addModule({\r\n name: \"webStorage.isWebStorageClearedOnUserLogOut\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n output(\"\"); // Clear output\r\n microsoftTeams.webStorage.isWebStorageClearedOnUserLogOut()\r\n .then((value) => output(`Response: ${value}`))\r\n .catch((err) => output(err));\r\n },\r\n });\r\n addModule({\r\n name: \"hostEntity.tab.getAll\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"hostEntityIds\",\r\n defaultValue: '{\"threadId\":\"threadId\", \"messageId\":\"messageId\"}',\r\n }\r\n ],\r\n action: (hostEntityIds, output) => {\r\n microsoftTeams.hostEntity.tab.getAll(hostEntityIds)\r\n .then((result) => {\r\n output(JSON.stringify(result));\r\n })\r\n .catch((error) => {\r\n output(`Error Response: ${error}`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"hostEntity.tab.reconfigure\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"tab\",\r\n defaultValue: '{}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"hostEntityIds\",\r\n defaultValue: '{\"threadId\":\"threadId\", \"messageId\":\"messageId\"}',\r\n }\r\n ],\r\n action: (tab, hostEntityIds, output) => {\r\n microsoftTeams.hostEntity.tab.reconfigure(tab, hostEntityIds)\r\n .then((result) => {\r\n output(JSON.stringify(result));\r\n })\r\n .catch((error) => {\r\n output(`Error Response: ${error}`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"hostEntity.tab.rename\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"tab\",\r\n defaultValue: '{}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"hostEntityIds\",\r\n defaultValue: '{\"threadId\":\"threadId\", \"messageId\":\"messageId\"}',\r\n }\r\n ],\r\n action: (tab, hostEntityIds, output) => {\r\n microsoftTeams.hostEntity.tab.rename(tab, hostEntityIds)\r\n .then((result) => {\r\n output(JSON.stringify(result));\r\n })\r\n .catch((error) => {\r\n output(`Error Response: ${error}`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"hostEntity.tab.remove\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"tab\",\r\n defaultValue: '{}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"hostEntityIds\",\r\n defaultValue: '{\"threadId\":\"threadId\", \"messageId\":\"messageId\"}',\r\n }\r\n ],\r\n action: (tab, hostEntityIds, output) => {\r\n microsoftTeams.hostEntity.tab.remove(tab, hostEntityIds)\r\n .then((result) => {\r\n output(`Response: ${result}`);\r\n })\r\n .catch((error) => {\r\n output(`Error Response: ${error}`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"hostEntity.tab.AddAndConfigure\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"hostEntityIds\",\r\n defaultValue: '{\"threadId\":\"threadId\", \"messageId\":\"messageId\"}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"appTypes\",\r\n defaultValue: '[\"\"]',\r\n },\r\n ],\r\n action: (hostEntityIds, appTypes, output) => {\r\n microsoftTeams.hostEntity.tab.addAndConfigure(hostEntityIds, appTypes)\r\n .then((result) => {\r\n output(JSON.stringify(result));\r\n })\r\n .catch((error) => {\r\n output(`Error Response: ${error}`);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"media.scanBarCode\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"scanBarCodeConfig\",\r\n defaultValue: '{\"timeOutIntervalInSec\":30}',\r\n },\r\n ],\r\n action: (scanBarCodeConfig, output) => {\r\n microsoftTeams.media.scanBarCode((err, result) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(result);\r\n }, scanBarCodeConfig);\r\n },\r\n });\r\n addModule({\r\n name: \"call.startCall\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"startCallParams\",\r\n defaultValue: '{\"requestedModalities\":[\"audio\"],\"targets\":[\"yudogan@microsoft.com\"]}',\r\n },\r\n ],\r\n action: function (startCallParams, output) {\r\n microsoftTeams.call\r\n .startCall(startCallParams)\r\n .then(() => output(\"Success\"))\r\n .catch((err) => output(`Error: ${err}`));\r\n },\r\n });\r\n addModule({\r\n name: \"meeting.getMeetingDetails\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.getMeetingDetails((err, meetingDetailsResponse) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(meetingDetailsResponse);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"meeting.shareAppContentToStage\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.shareAppContentToStage((err, result) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(result);\r\n }, window.location.href);\r\n },\r\n });\r\n addModule({\r\n name: \"meeting.getAppContentStageSharingState\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.getAppContentStageSharingState((err, appContentStageSharingState) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(appContentStageSharingState);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"meeting.getAppContentStageSharingCapabilities\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.getAppContentStageSharingCapabilities((err, appContentStageSharingCapabilities) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(appContentStageSharingCapabilities);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"monetization.openPurchaseExperience\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.monetization.openPurchaseExperience((err) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(null);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"getIncomingClientAudioState\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.getIncomingClientAudioState((err, result) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(result);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"toggleIncomingClientAudio\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.toggleIncomingClientAudio((err, result) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(result);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"meeting.getAuthenticationTokenForAnonymousUser\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.meeting.getAuthenticationTokenForAnonymousUser((err, authenticationTokenOfAnonymousUser) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(authenticationTokenOfAnonymousUser);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"people.selectPeople\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"peoplePickerInputs\",\r\n defaultValue: '{\"title\":\"\", \"setSelected\":[], \"openOrgWideSearchInChatOrChannel\":false, \"singleSelect\":false}',\r\n },\r\n ],\r\n action: (peoplePickerInputs, output) => {\r\n microsoftTeams.people.selectPeople((err, people) => {\r\n if (err) {\r\n output(err);\r\n return;\r\n }\r\n output(\"People length: \" + people.length + \" \" + JSON.stringify(people));\r\n }, peoplePickerInputs);\r\n },\r\n });\r\n addModule({\r\n name: \"setFrameContext\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"frameContext\",\r\n defaultValue: '{\"contentUrl\":\"\", \"websiteUrl\":\"\"}',\r\n },\r\n ],\r\n action: (frameContext) => {\r\n microsoftTeams.pages.setCurrentFrame(frameContext);\r\n },\r\n });\r\n addModule({\r\n name: \"navigateToTab\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"tabInstance\",\r\n },\r\n ],\r\n action: (tabInstance, output) => {\r\n microsoftTeams.navigateToTab(tabInstance, (status, reason) => {\r\n if (reason) {\r\n output(reason);\r\n return;\r\n }\r\n output(status);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"sharing.shareWebContent\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"shareWebContentRequest\",\r\n defaultValue: '{\"content\":[{\"type\":\"URL\",\"url\":\"https://teams-test-tab.azurewebsites.net/\"}]}',\r\n },\r\n ],\r\n action: (shareWebContentRequest, output) => {\r\n // Clear the output box prior to action\r\n output(\"\");\r\n microsoftTeams.sharing.shareWebContent(shareWebContentRequest, (err) => {\r\n if (err) {\r\n output(err.message);\r\n return;\r\n }\r\n output(\"Sharing was successful.\");\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"stageView.open\",\r\n initializedRequired: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"stageViewParams\",\r\n },\r\n ],\r\n action: function (stageViewParams) {\r\n microsoftTeams.stageView.open(stageViewParams);\r\n },\r\n });\r\n addModule({\r\n name: \"closeStageView\",\r\n initializedRequired: true,\r\n action: function () {\r\n microsoftTeams.stageView.self.close();\r\n }\r\n });\r\n addModule({\r\n name: \"setNavBarMenu\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"navBarMenuItems\",\r\n defaultValue: '[{\"id\":\"submenu1\",\"title\":\"SubMenu1\",\"displayMode\":1,\"icon\":\"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNC4wNjkgMTNoLTQuMDY5di0yaDQuMDY5Yy0uMDQxLjMyOC0uMDY5LjY2MS0uMDY5IDFzLjAyOC42NzIuMDY5IDF6bTMuMDM0LTcuMzEybC0yLjg4MS0yLjg4MS0xLjQxNCAxLjQxNCAyLjg4MSAyLjg4MWMuNDExLS41MjkuODg1LTEuMDAzIDEuNDE0LTEuNDE0em0xMS4yMDkgMS40MTRsMi44ODEtMi44ODEtMS40MTQtMS40MTQtMi44ODEgMi44ODFjLjUyOC40MTEgMS4wMDIuODg2IDEuNDE0IDEuNDE0em0tNi4zMTItMy4xMDJjLjMzOSAwIC42NzIuMDI4IDEgLjA2OXYtNC4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A1LjUxNiAyLjAzMy4zNTkgMy41NzggMi4xMDUgMy41NzggNC4yMDZ6bS0xOC01LjcyMmMwIC44Ni4zNyAxLjYyOC45NTUgMi4xNzIuNDg0LS4zMTYgMS4wMjktLjU1MSAxLjYyMy0uNjU2LjA4OS0xLjYxLjg0NC0zLjA0MiAxLjk5NC00LjA0Ni0uNDU5LS4yODgtLjk5LS40Ny0xLjU3Mi0uNDctMS42NTQgMC0zIDEuMzQ2LTMgM3ptMTYgNS43MjJjMC0yLjA3Ni0xLjk3OS0yLjYxOC0zLjQ4OC0yLjUxMi4yMTctMS40MzktLjI0MS01LjIxLTQuMDEyLTUuMjEtMy44NzUgMC00LjA2MiAzLjg1NC00LjAxMiA1LjIwOS0xLjM4NC0uMDg0LTMuNDg4LjM5NS0zLjQ4OCAyLjUxMyAwIDEuMjU2IDEuMDU3IDIuMjc4IDIuMzU0IDIuMjc4aDEwLjI5MWMxLjI5OCAwIDIuMzU1LTEuMDIyIDIuMzU1LTIuMjc4em0tMTUuNTggOS4yNzhsLTEuNDEtMS40MSAyLjU5LTIuNTkgMS40MSAxLjQxLTIuNTkgMi41OXptNy41NDMtMi41OWwtMS40MS0xLjQxLTIuNTkgMi41OSAxLjQxIDEuNDEgMi41OS0yLjU5em00Ljg3NSAwbC0xLjQxLTEuNDEtMi41OSAyLjU5IDEuNDEgMS40MSAyLjU5LTIuNTl6Ii8+PC9zdmc+\",\"contentDescription\":\"SubMenu5\",\"enabled\":\"true\"}]',\r\n },\r\n ],\r\n action: function (navBarMenuItems, output) {\r\n microsoftTeams.menus.setNavBarMenu(navBarMenuItems, (id) => {\r\n navBarMenuItems.map((item) => {\r\n if (item.id === id) {\r\n output(\"Clicked id is : \" + id);\r\n }\r\n });\r\n return true;\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"appEntity.selectAppEntity\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"selectAppEntityParams\",\r\n },\r\n ],\r\n action: function (selectAppEntityParams, output) {\r\n microsoftTeams.appEntity.selectAppEntity(selectAppEntityParams.threadId, selectAppEntityParams.categories, selectAppEntityParams.subEntityId, (sdkError, appEntity) => {\r\n output(sdkError || appEntity);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"chat.openGroupChat\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"object\",\r\n name: \"openChatRequest\",\r\n defaultValue: '{\"message\":\"Test Group Chat Message\",\"topic\":\"Test Group Chat\",\"users\":[\"a@contoso.com\",\"b@contoso.com\"]}',\r\n },\r\n ],\r\n action: function (openChatRequest, output) {\r\n microsoftTeams.chat\r\n .openGroupChat(openChatRequest)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateAndResendRequest\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authenticateParameters\",\r\n defaultValue: JSON.stringify({ url: new URL(\"https://www.bing.com\") }),\r\n },\r\n {\r\n type: \"object\",\r\n name: \"originalRequestInfo\",\r\n defaultValue: JSON.stringify({\r\n requestType: \"QueryMessageExtensionRequest\",\r\n commandId: \"searchNews\",\r\n parameters: [{\r\n name: \"searchText\",\r\n value: \"news\",\r\n }]\r\n }),\r\n }\r\n ],\r\n action: function (appId, authenticateParameters, originalRequestInfo, output) {\r\n microsoftTeams.externalAppAuthentication\r\n .authenticateAndResendRequest(appId, authenticateParameters, originalRequestInfo)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithSSO\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authTokenRequest\",\r\n defaultValue: '{}',\r\n }\r\n ],\r\n action: function (appId, authTokenRequest, output) {\r\n microsoftTeams.externalAppAuthentication\r\n .authenticateWithSSO(appId, authTokenRequest)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithSSOAndResendRequest\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authTokenRequest\",\r\n defaultValue: '{}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"originalRequestInfo\",\r\n defaultValue: JSON.stringify({\r\n requestType: \"QueryMessageExtensionRequest\",\r\n commandId: \"searchNews\",\r\n parameters: [{\r\n name: \"searchText\",\r\n value: \"news\",\r\n }]\r\n }),\r\n }\r\n ],\r\n action: function (appId, authTokenRequest, originalRequestInfo, output) {\r\n microsoftTeams.externalAppAuthentication\r\n .authenticateWithSSOAndResendRequest(appId, authTokenRequest, originalRequestInfo)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppCardActions.processActionSubmit\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"actionSubmitPayload\",\r\n defaultValue: JSON.stringify({\r\n id: \"submitActionId\",\r\n data: {\r\n key: \"value\",\r\n key2: \"value2\"\r\n }\r\n })\r\n }\r\n ],\r\n action: function (appId, actionSubmitPayload, output) {\r\n microsoftTeams.externalAppCardActions\r\n .processActionSubmit(appId, actionSubmitPayload)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppCardActions.processActionOpenUrl\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"url\",\r\n defaultValue: \"https://bing.com\"\r\n }\r\n ],\r\n action: function (appId, url, output) {\r\n microsoftTeams.externalAppCardActions\r\n .processActionOpenUrl(appId, new URL(url))\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"clipboard.read\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n microsoftTeams.clipboard.read()\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"clipboard.write\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"content\",\r\n defaultValue: \"Hello World\"\r\n }\r\n ],\r\n action: function (content, output) {\r\n microsoftTeams.clipboard.write(content)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"teams.refreshSiteUrl\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"threadId\"\r\n }\r\n ],\r\n action: function (threadId, output) {\r\n microsoftTeams.teams.refreshSiteUrl(threadId, (error) => {\r\n if (error) {\r\n output(\"Failure: \" + JSON.stringify(error));\r\n }\r\n else {\r\n output(\"Success\");\r\n }\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithSSOForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"1a69c0fd-6ec8-488e-8900-ff3a2fcf5f51\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authTokenRequest\",\r\n defaultValue: '{}',\r\n }\r\n ],\r\n action: function (appId, convId, authTokenRequest, output) {\r\n microsoftTeams.externalAppAuthenticationForCEA\r\n .authenticateWithSSO(appId, convId, authTokenRequest)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithOauthForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f46ad259-0fe5-4f12-872d-c737b174bcb4\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authenticateParameters\",\r\n defaultValue: JSON.stringify({\r\n url: new URL(\"https://token.botframework.com/api/oauth/signin?signin=78ed2ae53eb6442d8a784554003ca8f3\"),\r\n isExternal: true,\r\n }),\r\n }\r\n ],\r\n action: function (appId, convId, authenticateParameters, output) {\r\n microsoftTeams.externalAppAuthenticationForCEA\r\n .authenticateWithOauth(appId, convId, authenticateParameters)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithSSOAndResendRequestForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"1a69c0fd-6ec8-488e-8900-ff3a2fcf5f51\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authTokenRequest\",\r\n defaultValue: '{}',\r\n },\r\n {\r\n type: \"object\",\r\n name: \"originalRequestInfo\",\r\n defaultValue: JSON.stringify({\r\n requestType: \"ActionExecuteInvokeRequest\",\r\n type: \"Action.Execute\",\r\n id: \"mockId\",\r\n verb: \"verb\",\r\n data: \"data\",\r\n }),\r\n }\r\n ],\r\n action: function (appId, convId, authTokenRequest, originalRequestInfo, output) {\r\n microsoftTeams.externalAppAuthenticationForCEA\r\n .authenticateWithSSOAndResendRequest(appId, convId, authTokenRequest, originalRequestInfo)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppAuthentication.authenticateWithOauthAndResendRequestForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f46ad259-0fe5-4f12-872d-c737b174bcb4\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"authenticateParameters\",\r\n defaultValue: JSON.stringify({\r\n url: new URL(\"https://ccmsteams.integrations.adobe.com/auth/v2/login?width=600&height=600&mode=bot\"),\r\n isExternal: true,\r\n }),\r\n },\r\n {\r\n type: \"object\",\r\n name: \"originalRequestInfo\",\r\n defaultValue: JSON.stringify({\r\n requestType: \"ActionExecuteInvokeRequest\",\r\n type: \"Action.Execute\",\r\n id: \"mockId\",\r\n verb: \"verb\",\r\n data: \"data\",\r\n }),\r\n }\r\n ],\r\n action: function (appId, convId, authenticateParameters, originalRequestInfo, output) {\r\n microsoftTeams.externalAppAuthenticationForCEA\r\n .authenticateAndResendRequest(appId, convId, authenticateParameters, originalRequestInfo)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppCardActions.processActionSubmitForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"object\",\r\n name: \"actionSubmitPayload\",\r\n defaultValue: JSON.stringify({\r\n id: \"submitActionId\",\r\n title: \"title\",\r\n data: {\r\n msteams: {\r\n type: \"invoke\",\r\n }\r\n }\r\n })\r\n }\r\n ],\r\n action: function (appId, convId, actionSubmitPayload, output) {\r\n microsoftTeams.externalAppCardActionsForCEA\r\n .processActionSubmit(appId, convId, actionSubmitPayload)\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"ExternalAppCardActions.processActionOpenUrlForCEA\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n inputs: [\r\n {\r\n type: \"string\",\r\n name: \"appId\",\r\n defaultValue: \"f350a51f-0251-47f2-b355-e0819a1bc44a\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"convId\",\r\n defaultValue: \"mockConvId\"\r\n },\r\n {\r\n type: \"string\",\r\n name: \"url\",\r\n defaultValue: \"https://bing.com\"\r\n }\r\n ],\r\n action: function (appId, convId, url, output) {\r\n microsoftTeams.externalAppCardActionsForCEA\r\n .processActionOpenUrl(appId, convId, new URL(url))\r\n .then((result) => {\r\n output(result);\r\n })\r\n .catch((error) => {\r\n output(error);\r\n });\r\n },\r\n });\r\n addModule({\r\n name: \"nestedAppAuth.isNAAChannelRecommended\",\r\n initializedRequired: true,\r\n hasOutput: true,\r\n action: function (output) {\r\n output(microsoftTeams.nestedAppAuth.isNAAChannelRecommended());\r\n },\r\n });\r\n // Get the modal\r\n var modal = document.getElementById(\"myModal\");\r\n // Get the element that closes the modal\r\n var span = document.getElementsByClassName(\"close\")[0];\r\n // When the user clicks on (x), close the modal\r\n span.onclick = function () {\r\n modal.style.display = \"none\";\r\n };\r\n // When the user clicks anywhere outside of the modal, close it\r\n window.onclick = function (event) {\r\n if (event.target == modal) {\r\n modal.style.display = \"none\";\r\n }\r\n };\r\n // Add handling for F6 and Ctrl/Cmd + F6\r\n document.addEventListener('keydown', (event) => {\r\n if (event.keyCode === 117) {\r\n event.cancelBubble = true;\r\n event.preventDefault();\r\n event.stopImmediatePropagation();\r\n const navigateForward = !(event.ctrlKey || event.metaKey);\r\n microsoftTeams.pages.returnFocus(navigateForward);\r\n }\r\n });\r\n const url = new URL(window.location.href);\r\n if (url.searchParams.get(\"simulateTimeout\")) {\r\n console.log(\"Simulating timeout by not calling notifySuccess\");\r\n }\r\n else if (url.searchParams.get(\"simulateFailure\")) {\r\n microsoftTeams.appInitialization.notifyFailure({\r\n reason: microsoftTeams.appInitialization.FailedReason.Other\r\n });\r\n }\r\n else {\r\n microsoftTeams.appInitialization.notifySuccess();\r\n }\r\n};\r\n","import { container, restoreState, saveState, downloadHandler, filterHandler, initializeNavigation } from \"./utils\";\r\nimport { renderPage } from \"./app\";\r\nimport { teamsCore } from \"@microsoft/teams-js\";\r\n(function () {\r\n const params = new URLSearchParams(window.location.search);\r\n const basePage = params.get(\"basepage\");\r\n const displayName = params.get(\"displayname\");\r\n renderPage(displayName, basePage === \"true\");\r\n initializeNavigation(params);\r\n document.body.appendChild(container);\r\n // Give the DOM a chance to update from the appendChild above\r\n setTimeout(restoreState, 0);\r\n window.addEventListener(\"beforeunload\", saveState);\r\n window.addEventListener(\"load\", () => {\r\n downloadHandler();\r\n filterHandler();\r\n });\r\n // Define global functions for use from html files\r\n window.enablePrintCapability = () => {\r\n teamsCore.enablePrintCapability();\r\n };\r\n window.printHandler = () => {\r\n window.print();\r\n };\r\n})();\r\n"],"names":[],"sourceRoot":""}