if (window.performance && window.performance.mark) { window.performance.mark('startLoadBundleInner-view'); }
/*!
 * Knockout JavaScript library v3.5.1
 * (c) The Knockout.js team - http://knockoutjs.com/
 * License: MIT (http://www.opensource.org/licenses/mit-license.php)
 */

(function() {(function(n){var A=this||(0,eval)("this"),w=A.document,R=A.navigator,v=A.jQuery,H=A.JSON;v||"undefined"===typeof jQuery||(v=jQuery);(function(n){"function"===typeof define&&define.amd?define("knockout",["exports","require"],n):"object"===typeof exports&&"object"===typeof module?n(module.exports||exports):n(A.ko={})})(function(S,T){function K(a,c){return null===a||typeof a in W?a===c:!1}function X(b,c){var d;return function(){d||(d=a.a.setTimeout(function(){d=n;b()},c))}}function Y(b,c){var d;return function(){clearTimeout(d);
d=a.a.setTimeout(b,c)}}function Z(a,c){c&&"change"!==c?"beforeChange"===c?this.pc(a):this.gb(a,c):this.qc(a)}function aa(a,c){null!==c&&c.s&&c.s()}function ba(a,c){var d=this.qd,e=d[r];e.ra||(this.Qb&&this.mb[c]?(d.uc(c,a,this.mb[c]),this.mb[c]=null,--this.Qb):e.I[c]||d.uc(c,a,e.J?{da:a}:d.$c(a)),a.Ja&&a.gd())}var a="undefined"!==typeof S?S:{};a.b=function(b,c){for(var d=b.split("."),e=a,f=0;f<d.length-1;f++)e=e[d[f]];e[d[d.length-1]]=c};a.L=function(a,c,d){a[c]=d};a.version="3.5.1";a.b("version",
a.version);a.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1};a.a=function(){function b(a,b){for(var c in a)f.call(a,c)&&b(c,a[c])}function c(a,b){if(b)for(var c in b)f.call(b,c)&&(a[c]=b[c]);return a}function d(a,b){a.__proto__=b;return a}function e(b,c,d,e){var l=b[c].match(q)||[];a.a.D(d.match(q),function(b){a.a.Na(l,b,e)});b[c]=l.join(" ")}var f=Object.prototype.hasOwnProperty,g={__proto__:[]}instanceof Array,h="function"===typeof Symbol,m={},k={};m[R&&/Firefox\/2/i.test(R.userAgent)?
"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"];m.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" ");b(m,function(a,b){if(b.length)for(var c=0,d=b.length;c<d;c++)k[b[c]]=a});var l={propertychange:!0},p=w&&function(){for(var a=3,b=w.createElement("div"),c=b.getElementsByTagName("i");b.innerHTML="\x3c!--[if gt IE "+ ++a+"]><i></i><![endif]--\x3e",c[0];);return 4<a?a:n}(),q=/\S+/g,t;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],
D:function(a,b,c){for(var d=0,e=a.length;d<e;d++)b.call(c,a[d],d,a)},A:"function"==typeof Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b)}:function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},Lb:function(a,b,c){for(var d=0,e=a.length;d<e;d++)if(b.call(c,a[d],d,a))return a[d];return n},Pa:function(b,c){var d=a.a.A(b,c);0<d?b.splice(d,1):0===d&&b.shift()},wc:function(b){var c=[];b&&a.a.D(b,function(b){0>a.a.A(c,b)&&c.push(b)});return c},Mb:function(a,
b,c){var d=[];if(a)for(var e=0,l=a.length;e<l;e++)d.push(b.call(c,a[e],e));return d},jb:function(a,b,c){var d=[];if(a)for(var e=0,l=a.length;e<l;e++)b.call(c,a[e],e)&&d.push(a[e]);return d},Nb:function(a,b){if(b instanceof Array)a.push.apply(a,b);else for(var c=0,d=b.length;c<d;c++)a.push(b[c]);return a},Na:function(b,c,d){var e=a.a.A(a.a.bc(b),c);0>e?d&&b.push(c):d||b.splice(e,1)},Ba:g,extend:c,setPrototypeOf:d,Ab:g?d:c,P:b,Ga:function(a,b,c){if(!a)return a;var d={},e;for(e in a)f.call(a,e)&&(d[e]=
b.call(c,a[e],e,a));return d},Tb:function(b){for(;b.firstChild;)a.removeNode(b.firstChild)},Yb:function(b){b=a.a.la(b);for(var c=(b[0]&&b[0].ownerDocument||w).createElement("div"),d=0,e=b.length;d<e;d++)c.appendChild(a.oa(b[d]));return c},Ca:function(b,c){for(var d=0,e=b.length,l=[];d<e;d++){var k=b[d].cloneNode(!0);l.push(c?a.oa(k):k)}return l},va:function(b,c){a.a.Tb(b);if(c)for(var d=0,e=c.length;d<e;d++)b.appendChild(c[d])},Xc:function(b,c){var d=b.nodeType?[b]:b;if(0<d.length){for(var e=d[0],
l=e.parentNode,k=0,f=c.length;k<f;k++)l.insertBefore(c[k],e);k=0;for(f=d.length;k<f;k++)a.removeNode(d[k])}},Ua:function(a,b){if(a.length){for(b=8===b.nodeType&&b.parentNode||b;a.length&&a[0].parentNode!==b;)a.splice(0,1);for(;1<a.length&&a[a.length-1].parentNode!==b;)a.length--;if(1<a.length){var c=a[0],d=a[a.length-1];for(a.length=0;c!==d;)a.push(c),c=c.nextSibling;a.push(d)}}return a},Zc:function(a,b){7>p?a.setAttribute("selected",b):a.selected=b},Db:function(a){return null===a||a===n?"":a.trim?
a.trim():a.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(a,b){a=a||"";return b.length>a.length?!1:a.substring(0,b.length)===b},vd:function(a,b){if(a===b)return!0;if(11===a.nodeType)return!1;if(b.contains)return b.contains(1!==a.nodeType?a.parentNode:a);if(b.compareDocumentPosition)return 16==(b.compareDocumentPosition(a)&16);for(;a&&a!=b;)a=a.parentNode;return!!a},Sb:function(b){return a.a.vd(b,b.ownerDocument.documentElement)},kd:function(b){return!!a.a.Lb(b,a.a.Sb)},R:function(a){return a&&
a.tagName&&a.tagName.toLowerCase()},Ac:function(b){return a.onError?function(){try{return b.apply(this,arguments)}catch(c){throw a.onError&&a.onError(c),c;}}:b},setTimeout:function(b,c){return setTimeout(a.a.Ac(b),c)},Gc:function(b){setTimeout(function(){a.onError&&a.onError(b);throw b;},0)},B:function(b,c,d){var e=a.a.Ac(d);d=l[c];if(a.options.useOnlyNativeEvents||d||!v)if(d||"function"!=typeof b.addEventListener)if("undefined"!=typeof b.attachEvent){var k=function(a){e.call(b,a)},f="on"+c;b.attachEvent(f,
k);a.a.K.za(b,function(){b.detachEvent(f,k)})}else throw Error("Browser doesn't support addEventListener or attachEvent");else b.addEventListener(c,e,!1);else t||(t="function"==typeof v(b).on?"on":"bind"),v(b)[t](c,e)},Fb:function(b,c){if(!b||!b.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var d;"input"===a.a.R(b)&&b.type&&"click"==c.toLowerCase()?(d=b.type,d="checkbox"==d||"radio"==d):d=!1;if(a.options.useOnlyNativeEvents||!v||d)if("function"==typeof w.createEvent)if("function"==
typeof b.dispatchEvent)d=w.createEvent(k[c]||"HTMLEvents"),d.initEvent(c,!0,!0,A,0,0,0,0,0,!1,!1,!1,!1,0,b),b.dispatchEvent(d);else throw Error("The supplied element doesn't support dispatchEvent");else if(d&&b.click)b.click();else if("undefined"!=typeof b.fireEvent)b.fireEvent("on"+c);else throw Error("Browser doesn't support triggering events");else v(b).trigger(c)},f:function(b){return a.O(b)?b():b},bc:function(b){return a.O(b)?b.v():b},Eb:function(b,c,d){var l;c&&("object"===typeof b.classList?
(l=b.classList[d?"add":"remove"],a.a.D(c.match(q),function(a){l.call(b.classList,a)})):"string"===typeof b.className.baseVal?e(b.className,"baseVal",c,d):e(b,"className",c,d))},Bb:function(b,c){var d=a.a.f(c);if(null===d||d===n)d="";var e=a.h.firstChild(b);!e||3!=e.nodeType||a.h.nextSibling(e)?a.h.va(b,[b.ownerDocument.createTextNode(d)]):e.data=d;a.a.Ad(b)},Yc:function(a,b){a.name=b;if(7>=p)try{var c=a.name.replace(/[&<>'"]/g,function(a){return"&#"+a.charCodeAt(0)+";"});a.mergeAttributes(w.createElement("<input name='"+
c+"'/>"),!1)}catch(d){}},Ad:function(a){9<=p&&(a=1==a.nodeType?a:a.parentNode,a.style&&(a.style.zoom=a.style.zoom))},wd:function(a){if(p){var b=a.style.width;a.style.width=0;a.style.width=b}},Pd:function(b,c){b=a.a.f(b);c=a.a.f(c);for(var d=[],e=b;e<=c;e++)d.push(e);return d},la:function(a){for(var b=[],c=0,d=a.length;c<d;c++)b.push(a[c]);return b},Da:function(a){return h?Symbol(a):a},Zd:6===p,$d:7===p,W:p,Lc:function(b,c){for(var d=a.a.la(b.getElementsByTagName("input")).concat(a.a.la(b.getElementsByTagName("textarea"))),
e="string"==typeof c?function(a){return a.name===c}:function(a){return c.test(a.name)},l=[],k=d.length-1;0<=k;k--)e(d[k])&&l.push(d[k]);return l},Nd:function(b){return"string"==typeof b&&(b=a.a.Db(b))?H&&H.parse?H.parse(b):(new Function("return "+b))():null},hc:function(b,c,d){if(!H||!H.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");
return H.stringify(a.a.f(b),c,d)},Od:function(c,d,e){e=e||{};var l=e.params||{},k=e.includeFields||this.Jc,f=c;if("object"==typeof c&&"form"===a.a.R(c))for(var f=c.action,h=k.length-1;0<=h;h--)for(var g=a.a.Lc(c,k[h]),m=g.length-1;0<=m;m--)l[g[m].name]=g[m].value;d=a.a.f(d);var p=w.createElement("form");p.style.display="none";p.action=f;p.method="post";for(var q in d)c=w.createElement("input"),c.type="hidden",c.name=q,c.value=a.a.hc(a.a.f(d[q])),p.appendChild(c);b(l,function(a,b){var c=w.createElement("input");
c.type="hidden";c.name=a;c.value=b;p.appendChild(c)});w.body.appendChild(p);e.submitter?e.submitter(p):p.submit();setTimeout(function(){p.parentNode.removeChild(p)},0)}}}();a.b("utils",a.a);a.b("utils.arrayForEach",a.a.D);a.b("utils.arrayFirst",a.a.Lb);a.b("utils.arrayFilter",a.a.jb);a.b("utils.arrayGetDistinctValues",a.a.wc);a.b("utils.arrayIndexOf",a.a.A);a.b("utils.arrayMap",a.a.Mb);a.b("utils.arrayPushAll",a.a.Nb);a.b("utils.arrayRemoveItem",a.a.Pa);a.b("utils.cloneNodes",a.a.Ca);a.b("utils.createSymbolOrString",
a.a.Da);a.b("utils.extend",a.a.extend);a.b("utils.fieldsIncludedWithJsonPost",a.a.Jc);a.b("utils.getFormFields",a.a.Lc);a.b("utils.objectMap",a.a.Ga);a.b("utils.peekObservable",a.a.bc);a.b("utils.postJson",a.a.Od);a.b("utils.parseJson",a.a.Nd);a.b("utils.registerEventHandler",a.a.B);a.b("utils.stringifyJson",a.a.hc);a.b("utils.range",a.a.Pd);a.b("utils.toggleDomNodeCssClass",a.a.Eb);a.b("utils.triggerEvent",a.a.Fb);a.b("utils.unwrapObservable",a.a.f);a.b("utils.objectForEach",a.a.P);a.b("utils.addOrRemoveItem",
a.a.Na);a.b("utils.setTextContent",a.a.Bb);a.b("unwrap",a.a.f);Function.prototype.bind||(Function.prototype.bind=function(a){var c=this;if(1===arguments.length)return function(){return c.apply(a,arguments)};var d=Array.prototype.slice.call(arguments,1);return function(){var e=d.slice(0);e.push.apply(e,arguments);return c.apply(a,e)}});a.a.g=new function(){var b=0,c="__ko__"+(new Date).getTime(),d={},e,f;a.a.W?(e=function(a,e){var f=a[c];if(!f||"null"===f||!d[f]){if(!e)return n;f=a[c]="ko"+b++;d[f]=
{}}return d[f]},f=function(a){var b=a[c];return b?(delete d[b],a[c]=null,!0):!1}):(e=function(a,b){var d=a[c];!d&&b&&(d=a[c]={});return d},f=function(a){return a[c]?(delete a[c],!0):!1});return{get:function(a,b){var c=e(a,!1);return c&&c[b]},set:function(a,b,c){(a=e(a,c!==n))&&(a[b]=c)},Ub:function(a,b,c){a=e(a,!0);return a[b]||(a[b]=c)},clear:f,Z:function(){return b++ +c}}};a.b("utils.domData",a.a.g);a.b("utils.domData.clear",a.a.g.clear);a.a.K=new function(){function b(b,c){var d=a.a.g.get(b,e);
d===n&&c&&(d=[],a.a.g.set(b,e,d));return d}function c(c){var e=b(c,!1);if(e)for(var e=e.slice(0),k=0;k<e.length;k++)e[k](c);a.a.g.clear(c);a.a.K.cleanExternalData(c);g[c.nodeType]&&d(c.childNodes,!0)}function d(b,d){for(var e=[],l,f=0;f<b.length;f++)if(!d||8===b[f].nodeType)if(c(e[e.length]=l=b[f]),b[f]!==l)for(;f--&&-1==a.a.A(e,b[f]););}var e=a.a.g.Z(),f={1:!0,8:!0,9:!0},g={1:!0,9:!0};return{za:function(a,c){if("function"!=typeof c)throw Error("Callback must be a function");b(a,!0).push(c)},yb:function(c,
d){var f=b(c,!1);f&&(a.a.Pa(f,d),0==f.length&&a.a.g.set(c,e,n))},oa:function(b){a.u.G(function(){f[b.nodeType]&&(c(b),g[b.nodeType]&&d(b.getElementsByTagName("*")))});return b},removeNode:function(b){a.oa(b);b.parentNode&&b.parentNode.removeChild(b)},cleanExternalData:function(a){v&&"function"==typeof v.cleanData&&v.cleanData([a])}}};a.oa=a.a.K.oa;a.removeNode=a.a.K.removeNode;a.b("cleanNode",a.oa);a.b("removeNode",a.removeNode);a.b("utils.domNodeDisposal",a.a.K);a.b("utils.domNodeDisposal.addDisposeCallback",
a.a.K.za);a.b("utils.domNodeDisposal.removeDisposeCallback",a.a.K.yb);(function(){var b=[0,"",""],c=[1,"<table>","</table>"],d=[3,"<table><tbody><tr>","</tr></tbody></table>"],e=[1,"<select multiple='multiple'>","</select>"],f={thead:c,tbody:c,tfoot:c,tr:[2,"<table><tbody>","</tbody></table>"],td:d,th:d,option:e,optgroup:e},g=8>=a.a.W;a.a.ua=function(c,d){var e;if(v)if(v.parseHTML)e=v.parseHTML(c,d)||[];else{if((e=v.clean([c],d))&&e[0]){for(var l=e[0];l.parentNode&&11!==l.parentNode.nodeType;)l=l.parentNode;
l.parentNode&&l.parentNode.removeChild(l)}}else{(e=d)||(e=w);var l=e.parentWindow||e.defaultView||A,p=a.a.Db(c).toLowerCase(),q=e.createElement("div"),t;t=(p=p.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&f[p[1]]||b;p=t[0];t="ignored<div>"+t[1]+c+t[2]+"</div>";"function"==typeof l.innerShiv?q.appendChild(l.innerShiv(t)):(g&&e.body.appendChild(q),q.innerHTML=t,g&&q.parentNode.removeChild(q));for(;p--;)q=q.lastChild;e=a.a.la(q.lastChild.childNodes)}return e};a.a.Md=function(b,c){var d=a.a.ua(b,
c);return d.length&&d[0].parentElement||a.a.Yb(d)};a.a.fc=function(b,c){a.a.Tb(b);c=a.a.f(c);if(null!==c&&c!==n)if("string"!=typeof c&&(c=c.toString()),v)v(b).html(c);else for(var d=a.a.ua(c,b.ownerDocument),e=0;e<d.length;e++)b.appendChild(d[e])}})();a.b("utils.parseHtmlFragment",a.a.ua);a.b("utils.setHtml",a.a.fc);a.aa=function(){function b(c,e){if(c)if(8==c.nodeType){var f=a.aa.Uc(c.nodeValue);null!=f&&e.push({ud:c,Kd:f})}else if(1==c.nodeType)for(var f=0,g=c.childNodes,h=g.length;f<h;f++)b(g[f],
e)}var c={};return{Xb:function(a){if("function"!=typeof a)throw Error("You can only pass a function to ko.memoization.memoize()");var b=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);c[b]=a;return"\x3c!--[ko_memo:"+b+"]--\x3e"},bd:function(a,b){var f=c[a];if(f===n)throw Error("Couldn't find any memo with ID "+a+". Perhaps it's already been unmemoized.");try{return f.apply(null,b||[]),!0}finally{delete c[a]}},cd:function(c,e){var f=
[];b(c,f);for(var g=0,h=f.length;g<h;g++){var m=f[g].ud,k=[m];e&&a.a.Nb(k,e);a.aa.bd(f[g].Kd,k);m.nodeValue="";m.parentNode&&m.parentNode.removeChild(m)}},Uc:function(a){return(a=a.match(/^\[ko_memo\:(.*?)\]$/))?a[1]:null}}}();a.b("memoization",a.aa);a.b("memoization.memoize",a.aa.Xb);a.b("memoization.unmemoize",a.aa.bd);a.b("memoization.parseMemoText",a.aa.Uc);a.b("memoization.unmemoizeDomNodeAndDescendants",a.aa.cd);a.na=function(){function b(){if(f)for(var b=f,c=0,d;h<f;)if(d=e[h++]){if(h>b){if(5E3<=
++c){h=f;a.a.Gc(Error("'Too much recursion' after processing "+c+" task groups."));break}b=f}try{d()}catch(p){a.a.Gc(p)}}}function c(){b();h=f=e.length=0}var d,e=[],f=0,g=1,h=0;A.MutationObserver?d=function(a){var b=w.createElement("div");(new MutationObserver(a)).observe(b,{attributes:!0});return function(){b.classList.toggle("foo")}}(c):d=w&&"onreadystatechange"in w.createElement("script")?function(a){var b=w.createElement("script");b.onreadystatechange=function(){b.onreadystatechange=null;w.documentElement.removeChild(b);
b=null;a()};w.documentElement.appendChild(b)}:function(a){setTimeout(a,0)};return{scheduler:d,zb:function(b){f||a.na.scheduler(c);e[f++]=b;return g++},cancel:function(a){a=a-(g-f);a>=h&&a<f&&(e[a]=null)},resetForTesting:function(){var a=f-h;h=f=e.length=0;return a},Sd:b}}();a.b("tasks",a.na);a.b("tasks.schedule",a.na.zb);a.b("tasks.runEarly",a.na.Sd);a.Ta={throttle:function(b,c){b.throttleEvaluation=c;var d=null;return a.$({read:b,write:function(e){clearTimeout(d);d=a.a.setTimeout(function(){b(e)},
c)}})},rateLimit:function(a,c){var d,e,f;"number"==typeof c?d=c:(d=c.timeout,e=c.method);a.Hb=!1;f="function"==typeof e?e:"notifyWhenChangesStop"==e?Y:X;a.ub(function(a){return f(a,d,c)})},deferred:function(b,c){if(!0!==c)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");b.Hb||(b.Hb=!0,b.ub(function(c){var e,f=!1;return function(){if(!f){a.na.cancel(e);e=a.na.zb(c);try{f=!0,b.notifySubscribers(n,"dirty")}finally{f=
!1}}}}))},notify:function(a,c){a.equalityComparer="always"==c?null:K}};var W={undefined:1,"boolean":1,number:1,string:1};a.b("extenders",a.Ta);a.ic=function(b,c,d){this.da=b;this.lc=c;this.mc=d;this.Ib=!1;this.fb=this.Jb=null;a.L(this,"dispose",this.s);a.L(this,"disposeWhenNodeIsRemoved",this.l)};a.ic.prototype.s=function(){this.Ib||(this.fb&&a.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)};a.ic.prototype.l=function(b){this.Jb=b;a.a.K.za(b,this.fb=this.s.bind(this))};
a.T=function(){a.a.Ab(this,D);D.qb(this)};var D={qb:function(a){a.U={change:[]};a.sc=1},subscribe:function(b,c,d){var e=this;d=d||"change";var f=new a.ic(e,c?b.bind(c):b,function(){a.a.Pa(e.U[d],f);e.hb&&e.hb(d)});e.Qa&&e.Qa(d);e.U[d]||(e.U[d]=[]);e.U[d].push(f);return f},notifySubscribers:function(b,c){c=c||"change";"change"===c&&this.Gb();if(this.Wa(c)){var d="change"===c&&this.ed||this.U[c].slice(0);try{a.u.xc();for(var e=0,f;f=d[e];++e)f.Ib||f.lc(b)}finally{a.u.end()}}},ob:function(){return this.sc},
Dd:function(a){return this.ob()!==a},Gb:function(){++this.sc},ub:function(b){var c=this,d=a.O(c),e,f,g,h,m;c.gb||(c.gb=c.notifySubscribers,c.notifySubscribers=Z);var k=b(function(){c.Ja=!1;d&&h===c&&(h=c.nc?c.nc():c());var a=f||m&&c.sb(g,h);m=f=e=!1;a&&c.gb(g=h)});c.qc=function(a,b){b&&c.Ja||(m=!b);c.ed=c.U.change.slice(0);c.Ja=e=!0;h=a;k()};c.pc=function(a){e||(g=a,c.gb(a,"beforeChange"))};c.rc=function(){m=!0};c.gd=function(){c.sb(g,c.v(!0))&&(f=!0)}},Wa:function(a){return this.U[a]&&this.U[a].length},
Bd:function(b){if(b)return this.U[b]&&this.U[b].length||0;var c=0;a.a.P(this.U,function(a,b){"dirty"!==a&&(c+=b.length)});return c},sb:function(a,c){return!this.equalityComparer||!this.equalityComparer(a,c)},toString:function(){return"[object Object]"},extend:function(b){var c=this;b&&a.a.P(b,function(b,e){var f=a.Ta[b];"function"==typeof f&&(c=f(c,e)||c)});return c}};a.L(D,"init",D.qb);a.L(D,"subscribe",D.subscribe);a.L(D,"extend",D.extend);a.L(D,"getSubscriptionsCount",D.Bd);a.a.Ba&&a.a.setPrototypeOf(D,
Function.prototype);a.T.fn=D;a.Qc=function(a){return null!=a&&"function"==typeof a.subscribe&&"function"==typeof a.notifySubscribers};a.b("subscribable",a.T);a.b("isSubscribable",a.Qc);a.S=a.u=function(){function b(a){d.push(e);e=a}function c(){e=d.pop()}var d=[],e,f=0;return{xc:b,end:c,cc:function(b){if(e){if(!a.Qc(b))throw Error("Only subscribable things can act as dependencies");e.od.call(e.pd,b,b.fd||(b.fd=++f))}},G:function(a,d,e){try{return b(),a.apply(d,e||[])}finally{c()}},qa:function(){if(e)return e.o.qa()},
Va:function(){if(e)return e.o.Va()},Ya:function(){if(e)return e.Ya},o:function(){if(e)return e.o}}}();a.b("computedContext",a.S);a.b("computedContext.getDependenciesCount",a.S.qa);a.b("computedContext.getDependencies",a.S.Va);a.b("computedContext.isInitial",a.S.Ya);a.b("computedContext.registerDependency",a.S.cc);a.b("ignoreDependencies",a.Yd=a.u.G);var I=a.a.Da("_latestValue");a.ta=function(b){function c(){if(0<arguments.length)return c.sb(c[I],arguments[0])&&(c.ya(),c[I]=arguments[0],c.xa()),this;
a.u.cc(c);return c[I]}c[I]=b;a.a.Ba||a.a.extend(c,a.T.fn);a.T.fn.qb(c);a.a.Ab(c,F);a.options.deferUpdates&&a.Ta.deferred(c,!0);return c};var F={equalityComparer:K,v:function(){return this[I]},xa:function(){this.notifySubscribers(this[I],"spectate");this.notifySubscribers(this[I])},ya:function(){this.notifySubscribers(this[I],"beforeChange")}};a.a.Ba&&a.a.setPrototypeOf(F,a.T.fn);var G=a.ta.Ma="__ko_proto__";F[G]=a.ta;a.O=function(b){if((b="function"==typeof b&&b[G])&&b!==F[G]&&b!==a.o.fn[G])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");
return!!b};a.Za=function(b){return"function"==typeof b&&(b[G]===F[G]||b[G]===a.o.fn[G]&&b.Nc)};a.b("observable",a.ta);a.b("isObservable",a.O);a.b("isWriteableObservable",a.Za);a.b("isWritableObservable",a.Za);a.b("observable.fn",F);a.L(F,"peek",F.v);a.L(F,"valueHasMutated",F.xa);a.L(F,"valueWillMutate",F.ya);a.Ha=function(b){b=b||[];if("object"!=typeof b||!("length"in b))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");b=a.ta(b);a.a.Ab(b,
a.Ha.fn);return b.extend({trackArrayChanges:!0})};a.Ha.fn={remove:function(b){for(var c=this.v(),d=[],e="function"!=typeof b||a.O(b)?function(a){return a===b}:b,f=0;f<c.length;f++){var g=c[f];if(e(g)){0===d.length&&this.ya();if(c[f]!==g)throw Error("Array modified during remove; cannot remove item");d.push(g);c.splice(f,1);f--}}d.length&&this.xa();return d},removeAll:function(b){if(b===n){var c=this.v(),d=c.slice(0);this.ya();c.splice(0,c.length);this.xa();return d}return b?this.remove(function(c){return 0<=
a.a.A(b,c)}):[]},destroy:function(b){var c=this.v(),d="function"!=typeof b||a.O(b)?function(a){return a===b}:b;this.ya();for(var e=c.length-1;0<=e;e--){var f=c[e];d(f)&&(f._destroy=!0)}this.xa()},destroyAll:function(b){return b===n?this.destroy(function(){return!0}):b?this.destroy(function(c){return 0<=a.a.A(b,c)}):[]},indexOf:function(b){var c=this();return a.a.A(c,b)},replace:function(a,c){var d=this.indexOf(a);0<=d&&(this.ya(),this.v()[d]=c,this.xa())},sorted:function(a){var c=this().slice(0);
return a?c.sort(a):c.sort()},reversed:function(){return this().slice(0).reverse()}};a.a.Ba&&a.a.setPrototypeOf(a.Ha.fn,a.ta.fn);a.a.D("pop push reverse shift sort splice unshift".split(" "),function(b){a.Ha.fn[b]=function(){var a=this.v();this.ya();this.zc(a,b,arguments);var d=a[b].apply(a,arguments);this.xa();return d===a?this:d}});a.a.D(["slice"],function(b){a.Ha.fn[b]=function(){var a=this();return a[b].apply(a,arguments)}});a.Pc=function(b){return a.O(b)&&"function"==typeof b.remove&&"function"==
typeof b.push};a.b("observableArray",a.Ha);a.b("isObservableArray",a.Pc);a.Ta.trackArrayChanges=function(b,c){function d(){function c(){if(m){var d=[].concat(b.v()||[]),e;if(b.Wa("arrayChange")){if(!f||1<m)f=a.a.Pb(k,d,b.Ob);e=f}k=d;f=null;m=0;e&&e.length&&b.notifySubscribers(e,"arrayChange")}}e?c():(e=!0,h=b.subscribe(function(){++m},null,"spectate"),k=[].concat(b.v()||[]),f=null,g=b.subscribe(c))}b.Ob={};c&&"object"==typeof c&&a.a.extend(b.Ob,c);b.Ob.sparse=!0;if(!b.zc){var e=!1,f=null,g,h,m=0,
k,l=b.Qa,p=b.hb;b.Qa=function(a){l&&l.call(b,a);"arrayChange"===a&&d()};b.hb=function(a){p&&p.call(b,a);"arrayChange"!==a||b.Wa("arrayChange")||(g&&g.s(),h&&h.s(),h=g=null,e=!1,k=n)};b.zc=function(b,c,d){function l(a,b,c){return k[k.length]={status:a,value:b,index:c}}if(e&&!m){var k=[],p=b.length,g=d.length,h=0;switch(c){case "push":h=p;case "unshift":for(c=0;c<g;c++)l("added",d[c],h+c);break;case "pop":h=p-1;case "shift":p&&l("deleted",b[h],h);break;case "splice":c=Math.min(Math.max(0,0>d[0]?p+d[0]:
d[0]),p);for(var p=1===g?p:Math.min(c+(d[1]||0),p),g=c+g-2,h=Math.max(p,g),U=[],L=[],n=2;c<h;++c,++n)c<p&&L.push(l("deleted",b[c],c)),c<g&&U.push(l("added",d[n],c));a.a.Kc(L,U);break;default:return}f=k}}}};var r=a.a.Da("_state");a.o=a.$=function(b,c,d){function e(){if(0<arguments.length){if("function"===typeof f)f.apply(g.nb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}g.ra||
a.u.cc(e);(g.ka||g.J&&e.Xa())&&e.ha();return g.X}"object"===typeof b?d=b:(d=d||{},b&&(d.read=b));if("function"!=typeof d.read)throw Error("Pass a function that returns the value of the ko.computed");var f=d.write,g={X:n,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:d.read,nb:c||d.owner,l:d.disposeWhenNodeIsRemoved||d.l||null,Sa:d.disposeWhen||d.Sa,Rb:null,I:{},V:0,Ic:null};e[r]=g;e.Nc="function"===typeof f;a.a.Ba||a.a.extend(e,a.T.fn);a.T.fn.qb(e);a.a.Ab(e,C);d.pure?(g.wb=!0,g.J=!0,a.a.extend(e,da)):
d.deferEvaluation&&a.a.extend(e,ea);a.options.deferUpdates&&a.Ta.deferred(e,!0);g.l&&(g.jc=!0,g.l.nodeType||(g.l=null));g.J||d.deferEvaluation||e.ha();g.l&&e.ja()&&a.a.K.za(g.l,g.Rb=function(){e.s()});return e};var C={equalityComparer:K,qa:function(){return this[r].V},Va:function(){var b=[];a.a.P(this[r].I,function(a,d){b[d.Ka]=d.da});return b},Vb:function(b){if(!this[r].V)return!1;var c=this.Va();return-1!==a.a.A(c,b)?!0:!!a.a.Lb(c,function(a){return a.Vb&&a.Vb(b)})},uc:function(a,c,d){if(this[r].wb&&
c===this)throw Error("A 'pure' computed must not be called recursively");this[r].I[a]=d;d.Ka=this[r].V++;d.La=c.ob()},Xa:function(){var a,c,d=this[r].I;for(a in d)if(Object.prototype.hasOwnProperty.call(d,a)&&(c=d[a],this.Ia&&c.da.Ja||c.da.Dd(c.La)))return!0},Jd:function(){this.Ia&&!this[r].rb&&this.Ia(!1)},ja:function(){var a=this[r];return a.ka||0<a.V},Rd:function(){this.Ja?this[r].ka&&(this[r].sa=!0):this.Hc()},$c:function(a){if(a.Hb){var c=a.subscribe(this.Jd,this,"dirty"),d=a.subscribe(this.Rd,
this);return{da:a,s:function(){c.s();d.s()}}}return a.subscribe(this.Hc,this)},Hc:function(){var b=this,c=b.throttleEvaluation;c&&0<=c?(clearTimeout(this[r].Ic),this[r].Ic=a.a.setTimeout(function(){b.ha(!0)},c)):b.Ia?b.Ia(!0):b.ha(!0)},ha:function(b){var c=this[r],d=c.Sa,e=!1;if(!c.rb&&!c.ra){if(c.l&&!a.a.Sb(c.l)||d&&d()){if(!c.jc){this.s();return}}else c.jc=!1;c.rb=!0;try{e=this.zd(b)}finally{c.rb=!1}return e}},zd:function(b){var c=this[r],d=!1,e=c.wb?n:!c.V,d={qd:this,mb:c.I,Qb:c.V};a.u.xc({pd:d,
od:ba,o:this,Ya:e});c.I={};c.V=0;var f=this.yd(c,d);c.V?d=this.sb(c.X,f):(this.s(),d=!0);d&&(c.J?this.Gb():this.notifySubscribers(c.X,"beforeChange"),c.X=f,this.notifySubscribers(c.X,"spectate"),!c.J&&b&&this.notifySubscribers(c.X),this.rc&&this.rc());e&&this.notifySubscribers(c.X,"awake");return d},yd:function(b,c){try{var d=b.Wc;return b.nb?d.call(b.nb):d()}finally{a.u.end(),c.Qb&&!b.J&&a.a.P(c.mb,aa),b.sa=b.ka=!1}},v:function(a){var c=this[r];(c.ka&&(a||!c.V)||c.J&&this.Xa())&&this.ha();return c.X},
ub:function(b){a.T.fn.ub.call(this,b);this.nc=function(){this[r].J||(this[r].sa?this.ha():this[r].ka=!1);return this[r].X};this.Ia=function(a){this.pc(this[r].X);this[r].ka=!0;a&&(this[r].sa=!0);this.qc(this,!a)}},s:function(){var b=this[r];!b.J&&b.I&&a.a.P(b.I,function(a,b){b.s&&b.s()});b.l&&b.Rb&&a.a.K.yb(b.l,b.Rb);b.I=n;b.V=0;b.ra=!0;b.sa=!1;b.ka=!1;b.J=!1;b.l=n;b.Sa=n;b.Wc=n;this.Nc||(b.nb=n)}},da={Qa:function(b){var c=this,d=c[r];if(!d.ra&&d.J&&"change"==b){d.J=!1;if(d.sa||c.Xa())d.I=null,d.V=
0,c.ha()&&c.Gb();else{var e=[];a.a.P(d.I,function(a,b){e[b.Ka]=a});a.a.D(e,function(a,b){var e=d.I[a],m=c.$c(e.da);m.Ka=b;m.La=e.La;d.I[a]=m});c.Xa()&&c.ha()&&c.Gb()}d.ra||c.notifySubscribers(d.X,"awake")}},hb:function(b){var c=this[r];c.ra||"change"!=b||this.Wa("change")||(a.a.P(c.I,function(a,b){b.s&&(c.I[a]={da:b.da,Ka:b.Ka,La:b.La},b.s())}),c.J=!0,this.notifySubscribers(n,"asleep"))},ob:function(){var b=this[r];b.J&&(b.sa||this.Xa())&&this.ha();return a.T.fn.ob.call(this)}},ea={Qa:function(a){"change"!=
a&&"beforeChange"!=a||this.v()}};a.a.Ba&&a.a.setPrototypeOf(C,a.T.fn);var N=a.ta.Ma;C[N]=a.o;a.Oc=function(a){return"function"==typeof a&&a[N]===C[N]};a.Fd=function(b){return a.Oc(b)&&b[r]&&b[r].wb};a.b("computed",a.o);a.b("dependentObservable",a.o);a.b("isComputed",a.Oc);a.b("isPureComputed",a.Fd);a.b("computed.fn",C);a.L(C,"peek",C.v);a.L(C,"dispose",C.s);a.L(C,"isActive",C.ja);a.L(C,"getDependenciesCount",C.qa);a.L(C,"getDependencies",C.Va);a.xb=function(b,c){if("function"===typeof b)return a.o(b,
c,{pure:!0});b=a.a.extend({},b);b.pure=!0;return a.o(b,c)};a.b("pureComputed",a.xb);(function(){function b(a,f,g){g=g||new d;a=f(a);if("object"!=typeof a||null===a||a===n||a instanceof RegExp||a instanceof Date||a instanceof String||a instanceof Number||a instanceof Boolean)return a;var h=a instanceof Array?[]:{};g.save(a,h);c(a,function(c){var d=f(a[c]);switch(typeof d){case "boolean":case "number":case "string":case "function":h[c]=d;break;case "object":case "undefined":var l=g.get(d);h[c]=l!==
n?l:b(d,f,g)}});return h}function c(a,b){if(a instanceof Array){for(var c=0;c<a.length;c++)b(c);"function"==typeof a.toJSON&&b("toJSON")}else for(c in a)b(c)}function d(){this.keys=[];this.values=[]}a.ad=function(c){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return b(c,function(b){for(var c=0;a.O(b)&&10>c;c++)b=b();return b})};a.toJSON=function(b,c,d){b=a.ad(b);return a.a.hc(b,c,d)};d.prototype={constructor:d,save:function(b,c){var d=a.a.A(this.keys,
b);0<=d?this.values[d]=c:(this.keys.push(b),this.values.push(c))},get:function(b){b=a.a.A(this.keys,b);return 0<=b?this.values[b]:n}}})();a.b("toJS",a.ad);a.b("toJSON",a.toJSON);a.Wd=function(b,c,d){function e(c){var e=a.xb(b,d).extend({ma:"always"}),h=e.subscribe(function(a){a&&(h.s(),c(a))});e.notifySubscribers(e.v());return h}return"function"!==typeof Promise||c?e(c.bind(d)):new Promise(e)};a.b("when",a.Wd);(function(){a.w={M:function(b){switch(a.a.R(b)){case "option":return!0===b.__ko__hasDomDataOptionValue__?
a.a.g.get(b,a.c.options.$b):7>=a.a.W?b.getAttributeNode("value")&&b.getAttributeNode("value").specified?b.value:b.text:b.value;case "select":return 0<=b.selectedIndex?a.w.M(b.options[b.selectedIndex]):n;default:return b.value}},cb:function(b,c,d){switch(a.a.R(b)){case "option":"string"===typeof c?(a.a.g.set(b,a.c.options.$b,n),"__ko__hasDomDataOptionValue__"in b&&delete b.__ko__hasDomDataOptionValue__,b.value=c):(a.a.g.set(b,a.c.options.$b,c),b.__ko__hasDomDataOptionValue__=!0,b.value="number"===
typeof c?c:"");break;case "select":if(""===c||null===c)c=n;for(var e=-1,f=0,g=b.options.length,h;f<g;++f)if(h=a.w.M(b.options[f]),h==c||""===h&&c===n){e=f;break}if(d||0<=e||c===n&&1<b.size)b.selectedIndex=e,6===a.a.W&&a.a.setTimeout(function(){b.selectedIndex=e},0);break;default:if(null===c||c===n)c="";b.value=c}}}})();a.b("selectExtensions",a.w);a.b("selectExtensions.readValue",a.w.M);a.b("selectExtensions.writeValue",a.w.cb);a.m=function(){function b(b){b=a.a.Db(b);123===b.charCodeAt(0)&&(b=b.slice(1,
-1));b+="\n,";var c=[],d=b.match(e),p,q=[],h=0;if(1<d.length){for(var x=0,B;B=d[x];++x){var u=B.charCodeAt(0);if(44===u){if(0>=h){c.push(p&&q.length?{key:p,value:q.join("")}:{unknown:p||q.join("")});p=h=0;q=[];continue}}else if(58===u){if(!h&&!p&&1===q.length){p=q.pop();continue}}else if(47===u&&1<B.length&&(47===B.charCodeAt(1)||42===B.charCodeAt(1)))continue;else 47===u&&x&&1<B.length?(u=d[x-1].match(f))&&!g[u[0]]&&(b=b.substr(b.indexOf(B)+1),d=b.match(e),x=-1,B="/"):40===u||123===u||91===u?++h:
41===u||125===u||93===u?--h:p||q.length||34!==u&&39!==u||(B=B.slice(1,-1));q.push(B)}if(0<h)throw Error("Unbalanced parentheses, braces, or brackets");}return c}var c=["true","false","null","undefined"],d=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,e=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),f=/[\])"'A-Za-z0-9_$]+$/,g={"in":1,"return":1,"typeof":1},
h={};return{Ra:[],wa:h,ac:b,vb:function(e,f){function l(b,e){var f;if(!x){var k=a.getBindingHandler(b);if(k&&k.preprocess&&!(e=k.preprocess(e,b,l)))return;if(k=h[b])f=e,0<=a.a.A(c,f)?f=!1:(k=f.match(d),f=null===k?!1:k[1]?"Object("+k[1]+")"+k[2]:f),k=f;k&&q.push("'"+("string"==typeof h[b]?h[b]:b)+"':function(_z){"+f+"=_z}")}g&&(e="function(){return "+e+" }");p.push("'"+b+"':"+e)}f=f||{};var p=[],q=[],g=f.valueAccessors,x=f.bindingParams,B="string"===typeof e?b(e):e;a.a.D(B,function(a){l(a.key||a.unknown,
a.value)});q.length&&l("_ko_property_writers","{"+q.join(",")+" }");return p.join(",")},Id:function(a,b){for(var c=0;c<a.length;c++)if(a[c].key==b)return!0;return!1},eb:function(b,c,d,e,f){if(b&&a.O(b))!a.Za(b)||f&&b.v()===e||b(e);else if((b=c.get("_ko_property_writers"))&&b[d])b[d](e)}}}();a.b("expressionRewriting",a.m);a.b("expressionRewriting.bindingRewriteValidators",a.m.Ra);a.b("expressionRewriting.parseObjectLiteral",a.m.ac);a.b("expressionRewriting.preProcessBindings",a.m.vb);a.b("expressionRewriting._twoWayBindings",
a.m.wa);a.b("jsonExpressionRewriting",a.m);a.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",a.m.vb);(function(){function b(a){return 8==a.nodeType&&g.test(f?a.text:a.nodeValue)}function c(a){return 8==a.nodeType&&h.test(f?a.text:a.nodeValue)}function d(d,e){for(var f=d,h=1,g=[];f=f.nextSibling;){if(c(f)&&(a.a.g.set(f,k,!0),h--,0===h))return g;g.push(f);b(f)&&h++}if(!e)throw Error("Cannot find closing comment tag to match: "+d.nodeValue);return null}function e(a,b){var c=d(a,b);return c?
0<c.length?c[c.length-1].nextSibling:a.nextSibling:null}var f=w&&"\x3c!--test--\x3e"===w.createComment("test").text,g=f?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,h=f?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,m={ul:!0,ol:!0},k="__ko_matchedEndComment__";a.h={ea:{},childNodes:function(a){return b(a)?d(a):a.childNodes},Ea:function(c){if(b(c)){c=a.h.childNodes(c);for(var d=0,e=c.length;d<e;d++)a.removeNode(c[d])}else a.a.Tb(c)},va:function(c,d){if(b(c)){a.h.Ea(c);for(var e=
c.nextSibling,f=0,k=d.length;f<k;f++)e.parentNode.insertBefore(d[f],e)}else a.a.va(c,d)},Vc:function(a,c){var d;b(a)?(d=a.nextSibling,a=a.parentNode):d=a.firstChild;d?c!==d&&a.insertBefore(c,d):a.appendChild(c)},Wb:function(c,d,e){e?(e=e.nextSibling,b(c)&&(c=c.parentNode),e?d!==e&&c.insertBefore(d,e):c.appendChild(d)):a.h.Vc(c,d)},firstChild:function(a){if(b(a))return!a.nextSibling||c(a.nextSibling)?null:a.nextSibling;if(a.firstChild&&c(a.firstChild))throw Error("Found invalid end comment, as the first child of "+
a);return a.firstChild},nextSibling:function(d){b(d)&&(d=e(d));if(d.nextSibling&&c(d.nextSibling)){var f=d.nextSibling;if(c(f)&&!a.a.g.get(f,k))throw Error("Found end comment without a matching opening comment, as child of "+d);return null}return d.nextSibling},Cd:b,Vd:function(a){return(a=(f?a.text:a.nodeValue).match(g))?a[1]:null},Sc:function(d){if(m[a.a.R(d)]){var f=d.firstChild;if(f){do if(1===f.nodeType){var k;k=f.firstChild;var h=null;if(k){do if(h)h.push(k);else if(b(k)){var g=e(k,!0);g?k=
g:h=[k]}else c(k)&&(h=[k]);while(k=k.nextSibling)}if(k=h)for(h=f.nextSibling,g=0;g<k.length;g++)h?d.insertBefore(k[g],h):d.appendChild(k[g])}while(f=f.nextSibling)}}}}})();a.b("virtualElements",a.h);a.b("virtualElements.allowedBindings",a.h.ea);a.b("virtualElements.emptyNode",a.h.Ea);a.b("virtualElements.insertAfter",a.h.Wb);a.b("virtualElements.prepend",a.h.Vc);a.b("virtualElements.setDomNodeChildren",a.h.va);(function(){a.ga=function(){this.nd={}};a.a.extend(a.ga.prototype,{nodeHasBindings:function(b){switch(b.nodeType){case 1:return null!=
b.getAttribute("data-bind")||a.j.getComponentNameForNode(b);case 8:return a.h.Cd(b);default:return!1}},getBindings:function(b,c){var d=this.getBindingsString(b,c),d=d?this.parseBindingsString(d,c,b):null;return a.j.tc(d,b,c,!1)},getBindingAccessors:function(b,c){var d=this.getBindingsString(b,c),d=d?this.parseBindingsString(d,c,b,{valueAccessors:!0}):null;return a.j.tc(d,b,c,!0)},getBindingsString:function(b){switch(b.nodeType){case 1:return b.getAttribute("data-bind");case 8:return a.h.Vd(b);default:return null}},
parseBindingsString:function(b,c,d,e){try{var f=this.nd,g=b+(e&&e.valueAccessors||""),h;if(!(h=f[g])){var m,k="with($context){with($data||{}){return{"+a.m.vb(b,e)+"}}}";m=new Function("$context","$element",k);h=f[g]=m}return h(c,d)}catch(l){throw l.message="Unable to parse bindings.\nBindings value: "+b+"\nMessage: "+l.message,l;}}});a.ga.instance=new a.ga})();a.b("bindingProvider",a.ga);(function(){function b(b){var c=(b=a.a.g.get(b,z))&&b.N;c&&(b.N=null,c.Tc())}function c(c,d,e){this.node=c;this.yc=
d;this.kb=[];this.H=!1;d.N||a.a.K.za(c,b);e&&e.N&&(e.N.kb.push(c),this.Kb=e)}function d(a){return function(){return a}}function e(a){return a()}function f(b){return a.a.Ga(a.u.G(b),function(a,c){return function(){return b()[c]}})}function g(b,c,e){return"function"===typeof b?f(b.bind(null,c,e)):a.a.Ga(b,d)}function h(a,b){return f(this.getBindings.bind(this,a,b))}function m(b,c){var d=a.h.firstChild(c);if(d){var e,f=a.ga.instance,l=f.preprocessNode;if(l){for(;e=d;)d=a.h.nextSibling(e),l.call(f,e);
d=a.h.firstChild(c)}for(;e=d;)d=a.h.nextSibling(e),k(b,e)}a.i.ma(c,a.i.H)}function k(b,c){var d=b,e=1===c.nodeType;e&&a.h.Sc(c);if(e||a.ga.instance.nodeHasBindings(c))d=p(c,null,b).bindingContextForDescendants;d&&!u[a.a.R(c)]&&m(d,c)}function l(b){var c=[],d={},e=[];a.a.P(b,function ca(f){if(!d[f]){var k=a.getBindingHandler(f);k&&(k.after&&(e.push(f),a.a.D(k.after,function(c){if(b[c]){if(-1!==a.a.A(e,c))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+e.join(", "));
ca(c)}}),e.length--),c.push({key:f,Mc:k}));d[f]=!0}});return c}function p(b,c,d){var f=a.a.g.Ub(b,z,{}),k=f.hd;if(!c){if(k)throw Error("You cannot apply bindings multiple times to the same element.");f.hd=!0}k||(f.context=d);f.Zb||(f.Zb={});var g;if(c&&"function"!==typeof c)g=c;else{var p=a.ga.instance,q=p.getBindingAccessors||h,m=a.$(function(){if(g=c?c(d,b):q.call(p,b,d)){if(d[t])d[t]();if(d[B])d[B]()}return g},null,{l:b});g&&m.ja()||(m=null)}var x=d,u;if(g){var J=function(){return a.a.Ga(m?m():
g,e)},r=m?function(a){return function(){return e(m()[a])}}:function(a){return g[a]};J.get=function(a){return g[a]&&e(r(a))};J.has=function(a){return a in g};a.i.H in g&&a.i.subscribe(b,a.i.H,function(){var c=(0,g[a.i.H])();if(c){var d=a.h.childNodes(b);d.length&&c(d,a.Ec(d[0]))}});a.i.pa in g&&(x=a.i.Cb(b,d),a.i.subscribe(b,a.i.pa,function(){var c=(0,g[a.i.pa])();c&&a.h.firstChild(b)&&c(b)}));f=l(g);a.a.D(f,function(c){var d=c.Mc.init,e=c.Mc.update,f=c.key;if(8===b.nodeType&&!a.h.ea[f])throw Error("The binding '"+
f+"' cannot be used with virtual elements");try{"function"==typeof d&&a.u.G(function(){var a=d(b,r(f),J,x.$data,x);if(a&&a.controlsDescendantBindings){if(u!==n)throw Error("Multiple bindings ("+u+" and "+f+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");u=f}}),"function"==typeof e&&a.$(function(){e(b,r(f),J,x.$data,x)},null,{l:b})}catch(k){throw k.message='Unable to process binding "'+f+": "+g[f]+'"\nMessage: '+k.message,
k;}})}f=u===n;return{shouldBindDescendants:f,bindingContextForDescendants:f&&x}}function q(b,c){return b&&b instanceof a.fa?b:new a.fa(b,n,n,c)}var t=a.a.Da("_subscribable"),x=a.a.Da("_ancestorBindingInfo"),B=a.a.Da("_dataDependency");a.c={};var u={script:!0,textarea:!0,template:!0};a.getBindingHandler=function(b){return a.c[b]};var J={};a.fa=function(b,c,d,e,f){function k(){var b=p?h():h,f=a.a.f(b);c?(a.a.extend(l,c),x in c&&(l[x]=c[x])):(l.$parents=[],l.$root=f,l.ko=a);l[t]=q;g?f=l.$data:(l.$rawData=
b,l.$data=f);d&&(l[d]=f);e&&e(l,c,f);if(c&&c[t]&&!a.S.o().Vb(c[t]))c[t]();m&&(l[B]=m);return l.$data}var l=this,g=b===J,h=g?n:b,p="function"==typeof h&&!a.O(h),q,m=f&&f.dataDependency;f&&f.exportDependencies?k():(q=a.xb(k),q.v(),q.ja()?q.equalityComparer=null:l[t]=n)};a.fa.prototype.createChildContext=function(b,c,d,e){!e&&c&&"object"==typeof c&&(e=c,c=e.as,d=e.extend);if(c&&e&&e.noChildContext){var f="function"==typeof b&&!a.O(b);return new a.fa(J,this,null,function(a){d&&d(a);a[c]=f?b():b},e)}return new a.fa(b,
this,c,function(a,b){a.$parentContext=b;a.$parent=b.$data;a.$parents=(b.$parents||[]).slice(0);a.$parents.unshift(a.$parent);d&&d(a)},e)};a.fa.prototype.extend=function(b,c){return new a.fa(J,this,null,function(c){a.a.extend(c,"function"==typeof b?b(c):b)},c)};var z=a.a.g.Z();c.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)};c.prototype.sd=function(b){a.a.Pa(this.kb,b);!this.kb.length&&this.H&&this.Cc()};c.prototype.Cc=function(){this.H=!0;this.yc.N&&!this.kb.length&&(this.yc.N=
null,a.a.K.yb(this.node,b),a.i.ma(this.node,a.i.pa),this.Tc())};a.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(b,c,d,e,f){var k=a.a.g.Ub(b,z,{});k.Fa||(k.Fa=new a.T);f&&f.notifyImmediately&&k.Zb[c]&&a.u.G(d,e,[b]);return k.Fa.subscribe(d,e,c)},ma:function(b,c){var d=a.a.g.get(b,z);if(d&&(d.Zb[c]=!0,d.Fa&&d.Fa.notifySubscribers(b,c),c==a.i.H))if(d.N)d.N.Cc();else if(d.N===n&&d.Fa&&d.Fa.Wa(a.i.pa))throw Error("descendantsComplete event not supported for bindings on this node");
},Cb:function(b,d){var e=a.a.g.Ub(b,z,{});e.N||(e.N=new c(b,e,d[x]));return d[x]==e?d:d.extend(function(a){a[x]=e})}};a.Td=function(b){return(b=a.a.g.get(b,z))&&b.context};a.ib=function(b,c,d){1===b.nodeType&&a.h.Sc(b);return p(b,c,q(d))};a.ld=function(b,c,d){d=q(d);return a.ib(b,g(c,d,b),d)};a.Oa=function(a,b){1!==b.nodeType&&8!==b.nodeType||m(q(a),b)};a.vc=function(a,b,c){!v&&A.jQuery&&(v=A.jQuery);if(2>arguments.length){if(b=w.body,!b)throw Error("ko.applyBindings: could not find document.body; has the document been loaded?");
}else if(!b||1!==b.nodeType&&8!==b.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");k(q(a,c),b)};a.Dc=function(b){return!b||1!==b.nodeType&&8!==b.nodeType?n:a.Td(b)};a.Ec=function(b){return(b=a.Dc(b))?b.$data:n};a.b("bindingHandlers",a.c);a.b("bindingEvent",a.i);a.b("bindingEvent.subscribe",a.i.subscribe);a.b("bindingEvent.startPossiblyAsyncContentBinding",a.i.Cb);a.b("applyBindings",a.vc);a.b("applyBindingsToDescendants",a.Oa);
a.b("applyBindingAccessorsToNode",a.ib);a.b("applyBindingsToNode",a.ld);a.b("contextFor",a.Dc);a.b("dataFor",a.Ec)})();(function(b){function c(c,e){var k=Object.prototype.hasOwnProperty.call(f,c)?f[c]:b,l;k?k.subscribe(e):(k=f[c]=new a.T,k.subscribe(e),d(c,function(b,d){var e=!(!d||!d.synchronous);g[c]={definition:b,Gd:e};delete f[c];l||e?k.notifySubscribers(b):a.na.zb(function(){k.notifySubscribers(b)})}),l=!0)}function d(a,b){e("getConfig",[a],function(c){c?e("loadComponent",[a,c],function(a){b(a,
c)}):b(null,null)})}function e(c,d,f,l){l||(l=a.j.loaders.slice(0));var g=l.shift();if(g){var q=g[c];if(q){var t=!1;if(q.apply(g,d.concat(function(a){t?f(null):null!==a?f(a):e(c,d,f,l)}))!==b&&(t=!0,!g.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.");}else e(c,d,f,l)}else f(null)}var f={},g={};a.j={get:function(d,e){var f=Object.prototype.hasOwnProperty.call(g,d)?g[d]:b;f?f.Gd?a.u.G(function(){e(f.definition)}):
a.na.zb(function(){e(f.definition)}):c(d,e)},Bc:function(a){delete g[a]},oc:e};a.j.loaders=[];a.b("components",a.j);a.b("components.get",a.j.get);a.b("components.clearCachedDefinition",a.j.Bc)})();(function(){function b(b,c,d,e){function g(){0===--B&&e(h)}var h={},B=2,u=d.template;d=d.viewModel;u?f(c,u,function(c){a.j.oc("loadTemplate",[b,c],function(a){h.template=a;g()})}):g();d?f(c,d,function(c){a.j.oc("loadViewModel",[b,c],function(a){h[m]=a;g()})}):g()}function c(a,b,d){if("function"===typeof b)d(function(a){return new b(a)});
else if("function"===typeof b[m])d(b[m]);else if("instance"in b){var e=b.instance;d(function(){return e})}else"viewModel"in b?c(a,b.viewModel,d):a("Unknown viewModel value: "+b)}function d(b){switch(a.a.R(b)){case "script":return a.a.ua(b.text);case "textarea":return a.a.ua(b.value);case "template":if(e(b.content))return a.a.Ca(b.content.childNodes)}return a.a.Ca(b.childNodes)}function e(a){return A.DocumentFragment?a instanceof DocumentFragment:a&&11===a.nodeType}function f(a,b,c){"string"===typeof b.require?
T||A.require?(T||A.require)([b.require],function(a){a&&"object"===typeof a&&a.Xd&&a["default"]&&(a=a["default"]);c(a)}):a("Uses require, but no AMD loader is present"):c(b)}function g(a){return function(b){throw Error("Component '"+a+"': "+b);}}var h={};a.j.register=function(b,c){if(!c)throw Error("Invalid configuration for "+b);if(a.j.tb(b))throw Error("Component "+b+" is already registered");h[b]=c};a.j.tb=function(a){return Object.prototype.hasOwnProperty.call(h,a)};a.j.unregister=function(b){delete h[b];
a.j.Bc(b)};a.j.Fc={getConfig:function(b,c){c(a.j.tb(b)?h[b]:null)},loadComponent:function(a,c,d){var e=g(a);f(e,c,function(c){b(a,e,c,d)})},loadTemplate:function(b,c,f){b=g(b);if("string"===typeof c)f(a.a.ua(c));else if(c instanceof Array)f(c);else if(e(c))f(a.a.la(c.childNodes));else if(c.element)if(c=c.element,A.HTMLElement?c instanceof HTMLElement:c&&c.tagName&&1===c.nodeType)f(d(c));else if("string"===typeof c){var h=w.getElementById(c);h?f(d(h)):b("Cannot find element with ID "+c)}else b("Unknown element type: "+
c);else b("Unknown template value: "+c)},loadViewModel:function(a,b,d){c(g(a),b,d)}};var m="createViewModel";a.b("components.register",a.j.register);a.b("components.isRegistered",a.j.tb);a.b("components.unregister",a.j.unregister);a.b("components.defaultLoader",a.j.Fc);a.j.loaders.push(a.j.Fc);a.j.dd=h})();(function(){function b(b,e){var f=b.getAttribute("params");if(f){var f=c.parseBindingsString(f,e,b,{valueAccessors:!0,bindingParams:!0}),f=a.a.Ga(f,function(c){return a.o(c,null,{l:b})}),g=a.a.Ga(f,
function(c){var e=c.v();return c.ja()?a.o({read:function(){return a.a.f(c())},write:a.Za(e)&&function(a){c()(a)},l:b}):e});Object.prototype.hasOwnProperty.call(g,"$raw")||(g.$raw=f);return g}return{$raw:{}}}a.j.getComponentNameForNode=function(b){var c=a.a.R(b);if(a.j.tb(c)&&(-1!=c.indexOf("-")||"[object HTMLUnknownElement]"==""+b||8>=a.a.W&&b.tagName===c))return c};a.j.tc=function(c,e,f,g){if(1===e.nodeType){var h=a.j.getComponentNameForNode(e);if(h){c=c||{};if(c.component)throw Error('Cannot use the "component" binding on a custom element matching a component');
var m={name:h,params:b(e,f)};c.component=g?function(){return m}:m}}return c};var c=new a.ga;9>a.a.W&&(a.j.register=function(a){return function(b){return a.apply(this,arguments)}}(a.j.register),w.createDocumentFragment=function(b){return function(){var c=b(),f=a.j.dd,g;for(g in f);return c}}(w.createDocumentFragment))})();(function(){function b(b,c,d){c=c.template;if(!c)throw Error("Component '"+b+"' has no template");b=a.a.Ca(c);a.h.va(d,b)}function c(a,b,c){var d=a.createViewModel;return d?d.call(a,
b,c):b}var d=0;a.c.component={init:function(e,f,g,h,m){function k(){var a=l&&l.dispose;"function"===typeof a&&a.call(l);q&&q.s();p=l=q=null}var l,p,q,t=a.a.la(a.h.childNodes(e));a.h.Ea(e);a.a.K.za(e,k);a.o(function(){var g=a.a.f(f()),h,u;"string"===typeof g?h=g:(h=a.a.f(g.name),u=a.a.f(g.params));if(!h)throw Error("No component name specified");var n=a.i.Cb(e,m),z=p=++d;a.j.get(h,function(d){if(p===z){k();if(!d)throw Error("Unknown component '"+h+"'");b(h,d,e);var f=c(d,u,{element:e,templateNodes:t});
d=n.createChildContext(f,{extend:function(a){a.$component=f;a.$componentTemplateNodes=t}});f&&f.koDescendantsComplete&&(q=a.i.subscribe(e,a.i.pa,f.koDescendantsComplete,f));l=f;a.Oa(d,e)}})},null,{l:e});return{controlsDescendantBindings:!0}}};a.h.ea.component=!0})();var V={"class":"className","for":"htmlFor"};a.c.attr={update:function(b,c){var d=a.a.f(c())||{};a.a.P(d,function(c,d){d=a.a.f(d);var g=c.indexOf(":"),g="lookupNamespaceURI"in b&&0<g&&b.lookupNamespaceURI(c.substr(0,g)),h=!1===d||null===
d||d===n;h?g?b.removeAttributeNS(g,c):b.removeAttribute(c):d=d.toString();8>=a.a.W&&c in V?(c=V[c],h?b.removeAttribute(c):b[c]=d):h||(g?b.setAttributeNS(g,c,d):b.setAttribute(c,d));"name"===c&&a.a.Yc(b,h?"":d)})}};(function(){a.c.checked={after:["value","attr"],init:function(b,c,d){function e(){var e=b.checked,f=g();if(!a.S.Ya()&&(e||!m&&!a.S.qa())){var k=a.u.G(c);if(l){var q=p?k.v():k,z=t;t=f;z!==f?e&&(a.a.Na(q,f,!0),a.a.Na(q,z,!1)):a.a.Na(q,f,e);p&&a.Za(k)&&k(q)}else h&&(f===n?f=e:e||(f=n)),a.m.eb(k,
d,"checked",f,!0)}}function f(){var d=a.a.f(c()),e=g();l?(b.checked=0<=a.a.A(d,e),t=e):b.checked=h&&e===n?!!d:g()===d}var g=a.xb(function(){if(d.has("checkedValue"))return a.a.f(d.get("checkedValue"));if(q)return d.has("value")?a.a.f(d.get("value")):b.value}),h="checkbox"==b.type,m="radio"==b.type;if(h||m){var k=c(),l=h&&a.a.f(k)instanceof Array,p=!(l&&k.push&&k.splice),q=m||l,t=l?g():n;m&&!b.name&&a.c.uniqueName.init(b,function(){return!0});a.o(e,null,{l:b});a.a.B(b,"click",e);a.o(f,null,{l:b});
k=n}}};a.m.wa.checked=!0;a.c.checkedValue={update:function(b,c){b.value=a.a.f(c())}}})();a.c["class"]={update:function(b,c){var d=a.a.Db(a.a.f(c()));a.a.Eb(b,b.__ko__cssValue,!1);b.__ko__cssValue=d;a.a.Eb(b,d,!0)}};a.c.css={update:function(b,c){var d=a.a.f(c());null!==d&&"object"==typeof d?a.a.P(d,function(c,d){d=a.a.f(d);a.a.Eb(b,c,d)}):a.c["class"].update(b,c)}};a.c.enable={update:function(b,c){var d=a.a.f(c());d&&b.disabled?b.removeAttribute("disabled"):d||b.disabled||(b.disabled=!0)}};a.c.disable=
{update:function(b,c){a.c.enable.update(b,function(){return!a.a.f(c())})}};a.c.event={init:function(b,c,d,e,f){var g=c()||{};a.a.P(g,function(g){"string"==typeof g&&a.a.B(b,g,function(b){var k,l=c()[g];if(l){try{var p=a.a.la(arguments);e=f.$data;p.unshift(e);k=l.apply(e,p)}finally{!0!==k&&(b.preventDefault?b.preventDefault():b.returnValue=!1)}!1===d.get(g+"Bubble")&&(b.cancelBubble=!0,b.stopPropagation&&b.stopPropagation())}})})}};a.c.foreach={Rc:function(b){return function(){var c=b(),d=a.a.bc(c);
if(!d||"number"==typeof d.length)return{foreach:c,templateEngine:a.ba.Ma};a.a.f(c);return{foreach:d.data,as:d.as,noChildContext:d.noChildContext,includeDestroyed:d.includeDestroyed,afterAdd:d.afterAdd,beforeRemove:d.beforeRemove,afterRender:d.afterRender,beforeMove:d.beforeMove,afterMove:d.afterMove,templateEngine:a.ba.Ma}}},init:function(b,c){return a.c.template.init(b,a.c.foreach.Rc(c))},update:function(b,c,d,e,f){return a.c.template.update(b,a.c.foreach.Rc(c),d,e,f)}};a.m.Ra.foreach=!1;a.h.ea.foreach=
!0;a.c.hasfocus={init:function(b,c,d){function e(e){b.__ko_hasfocusUpdating=!0;var f=b.ownerDocument;if("activeElement"in f){var g;try{g=f.activeElement}catch(l){g=f.body}e=g===b}f=c();a.m.eb(f,d,"hasfocus",e,!0);b.__ko_hasfocusLastValue=e;b.__ko_hasfocusUpdating=!1}var f=e.bind(null,!0),g=e.bind(null,!1);a.a.B(b,"focus",f);a.a.B(b,"focusin",f);a.a.B(b,"blur",g);a.a.B(b,"focusout",g);b.__ko_hasfocusLastValue=!1},update:function(b,c){var d=!!a.a.f(c());b.__ko_hasfocusUpdating||b.__ko_hasfocusLastValue===
d||(d?b.focus():b.blur(),!d&&b.__ko_hasfocusLastValue&&b.ownerDocument.body.focus(),a.u.G(a.a.Fb,null,[b,d?"focusin":"focusout"]))}};a.m.wa.hasfocus=!0;a.c.hasFocus=a.c.hasfocus;a.m.wa.hasFocus="hasfocus";a.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(b,c){a.a.fc(b,c())}};(function(){function b(b,d,e){a.c[b]={init:function(b,c,h,m,k){var l,p,q={},t,x,n;if(d){m=h.get("as");var u=h.get("noChildContext");n=!(m&&u);q={as:m,noChildContext:u,exportDependencies:n}}x=(t=
"render"==h.get("completeOn"))||h.has(a.i.pa);a.o(function(){var h=a.a.f(c()),m=!e!==!h,u=!p,r;if(n||m!==l){x&&(k=a.i.Cb(b,k));if(m){if(!d||n)q.dataDependency=a.S.o();r=d?k.createChildContext("function"==typeof h?h:c,q):a.S.qa()?k.extend(null,q):k}u&&a.S.qa()&&(p=a.a.Ca(a.h.childNodes(b),!0));m?(u||a.h.va(b,a.a.Ca(p)),a.Oa(r,b)):(a.h.Ea(b),t||a.i.ma(b,a.i.H));l=m}},null,{l:b});return{controlsDescendantBindings:!0}}};a.m.Ra[b]=!1;a.h.ea[b]=!0}b("if");b("ifnot",!1,!0);b("with",!0)})();a.c.let={init:function(b,
c,d,e,f){c=f.extend(c);a.Oa(c,b);return{controlsDescendantBindings:!0}}};a.h.ea.let=!0;var Q={};a.c.options={init:function(b){if("select"!==a.a.R(b))throw Error("options binding applies only to SELECT elements");for(;0<b.length;)b.remove(0);return{controlsDescendantBindings:!0}},update:function(b,c,d){function e(){return a.a.jb(b.options,function(a){return a.selected})}function f(a,b,c){var d=typeof b;return"function"==d?b(a):"string"==d?a[b]:c}function g(c,d){if(x&&l)a.i.ma(b,a.i.H);else if(t.length){var e=
0<=a.a.A(t,a.w.M(d[0]));a.a.Zc(d[0],e);x&&!e&&a.u.G(a.a.Fb,null,[b,"change"])}}var h=b.multiple,m=0!=b.length&&h?b.scrollTop:null,k=a.a.f(c()),l=d.get("valueAllowUnset")&&d.has("value"),p=d.get("optionsIncludeDestroyed");c={};var q,t=[];l||(h?t=a.a.Mb(e(),a.w.M):0<=b.selectedIndex&&t.push(a.w.M(b.options[b.selectedIndex])));k&&("undefined"==typeof k.length&&(k=[k]),q=a.a.jb(k,function(b){return p||b===n||null===b||!a.a.f(b._destroy)}),d.has("optionsCaption")&&(k=a.a.f(d.get("optionsCaption")),null!==
k&&k!==n&&q.unshift(Q)));var x=!1;c.beforeRemove=function(a){b.removeChild(a)};k=g;d.has("optionsAfterRender")&&"function"==typeof d.get("optionsAfterRender")&&(k=function(b,c){g(0,c);a.u.G(d.get("optionsAfterRender"),null,[c[0],b!==Q?b:n])});a.a.ec(b,q,function(c,e,g){g.length&&(t=!l&&g[0].selected?[a.w.M(g[0])]:[],x=!0);e=b.ownerDocument.createElement("option");c===Q?(a.a.Bb(e,d.get("optionsCaption")),a.w.cb(e,n)):(g=f(c,d.get("optionsValue"),c),a.w.cb(e,a.a.f(g)),c=f(c,d.get("optionsText"),g),
a.a.Bb(e,c));return[e]},c,k);if(!l){var B;h?B=t.length&&e().length<t.length:B=t.length&&0<=b.selectedIndex?a.w.M(b.options[b.selectedIndex])!==t[0]:t.length||0<=b.selectedIndex;B&&a.u.G(a.a.Fb,null,[b,"change"])}(l||a.S.Ya())&&a.i.ma(b,a.i.H);a.a.wd(b);m&&20<Math.abs(m-b.scrollTop)&&(b.scrollTop=m)}};a.c.options.$b=a.a.g.Z();a.c.selectedOptions={init:function(b,c,d){function e(){var e=c(),f=[];a.a.D(b.getElementsByTagName("option"),function(b){b.selected&&f.push(a.w.M(b))});a.m.eb(e,d,"selectedOptions",
f)}function f(){var d=a.a.f(c()),e=b.scrollTop;d&&"number"==typeof d.length&&a.a.D(b.getElementsByTagName("option"),function(b){var c=0<=a.a.A(d,a.w.M(b));b.selected!=c&&a.a.Zc(b,c)});b.scrollTop=e}if("select"!=a.a.R(b))throw Error("selectedOptions binding applies only to SELECT elements");var g;a.i.subscribe(b,a.i.H,function(){g?e():(a.a.B(b,"change",e),g=a.o(f,null,{l:b}))},null,{notifyImmediately:!0})},update:function(){}};a.m.wa.selectedOptions=!0;a.c.style={update:function(b,c){var d=a.a.f(c()||
{});a.a.P(d,function(c,d){d=a.a.f(d);if(null===d||d===n||!1===d)d="";if(v)v(b).css(c,d);else if(/^--/.test(c))b.style.setProperty(c,d);else{c=c.replace(/-(\w)/g,function(a,b){return b.toUpperCase()});var g=b.style[c];b.style[c]=d;d===g||b.style[c]!=g||isNaN(d)||(b.style[c]=d+"px")}})}};a.c.submit={init:function(b,c,d,e,f){if("function"!=typeof c())throw Error("The value for a submit binding must be a function");a.a.B(b,"submit",function(a){var d,e=c();try{d=e.call(f.$data,b)}finally{!0!==d&&(a.preventDefault?
a.preventDefault():a.returnValue=!1)}})}};a.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(b,c){a.a.Bb(b,c())}};a.h.ea.text=!0;(function(){if(A&&A.navigator){var b=function(a){if(a)return parseFloat(a[1])},c=A.navigator.userAgent,d,e,f,g,h;(d=A.opera&&A.opera.version&&parseInt(A.opera.version()))||(h=b(c.match(/Edge\/([^ ]+)$/)))||b(c.match(/Chrome\/([^ ]+)/))||(e=b(c.match(/Version\/([^ ]+) Safari/)))||(f=b(c.match(/Firefox\/([^ ]+)/)))||(g=a.a.W||b(c.match(/MSIE ([^ ]+)/)))||
(g=b(c.match(/rv:([^ )]+)/)))}if(8<=g&&10>g)var m=a.a.g.Z(),k=a.a.g.Z(),l=function(b){var c=this.activeElement;(c=c&&a.a.g.get(c,k))&&c(b)},p=function(b,c){var d=b.ownerDocument;a.a.g.get(d,m)||(a.a.g.set(d,m,!0),a.a.B(d,"selectionchange",l));a.a.g.set(b,k,c)};a.c.textInput={init:function(b,c,k){function l(c,d){a.a.B(b,c,d)}function m(){var d=a.a.f(c());if(null===d||d===n)d="";L!==n&&d===L?a.a.setTimeout(m,4):b.value!==d&&(y=!0,b.value=d,y=!1,v=b.value)}function r(){w||(L=b.value,w=a.a.setTimeout(z,
4))}function z(){clearTimeout(w);L=w=n;var d=b.value;v!==d&&(v=d,a.m.eb(c(),k,"textInput",d))}var v=b.value,w,L,A=9==a.a.W?r:z,y=!1;g&&l("keypress",z);11>g&&l("propertychange",function(a){y||"value"!==a.propertyName||A(a)});8==g&&(l("keyup",z),l("keydown",z));p&&(p(b,A),l("dragend",r));(!g||9<=g)&&l("input",A);5>e&&"textarea"===a.a.R(b)?(l("keydown",r),l("paste",r),l("cut",r)):11>d?l("keydown",r):4>f?(l("DOMAutoComplete",z),l("dragdrop",z),l("drop",z)):h&&"number"===b.type&&l("keydown",r);l("change",
z);l("blur",z);a.o(m,null,{l:b})}};a.m.wa.textInput=!0;a.c.textinput={preprocess:function(a,b,c){c("textInput",a)}}})();a.c.uniqueName={init:function(b,c){if(c()){var d="ko_unique_"+ ++a.c.uniqueName.rd;a.a.Yc(b,d)}}};a.c.uniqueName.rd=0;a.c.using={init:function(b,c,d,e,f){var g;d.has("as")&&(g={as:d.get("as"),noChildContext:d.get("noChildContext")});c=f.createChildContext(c,g);a.Oa(c,b);return{controlsDescendantBindings:!0}}};a.h.ea.using=!0;a.c.value={init:function(b,c,d){var e=a.a.R(b),f="input"==
e;if(!f||"checkbox"!=b.type&&"radio"!=b.type){var g=[],h=d.get("valueUpdate"),m=!1,k=null;h&&("string"==typeof h?g=[h]:g=a.a.wc(h),a.a.Pa(g,"change"));var l=function(){k=null;m=!1;var e=c(),f=a.w.M(b);a.m.eb(e,d,"value",f)};!a.a.W||!f||"text"!=b.type||"off"==b.autocomplete||b.form&&"off"==b.form.autocomplete||-1!=a.a.A(g,"propertychange")||(a.a.B(b,"propertychange",function(){m=!0}),a.a.B(b,"focus",function(){m=!1}),a.a.B(b,"blur",function(){m&&l()}));a.a.D(g,function(c){var d=l;a.a.Ud(c,"after")&&
(d=function(){k=a.w.M(b);a.a.setTimeout(l,0)},c=c.substring(5));a.a.B(b,c,d)});var p;p=f&&"file"==b.type?function(){var d=a.a.f(c());null===d||d===n||""===d?b.value="":a.u.G(l)}:function(){var f=a.a.f(c()),g=a.w.M(b);if(null!==k&&f===k)a.a.setTimeout(p,0);else if(f!==g||g===n)"select"===e?(g=d.get("valueAllowUnset"),a.w.cb(b,f,g),g||f===a.w.M(b)||a.u.G(l)):a.w.cb(b,f)};if("select"===e){var q;a.i.subscribe(b,a.i.H,function(){q?d.get("valueAllowUnset")?p():l():(a.a.B(b,"change",l),q=a.o(p,null,{l:b}))},
null,{notifyImmediately:!0})}else a.a.B(b,"change",l),a.o(p,null,{l:b})}else a.ib(b,{checkedValue:c})},update:function(){}};a.m.wa.value=!0;a.c.visible={update:function(b,c){var d=a.a.f(c()),e="none"!=b.style.display;d&&!e?b.style.display="":!d&&e&&(b.style.display="none")}};a.c.hidden={update:function(b,c){a.c.visible.update(b,function(){return!a.a.f(c())})}};(function(b){a.c[b]={init:function(c,d,e,f,g){return a.c.event.init.call(this,c,function(){var a={};a[b]=d();return a},e,f,g)}}})("click");
a.ca=function(){};a.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource");};a.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock");};a.ca.prototype.makeTemplateSource=function(b,c){if("string"==typeof b){c=c||w;var d=c.getElementById(b);if(!d)throw Error("Cannot find template with ID "+b);return new a.C.F(d)}if(1==b.nodeType||8==b.nodeType)return new a.C.ia(b);throw Error("Unknown template type: "+b);};a.ca.prototype.renderTemplate=
function(a,c,d,e){a=this.makeTemplateSource(a,e);return this.renderTemplateSource(a,c,d,e)};a.ca.prototype.isTemplateRewritten=function(a,c){return!1===this.allowTemplateRewriting?!0:this.makeTemplateSource(a,c).data("isRewritten")};a.ca.prototype.rewriteTemplate=function(a,c,d){a=this.makeTemplateSource(a,d);c=c(a.text());a.text(c);a.data("isRewritten",!0)};a.b("templateEngine",a.ca);a.kc=function(){function b(b,c,d,h){b=a.m.ac(b);for(var m=a.m.Ra,k=0;k<b.length;k++){var l=b[k].key;if(Object.prototype.hasOwnProperty.call(m,
l)){var p=m[l];if("function"===typeof p){if(l=p(b[k].value))throw Error(l);}else if(!p)throw Error("This template engine does not support the '"+l+"' binding within its templates");}}d="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+a.m.vb(b,{valueAccessors:!0})+" } })()},'"+d.toLowerCase()+"')";return h.createJavaScriptEvaluatorBlock(d)+c}var c=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,
d=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(b,c,d){c.isTemplateRewritten(b,d)||c.rewriteTemplate(b,function(b){return a.kc.Ld(b,c)},d)},Ld:function(a,f){return a.replace(c,function(a,c,d,e,l){return b(l,c,d,f)}).replace(d,function(a,c){return b(c,"\x3c!-- ko --\x3e","#comment",f)})},md:function(b,c){return a.aa.Xb(function(d,h){var m=d.nextSibling;m&&m.nodeName.toLowerCase()===c&&a.ib(m,b,h)})}}}();a.b("__tr_ambtns",a.kc.md);(function(){a.C={};a.C.F=function(b){if(this.F=b){var c=
a.a.R(b);this.ab="script"===c?1:"textarea"===c?2:"template"==c&&b.content&&11===b.content.nodeType?3:4}};a.C.F.prototype.text=function(){var b=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[b];var c=arguments[0];"innerHTML"===b?a.a.fc(this.F,c):this.F[b]=c};var b=a.a.g.Z()+"_";a.C.F.prototype.data=function(c){if(1===arguments.length)return a.a.g.get(this.F,b+c);a.a.g.set(this.F,b+c,arguments[1])};var c=a.a.g.Z();a.C.F.prototype.nodes=function(){var b=this.F;
if(0==arguments.length){var e=a.a.g.get(b,c)||{},f=e.lb||(3===this.ab?b.content:4===this.ab?b:n);if(!f||e.jd){var g=this.text();g&&g!==e.bb&&(f=a.a.Md(g,b.ownerDocument),a.a.g.set(b,c,{lb:f,bb:g,jd:!0}))}return f}e=arguments[0];this.ab!==n&&this.text("");a.a.g.set(b,c,{lb:e})};a.C.ia=function(a){this.F=a};a.C.ia.prototype=new a.C.F;a.C.ia.prototype.constructor=a.C.ia;a.C.ia.prototype.text=function(){if(0==arguments.length){var b=a.a.g.get(this.F,c)||{};b.bb===n&&b.lb&&(b.bb=b.lb.innerHTML);return b.bb}a.a.g.set(this.F,
c,{bb:arguments[0]})};a.b("templateSources",a.C);a.b("templateSources.domElement",a.C.F);a.b("templateSources.anonymousTemplate",a.C.ia)})();(function(){function b(b,c,d){var e;for(c=a.h.nextSibling(c);b&&(e=b)!==c;)b=a.h.nextSibling(e),d(e,b)}function c(c,d){if(c.length){var e=c[0],f=c[c.length-1],g=e.parentNode,h=a.ga.instance,m=h.preprocessNode;if(m){b(e,f,function(a,b){var c=a.previousSibling,d=m.call(h,a);d&&(a===e&&(e=d[0]||b),a===f&&(f=d[d.length-1]||c))});c.length=0;if(!e)return;e===f?c.push(e):
(c.push(e,f),a.a.Ua(c,g))}b(e,f,function(b){1!==b.nodeType&&8!==b.nodeType||a.vc(d,b)});b(e,f,function(b){1!==b.nodeType&&8!==b.nodeType||a.aa.cd(b,[d])});a.a.Ua(c,g)}}function d(a){return a.nodeType?a:0<a.length?a[0]:null}function e(b,e,f,h,m){m=m||{};var n=(b&&d(b)||f||{}).ownerDocument,B=m.templateEngine||g;a.kc.xd(f,B,n);f=B.renderTemplate(f,h,m,n);if("number"!=typeof f.length||0<f.length&&"number"!=typeof f[0].nodeType)throw Error("Template engine must return an array of DOM nodes");n=!1;switch(e){case "replaceChildren":a.h.va(b,
f);n=!0;break;case "replaceNode":a.a.Xc(b,f);n=!0;break;case "ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+e);}n&&(c(f,h),m.afterRender&&a.u.G(m.afterRender,null,[f,h[m.as||"$data"]]),"replaceChildren"==e&&a.i.ma(b,a.i.H));return f}function f(b,c,d){return a.O(b)?b():"function"===typeof b?b(c,d):b}var g;a.gc=function(b){if(b!=n&&!(b instanceof a.ca))throw Error("templateEngine must inherit from ko.templateEngine");g=b};a.dc=function(b,c,h,m,t){h=h||{};if((h.templateEngine||g)==
n)throw Error("Set a template engine before calling renderTemplate");t=t||"replaceChildren";if(m){var x=d(m);return a.$(function(){var g=c&&c instanceof a.fa?c:new a.fa(c,null,null,null,{exportDependencies:!0}),n=f(b,g.$data,g),g=e(m,t,n,g,h);"replaceNode"==t&&(m=g,x=d(m))},null,{Sa:function(){return!x||!a.a.Sb(x)},l:x&&"replaceNode"==t?x.parentNode:x})}return a.aa.Xb(function(d){a.dc(b,c,h,d,"replaceNode")})};a.Qd=function(b,d,g,h,m){function x(b,c){a.u.G(a.a.ec,null,[h,b,u,g,r,c]);a.i.ma(h,a.i.H)}
function r(a,b){c(b,v);g.afterRender&&g.afterRender(b,a);v=null}function u(a,c){v=m.createChildContext(a,{as:z,noChildContext:g.noChildContext,extend:function(a){a.$index=c;z&&(a[z+"Index"]=c)}});var d=f(b,a,v);return e(h,"ignoreTargetNode",d,v,g)}var v,z=g.as,w=!1===g.includeDestroyed||a.options.foreachHidesDestroyed&&!g.includeDestroyed;if(w||g.beforeRemove||!a.Pc(d))return a.$(function(){var b=a.a.f(d)||[];"undefined"==typeof b.length&&(b=[b]);w&&(b=a.a.jb(b,function(b){return b===n||null===b||
!a.a.f(b._destroy)}));x(b)},null,{l:h});x(d.v());var A=d.subscribe(function(a){x(d(),a)},null,"arrayChange");A.l(h);return A};var h=a.a.g.Z(),m=a.a.g.Z();a.c.template={init:function(b,c){var d=a.a.f(c());if("string"==typeof d||"name"in d)a.h.Ea(b);else if("nodes"in d){d=d.nodes||[];if(a.O(d))throw Error('The "nodes" option must be a plain, non-observable array.');var e=d[0]&&d[0].parentNode;e&&a.a.g.get(e,m)||(e=a.a.Yb(d),a.a.g.set(e,m,!0));(new a.C.ia(b)).nodes(e)}else if(d=a.h.childNodes(b),0<d.length)e=
a.a.Yb(d),(new a.C.ia(b)).nodes(e);else throw Error("Anonymous template defined, but no template content was provided");return{controlsDescendantBindings:!0}},update:function(b,c,d,e,f){var g=c();c=a.a.f(g);d=!0;e=null;"string"==typeof c?c={}:(g="name"in c?c.name:b,"if"in c&&(d=a.a.f(c["if"])),d&&"ifnot"in c&&(d=!a.a.f(c.ifnot)),d&&!g&&(d=!1));"foreach"in c?e=a.Qd(g,d&&c.foreach||[],c,b,f):d?(d=f,"data"in c&&(d=f.createChildContext(c.data,{as:c.as,noChildContext:c.noChildContext,exportDependencies:!0})),
e=a.dc(g,d,c,b)):a.h.Ea(b);f=e;(c=a.a.g.get(b,h))&&"function"==typeof c.s&&c.s();a.a.g.set(b,h,!f||f.ja&&!f.ja()?n:f)}};a.m.Ra.template=function(b){b=a.m.ac(b);return 1==b.length&&b[0].unknown||a.m.Id(b,"name")?null:"This template engine does not support anonymous templates nested within its templates"};a.h.ea.template=!0})();a.b("setTemplateEngine",a.gc);a.b("renderTemplate",a.dc);a.a.Kc=function(a,c,d){if(a.length&&c.length){var e,f,g,h,m;for(e=f=0;(!d||e<d)&&(h=a[f]);++f){for(g=0;m=c[g];++g)if(h.value===
m.value){h.moved=m.index;m.moved=h.index;c.splice(g,1);e=g=0;break}e+=g}}};a.a.Pb=function(){function b(b,d,e,f,g){var h=Math.min,m=Math.max,k=[],l,p=b.length,q,n=d.length,r=n-p||1,v=p+n+1,u,w,z;for(l=0;l<=p;l++)for(w=u,k.push(u=[]),z=h(n,l+r),q=m(0,l-1);q<=z;q++)u[q]=q?l?b[l-1]===d[q-1]?w[q-1]:h(w[q]||v,u[q-1]||v)+1:q+1:l+1;h=[];m=[];r=[];l=p;for(q=n;l||q;)n=k[l][q]-1,q&&n===k[l][q-1]?m.push(h[h.length]={status:e,value:d[--q],index:q}):l&&n===k[l-1][q]?r.push(h[h.length]={status:f,value:b[--l],index:l}):
(--q,--l,g.sparse||h.push({status:"retained",value:d[q]}));a.a.Kc(r,m,!g.dontLimitMoves&&10*p);return h.reverse()}return function(a,d,e){e="boolean"===typeof e?{dontLimitMoves:e}:e||{};a=a||[];d=d||[];return a.length<d.length?b(a,d,"added","deleted",e):b(d,a,"deleted","added",e)}}();a.b("utils.compareArrays",a.a.Pb);(function(){function b(b,c,d,h,m){var k=[],l=a.$(function(){var l=c(d,m,a.a.Ua(k,b))||[];0<k.length&&(a.a.Xc(k,l),h&&a.u.G(h,null,[d,l,m]));k.length=0;a.a.Nb(k,l)},null,{l:b,Sa:function(){return!a.a.kd(k)}});
return{Y:k,$:l.ja()?l:n}}var c=a.a.g.Z(),d=a.a.g.Z();a.a.ec=function(e,f,g,h,m,k){function l(b){y={Aa:b,pb:a.ta(w++)};v.push(y);r||F.push(y)}function p(b){y=t[b];w!==y.pb.v()&&D.push(y);y.pb(w++);a.a.Ua(y.Y,e);v.push(y)}function q(b,c){if(b)for(var d=0,e=c.length;d<e;d++)a.a.D(c[d].Y,function(a){b(a,d,c[d].Aa)})}f=f||[];"undefined"==typeof f.length&&(f=[f]);h=h||{};var t=a.a.g.get(e,c),r=!t,v=[],u=0,w=0,z=[],A=[],C=[],D=[],F=[],y,I=0;if(r)a.a.D(f,l);else{if(!k||t&&t._countWaitingForRemove){var E=
a.a.Mb(t,function(a){return a.Aa});k=a.a.Pb(E,f,{dontLimitMoves:h.dontLimitMoves,sparse:!0})}for(var E=0,G,H,K;G=k[E];E++)switch(H=G.moved,K=G.index,G.status){case "deleted":for(;u<K;)p(u++);H===n&&(y=t[u],y.$&&(y.$.s(),y.$=n),a.a.Ua(y.Y,e).length&&(h.beforeRemove&&(v.push(y),I++,y.Aa===d?y=null:C.push(y)),y&&z.push.apply(z,y.Y)));u++;break;case "added":for(;w<K;)p(u++);H!==n?(A.push(v.length),p(H)):l(G.value)}for(;w<f.length;)p(u++);v._countWaitingForRemove=I}a.a.g.set(e,c,v);q(h.beforeMove,D);a.a.D(z,
h.beforeRemove?a.oa:a.removeNode);var M,O,P;try{P=e.ownerDocument.activeElement}catch(N){}if(A.length)for(;(E=A.shift())!=n;){y=v[E];for(M=n;E;)if((O=v[--E].Y)&&O.length){M=O[O.length-1];break}for(f=0;u=y.Y[f];M=u,f++)a.h.Wb(e,u,M)}for(E=0;y=v[E];E++){y.Y||a.a.extend(y,b(e,g,y.Aa,m,y.pb));for(f=0;u=y.Y[f];M=u,f++)a.h.Wb(e,u,M);!y.Ed&&m&&(m(y.Aa,y.Y,y.pb),y.Ed=!0,M=y.Y[y.Y.length-1])}P&&e.ownerDocument.activeElement!=P&&P.focus();q(h.beforeRemove,C);for(E=0;E<C.length;++E)C[E].Aa=d;q(h.afterMove,D);
q(h.afterAdd,F)}})();a.b("utils.setDomNodeChildrenFromArrayMapping",a.a.ec);a.ba=function(){this.allowTemplateRewriting=!1};a.ba.prototype=new a.ca;a.ba.prototype.constructor=a.ba;a.ba.prototype.renderTemplateSource=function(b,c,d,e){if(c=(9>a.a.W?0:b.nodes)?b.nodes():null)return a.a.la(c.cloneNode(!0).childNodes);b=b.text();return a.a.ua(b,e)};a.ba.Ma=new a.ba;a.gc(a.ba.Ma);a.b("nativeTemplateEngine",a.ba);(function(){a.$a=function(){var a=this.Hd=function(){if(!v||!v.tmpl)return 0;try{if(0<=v.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(a){}return 1}();
this.renderTemplateSource=function(b,e,f,g){g=g||w;f=f||{};if(2>a)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var h=b.data("precompiled");h||(h=b.text()||"",h=v.template(null,"{{ko_with $item.koBindingContext}}"+h+"{{/ko_with}}"),b.data("precompiled",h));b=[e.$data];e=v.extend({koBindingContext:e},f.templateOptions);e=v.tmpl(h,b,e);e.appendTo(g.createElement("div"));v.fragments={};return e};this.createJavaScriptEvaluatorBlock=function(a){return"{{ko_code ((function() { return "+
a+" })()) }}"};this.addTemplate=function(a,b){w.write("<script type='text/html' id='"+a+"'>"+b+"\x3c/script>")};0<a&&(v.tmpl.tag.ko_code={open:"__.push($1 || '');"},v.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};a.$a.prototype=new a.ca;a.$a.prototype.constructor=a.$a;var b=new a.$a;0<b.Hd&&a.gc(b);a.b("jqueryTmplTemplateEngine",a.$a)})()})})();})();

/*! knockout-secure-binding - v1.0.9 - 2022-05-18
 *  https://github.com/brianmhunt/knockout-secure-binding
 *  Copyright (c) 2013 - 2017 Brian M Hunt; License: MIT */
;(function(factory) {
    //AMD
    if (typeof define === "function" && define.amd) {
        define("knockoutSecureBinding",["knockout", "exports"], factory);
        //normal script tag
    } else {
        factory(ko);
    }
}(function(ko, exports, undefined) {
function value_of(e){return e instanceof Identifier||e instanceof Expression?e.get_value():e}function _object_map(e,t){if(!e)return e;var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=t(e[r],r,e));return n}function _virtualNodeBindingValue(e){var t=(commentNodesHaveTextProperty?e.text:e.nodeValue).match(startCommentRegex);return t?t[1]:null}function is_identifier_char(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"||e>="0"&&e<=9||"_"===e||"$"===e}function secureBindingsProvider(e){new ko.bindingProvider;e=e||{},this.attribute=e.attribute||"data-sbind",this.noVirtualElements=e.noVirtualElements||!1,this.globals=e.globals||{},this.bindings=e.bindings||ko.bindingHandlers}function registerBindings(e){ko.utils.extend(this.bindings,e)}function nodeHasBindings(e){var t;return e.nodeType===e.ELEMENT_NODE?e.getAttribute(this.attribute)||ko.components&&ko.components.getComponentNameForNode(e):e.nodeType===e.COMMENT_NODE?!this.noVirtualElements&&(t=(""+e.nodeValue||e.text).trim(),0===t.indexOf("ko ")):void 0}function getBindingsString(e){switch(e.nodeType){case e.ELEMENT_NODE:return e.getAttribute(this.attribute);case e.COMMENT_NODE:return _virtualNodeBindingValue(e);default:return null}}function nodeParamsToObject(e,t){var n=t.parse(e.getAttribute("params"));if(!n||0===Object.keys(n).length)return{$raw:{}};var r=_object_map(n,function(t,n){return ko.computed(t,null,{disposeWhenNodeIsRemoved:e})}),i=_object_map(r,function(t,n){var r=t.peek();return t.isActive()?ko.computed({read:function(){return ko.utils.unwrapObservable(t())},write:ko.isWriteableObservable(r)&&function(e){t()(e)},disposeWhenNodeIsRemoved:e}):r});return i.hasOwnProperty("$raw")||(i.$raw=r),i}function getBindings(e,t){var n,r={},i=new Parser(e,t,this.globals),o=this.getBindingsString(e);if(e.nodeType===e.ELEMENT_NODE&&ko.components&&(n=ko.components.getComponentNameForNode(e)),o&&(r=i.parse(o||"")),n){if(r.component)throw new Error("Cannot use a component binding on custom elements");var s={name:n,params:nodeParamsToObject(e,i)};r.component=function(){return s}}return r}var Identifier,Expression,Parser,Node,originalBindingProviderInstance=new ko.bindingProvider,commentNodesHaveTextProperty=document&&"<!--test-->"===document.createComment("test").text,startCommentRegex=commentNodesHaveTextProperty?/^<!--\s*ko(?:\s+([\s\S]+))?\s*-->$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/;Identifier=function(){function e(e,t,n){this.token=t,this.dereferences=n,this.parser=e}return e.prototype.lookup_value=function(e){var t=this.token,n=this.parser,r=n.context,i=r.$data||{},o=n.globals||{};if(e)return value_of(e)[t];switch(t){case"$element":return n.node;case"$context":return r;case"$data":return i}return i[t]||r[t]||o[t]},e.prototype.dereference=function(e){var t,n,r,i,o=this.dereferences||[],s=this.parser,h=s.context||{},a=h.$data||{},u={$context:h,$data:a,globals:s.globals||{},$element:s.node};for(r=0,i=o.length;r<i;++r)t=o[r],t instanceof Array?e&&e.call&&(e=e.apply(n||a||u,this.convert_args(t)),n=e):(n=e,e&&(e=e[value_of(t)]));return e},e.prototype.convert_args=function(t){var n,r=[];if(!t||0===t.length)return r;for(n=0;n<t.length;n++)t[n]instanceof e||t[n]instanceof Expression?r.push(t[n].get_value()):r.push(t[n]);return r},e.prototype.get_value=function(e){return this.dereference(this.lookup_value(e))},e.prototype.set_value=function(e){var t,n,r,i=this.parser,o=i.context,s=o.$data||{},h=i.globals||{},a=this.dereferences||[],u=this.token;if(Object.hasOwnProperty.call(s,u))r=s;else if(Object.hasOwnProperty.call(o,u))r=o;else{if(!Object.hasOwnProperty.call(h,u))throw new Error("Identifier::set_value -- The property '"+u+"' does not exist on the $data, $context, or globals.");r=h}for(n=a.length,0===n&&(r[u]=e),r=r[u],t=0;t<n-1;++t)u=a[t],r=u===!0?r():r[value_of(u)];if(a[t]===!0)throw new Error("Cannot assign a value to a function.");r[value_of(a[t])]=e},e}(),Node=function(){function e(e,t,n){this.lhs=e,this.op=t,this.rhs=n}var t={"!":function(e,t){return!t},"!!":function(e,t){return!!t},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e==t},"!=":function(e,t){return e!=t},"===":function(e,t){return e===t},"!==":function(e,t){return e!==t},"&":function(e,t){return e&t},"^":function(e,t){return e^t},"|":function(e,t){return e|t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?":function(e,t){return e||t},"-:":function(e,t){return e?t:null},":-":function(e,t){return e?null:t}};return t["!"].precedence=4,t["!!"].precedence=4,t["*"].precedence=5,t["/"].precedence=5,t["%"].precedence=5,t["+"].precedence=6,t["-"].precedence=6,t["<"].precedence=8,t["<="].precedence=8,t[">"].precedence=8,t[">="].precedence=8,t["=="].precedence=9,t["!="].precedence=9,t["==="].precedence=9,t["!=="].precedence=9,t["&"].precedence=10,t["^"].precedence=11,t["|"].precedence=12,t["&&"].precedence=13,t["||"].precedence=14,e.operators=t,e.prototype.get_leaf_value=function(t,n){if("function"==typeof t)return ko.utils.unwrapObservable(t());if("object"!=typeof t)return n?n[t]:t;if(t instanceof Identifier||t instanceof Expression)return ko.utils.unwrapObservable(t.get_value(n));if(t instanceof e)return t.get_node_value(n);throw new Error("Invalid type of leaf node: "+t)},e.prototype.get_node_value=function(){return this.op(this.get_leaf_value(this.lhs),this.get_leaf_value(this.rhs))},e}(),Expression=function(){function e(e){this.nodes=e,this.root=this.build_tree(e)}return e.operators=Node.operators,e.Node=Node,e.prototype.build_tree=function(e){var t,n,r,i;for(n=t=new Node(e.shift(),e.shift(),e.shift());e&&(r=e.shift(),i=e.shift(),r);)r.precedence>=t.op.precedence?(t=new Node(t,r,i),n=t):(n.rhs=new Node(n.rhs,r,i),n=n.rhs);return t},e.prototype.get_value=function(){return this.root||(this.root=this.build_tree(this.nodes)),this.root.get_node_value()},e}(),Parser=function(){function e(e,t,n){this.node=e,this.context=t,this.globals=n||{}}var t={"'":"'",'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},n=Expression.operators;return e.Expression=Expression,e.Identifier=Identifier,e.Node=Node,e.prototype.white=function(){for(var e=this.ch;e&&e<=" ";)e=this.next();return e},e.prototype.next=function(e){return e&&e!==this.ch&&this.error("Expected '"+e+"' but got '"+this.ch+"'"),this.ch=this.text.charAt(this.at),this.at+=1,this.ch},e.prototype.error=function(e){throw{name:"SyntaxError",message:e,at:this.at,text:this.text}},e.prototype.name=function(){var e="";this.white();for(var t=this.ch;t;){if(":"===t||t<=" "||","===t)return e;e+=t,t=this.next()}return e},e.prototype.number=function(){var e,t="",n=this.ch;for("-"===n&&(t="-",n=this.next("-"));n>="0"&&n<="9";)t+=n,n=this.next();if("."===n)for(t+=".",n=this.next();n&&n>="0"&&n<="9";)t+=n,n=this.next();if("e"===n||"E"===n)for(t+=n,n=this.next(),"-"!==n&&"+"!==n||(t+=n,n=this.next());n>="0"&&n<="9";)t+=n,n=this.next();return e=+t,isFinite(e)?e:void error("Bad number")},e.prototype.object_add_value=function(e,t,n){n instanceof Identifier||n instanceof Expression?Object.defineProperty(e,t,{get:function(){return n.get_value()},enumerable:!0}):e[t]=n},e.prototype.object=function(){var e,t={},n=this.ch;if("{"===n){if(this.next("{"),n=this.white(),"}"===n)return n=this.next("}"),t;for(;n;){if(e='"'===n||"'"===n?this.string():this.name(),this.white(),n=this.next(":"),Object.hasOwnProperty.call(t,e)&&this.error('Duplicate key "'+e+'"'),this.object_add_value(t,e,this.expression()),n=this.white(),"}"===n)return n=this.next("}"),t;this.next(","),n=this.white()}}this.error("Bad object")},e.prototype.read_string=function(e){for(var n,r,i,o="",s=this.next();s;){if(s===e)return s=this.next(),o;if("\\"===s)if(s=this.next(),"u"===s){for(i=0,r=0;r<4&&(n=parseInt(s=this.next(),16),isFinite(n));r+=1)i=16*i+n;o+=String.fromCharCode(i)}else{if("string"!=typeof t[s])break;o+=t[s]}else o+=s;s=this.next()}this.error("Bad string")},e.prototype.string=function(){var e=this.ch;return'"'===e?this.read_string('"'):"'"===e?this.read_string("'"):void this.error("Bad string")},e.prototype.array=function(){var e=[],t=this.ch;if("["===t){if(t=this.next("["),this.white(),"]"===t)return t=this.next("]"),e;for(;t;){if(e.push(this.expression()),t=this.white(),"]"===t)return t=this.next("]"),e;this.next(","),t=this.white()}}this.error("Bad array")},e.prototype.value=function(){var e;switch(this.white(),e=this.ch){case"{":return this.object();case"[":return this.array();case'"':case"'":return this.string();case"-":return this.number();default:return e>="0"&&e<="9"?this.number():this.identifier()}},e.prototype.operator=function(){for(var e,t="",r=this.white();r&&!(is_identifier_char(r)||r<=" "||""===r||'"'===r||"'"===r||"{"===r||"["===r||"("===r);)t+=r,r=this.next();return""!==t&&(e=n[t],e||this.error("Bad operator: '"+t+"'.")),e},e.prototype.condExpression=function(e){var t,n,r,i;return this.white(),this.next("?"),this.white(),t=this.expression(),r=new Expression([e,Expression.operators["-:"],t]),this.white(),this.next(":"),this.white(),n=this.expression(),i=new Expression([e,Expression.operators[":-"],n]),new Expression([r,Expression.operators["?"],i])},e.prototype.expression=function(){for(var e,t=[],n=this.white();n&&(op=this.operator(),op&&(t.push(void 0),t.push(op)),n=this.ch,"("===n?(this.next(),t.push(this.expression()),this.next(")")):(e=this.value(),t.push(e)),n=this.white(),":"!==n&&"}"!==n&&","!==n&&"]"!==n&&")"!==n&&""!==n);){if("?"===n&&1===t.length)return this.condExpression(t[0]);op=this.operator(),op&&t.push(op),n=this.white()}if(0!==t.length)return 1===t.length?t[0]:new Expression(t)},e.prototype.dereference=function(){for(var e,t=this.white();t;){if("("===t){this.next("("),t=this.white();for(var n=[];t;){if(")"===t){this.next(")"),this.white();break}","===t&&(this.next(","),t=this.white()),n.push(this.expression()),t=this.white()}return n}if("["===t)return this.next("["),e=this.expression(),this.white(),this.next("]"),e;if("."===t){for(e="",this.next("."),t=this.white();t&&is_identifier_char(t);)e+=t,t=this.next();return e}break}},e.prototype.identifier=function(){var e,t,n="",r=[];for(e=this.white();e&&is_identifier_char(e);)n+=e,e=this.next();switch(n){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}for(;e&&(t=this.dereference(),void 0!==t);)r.push(t);return new Identifier(this,n,r)},e.prototype.bindings=function(){var e,t,n={},r=!1;this.white(),"{"===this.ch&&(this.next("{"),this.white(),r=!0);for(var i=this.ch;i;)e=this.name(),t=this.white(),t&&","!==t?(i=this.next(":"),n[e]=this.expression(),this.white(),"}"===this.ch?r?(this.next("}"),i=this.white()):this.error("Unexpected char '}' found"):i=this.ch?this.next(","):""):(i=t?this.next(","):"",n[e]=null);return n},e.prototype.convert_to_accessors=function(e){var t={};return ko.utils.objectForEach(e,function(n,r){r instanceof Identifier?(e[n]=r.get_value(),ko.expressionRewriting._twoWayBindings[n]&&(t[n]=function(e){r.set_value(e)})):r instanceof Expression?e[n]=r.get_value():"function"!=typeof r&&(e[n]=r)}),Object.keys(t).length>0&&(e._ko_property_writers=function(){return t}),e},e.prototype.parse=function(e){if(this.text=(e||"").trim(),this.at=0,this.ch=" ",!this.text)return null;var t=this.bindings();return this.white(),this.ch&&this.error("Syntax Error"),this.convert_to_accessors(t)},e}(),ko.utils.objectForEach=function(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])},ko.expressionRewriting._twoWayBindings={},ko.expressionRewriting._twoWayBindings.checked=!0,ko.expressionRewriting._twoWayBindings.hasfocus=!0,ko.expressionRewriting._twoWayBindings.hasFocus=!0,ko.expressionRewriting._twoWayBindings.selectedOptions=!0,ko.expressionRewriting._twoWayBindings.textInput=!0,ko.expressionRewriting._twoWayBindings.value=!0,ko.utils.extend(secureBindingsProvider.prototype,{registerBindings:registerBindings,nodeHasBindings:nodeHasBindings,getBindings:getBindings,getBindingsString:getBindingsString,nodeParamsToObject:nodeParamsToObject,Parser:Parser});    
    ko.secureBindingsProvider = secureBindingsProvider;
    
    return secureBindingsProvider;
}));

// Copyright (C) Microsoft Corporation. All rights reserved.
define("Gallery/Client/Common/Constants",["require","exports"],function(n,t){var i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,gi,nr,tr,ir,rr,ur,fr;Object.defineProperty(t,"__esModule",{value:!0});t.ProductArchitectures=t.ShareType=t.MICROSOFT=t.ManagePublisherPageConstants=t.GalleryTestConstants=t.SessionStorageKey=t.ServiceInstanceTypes=t.XamarinUniversity=t.TestThirdParty=t.SenseAdapt=t.BackLogEssentials=t.CodeQuality=t.ExportPro=t.TimeTracker=t.AgileCards=t.TestManager=t.Packagemanagement=t.NDepend=t.TeamServices=t.TrendingCategoryConstants=t.ErrorCode=t.GalleryContextConstants=t.IdentityConstants=t.FilterTags=t.Publishers=t.FilterConstants=t.InstallContextConstants=t.TelemetryConstants=t.CloudConnectedServerShortNameConstants=t.ConnectedContextConstants=t.tabSelector=t.HomepageConstants=t.PriceCalculatorConstants=t.tabConstants=t.CatgeoryHeaderConstants=t.VSCodeEditorDownloadConstants=t.CustomerSupportRequestConstants=t.QnAConstants=t.RatingConstants=t.DetailsTabConstants=t.VsForMacConstants=t.EXAMPLE_TFS_LINK=t.MAX_QUANTITY_DEFAULT=t.VSCODE_INSTALL_COMMAND_TEMPLATE=t.QUANTITY_TEXT_MAXLENGTH=t.DOWNARROW_KEY_CODE=t.NINE_KEY_CODE_OF_NUMKEYBOARD=t.ZERO_KEY_CODE_OF_NUMKEYBOARD=t.NINE_KEY_CODE=t.ZERO_KEY_CODE=t.LEFT_KEY_CODE=t.RIGHT_KEY_CODE=t.SPACE_KEY_CODE=t.ENTER_KEY_CODE_WITH_CRTL_KEY=t.ENTER_KEY_CODE=t.TAB_KEY_CODE=t.MOUSE_BUTTON_RIGHT=t.MOUSE_BUTTON_MIDDLE=t.TAB_SPINNER_SELECTOR=t.FeatureFlag=t.AssetType=t.CustomException=t.ExtensionDailyStatType=t.VersionHistoryConstants=t.StatisticType=t.AcquireWorkFlowConstants=t.GalleryImages=t.GalleryUrls=t.GalleryPublisherUrlsConstants=t.MarketplaceHostedBrowseUrl=t.MarketplaceOnPremBrowseUrl=t.MarketplaceHome=t.MarketplaceVstsURL=t.AcquisitionLinks=t.PublishExtensionsLinks=t.BuildYourOwnLinks=t.SortOptions=t.SortConstants=t.SearchConstants=t.ReCaptchaConstants=t.GalleryEvents=t.ViewDataConstants=t.QueryParams=t.ItemDetailsTab=t.Tags=t.AcquisitionErrorTypes=t.AcquisitionStepIds=t.VSGalleryUrlConstants=t.GalleryEmsUrlConstants=t.GalleryRequestUrlsConstants=void 0,function(n){n.RequestExtensionURL="_settings/extensions?tab=requested&status=pending"}(i=t.GalleryRequestUrlsConstants||(t.GalleryRequestUrlsConstants={})),function(n){n.ManageInstalledExtensionsURL="_settings/extensions?tab=installed"}(r=t.GalleryEmsUrlConstants||(t.GalleryEmsUrlConstants={})),function(n){n.VSGALLERY_SEARCH_URL="https://visualstudiogallery.msdn.microsoft.com/site/search?query="}(u=t.VSGalleryUrlConstants||(t.VSGalleryUrlConstants={})),function(n){n.AccountSelection="accountSelection";n.Review="review";n.CollectionSelection="collectionSelection";n.Request="request";n.SubscriptionSelection="subscriptionSelection";n.TargetSelection="targetSelection";n.PackageCompat="packageCompat";n.BuyCustomization="buyCustomization";n.AccountBasedPurchaseDetails="accountBasedPurchaseDetails";n.Confirm="confirm"}(f=t.AcquisitionStepIds||(t.AcquisitionStepIds={})),function(n){n.UserError="UserError";n.SystemError="SystemError"}(e=t.AcquisitionErrorTypes||(t.AcquisitionErrorTypes={})),function(n){n.BYOLEnforced="__BYOLEnforced";n.BYOL="__BYOL";n.TrailDays="__TrialDays"}(o=t.Tags||(t.Tags={})),function(n){n.pricing="#pricing"}(s=t.ItemDetailsTab||(t.ItemDetailsTab={})),function(n){n.ItemDetailsInstallContext="installContext";n.ExternalSourceMarket="market"}(h=t.QueryParams||(t.QueryParams={})),function(n){n.AuthenticatedTenantId=".authenticated-tenant-id"}(c=t.ViewDataConstants||(t.ViewDataConstants={})),function(n){n.PAGE_LOAD="Gallery.Events.PageLoad";n.LAUNCH_INSTALL="Gallery.Events.LaunchInstall";n.UNLOAD_INSTALL="Gallery.Events.UnloadInstall";n.UNLOAD_DETAILS="Gallery.Events.UnloadDetailsPage";n.UNLOAD_ACQUIRE="Gallery.Events.UnloadAcquirePage";n.UNLOAD_VS_EXTENSION_PUBLISH="Gallery.Events.UnloadVsExtensionPublish";n.BEFORE_OPEN_WINDOW="Gallery.Events.BeforeOpenWindow";n.CREATE_ACCOUNT="Gallery.Events.CreateNewAccount"}(l=t.GalleryEvents||(t.GalleryEvents={})),function(n){n.ReCaptchaUrl="https://www.google.com/recaptcha/api.js"}(a=t.ReCaptchaConstants||(t.ReCaptchaConstants={})),function(n){n.SESSION_STORAGE_NAME="ProductContext";n.VSProductText="VS";n.VSTSProductText="VSTS";n.AzureDevOpsProductText="AzureDevOps";n.VSForMacProductText="VSForMac";n.VSCodeProductText="VSCode"}(v=t.SearchConstants||(t.SearchConstants={})),function(n){n.SortParameter="sortBy";n.IsSearchPage="isSearchPage"}(y=t.SortConstants||(t.SortConstants={})),function(n){n.SortByDate="PublishedDate";n.Installs="Installs";n.Ratings="Ratings";n.Publisher="Publisher";n.Name="Name";n.UpdatedDate="UpdatedDate";n.Rating="Rating"}(p=t.SortOptions||(t.SortOptions={})),function(n){n.VS="https://go.microsoft.com/fwlink/?linkid=851731";n.VSCode="https://go.microsoft.com/fwlink/?LinkID=703825";n.VSTS="https://go.microsoft.com/fwlink/?LinkID=703824";n.VSForMac="https://aka.ms/vs/mac/extend"}(w=t.BuildYourOwnLinks||(t.BuildYourOwnLinks={})),function(n){n.VSGallery="https://go.microsoft.com/fwlink/?linkid=852138"}(b=t.PublishExtensionsLinks||(t.PublishExtensionsLinks={})),function(n){n.upgradeLink="https://go.microsoft.com/fwlink/?LinkID=822670";n.maxLimitLink="https://go.microsoft.com/fwlink/?LinkID=703830";n.maxLimitLinkOffer="https://go.microsoft.com/fwlink/?LinkID=2028920";n.priceLink="https://go.microsoft.com/fwlink/?LinkID=698602"}(k=t.AcquisitionLinks||(t.AcquisitionLinks={}));t.MarketplaceVstsURL="http://go.microsoft.com/fwlink/?LinkID=746548&clcid=0x409";t.MarketplaceHome="https://marketplace.visualstudio.com/";t.MarketplaceOnPremBrowseUrl="https://go.microsoft.com/fwlink/?linkid=821987";t.MarketplaceHostedBrowseUrl="https://go.microsoft.com/fwlink/?linkid=822544",function(n){n.InstallHelpUrl="https://aka.ms/vsmarketplace-install";n.PublishingHelpUrl="https://aka.ms/vsmarketplace-publish";n.VSCodePublishingHelpUrl="https://go.microsoft.com/fwlink/?linkid=866305";n.VSForMacPublishingHelpUrl="https://aka.ms/vs/mac/extend";n.SharingHelpUrl="https://aka.ms/vsmarketplace-share";n.UnpublishingHelpUrl="https://aka.ms/vsmarketplace-unpublish";n.LearnMarketplaceHelpUrl="https://aka.ms/vsmarketplace-overview";n.LearnMoreCreatePublisherUrl="https://aka.ms/vsmarketplace-publish";n.ReviewPoliciesUrl="https://aka.ms/vsmarketplace-agreement";n.PublisherVerificationProcessUrl="https://aka.ms/vsmarketplace-verify";n.PublisherVerifiedContactSupport="https://aka.ms/vsmarketplace-verify";n.AzurePublisherUrl="https://go.microsoft.com/fwlink/?LinkID=787520";n.MarketplaceCertificationUrl="https://aka.ms/vsmarketplace-certification-faq";n.MarketplaceCertificationUrlForPublishers="https://aka.ms/vsmarketplace-certification-publisher-faq"}(d=t.GalleryPublisherUrlsConstants||(t.GalleryPublisherUrlsConstants={})),function(n){n.VSCodeExtensionInstallLink="vscode:extension/{0}";n.VSCodeInsidersExtensionInstallLink="vscode-insiders:extension/{0}";n.VSCodeInstallHelpUrl="https://aka.ms/vscode_extn_install";n.CodeExtensionGetStartedLink="http://go.microsoft.com/fwlink/?LinkID=691811&pub={0}&ext={1}";n.CustomizeAndConfirmInfoMsgLearnMore="https://account.windowsazure.com/signup?offer=ms-azr-0003p";n.Eula_AzureLicenseUrl="https://aka.ms/vsmarketplace-ToU";n.Eula_OnlinePrivacyUrl="https://go.microsoft.com/fwlink/?LinkId=131004&clcid=0x409";n.Header_PartnerProgramURL="https://vsipprogram.com/";n.ItemShareFacebookUrl="https://www.facebook.com/sharer/sharer.php?u={0}";n.ItemShareTwitterUrl="https://www.twitter.com/home?status={0}";n.DefaultPublisherIcon="default-publisher-icon.png";n.MarketPlaceFAQLink="http://go.microsoft.com/fwlink/?LinkID=699378&clcid=0x409";n.RemoveSpendingLimitForwardLink="http://go.microsoft.com/fwlink/?LinkID=691954&clcid=0x409";n.SubscriptionPickerInformationLink="https://azure.microsoft.com/en-in/pricing/purchase-options/";n.AzureAccountMarketplaceLink="http://go.microsoft.com/fwlink/?LinkID=824023";n.AccountInDifferentTenantFromLinkedSubscriptionLink="https://go.microsoft.com/fwlink/?linkid=833543";n.BillingSupportUrlForPaidExtensionLink="https://go.microsoft.com/fwlink/?linkid=835396";n.XamarinUniversityEulaUrl="https://go.microsoft.com/fwlink/?linkid=842231";n.XamarinUniversityGetStarted="https://aka.ms/xamu-vsmp-getstarted";n.AsssignSubscriptionLink="https://aka.ms/i68sbo";n.MySubscriptionLink="https://aka.ms/pdruhp";n.RequestExtensionsOnPremLearnMoreLink="https://go.microsoft.com/fwlink/?linkid=849836";n.RequestExtensionHostedLearnMoreLink="https://go.microsoft.com/fwlink/?linkid=849837";n.ChangeAzureSubscriptionLink="https://go.microsoft.com/fwlink/?linkid=851518";n.RiskEvaluationLink="https://go.microsoft.com/fwlink/?linkid=2040813"}(g=t.GalleryUrls||(t.GalleryUrls={})),function(n){n.ItemShareFacebookIcon="icon-social-facebook.svg";n.ItemShareTwitterIcon="icon-social-twitter.svg";n.ItemShareEmailIcon="icon-social-email.svg";n.LinkedInIcon="icon-social-linkedin.png";n.GitIcon="icon-social-git.png";n.NoResultsImageIcon="noResults.png";n.DefaultExtensionLogo="Header/nologo_90.png";n.CustomerSupportYourRequestIcon="icon-your-request.png"}(nt=t.GalleryImages||(t.GalleryImages={})),function(n){n.PROCEED_TO_ACCOUNT="Proceed_To_Account";n.POST_ACQUISITION_CONFIG="Post_Acquisition_Config";n.GET_STARTED="Get_Started";n.LEARN_MORE="Learn_More";n.DISCOVER_MORE_EXTENSIONS="Discover_More_Extensions";n.DISCOVER_MORE_SUBSCRIPTIONS="Discover_More_Subscriptions";n.ASSIGN_TO_USERS="Assign_To_Users";n.MANAGE_USERS="Manage_Users";n.BUY_REQUEST="Buy_Request";n.INSTALL_REQUEST="Install_Request";n.INSTALL="Install";n.TRIAL="Trial";n.BUY_EXTENSION="Buy_Extension";n.BUY_OFFER="Buy_Offer";n.VIEW_REQUEST="View_Request";n.RESOURCE_ACTION="Resource_Action";n.BACK_TO_MARKETPLACE="Back_To_Marketplace";n.UsersHubExtensionUrlPathQuery="?id=";n.ThirdPartyCommerceTesting="ThirdPartyCommerceTestingForAcquisitionExp"}(tt=t.AcquireWorkFlowConstants||(t.AcquireWorkFlowConstants={})),function(n){n.Install="install";n.AverageRating="averagerating";n.RatingCount="ratingcount"}(it=t.StatisticType||(t.StatisticType={})),function(n){n.DefaultVisibleVersions=5}(rt=t.VersionHistoryConstants||(t.VersionHistoryConstants={})),function(n){n.WebPageView="pageview";n.InstallCount="installcount";n.Download="download"}(ut=t.ExtensionDailyStatType||(t.ExtensionDailyStatType={})),function(n){n.RiskEvaluationRejectException="RiskEvaluationRejectException"}(ft=t.CustomException||(t.CustomException={})),function(n){n.VsixPackage="Microsoft.VisualStudio.Services.VSIXPackage";n.Details="Microsoft.VisualStudio.Services.Content.Details";n.DefaultIcon="Microsoft.VisualStudio.Services.Icons.Default"}(et=t.AssetType||(t.AssetType={})),function(n){n.ShowRatingAndReview="Microsoft.VisualStudio.Services.Gallery.RatingReview";n.InfiniteScroll="Microsoft.VisualStudio.Services.Gallery.InfiniteScrollDisplay";n.PublisherReply="Microsoft.VisualStudio.Services.Gallery.PublisherReply";n.ShowVSItemLink="Microsoft.VisualStudio.Services.Gallery.ShowVSItemLink";n.ShowLargeThumbnailAsBrandingIcon="Microsoft.VisualStudio.Services.Gallery.ShowLargeThumbnailAsBrandingIcon";n.EnableVersionRangeOnSearchPage="Microsoft.VisualStudio.Services.Gallery.EnableVersionRangeOnSearchPage";n.LogGetStartedCount="Microsoft.VisualStudio.Services.Gallery.Publisher360.LogGetStartedCount";n.ShowQnA="Microsoft.VisualStudio.Services.Gallery.ShowQnA";n.EnableQnABypass="Microsoft.VisualStudio.Services.Gallery.EnableQnABypass";n.EnableQnABypassForVSTS="Microsoft.VisualStudio.Services.Gallery.EnableQnABypassForVSTS";n.PrivacyPage="Microsoft.VisualStudio.Services.Gallery.PrivacyPage";n.EnablePublisherStatPageVSCode="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnablePublisherStatPageVSCode";n.EnableReportsLinkForVSCode="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableReportsLinkForVSCode";n.EnableReportsLinkForVSIde="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableReportsLinkForVSIde";n.TileImpressionsSearchPage="Microsoft.VisualStudio.Services.Gallery.TileImpressionsSearchPage";n.EnableAQnATab="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableQnATab";n.EnableAcquisitionTab="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableAcquisitionTab";n.EnableAcquisitionTabForPaid="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableAcquisitionTabForPaid";n.EnableSalesTransactionsTab="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableSalesTransactionsTab";n.EnableIntAcquisitionTab="Microsoft.VisualStudio.Services.Gallery.Publisher360.EnableIntegerationAcquisitionTab";n.ShowReactRatingAndReview="Microsoft.VisualStudio.Services.Gallery.ReactRatingReview";n.EnableNewAcquisitionOnPremExperience="Microsoft.VisualStudio.Services.Gallery.EnableNewAcquisitionOnPremExperience";n.ShowPublishExtensions="Microsoft.VisualStudio.Services.Gallery.ShowPublishExtensions";n.EnableZeroSearchResultExperience="Microsoft.VisualStudio.Services.Gallery.ZeroSearchResultExperience";n.EnableNewTokenAcquisitionExperience="Microsoft.VisualStudio.Services.Gallery.EnableNewTokenAcquisitionExperience";n.EnableNewTokenAcquisitionExperienceForOffers="Microsoft.VisualStudio.Services.Gallery.EnableNewTokenAcquisitionExperienceForOffers";n.EnableNewTokenAcquisitionExperienceForTestManager="Microsoft.VisualStudio.Services.Gallery.EnableNewTokenAcquisitionExperienceForTestManager";n.EnableStickyBannerOnDetailsPage="Microsoft.VisualStudio.Services.Gallery.EnableStickyBannerOnDetailsPage";n.MarketplaceBrandingChanges="VisualStudio.Services.WebPlatform.UseNewBranding";n.EnableNewEmsAcquisitionOptions="Microsoft.VisualStudio.Services.Gallery.UseNewEmsAcquisitionOptions";n.UseNewDomainUrlInShareDropdown="Microsoft.VisualStudio.Services.Gallery.UseNewDomainUrlInShareDropdown";n.EnableVersionHistoryViewForVS="Microsoft.VisualStudio.Services.Gallery.EnableVersionHistoryViewForVS";n.EnableVersionHistoryViewForVSCode="Microsoft.VisualStudio.Services.Gallery.EnableVersionHistoryViewForVSCode";n.DisableVSCodeDownloadButton="Microsoft.VisualStudio.Services.Gallery.DisableVSCodeDownloadButton";n.EnablePublisherProfilePage="Microsoft.VisualStudio.Services.Gallery.EnablePublisherProfilePage";n.EnableVsForMac="Microsoft.VisualStudio.Services.Gallery.EnableVsForMac";n.EnableCertifiedPublisherUIChanges="Microsoft.VisualStudio.Services.Gallery.EnableCertifiedPublisherUIChanges";n.DisableUrlsInPublisherProfile="Microsoft.VisualStudio.Services.Gallery.DisableUrlsInPublisherProfile";n.SeparateUpdateAndInstalls="Microsoft.VisualStudio.Services.Gallery.SeparateUpdateAndInstalls";n.EnablePreviewSupportForVS="Microsoft.VisualStudio.Services.Gallery.EnablePreviewSupportForVS";n.EnableHiddenFlagAddition="Microsoft.VisualStudio.Services.Gallery.EnableHiddenFlagAddition";n.EnableQueriesBasedOnHiddenFlags="Microsoft.VisualStudio.Services.Gallery.EnableQueriesBasedOnHiddenFlags";n.EnableByolForMarketplace="Microsoft.VisualStudio.Services.Gallery.EnableByolForMarketplace";n.CommerceServiceRoutingEnabled="Microsoft.VisualStudio.Services.Commerce.CommerceServiceRoutingEnabled";n.CommerceServiceFallbackDisabled="Microsoft.VisualStudio.Services.Commerce.CommerceServiceFallbackDisabled";n.CallNewGetAccountsVersionAPI="Microsoft.VisualStudio.Services.Gallery.CallNewGetAccountsVersionAPI";n.UseIdentityDescriptorsToReadIdentities="Microsoft.VisualStudio.Services.Gallery.UseIdentityDescriptorsToReadIdentities";n.EnableSortByInstallCountUI="Microsoft.VisualStudio.Services.Gallery.EnableSortByInstallCountUI";n.MarkPublishersVerifiedByDefault="Microsoft.VisualStudio.Services.Gallery.MarkPublishersVerifiedByDefault";n.EnableSupportRequestFeature="Microsoft.VisualStudio.Services.Gallery.EnableSupportRequestFeature";n.DisablePublisherCreation="Microsoft.VisualStudio.Services.Gallery.DisablePublisherCreation";n.DisableVsCodeExtensionCreation="Microsoft.VisualStudio.Services.Gallery.DisableVsCodeExtensionCreation";n.DisableVSExtensionCreation="Microsoft.VisualStudio.Services.Gallery.DisableVSExtensionCreation";n.EnableReCaptchaInCreateCSR="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaInCreateCSR";n.DisableLinkTypeExtensions="Microsoft.VisualStudio.Services.Gallery.DisableLinkTypeExtensions";n.EnableReCaptchaInReviewAndRating="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaInReviewAndRating";n.EnableReCaptchaInQnA="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaInQnA";n.EnableReCaptchaForCreatePublisherProfile="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForCreatePublisherProfile";n.EnableReCaptchaForUpdatePublisherProfile="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForUpdatePublisherProfile";n.EnableReCaptchaForCreateVisualStudioExtension="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForCreateVisualStudioExtension";n.EnableReCaptchaForEditVisualStudioExtension="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForEditVisualStudioExtension";n.EnableReCaptchaForCreateVisualStudioCodeExtension="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForCreateVisualStudioCodeExtension";n.EnableReCaptchaForUpdateVisualStudioCodeExtension="Microsoft.VisualStudio.Services.Gallery.EnableReCaptchaForUpdateVisualStudioCodeExtension";n.DisableLinkTypeExtensionUpdate="Microsoft.VisualStudio.Services.Gallery.DisableLinkTypeExtensionUpdate";n.PreventDeletingVsCodeAndVsIdeExtensionsFromUI="Microsoft.VisualStudio.Services.Gallery.PreventDeletingVsCodeAndVsIdeExtensionsFromUI";n.EnableMultipleExtensionPayloadsPerEntries="Microsoft.VisualStudio.Services.Gallery.EnableMultipleExtensionPayloadsPerEntries";n.EnableTargetPlatformFilterDropdown="Microsoft.VisualStudio.Services.Gallery.EnableTargetPlatformFilterDropdown";n.EnableSeeMoreButtonOnVersionHistoryTab="Microsoft.VisualStudio.Services.Gallery.EnableSeeMoreButtonOnVersionHistoryTab";n.EnableReferralLinkRedirectionWarningPopup="Microsoft.VisualStudio.Services.Gallery.EnableReferralLinkRedirectionWarningPopup";n.EnableVerifiedPublisherDomain="Microsoft.VisualStudio.Services.Gallery.EnableVerifiedPublisherDomain";n.EnablePublisherDomainFieldUI="Microsoft.VisualStudio.Services.Gallery.EnablePublisherDomainFieldUI";n.EnableUnVerifyDomainOnDisplayNameChange="Microsoft.VisualStudio.Services.Gallery.EnableUnVerifyDomainOnDisplayNameChange";n.EnableAcquisitionTargetSelectionVSSUIComponents="Gallery.EnableAcquisitionTargetSelectionVSSUIComponents";n.EnableMembersRoleDropdownSelectionVSSUIComponents="Gallery.EnableMembersRoleDropdownSelectionVSSUIComponents"}(ot=t.FeatureFlag||(t.FeatureFlag={}));t.TAB_SPINNER_SELECTOR=".tab-collection-bigspinner";t.MOUSE_BUTTON_MIDDLE=1;t.MOUSE_BUTTON_RIGHT=2;t.TAB_KEY_CODE=9;t.ENTER_KEY_CODE=13;t.ENTER_KEY_CODE_WITH_CRTL_KEY=10;t.SPACE_KEY_CODE=32;t.RIGHT_KEY_CODE=39;t.LEFT_KEY_CODE=37;t.ZERO_KEY_CODE=48;t.NINE_KEY_CODE=57;t.ZERO_KEY_CODE_OF_NUMKEYBOARD=96;t.NINE_KEY_CODE_OF_NUMKEYBOARD=105;t.DOWNARROW_KEY_CODE=40;t.QUANTITY_TEXT_MAXLENGTH=5;t.VSCODE_INSTALL_COMMAND_TEMPLATE="ext install {0}";t.MAX_QUANTITY_DEFAULT=1e4;t.EXAMPLE_TFS_LINK="http://someserver/_gallery/manage",function(n){n.enableVsForMac="enableVsForMac"}(st=t.VsForMacConstants||(t.VsForMacConstants={})),function(n){n.currentTab="currentTab";n.showDialogBox="showDialogBox"}(ht=t.DetailsTabConstants||(t.DetailsTabConstants={})),function(n){n.showWriteDialogBox="ShowWriteDialogBox";n.minimumRatingWithoutComments=3;n.minimumReviewLength=50}(ct=t.RatingConstants||(t.RatingConstants={})),function(n){n.ShowQnAQueryParam="ShowQnA";n.showWriteDialogBox="ShowQnAWriteDialogBox";n.utmQueryParams="utm_source=vsmp&utm_medium=ms%20web&utm_campaign=mpdetails"}(lt=t.QnAConstants||(t.QnAConstants={})),function(n){n.FAQ_LINK="http://aka.ms/vsm-faqs";n.DMCA_CLAIM="DMCA claim";n.MALICIOUS_OR_VIRUS_EXTENSION="Malicious/Virus extension";n.TOP_PUBLISHER_REQUEST="Top publisher request";n.UPDATE_PUBLISHER_DISPLAY_NAME="Update publisher display name";n.LOCK_OR_REMOVE_EXTENSIONS="Lock or remove an extension";n.DELETE_PUBLISHER_ACCOUNT="Delete publisher account";n.APPEAL_REVIEW_OR_QANDA="Appeal Review or Q and A";n.AUTHENTICATION_ISSUE="Authentication Issue";n.WEBSITE_USABILITY_ISSUE="Website usability Issue";n.MISSING_PAGE="Missing Page (404)";n.OTHER="Other";n.UNABLE_TO_DOWNLOAD_EXTENSION="Unable to download the extension";n.UNABLE_TO_ADD_MEMBER="Unable to add a member";n.DMCA_CLAIM_Label="DMCA";n.MALICIOUS_OR_VIRUS_EXTENSION_Label="malicious";n.TOP_PUBLISHER_REQUEST_Label="top-publisher";n.UPDATE_PUBLISHER_DISPLAY_NAME_Label="displayname-change";n.LOCK_OR_REMOVE_EXTENSIONS_Label="extension-management";n.DELETE_PUBLISHER_ACCOUNT_Label="delete-publisher";n.APPEAL_REVIEW_OR_QANDA_Label="appeal-review";n.AUTHENTICATION_ISSUE_Label="authentication";n.WEBSITE_USABILITY_ISSUE_Label="website";n.MISSING_PAGE_Label="missing-page";n.OTHER_Label="other";n.UNABLE_TO_DOWNLOAD_EXTENSION_Label="unable-to-download-extension";n.UNABLE_TO_ADD_MEMBER_Label="unable-to-add-member";n.EXTENSION_DETAILS_PAGE="extensionDetailsPage";n.PUBLISHER_MANAGEMENT_PAGE="publisherManagementPage";n.APPEAL_REVIEW_PAGE="appealReview";n.FOOTER="footer"}(at=t.CustomerSupportRequestConstants||(t.CustomerSupportRequestConstants={})),function(n){n.vscodeEditorDownloadLink="https://go.microsoft.com/fwlink?linkid=846418&pub={0}&ext={1}&utm_source=vsmp&utm_campaign=mpdetails";n.EXTENSION_NAME="ExtensionName";n.PUBLISHER_NAME="PublisherName"}(vt=t.VSCodeEditorDownloadConstants||(t.VSCodeEditorDownloadConstants={})),function(n){n.header="Header";n.button="Button"}(yt=t.CatgeoryHeaderConstants||(t.CatgeoryHeaderConstants={})),function(n){n.SubcriptionTab="subscriptions";n.VSTab="vs";n.VSForMacTab="vsformac";n.VSTSTab="vsts";n.AzureDevOps="azuredevops";n.VSCodeTab="vscode"}(pt=t.tabConstants||(t.tabConstants={})),function(n){n.USDCurrencyCode="USD";n.USDCurrency="$";n.locale="en";n.equaltoSymbol="=";n.defaultFreeUsersCount=0}(wt=t.PriceCalculatorConstants||(t.PriceCalculatorConstants={})),function(n){n.DedupeExtensionsFeature="DedupeHomepageExtensions";n.VsTrendingHomepage="VsTrendingHomepage";n.Vs2019Homepage="Vs2019Homepage";n.EnableNoFilterSearchHomepageVSIDE="EnableNoFilterSearchHomepageVSIDE"}(bt=t.HomepageConstants||(t.HomepageConstants={})),function(n){n.VSTSTab="vsts-tab-content";n.VSCodeTab="vscode-tab-content"}(kt=t.tabSelector||(t.tabSelector={})),function(n){n.serverKey="serverKey";n.enabledFeatures="enabledFeatures";n.authToken="authToken";n.targetServerId="serverId";n.targetServerUrl="galleryUrl";n.targetServerName="serverName";n.targetServerVersion="serverVersion";n.targetCollectionName="collectionName";n.targetHiddenAccountId="billingAccountId";n.targetUrl="collectionUrl";n.targetUserHubUrl="userHubUrl";n.collectionId="collectionId";n.connectUrl="connectUrl";n.hasInternetAccess="hasInternetAccess";n.registrationId="registrationId";n.registrationKey="registrationKey";n.isAdmin="isAdmin"}(dt=t.ConnectedContextConstants||(t.ConnectedContextConstants={})),function(n){n.serverKey="serverKey";n.enabledFeatures="cf";n.authToken="at";n.targetServerId="si";n.targetServerUrl="gu";n.targetServerName="sn";n.targetServerVersion="sv";n.targetCollectionName="cn";n.targetHiddenAccountId="ba";n.targetUrl="cl";n.targetUserHubUrl="ul";n.collectionId="ci";n.connectUrl="cu";n.hasInternetAccess="ha";n.registrationId="ri";n.registrationKey="rk";n.isAdmin="ia"}(gt=t.CloudConnectedServerShortNameConstants||(t.CloudConnectedServerShortNameConstants={})),function(n){n.abandonmentReason="abandonmentReason";n.marketSessionId="market-session-id"}(ni=t.TelemetryConstants||(t.TelemetryConstants={})),function(n){n.itemLink="itemUrl"}(ti=t.InstallContextConstants||(t.InstallContextConstants={})),function(n){n.CostParamValueFree="free";n.CostParamValuePaid="paid";n.CostParamValueTrial="trial";n.InstallationTargetParamValueCloud="cloud";n.InstallationTargetParamValueOnPrem="onpremises";n.VersionParamValueVS2010="vs2010";n.VersionParamValueVS2012="vs2012";n.VersionParamValueVS2013="vs2013";n.VersionParamValueVS2015="vs2015";n.VersionParamValueVS15="vs15";n.VersionParamValueVS2019="vs2019";n.VersionParamValueVS2022="vs2022";n.CertifiedParamValueMicrosoft="microsoft";n.CertifiedParamValueCertifiedPublishers="certifiedpublishers";n.VisibilityPublic="public";n.VisibilityOrganization="organization";n.VisibilityAll="all"}(ii=t.FilterConstants||(t.FilterConstants={})),function(n){n.Microsoft="ms";n.MicrosoftDevLabs="Microsoft DevLabs"}(ri=t.Publishers||(t.Publishers={})),function(n){n.IsPaid="$IsPaid"}(ui=t.FilterTags||(t.FilterTags={})),function(n){n.MicrosoftAccountDirectory="Microsoft Account"}(fi=t.IdentityConstants||(t.IdentityConstants={})),function(n){n.serverKeyUrlParam="serverKey"}(ei=t.GalleryContextConstants||(t.GalleryContextConstants={})),function(n){n.Unauthorised=401}(oi=t.ErrorCode||(t.ErrorCode={})),function(n){n.TrendingWeekly="TrendingWeekly";n.TrendingDaily="TrendingDaily";n.TrendingMonthly="TrendingMonthly";n.Trending="Trending"}(si=t.TrendingCategoryConstants||(t.TrendingCategoryConstants={})),function(n){n.PublisherName="ms";n.ExtensionName="vss-vstsuser"}(hi=t.TeamServices||(t.TeamServices={})),function(n){n.PublisherName="ndepend";n.ExtensionName="ndependextension"}(ci=t.NDepend||(t.NDepend={})),function(n){n.PublisherName="ms";n.ExtensionName="feed"}(li=t.Packagemanagement||(t.Packagemanagement={})),function(n){n.PublisherName="ms";n.ExtensionName="vss-testmanager-web"}(ai=t.TestManager||(t.TestManager={})),function(n){n.PublisherName="spartez";n.ExtensionName="agile-cards"}(vi=t.AgileCards||(t.AgileCards={})),function(n){n.PublisherName="Berichthaus";n.ExtensionName="TfsTimetracker"}(yi=t.TimeTracker||(t.TimeTracker={})),function(n){n.PublisherName="mskold";n.ExtensionName="mskold-PRO-EnhancedExport"}(pi=t.ExportPro||(t.ExportPro={})),function(n){n.PublisherName="ndepend";n.ExtensionName="ndependextension"}(wi=t.CodeQuality||(t.CodeQuality={})),function(n){n.PublisherName="agile-extensions";n.ExtensionName="backlog-essentials"}(bi=t.BackLogEssentials||(t.BackLogEssentials={})),function(n){n.PublisherName="ripplerock";n.ExtensionName="senseadaptvsts"}(ki=t.SenseAdapt||(t.SenseAdapt={})),function(n){n.PublisherName="MathewAn";n.ExtensionName="smartwit"}(di=t.TestThirdParty||(t.TestThirdParty={})),function(n){n.PublisherName="ms";n.ExtensionName="xamarin-university"}(gi=t.XamarinUniversity||(t.XamarinUniversity={})),function(n){n.AEX="00000041-0000-8888-8000-000000000000"}(nr=t.ServiceInstanceTypes||(t.ServiceInstanceTypes={})),function(n){n.NoPrompt="NoPrompt";n.JourneyId="JourneyId";n.ErrorReason="ErrorReason"}(tr=t.SessionStorageKey||(t.SessionStorageKey={})),function(n){n.GalleryTestContext="IsGalleryTestContext"}(ir=t.GalleryTestConstants||(t.GalleryTestConstants={})),function(n){n.EnableCertifiedPublisherUIChanges="EnableCertifiedPublisherUIChanges"}(rr=t.ManagePublisherPageConstants||(t.ManagePublisherPageConstants={}));t.MICROSOFT="Microsoft",function(n){n.Account="account";n.Organization="organization"}(ur=t.ShareType||(t.ShareType={})),function(n){n.amd64="amd64";n.x86="x86";n.arm64="arm64"}(fr=t.ProductArchitectures||(t.ProductArchitectures={}))});

define("Gallery/Client/Common/CustomBindingsVNext",["require","exports","knockout","Gallery/Client/Common/Constants"],function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});t.CustomBindings=void 0;var u;(function(n){function t(){var n=this;i.bindingHandlers.enterkey={init:function(t,u,f,e){var o=u();$(t).keydown(function(t){var f=t.which?t.which:t.keyCode,u;return f===r.ENTER_KEY_CODE?(u=i.utils.unwrapObservable(o),u.call(n,e,t),!1):!0})}};i.bindingHandlers.spacekey={init:function(t,u,f,e){var o=u();$(t).keydown(function(t){var f=t.which?t.which:t.keyCode,u;return f===r.SPACE_KEY_CODE?(u=i.utils.unwrapObservable(o),u.call(n,e,t),!1):!0})}};i.bindingHandlers.onOpenDropdown={init:function(t,u,f,e){var o=u();$(t).keydown(function(t){var u=t.which?t.which:t.keyCode,f;return u===r.DOWNARROW_KEY_CODE||u===r.ENTER_KEY_CODE||u===r.SPACE_KEY_CODE?(f=i.utils.unwrapObservable(o),f.call(n,e,t),!1):!0})}}}n.addCustomBindings=t})(u=t.CustomBindings||(t.CustomBindings={}))});

define("Gallery/Client/Common/Ajax",["require","exports","q","VSS/Utils/Url","VSS/Ajax"],function(n,t,i,r,u){function o(t,o){if(!window.__useEntraToken||f===!1)return u.issueRequest(t,o);var s=i.defer();return n(["VSS/Platform/Context"],function(n){f=!0;var i=n===null||n===void 0?void 0:n.getService("ITokenProviderService"),u=i===null||i===void 0?void 0:i.getDefaultProvider();r.isExternalUrl(t)||!u?e(t,o,s):u.getAuthorizationHeader().then(function(n){n&&(o.beforeSend=function(t){t.setRequestHeader("Authorization",n)});e(t,o,s)}).catch(function(n){s.reject(n)})},function(){f=!1;e(t,o,s)}),s.promise}function e(n,t,i){u.issueRequest(n,t).then(function(n){i.resolve(n)},function(n){i.reject(n)})}Object.defineProperty(t,"__esModule",{value:!0});t.issueRequest=void 0;var f=undefined;t.issueRequest=o});

define("Gallery/Client/Service/VNext/ItemMinified",["require","exports"],function(n,t){var r,i;Object.defineProperty(t,"__esModule",{value:!0});t.ItemTypeEnum=t.ItemMinifiedHelper=void 0;r=function(){function n(){}return n._getItemName=function(n){return n.split("/").pop().replace("items?itemName=","")},n.getItemTypeText=function(n){var t="";return n===i.VSTS?t="VSTS":n===i.VSCode?t="VSCode":n===i.VS?t="VS":n===i.VSOffer?t="VSOffer":n===i.VSForMac&&(t="VSForMac"),t},n}();t.ItemMinifiedHelper=r,function(n){n[n.VSCode=0]="VSCode";n[n.VSTS=1]="VSTS";n[n.VS=2]="VS";n[n.VSOffer=3]="VSOffer";n[n.VSForMac=4]="VSForMac"}(i=t.ItemTypeEnum||(t.ItemTypeEnum={}))});

define("Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon",["require","exports"],function(require,exports){var e=exports;e.Pricing_Trial="FREE TRIAL";e.UninstallReasonSecurity="Security";e.Azure_Marketplace="Azure Marketplace";e.Header_Support="Support";e.ReviewDate="Review Date";e.Events="Events";e.RatingSplitHeader="Rating by number of reviewers";e.Export="Export";e.SearchButtonTitle="search";e.HomePageSearchHeader="Extensions for the Visual Studio family of products";e.NoExtensionsActionMsg="Please upload extensions from Visual Studio Marketplace or create your own!";e.RatingSingularText="rating";e.RnRDetailsListHeaderText="Review and response details";e.AggregatedCountSalesTabNewOrUpgradeTooltipText="Aggregated sales count i.e. new and upgrades";e.ResponseDate="Response Date";e.UninstallReasonNotNeeded="No longer needed";e.ErrorContactUsHere="here";e.UninstallDailyTrendTooltipText="Daily uninstall trend";e.VSCodeHomePageSearchHeader="Extensions for Visual Studio Code";e.CollapseIconText="Collapse all items";e.BuildYourOwnText="Build your own";e.AcquisitionTrend="Acquisition Trend";e.AcquisitionPivot="Acquisition";e.TipsText="Tips";e.OnPremValuePropTitle="Do more here";e.TeamFoundationServerExtensions="Azure DevOps Server Extensions";e.DailyAccountsLineChartLabel="Daily organizations trend";e.TopFree_Items_Header="Top Free";e.RenewalText="Renewal";e.StartFetchingExtensions="Fetching extensions";e.ConversionFunnel="Conversion Funnel";e.TrialStartEvent="Trial";e.InstallFromVsCode="Install from VSCode";e.NewAccountsText="New organizations";e.ManageExtensionsText="Manage extensions";e.TotalQuantityText="Total Quantity";e.QnATabTextColumnText="Text";e.EscalateReviewBody="Review details for the appeal are as below:%0D%0A%0D%0AExtension Url: {0}%0D%0AReview Id: {1}%0D%0AReview Date: {2}%0D%0AReviewer: {3}%0D%0ARating: {4}%0D%0AReview: {5}%0D%0A%0D%0AAppeal Reason: \u003cPlease provide reasons that this rating should be voided\u003e";e.SearchExtensions="Search {0} extensions";e.ManageExtensionPivot="Manage";e.UninstallReasonCost="Too expensive";e.UninstallReasonBugs="Too many bugs, did not work properly";e.Marketplace_FAQ="FAQ";e.SeeMore="See more";e.MarketplaceVerifiedDomainTitle="Verified Domain";e.TrialEndDateText="Trial End Date";e.RnRExpandIconLabel="All review and response details for the extension";e.TimePeriodChangeDropDownAriaLabel="Time period change drop down";e.Join_VSIP="Join VSIP";e.AccessMarketPlaceHelpText="Most extensions for Azure DevOps Services also work with TFS/Azure DevOps Server. Visit the Visual Studio Marketplace.";e.Header_Products="Products";e.VisualStudioMarketplace="Visual Studio Marketplace";e.QnAExpandIconLabel="All questions and answers for the extension";e.CarouselButtonReadableText="{0} to see more {1} extensions";e.TeamServices="Team Services";e.ExportPublisherReportAriaLabel="Export publisher report";e.ValuePropTileCreateYourOwn="Create your own extensions";e.AverageRatingHoverText="Average rating: {0} out of 5";e.Extension="Extension";e.HomePageTitle="{0} | {1}";e.SalesPivotText="Sales";e.Acquisition="Acquisition";e.QnATabUserColumnText="Name";e.NewSalesText="New {0}";e.UninstallReasonJustTrying="I just wanted to try it, wasn’t sure what it was";e.QnAPivot="Q \u0026 A";e.NoExtensionsMsgOnPrem="I am lonely here.";e.VSTSBuy="Azure DevOps Services Buy";e.WebDownload="Download from Marketplace";e.ErrorContactUsEmailBody="Unable to access: {0}%0D%0A\r\n\u003cPlease enter a brief description of the issue you are facing while accessing {1}\u003e";e.ChurnText="Churn";e.Last90days="last 90 days";e.TfsBuy="Azure DevOps Server Buy";e.ChangedQuantityText="Changed Quantity";e.VSTS_Header="Azure DevOps Services";e.Last60days="last 60 days";e.AverageRating="Average Rating";e.ValuePropTileFindOnMarketPlace="Find Extensions";e.UninstallReasonPoorUserExperience="Poor user experience, difficult to use or set up";e.DowngardeAccountsText="Downgrade organizations";e.Review="Review";e.Reason="Reason";e.UninstallTrend="Uninstall Trend";e.Rating="Rating";e.UninstallPivot="Uninstalls";e.DailyAccountsTrend="Daily trend of organization sales and churn";e.QnADetailsListHeaderText="Questions with responses";e.UninstallEvent="Uninstall";e.UninstallCount="Uninstall Count";e.AggregatedCountAccountsTabNewOrUpgradeTooltipText="Aggregated organizations count i.e. new and upgrades";e.VSCode_Header="Visual Studio Code";e.ScrollLeftTitle="scroll left";e.OnPremManageExtensions="Manage Extensions";e.HighestRated_Items_Header="Highest Rated";e.Org_Internal="Microsoft Internal";e.Last30days="last 30 days";e.Related_Sites="Related Sites";e.DailySalesLineChartLabel="Daily {0} trend";e.TopUninstallReasonsTooltipText="Top reasons categorized by reason code";e.UninstallTabDetailsListHeaderTooltipText="Uninstall events with reason code";e.CancelPurchaseEvent="Cancel";e.DailyAcquisitionTrend="Daily trend of acquisition and page views";e.How_to_Buy="How to Buy";e.VSMarketplace_Feedback_GitHub="Feedback";e.UpgradeQuantity="Upgrade";e.Subs_Header="Subscriptions";e.Compare="Compare";e.Marketplace_ADO_FAQ_URL="https://aka.ms/vsmadofaq";e.Marketplace="Marketplace";e.ErrorContactUs="If you would like to contact us regarding this, click {0}.";e.LockedExtensionEditErrorMessage="This extension is locked. Contact Marketplace \u003cvsmarketplace@microsoft.com\u003e for assistance.";e.AggregatedCountCancelOrDowngradeTooltipText="Aggregated churn count i.e. cancel and downgrades";e.NumberOfSalesText="Number of {0}";e.PivotChangeDropDownAriaLabel="Pivot change drop down";e.ScrollRightTitle="scroll right";e.GroupByText="Group by: {0}";e.RenewalQuantity="Renewals";e.Integrate="Integrate";e.AccessNow="Access now";e.TopReasons="Top Reasons";e.NewPurchaseEvent="New";e.DateUTC="Date (UTC)";e.Last6Months="last 6 months";e.VS_Header="Visual Studio";e.XamarinUniversitySubscriptionName="Xamarin University";e.UninstallCountTooltipText="Total uninstall events for Azure DevOps Services";e.GetStartedClicks="Get Started Clicks";e.CancelSalesText="Cancel {0}";e.RatingPluralText="ratings";e.ExpandIcon="Expand Icon";e.ExpandItem="Expand item";e.Details="Details";e.InstallCountFormat="{0}{1}";e.CollapseItem="Collapse item";e.XamarinComponents="Xamarin Components";e.HelpMenuItemText="Help";e.VstsInstall="Azure DevOps Services install";e.Marketplace_VSCode_FAQ_URL="https://aka.ms/vsmvscodefaq";e.DowngradeQuantity="Downgrade";e.StateText="State";e.DefaultString="-";e.HostedEnvironmentText="Azure DevOps Services";e.AzureDevOps_Header="Azure DevOps";e.UninstallReasonDeveloping="I help build this extension and am just testing it";e.PageViews="Page views";e.Trending="Trending";e.SalesTrend="{0} Trend";e.UninstallReasonOther="Other";e.Download="Download";e.ViewExtensionText="View Extension";e.UninstallReasonBlank="(Blank)";e.UpgradeAccountsText="Upgrade organizations";e.SeeMoreAriaLabel="See more about {0} extensions";e.Response="Response";e.ValuePropCreateYourOwnHelpText="You can create extensions that are just for you, or that you share or sell through the Visual Studio Marketplace.";e.noDataAvailableMsg=" No data available for the selected time period";e.RatingTrend="Average Rating Trend";e.Top="top ";e.My_VS="My Visual Studio";e.Count="Count";e.UninstallReasonMissingFeatures="Didn’t include features I expected";e.ClearSearchQueryTitle="clear search query";e.ManageExtensionsHelpText="Manage extensions that you’ve created or that you’ve downloaded from the Marketplace.";e.Reviewer="Reviewer";e.SalesTransactionsPivot="Sales Transactions";e.MarketplaceCertifiedPublisherTitle="Top Publisher";e.UserText="user";e.EndFetchingExtensions="Loaded extensions";e.TypeText="Type";e.Account="Organization";e.Featured="Featured";e.ErrorContactUsEmailSubject="Error Opening Marketplace";e.UninstallReasonDidNotWork="Didn\u0027t work";e.PublishExtensionsText="Publish extensions";e.DisconnectFromTFS="Disconnect from Azure DevOps Server";e.DowngradePurchaseEvent="Downgrade";e.AcquisitionCountLabel="Total Acquisition";e.NonePivot="None";e.KnowMore="Know more";e.LearnMore="Learn more";e.NewPurchaseText="New";e.TrialsText="Trials";e.EmailHREF="mailto:{0}?subject={1}\u0026Body={2}";e.DailySalesTrend="Daily trend of {0} sales and churn";e.CurrentQuantityText="Quantity";e.AcquisitionTabConversionFunnelToolTipText="Conversion from page views to acquisition";e.TopPaid_Items_Header="Top Paid";e.SalesUsersText="users";e.NumberOfAccounts="Number of Organizations";e.MillionPrefix="M";e.SortableText="Sortable";e.CancelAccountsText="Cancel organizations";e.UninstallReasonNotUserFriendly="Not user friendly";e.ExtensionsForVisualStudio="Extensions for Visual Studio family of products";e.LastContact="Last Contacted";e.UpgradeSalesText="Upgrade {0}";e.MostPopular_Items_Header="Most Popular";e.DowngardeSalesText="Downgrade {0}";e.CategorySeeMore="See more";e.AverageRatingTrendTooltipText="Daily average rating trend";e.AllCategoriesText="All categories";e.DefaultErrorDiagnosisText="Try refreshing the page or visit the {0} after few minutes.";e.FilterByCategoryCollection="Filter by category / collection";e.RatingSplitStar="{0} Star ({1})";e.SalesTransactionsTabDetailsListHeaderTooltipText="Sales transaction events";e.RatingSummaryOverall="Till Date";e.AcquisitionTabDetailsListHeaderTooltipText="Acquisition event details";e.Marketplace_VSIDE_FAQ_URL="https://aka.ms/vsmvsfaq";e.HomePageSearchHeaderDevOps="Extensions for Azure DevOps";e.UninstallReasonPerformance="Performance";e.Xamarin="Xamarin";e.EscalateButtonText="Appeal";e.CanceledText="Cancel";e.DownloadFromIDE="Download from IDE";e.AccountsTrend="Organizations Trend";e.ItemAttributeNotAvailable="Not Available";e.ExpandIconText="Expand all items";e.ThousandPrefix="K";e.EscalateReviewSubject="Appeal Review - {0}.{1}";e.AccountsPivotText="Organizations";e.QnATabRespondedColumnText="Responded";e.QuantityText="Quantity";e.HomePageTitleForSubs="Subscriptions | Visual Studio Marketplace";e.VSForMac_Header="Visual Studio for Mac";e.Verifying="Verifying";e.VSTSTrial="Azure DevOps Services Trial";e.OnPremisesEnvironmentText="Azure DevOps Server";e.MoreActionsAriaLabel="More actions";e.ItemTile_ScreenReaderText="Extension {0} by {1}publisher {2} with install count {3} {4} and is of {5} category.";e.RecentlyAdded="Recently Added";e.LastNdays="Last {0} Days";e.Pricing_Paid="PAID";e.Pricing_Free="FREE";e.ReasonCode="Reason Code";e.RnRPivot="Rating \u0026 Reviews";e.Last1Year="last 1 year";e.Support_Publisher_exts="Publish Extensions";e.ErrorFetchingExtensions="Failed loading of extensions";e.VsIDEHomePageSearchHeader="Extensions for Visual Studio";e.LastContactUTC="Last Contacted (UTC)";e.TrialEndDateUTCText="Trial End Date (UTC)";e.UninstallCountLabel="Total Azure DevOps Services Uninstalls";e.VSMarketplaceEmail="vsmarketplace@microsoft.com";e.UsersPivotText="Users";e.Accessibility="Accessibility";e.InstallEvent="Install";e.TfsInstall="Azure DevOps Server install";e.Date="Date";e.Team="Manage Visual Studio";e.AcquisitionCountTooltipText="Total applicable acquisition events";e.UpgradePurchaseEvent="Upgrade";e.AdminReplyPrefix="Marketplace: ";});

// Copyright (C) Microsoft Corporation. All rights reserved.
define("Gallery/Client/Service/Item",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.priceCategory=void 0;var i;(function(n){n[n.Free=0]="Free";n[n.Trial=1]="Trial";n[n.Paid=2]="Paid"})(i=t.priceCategory||(t.priceCategory={}))});

define("Gallery/Client/Common/Utility.Common",["require","exports","VSS/Utils/String","Gallery/Client/Common/Constants"],function(n,t,i,r){function e(){try{return window.sessionStorage.setItem("test","test"),window.sessionStorage.removeItem("test"),!0}catch(n){return!1}}function y(n){(n===r.SearchConstants.VSProductText||n===r.SearchConstants.VSTSProductText||n===r.SearchConstants.AzureDevOpsProductText||n===r.SearchConstants.VSCodeProductText||n===r.SearchConstants.VSForMacProductText)&&e()&&(window.sessionStorage[r.SearchConstants.SESSION_STORAGE_NAME]=n)}function p(n){var t=new Date;t.setTime(t.getTime()+31536e6);document.cookie="Market_SelectedTab="+n+"; expires="+t.toGMTString()}function o(n){var t={},i=n.split("?");if(i.length>1){var r=i[1],u=r.split("#"),f=u[0],e=f.split("&");e.forEach(function(n){var r=n.split("="),i,u;r.length===2&&(i=r[0],u=decodeURIComponent(r[1]),i=i.toLowerCase(),t[i]||(t[i]=u))})}return t}function w(n,t){t&&Object.getOwnPropertyNames(t).forEach(function(i){n[i]=t[i]})}function b(n,t){for(var i=0,r=n.length;i<r;i++)if(t(n[i]))return i;return-1}function f(){var n=!1;return navigator.userAgent&&navigator.userAgent.toUpperCase().indexOf("GOMEZAGENT")!==-1&&(n=!0),n}function k(n){var t=new RegExp("^(?:[a-z]+:)?//","i");return t.test(n)}function d(n,t){return t.charAt(0)==="/"&&(t=t.substr(1)),n.charAt(n.length-1)==="/"?n+t:n+"/"+t}var u,s,h,c,l,a,v;Object.defineProperty(t,"__esModule",{value:!0});t.Timer=t.TileImpressionUtils=t.combineUrls=t.isAbsoluteUrl=t.PublisherStatsHelper=t.TelemetryHelper=t.findIndex=t.mergeProperties=t.getQueryParameters=t.TargetIdUtils=t.FeatureFlagUtils=t.setSelectedTabCookie=t.setSearchContext=t.isSessionStorageAvailable=t.CookieUtils=void 0;u=function(){function n(){}return n.getCookie=function(n){var t,i;return document.cookie&&document.cookie.length>0&&n&&(t=document.cookie.indexOf(n+"="),t!==-1)?(t=t+n.length+1,i=document.cookie.indexOf(";",t),i===-1&&(i=document.cookie.length),decodeURIComponent(document.cookie.substring(t,i))):""},n.setCookie=function(n,t,i){var r,u;i===void 0&&(i=undefined);i?(r=new Date,r.setTime(r.getTime()+i*36e5),u="; expires="+r.toUTCString(),document.cookie=n+"="+t+u+"; path=/"):document.cookie=n+"="+t},n.setCookieWithExpiryInDays=function(n,t,i){var r,u;i===void 0&&(i=undefined);i?(r=new Date,r.setDate(r.getDate()+i),u="; expires="+r.toUTCString(),document.cookie=n+"="+t+u+"; path=/"):document.cookie=n+"="+t},n.setCookieWithExpiryInMinutes=function(n,t,i){var r,u;i===void 0&&(i=undefined);i?(r=new Date,r.setTime(r.getTime()+i*6e4),u="; expires="+r.toUTCString(),document.cookie=n+"="+t+u+"; path=/"):document.cookie=n+"="+t},n.getCookieValueForGivenKey=function(t,i){var e=n.getCookie(t),u,f,r;if(e&&(u=e.split("&"),u))for(f=0;f<u.length;f++)if(r=u[f].split("="),r&&decodeURIComponent(r[0])&&decodeURIComponent(r[0]).toLocaleLowerCase()===i.toLocaleLowerCase())return decodeURIComponent(r[1]);return""},n}();t.CookieUtils=u;t.isSessionStorageAvailable=e;t.setSearchContext=y;t.setSelectedTabCookie=p;s=function(){function n(){}return n.isFeatureFlagEnabled=function(n,t){return o(n)[t.toLowerCase()]==="true"||u.getCookie(t)==="true"?!0:!1},n.isFeatureFlagEnabledOrMissing=function(n,t){var i=u.getCookie(t);return o(n)[t.toLowerCase()]==="true"||i==="true"||i===""?!0:!1},n.setFeatureFlagCookie=function(n,t,i){t===void 0&&(t=!0);i===void 0&&(i=undefined);var r="true";t||(r="false");u.setCookieWithExpiryInDays(n,r,i)},n.ratingReviewFF="ShowRatingReview",n.showPublisherReply="showpublisherreply",n.ShowVSItemLink="ShowVSItemLink",n.ShowLargeThumbnailAsBrandingIcon="ShowLargeThumbnailAsBrandingIcon",n.EnableBuyCustomizationAutoComplete="EnableBuyCustomizationAutoComplete",n.EnableReportsPage="EnableReportsPage",n.reactRatingReviewFF="ShowReactRatingReview",n.reactItemDetailsFF="ShowReactItemDetails",n.TileImpressionsSearchPage="TileImpressionsSearchPage",n.ShowPublishExtensions="ShowPublishExtensions",n.EnableVsForMac="EnableVsForMac",n}();t.FeatureFlagUtils=s;h=function(){function n(){}return n.setTargetIdCookie=function(t){i.isGuid(t)&&(document.cookie=n._targetIdCookieName+"="+t+";path=/")},n.getTargetIdCookie=function(){return u.getCookie(n._targetIdCookieName)},n._targetIdCookieName="targetId",n}();t.TargetIdUtils=h;t.getQueryParameters=o;t.mergeProperties=w;t.findIndex=b;c=function(){function n(){}return n.shouldSendTelemetry=function(){return f()||window.location.protocol==="file:"||e()&&sessionStorage.getItem(r.GalleryTestConstants.GalleryTestContext)==="true"?!1:!0},n.setSessionIdInProperties=function(n){var t,i,u;n&&(t=sessionStorage.getItem(r.TelemetryConstants.marketSessionId),t||(i=Date.now().toString(36),u=Math.random().toString(36).substr(2),sessionStorage.setItem(r.TelemetryConstants.marketSessionId,i+u)),n[r.TelemetryConstants.marketSessionId]=sessionStorage.getItem(r.TelemetryConstants.marketSessionId))},n}();t.TelemetryHelper=c;l=function(){function n(){}return n.shouldLogWebPageViews=function(){return!f()},n.shouldLogGetStartedCount=function(){return!f()},n.shouldLogWebDownload=function(){return!f()},n}();t.PublisherStatsHelper=l;t.isAbsoluteUrl=k;t.combineUrls=d;a=function(){function n(){}return n.isScrolledIntoView=function(t){if(t&&t.clientHeight>0){var i=t.getBoundingClientRect().top,r=t.getBoundingClientRect().bottom;return i>=0&&r<=n.getWindowInnerHeight()}return!1},n.getWindowInnerHeight=function(){return window.innerHeight},n}();t.TileImpressionUtils=a;v=function(){function n(){this._startTime=0;this._timeSplits={}}return n.prototype.reset=function(){this._startTime=0;this._timeSplits={};this._waitType=""},n.prototype.start=function(n){this._startTime===0&&(this._startTime=Date.now(),this._waitType=n)},n.prototype.stop=function(){var n={},t;this._startTime!==0&&(t=Date.now(),this._waitType&&(this._timeSplits[this._waitType]?(n=this._timeSplits[this._waitType],n.totalTime+=t-this._startTime,n.count++):(n.totalTime=t-this._startTime,n.count=1,this._timeSplits[this._waitType]=n),this._waitType=""),this._startTime=0)},n.prototype.getTimeSplits=function(){return this._timeSplits},n}();t.Timer=v});

define("Gallery/Client/Service/VNext/Utility",["require","exports","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","VSS/Utils/String"],function(n,t,i,r){function v(n){var f,u,t;if(!n)return"0";if(n<1e3||n>=1e9)return n.toString();for(f=[i.ThousandPrefix,i.MillionPrefix],u=-1;n>=1e3;)n/=1e3,u++;return t="",n>=100?t=n.toFixed(0):(t=n.toFixed(1),t[t.length-1]==="0"&&(t=t.substr(0,t.indexOf(".")))),r.localeFormat(i.InstallCountFormat,t,f[u])}function o(n){var t,i;return document.cookie&&document.cookie.length>0&&n&&(t=document.cookie.indexOf(n+"="),t!==-1)?(t=t+n.length+1,i=document.cookie.indexOf(";",t),i===-1&&(i=document.cookie.length),decodeURIComponent(document.cookie.substring(t,i))):""}function y(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="";document.cookie=n+"="+t+u+"; path=/"}function u(n,t){var i=!1,r;return t&&(r=o(t),r!==""&&r==="true"&&(i=!0)),n&&f(n)&&(i=!0),i}function f(n){var i=!1,r,t;return this.cachedFeatureFlags!==undefined?this.cachedFeatureFlags[n]!==undefined&&(i=this.cachedFeatureFlags[n]):(r=$(".general-info-data"),t=r.length>0?JSON.parse(r.html()):null,t!==null&&t.featureFlags!==undefined&&(this.cachedFeatureFlags=t.featureFlags,i=this.cachedFeatureFlags[n])),i}function p(){var n,t=$(".gallery-browse-url"),i=t.length>0?JSON.parse(t.html()):null;return i!==null&&(n=i),n}var e,s,h,c,l,a;Object.defineProperty(t,"__esModule",{value:!0});t.HtmlHelper=t.getGalleryEnvironment=t.getFeatureFlag=t.HomepageDedupeUtils=t.TileImpressionUtils=t.ShowInternalExtension=t.MarketplaceBrandingChanges=t.isFeatureFlagOrCookieEnabled=t.setCookie=t.getCookie=t.getInstallCountString=t.GalleryURLs=void 0;e=function(){function n(){}return n.getResourcePath=function(){if(this.marketPlaceResourcesPath!==null)return this.marketPlaceResourcesPath;if(this.generalInfoData==null){var n=$(".general-info-data");n.length!==0&&(this.generalInfoData=JSON.parse(n.html()))}return this.generalInfoData!=null&&this.generalInfoData.resourcesPath!=null?(this.marketPlaceResourcesPath=this.generalInfoData.resourcesPath,this.marketPlaceResourcesPath):location.protocol+"//"+location.host+"/"},n.marketPlaceResourcesPath=null,n.isHosted=null,n.generalInfoData=null,n}();t.GalleryURLs=e;t.getInstallCountString=v;t.getCookie=o;t.setCookie=y;t.isFeatureFlagOrCookieEnabled=u;s=function(){function n(){}return n.isMarketplaceBrandingChangesEnabled=function(){return u("MarketplaceBrandingChanges","MarketplaceBrandingChanges")},n}();t.MarketplaceBrandingChanges=s;h=function(){function n(){}return n.isInternalMicrosoftUser=function(){var t=!1,i=$(".UserMailAddress"),u=i.length>0?JSON.parse(i.html()):null,n,f;return u&&(n=u.split("@"),n&&n.length>1&&(f=n[1],r.ignoreCaseComparer(f,"microsoft.com")===0&&(t=!0))),t},n}();t.ShowInternalExtension=h;c=function(){function n(){}return n.isTileImpressionsEnabled=function(){return u("TileImpressionsHomePage","TileImpressionsHomePage")},n}();t.TileImpressionUtils=c;l=function(){function n(){}return n.isHomepageDedupeEnabled=function(){return f("DedupeHomepageExtensions")},n}();t.HomepageDedupeUtils=l;t.getFeatureFlag=f;t.getGalleryEnvironment=p;a=function(){function n(){}return n.isHighContrastMode=function(){if(n.isHighContrast===undefined){n.isHighContrast=!1;var t=$("<span class='high-contrast-test' style='width:0;height:0' />").appendTo(document.body);t.css("background-image")==="none"&&(n.isHighContrast=!0);t.remove()}return n.isHighContrast},n}();t.HtmlHelper=a});

define("Gallery/Client/URLHelper",["require","exports","Gallery/Client/Common/Constants","Gallery/Client/Common/Utility.Common","Gallery/Client/Service/VNext/Utility","VSS/Utils/File","VSS/Utils/String"],function(n,t,i,r,u,f,e){function s(n,t){var i=n;return i+(i.indexOf("?")===-1?"?"+t:"&"+t)}function h(){return"https://aka.ms/vsm_report_help"}Object.defineProperty(t,"__esModule",{value:!0});t.getPublisherReportsHelpMenuUrl=t.addParamStringToURL=t.GalleryURLs=void 0;var o=function(){function n(){}return n.getInstallQueryParams=function(){return[n.FreeInstallQueryParam,n.InstallQueryParam,n.InstallContextQueryParam,n.SubscriptionIdQueryParam,n.SkipBuyQueryParam,n.AccountIdQueryParam,n.ChangeQuantityQueryParameter,n.Referrer,n.NewAzureSubQueryParam]},n.getHomePageURL=function(){var t,i;return this.marketPlaceHomePageURL?this.marketPlaceHomePageURL:(this.generalInfoData==null&&(i=$(".general-info-data"),i.length!==0&&(this.generalInfoData=JSON.parse(i.html()))),this.generalInfoData!=null&&this.generalInfoData.galleryUrl!=null)?(t=encodeURI(this.generalInfoData.galleryUrl),n.isHostedDeployment()||(t=f.combinePaths(t,"_gallery")),this.marketPlaceHomePageURL=t,this.marketPlaceHomePageURL):null},n.getWebPageURL=function(t){var i=n.getHomePageURL();return t&&(i=f.combinePaths(i,t)),i},n.isHostedDeployment=function(){if(this.isHosted!=null)return this.isHosted;if(this.generalInfoData==null){var n=$(".general-info-data");n.length!==0&&(this.generalInfoData=JSON.parse(n.html()))}return this.generalInfoData!=null&&this.generalInfoData.isHosted!=null?(this.isHosted=this.generalInfoData.isHosted,this.isHosted):(this.isHosted=!0,this.isHosted)},n.getHomePageVSTSTabURLWithNoPrompt=function(){return n.isHostedDeployment()?n.getHomePageURL()+"vsts?"+n.NoPrompt+"=true":n.getHomePageURL()+"?"+n.NoPrompt+"=true"},n.getHomePageVSTSTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"vsts":n.getHomePageURL()},n.getHomePageAzureDevOpsTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"azuredevops":n.getHomePageURL()},n.getHomePageVSTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"vs":n.getHomePageURL()+"#VS"},n.getHomePageVSForMacTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"vsformac":n.getHomePageURL()},n.getHomePageVSCodeTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"vscode":n.getHomePageURL()+"#VSCode"},n.getHomePageVSSubscriptionsTabURL=function(){return n.isHostedDeployment()?n.getHomePageURL()+"subscriptions":n.getHomePageURL()+"#VSSubscriptions"},n.getVssCategoryURLForHomePage=function(t,i,r,f,e){return n.getVssCategoryURL(t,i,r,f,e,u.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled())},n.getVssCategoryURL=function(t,i,r,u,f,e){var o="vsts/"+encodeURIComponent(t),s=n.isHostedDeployment();return s&&(o="search"),i&&r?o=o+"?hosting="+encodeURIComponent(r)+"&sortBy="+encodeURIComponent(i):r?o=o+"?hosting="+encodeURIComponent(r):i&&(o=o+"?sortBy="+encodeURIComponent(i)),s&&(r||i||(o=o+"?sortBy=Installs"),u&&(o=o+"&cost="+encodeURIComponent(u)),o=e?o+"&category="+encodeURIComponent(t)+"&target=AzureDevOps":o+"&category="+encodeURIComponent(t)+"&target=VSTS",f&&(o=o+"&visibilityQuery=organization")),n.getWebPageURL(o)},n.getVSCodeCategoryURL=function(t,i){var r="vscode/"+encodeURIComponent(t),u=n.isHostedDeployment();return u&&(r="search"),i&&(r=r+"?sortBy="+encodeURIComponent(i)),u&&(i||(r=r+"?sortBy=Installs"),r=r+"&category="+encodeURIComponent(t)+"&target=VSCode"),n.getWebPageURL(r)},n.getVSForMacCategoryURL=function(t,i){var r="search";return r=i?r+"?sortBy="+encodeURIComponent(i):r+"?sortBy=Installs",r=r+"&category="+encodeURIComponent(t)+"&target=VSForMac",n.getWebPageURL(r)},n.getVSCategoryURL=function(t,r){var f=n.getCategoryObject(t),u="search";return r?(r===i.SortOptions.Ratings&&(r=i.SortOptions.Rating),u=u+"?sortBy="+encodeURIComponent(r)):u=u+"?sortBy=Installs",u=u+"&category="+encodeURIComponent(f.category)+"&target=VS",f.subcategory!==""&&(u=u+"&subCategory="+encodeURIComponent(f.subcategory)),n.getWebPageURL(u)},n.getLatestVSCategoryURL=function(t,i){return n.getVSCategoryURL(t,i)+"&vsVersion=vs2022"},n.getCategoryObject=function(n){var t={category:"",subcategory:""},i=n.split("/"),r;return i.length>1?(t.category=i[0],t.subcategory=i[1]):t.category=i[0],r==="See all"&&(t.category="All categories"),t},n.getVSCodeDownloadLink=function(n,t){var r=e.empty;return!n||!t?r:(r=e.format(i.VSCodeEditorDownloadConstants.vscodeEditorDownloadLink,n,t),encodeURI(r))},n.getCreateDraftAssetURL=function(t,i,r){return n.getWebPageURL("_apis/gallery/publishers/"+t+"/drafts/"+i+"/assets/"+r)},n.getEditDraftAssetURL=function(t,i,r,u){return n.getWebPageURL("_apis/gallery/publishers/"+t+"/extensions/"+i+"/drafts/"+r+"/assets/"+u)},n.getItemDetailsURL=function(t){return n.getWebPageURL("items?itemName="+encodeURIComponent(t))},n.getAcquisitionURL=function(t){return n.getWebPageURL("acquisition?itemName="+encodeURIComponent(t))},n.getItemDetailsURLFromNames=function(t,i){return n.getItemDetailsURL(t+"."+i)},n.getItemDetailsURLFromNamesWithHostName=function(t,i){var r=n.getItemDetailsURLFromNames(t,i),u;return r&&e.startsWith(r,"/")&&(u=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),r=f.combinePaths(u,r)),r},n.getPackageDownloadURL=function(t,i,r){return n.getWebPageURL(n.getPackageDownloadURLSuffix(t,i,r))},n.getVSPackageDownloadURL=function(t,i,r){return n.getWebPageURL(n.getVSPackageDownloadURLSuffix(t,i,r))},n.getVSTSIntegrationGetStartedURL=function(n,t){return f.combinePaths(n,t)},n.getVSCodeExtensionAssetUrl=function(n,t){return f.combinePaths(n,t)},n.getRemotePackageDownloadURL=function(t,i,r,u){return f.combinePaths(t,n.getPackageDownloadURLSuffix(i,r,u))},n.getPackageDownloadURLSuffix=function(n,t,i){return"_apis/gallery/publishers/"+n+"/extensions/"+t+"/"+i+"/package"},n.getVSPackageDownloadURLSuffix=function(n,t,i){return"_apis/public/gallery/publishers/"+n+"/vsextensions/"+t+"/"+i+"/vspackage"},n.getReportDownloadURL=function(t,i,r){return n.getWebPageURL(n.getExtensionReportsSuffix(t,i,r))},n.getExtensionReportsSuffix=function(n,t,i){return"_apis/gallery/publishers/"+n+"/extensions/"+t+"/reports?afterDate="+i.toISOString()},n.getInstallItemURL=function(t){return n.getWebPageURL(this.getInstallItemURLForDetailsPageSuffix(t))},n.getInstallItemURLForDetailsPage=function(t,i){var r="items?itemName="+encodeURIComponent(t)+"&"+n.CampaignWorkflowQueryParam+"&"+n.CampaignWorkflowInstallContextQueryParam+"&"+n.InstallQueryParamEnabled;return i&&(r+="&"+n.AccountIdQueryParam+"="+encodeURIComponent(i)),n.getWebPageURL(r)},n.getInstallItemURLForDetailsPageSuffix=function(t){return"items?itemName="+encodeURIComponent(t)+"&"+n.CampaignWorkflowQueryParam+"&"+n.CampaignWorkflowInstallContextQueryParam+"&"+n.InstallQueryParamEnabled},n.getConnectUrlForOnPrem=function(n,t,i,r,u,f){return e.format("{0}?accountName={1}&accountId={2}&spsUrl={3}&authorizationUrl={4}&installAction={5}",n,encodeURIComponent(t),encodeURIComponent(i),encodeURIComponent(r),encodeURIComponent(u),encodeURIComponent(f))},n.getFreeInstallItemURLForDetailsPage=function(t){return n.getWebPageURL(encodeURI("items?itemName="+t+"&"+n.CampaignWorkflowQueryParam+"&"+n.CampaignWorkflowInstallContextQueryParam+"&"+n.InstallQueryParamEnabled+"&"+n.FreeInstallQueryParamEnabled))},n.getBuyItemURL=function(t){return n.getWebPageURL(encodeURI("buy/"+t+"?"+n.CampaignWorkflowQueryParam+"&"+n.CampaignWorkflowBuyContextQueryParam))},n.getManageURL=function(){return n.getWebPageURL("manage")},n.getPublisherWelcomeURL=function(){return n.getWebPageURL("manage/welcome")},n.getPublisherCreatePublisherURL=function(){return n.getWebPageURL("manage/createpublisher")},n.getManagePageUploadURL=function(){return n.getWebPageURL("manage")+"?upload=true"},n.getItemEULAURL=function(t){return n.getWebPageURL("items/"+encodeURIComponent(t)+"/license")},n.getItemChangelogURL=function(t){return n.getWebPageURL("items/"+encodeURIComponent(t)+"/changelog")},n.getItemPrivacyURL=function(t){return n.getWebPageURL("items/"+encodeURIComponent(t)+"/privacy")},n.getPublisherUrl=function(t){return n.getWebPageURL("manage/publishers/"+encodeURIComponent(t.toLowerCase()))},n.getNewVSExtensionPublisherUrl=function(t){return n.getWebPageURL("manage/publishers/"+encodeURIComponent(t.toLowerCase())+"/newvsextension")},n.getResourceUrlFromAsset=function(t){return n.getResourcePath()+t},n.getEditVSExtensionUrl=function(t,i){return n.getWebPageURL("manage/publishers/"+encodeURIComponent(t.toLowerCase())+"/extensions/"+encodeURIComponent(i.toLowerCase())+"/edit")},n.getManagePageURLFromExtension=function(t,i){return n.getWebPageURL("manage/publishers/"+encodeURIComponent(t.toLowerCase())+"?src="+t+"."+i)},n.getReportsPageUrl=function(t,i){return n.getWebPageURL("manage/publishers/"+encodeURIComponent(t.toLowerCase())+"/extensions/"+encodeURIComponent(i.toLowerCase())+"/hub")},n.getExtensionsPerCategoryQueryUrl=function(){return n.getWebPageURL("getextensionspercategory")},n.getExtensionScopesURL=function(){return n.getWebPageURL("getextensionscopes")},n.getImportOperationURL=function(){return n.getWebPageURL("getimportoperation")},n.getSearchPageUrl=function(){return n.getWebPageURL("search")},n.getSearchPageUrlForTagQuery=function(t,i){return(t=t.trim(),t.indexOf(" ")!==-1)?n.getSearchPageURLFromQuery('tag:"'+t+'"',i):n.getSearchPageURLFromQuery("tag:"+t,i)},n.getSearchPageUrlForPublisherQuery=function(t,i){return n.getSearchPageURLFromQuery('publisher:"'+t.trim()+'"',i)},n.getProfilePageUrlForPublisher=function(t){return n.getWebPageURL("publishers/"+t)},n.getUserAvatarUrl=function(t){return n.getWebPageURL("avatar?userid="+t)},n.getVsGalleryEditURL=function(n){return u.getGalleryEnvironment()+n+"/edit"},n.isFreeInstall=function(t){return n.hasQueryParam(t,n.FreeInstallQueryParamEnabled)},n.ignoreTokenRedirection=function(t){return n.hasQueryParam(t,n.ignoreTokenRedirectEnabled)},n.isNewAzureSubscription=function(t){return n.hasQueryParam(t,n.NewAzureSubParamEnabled)},n.isSkipBuy=function(t){return n.hasQueryParam(t,n.SkipBuyQueryParamEnabled)},n.isAccountIdSet=function(t){return n.hasQueryParam(t,n.AccountIdQueryParam)},n.isTargetIdSet=function(t){return n.hasQueryParam(t,n.TargetIdQueryParamName)},n.isExternalInstall=function(t){return n.hasQueryParam(t,n.InstallContextQueryParam)},n.isSourceVsGallery=function(t){return n.hasQueryParam(t,n.VsGallerySourceQueryParam)},n.isChangeOfferQuantityRequest=function(t){return n.hasQueryParam(t,n.ChangeQuantityQueryParameterEnabled)},n.isPurchaseRequest=function(t){return n.hasQueryParam(t,n.IsPurchaseRequest)&&n.getRequestedQuantityForPurchaseRequest(t)>0},n.getRequestedQuantityForPurchaseRequest=function(t){var r=n.getQueryParameterValue(t,n.RequestedQuantityQueryParam),i=parseInt(r);return(isNaN(i)||i<0)&&(i=-1),i},n.hasQueryParam=function(n,t){return!n||!t?!1:(n=n.toLowerCase(),t=t.toLowerCase(),n.indexOf(t)!==-1)?!0:!1},n.isTestCommerceEnabled=function(t){return e.caseInsensitiveContains(t,n.TestCommerceQueryParamEnabled)},n.getItemNameFromUrl=function(n){var u="",t=n.split("?")[0].split("/"),i=r.findIndex(t,function(n){return!e.ignoreCaseComparer(n,"items")||!e.ignoreCaseComparer(n,"install")||!e.ignoreCaseComparer(n,"buy")||!e.ignoreCaseComparer(n,"download")})+1;return i>0&&i<t.length&&(u=decodeURIComponent(t[i])),u},n.getItemNameFromParam=function(t){var i=n.getQueryParameters(t);if(i)return i[n.ItemNameQueryParam]},n.getCategoryNameFromUrl=function(t){var f="",i=t.split("?")[0].split("/"),u=r.findIndex(i,function(t){return n.validProductNames.indexOf(t.toLowerCase())!==-1})+1;return u>0&&u<i.length&&(f=decodeURIComponent(i[u])),f},n.getUtmSourceFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.utm_source},n.getUtmMediumFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.utm_medium},n.getCategoryFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.category},n.getSubCategoryFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.subCategory},n.getInstallationTargetFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.hosting},n.getPricingCategoryFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.cost},n.getCertifiedCategoryFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.certified},n.getTargetPlatformFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.targetPlatform},n.getVSVersionFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.vsVersion},n.getVisibilityQueryFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.visibilityQuery},n.getProductNameFromUrl=function(t){var i="",u=t.split("?")[0].split("/"),f=r.findIndex(u,function(t){return n.validProductNames.indexOf(t.toLowerCase())!==-1});return f>0&&(i=decodeURIComponent(u[f])),i},n.getSortOptionFromUrl=function(t){var i=n.getQueryParameters(t);if(i)return i.sortBy},n.getShowHiddenTagsValueFromUrl=function(t){var i=n.getQueryParameters(t);return i?i.showHiddenTags==="true":!1},n.isSearchPage=function(n){return n.indexOf("search")>=0?!0:!1},n.getVSGallerySearchPageURLFromQuery=function(n){return i.VSGalleryUrlConstants.VSGALLERY_SEARCH_URL+encodeURI(n)},n.addSortOptionToURL=function(n){var t=r.isSessionStorageAvailable()?window.sessionStorage[i.SortConstants.SortParameter]:"";return t?n+"&"+i.SortConstants.SortParameter+"="+t:n},n._getReturnSearchUrl=function(t,r,u){var f="";return f=r?t+"?term="+encodeURIComponent(r)+"&target="+encodeURIComponent(u):t+"?target="+encodeURIComponent(u),!n.getFeatureFlag(i.HomepageConstants.EnableNoFilterSearchHomepageVSIDE)&&e.equals(u,"vs",!0)&&(f+="&vsVersion=vs2019"),f},n.getSearchPageURLFromQuery=function(t,u){var e=n.getSearchPageUrl(),o=!1,f=this._getReturnSearchUrl(e,t,i.SearchConstants.VSTSProductText);return u&&r.isSessionStorageAvailable()&&window.sessionStorage[i.SearchConstants.SESSION_STORAGE_NAME]===i.SearchConstants.AzureDevOpsProductText&&(f=this._getReturnSearchUrl(e,t,i.SearchConstants.AzureDevOpsProductText)),r.isSessionStorageAvailable()&&window.sessionStorage[i.SearchConstants.SESSION_STORAGE_NAME]===i.SearchConstants.VSCodeProductText?f=this._getReturnSearchUrl(e,t,i.SearchConstants.VSCodeProductText):r.isSessionStorageAvailable()&&window.sessionStorage[i.SearchConstants.SESSION_STORAGE_NAME]===i.SearchConstants.VSProductText?(o=!0,f=this._getReturnSearchUrl(e,t,i.SearchConstants.VSProductText)):r.isSessionStorageAvailable()&&window.sessionStorage[i.SearchConstants.SESSION_STORAGE_NAME]===i.SearchConstants.VSForMacProductText&&(f=this._getReturnSearchUrl(e,t,i.SearchConstants.VSForMacProductText)),o||(f=this.addSortOptionToURL(f)),f},n.getQueryParameters=function(n){var t={},i;if(n&&(i=n.split("?"),i.length>1)){var r=i[1],u=r.split("#"),f=u[0],e=f.split("&");e.forEach(function(n){var i=n.split("="),r,u;i.length===2&&(r=i[0],u=decodeURIComponent(i[1]),t[r]||(t[r]=u))})}return t},n.getQueryParameterValue=function(t,i){var r=n.getQueryParameters(t);return r&&r[i]?r[i]:null},n.getResourcePath=function(){if(this.marketPlaceResourcesPath!==null)return this.marketPlaceResourcesPath;if(this.generalInfoData==null){var n=$(".general-info-data");n.length!==0&&(this.generalInfoData=JSON.parse(n.html()))}return this.generalInfoData!=null&&this.generalInfoData.resourcesPath!=null?(this.marketPlaceResourcesPath=this.generalInfoData.resourcesPath,this.marketPlaceResourcesPath):location.protocol+"//"+location.host+"/"},n.getFeatureFlag=function(n){var i=!1,t;return this.generalInfoData==null&&(t=$(".general-info-data"),t.length!==0&&(this.generalInfoData=JSON.parse(t.html()))),this.generalInfoData!=null&&this.generalInfoData.featureFlags!==undefined&&(i=this.generalInfoData.featureFlags[n]),i},n.isItemDetailsPage=function(n){return n.indexOf("items?itemName")>=0?!0:!1},n.validProductNames=["vsts","vss","vscode","vsformac"],n.GALLERY_EXTENSIONS_PATH="_apis/public/gallery/extensions/",n.CampaignWorkflowQueryParam="workflowId=marketplace",n.CampaignWorkflowInstallContextQueryParam="wt.mc_id=o~msft~marketplace~install",n.CampaignWorkflowBuyContextQueryParam="wt.mc_id=o~msft~marketplace~buy",n.CampaignWorkflowCreateContextQueryParam="wt.mc_id=o~msft~marketplace~create",n.Referrer="referrer",n.ignoreTokenRedirect="ignoreTokenRedirect",n.ignoreTokenRedirectEnabled="ignoreTokenRedirect=true",n.FreeInstallQueryParam="freeInstall",n.FreeInstallQueryParamEnabled="freeInstall=true",n.NewAzureSubQueryParam="newAzureSub",n.NewAzureSubParamEnabled="newAzureSub=true",n.NewAzureSubRecommendQueryParam="recommend",n.ExternalSourceQueryParam="src=market",n.VsGallerySourceQueryParam="src=vsgallery",n.InstallContextQueryParam="installContext",n.InstallQueryParam="install",n.InstallQueryParamEnabled="install=true",n.ManageSourceParamValue="manage",n.SourceQueryValue="source",n.UtmSourceQueryValue="utm_source",n.TestCommerceQueryParam="testCommerce",n.TestCommerceQueryParamEnabled="testCommerce=true",n.TargetIdQueryParamName="targetId",n.AcquisitionOptionQueryParamName="acquisitionOption",n.tenantRedirect="tenantRedirect",n.ItemNameQueryParam="itemName",n.RedirectUri="redirect_uri",n.NoPrompt="noPrompt",n.SubscriptionIdQueryParam="subscriptionId",n.AccountIdQueryParam="accountId",n.subscriptionIdVSSubQueryParam="saci",n.AuthRedirectQueryParam="auth_redirect",n.SkipBuyQueryParam="skipBuy",n.SkipBuyQueryParamEnabled="skipBuy=true",n.ChangeQuantityQueryParameter="changeQuantity",n.ChangeQuantityQueryParameterEnabled="changeQuantity=true",n.IsPurchaseRequest="source=PurchaseRequest",n.RedirectUrlQueryParam="redirectURL",n.RequestedQuantityQueryParam="requestedQuantity",n.marketPlaceHomePageURL=null,n.marketPlaceResourcesPath=null,n.isHosted=null,n.generalInfoData=null,n}();t.GalleryURLs=o;t.addParamStringToURL=s;t.getPublisherReportsHelpMenuUrl=h});

define("Gallery/Client/Service/VSSItem",["require","exports","Gallery/Client/Service/Item","Gallery/Client/Common/Utility.Common","Gallery/Client/Common/Constants","VSS/Utils/String"],function(n,t,i,r,u,f){var e,c,s,h,l,o;Object.defineProperty(t,"__esModule",{value:!0});t.ItemConstants=t.VSSItemAcquisitionOption=t.ItemModelHelper=t.InstallationTargetToVSIdeMapping=t.VSSWorkFlow=t.VSSItemType=void 0,function(n){n[n.VSSExtension=0]="VSSExtension";n[n.VSSHostedExtension=1]="VSSHostedExtension";n[n.VSSIntegration=2]="VSSIntegration";n[n.VSSOffer=3]="VSSOffer";n[n.VSCodeExtension=4]="VSCodeExtension";n[n.VSIdeExtension=5]="VSIdeExtension";n[n.VSSHostedResource=6]="VSSHostedResource";n[n.VSSTfsExtension=7]="VSSTfsExtension";n[n.VSSTfsIntegration=8]="VSSTfsIntegration";n[n.VSSHostedIntegration=9]="VSSHostedIntegration";n[n.VSForMacExtension=10]="VSForMacExtension"}(e=t.VSSItemType||(t.VSSItemType={})),function(n){n[n.BuyOfferWorkflow=0]="BuyOfferWorkflow";n[n.BuyResourceWorkflow=1]="BuyResourceWorkflow";n[n.BuyOnPremExtensionWorkflow=2]="BuyOnPremExtensionWorkflow";n[n.TrialExtensionWorkflow=3]="TrialExtensionWorkflow";n[n.BuyExtensionWorkflow=4]="BuyExtensionWorkflow";n[n.FreeExtensionWorkflow=5]="FreeExtensionWorkflow"}(c=t.VSSWorkFlow||(t.VSSWorkFlow={}));s=function(){function n(){}return n.getAllIdeVersions=function(){return["2022","2019","2017","2015","2013","2012","2010"]},n.getIdeVersionFromInstallationTarget=function(t){for(var i in n._installationTargetToIdeVersionMap)if(f.ignoreCaseComparer(t,i)===0)return n._installationTargetToIdeVersionMap[i];return null},n.getInstallationTargetsFromIdeVersion=function(t,i){var r=[];for(var u in n._installationTargetToIdeVersionMap)f.ignoreCaseComparer(t,n._installationTargetToIdeVersionMap[u])===0&&(i?r.push(n.removeVersionFromVsIdeInstallationTarget(u)):r.push(u));return r},n.getCapabilitiesFromInstallationTargetForVS=function(t){var i=[];return t&&t.length>0&&t.forEach(function(t){t.target!==o.INSTALLATION_TARGET_VS_IDE&&i.indexOf(n._installationTargetToIdeVersionMap[t.target])===-1&&i.push(n._installationTargetToIdeVersionMap[t.target])}),i.sort()},n.getInstallationTargetVersionRangeFromIdeYear=function(t){switch(t){case"2010":return"10.0.0.0-10.0."+n._intMax+"."+n._intMax;case"2012":return"11.0.0.0-11.0."+n._intMax+"."+n._intMax;case"2013":return"12.0.0.0-12.0."+n._intMax+"."+n._intMax;case"2015":return"14.0.0.0-14.0."+n._intMax+"."+n._intMax;case"2017":return"15.0.0.0-15.0."+n._intMax+"."+n._intMax;case"2019":return"16.0.0.0-16.0."+n._intMax+"."+n._intMax;case"2022":return"17.0.0.0-17.0."+n._intMax+"."+n._intMax;default:return null}},n.removeVersionFromVsIdeInstallationTarget=function(n){return n.substring(0,n.substring(0,n.lastIndexOf(".")).lastIndexOf("."))},n._intMax="2147483647",n._installationTargetToIdeVersionMap={"Microsoft.VisualStudio.Express_All.7.0":"2002","Microsoft.VisualStudio.Pro.7.0":"2002","Microsoft.VisualStudio.IntegratedShell.7.0":"2002","Microsoft.VisualStudio.Pro.7.1":"2003","Microsoft.VisualStudio.Express_All.8.0":"2005","Microsoft.VisualStudio.IntegratedShell.8.0":"2005","Microsoft.VisualStudio.Pro.8.0":"2005","Microsoft.VisualStudio.Express_All.9.0":"2008","Microsoft.VisualStudio.IntegratedShell.9.0":"2008","Microsoft.VisualStudio.Pro.9.0":"2008","Microsoft.VisualStudio.IntegratedShell.7.1":"2003","Microsoft.VisualStudio.Express_All.7.1":"2003","Microsoft.VisualStudio.IntegratedShell.10.0":"2010","Microsoft.VisualStudio.VCSExpress.10.0":"2010","Microsoft.VisualStudio.VBExpress.10.0":"2010","Microsoft.VisualStudio.VCExpress.10.0":"2010","Microsoft.VisualStudio.VPDExpress.10.0":"2010","Microsoft.VisualStudio.VSLS.10.0":"2010","Microsoft.VisualStudio.VWDExpress.10.0":"2010","Microsoft.VisualStudio.Express_All.10.0":"2010","Microsoft.VisualStudio.VSTD.10.0":"2010","Microsoft.VisualStudio.VSTS.10.0":"2010","Microsoft.VisualStudio.VST_All.10.0":"2010","Microsoft.VisualStudio.Pro.10.0":"2010","Microsoft.VisualStudio.Premium.10.0":"2010","Microsoft.VisualStudio.Ultimate.10.0":"2010","Microsoft.VisualStudio.IntegratedShell.11.0":"2012","Microsoft.VisualStudio.Visual Studio 2008.10.0":"2010","Microsoft.VisualStudio.Visual Studio Team System 2008.10.0":"2010","Microsoft.VisualStudio.VisualStudio 11.0.10.0":"2010","Microsoft.VisualStudio.Team.10.0":"2010","Microsoft.VisualStudio.Pro_All.10.0":"2010","Microsoft.VisualStudio.Community.10.0":"2010","Microsoft.VisualStudio.Enterprise.10.0":"2010","Microsoft.VisualStudio.Comunity.10.0":"2010","Microsoft.VisualStudio.Utimate.10.0":"2010","Microsoft.VisualStudio.All.10.0":"2010","Microsoft.VisualStudio.Isolated.11.0":"2012","Microsoft.VisualStudio.Test.11.0":"2012","Microsoft.VisualStudio.VSLS.11.0":"2012","Microsoft.VisualStudio.VBExpress.11.0":"2012","Microsoft.VisualStudio.VCSExpress.11.0":"2012","Microsoft.VisualStudio.VPDExpress.11.0":"2012","Microsoft.VisualStudio.VSWinDesktopExpress.11.0":"2012","Microsoft.VisualStudio.VSWinExpress.11.0":"2012","Microsoft.VisualStudio.VWDExpress.11.0":"2012","Microsoft.VisualStudio.VW8Express.11.0":"2012","Microsoft.VisualStudio.Express.11.0":"2012","Microsoft.VisualStudio.Express_All.11.0":"2012","Microsoft.VisualStudio.VSTD.11.0":"2012","Microsoft.VisualStudio.VSTS.11.0":"2012","Microsoft.VisualStudio.VST_All.11.0":"2012","Microsoft.VisualStudio.Community.11.0":"2012","Microsoft.VisualStudio.Comunity.11.0":"2012","Microsoft.VisualStudio.Enterprise.11.0":"2012","Microsoft.VisualStudio.Pro.11.0":"2012","Microsoft.VisualStudio.Premium.11.0":"2012","Microsoft.VisualStudio.Ultimate.11.0":"2012","Microsoft.VisualStudio.Utimate.11.0":"2012","Microsoft.VisualStudio.All.11.0":"2012","Microsoft.VisualStudio.IntegratedShell.12.0":"2013","Microsoft.VisualStudio.Isolated.12.0":"2013","Microsoft.VisualStudio.Test.12.0":"2013","Microsoft.VisualStudio.VSLS.12.0":"2013","Microsoft.VisualStudio.VBExpress.12.0":"2013","Microsoft.VisualStudio.VCSExpress.12.0":"2013","Microsoft.VisualStudio.VPDExpress.12.0":"2013","Microsoft.VisualStudio.VSWinDesktopExpress.12.0":"2013","Microsoft.VisualStudio.VSWinExpress.12.0":"2013","Microsoft.VisualStudio.VWDExpress.12.0":"2013","Microsoft.VisualStudio.Express.12.0":"2013","Microsoft.VisualStudio.Express_All.12.0":"2013","Microsoft.VisualStudio.VSTS.12.0":"2013","Microsoft.VisualStudio.VSTD.12.0":"2013","Microsoft.VisualStudio.VST_All.12.0":"2013","Microsoft.VisualStudio.Community.12.0":"2013","Microsoft.VisualStudio.Comunity.12.0":"2013","Microsoft.VisualStudio.Enterprise.12.0":"2013","Microsoft.VisualStudio.Pro.12.0":"2013","Microsoft.VisualStudio.Premium.12.0":"2013","Microsoft.VisualStudio.Ultimate.12.0":"2013","Microsoft.VisualStudio.All.12.0":"2013","Microsoft.VisualStudio.IntegratedShell.14.0":"2015","Microsoft.VisualStudio.Isolated.14.0":"2015","Microsoft.VisualStudio.Test.14.0":"2015","Microsoft.VisualStudio.VSLS.14.0":"2015","Microsoft.VisualStudio.VBExpress.14.0":"2015","Microsoft.VisualStudio.VCSExpress.14.0":"2015","Microsoft.VisualStudio.VPDExpress.14.0":"2015","Microsoft.VisualStudio.VSWinDesktopExpress.14.0":"2015","Microsoft.VisualStudio.VSWinExpress.14.0":"2015","Microsoft.VisualStudio.VWDExpress.14.0":"2015","Microsoft.VisualStudio.Express.14.0":"2015","Microsoft.VisualStudio.Express_All.14.0":"2015","Microsoft.VisualStudio.All_Express.14.0":"2015","Microsoft.VisualStudio.VSTS.14.0":"2015","Microsoft.VisualStudio.VSTD.14.0":"2015","Microsoft.VisualStudio.VST_All.14.0":"2015","Microsoft.VisualStudio.Community.14.0":"2015","Microsoft.VisualStudio.Comunity.14.0":"2015","Microsoft.VisualStudio.Enterprise.14.0":"2015","Microsoft.VisualStudio.Pro.14.0":"2015","Microsoft.VisualStudio.Professional.14.0":"2015","Microsoft.VisualStudio.Premium.14.0":"2015","Microsoft.VisualStudio.Ultimate.14.0":"2015","Microsoft.VisualStudio.IntegratedShell.15.0":"2017","Microsoft.VisualStudio.Isolated.15.0":"2017","Microsoft.VisualStudio.Test.15.0":"2017","Microsoft.VisualStudio.VSLS.15.0":"2017","Microsoft.VisualStudio.VPDExpress.15.0":"2017","Microsoft.VisualStudio.VSWinDesktopExpress.15.0":"2017","Microsoft.VisualStudio.VSWinExpress.15.0":"2017","Microsoft.VisualStudio.VWDExpress.15.0":"2017","Microsoft.VisualStudio.VST_All.15.0":"2017","Microsoft.VisualStudio.Community.15.0":"2017","Microsoft.VisualStudio.Enterprise.15.0":"2017","Microsoft.VisualStudio.Pro.15.0":"2017","Microsoft.VisualStudio.Premium.15.0":"2017","Microsoft.VisualStudio.Ultimate.15.0":"2017","Microsoft.VisualStudio.VSLS.16.0":"2019","Microsoft.VisualStudio.VSWinDesktopExpress.16.0":"2019","Microsoft.VisualStudio.VSWinExpress.16.0":"2019","Microsoft.VisualStudio.VWDExpress.16.0":"2019","Microsoft.VisualStudio.VST_All.16.0":"2019","Microsoft.VisualStudio.Community.16.0":"2019","Microsoft.VisualStudio.Pro.16.0":"2019","Microsoft.VisualStudio.Premium.16.0":"2019","Microsoft.VisualStudio.Enterprise.16.0":"2019","Microsoft.VisualStudio.Ultimate.16.0":"2019","Microsoft.VisualStudio.VPDExpress.16.0":"2019","Microsoft.VisualStudio.Community.17.0":"2022","Microsoft.VisualStudio.Pro.17.0":"2022","Microsoft.VisualStudio.Enterprise.17.0":"2022"},n}();t.InstallationTargetToVSIdeMapping=s;h=function(){function n(){}return n.manipulateCategory=function(n){return n.indexOf("/")>-1&&n.split("/")[1]!==null&&(n=n.split("/")[1]),n},n.getFullyQualifiedNameForItem=function(n,t){return n+"."+t},n.isVSTSExtension=function(n){return!(this.isVSCodeExtension(n)||this.isVSIdeExtension(n)||this.isVSForMacExtension(n))},n.isVSSExtension=function(n){return n===e.VSSExtension||n===e.VSSHostedExtension||n===e.VSSTfsExtension},n.isOnPremSupported=function(n){return n===e.VSSExtension||n===e.VSSTfsExtension},n.isHostedResource=function(n){return n===e.VSSHostedResource},n.isVSSExtensionOrHostedResource=function(n){return n===e.VSSExtension||n===e.VSSHostedExtension||n===e.VSSTfsExtension||n===e.VSSHostedResource},n.isVSSOffer=function(n){return n===e.VSSOffer},n.isThirdPartyPaidExtensionCurrent=function(n){return this.isAgileCardsItem(n)||this.isExportProItem(n)||this.isCodeQualityItem(n)||this.isTimeTrackerItem(n)||this.isBackLogEssentialsItem(n)||this.isSenseAdaptItem(n)||this.isTestThirdPartyItem(n)},n.isAgileCardsItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.AgileCards.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.AgileCards.ExtensionName)===0},n.isTimeTrackerItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.TimeTracker.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.TimeTracker.ExtensionName)===0},n.isExportProItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.ExportPro.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.ExportPro.ExtensionName)===0},n.isCodeQualityItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.CodeQuality.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.CodeQuality.ExtensionName)===0},n.isBackLogEssentialsItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.BackLogEssentials.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.BackLogEssentials.ExtensionName)===0},n.isSenseAdaptItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.SenseAdapt.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.SenseAdapt.ExtensionName)===0},n.isTestThirdPartyItem=function(n){return n&&f.ignoreCaseComparer(n.publisherName,u.TestThirdParty.PublisherName)===0&&f.ignoreCaseComparer(n.name,u.TestThirdParty.ExtensionName)===0},n.isPaidExtensionAndNotInPreview=function(t){return n.isVSSExtension(t.itemType)&&n.isPaidExtension(t.priceCategory)&&!t.isPreview},n.isThirdPartyPaidExtension=function(t){return n.isVSSExtension(t.itemType)&&n.isPaidExtension(t.priceCategory)&&!n.isFirstPartyPublisher(t.publisherDisplayName)},n.isFirstPartyPaidExtension=function(t){return n.isVSSExtension(t.itemType)&&n.isPaidExtension(t.priceCategory)&&!t.isPreview&&n.isFirstPartyPublisher(t.publisherDisplayName)},n.isFirstPartyPublisher=function(n){return f.equals(n,"Microsoft",!0)},n.isMicrosoftOrDevlabsPublisher=function(n){return f.equals(n,"Microsoft",!0)||f.equals(n,"Microsoft DevLabs",!0)},n.isPaidExtension=function(n){return n===i.priceCategory.Paid},n.isThirdPartyPaidExtensionWithOfferPlans=function(t,i,r){return n.isThirdPartyPaidExtension(t)&&this.isOfferDetailsPresent(i,r)},n.isThirdPartyPaidExtensionWithoutOfferPlans=function(t,i,r){return n.isThirdPartyPaidExtension(t)&&!this.isOfferDetailsPresent(i,r)},n.isOfferDetailsPresent=function(n,t){return n&&(n.hasPublicPlans||n.hasPlans&&t)},n.isVstsPaidExtension=function(t,r){var u=!1;return!t||t.isPreview||t.priceCategory===i.priceCategory.Free||(n.isVSSExtension(t.itemType)||n.isVSSIntegration(t.itemType)||n.isHostedResource(t.itemType))&&(n.isFirstPartyPaidExtension(t)?u=!0:n.isThirdPartyPaidExtensionWithOfferPlans(t,r,!1)&&!t.isByolEnforced?u=!0:n.isHostedResource(t.itemType)&&n.isPaidExtension(t.priceCategory)&&(u=!0)),u},n.isVSSIntegration=function(n){return n===e.VSSHostedIntegration||n===e.VSSIntegration||n===e.VSSTfsIntegration},n.isVSCodeExtension=function(n){return n===e.VSCodeExtension},n.isVSIdeExtension=function(n){return n===e.VSIdeExtension},n.isVSForMacExtension=function(n){return n===e.VSForMacExtension},n.getItemTypeText=function(t){var i="";return n.isVSSExtension(t)||n.isHostedResource(t)?i="VSTS":n.isVSForMacExtension(t)?i="VSForMac":t===e.VSCodeExtension?i="VSCode":t===e.VSSOffer?i="VSOffer":t===e.VSSIntegration||t===e.VSSHostedIntegration?i="VSSIntegration":t===e.VSIdeExtension?i="VS":t===e.VSSTfsIntegration&&(i="VSSTFSIntegration"),i},n.isGitHubFlavoredMarkdownEnabled=function(n){return n&&n.properties&&n.properties[o.PROPERTY_GITHUB_FLAVORED_MARKDOWN]==="false"?!1:!0},n.getItemAssetSourceURL=function(n,t,i){var u=i;return i&&i.length>0&&(i.charAt(0)==="/"&&(i=i.substr(1)),r.isAbsoluteUrl(i)||(u=n.getItemAssetSourceURL(t.publisherName+"."+t.name,t.version,i))),u},n.isTestManager=function(n){return f.equals("ms",n.publisherName,!0)&&f.equals("vss-testmanager-web",n.name,!0)},n.getQuantityLabel=function(n){return n&&n.properties&&n.properties[o.PROPERTY_HOSTED_RESOURCE_QUANTITYLABEL]?n.properties[o.PROPERTY_HOSTED_RESOURCE_QUANTITYLABEL]:null},n}();t.ItemModelHelper=h,function(n){n[n.Get=0]="Get";n[n.Install=1]="Install";n[n.Buy=2]="Buy";n[n.Try=3]="Try";n[n.Request=4]="Request";n[n.Download=5]="Download";n[n.None=6]="None";n[n.PurchaseRequest=7]="PurchaseRequest"}(l=t.VSSItemAcquisitionOption||(t.VSSItemAcquisitionOption={}));o=function(){function n(){}return n.ASSET_PATH="_apis/public/gallery/publisher/{0}/extension/{1}/{2}/assetbyname/{4}",n.PRIVATE_ASSET_PATH="_apis/public/gallery/publisher/{0}/extension/{1}/{2}/privateasset/{3}/{4}",n.ASSET_ICON_DEFAULT="Microsoft.VisualStudio.Services.Icons.Default",n.ASSET_ICON_BRANDING="Microsoft.VisualStudio.Services.Icons.Branding",n.ASSET_ICON_SMALL="Microsoft.VisualStudio.Services.Icons.Small",n.ASSET_LICENSE="Microsoft.VisualStudio.Services.Content.License",n.ASSET_CHANGELOG="Microsoft.VisualStudio.Services.Content.Changelog",n.ASSET_PRIVACY="Microsoft.VisualStudio.Services.Content.PrivacyPolicy",n.ASSET_ICON_WIDE="Microsoft.VisualStudio.Services.Icons.Wide",n.ASSETS_SCREENSHOTS=["Microsoft.VisualStudio.Services.Screenshots.1","Microsoft.VisualStudio.Services.Screenshots.2","Microsoft.VisualStudio.Services.Screenshots.3"],n.ASSETS_DETAILS="Microsoft.VisualStudio.Services.Content.Details",n.ASSET_PRICING="Microsoft.VisualStudio.Services.Content.Pricing",n.INSTALLATION_TARGET_EXTENSION="Microsoft.VisualStudio.Services",n.INSTALLATION_TARGET_HOSTED_EXTENSION="Microsoft.VisualStudio.Services.Cloud",n.INSTALLATION_TARGET_INTEGRATION="Microsoft.VisualStudio.Services.Integration",n.INSTALLATION_TARGET_HOSTED_INTEGRATION="Microsoft.VisualStudio.Services.Cloud.Integration",n.INSTALLATION_TARGET_OFFER="Microsoft.VisualStudio.Offer",n.INSTALLATION_TARGET_CODE="Microsoft.VisualStudio.Code",n.INSTALLATION_TARGET_VS_IDE="Microsoft.VisualStudio.Ide",n.INSTALLATION_TARGET_VS_MAC="Microsoft.VisualStudio.Mac",n.INSTALLATION_TARGET_HOSTED_RESOURCE="Microsoft.VisualStudio.Services.Resource.Cloud",n.PROPERTY_HOSTED_RESOURCE_NAME="Microsoft.VisualStudio.Services.Resource.Cloud.Name",n.PROPERTY_HOSTED_RESOURCE_QUANTITYLABEL="Microsoft.VisualStudio.Services.Resource.Cloud.QuantityLabel",n.PROPERTY_HOSTED_RESOURCE_ACTIONBUTTONLABEL="Microsoft.VisualStudio.Services.Resource.Cloud.ActionButtonLabel",n.PROPERTY_HOSTED_RESOURCE_ACTIONBUTTONTARGET="Microsoft.VisualStudio.Services.Resource.Cloud.ActionButtonTarget",n.PROPERTY_HOSTED_RESOURCE_QUANTITYSELECTIONHELPTEXT="Microsoft.VisualStudio.Services.Resource.Cloud.QuantitySelectionHelpText",n.PROPERTY_GITHUB_FLAVORED_MARKDOWN="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown",n.PROPERTY_GET_STARTED_LINK="Microsoft.VisualStudio.Services.Links.Getstarted",n.PROPERTY_GET_SPONSOR_LINK="Microsoft.VisualStudio.Code.SponsorLink",n.PROPERTY_LEARN_LINK="Microsoft.VisualStudio.Services.Links.Learn",n.PROPERTY_SUPPORT_LINK="Microsoft.VisualStudio.Services.Links.Support",n.PROPERTY_FEEDBACK_LINK="Microsoft.VisualStudio.Services.Links.Feedback",n.PROPERTY_INSTALL_LINK="Microsoft.VisualStudio.Services.Links.Install",n.PROPERTY_LICENSE_LINK="Microsoft.VisualStudio.Services.Links.License",n.PROPERTY_PRIVACY_LINK="Microsoft.VisualStudio.Services.Links.Privacypolicy",n.PROPERTY_BRANDING_COLOR="Microsoft.VisualStudio.Services.Branding.Color",n.PROPERTY_TRIAL_DAYS="Microsoft.VisualStudio.Services.GalleryProperties.TrialDays",n.PROPERTY_BRANDING_THEME="Microsoft.VisualStudio.Services.Branding.Theme",n.PROPERTY_CUSTOMER_QNA_LINK="Microsoft.VisualStudio.Services.CustomerQnALink",n.PROPERTY_ENABLE_QNA="Microsoft.VisualStudio.Services.EnableMarketplaceQnA",n.PROPERTY_POST_ACQUISITION_CONFIG_LINK="Microsoft.VisualStudio.Services.GalleryProperties.PostAcquisitionConfigLink",n.PROPERTY_POST_ACQUISITION_CONFIG_LABEL="Microsoft.VisualStudio.Services.GalleryProperties.PostAcquisitionConfigLabel",n.PRICING_CALCULATOR_STATUS="Microsoft.VisualStudio.Services.Content.Pricing.PriceCalculator",n.QUANTITY_READONLY_STATUS="Microsoft.VisualStudio.Services.Content.Quantity.QuantityReadOnly",n.STATISTIC_INSTALL="install",n.STATISTIC_WEBDOWNLOAD_COUNT="downloadCount",n.STATISTIC_MIGRATED_INSTALL_COUNT="migratedInstallCount",n.STATISTIC_UPDATE_COUNT="updateCount",n.STATISTIC_AVERAGE_RATING="averagerating",n.STATISTIC_RATING_COUNT="ratingcount",n.STATISTIC_TRENDING_WEEKLY="trendingweekly",n.STATISTIC_TRENDING_MONTHLY="trendingmonthly",n.STATISTIC_TRENDING_DAILY="trendingdaily",n.PROPERTY_GITHUB_REPOSITORY_LINK="Microsoft.VisualStudio.Services.Links.GitHub",n.ONPREM_DOWNLOADS="onpremDownloads",n.INSTALLATION_TARGET_TFSEXTENSION="Microsoft.TeamFoundation.Server",n.INSTALLATION_TARGET_TFSINTEGRATION="Microsoft.TeamFoundation.Server.Integration",n}();t.ItemConstants=o});

define("Gallery/Client/Service/ItemsConverter",["require","exports","Gallery/Client/Common/Constants","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Service/Item","Gallery/Client/URLHelper","Gallery/Client/Service/VNext/Utility","Gallery/Client/Service/VSSItem","VSS/Utils/String","VSS/Utils/Array","VSS/Utils/Url"],function(n,t,i,r,u,f,e,o,s,h,c,l){var y,v,a,p;Object.defineProperty(t,"__esModule",{value:!0});t.PublisherFlags=t.PublishedExtensionFlags=t.VSSItemHelper=t.ItemsConverter=void 0;y=function(){function n(){}return n.fillBaseTabTileData=function(n,t,r){var f,h,s,c,a,l;if(r===void 0&&(r=!0),n){for(f=n.extensionsPerCategory,r?(h=e.GalleryURLs.getVssCategoryURLForHomePage,t===u.ItemTypeEnum.VSCode?h=e.GalleryURLs.getVSCodeCategoryURL:t===u.ItemTypeEnum.VS?h=e.GalleryURLs.getLatestVSCategoryURL:t===u.ItemTypeEnum.VSForMac&&(h=e.GalleryURLs.getVSForMacCategoryURL)):h=e.GalleryURLs.getVssCategoryURLForHomePage,s=0;s<f.length;s++)c=!0,a=!0,f[s].categoryName.indexOf(i.TrendingCategoryConstants.Trending)>=0&&(c=r?o.getFeatureFlag(i.HomepageConstants.DedupeExtensionsFeature)&&(f[s].categoryName===i.TrendingCategoryConstants.TrendingDaily||f[s].categoryName===i.TrendingCategoryConstants.TrendingMonthly)?!1:!0:!1),l=this._getSeeMoreLink(h,f[s].categoryName),f[s].seeMoreLink=l,f[s].isDisabled=!c,f[s].extensions=this.setItemTypeForAll(f[s].extensions,t);return n.extensionsPerCategory=f,n}return null},n.convertToBaseTabTileData=function(n,t,f,o,s,h,c,l,a,v){var p,w,b,k,d,y;for(l===void 0&&(l=!0),a===void 0&&(a=!1),p={extensionsPerCategory:[]},t&&t.vssItems&&t.vssItems.length>0&&p.extensionsPerCategory.push({categoryName:r.Featured,extensions:this.GetItemMinifiedArray(t.vssItems,f,a),hasMoreExtensions:!1,seeMoreLink:"",isDisabled:!1}),l?(w=e.GalleryURLs.getVssCategoryURL,f===u.ItemTypeEnum.VSCode&&(w=e.GalleryURLs.getVSCodeCategoryURL)):w=e.GalleryURLs.getVssCategoryURL,s&&s.vssItems&&s.vssItems.length>0&&(y=this._getSeeMoreLink(w,r.MostPopular_Items_Header),p.extensionsPerCategory.push({categoryName:r.MostPopular_Items_Header,extensions:this.GetItemMinifiedArray(s.vssItems,f,a),hasMoreExtensions:s.hasMoreExtensions,seeMoreLink:y,isDisabled:!1})),v&&v.vssItems&&v.vssItems.length>0&&(y=this._getSeeMoreLink(w,r.Org_Internal),p.extensionsPerCategory.push({categoryName:r.Org_Internal,extensions:this.GetItemMinifiedArray(v.vssItems,f,a),hasMoreExtensions:v.hasMoreExtensions,seeMoreLink:y,isDisabled:!1})),c&&c.vssItems&&c.vssItems.length>0&&(y=this._getSeeMoreLink(w,r.MostPopular_Items_Header),p.extensionsPerCategory.push({categoryName:r.HighestRated_Items_Header,extensions:this.GetItemMinifiedArray(c.vssItems,f,a),hasMoreExtensions:s.hasMoreExtensions,seeMoreLink:y,isDisabled:!1})),o&&o.vssItems&&o.vssItems.length>0&&(y=this._getSeeMoreLink(w,r.RecentlyAdded),p.extensionsPerCategory.push({categoryName:r.RecentlyAdded,extensions:this.GetItemMinifiedArray(o.vssItems,f,a),hasMoreExtensions:o.hasMoreExtensions,seeMoreLink:y,isDisabled:!1})),l&&!this._isSpecialCategoriesPresentInList(n)&&h&&h.vssItems.length>=0&&(y=this._getSeeMoreLink(w,i.TrendingCategoryConstants.TrendingWeekly),p.extensionsPerCategory.push({categoryName:i.TrendingCategoryConstants.TrendingWeekly,extensions:this.GetItemMinifiedArray(h.vssItems,f,a),hasMoreExtensions:h.hasMoreExtensions,seeMoreLink:y,isDisabled:!1})),b=0;b<n.length;b++)k=!0,d=!0,n[b].categoryName.indexOf(i.TrendingCategoryConstants.Trending)>=0&&(k=l?!0:!1),y=this._getSeeMoreLink(w,n[b].categoryName),p.extensionsPerCategory.push({categoryName:n[b].categoryName,extensions:this.GetItemMinifiedArray(n[b].vssItems,f,a),hasMoreExtensions:n[b].hasMoreExtensions,seeMoreLink:y,isDisabled:!k});return p},n.setItemType=function(n,t){for(var u,f,i,e=n?n.length:0,r=0;r<e;r++)for(u=n[r].extensions,f=u.length,i=0;i<f;i++)u[i].itemType=t;return n},n.convertBaseTabTileData=function(n){var i,t;if(n&&n.epc){for(i=[],t=0;t<n.epc.length;t++)i.push(this._convertExtensionsPerCategoryData(n.epc[t]));return{extensionsPerCategory:i}}return null},n.covnertTabTileData=function(n){var i,r,t;if(n){if(i=[],n.epc)for(t=0;t<n.epc.length;t++)i.push(this._convertExtensionsPerCategoryData(n.epc[t]));if(r=[],n.c)for(t=0;t<n.c.length;t++)r.push(this._convertCategoryTitleLinkData(n.c[t]));return{categories:r,extensionsPerCategory:i}}return null},n.convertInitialTabTileData=function(n){var i,t;if(n){if(i=[],n.epc)for(t=0;t<n.epc.length;t++)i.push(this._convertExtensionsPerCategoryData(n.epc[t]));return{categories:n.c,extensionsPerCategory:i}}return null},n._convertCategoryTitleLinkData=function(n){return n?{title:n.t,link:n.l}:null},n._convertExtensionsPerCategoryData=function(n){var i,t;if(n){if(i=[],n.e)for(t=0;t<n.e.length;t++)i.push(this._covnertItemData(n.e[t]));return{categoryName:n.cn,extensions:i,hasMoreExtensions:n.hme,seeMoreLink:n.sml,isDisabled:n.isd}}return null},n._covnertItemData=function(n){return n?{author:n.a,costCategory:this.getCostCategoryString(n.cc),link:n.l,summary:n.s,thumbnail:n.i,fallbackThumbnail:n.fi,title:n.t,rating:n.r,ratingCount:n.rc,installCount:n.ic,isPublisherCertified:n.pc,publisherDomain:n.pd,isPublisherDomainVerified:n.pdv,itemType:n.itemType}:null},n._isSpecialCategoriesPresentInList=function(n){for(var u=!1,t=0;t<n.length;t++)if(n[t].categoryName.indexOf(r.Featured)>=0||n[t].categoryName.indexOf(r.MostPopular_Items_Header)>=0||n[t].categoryName.indexOf(r.RecentlyAdded)>=0||n[t].categoryName.indexOf(i.TrendingCategoryConstants.Trending)>=0){u=!0;break}return u},n._getSeeMoreLink=function(n,t){return h.ignoreCaseComparer(t,r.RecentlyAdded)===0?n(r.AllCategoriesText,i.SortOptions.SortByDate):h.ignoreCaseComparer(t,r.Org_Internal)===0?n(r.AllCategoriesText,i.SortOptions.Installs,null,null,!0):h.ignoreCaseComparer(t,r.Featured)===0?"":h.ignoreCaseComparer(t,r.HighestRated_Items_Header)===0?n(r.AllCategoriesText,i.SortOptions.Ratings):h.ignoreCaseComparer(t,r.MostPopular_Items_Header)===0?n(r.AllCategoriesText,i.SortOptions.Installs):h.ignoreCaseComparer(t,r.TopPaid_Items_Header)===0?n(r.AllCategoriesText,i.SortOptions.Installs,null,i.FilterConstants.CostParamValuePaid):h.ignoreCaseComparer(t,r.TopFree_Items_Header)===0?n(r.AllCategoriesText,i.SortOptions.Installs,null,i.FilterConstants.CostParamValueFree):h.ignoreCaseComparer(t,i.TrendingCategoryConstants.TrendingWeekly)===0?"":h.ignoreCaseComparer(t,i.TrendingCategoryConstants.TrendingDaily)===0?"":h.ignoreCaseComparer(t,i.TrendingCategoryConstants.TrendingMonthly)===0?"":n(t)},n._getItemType=function(n){return v.getItemType(n)},n.GetItemMinifiedArray=function(n,t,i){for(var f,e,s=[],h=n.length,r=0;r<h;r++)f=n[r].smallIconUrl,e=n[r].fallbackSmallIconUrl,f||(f=n[r].imageUrl,e=n[r].fallbackImageUrl),s.push({author:n[r].publisherDisplayName,costCategory:this.getCostCategoryString(this.calculateCostCategory(n[r])),installCount:o.getInstallCountString(n[r].installCount),link:t===u.ItemTypeEnum.VSCode&&i?this._getVSCodeSSRURL(n[r].link):n[r].link,summary:n[r].shortDescription,thumbnail:f,fallbackThumbnail:e,title:n[r].title,rating:n[r].averageRating,ratingCount:n[r].ratingCount,isPublisherCertified:(n[r].publisherFlags&p.Certified)>0,publisherDomain:n[r].publisherDomain,isPublisherDomainVerified:n[r].isPublisherDomainVerified,itemType:t});return s},n._getVSCodeSSRURL=function(n){if(!n)return n;var t=l.Uri.parse(n);return t.addQueryParam("ssr","true"),t.absoluteUri},n.setItemTypeForAll=function(n,t){for(var r,u=n.length,i=0;i<u;i++)n[i].itemType=t,n[i].link=e.GalleryURLs.getWebPageURL(n[i].link),n[i].installCount&&(r=parseInt(n[i].installCount),n[i].installCount=o.getInstallCountString(r));return n},n.calculateCostCategory=function(n){var t=f.priceCategory.Free;if(!n){t=f.priceCategory.Free;return}var r=s.ItemModelHelper.isVSSExtension(n.itemType),o=s.ItemModelHelper.isVSSOffer(n.itemType),l=n.tags&&(c.arrayContains(i.Tags.BYOL,n.tags,function(n,t){return n.toLowerCase()===t.toLowerCase()})||c.arrayContains(i.Tags.BYOLEnforced,n.tags,function(n,t){return n.toLowerCase()===t.toLowerCase()})),u=n.flags&&(n.flags&a.Preview)!=0,e=n.flags&&(n.flags&a.Paid)!=0||n.tags&&c.arrayContains("$IsPaid",n.tags,function(n,t){return n.toLowerCase()===t.toLowerCase()})||o,v=n.flags&&(n.flags&a.Trial)!=0||c.arrayContains(i.Tags.TrailDays,n.tags,function(n,t){return h.caseInsensitiveContains(t,n)})||e&&r&&!u&&!l;return v?t=f.priceCategory.Trial:e&&(t=r&&u?f.priceCategory.Trial:f.priceCategory.Paid),t},n.getCostCategoryString=function(n){switch(n){case f.priceCategory.Paid:return r.Pricing_Paid;case f.priceCategory.Trial:return r.Pricing_Trial}return r.Pricing_Free},n.getFeatureFlag=function(n){var i=!1,r,t;return this.cachedFeatureFlags!==undefined?this.cachedFeatureFlags[n]!==undefined&&(i=this.cachedFeatureFlags[n]):(r=$(".general-info-data"),t=r.length>0?JSON.parse(r.html()):null,t!==null&&t.featureFlags!==undefined&&(this.cachedFeatureFlags=t.featureFlags,i=this.cachedFeatureFlags[n])),i},n}();t.ItemsConverter=y;v=function(){function n(){}return n.getItemType=function(n){var t=s.VSSItemType.VSSExtension;for(var i in n.installationTargets)if(n.installationTargets[i].target.toLowerCase()===s.ItemConstants.INSTALLATION_TARGET_EXTENSION.toLowerCase()){t=s.VSSItemType.VSSExtension;break}else if(n.installationTargets[i].target.toLowerCase()===s.ItemConstants.INSTALLATION_TARGET_INTEGRATION.toLowerCase()){t=s.VSSItemType.VSSIntegration;break}else if(n.installationTargets[i].target.toLowerCase()===s.ItemConstants.INSTALLATION_TARGET_OFFER.toLowerCase()){t=s.VSSItemType.VSSOffer;break}else if(n.installationTargets[i].target.toLowerCase()===s.ItemConstants.INSTALLATION_TARGET_CODE.toLowerCase()){t=s.VSSItemType.VSCodeExtension;break}else if(n.installationTargets[i].target.toLowerCase()===s.ItemConstants.INSTALLATION_TARGET_VS_IDE.toLowerCase()){t=s.VSSItemType.VSIdeExtension;break}return t},n}();t.VSSItemHelper=v,function(n){n[n.None=0]="None";n[n.Disabled=1]="Disabled";n[n.BuiltIn=2]="BuiltIn";n[n.Validated=4]="Validated";n[n.Trusted=8]="Trusted";n[n.Paid=16]="Paid";n[n.Public=256]="Public";n[n.MultiVersion=512]="MultiVersion";n[n.System=1024]="System";n[n.Preview=2048]="Preview";n[n.Unpublished=4096]="Unpublished";n[n.Trial=8192]="Trial";n[n.Hidden=32768]="Hidden"}(a=t.PublishedExtensionFlags||(t.PublishedExtensionFlags={})),function(n){n[n.None=0]="None";n[n.Disabled=1]="Disabled";n[n.Verified=2]="Verified";n[n.Certified=4]="Certified"}(p=t.PublisherFlags||(t.PublisherFlags={}))});

define("Gallery/Client/Service/VNext/SearchProviderAbstractionsWrapper",["require","exports","q","VSS/VSS"],function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});t.VSSSearchProviderAbstraction=void 0;var u=function(){function n(){}return n.GetExtensionsData=function(t){var u=i.defer();return r.using(n.SEARCH_DELAY_LOAD_MODULES,function(n,i,r){r.VSSSearchProviderAbstraction.GetExtensionsData(t).then(function(n){u.resolve(n)},function(n){u.reject(n)})}),u.promise},n.SEARCH_DELAY_LOAD_MODULES=["Gallery/Client/Common/TelemetryInternal","VSS/Error","Gallery/Client/Service/VNext/SearchProviderAbstractions"],n}();t.VSSSearchProviderAbstraction=u});

define("Gallery/Client/Service/VNext/GalleryDataProvider",["require","exports","q","Gallery/Client/Common/Ajax","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Service/ItemsConverter","Gallery/Client/Service/ItemsConverter","Gallery/Client/Service/VNext/SearchProviderAbstractionsWrapper","Gallery/Client/URLHelper","Gallery/Client/Service/VNext/Utility","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","VSS/Diag"],function(n,t,i,r,u,f,e,o,s,h,c,l){var v,a;Object.defineProperty(t,"__esModule",{value:!0});t.VSSProduct=t.GalleryDataProvider=void 0;v=function(){function n(){this.vsTabDataFromJSONIsland=!1;this.vsCodeTabDataFromJSONIsland=!1;this.vsForMacTabDataFromJSONIsland=!1;this.vstsTabDataFromJSONIsland=!1;this.allTabDataInitialized=!1}return n.GetInstance=function(){return n.instance||(n.instance=new n),n.instance},n.prototype.GetVSTabData=function(t){var r,c,o,h,v;return(t===void 0&&(t=!1),r=i.defer(),this.vsTabData&&!t)?this.vsTabData:(t||(this.vsTabData=r.promise),c=this._getContentFromJsonIsland("vs"),o=e.ItemsConverter.convertInitialTabTileData(c),o===null||o.extensionsPerCategory==null||t?this._getTopNItemsByCategory(a.VS,t).then(function(t){var i=e.ItemsConverter.convertInitialTabTileData(t),o=[],h;i.categories&&i.categories.forEach(function(n){o.push({title:n,link:s.GalleryURLs.getLatestVSCategoryURL(n)})});h={extensionsPerCategory:f.ItemsConverter.fillBaseTabTileData(i,u.ItemTypeEnum.VS,n.deploymentIsHosted()).extensionsPerCategory,categories:o};r.resolve(h)},function(n){l.logError(n);r.reject(n)}):(this.vsTabDataFromJSONIsland=!0,h=[],o.categories&&o.categories.forEach(function(n){h.push({title:n,link:s.GalleryURLs.getLatestVSCategoryURL(n)})}),v={categories:h,extensionsPerCategory:e.ItemsConverter.fillBaseTabTileData(o,u.ItemTypeEnum.VS,n.deploymentIsHosted()).extensionsPerCategory},r.resolve(v)),r.promise)},n.prototype.GetVSSubscriptionsTabData=function(){var n=i.defer(),t;return this.vsSubscriptionTabData?this.vsSubscriptionTabData:(this.vsSubscriptionTabData=n.promise,t=this._getContentFromJsonIsland("subscriptions"),t!==null?n.resolve(t):this._getSubscriptions().then(function(t){t&&n.resolve(t)},function(t){l.logError(t);n.reject(t)}),n.promise)},n.prototype.GetGeneralInfoData=function(){var t=$(".general-info-data"),n;return(t.length!==0&&(n=JSON.parse(t.html())),n!==null)?n:{}},n.prototype.GetVSCodeTabData=function(t){var r,c,o,h,v;return(t===void 0&&(t=!1),r=i.defer(),this.vsCodeTabData&&!t)?this.vsCodeTabData:(t||(this.vsCodeTabData=r.promise),c=this._getContentFromJsonIsland("vscode"),o=e.ItemsConverter.convertInitialTabTileData(c),o===null||o.extensionsPerCategory==null||t?this._getTopNItemsByCategory(a.VSCode,t).then(function(t){var i=e.ItemsConverter.convertInitialTabTileData(t),o=[],h;i.categories&&i.categories.forEach(function(n){o.push({title:n,link:s.GalleryURLs.getVSCodeCategoryURL(n)})});h={extensionsPerCategory:f.ItemsConverter.fillBaseTabTileData(i,u.ItemTypeEnum.VSCode,n.deploymentIsHosted()).extensionsPerCategory,categories:o};r.resolve(h)},function(n){l.logError(n);r.reject(n)}):(this.vsCodeTabDataFromJSONIsland=!0,h=[],o.categories&&o.categories.forEach(function(n){h.push({title:n,link:s.GalleryURLs.getVSCodeCategoryURL(n)})}),v={categories:h,extensionsPerCategory:e.ItemsConverter.fillBaseTabTileData(o,u.ItemTypeEnum.VSCode,n.deploymentIsHosted()).extensionsPerCategory},r.resolve(v)),r.promise)},n.prototype.GetVSTSTabData=function(t){var v=this,r,s,o;return(t===void 0&&(t=!1),r=i.defer(),this.vsTSTabData&&!t)?this.vsTSTabData:(t||(this.vsTSTabData=r.promise),s=this._getContentFromJsonIsland("vsts"),o=e.ItemsConverter.convertBaseTabTileData(s),o===null||o.extensionsPerCategory==null||t?this._getTopNItemsByCategory(a.VSTS,t).then(function(t){var o=e.ItemsConverter.convertInitialTabTileData(t),i=f.ItemsConverter.fillBaseTabTileData(o,u.ItemTypeEnum.VSTS,n.deploymentIsHosted());n.deploymentIsHosted()&&h.ShowInternalExtension.isInternalMicrosoftUser()?v._fetchInternalExtensions().then(function(t){if(t&&t.searchResults&&t.searchResults.length>0){var f={categoryName:c.Org_Internal,hasMoreExtensions:t.searchResults.length>n.CAROUSAL_SIZE,vssItems:t.searchResults},o=e.ItemsConverter.convertToBaseTabTileData([],null,u.ItemTypeEnum.VSTS,null,null,null,null,!0,!1,f);i.extensionsPerCategory=i.extensionsPerCategory.concat(o.extensionsPerCategory)}r.resolve(i)},function(n){l.logError(n);r.reject(n)}):r.resolve(i)},function(n){l.logError(n);r.reject(n)}):(this.vstsTabDataFromJSONIsland=!0,o=e.ItemsConverter.fillBaseTabTileData(o,u.ItemTypeEnum.VSTS,n.deploymentIsHosted()),r.resolve(o)),r.promise)},n.prototype.GetVSForMacTabData=function(t){var r,c,o,h,v;return(t===void 0&&(t=!1),r=i.defer(),this.vsForMacTabData&&!t)?this.vsForMacTabData:(t||(this.vsForMacTabData=r.promise),c=this._getContentFromJsonIsland("vsformac"),o=e.ItemsConverter.convertInitialTabTileData(c),o===null||o.extensionsPerCategory==null||t?this._getTopNItemsByCategory(a.VSForMac,t).then(function(t){var i=e.ItemsConverter.convertInitialTabTileData(t),o=[],h;i.categories&&i.categories.forEach(function(n){o.push({title:n,link:s.GalleryURLs.getVSForMacCategoryURL(n)})});h={extensionsPerCategory:f.ItemsConverter.fillBaseTabTileData(i,u.ItemTypeEnum.VSForMac,n.deploymentIsHosted()).extensionsPerCategory,categories:o};r.resolve(h)},function(n){l.logError(n);r.reject(n)}):(this.vsForMacTabDataFromJSONIsland=!0,h=[],o.categories&&o.categories.forEach(function(n){h.push({title:n,link:s.GalleryURLs.getVSForMacCategoryURL(n)})}),v={categories:h,extensionsPerCategory:e.ItemsConverter.fillBaseTabTileData(o,u.ItemTypeEnum.VSForMac,n.deploymentIsHosted()).extensionsPerCategory},r.resolve(v)),r.promise)},n.prototype._fetchInternalExtensions=function(){var r=i.defer(),t={};return t.category=c.Org_Internal,t.currentPageNumber=n.INTERNAL_PAGE_NUM,t.pageSize=n.INTERNAL_PAGE_SIZE,t.tab=n.TAB_VSTS,t.searchTerm="",this.GetExtensionsData(t).then(function(n){r.resolve(n)},function(n){r.reject(n)}),r.promise},n.prototype.InitiateDownloadAllTabsData=function(){if(!this.allTabDataInitialized){var t=i.defer(),n=[];n.push(this.GetVSCodeTabData());n.push(this.GetVSTabData());n.push(this.GetVSTSTabData());n.push(this.GetVSSubscriptionsTabData());this.allTabDataInitialized=!0}},n.prototype.GetExtensionsData=function(n){var t=i.defer();return o.VSSSearchProviderAbstraction.GetExtensionsData(n).then(function(n){t.resolve(n)},function(n){t.reject(n)}),t.promise},n.prototype.ISVSTabDataFromJSONIsland=function(){return this.vsTabDataFromJSONIsland},n.prototype.ISVSTSTabDataFromJSONIsland=function(){return this.vstsTabDataFromJSONIsland},n.prototype.ISVSCodeTabDataFromJSONIsland=function(){return this.vsCodeTabDataFromJSONIsland},n.prototype.ISVSForMacTabDataFromJSONIsland=function(){return this.vsForMacTabDataFromJSONIsland},n.prototype.parseExtensionFlags=function(n){for(var h,r,o,t,c,u,s,l,i=0,f=n;i<f.length;i++)for(h=f[i],r=0,o=h.extensions;r<o.length;r++)for(t=o[r],c=t.flags.toString().split(", "),u=0,s=c;u<s.length;u++){l=s[u];switch(l){case"none":t.flags=t.flags|e.PublishedExtensionFlags.None;break;case"disabled":t.flags=t.flags|e.PublishedExtensionFlags.Disabled;break;case"builtIn":t.flags=t.flags|e.PublishedExtensionFlags.BuiltIn;break;case"hidden":t.flags=t.flags|e.PublishedExtensionFlags.Hidden;break;case"validated":t.flags=t.flags|e.PublishedExtensionFlags.Validated;break;case"trusted":t.flags=t.flags|e.PublishedExtensionFlags.Trusted;break;case"public":t.flags=t.flags|e.PublishedExtensionFlags.Public;break;case"multiVersion":t.flags=t.flags|e.PublishedExtensionFlags.MultiVersion;break;case"system":t.flags=t.flags|e.PublishedExtensionFlags.System;break;case"preview":t.flags=t.flags|e.PublishedExtensionFlags.Preview;break;case"unpublished":t.flags=t.flags|e.PublishedExtensionFlags.Unpublished}}return n},n.prototype._getContentFromJsonIsland=function(n){var t=$("."+n.toLowerCase()+"-tab-data");return t.length>0?JSON.parse(t.html()):null},n.deploymentIsHosted=function(){var i=n.GetInstance(),t=i.GetGeneralInfoData();return t!=null?t.isHosted:!0},n.isVSIPPartner=function(){var i=n.GetInstance(),t=i.GetGeneralInfoData();return t!=null?t.isVSIPPartner:!1},n.getFeatureFlag=function(n){return h.getFeatureFlag(n)},n.getRegistryItem=function(n){var i="",r,t;return this.cachedRegistryItems!==undefined?this.cachedRegistryItems[n]!==undefined&&(i=this.cachedRegistryItems[n]):(r=$(".general-info-data"),t=r.length>0?JSON.parse(r.html()):null,t!==null&&t.registryItems!==undefined&&(this.cachedRegistryItems=t.registryItems,i=this.cachedRegistryItems[n])),i},n.prototype._getTopNItemsByCategory=function(t,u){var e=i.defer(),f="";return t===a.VSTS?f=n.PRODUCT_VSS:t===a.VSCode?f=n.PRODUCT_VSCODE:t===a.VSForMac?f=n.PRODUCT_VSForMac:t===a.VS&&(f=n.PRODUCT_VS),r.issueRequest(s.GalleryURLs.getExtensionsPerCategoryQueryUrl(),{data:{Product:f,RemoveFirstSetCategories:u},cache:!1}).then(function(n){e.resolve(n)},function(n){e.reject(n)}),e.promise},n.prototype._getSubscriptions=function(){var t=i.defer();return r.issueRequest(s.GalleryURLs.getExtensionsPerCategoryQueryUrl(),{data:{Product:n.PRODUCT_VSSUBS},cache:!1}).then(function(n){t.resolve(n)},function(n){t.reject(n)}),t.promise},n.GALLERY_DELAY_LOAD_MODULES=["Gallery/Client/Common/TelemetryInternal","VSS/Error","Gallery/Client/Service/VNext/SearchProviderAbstractions"],n.isHosted=null,n.PRODUCT_VSS="vsts",n.PRODUCT_VS="vs",n.PRODUCT_VSForMac="vsformac",n.PRODUCT_VSCODE="vscode",n.PRODUCT_VSSUBS="subscriptions",n.TAB_VSTS=2,n.INTERNAL_PAGE_SIZE=18,n.INTERNAL_PAGE_NUM=1,n.CAROUSAL_SIZE=6,n}();t.GalleryDataProvider=v,function(n){n[n.VSTS=0]="VSTS";n[n.VSCode=1]="VSCode";n[n.VS=2]="VS";n[n.VSSubs=3]="VSSubs";n[n.VSForMac=4]="VSForMac"}(a=t.VSSProduct||(t.VSSProduct={}))});

define("Gallery/Client/Common/Telemetry",["require","exports","q","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Client/Common/Utility.Common","Gallery/Client/URLHelper","VSS/VSS"],function(n,t,i,r,u,f,e){var s,c,o,h,l,a;Object.defineProperty(t,"__esModule",{value:!0});t.TelemetryVNext=t.GalleryPerformance=t.PerformanceConstants=t.TelemetryHelper=t.CustomerIntelligenceConstants=void 0,function(n){var o=function(){function n(){}return n.MARKETPLACE="MarketPlace",n}(),t,i,r,u,f,s,e;n.MarketPlaceCustomerIntelligenceArea=o;t=function(){function n(){}return n.ACQUISITION_WORKFLOW="Acquisition_Workflow",n.HOME_PAGE="Home_Page",n.SEARCH="Search",n.ERRORS="Error",n.CATEGORY_PAGE="Category_Page",n.ITEM_DETAILS="Item_Details",n.PUBLISHER_STATS="Publisher_Statistics_Page",n}();n.MarketPlaceCustomerIntelligenceCategories=t;i=function(){function n(){}return n.JOURNEYID="JourneyId",n.HOMEPAGE="HomePage",n.CATEGORYPAGE="CategoryPage",n.MANAGEPAGE="ManagePage",n.CAROUSEL="Carousel",n.EXTERNALMETADATA="External_Metadata",n.CAROUSEL_FETCH_ITEMS="Carousel",n.CATEGORY_CLICK="Category_Click",n.VS_ITEM="VS_Item_Tile",n.VSTS_ITEM="VSTS_Item_Tile",n.VSCODE_ITEM="VSCode_Item_Tile",n.SIGNIN_HEADER="SignIn_Header",n.MANAGEPUBLISHER="ManagePublisher",n.PUBLISHERPROFILE="PublisherProfile",n.INITIATE_INSTALL_ITEM="Initiate_Install",n.INITIATE_INSTALL_ITEM_CLICK="Initiate_Install_Click",n.CONFIRM_INSTALL_ITEM="Confirm_Install",n.INITIATE_TRIAL_ITEM="Initiate_Trial",n.INITIATE_TRIAL_ITEM_CLICK="Initiate_Trial_Click",n.CONFIRM_TRIAL_ITEM="Confirm_Trial",n.INITIATE_BUY_ITEM="Initiate_Buy",n.INITIATE_BUY_ITEM_CLICK="Initiate_Buy_Click",n.CONFIRM_BUY_ITEM="Confirm_Buy",n.AVAILABLE_ACCOUNTS="Available_Accounts",n.AVAILABLE_COLLECTIONS="Available_Collections",n.INITIATE_REQUEST_INSTALL="Initiate_Request_Install",n.COMMERCE_FALLBACK="Commerce_Fallback",n.INITIATE_PURCHASE_REQUEST="Initiate_Purchase_Request",n.BUILD_YOUR_OWN="Build_Your_Own",n.BUILD_YOUR_OWN_CATEGORY_PAGE="Build_Your_Own",n.PUBLISH_EXTENSIONS="Publish_Extensions",n.SELECT_COLLECTION="Select_Collection",n.SELECT_ACCOUNT="Select_Account",n.CREATE_NEW_ACCOUNT="Create_New_Account",n.CREATE_CONNECTED_SERVER="Create_Connected_Server",n.CREATE_AZURE_SUBSCRIPTION="Create_Azure_Subscription",n.CHANGE_AZURE_SUBSCRIPTION="Change_Azure_Subscription",n.REMOVE_SPENDING_LIMIT="Remove_Spending_Limit",n.TEMPORARY_SPENDING_LIMIT="Temporary_Spending_Limit",n.INITIATE_CHANGE_SUBSCRIPTION="Initiate_Change_Subscription",n.SELECT_AZURE_SUBSCRIPTION="Select_Azure_Subscription",n.AVAILABLE_AZURE_SUBSCRIPTION="Available_Azure_Subscription",n.ACQUISITION_WORKFLOW_ABANDON="Acquisition_Workflow_Abandon",n.ACQUISITION_WORKFLOW_CANCEL_ABANDON="Acquisition_Workflow_Cancel_Abandon",n.POST_ACQUISITION_CLICK="Post_Acquisition_Click",n.REVIEW_CONFIRM_CLICK="Review_Confirm_Click",n.ACQUIRE_ITEM_CLICK="Acquire_Item_Click",n.ACQUISITION_SUCCESS="Acquisition_Success",n.ACQUISITION_WORKFLOW_ERROR="Acquisition_Workflow_Error",n.SELECT_QUANTITY="Select_Quantity",n.AVAILABLE_QUANTITY_DETAILS="Available_Quantity_Details",n.CONFIRM_QUANTITY_CHANGE="Confirm_Quantity_Change",n.ASSIGN_VIEW_VS_SUBSCRIPTION="Assign_View_VS_Subscription",n.NAVIGATE_STEP="Step_Navigation",n.GET_STARTED_ITEM="Get_Started",n.ITEM_DOWNLOAD="Download",n.POST_INSTALL_WORKFLOW="Post_Install_Workflow",n.HOME_PAGE_OFFERS="HomePage_Offers",n.HOME_PAGE_FOOTER="HomePage_Footer",n.ITEMDETAILSPAGE="ItemDetailsPage",n.ITEMDETAILSPAGESSR="ItemDetailsPageSSR",n.ITEMDETAILSPAGESSR_RIGHTPANE="ItemDetailsPageSSR_RightPaneRendered",n.ITEMDETAILSPAGESSR_DELAYLOADOVERVIEW="ItemDetailsPageSSR_DelayLoadOverview",n.ITEMDETAILSPAGESSR_DELAYLOADOVERVIEW_FAILED="ItemDetailsPageSSR_DelayLoadOverview_Failed",n.CHANGELOGPAGE="ChangelogPage",n.PRIVACYPAGE="PrivacyPage",n.EULAPAGE="EulaPage",n.ALLFEATURES="AllFeatures",n.REQUESTEXTENSION="Request_Extension",n.INSTALL_WORKFLOW_ERRORS="Install_Workflow_Errors",n.INSTALL_WORKFLOW_ABANDON="Install_Workflow_Abandoned",n.DEFAULT_WORKFLOW="Default_Workflow",n.VSCODE_COPY="VSCode_Copy_Command",n.VSCODE_MORE_INFO="VSCode_More_Info",n.VSCODE_ONECLICKINSTALL="VSCode_OneClickInstall",n.VSCODE_COPY_BUTTON_DISABLED="VSCode_Copy_Button_Disabled",n.VSCODE_COMMAND_TEXT_BOX_CLICK="VSCode_Command_Textbox_Clicked",n.VSCODE_DOWNLOAD_LINK_CLICK="GetVSCode",n.VSCODE_TROUBLE_INSTALLING_LINK_CLICK="VSCode_Trouble_Installing",n.WORKFLOW_TYPE_EXTENSION_BUY="Extension_Buy",n.WORKFLOW_TYPE_EXTENSION_TRIAL="Extension_Trial",n.WORKFLOW_TYPE_EXTENSION_INSTALL="Extension_Install",n.WORKFLOW_TYPE_OFFER_BUY="Offer_Buy",n.WORKFLOW_TYPE_OFFER_TRIAL="Offer_Trial",n.WORKFLOW_TYPE_OFFER_INSTALL="Offer_Install",n.SUBWORKFLOW_TYPE_ANNUAL_REDUCE="Annual_Reduce_Quantity",n.SUBWORKFLOW_TYPE_ANNUAL_BUY_MORE="Annual_Buy_More",n.GETTOKEN_FALLBACK="GetToken_Fallback",n.VSCODE_EXTENSION_CREATE="VSCode_Extension_Create_Request",n.VSCODE_EXTENSION_UPDATE="VSCode_Extension_Update_Request",n.EXTENSION_REPLY_CREATE="Extension_Reply_Create_Request",n.EXTENSION_REVIEW_CREATE="Extension_Review_Create_Request",n.RECAPTCHA_VALIDATION="RecaptchaValidation",n.SEARCH="Search",n.SEARCH_REFERER="Search_Referer",n.SEARCH_QUERY_COMPLETE="Search_Query_Complete",n.SEARCH_RESULT_CLICK="Search_Result_Click",n.SEEMORE="Seemore",n.SEARCH_RESULTS_FEEDBACK="Search_Results_Feedback",n.SEARCH_RESULTS_ARTICLES_SEEMORE="Related_Article_Seemore_Click",n.SEARCH_RESULTS_ARTICLE_CLICK="Related_Article_Click",n.FILTER_OPTION_CHANGE="Filter_Option_Change",n.SEARCH_BAR_USE="Search_Bar_Use",n.SORT_OPTION_CLICK="Sort_Option_Click",n.HOSTED_ON_OPTION_CLICK="Hosted_On_Option_Click",n.PRICING_OPTION_CLICK="Pricing_Option_Click",n.CATEGORY_OPTION_CLICK="Category_Option_Click",n.VERSION_OPTION_CLICK="Version_Option_Click",n.BACK_NAVIGATION="Back_Navigation",n.CATEGORY="Category",n.RATING="RatingAndReviews",n.PRICE_CALCULATOR_QUANTITY="Price_Calculator_Quantity",n.PRICE_CALCULATOR_CURRENCY="Price_Calculator_Currency",n.BUY_WORKFLOW_ERRORS="Buy_Workflow_Errors",n.BUY_WORKFLOW_ABANDON="Buy_Workflow_Abandoned",n.TRIAL_WORKFLOW_ERRORS="Trial_Workflow_Errors",n.INITIATE_ACQUISITION_WORKFLOW="Initiate_Acquisition_Workflow",n.INITIATE_GET="Initiate_Get",n.TRIAL_WORKFLOW_ABANDON="Trial_Workflow_Abandoned",n.VSGALLERY_ERRORS="VSGallery_Errors",n.VSSGALLERY_ERRORS="VSSGallery_Errors",n.EXTERNALMETADATA_ERRORS="External_Metadata_Errors",n.SOCIAL_EVENT_CLICK="Social_Click",n.TRENDING_TYPE="TrendingType",n.DETAILS_PAGE_RESOURCE_CLICK="DetailsPageResourceClick",n.DETAILS_PAGE_REPORT_CLICK="DetailsPageReportClick",n.DETAILS_PAGE_TAB_CHANGE="DetailsPageTabChange",n.PUBLISHER_STATISTICS_TIMEPERIOD="PublisherStatisticsPage_TimePeriod",n.PUBLISHER_STATISTICS_EXPORTBUTTON="PublisherStatisticsPage_ExportButton",n.PUBLISHER_STATISTICS="PublisherStatisticsPage",n.PUBLISHER_STATISTICS_DETAILS_LIST_PIVOT_CHANGE="PublisherStatisticsPage_DetailsListPivotChange",n.PUBLISHER_STATISTICS_DETAILS_LIST_FILTER_CHANGE="PublisherStatisticsPage_DetailsListFilterChange",n.PUBLISHER_STATISTICS_DETAILS_LIST_COLUMN_HEADER_CLICKED="PublisherStatisticsPage_DetailsListColumnHeaderClicked",n.QNA="QnA",n.IMPRESSIONS="Impressions",n.OPTINEXPERIENCE="Marketplace_OptIn_Experience",n.VS_EXTENSION_MANAGE_TRIGGERED="VS_Extension_Manage_Triggered",n.VS_EXTENSION_MANAGE_COMPLETED="VS_Extension_Manage_Completed",n.VS_EXTENSION_MANAGE_ERROR="VS_Extension_Manage_Error",n.VS_EXTENSION_UPLOAD_PAYLOAD_COMPLETED="VS_Extension_Upload_Payload_Completed",n.VS_EXTENSION_MANAGE_ABANDON="VS_Extension_Manage_Abandon",n.VS_EXTENSION_MANAGE_CANCEL_ABANDON="VS_Extension_Manage_Cancel_Abandon",n.VS_EXTENSION_SAVE_AND_UPLOAD_CLICK="VS_Extension_Save_And_Upload_Click",n}();n.MarketPlaceIntelligenceFeature=i;r=function(){function n(){}return n.EULA_ERROR="EulaPage_Error",n.CATEGORY_PAGE_ERROR="Category_Error",n.ACQUIRE_ITEM_ERROR="AcquireItem_Error",n.HOMEPAGE_ERROR="Homepage_Error",n.ITEM_DETAILS_PAGE_ERROR="Item_Details_Page_Error",n.ITEM_DETAILS_SSR_PAGE_ERROR="Item_Details_SSR_Page_Error",n}();n.MarketPlaceIntelligenceErrors=r;u=function(){function n(){}return n.TWITTER="Twitter",n.FACEBOOK="Facebook",n.EMAIL="Email",n}();n.SocialNetworkConstants=u;f=function(){function n(){}return n.BrowserName="BrowserName",n.BrowserVersion="BrowserVersion",n.BrowserPlatform="BrowserPlatform",n.TAB_SELECTED="TabSelected",n.ITEM_NAME="item-name",n.OPERATION="operation",n.ERROR="error",n.CATEGORY_NAME="categoryName",n.PRODUCT_TYPE="ProductType",n.PRICE_CATEGORY="price-category",n.CONTAINER="container",n.EXTENSION_NAME="ExtensionName",n.IMPRESSIONS_ITEMS="items",n.IMPRESSIONS_LOCATION="location",n}();n.MarketPlaceIntelligencePropertyName=f,function(n){var ut=function(){function n(){}return n.TAB="Tab",n.EXTENSION_NAME="ExtensionName",n.PUBLISHER_NAME="PublisherName",n.DAYS="Days",n.PIVOT="Pivot",n.ACTION="Action",n.ACTION_SOURCE="ActionSource",n.EVENT="Event",n.STATE="State",n.ERROR_REASON="ErrorReason",n.PAGE="Page",n.UNINSTALL_TAB="Uninstall",n.ACQUISITION_TAB="Acquisition",n.SALES_TRANSACTIONS_TAB="Sales Transactions",n.RNR_TAB="RatingAndReview",n.QNA_TAB="QnA",n.DETAILS_LIST_PIVOT="DetailsListPivot",n.DETAILS_LIST_COLUMN_NAME="DetailsListColumnName",n.DETAILS_LIST_SELECTED_FILTERS="DetailsListSelectedFilters",n}(),t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt;n.StatisticPageProperties=ut;t=function(){function n(){}return n.PUBLISHER_ID="PublisherId",n.EXTENSION_ID="ExtensionId",n.EXTENSION_TYPE="ExtensionType",n.CATEGORY="Category",n.PRICE_CATEGORY="PriceCategory",n.VS_VERSIONS="VsVersions",n.SUPPORTED_VS_EDITIONS="SupportedVSEditions",n.ICON="Icon",n.QnA="Q&A",n.NO_OF_ASSETS="NoOfAssets",n.SOURCE_REPO_URL="SourceRepoURL",n.VSIXID="VsixId",n.DRAFT_ID="DraftId",n.FLOW_TYPE="FlowType",n.ERROR_REASON="ErrorReason",n.WARNINGS_REASON="WarningsReason",n.ERROR_STEP="ErrorStep",n.ORIGINAL_EXTENSION_SOURCE="OriginalExtensionSource",n.OPERATION="Operation",n.ELAPSED_TIME="ElapsedTime",n.PAYLOAD_SIZE="PayloadSize",n.VALUE_CHANGES="ValueChanges",n.EXTENSION_NAME="ExtensionName",n}();n.VsExtensionPublishProperties=t;i=function(){function n(){}return n.GalleryUserId="GalleryUserId",n.ProductType="ProductType",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.MarketPlaceIntelligenceCommonProperties=i;r=function(){function n(){}return n.Id="Id",n.Name="Name",n.ScrollDirection="ScrollDirection",n.SectionName="SectionName",n.ProductType="ProductType",n.Page="Page",n.GalleryUserId="GalleryUserId",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.HomePageProperties=r;u=function(){function n(){}return n.Id="Id",n.Name="Name",n.ScrollDirection="ScrollDirection",n.PageNumber="PageMumber",n.Category="Category",n.ProductType="ProductType",n}();n.CarouselProperties=u;f=function(){function n(){}return n.Id="Id",n.ProductType="ProductType",n.PriceCategory="PriceCategory",n.SectionName="SectionName",n.IsPublic="IsPublic",n.GalleryUserId="GalleryUserId",n.ItemCategory="ItemCategory",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n.Referrer="Referrer",n.isUserAuthenticated="isUserAuthenticated",n.isRHSTelemetryAvailable="isRHSTelemetryAvailable",n}();n.ItemDetailsProperties=f;e=function(){function n(){}return n.Id="Id",n.ResourceType="ResourceType",n.ResourceUrl="ResourceUrl",n.GalleryUserId="GalleryUserId",n.ProductType="ProductType",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.ItemDetailsResourceProperties=e;o=function(){function n(){}return n.Id="Id",n.Tab="TabSelected",n.GalleryUserId="GalleryUserId",n.ProductType="ProductType",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.ItemDetailsTabProperties=o;s=function(){function n(){}return n.VersionDownloaded="VersionDownloaded",n.LatestVersion="LatestVersion",n.IsSSRPage="IsSSRPage",n.IsVersionHistoryTab="IsVersionHistoryTab",n.VersionIndex="VersionIndex",n.TargetPlatform="TargetPlatform",n}();n.VersionHistoryProperties=s;h=function(){function n(){}return n.Id="Id",n.ProductType="ProductType",n}();n.ItemDetailsReportsProperties=h;c=function(){function n(){}return n.Id="Id",n.LinkType="LinkType",n.ProductType="ProductType",n.IsBadge="IsBadge",n}();n.ExternalMetadataProperties=c;l=function(){function n(){}return n.Id="Id",n.Error="Error",n.ProductType="ProductType",n}();n.ExternalMetadataErrorProperties=l;a=function(){function n(){}return n.Id="Id",n.IsFlashUsed="IsFlashUsed",n.Action="Action",n}();n.VSCodeCopyCommandProperties=a;v=function(){function n(){}return n.Id="Id",n.Action="Action",n.VSCodeDirectInstallString="VSCodeDirectInstall",n.VSCodeProductTypeString="VSCode",n}();n.VSCodeOneClickInstallConstants=v;y=function(){function n(){}return n.Url="Url",n.Action="Action",n}();n.SignInProperties=y;p=function(){function n(){}return n.Action="Action",n.Url="Url",n.FilterChanged="FilterChanged",n.SearchBoxLocation="SearchBoxLocation",n.SearchQuery="SearchQuery",n.CategoryName="CategoryName",n.SubCategoryName="SubCategoryName",n.SortOption="SortOption",n.PriceOption="PriceOption",n.VSVersion="VSVersion",n.InstallationTarget="InstallationTarget",n.GalleryUserId="GalleryUserId",n.ProductType="ProductType",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.SearchRefererProperties=p;w=function(){function n(){}return n.Url="Url",n.SearchBoxLocation="SearchBoxLocation",n.SearchQuery="SearchQuery",n.ProductType="ProductType",n.ResultCount="ResultCount",n.SortOption="SortOption",n.TilePosition="TilePosition",n.PageNumber="PageNumber",n.Action="Action",n.CategoryName="CategoryName",n.PriceOption="PriceOption",n.VSVersion="VSVersion",n.InstallationTarget="InstallationTarget",n.SubCategoryName="SubCategoryName",n.Page="Page",n.SectionName="SectionName",n.GalleryUserId="GalleryUserId",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n.SearchFeedback="Feedback",n.RelatedArticleId="ArticleIdClicked",n.RelatedArticleTitle="ArticleTitleClicked",n.RelatedArticleIds="RelatedArticleIds",n.VisibilityQuery="VisibilityQuery",n}();n.SearchAndCategoryPageProperties=w;b=function(){function n(){}return n.CLICK_EDIT_REVIEW="ClickEditReview",n.CLICK_WRITE_REVIEW="ClickWriteReview",n.CLICK_REPORT_ISSUE="ClickReportIssue",n.REPORT_ISSUE_REDIRECT_URL="RedirectUrl",n.CLICK_REPORT_ABUSE="ClickReportAbuse",n.CLICK_VIOLATION_CANCEL="ClickViolationCancel",n.CLICK_VIOLATION_SUBMIT="ClickViolationSubmit",n.CLICK_EDIT_REVIEW_SUBMIT="ClickEditReviewSubmit",n.CLICK_WRITE_REVIEW_SUBMIT="ClickWriteReviewSubmit",n.CLICK_EDIT_REVIEW_CANCEL="ClickEditReviewCancel",n.CLICK_WRITE_REVIEW_CANCEL="ClickWriteReviewCancel",n.CLICK_SEE_MORE="ClickSeeMore",n.CLICK_PUBLISHER_REPLY_BUTTON="PublisherReplyButtonClick",n.CLICK_PUBLISHER_REPLY_EDIT_BUTTON="PublisherReplyEditButtonClick",n.CLICK_PUBLISHER_REPLY_FORM_CANCEL_BUTTON="PublisherReplyFormCancelButtonClick",n.CLICK_PUBLISHER_REPLY_FORM_SUBMIT_BUTTON="PublisherReplyFormSubmitButtonClick",n.CLICK_PUBLISHER_REPLY_EDIT_FORM_SUBMIT_BUTTON="PublisherReplyFormSubmitButtonClick",n.ERROR_WRITE_REVIEW_SUBMIT="ErrorWriteReviewSubmit",n.ERROR_EDIT_REVIEW_SUBMIT="ErrorEditReviewSubmit",n.ERROR_SUBMIT_VIOLATION="ErrorSubmitViolation",n.ERROR_SEE_MORE="ErrorSeeMore",n.ERROR_PUBLISHER_REPLY_SUBMIT="ErrorPublisherReplySubmit",n.ON_INITIAL_LOAD="OnInitialLoad",n}();n.RatingAndReviewProperties=b;k=function(){function n(){}return n.QNA_CREATE_QUESTION="QnA_Create_Question",n.QNA_CREATE_RESPONSE="QnA_Create_Response",n.QNA_UPDATE_QUESTION="QnA_Update_Question",n.QNA_UPDATE_RESPONSE="QnA_Update_Response",n.QNA_REPORT_QUESTION="QnA_Report_Question",n.QNA_CANCEL_DIALOG_CLICK="QnA_Cancel_Dialog",n.QNA_DISMISS_DIALOG_CLICK="QnA_Dismiss_Dialog",n.QNA_SEE_MORE_QUESTIONS="QnA_See_More_Questions",n.QNA_SEE_MORE_RESPONSES="QnA_See_More_Responses",n.QNA_SEE_LESS_RESPONSES="QnA_See_Less_Responses",n.QNA_READ_MORE_TEXT="QnA_Read_More_Text",n.GITHUB_ISSUES="GitHubIssues",n.CUSTOM_QNA="CustomQnA",n.REDIRECT_URL_PROP_NAME="RedirectUrl",n}();n.QnAProperties=k;d=function(){function n(){}return n.Id="ItemId",n.AccountId="AccountId",n.AccountName="AccountName",n.AccountTenant="AccountTenant",n.IsPca="IsPca",n.AnnualPurchaseSummary="AnnualPurchaseSummary",n.AnnualFailedPurchaseSummary="AnnualFailedPurchaseSummary",n.SubscriptionId="SubscriptionId",n.ProductType="ProductType",n.OldLinkedSubscriptionId="OldLinkedSubscriptionId",n.LinkType="LinkType",n.WorkFlowType="WorkflowType",n.AnnualWorkflowType="AnnualWorkflowType",n.IsNewSubscription="IsNewSubscription",n.QuotaId="QuotaId",n.AzureOfferType="AzureOfferType",n.RegionDisplayName="RegionDisplayName",n.SubscriptionTenantId="SubscriptionTenantId",n.IsPricingAvailable="IsPricingAvailable",n.IsPartialSuccess="IsPartialSuccess",n.PurchaseDetails="PurchaseDetails",n.Quantity="Quantity",n.DefaultAccountId="DefaultAccountId",n.DefaultCollectionId="DefaultCollectionId",n.DefaultSubscriptionId="DefaultSubscriptionId",n.IsAutoSelect="IsAutoSelect",n.IsSubsequentPurchase="IsSubsequentPurchase",n.IsNewAccount="IsNewAccount",n.IsAccountSelectionChanged="IsAccountSelectionChanged",n.AutoSelectedAccountId="AutoSelectedAccountId",n.SubscriptionLinked="SubscriptionLinked",n.AssignedToMe="AssignedToMe",n.AssignOrView="AssignOrView",n.CollectionId="CollectionId",n.CollectionName="CollectionName",n.AvailableSubscriptions="AvailableSubscriptions",n.AvailableSubscriptionsForSwap="AvailableSubscriptionsForSwap",n.AvailableAccounts="AvailableAccounts",n.AvailableCollections="AvailableCollections",n.AvailableAcquisitionOptions="AvailableAcquisitionOptions",n.AlreadyInstalled="AlreadyInstalled",n.AlreadyRequested="AlreadyRequested",n.AlreadyUnderTrial="AlreadyUnderTrial",n.TrialEndDate="TrialEndDate",n.ErrorString="ErrorString",n.ErrorType="ErrorType",n.UserErrorReson="UserErrorReson",n.ErrorMethod="ErrorMethod",n.ErrorTrace="ErrorTrace",n.IsNewAcquisitionExperience="IsNewAcquisitionExperience",n.Step="Step",n.IsPublic="IsPublic",n.PreviousQuantity="PreviousQuantity",n.UserSummaryLoadedProperly="UserSummaryLoadedProperly",n.NewQuantity="NewQuantity",n.RenewalGroup="RenewalGroup",n.RenewalProperties="RenewalProperties",n.IsReduce="IsReduce",n.IsPaid="IsPaid",n.IsPreview="IsPreview",n.ItemCategory="ItemCategory",n.RedirectionUri="RedirectionUri",n.RequiresRedirection="RequiresRedirection",n.RequestQuantity="RequestQuantity",n.Referrer="Referrer",n.Source="Source",n.GalleryUserId="GalleryUserId",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n.ItemType="ItemType",n.FromStep="FromStep",n.ToStep="ToStep",n.IsCspUser="IsCspUser",n.IsOrgAccount="IsOrgAccount",n.UserWaitTime="UserWaitTime",n.Currency="Currency",n.Cost="Cost",n}();n.AcquisitionWorkFlowProperties=d;g=function(){function n(){}return n.CollectionId="CollectionId",n.HiddenAccountId="HiddenAccountId",n.IsOnPremContext="IsOnPremContext",n.GalleryUserId="GalleryUserId",n.ProductType="ProductType",n.UtmSource="UtmSource",n.UtmMedium="UtmMedium",n}();n.ConnectedContextWorkflowProperties=g;nt=function(){function n(){}return n.PublisherId="PublisherId",n.ExtensionAction="Action",n.ExtensionName="Name",n.ExtensionId="ExtensionId",n.IsPublic="IsPublic",n.PublisherName="Publisher",n.IsPreviewExtension="PreviewExtension",n.InstallationTarget="InstallationTarget",n.IsVerifiedPublisher="VerifiedPublisher",n.PublisherAction="PublisherAction",n.ItemType="ItemType",n.TabName="TabName",n.ExtensionCount="ExtensionCount",n.MemberCount="MemberCount",n.DisplayNameChanged="DisplayNameChanged",n.PublisherDetailsChanged="PublisherDetailsChanged",n.PublisherLogoUpdated="PublisherLogoUpdated",n.AzurePublisherChanged="AzurePublisherChanged",n.DirectoryChanged="DirectoryChanged",n.NewPublisherId="NewPublisherId",n.OldPublisherId="OldPublisherId",n.UpdateExistingMember="UpdateExistingMember",n.IsMemberFromSameDirectory="IsMemberFromSameDirectory",n}();n.ManagePageProperties=nt;tt=function(){function n(){}return n.IsPublisherNull="IsPublisherNull",n.Referrer="Referrer",n.PublisherName="PublisherName",n}();n.PublisherProfilePageProperties=tt;it=function(){function n(){}return n.FailedAPI="FailedAPI",n.ErrorMessage="ErrorMessage",n.ItemID="ItemID",n.ItemName="ItemName",n.Reason="Reason",n.Error="Error",n}();n.VSSErrorProperties=it;n.PIIProperties=[n.AcquisitionWorkFlowProperties.AvailableAccounts,n.AcquisitionWorkFlowProperties.AccountId,n.AcquisitionWorkFlowProperties.AutoSelectedAccountId,n.AcquisitionWorkFlowProperties.AccountName,n.AcquisitionWorkFlowProperties.DefaultAccountId,n.AcquisitionWorkFlowProperties.AvailableSubscriptions,n.AcquisitionWorkFlowProperties.SubscriptionId,n.AcquisitionWorkFlowProperties.DefaultSubscriptionId,n.AcquisitionWorkFlowProperties.RegionDisplayName,n.AcquisitionWorkFlowProperties.SubscriptionTenantId,n.ConnectedContextWorkflowProperties.HiddenAccountId,n.ConnectedContextWorkflowProperties.CollectionId,n.VSSErrorProperties.Error,n.AcquisitionWorkFlowProperties.ErrorTrace,n.AcquisitionWorkFlowProperties.ErrorString,n.PublisherProfilePageProperties.Referrer,n.SearchRefererProperties.SearchQuery];rt=function(){function n(){}return n.FeatureName="Feature",n.Action="Action",n.OptedInAction="OptedIn",n.OptedOutAction="OptedOut",n.DismissedAction="Dismissed",n.Url="Url",n}();n.OptinExperienceProperties=rt}(s=n.MarketPlaceIntelligenceProperties||(n.MarketPlaceIntelligenceProperties={}));e=function(){function n(){}return n.GalleryUserIdentity="Gallery-Service-UserIdentifier",n.TFS_CDN="TFS-CDN",n.GalleryJourneyId="Gallery-Service-JourneyId",n.GalleryNewJourneyId="Gallery-Service-NewJourneyId",n}();n.Cookies=e}(s=t.CustomerIntelligenceConstants||(t.CustomerIntelligenceConstants={}));c=function(){function n(){}return n.storeCampaignIdsIfApplicable=function(){var t=f.GalleryURLs.getUtmSourceFromUrl(location.search),n;t||(t=u.CookieUtils.getCookie(s.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.UtmSource));t&&u.CookieUtils.setCookieWithExpiryInMinutes(s.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.UtmSource,t,30);n=f.GalleryURLs.getUtmMediumFromUrl(location.search);n||(n=u.CookieUtils.getCookie(s.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.UtmMedium));n&&u.CookieUtils.setCookieWithExpiryInMinutes(s.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.UtmMedium,n,30)},n.publishEventAsync=function(n,t,u){u===void 0&&(u=!1);var f=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.TelemetryHelper.publishEventAsync(n,t,u).then(function(){f.resolve(null)},function(n){f.reject(n)})}),f.promise},n.publishEvent=function(n,t){var u=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.TelemetryHelper.publishEvent(n,t,!0);u.resolve(null)}),u.promise},n}();t.TelemetryHelper=c;o=function(){function n(){}return n.Area="MarketPlace",n.LoadHomePageAllTabs="LoadHomePageAllTabs",n.LoadHomePageVSTab="LoadHomePageVSTab",n.LoadHomePageVSForMacTab="LoadHomePageVSForMacTab",n.LoadHomePageVSSTab="LoadHomePageVSSTab",n.LoadHomePageVSCodeTab="LoadHomePageVSCodeTab",n.LoadHomePageVSSubscriptionTab="LoadHomePageVSSubscriptionTab",n.LoadVSSItemDetails="LoadVSSItemDetails",n.LoadInstallPage="LoadInstallPage",n.LoadCategoriesPage="LoadCategoriesPage",n.LoadSearchPage="LoadSearchPage",n.LoadCarouselItems="LoadCarouselItems",n.ExtensionRendered="VNext.View.ExtensionRendered",n.ScriptsLoaded="VNext.View.ScriptsLoaded",n.TelemetryUploadTime="VNext.View.TelemetryUploadTime",n.Contentloaded="VNext.View.ContentLoaded",n.ServerSideRendered="VNext.View.ServerSideRendered",n.LoadLicensePage="LoadLicensePage",n.LoadChangelogPage="LoadChangelogPage",n.LoadPrivacyPage="LoadPrivacyPage",n.GetAcquisitionOptionsDefault="GetAcquisitionOptionsDefault",n.GetAcquisitionOptions="GetAcquisitionOptions",n.PurchaseRequest="PurchaseRequest",n.SwapSubscription="SwapSubscription",n.RequestAcquisition="RequestAcquisition",n.LoadSubscription="LoadSubscription",n.ValidateSubscription="ValidateSubscription",n.LoadQuantity="LoadQuantity",n.PurchaseQuantity="PurchaseQuantity",n.LoadQnA="LoadQnA",n.LoadAcquisitionPage="LoadAcquisitionPage",n.LoadPublisherPage="LoadPublisherPage",n.LoadOldManagePage="LoadManagePage",n.LoadPublisherProfilePage="LoadPublisherProfilePage",n.LoadCustomerSupportPage="LoadCustomerSupportPage",n.LoadPublisherReportsPage="LoadPublisherReportsPage",n.PageLoadTTIStart="Gallery.PageLoadTTI-start",n.PageLoadTTIEnd="Gallery.PageLoadTTI-end",n.PageLoadTTI="Gallery.PageLoadTTI",n}();t.PerformanceConstants=o;h=function(){function n(){}return n.startScenario=function(n,t,u){var f=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){f.resolve(i.GalleryPerformance.startScenario(n,t,u))}),f.promise},n.abortScenario=function(n){var t=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.GalleryPerformance.abortScenario(n);t.resolve(null)}),t.promise},n.startScenarioFromNavigation=function(n,t){t===void 0&&(t=!0);var u=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){u.resolve(i.GalleryPerformance.startScenarioFromNavigation(n,t))}),u.promise},n.endScenario=function(n,t,u,f){t===void 0&&(t=!0);u===void 0&&(u=200);f===void 0&&(f=!1);var o=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.GalleryPerformance.endScenario(n,t,u,f);o.resolve(null)}),o.promise},n.split=function(n){var t=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.GalleryPerformance.split(n);t.resolve(null)}),t.promise},n.addDataToScenario=function(n,t){var u=i.defer();return e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(i){i.GalleryPerformance.addDataToScenario(n,t);u.resolve(null)}),u.promise},n.endPageLoadTTIScenario=function(){n.mark(o.PageLoadTTIEnd);n.measure(o.PageLoadTTI,"navigationStart",o.PageLoadTTIEnd)},n.measure=function(t,i,r){n.navigationTimingMarkHit(i)&&n.navigationTimingMarkHit(r)&&window.performance&&window.performance.measure&&window.performance.measure(t,i,r)},n.navigationTimingMarkHit=function(n){var t=window.performance&&window.performance.timing&&window.performance.timing[n]||null;return typeof t=="undefined"||t===null||t>0},n.mark=function(n){window.performance&&window.performance.mark&&window.performance.mark(n);console&&console.timeStamp&&console.timeStamp(n)},n}();t.GalleryPerformance=h;l=function(){function n(){}return n.split=function(n){window&&window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&this.splitTimings.push({name:n,timestamp:(new Date).getTime()-window.performance.timing.navigationStart})},n.EndScenario=function(t,u,f,s){var l=this,c;if(u===void 0&&(u=undefined),f===void 0&&(f=!0),c=i.defer(),this.isFirstNavigation()){if(!window||!window.performance||!window.performance.timing||!window.performance.timing.navigationStart)return i(0);s||(s=(new Date).getTime()-window.performance.timing.navigationStart);e.using(r.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(){n.split(o.TelemetryUploadTime);var i=(new Date).getTime()-s;h.startScenario(t,i,!0).then(function(){var n={splitTimingsVNext:JSON.stringify(l.getDictionary())};return u&&jQuery.extend(n,u),h.addDataToScenario(t,n).then(function(){f&&l.cleanDict();h.endScenario(t).then(function(){c.resolve(s)})})},function(n){c.reject(n)})},function(n){c.reject(n)})}else return i(0);return c.promise},n.isFirstNavigation=function(){for(var i,n=0,t=this.splitTimings;n<t.length;n++)if(i=t[n],i.name===o.ScriptsLoaded)return!0;return!1},n.getDictionary=function(){if(!window||!window.performance||!window.performance.timing||!window.performance.timing.responseEnd||!window.performance.timing.connectStart)return this.splitTimings;return this.splitTimings.unshift({name:o.Contentloaded,timestamp:window.performance.timing.responseEnd-window.performance.timing.connectStart}),this.splitTimings},n.cleanDict=function(){this.splitTimings=[]},n.splitTimings=[],n}();t.TelemetryVNext=l;a=function(){function n(){}return n}()});

define("Gallery/Client/Pages/Common/SearchBoxSetup",["require","exports"],function(n,t){function i(){var r=$("#Fragment_SearchBox"),u=$("#Fragment_SearchBox #HeaderSearchForm"),n=$("#Fragment_SearchBox #HeaderSearchTextBox"),t=$("#Fragment_SearchBox #HeaderSearchButton"),i=$("#Fragment_SearchBox .metroSearchButton");r.length!==0&&u.length!==0&&n.length!==0&&t.length!==0&&i.length!==0&&(r.css("width",i.outerWidth(!0)),$("html > body.IE.Edge").length||!$("html > body.IE").length?u.css("width",n.outerWidth(!0)+t.outerWidth(!0)+"px"):u.css("width",n.width()+t.outerWidth(!0)+"px"),$(t).mouseenter(function(){$(this).addClass("hover")}).mouseleave(function(){$(this).removeClass("hover")}),$(document).keyup(function(u){(n.is(":focus")&&u.keyCode===27||u.keyCode===9&&r.outerWidth(!1)>t.outerWidth(!0))&&(t.removeClass("hover"),n.trigger("blur"),i.focus());i.is(":focus")&&u.keyCode===13&&i.trigger("click")}),n.attr("autocomplete","off"),e(n,i))}function r(n,t,i){n.value===t&&(n.value="");$(n.parentNode.parentNode).addClass(i);document.onkeydown=function(){}}function u(n){var i=!1,t=$(n.parentNode.parentNode),u,r;$(n.parentNode.parentNode).find("input").val("");u=!1;i||(r=t.find("form").width(),t.find("#HeaderSearchTextBox").prop("disabled",!1),t.find("form").css("display","block"),t.animate({width:r+"px"},400,function(){$(n).hide();t.find("#HeaderSearchTextBox").off("focus");t.find("#HeaderSearchTextBox").focus();t.find("#HeaderSearchTextBox").on("onfocus",function(){});t.find("#HeaderSearchTextBox").on("onblur",function(){});i=!1}),i=!0);$(n.parentNode).find("form").css("display","inline-block")}function f(n,t,i){function o(n){if(n=n?n:event?event:null,n&&n.keyCode===84){var t=n.srcElement!=null?n.srcElement:n.target;if(t.tagName.toLowerCase()==="input"||t.tagName.toLowerCase()==="textarea"||n.ctrlKey||n.altKey)return}}var u=!1,r,f,e;n.value===""&&(n.value=t);$(n.parentNode.parentNode).removeClass(i);r=$(n.parentNode.parentNode.parentNode);f=r.find("button").hasClass("hover");f?(r.find("#HeaderSearchTextBox").off("focus"),setTimeout(function(){r.find("#HeaderSearchTextBox").focus().on("onfocus",function(){}).on("onblur",function(){})},0)):(r.find(".metroSearchButton").show(),u||(e=r.find(".metroSearchButton").outerWidth(!0),r.find("#HeaderSearchTextBox").attr("disabled","disabled"),r.animate({width:e+"px"},400,function(){r.find("form").css("display","none");u=!1}),u=!0));document.onkeydown=o}function e(n,t){n[0].onfocus=function(){r(this,this.title,"SearchBoxOnFocus")};n[0].onblur=function(){f(this,this.title,"SearchBoxOnFocus")};t[0].onclick=function(){u(this)}}Object.defineProperty(t,"__esModule",{value:!0});t.searchBoxSetup=void 0;t.searchBoxSetup=i});

define("Gallery/Client/Pages/Common/Base.Minimal.View",["require","exports","Gallery/Client/Common/Constants","Gallery/Client/Common/CustomBindingsVNext","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Pages/Common/SearchBoxSetup","Gallery/Client/URLHelper","Gallery/Client/Common/Utility.Common","VSS/Utils/Url","VSS/VSS","VSS/Utils/String","Gallery/Client/Service/VNext/Utility"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v){Object.defineProperty(t,"__esModule",{value:!0});t.BaseView=void 0;var y=function(){function n(){this.highContrastMode=null;this._setContrastMode();this._updateHeaderLinks();this._updateOnPremConnectedDropdown();this._attachWindowErrorHandler();this._registerCustomBindings();u.TelemetryHelper.storeCampaignIdsIfApplicable()}return n.prototype._setContrastMode=function(){this._isHighContrastMode()&&$("head > link[data-highcontrast]").each(function(){this.href=$(this).data("highcontrast")})},n.prototype._isHighContrastMode=function(){if(this.highContrastMode===null){this.highContrastMode=!1;var n=$("<span class='high-contrast-test' style='width:0;height:0' />").appendTo(document.body);n.css("background-image")==="none"&&(this.highContrastMode=!0);n.remove()}return this.highContrastMode},n.prototype._updateHeaderLinks=function(){var i=this,n,t;$("#ux-header .left a").attr("title","Marketplace").attr("href",s.GalleryURLs.getHomePageURL());o.searchBoxSetup();n=$("#Fragment_SearchBox #HeaderSearchForm");t=$("#Fragment_SearchBox #HeaderSearchTextBox");n.submit(function(n){n.preventDefault();var r=t.val().trim();i.navigateToSearch(r)})},n.prototype._updateOnPremConnectedDropdown=function(){var r=this,n=$("#ux-header .upperBand .right .onprem-connected-dropdown"),t,i;if(n.length>0){t=$("<li><\/li>").text(e.DisconnectFromTFS);t.width(n.width());t.on("click",this._disconnectOnPremConnected);n.on("keypress",function(n){n.keyCode===13&&r._disconnectOnPremConnected()});i=$("<ul><\/ul>").append(t);n.append(i)}},n.prototype._disconnectOnPremConnected=function(){var n=new c.Uri(location.href);n.addQueryParam(i.GalleryContextConstants.serverKeyUrlParam,"null",!0);location.href=n.absoluteUri},n.getSearchContext=function(){return h.isSessionStorageAvailable()?window.sessionStorage[i.SearchConstants.SESSION_STORAGE_NAME]:null},n.prototype.unFixHeader=function(){$("#ux-header").css("position","static")},n.sanitizeSearchQuery=function(n){return RegExp("<").test(n)&&(n=n.replace(/</g," ")),RegExp("&#").test(n)&&(n=n.replace(/&/g," ")),n.trim()},n.prototype.navigateToSearch=function(t,i){var e=this,f,r;i===void 0&&(i="Header");t=n.sanitizeSearchQuery(t);f=u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.SearchRefererProperties;r={};r[f.SearchBoxLocation]=i;r[f.ProductType]=n._convertProductNameInLogIfRequired(n.getSearchContext());r[f.Action]=u.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.SEARCH_BAR_USE;u.TelemetryHelper.publishEventAsync(u.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.SEARCH_REFERER,r).then(function(){if(s.GalleryURLs.isSearchPage(location.pathname))e._performSearch(t);else{var i=s.GalleryURLs.getSearchPageURLFromQuery(t,v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled());n._changePageUrl(i)}})},n._convertProductNameInLogIfRequired=function(n){return a.ignoreCaseComparer(n,i.SearchConstants.AzureDevOpsProductText)===0?i.SearchConstants.VSTSProductText:n},n._changePageUrl=function(n){n&&(window.location.href=n)},n.prototype._registerCustomBindings=function(){r.CustomBindings.addCustomBindings()},n.prototype._attachWindowErrorHandler=function(){var t=this,n,i=function(i,r,u,f,e){if(f){var o={name:e&&e.name||i,message:e&&e.message||i,source:r,lineNumber:u,columnNumber:f,stack:e&&e.stack||"",errorType:"UnhandledException"};t.publishError(o)}return n?n.apply(t,[i,r,u,f,e]):!1};n=window.onerror;window.onerror=i},n.prototype.publishError=function(n){l.using(f.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t,i){i.publishErrorToTelemetry(n,!0)})},n.prototype._performSearch=function(){},n.CENTEREDCONTENT_CSS_CLASS="gallery-centered-content",n}();t.BaseView=y});

define("Gallery/Client/Controls/VNext/Carousel/Carousel.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.Carousel=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-carousel";n.TEMPLATE_HTML='    <div class="carousel-nav prev" data-bind="if: !isLeftScrollDisabled() || !isRightScrollDisabled() || isfetching()">\n        <a href="" role="button" class="carousel-prev gallery-element-focus-style-light" data-bind="click: scrollLeft, spacekey: scrollLeft, attr: { title: scrollLeftTitle, tabindex: getTabIndexForLeftNavigator(), \'aria-disabled\': isLeftScrollDisabled(),  \'aria-label\': ariaLabelForLeftScroll }, css: { disabled: isLeftScrollDisabled }">\n            <i class="bowtie-icon bowtie-chevron-left"><\/i>\n        <\/a>\n    <\/div>\n    <div class="carousel-wrapperHomePage">\n        <ul class="carousel"  data-bind=\'foreach: items, event: { keydown: carouselKeyHandler }, attr: {id: carouselIdSelector}, style: {width: cssStyleWidth}\'>\n            <!-- ko if: $index() < $parent.numberOfItemsToRender() -->\n            <li class="carousel-item" role="listitem" data-bind="component: {name: $parent.componentName, params: {item: $data, containerName: $parent.carouselIdSelector, removeTabFocus: $index() < $parent._viewPortStartIndex() || $index() >= $parent._viewPortStartIndex() + $parent._numberOfItemsToDisplay}}"><\/li>\n            <!-- /ko -->\n        <\/ul>\n        <!-- ko if: items().length == 0 -->\n        <div class="no-data-message">\n            <span data-bind="text:noDataAvailableMsg" id="no-data-message-container">  <\/span>\n        <\/div>\n        <!-- /ko -->\n    <\/div>\n    <div data-bind="if: !isSpinnerDisabled()">\n        <div class="carousel-spinner"> <\/div>\n    <\/div>\n    <div class="carousel-indicators" data-bind="foreach: indicators">\n        <span class="indicator" data-bind="css: { active: $index() === $parent.selectedIndicatorIndex() }, click: $parent.selectIndicator($index())"><\/span>\n    <\/div>\n    <div class="carousel-nav next" data-bind="if: !isLeftScrollDisabled() || !isRightScrollDisabled() || isfetching()">\n        <a href="" role="button" class="carousel-next gallery-element-focus-style-light" data-bind="click: scrollRight, spacekey: scrollRight, hasFocus: rightArrowFocused, attr: { title: scrollRightTitle, tabindex:  getTabIndexForRightNavigator(), \'aria-disabled\': isRightScrollDisabled(), \'aria-label\': ariaLabelForRightScroll }, css: { disabled: isRightScrollDisabled }">\n            <i class="bowtie-icon bowtie-chevron-right"><\/i>\n        <\/a>\n    <\/div>\n    <span data-bind="template: { afterRender: componentLoaded() }" style="visibility: hidden"> <\/span>\n'})(i=t.Carousel||(t.Carousel={}))});

define("Gallery/Client/Common/ScrollEventListener",["require","exports","VSS/Utils/String"],function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});t.ScrollEventListener=void 0;var r=function(){function n(){}return n.subscribeScrollEvent=function(t){return t?(n._registeredCallbacks.length===0&&n.bindScrollListener(),n._registeredCallbacks.push(t),!0):!1},n.unsubscribeScrollEvent=function(t){if(t){var r=-1;n._registeredCallbacks.forEach(function(n,u){if(i.ignoreCaseComparer(t,n.id)===0)return r=u,!1});r!==-1&&n._registeredCallbacks.splice(r,1);n._registeredCallbacks.length===0&&n.unbindScrollListener()}},n.bindScrollListener=function(){$(document).on("scroll",n.scrollListnerHandler)},n.unbindScrollListener=function(){$(document).off("scroll",n.scrollListnerHandler)},n.scrollListnerHandler=function(){n._registeredCallbacks.forEach(function(n){n.callback&&n.callback()})},n._registeredCallbacks=[],n}();t.ScrollEventListener=r});

define("Gallery/Client/Controls/VNext/Carousel/Carousel.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/Carousel/Carousel.KnockoutTemplate","Gallery/Client/Common/Telemetry","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Common/Utility.Common","Gallery/Client/Common/ScrollEventListener","VSS/Utils/String"],function(n,t,i,r,u,f,e,o,s,h){function l(){i.components.register(c.COMPONENT_NAME,{viewModel:{createViewModel:function(n){return n.viewModel}},template:r.Carousel.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.CarouselViewModel=void 0;var c=function(){function n(n){var t=this;this.items=i.observableArray([]);this.isLeftScrollDisabled=i.observable(!0);this.isRightScrollDisabled=i.observable(!1);this.isSpinnerDisabled=i.observable(!0);this.isfetching=i.observable(!1);this.indicators=[];this.selectedIndicatorIndex=i.observable(0);this.cssStyleWidth=i.observable("0px");this.cssStyleLeft=i.observable("0px");this.carouselIdSelector="";this.carouselCategory="";this.ariaLabelForRightScroll="";this.ariaLabelForLeftScroll="";this.rightArrowFocused=i.observable(!1);this.scrollLeftTitle=f.ScrollLeftTitle;this.scrollRightTitle=f.ScrollRightTitle;this.noDataAvailableMsg=f.noDataAvailableMsg;this.numberOfItemsToRender=i.observable(0);this.bringFocusInsideCarousel=!1;this._shouldFetchExtensions=!1;this._pageToFetch=1;this._pageSize=6;this._maxNoOfPages=0;this._maxItemIndexVisibleTillNow=-1;this.ARROWLEFT_KEY_CODE=37;this.ARROWRIGHT_KEY_CODE=39;this.TAB_KEY_CODE=9;this.PAGEUP_KEY_CODE=33;this.PAGEDOWN_KEY_CODE=34;this.scrollLeft=function(){var i=t.items().length,n;i>t._numberOfItemsToDisplay&&t.isRightScrollDisabled(!1);n=t._viewPortStartIndex()-t._numberOfItemsToDisplay;n>=0?(t._viewPortStartIndex(n),t._refreshIndicatorAndResetAutoPlayTimer()):n+t._numberOfItemsToDisplay>0&&(t._viewPortStartIndex(0),t._refreshIndicatorAndResetAutoPlayTimer());t._carouselId&&t._logTelemetry("left")};this.scrollRight=function(){var n=t.renderItemsOnRightScroll();t._shouldFetchExtensions&&(n||(t._pageToFetch=Math.ceil(t.items().length/t._pageSize),t.isfetching(!0),t.isRightScrollDisabled(!0),t.isSpinnerDisabled()&&setTimeout(function(){t.isfetching()&&t.isSpinnerDisabled(!1)},200),u.GalleryPerformance.startScenario(u.PerformanceConstants.LoadCarouselItems,(new Date).getTime()),t._fetchNextSetOfItems(t._carouselId,t._pageToFetch+1,t._pageSize).then(function(n){u.GalleryPerformance.endScenario(u.PerformanceConstants.LoadCarouselItems);n.length===0?(t._shouldFetchExtensions=!1,t.isRightScrollDisabled(!0)):(n.length<t._pageSize||t._maxNoOfPages>0&&t._maxNoOfPages<=t._pageToFetch+1?(t.isRightScrollDisabled(!0),t._shouldFetchExtensions=!1):(t.isRightScrollDisabled(!1),t.rightArrowFocused(!0)),t.items(t.items().concat(n)),t.cssStyleWidth(t.items().length*t._itemWidth+"px"),t.renderItemsOnRightScroll());t.isSpinnerDisabled(!0);t.isfetching(!1)},function(){t.isRightScrollDisabled(!0);t._shouldFetchExtensions=!1;t.isfetching(!1);t.isSpinnerDisabled(!0);u.GalleryPerformance.endScenario(u.PerformanceConstants.LoadCarouselItems)})));t._carouselId&&t._logTelemetry("right")};this._viewPortStartIndex=i.observable(0);this._itemWidth=0;this._autoPlay=!1;this._autoPlayDuration=5e3;this._delayRenderingOfItemsNotInViewport=!1;this._carouselTitle=n.carouselTitle;this.carouselCategory=n.carouselCategory;this.items(n.items);this.componentName=n.componentName;this._itemWidth=n.itemWidth;this.cssStyleWidth(this.items().length*this._itemWidth+"px");this._numberOfItemsToDisplay=n.numberOfItemsToDisplay?n.numberOfItemsToDisplay:1;this._carouselId=n.carouselId;this.carouselIdSelector=this._carouselTitle.replace(/ /g,"");this._shouldFetchExtensions=n.fetchNextSetOfItems!==undefined;this.ariaLabelForRightScroll=h.format(f.CarouselButtonReadableText,f.ScrollRightTitle,this.carouselCategory);this.ariaLabelForLeftScroll=h.format(f.CarouselButtonReadableText,f.ScrollLeftTitle,this.carouselCategory);n.delayRenderingOfItemsNotInViewport?(this._delayRenderingOfItemsNotInViewport=!0,this.numberOfItemsToRender(this._numberOfItemsToDisplay)):this.numberOfItemsToRender(this.items().length);n.newItemsDisplayedCallback&&(this._newItemsDisplayedCallback=n.newItemsDisplayedCallback);this._fetchNextSetOfItems=n.fetchNextSetOfItems;this._maxNoOfPages=n.maxNoOfPages;this.initializeRightScroll(n.hasMoreItems);this.initializeIndicators(n.showIndicators);this.initializeAutoPlay(n.autoPlay,n.autoPlayDuration);this._viewPortStartIndex.subscribe(function(){var t=this,n;this._viewPortStartIndex()===0?this.isLeftScrollDisabled(!0):this.isLeftScrollDisabled(!1);this._shouldFetchExtensions||this._viewPortStartIndex()>=this.items().length-this._numberOfItemsToDisplay&&this.isRightScrollDisabled(!0);n=this._viewPortStartIndex()*this._itemWidth*-1+"px";this.cssStyleLeft(n);setTimeout(function(){t._animate()},0)}.bind(this));this._scrollEventHandler=this._scrollEventHandler.bind(this)}return n.prototype.initializeRightScroll=function(n){n?this.isRightScrollDisabled(!1):this.isRightScrollDisabled(!0)},n.prototype.getTabIndexForLeftNavigator=function(){return this.isLeftScrollDisabled()?"-1":"0"},n.prototype.getTabIndexForRightNavigator=function(){return this.isRightScrollDisabled()?"-1":"0"},n.prototype.initializeIndicators=function(n){var n=n?n:!1,i=Math.floor(this.items().length/this._numberOfItemsToDisplay),r=this.items().length%this._numberOfItemsToDisplay==0?i:i+1,t;if(r>1&&n)for(t=0;t<r;t++)this.indicators.push(t)},n.prototype.initializeAutoPlay=function(n,t){n&&this.items().length>this._numberOfItemsToDisplay&&(this._autoPlay=!0,t&&(this._autoPlayDuration=t),this._startAutoPlay())},n.prototype.scrollToZeroIndex=function(){var i="#"+this.carouselIdSelector,t;this.cssStyleLeft("0px");t=$(i).closest(n.CAROUSEL_SELECTOR);t.css({left:this.cssStyleLeft()});this._viewPortStartIndex()===0?(this.isLeftScrollDisabled(!0),this._shouldFetchExtensions||this._viewPortStartIndex()>=this.items().length-this._numberOfItemsToDisplay&&this.isRightScrollDisabled(!0)):this._viewPortStartIndex(0)},n.prototype.resetCarouselItems=function(n,t){this._shouldFetchExtensions=this._fetchNextSetOfItems!==undefined;this._carouselId=t;this.numberOfItemsToRender(this._numberOfItemsToDisplay);this.isRightScrollDisabled(!1);this.items(n);this.cssStyleWidth(this.items().length*this._itemWidth+"px");this.items().length<this._pageSize&&(this._shouldFetchExtensions=!1);this.scrollToZeroIndex();this.isfetching(!1);this.isSpinnerDisabled(!0);this._maxItemIndexVisibleTillNow=-1;this._scrollEventHandler()},n.prototype.setCssStyleWidth=function(){this.cssStyleWidth(this.items().length*this._itemWidth+"px")},n.prototype.setSpinner=function(){var n=this;this.isfetching(!0);this.isSpinnerDisabled()&&setTimeout(function(){n.isfetching()&&n.isSpinnerDisabled(!1)},200)},n.prototype.renderItemsOnRightScroll=function(){var t=this.items().length,n;return(this._delayRenderingOfItemsNotInViewport&&this.numberOfItemsToRender(t),n=this._viewPortStartIndex()+this._numberOfItemsToDisplay,n<t)?(n+this._numberOfItemsToDisplay>t&&this.isRightScrollDisabled(!0),n+this._numberOfItemsToDisplay>=t&&(n=t-this._numberOfItemsToDisplay,this._maxNoOfPages>0&&Math.ceil(n/this._pageSize)+1>=this._maxNoOfPages&&(this.isRightScrollDisabled(!0),this._shouldFetchExtensions=!1)),this._viewPortStartIndex(n),this._refreshIndicatorAndResetAutoPlayTimer(),this._checkAndCallNewItemsDisplayedCallback(this._viewPortStartIndex()+this._numberOfItemsToDisplay),!0):!1},n.prototype.selectIndicator=function(n){var t,i;i<=this._numberOfItemsToDisplay?(this.isLeftScrollDisabled(!0),this.isRightScrollDisabled(!0)):(this.isLeftScrollDisabled(!1),this.isRightScrollDisabled(!1));t=n*this._numberOfItemsToDisplay;t===0&&this.isLeftScrollDisabled(!0);i=this.items().length;t<i&&(t+this._numberOfItemsToDisplay>=i&&(t=i-this._numberOfItemsToDisplay,this.isRightScrollDisabled(!0)),this.selectedIndicatorIndex(n),this._viewPortStartIndex(t),this._resetAutoPlayTimer())},n.prototype._updateViewPortIndexForAutoPlay=function(){var n=this.selectedIndicatorIndex();n<this.indicators.length-1?this.selectIndicator(n+1):this.selectIndicator(0)},n.prototype._resetAutoPlayTimer=function(){this._autoPlay&&(this._clearAutoPlayTimer(),this._startAutoPlay())},n.prototype._clearAutoPlayTimer=function(){this._autoPlayTimer&&window.clearInterval(this._autoPlayTimer)},n.prototype._startAutoPlay=function(){var n=this;this._autoPlayTimer=window.setInterval(function(){n._updateViewPortIndexForAutoPlay()},this._autoPlayDuration)},n.prototype._refreshIndicatorAndResetAutoPlayTimer=function(){this._refreshSelectedIndicator();this._resetAutoPlayTimer()},n.prototype._logTelemetry=function(n){var t={};t[u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.CarouselProperties.Id]=this._carouselId;t[u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.CarouselProperties.ScrollDirection]=n;t[u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.CarouselProperties.ProductType]=this._getProductType();this._shouldFetchExtensions&&n==="right"&&(t[u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.CarouselProperties.PageNumber]=this._pageToFetch);u.TelemetryHelper.publishEventAsync(u.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.CAROUSEL,t)},n.prototype._getProductType=function(){var n="";return this._carouselId.indexOf("vs_")>=0?n=e.ItemMinifiedHelper.getItemTypeText(e.ItemTypeEnum.VS):this._carouselId.indexOf("vsts_")>=0?n=e.ItemMinifiedHelper.getItemTypeText(e.ItemTypeEnum.VSTS):this._carouselId.indexOf("vscode_")>=0?n=e.ItemMinifiedHelper.getItemTypeText(e.ItemTypeEnum.VSCode):this._carouselId.indexOf("vsformac_")>=0&&(n=e.ItemMinifiedHelper.getItemTypeText(e.ItemTypeEnum.VSForMac)),n},n.prototype._refreshSelectedIndicator=function(){var n=Math.floor(this._viewPortStartIndex()/this._numberOfItemsToDisplay);this.selectedIndicatorIndex(this._viewPortStartIndex()%this._numberOfItemsToDisplay?n+1:n)},n.prototype._animate=function(){var t=this,r="#"+this.carouselIdSelector,i=$(r).closest(n.CAROUSEL_SELECTOR);i.animate({left:this.cssStyleLeft()},n.ANIMATION_TIME);this.bringFocusInsideCarousel&&setTimeout(function(){var r=i.find(n.ITEM_CARD_CONTAINER_SELECTOR);r[t._viewPortStartIndex()].focus();t.bringFocusInsideCarousel=!1},n.ANIMATION_TIME)},n.prototype._checkAndCallNewItemsDisplayedCallback=function(n){if(this._newItemsDisplayedCallback&&this._maxItemIndexVisibleTillNow+1<n){var t=this.items().slice();t=t.slice(this._maxItemIndexVisibleTillNow+1,n);this._newItemsDisplayedCallback(t,this.carouselIdSelector);this._maxItemIndexVisibleTillNow=n-1}},n.prototype.carouselKeyHandler=function(n,t){var i=t.which?t.which:t.keyCode,r=$(t.target);if(t&&(t.altKey||t.ctrlKey||t.metaKey))return!0;if(i===this.ARROWLEFT_KEY_CODE)this.bringFocusInsideCarousel=!0,this._moveLeft(r);else if(i===this.ARROWRIGHT_KEY_CODE)this.bringFocusInsideCarousel=!0,this._moveRight(r);else{if(i===this.PAGEUP_KEY_CODE)return this.bringFocusInsideCarousel=!0,this.scrollLeft(),!1;if(i===this.PAGEDOWN_KEY_CODE)return this.bringFocusInsideCarousel=!0,this.scrollRight(),!1;i===this.TAB_KEY_CODE&&this._setTabIndexOfSiblings(r)}return!0},n.prototype._moveRight=function(t){var f=t.parent(),e=f.prevAll(n.CAROUSEL_ITEM_SELECTOR),o=f.nextAll(n.CAROUSEL_ITEM_SELECTOR).first(),i=o.find(n.ITEM_CARD_CONTAINER_SELECTOR),r,u;i&&(r=e.length<this._viewPortStartIndex()+this._pageSize-1,u=this.isRightScrollDisabled(),r||u||this.scrollRight(),(!u||r)&&(this._setTabIndexOfSiblings(i),i.focus()))},n.prototype._moveLeft=function(t){var f=t.parent(),e=f.prevAll(n.CAROUSEL_ITEM_SELECTOR),o=f.prevAll(n.CAROUSEL_ITEM_SELECTOR).first(),r=o.find(n.ITEM_CARD_CONTAINER_SELECTOR),i,u;r&&(i=e.length>this._viewPortStartIndex(),u=this.isLeftScrollDisabled(),i||u||this.scrollLeft(),(!u||i)&&(this._setTabIndexOfSiblings(r),i&&r.focus()))},n.prototype._setTabIndexOfSiblings=function(t){var i=t.closest(n.CAROUSEL_SELECTOR);i.find(n.ITEM_CARD_CONTAINER_SELECTOR).attr("tabindex","-1");t.attr("tabindex","0")},n.prototype.componentLoaded=function(){var n=this;setTimeout(function(){s.ScrollEventListener.subscribeScrollEvent({id:n.carouselIdSelector,callback:n._scrollEventHandler});n._scrollEventHandler()},0)},n.prototype._scrollEventHandler=function(){o.TileImpressionUtils.isScrolledIntoView(document.getElementById(this.carouselIdSelector))&&(this._checkAndCallNewItemsDisplayedCallback(this._pageSize<this.items().length?this._pageSize:this.items().length),s.ScrollEventListener.unsubscribeScrollEvent(this.carouselIdSelector))},n.prototype._unbindScrollHandler=function(){$(document).off("scroll",this._scrollEventHandler)},n.COMPONENT_NAME="gallery-carousel",n.ANIMATION_TIME=300,n.CAROUSEL_SELECTOR=".carousel",n.CAROUSEL_ITEM_SELECTOR=".carousel-item",n.ITEM_CARD_CONTAINER_SELECTOR=".gallery-item-card-container",n}();t.CarouselViewModel=c;t._registerComponents=l});

define("Gallery/Client/Controls/VNext/CategoryTile/CategoryTile.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.CategoryTile=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-category-tile";n.TEMPLATE_HTML='    <div class="category-entry">\n        <a data-bind="attr: { href: link, target: linkTarget },  click: clickTile()">\n            <div class="main-cell">\n                <span class="name" data-bind="text: name, attr: { title: name }"><\/span>\n            <\/div>\n        <\/a>\n    <\/div>\n'})(i=t.CategoryTile||(t.CategoryTile={}))});

define("Gallery/Client/Controls/VNext/CategoryTile/CategoryTile.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/CategoryTile/CategoryTile.KnockoutTemplate","Gallery/Client/Common/Telemetry","Gallery/Client/Common/Constants"],function(n,t,i,r,u,f){function o(){i.components.register(e.COMPONENT_NAME,{viewModel:e,template:r.CategoryTile.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.CategoryTileViewModel=void 0;var e=function(){function n(n){this.name=n.item.name;this.link=n.item.link;this.product=n.item.product;this.linkTarget=n.item.openInNewTab?"_blank":"_self"}return n.prototype.clickTile=function(){var n=this;return function(){return n.logTelemetryToCI()}},n.prototype.logTelemetryToCI=function(){var t="",n={},i=u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties;return t=u.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.CATEGORY_CLICK,t!==""&&(n.Type=f.CatgeoryHeaderConstants.button,n[i.ProductType]=this.product,n[u.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Id]=this.name,u.TelemetryHelper.publishEventAsync(t,n)),!0},n.COMPONENT_NAME="gallery-category-tile",n}();t.CategoryTileViewModel=e;t._registerComponents=o});

define("Gallery/Client/Controls/VNext/ErrorControl/ErrorControl.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.ErrorControl=void 0;var i;(function(n){n.TEMPLATE_ID="error-control-template-vnext";n.TEMPLATE_HTML='    <div class="gallery-error-control">\n        <div class="error-text" data-bind="text: errorText"><\/div>\n        <div class="tips-header" data-bind="text: tipsText"><\/div>\n        <div class="error-diagnosis" data-bind="html: errorDiagnosisHtml"><\/div>\n        <div class="report-issue" data-bind="html: contactUsHtml"><\/div>\n    <\/div>\n'})(i=t.ErrorControl||(t.ErrorControl={}))});

define("Gallery/Client/Controls/VNext/ErrorControl/ErrorControl.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/ErrorControl/ErrorControl.KnockoutTemplate","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/URLHelper","VSS/Utils/String"],function(n,t,i,r,u,f,e){function s(){i.components.register(o.COMPONENT_NAME,{viewModel:o,template:r.ErrorControl.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.ErrorControlViewModel=void 0;var o=function(){function n(t){if(this.errorText=t.errorText,this.tipsText=u.TipsText,t.errorDiagnosisHtml)this.errorDiagnosisHtml=t.errorDiagnosisHtml;else{var i=e.format("<a href='{0}'>"+u.Marketplace+"<\/a>",f.GalleryURLs.getHomePageURL());this.errorDiagnosisHtml=e.format(u.DefaultErrorDiagnosisText,i)}this.contactUsHtml=n.getContactUsHtmlContent()}return n.getContactUsHtmlContent=function(){var t=e.format(u.ErrorContactUsEmailBody,encodeURIComponent(location.href),encodeURIComponent(f.GalleryURLs.getHomePageURL())),i=e.format(n.EMAIL_HREF,n.EMAIL_ADDR,u.ErrorContactUsEmailSubject,e.htmlEncode(t)),r=e.format("<a href='{0}'>"+u.ErrorContactUsHere,i);return e.format(u.ErrorContactUs,r)},n.COMPONENT_NAME="error-control-template-vnext",n.EMAIL_HREF="mailto:{0}?subject={1}&Body={2}",n.EMAIL_ADDR="vsmarketplace@microsoft.com",n}();t.ErrorControlViewModel=o;t._registerComponents=s});

define("Gallery/Client/Common/ConnectedContext",["require","exports","Gallery/Client/Common/Constants","VSS/Serialization"],function(n,t,i,r){function f(){var t={},n=r.deserializeJsonIsland($(".server-context"),null),u,f;return n&&(n=JSON.parse(n),t.targetId=n[i.CloudConnectedServerShortNameConstants.collectionId]||n[i.ConnectedContextConstants.collectionId],t.targetServerId=n[i.CloudConnectedServerShortNameConstants.targetServerId]||n[i.ConnectedContextConstants.targetServerId],t.targetServerUrl=n[i.CloudConnectedServerShortNameConstants.targetServerUrl]||n[i.ConnectedContextConstants.targetServerUrl],t.targetServerName=n[i.CloudConnectedServerShortNameConstants.targetServerName]||n[i.ConnectedContextConstants.targetServerName],t.targetServerVersion=n[i.CloudConnectedServerShortNameConstants.targetServerVersion]||n[i.ConnectedContextConstants.targetServerVersion],t.targetCollectionName=n[i.CloudConnectedServerShortNameConstants.targetCollectionName]||n[i.ConnectedContextConstants.targetCollectionName],t.targetHiddenAccountId=n[i.CloudConnectedServerShortNameConstants.targetHiddenAccountId]||n[i.ConnectedContextConstants.targetHiddenAccountId],t.connectUrl=n[i.CloudConnectedServerShortNameConstants.connectUrl]||n[i.ConnectedContextConstants.connectUrl],t.targetUrl=n[i.CloudConnectedServerShortNameConstants.targetUrl]||n[i.ConnectedContextConstants.targetUrl],t.targetUserHubUrl=n[i.CloudConnectedServerShortNameConstants.targetUserHubUrl]||n[i.ConnectedContextConstants.targetUserHubUrl],t.registrationId=n[i.CloudConnectedServerShortNameConstants.registrationId]||n[i.ConnectedContextConstants.registrationId],t.registrationKey=n[i.CloudConnectedServerShortNameConstants.registrationKey]||n[i.ConnectedContextConstants.registrationKey],u=n[i.CloudConnectedServerShortNameConstants.hasInternetAccess]||n[i.ConnectedContextConstants.hasInternetAccess],f=n[i.CloudConnectedServerShortNameConstants.isAdmin]||n[i.ConnectedContextConstants.isAdmin],t.hasInternetAccess=u&&u.toLowerCase()==="true"?!0:!1,t.isAdmin=f&&f.toLowerCase()==="true"?!0:!1,t.enabledFeatures=parseInt(n[i.CloudConnectedServerShortNameConstants.enabledFeatures]||n[i.ConnectedContextConstants.enabledFeatures]),t.authToken=n[i.CloudConnectedServerShortNameConstants.authToken]||n[i.ConnectedContextConstants.authToken]),t}function e(n,t){return(n&t)!=0}Object.defineProperty(t,"__esModule",{value:!0});t.isFeatureEnabled=t.getConnectedContext=t.OnPremEnabledFeatures=void 0;var u;(function(n){n[n.None=0]="None";n[n.ValidateConnectServer=1]="ValidateConnectServer";n[n.NewAcqExperience=2]="NewAcqExperience"})(u=t.OnPremEnabledFeatures||(t.OnPremEnabledFeatures={}));t.getConnectedContext=f;t.isFeatureEnabled=e});

define("Gallery/Scripts/Gallery/Resources/VSS.Resources.Gallery",["require","exports"],function(require,exports){var e=exports;e.Publisher_ExtensionGrid_WorksWith_ColumnText="Works with";e.VersionsPlaceholder="Select Visual Studio versions supported by this extension";e.FailedUsersSalesTransactionsScreenReaderMessage="Failed to load users sales transactions data";e.BuyRedirectText="To buy this extension, click Continue.";e.Support="support";e.AzureSubscriptionsLoadError="Sorry, we are unable to load your Azure subscription(s). Give it a few minutes and then try again.";e.HomePageOpenGraphSubscriptionDescription="Subscriptions on Visual Studio Marketplace";e.AccountSelectionHelpTextForTrial="Select an Azure DevOps Services organization where you would like to start a 30-day trial";e.FailedAccountsSalesTransactionsScreenReaderMessage="Failed to load organizations sales transactions data";e.CancelButtonText="Cancel";e.FetchingUsersSalesTransactionsScreenReaderMessage="Fetching users sales transactions data";e.BilledToSubscriptionOnPremConnected="The selected Azure subscription will be used to bill current and future purchases for the selected team project collection.";e.GenericNetworkErrorMessage="There seems to be a network error. Close this experience, give it a few minutes and then do try again (status code 0).";e.PublisherDetails_AdditionalInfo_AzureNamespace_Placeholder="Enter Azure publisher namespace";e.FirstPartyPurchaseRequestHelpText="New total has been increased by the requested quantity.";e.VersionFilterOption_Any="Any";e.Dev10_VBExpress="Visual Basic Express";e.BuyCustomizationStepTitle="Quantity";e.EulaContent_OnlinePrivacyStatementUrl="https://go.microsoft.com/fwlink/?LinkId=131004\u0026clcid=0x409";e.BasicInfo="Basic information";e.FetchedMembers="Fetched members";e.SignInText="sign in";e.CertificationTabText="Top Publisher";e.Dev16_Community="Visual Studio 2019 Community";e.SortOption_Installs="Installs";e.VSSCollectionAlreadyInstalledText="The extension is already installed for this collection: {0}";e.ReportAbuseToMicrosoft="Report extension to Microsoft";e.UploadDialogHeader="Upload {0} extension";e.DisabledSubscription="This Azure subscription is no longer active. To re-activate it, visit the \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=846020\" target=\"_blank\"\u003eAzure Billing portal.\u003c/a\u003e";e.UserAvatarDoesNotExist="The user avatar does not exist.";e.FreeQuantityLabel="{0} free";e.EditPublisherLogoAriaLabel="Edit publisher logo";e.ExtensionRequestLearnMoreLink="";e.ItemReleasedOnDate="Released on";e.BeTheFirstToAskAQuestion="Be the first to ask a question";e.StakeholdersCount="Stakeholders ({0})";e.AnnualReductionsMsg="Cancellations take effect next renewal cycle.";e.TermsAndConditionsText="terms and conditions";e.NoCollectionsAvailableTextLine="We did not find a collection for which you are an owner or a member.";e.ReportVSPublishError="Please provide a brief description of the issue you are facing:";e.LoadedAcquisitionScreenReaderMessage="Loaded acquisition data";e.VSIXIdLabel="VSIX ID";e.PublisherVerificationRequestClickSaveToSendRequestMessage=" Post that hit Save to send the verification request.";e.PricingNotAvailableText="See pricing calculator";e.SubscriptionCannotBeUsedForPurchaseLinked="Azure subscription {0} cannot be used to purchase.  \u003ca href=\"\r\nhttps://go.microsoft.com/fwlink/?linkid=841764\" target=\"_blank\"\u003eLearn how to change your subscription\u003c/a\u003e";e.Publisher_ExtensionGrid_MakePrivateContextMenuTitle="Make Private";e.EulaTitle="License Agreement";e.SubscriptionCannotBeUsedForPurchaseUnlinked="This azure subscription cannot be used to purchase. Please select another subscription. \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=841763\" target=\"_blank\"\u003eLearn more.\u003c/a\u003e";e.CSPPurchaseNotSupported="Cloud Solution Providers are not permitted to acquire or purchase this extension.";e.ReviewText="Review";e.VSTestProfessional="Visual Studio Test Professional ({0})";e.AccountSelectionReadOnlyText_Request="You are requesting this extension to be installed on organization:";e.VSS_BuyExtension_Current="Current";e.ResponseDialogTitle="Your Response";e.PricingPlanForThirdParty="This extension is only available in certain price plans as configured by its publisher. {0}";e.UnsupportedOnPremVersion="This extension does not support the version of the Server you are currently using. See Works With for supported Server versions.";e.StartSubscriptionsFetchScreenReaderText="Fetching azure subscriptions";e.InvalidLinkProvided="Provide a valid link to enable Check Link option";e.InternalNameFullInfo="Internal name is {0} ";e.PublisherDetails_PublisherName_Contains_Disallowed_Char_Error="Publisher name should not contain following chars \u0027;\u0027, \u0027=\u0027, \u0027[\u0027, \u0027]\u0027, \u0027@\u0027, \u0027|\u0027, \u0027\"\u0027, \u0027%\u0027, \u0027\\\u0027, \u0027/\u0027, \u0027,\u0027, \u0027\u003e\u0027.";e.FailedLoadingGraphScreenReaderMessage="Failed to load graphs";e.NoTagsFound="No Tags Found";e.CapabilityName_TFS="Azure DevOps Server";e.ExtensionAvailabilityInfoTitle="Extension Availability";e.ConfirmPurchaseErrorMonthsText="An error occurred while applying changes for the month(s): {0}\u003cbr\u003e";e.HostedOnFilterOption_Cloud="Cloud";e.EndFetchingPurchaseDetailsScreenReaderMessage="Loaded purchase details";e.SearchPageMetaDescription="Search results for \"{0}\", {1} on marketplace.visualstudio.com";e.VSTestProfessionalUsers="Visual Studio Test Professional";e.StartTrialText="Start trial";e.PublisherDetails_PublisherName_Exceeds_Permitted_Size_Error="The publisher name is beyond permissible length of {0} characters.";e.Dev17Version="Visual Studio 2022";e.SuggestionsListBuildOwnText="build your own extensions";e.UnsupportedSubscriptionCspLinkText="Learn more.";e.Dev14_VWDExpress="Visual Studio 2015 Express for Web";e.PublisherVerificationMandatorySupportLink="Support link is required to apply for publisher verification";e.SuggestedTags="Suggested Tags";e.CSRSelectReason="Select a reason";e.CapabilityName_AzureDevOps="Azure DevOps Services";e.VSS_Install_RequestSuccessMessage="Your request to install the extension has been submitted for organization:";e.PublisherCertification_CertificationCriteriaNotMet_Status_Text="You don\u0027t meet the requirements of the program.";e.AcquisitionStepNavigationAnnouncement="Navigate to {0} step.";e.VSS_Install_AlreadyInstalledTextNew="This extension is already installed on this organization: {0}.";e.NoAccessStakeholdersText="All users except stakeholders have access to the extension.";e.FetchingReviewsScreenReaderMessage="Fetching review events";e.VSEnterpriseMonthlyCost="$250/month";e.SendButtonText="Send";e.RemoveConfirmationText="Please type \u0027{0}\u0027 to confirm.";e.ItemClicksText="{0} clicks";e.ErrorCollectionValidationScreenReaderText="Validation of selected collection failed";e.NoCategorySelected="No category selected";e.CertifiedFilterTitle="Certification:";e.Publisher_ExtensionGrid_ValidationFailedIconTitle="Extension validation failed. Click the icon for more details.";e.VSCategories_WinForms_MigratedTitle="Controls/Windows Forms";e.AvailableQuantityLabel="{0} available";e.ErrorContactUsText="If you would like to contact us, create a support ticket request";e.Dev14_Community="Visual Studio 2015 Community";e.ItemPreview="Preview";e.EulaContent_Offer_CustomLicense="By clicking Confirm, you agree to the {2}";e.ItemDetailsNo="No";e.UploadFileMessageSecondHalf=" to upload.";e.ItemPricing="Pricing";e.BuyCustomizationChangeQuantityConfirmationText="{0} out of {1} {2} will renew on {3} for {4}";e.FreeInstallHelpTextWithoutIncludedQuantity="For Visual Studio Enterprise, Test Professional or MSDN Platforms subscribers";e.UploadExtension_VerifiedPublisherRequired_Error="Publishing public Azure DevOps extension requires verification. Publisher \u0027{0}\u0027 is not verified. Visit {1} to learn more.";e.MonthlyPrice="Monthly price";e.Contact_Us="Contact us";e.NoReviewsYetMessage="Be the first to review this extension";e.PublishStatusText="Downloading extension and geting ready for installation.";e.SubscriptionBuyProfessionalAnnual="Buy Visual Studio Professional annual subscription at $539/year";e.Stakeholders="Stakeholders";e.EAPricingMsg="Pricing available through the EA price list or by contacting your reseller";e.AskAQuestionDialogHeading="Ask a question - {0}";e.Publisher_Popup_UnpublishMainContent="Your extension is now visible on the Marketplace ({0}) and can be discovered and installed from every Azure DevOps organization.";e.EulaContent_Microsoft_NoCustomLicense_New="By proceeding, you agree on behalf of all users in the {0} that this extension is provided as Additional Software under the {1} and {2}.";e.UserAlreadyMember="Requested user is already a member of the publisher.";e.PreviewLabel="Mark extension to be in Preview";e.ManageExtensionsButtonText="Manage extensions";e.YourResponseWillBePostedAsText="Your response will be posted publicly as {0}";e.CreatePublisher_LoginSection_Description="Logged in as {0} in the directory {1}.";e.HereText="here";e.OverviewInfo="This forms the overview or longer description for your extension. Marketplace requires markdown to manage overview content. Images are supported.";e.DomainVerificationSuccessMessage="DNS configuration verified successfully. Your request to verify the domain is submitted to the marketplace team.";e.MSDNPlatformsUsers="MSDN Platforms";e.ShortDescriptionLabel="Short description";e.VSCategories_WinForms_Link="https://visualstudiogallery.msdn.microsoft.com/site/search?f[0].Type=RootCategory\u0026f[0].Value=controls\u0026f[0].Text=Controls\u0026f[1].Type=SubCategory\u0026f[1].Value=windowsformscontrols";e.ValidateSubscription_ErrorMessage="Sorry, we are unable to check the subscription information. Give it a few minutes and then please try again.";e.PublisherProfilePageTitle="Publisher {0} - Visual Studio Marketplace";e.InstallButtonText="Install*";e.URLCannotBeResolved="Specified URL cannot be resolved";e.ReductionsMsg="Cancellations take effect on the 1st of the next month.";e.ItemAlreadyInstalled="Already Installed";e.TargetPlatformFilterOption_Universal="Universal";e.ConfigureButtonText="Configure";e.SuggestionsListBuildOwnParentText="You can also {0} and {1}";e.CategoryFilterTitle="Showing:";e.AcquisitionStartedScreenReaderMessage="Acquisition started";e.CustomerContactDialogCloseText="Close dialog";e.CSRDetailsDisclaimer="Do not include any Personal Identification Information in this section";e.RatingAndReviewProfaneText="profanity";e.SuggestionsListPublishText="publish it to the marketplace";e.EnabledLabel="Enabled";e.Dev15_Isolated="Visual Studio 2017 (Isolated)";e.TeamSizePlansMessage="You have to purchase this extension for all users in your organization.";e.EulaContent_Microsoft_CustomLicense="By clicking Confirm, you agree on behalf of all users in the {0} that this extension is provided under this {2}.";e.Integration="Integration";e.DowngradeMsg="The new monthly billing amount and reduced users will take effect on the 1st of the next month.";e.DisplayNameInfo="This will be the name displayed for the extension on the Marketplace extension page and the extension tile. A user friendly name is recommended.";e.PublisherDialogOkButtonText="OK";e.SubscriptionHelptextWithNoAvailableSubscription="We see you currently don\u0027t have an Azure subscription, so we\u0027ll help you create one next.";e.BuyCustomizationTextBoxAriaLabel="Select number of users";e.PublisherCompanyTwitterUrlInputLabel="Twitter";e.RequestNewQuantityWhenLinked="Submit purchase request";e.UnsupportedSubscriptionLinkText="Azure billing support to move it to the new system.";e.CollectionSelectionReadOnlyText_Request="You are requesting this extension to be installed in collection:";e.NumUsersLimitExceedMessageNew="Contact {0} if you wish to purchase for more than {1} {2}.";e.NewTotal="New total";e.RequestReceivedText="Request received";e.SelectVstsAccountLabel="Select an Azure DevOps organization";e.AppropriateUsers="For users with appropriate Visual Studio subscriptions";e.PurchaseFailed_ErrorMessage="Sorry, we are unable to complete the purchase currently. Give it a few minutes and then please try again.\u003cbr\u003e";e.ToMessageText="To {0}";e.FeaturedItems_Header="Featured";e.CSREmailErrorMessage="Enter a valid email address.";e.MemberAdditionConfirmText="The user you are adding is from a different directory as compared to your current logged in directory ({0}). Do you wish to continue?";e.MySubscriptions="My Subscriptions";e.FetchedData="Fetched extension data.";e.ShareWithAccount="Organization";e.AllPublishersText="All Publishers";e.ContinueButtonText="Continue";e.XamarinUniversityCostSubText="Already have a subscription? \u003ca href=\"https://aka.ms/xamu-login\" class=\"xamarin-link\"\u003eLog in to Xamarin University\u003c/a\u003e";e.InvalidUrlLength="Please enter a valid URL with max length of 512 characters";e.ProvideALinkPlaceholder="Provide a link to your extension";e.PublisherCompanyLinkAriaLabel="Publisher\u0027s company link";e.LoadingMoreReviewsFailed="Failed to load more reviews.";e.ZeroResultPostFeedbackText="Thank you for your feedback!";e.ErrorItemDoesNotExist="Item mentioned in the support request does not exist.";e.VSCategories_Coding_Title="Coding";e.ExtensionList_Install_Column_AriaLabel="Extension install count.";e.PublisherDetails_AdditionalInfo_AzureNamespace_Tooltip="This allows you to connect your Azure Publisher and Visual Studio Marketplace Publisher account.";e.PublisherSupportLinkAriaLabel="Publisher\u0027s support link";e.ContactSupportFraud="contact support";e.CertificationCriteriaNotMet="{0} criteria for Top Publisher program is not met";e.AskedByText=" asked by ";e.TargetPlatformFilterTitle="Target Platform:";e.RequestReasonTextAreaLabel="Admin privileges are required to acquire this extension. You can submit a request to your organization’s admin.";e.PricingPlanLinkText="Marketplace listing";e.VSFileExtensionError="Only extensions of type .exe, .msi and .vsix extensions are accepted.";e.PublisherDetails_AdditionalInfo_AzureNamespace_Title="Azure publisher namespace for paid Azure DevOps extension";e.Dev16_VSWinDesktopExpress="Visual Studio 2019 Express for Windows Desktop";e.VSEnterpriseAnnualCost="$2,999/year*";e.Dev12_VSWinExpress="Visual Studio 2013 Express for Windows 8";e.AlreadyInstalledWithIncludedQuantity="This extension is already installed and can be used by free users or Visual Studio Enterprise subscribers.";e.QnAHeading="Q \u0026 A";e.PrivacyTitle="Privacy";e.VSO_Header="Azure DevOps";e.DomainVerificationFailureMessage="Verification of the DNS configuration failed.";e.ItemBuy="Buy";e.DisconnectTfsString="Disconnect Azure DevOps Server";e.VSS_PurchaseOffer_Completed="You now have {0} {1}(s).";e.ExtensionPreviewActionDescription="Works with Azure DevOps. Available as preview.";e.Publisher_ExtensionGrid_ExportReportsContextMenuTitle="Reports";e.ChangelogTitle="Changelog";e.Publisher_UploadDialog_Instructions="To upload/manage VS extensions, go to \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=851732\" target=\"_blank\"\u003eVisual Studio Gallery\u003c/a\u003e.\u003cbr\u003e\u003cbr\u003eTo upload/update Azure DevOps and VS Code extensions, continue here. Ensure you have packaged your extension into a VSIX first.";e.VSSCollectionSelectionInlineHeader="Collection:";e.VSCodeDownloadText="Get it now.";e.HeaderMarketplace="|   Marketplace";e.EmailAddress="User Id";e.PricingFilterOption_Any="Any";e.CreateNewAccount_Link_Text="Create new organization";e.ItemShareEmailSubjectForSubscriptions="Check out - {0}";e.CollectionInstallRequestHelpText="Your request will be sent to the administrators of this team project collection.";e.OnPremUnsupportedText="Page not found";e.Publisher_ExtensionGrid_ExportReports="Do you want to export reports for the extension {0} from the Marketplace?";e.ExistingSubscriptionsQuantityLink="\u003ca href=\u0027{0}\u0027 target=\u0027_blank\u0027\u003e{1} total subscriptions\u003c/a\u003e";e.SkipToContent="Skip to content";e.GenericLoadingMessage="This may take a moment";e.PublisherDescriptionLengthExceeded="Publisher description cannot be more than {0} characters (currently at {1} characters)";e.UploadFile="Upload file";e.UploadIcon="Upload icon";e.EndCollectionValidationScreenReaderText="Validated selected collection";e.CSRDescriptionErrorMessage="Enter valid details of size 50-5000 characters.";e.QnAEnteredTextGt2000="The text you entered is greater than 2000 characters.";e.ErrorDetailsText="Error details: {0} ";e.AcquireItemWizardOk="Ok";e.ShareNameListHeader="Share name";e.ReportPublisherRevampError="Please provide a detailed description of the issue you are facing (along with screenshots to help us resolve this issue quicker):\r\n\u003c\u003c to be entered \u003e\u003e\r\n\r\nThanks!";e.DisplayNameFullInfo="Display name is {0} ";e.ItemShareEmailSubject="Check out - {0} for {1}";e.PublisherIconCalloutText="This will be the logo displayed for the publisher on the Marketplace publisher profile page. It will be resized to 128px X 128px if a larger file is provided.";e.SeeMore="See more";e.YourQuestionWillBePostedAsText="Your question will be posted publicly as {0}";e.SavingChangesText="Saving changes";e.PricingInfo="This specifies the cost category for your extension. This will show up on the extension tile and extension page.";e.CreatePublisher_Directory="Directory";e.StartLoadingPurchaseDetailsScreenReaderText="Loading your purchase Detail";e.InvalidOfferRegion="{0} is not available for sale in {1}. {2}";e.UserNotFoundErrorMessage="Sorry, we couldn\u0027t find some users.";e.SeeLessAnswersLinkText="See fewer answers";e.ErrorSubscriptionValidationScreenReaderText="Validation of selected azure subscription failed";e.Price_Label="Price";e.WriteReviewButtonText="Write a review";e.FilterButtonText="Filter";e.VerifiedDomainIconTooltip="{0} has a verified ownership for the domain {1}";e.ExtensionAssignedTo="Extension can be assigned to:";e.GeneralSettingsTabTitle="General";e.DisabledLabel="Disabled";e.VisualStudioLogoText="Visual Studio logo";e.VSCategories_Coding_MigratedTitle="Tools/Coding";e.EulaContent_Microsoft_Preview_NoCustomLicense_New="By proceeding, you agree on behalf of all users in the {0} that this extension is provided as a Preview under the {1} and {2}.";e.PublisherReferMessage="Visual Studio Marketplace Publisher Agreement";e.DescriptionLabel="Description";e.InvalidUrlError="Please enter a valid URL";e.CreatePublisher_SignedInText="You are signed in as ";e.AcquisitionErrorInvalidRegion="The given Azure subscription is not valid for Azure DevOps Services organizations in the specified organization\u0027s region";e.NoText="No";e.AccountSelectionStepHeaderText="Organization";e.InstallPreviewText="Install Preview";e.InstallsHoverText="The number of unique installations, not including updates.";e.ItemGetStarted="Get Started";e.GalleryItemManageLinkDisplayName="Manage";e.MetadataListElementAriaLabel="{0} {1} Click to search for more extensions having the {0} {1}";e.TrialAcquisitionSuccessMessageIndefinite="All users with Basic access can use this extension for free within the trial duration.";e.VSIXIdFullInfo="VSIX ID is {0} ";e.Dev7_1Version="Visual Studio 2003";e.LoadingAzureSubscriptionsMessage="Loading your Azure subscription(s)";e.CollectionSelectionHelpText="Select a Team Project Collection where you would like to install this extension.";e.CouldNotFindUserMessage="We\u0027re sorry, we couldn\u0027t find a user with that email address.";e.VSCategories_TeamDevelopment_Title="Team Development";e.ReviewNotFound="The review mentioned in the support request does not exist.";e.SubscriptionHasSpendingLimit="This subscription {1} has a spending limit. {0} or \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=851518\" target=\"_blank\"\u003echange your Azure subscription\u003c/a\u003e to continue.";e.ItemDetailsRnRTab="Rating \u0026 Review";e.VsExtensionPublishAbandonMessage="If you proceed, changes in-progress will not come into effect. You can visit again and start from the beginning.";e.SearchArea_VS="VS";e.ErrorAccountValidationScreenReaderText="Validation of selected organization failed";e.UnsubscribeCompleteText="You have been unsubscribed from receiving Marketplace notifications.";e.ProvideALink="Provide a link";e.VSProfessionalAnnualCost="$539/year*";e.LoadedGraphScreenReaderMessage="Loaded graphs";e.PostDownload_InstallExtension="After the extension has successfully uploaded, click {0} and select the Team Project Collection to install into.";e.VSCategories_Language_MigratedTitle="Tools/Programming Languages";e.EditButtonText="Edit";e.CSRHeaderMessage="Important - Please do not use this form to report a bug in an extension!";e.EulaContent_ThirdPartyInstall_New="This extension is offered to you for your use by a third party, not Microsoft. By proceeding, you agree to the {0} and {1}, if any, for this extension.";e.FetchingMembersText="Fetching members";e.TryEarlyPreviewDescriptiveText="Try the new acquisition experience";e.RoleAssignmentsPermissionDeniedMessage="You don\u0027t have permission to manage roles.";e.NotAdminForSubscription="It looks like you\u0027re not a service admin or service co-admin on the subscription {0}. If you need access, contact an existing service admin or service co-admin and ask them to add you as a \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=841765\" target=\"_blank\"\u003ebackup billing manager for your Azure DevOps organization.\u003c/a\u003e";e.ItemPublisher="Published by";e.SubscriptionBuyEnterpriseAnnual="Buy Visual Studio Enterprise annual subscription at $2,999/year";e.FreeInstallHelpTextWithIncludedQuantity="For {0} free users or Visual Studio Enterprise subscribers";e.ManageExtensionsRegionAriaLabel="Manage extensions";e.DNSTokenVerifiedInfoMessage="Your request to verify the domain is submitted to the marketplace team for processing.";e.ItemDetailsVersionHistoryTab="Version History";e.ContinueToPurchase="Continue";e.Publisher_VerificationNotification_VerifiedTitle="Verified.";e.AnnualPurchaseReduceDropdownAriaLabel="For renewal month {0}, ";e.Dev15_VSWinDesktopExpress="Visual Studio 2017 Express for Windows Desktop";e.Featured_Category_Name="Featured";e.BuyCustomizationHeader="Select quantity";e.Manage_cookies="Manage cookies";e.PublisherLogoUpdateErrorMessage="Publisher logo couldn\u0027t be updated while creating the publisher. Please try again.";e.FeedbackPopupContentMessage="Thanks for your submission. We review these submissions carefully and take appropriate steps to address the issue. For legal and privacy reasons, we may not provide further updates.";e.Publisher_ExtensionGrid_ItemTypeColumnText="Type";e.UserReviewText="User Reviews";e.PublisherCertification_CertificationCriteriaMet_Status_Text="You meet the requirements of the program and may apply.";e.ItemPaid="Paid";e.ItemTags="Tags";e.NotificationInformationText="Notification settings for {0}";e.CommentMandatoryForLowRatings="Please include comments.";e.Publisher_ExtensionGrid_MakePublicContextMenuTitle="Make Public";e.UrlHasPathParameters="The Url should only contain domain name";e.UploadFileMessageFirstHalf="\u003cb\u003eDrag and Drop\u003c/b\u003e a file here or ";e.QnASectionTextForRedirectionBegin="Visit publisher\u0027s ";e.VSS_Install_DoNotHavePermissionText_OnPrem="Only the team project collection administrator can install this extension in collection: \u003ca href=\"{0}\" target=\"_blank\"\u003e{1}\u003c/a\u003e.";e.Microsoft_Text="Microsoft";e.NoSubscriptionsToSwapDetails="Create a new Azure subscription and revisit this flow or submit a purchase request.";e.PublisherDetails_BasicInfo_PublisherName_Title="Name";e.VSCodeExtension_ItemType_Description="Visual Studio Code Extension";e.AcquireWaitingMessage="This may take a moment";e.AcquireCompletionViewGetStarted="View Get Started documentation";e.ReportReviewText="Report review";e.ExtensionAvailabilityPublicText="Extension {0} is now public.";e.RenewalOfferCompletedPlural="You have chosen to renew {0} subscriptions.";e.EndSubscriptionValidationScreenReaderText="Validated selected azure subscription";e.VSS_Install_DoNotHavePermissionText_Hosted="Only the Azure DevOps Services organization administrator can install this extension in organization: \u003ca href=\"{0}\" target=\"_blank\"\u003e{1}\u003c/a\u003e.";e.VerifiedDomainHeader="Verified domain";e.ItemDetailsPageTitle="{0} - Visual Studio Marketplace";e.PublisherDetails_BasicInfo_PublisherId_Title="ID";e.StartPlanInfoText="Prices start from {0}";e.Publisher_ExtensionGrid_UpdatedColumnText="Updated";e.PurchasingText="Purchasing";e.ExtensionList_Rating_Column_AriaLabel="Extension rating.";e.ChangeSubscriptionButton="Continue";e.AverageRatingHoverText="Average rating: {0} out of 5";e.Extension="Extension";e.Publisher_View_UploadActionText="Upload new extension";e.ItemTabOverview="Overview";e.FileWarnings="Warnings: {0}";e.Dev15Version="Visual Studio 2017";e.BuyResourceWorkflowNonAdminFirstTimePurchaseText="You cannot make a first time purchase for this organization as a non organization admin";e.ItemDetailsQnaTab="Q \u0026 A";e.OnlyImageAssetsSupported="Only image files are permitted.";e.FileError="Error: {0}";e.PublisherDetails_AdditionalInfo_Fetching_AzurePublisherNamespace_Spinner_Label="Fetching the Azure publisher namespace";e.SuggestionsText="Suggestions:";e.MarketplaceBilling="Learn More about marketplace billing";e.VSCode="Visual Studio Code";e.VS_IDE="Visual Studio IDE";e.UnsupportedSubscription="This Azure subscription is on a deprecated billing system. To purchase with it, please contact \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=847803\" target=\"_blank\"\u003eAzure billing support to move it to the new system.\u003c/a\u003e";e.VSSCollectionNoActionAvailable="No actions are available for this collection: {0}";e.SendFeedback="Send us your feedback";e.PublisherDetails_PublisherId_Exceeds_Permitted_Size_Error="The publisher id is beyond permissible length of {0} characters.";e.AlreadyRequestedNewAccount="You have already requested for this extension. View your request{0}. Contact the admin of this organization to approve the request.";e.DownloadText="To download the extension for Azure DevOps Server, {0}";e.DragAndDropText="Drag and Drop";e.AcquisitionErrorMessageTemplate="{0} Error: {1}";e.PublisherMessage="By sending this message, the email address associated with your publisher profile will be shared with the customer. Customer may choose to reply and share their contact information with you.";e.UploadExtensions="Upload Extensions";e.CreatePublisher_ChangeDirectory_Confirm_Dialog_Message="Changing the directory will result in redirection. Changes you have made in the page may not be saved.";e.ShareWithOrganization="Enterprise";e.PurchaseRequestFlowNonAdminMessage="You do not have the required permissions to make purchases using the Azure subscription {0} linked to this organization.";e.AssignUsersButtonText="Assign to users";e.StartPackageCompatCheckScreenReaderMessage="Downloading extension and getting ready to install";e.FreeInstallHelpTextWithoutIncludedQuantityNew="Free for Visual Studio Enterprise, Test Professional, and MSDN Platforms subscribers";e.SomethingGoneWrong="Something\u0027s gone wrong";e.Dev14_Enterprise="Visual Studio 2015 Enterprise";e.PublisherDetails_PublisherDisplayName_Change_Revoke_Domain_Verification="Marketplace will revoke the domain verification after the display name change.";e.GetItFree="Get it free";e.ExtensionUsersText="users(s)";e.SharedWithGroupHeader="Shared with";e.DownloadAriaLabelText=" Download extension for Azure DevOps Server";e.MarketplaceNotifications="Marketplace Notifications";e.QnALabel="Allow Q\u0026A for your extension";e.Dev12_IntegratedShell="Visual Studio 2013 (Integrated)";e.Month_Label="Month";e.AcquireItemGenericError="Sorry, we are having difficulties on our end. Give it a few minutes and then please try again.";e.UploadingFile="Uploading file ...";e.UploadingIcon="Uploading icon.";e.AccessRolesTabTitle="Roles";e.InternetConnectivityError="We are unable to connect to internet to check permission and installation status. Close this experience, check your internet connectivity and then do try again (status code 0).";e.CheckingYourLinkedSubscription="Checking your linked Azure subscription";e.Publisher_ExtensionGrid_RatingColumnText="Rating";e.UnpublishedExtensionNote="This extension is now unpublished from Marketplace. You can choose to uninstall it.";e.EndAccountFetchingScreenReaderText="Loaded your organizations";e.UserAvatarAccessNotAllowed="Access to user avatar is not allowed.";e.UploadExtensionPackage="Upload extension";e.PublisherReplyEditButtonText="Edit";e.VSS_Install_AlreadyInstalledText="The extension is already installed for this organization : {0}";e.CheckingYourSubscriptionToBeLinked="Validation of the subscription to be linked is in progress.";e.UsersLabel="users";e.BuyCustomizationChangeQuantityCancelConfirmationText="{0} {1} scheduled for renewal on {2} will be cancelled";e.ExtensionBuySuccessMessageForCollection="You can now assign {1} to {0} user(s) in your collection:";e.URLLabel="Source code repository";e.SignOut="Sign out";e.NoExtensionsOrPublishersLonelyMessage="It\u0027s lonely here!";e.PackageManagementPricingInfoHosted="First 5 users free";e.SourceCodeUrlInfo="Link to the source code repository if you wish to share it with the community.";e.SubscriptionHasSpendingLimitNew="This subscription {0} has a spending limit. {1} to continue.";e.VSCategories_TeamDevelopment_MigratedTitle="Tools/Team Development";e.FailedLoadingUninstallsScreenReaderMessage="Failed to load uninstall events";e.Dev7Version="Visual Studio 2002";e.VSCodeInsidersInstallInfo="to install on VS Code Insiders Release.";e.AccountLinkedToDifferentSubscriptionText="This organization is already linked to an Azure subscription(Subscription ID:{0}) which you can\u0027t access.\r\n    \u003cbr\u003e\u003cbr\u003e\r\n    Sign in as a different user to access the subscription.\r\n    ";e.PricingCalculatorNotAvailable="Pricing calculator is not available";e.Publisher_ExtensionGrid_EditContextMenuTitle="Edit";e.RemoveDialogSubtext="This action cannot be undone. This will permanently remove the \u0027{0}\u0027 extension and all its data.";e.ErrorTextLabel="Error";e.VSSOffer_Renewal_Downgrade_Date_Message="Only {0} out of your {1} subscriptions will be renewed automatically on {2}";e.Publisher_Popup_ShareMainContent="This extension is not visible to anyone in the Marketplace. You can {0} it to see how it will appear.";e.RequestReasonTextAreaLabelOnPrem="Admin privileges are required to acquire this extension. You can submit a request to your collection’s admin.";e.InvalidEmailErrorMessage="Not a valid User Id";e.SubCategoriesPlaceholder="Select categories for the extension. Minimum 1. Maximum 3.";e.PublisherDetails_AdditionalInfo="Required only if you intend to publish public extensions for Azure DevOps";e.ItemDetailsLearnVSCode="Homepage";e.DeleteConfirmationText="Do you want to remove \u0027{0}\u0027 from this publisher?";e.VSExtensionPackageDisclaimer="Extensions are analyzed for performance and reliability issues when uploaded.";e.HighPrivilegeScopesWarningText="This extension requires high privilege scopes, which may introduce security risks to your organization. Install this extension only if you trust the extension\u0027s publisher and its code.";e.TemporarySpendingLimitLink="https://go.microsoft.com/fwlink/?linkid=850400";e.Review="Review and {0}";e.TemporarySpendingLimitText="It looks like your spending limit was removed, but only for the current billing period. In order to set up recurring charges, you need to {0}";e.Dev10_VPDExpress="Windows Phone Express";e.Dev11_IntegratedShell="Visual Studio 2012 (Integrated)";e.NoCollectionsAvailableText="We were unable to find any project collections that you are a member of.";e.ExtensionUploading="Processing …";e.PublisherCompanySiteInputLabel="Company website";e.SubscriptionCannotBeUsedForPurchaseUnlinkedLinkText="Learn more.";e.MarketplaceAdminLabel="Visual Studio Marketplace Team";e.YouAreAllSet="You are all set!";e.VSSOffer_Renewal_Other_Month_Date_Message="Please note your action is applicable for the upfront selected month.\u003cbr/\u003eRenews automatically on {0}.";e.Server="Server:";e.InfoLabel="{0} info";e.SeeMoreAnswersLinkText="See more answers ({0})";e.VSS_NoActionAvailable="No actions are available for this organization: {0}";e.SignIn="Sign in";e.CategoryPageMetaDescription="{0} extensions for {1} on marketplace.visualstudio.com";e.RequiredQuantity="Required quantity";e.ConfirmPurchase="Confirm purchase";e.UpgradeMsg="We’ll prorate your first charge. Then, we’ll charge you on the 1st each month. \u003ca href=\"https://go.microsoft.com/fwlink/?LinkID=822670\" target=\"_blank\"\u003eLearn more\u003c/a\u003e";e.InvalidLinkedInUrlError="Please enter valid LinkedIn URL";e.FailedAcquisitionReviewsScreenReaderMessage="Failed to load acquisition data";e.SubscriptionHasSpendingLimitLinksForLinkedSub="{0} or {1}";e.InvalidUserId="The user id is not valid.";e.ItemShareEmailContents="Hi, Just discovered this {0} on the #VSMarketplace that may be of interest to you. Check it out @ {1} !";e.AlreadyRequested="This extension has already been requested by you. Contact the admin of this organization offline to take further action.";e.ChangesSaved="Changes saved successfully";e.SelectIconHeader="{0} file or {1} to upload";e.ChangeYourAzureSubscriptionText="change your azure subscription";e.AccountSelectionReadOnlyText="You are installing this extension on the organization:";e.InstallationTargetCollection="collection";e.CollectionInstallRequestSuccessMessage="Your request to install the extension has been submitted for collection:";e.XamarinUniversity_SubscriptionAgreement="Xamarin University subscription agreement.";e.AcquireCompletionBrowseMarketplace="Browse Marketplace";e.CertifiedFilterOption_CertifiedPublishers="Top Publishers";e.DownloadButtonText="Download";e.ConnectedContext_Install_WarningText="Clicking {0} will redirect you to {1} to acquire this extension.";e.AssociateAzurePublisherIdTitle="Associate Azure Publisher Namespace";e.EulaContent_MicrosoftSoftwareTerms="Microsoft Pre-Release Software License Terms";e.ReportErrorVSExtensionSubject="Error in Visual Studio extension {0} flow";e.CancelExtensionUpload="Cancelling extension upload.";e.PublisherReferMessageText="Refer the {0} for guidance on communication with customers.";e.PackageManagementPricingInfoConnectedContext="Starts at $4 per user with Basic access, per month";e.BuyAccountWideExtensionAccountSelectionReadOAccountSelectionReadOnlyText_AccountWideExtension="You are buying {0} for this organization:";e.CreatePublisher_Agreement_Not_Accepted_Error="You need to accept the agreement before you proceed.";e.SaveButtonText="Save";e.CopyVsixIdText="Copy ID";e.VSCodeInstallationHeader="Installation";e.SwapSubscriptionInfo="All Microsoft purchases will be moved to the new subscription. However all non-Microsoft purchases will be cancelled and will need to be acquired again as desired.";e.ItemAlreadyUnderTrial="Already in trial";e.Dev12Version="Visual Studio 2013";e.Subscription="Subscription";e.Stay_Button_Text="Stay";e.EndCollectionFetchingScreenReaderText="Loaded your collections";e.BannerSummaryTextOnPrem="The place to find extensions for Azure DevOps Server.";e.Publisher_Popup_HowToUnpublish="How to unpublish";e.ConfirmPurchaseSuccessMonthsText="However, changes were successfully applied for the month(s): {0}";e.VSSCollectionMultiCollectionAlreadyInstalled=". Select another collection to proceed.";e.BuyDisabledForNonAdmins="Only server or collection admins can buy extensions for Azure DevOps Server";e.PrepaidBalanceInfoMsg="Note: Prepaid balances (Azure Monetary Commitment) may be used to purchase Azure DevOps, but do not apply for Visual Studio subscriptions, in which case you’ll be charged separately.";e.FailedToConvertToMarkdown="The text could not be converted to markdown.";e.DisplayNameLabel="Display name";e.SuggestionsListSpellingText="Make sure the words are spelled correctly";e.SortOption_UpdatedDate="Updated Date";e.PublisherCertification_NoPermission_Message="You don\u0027t have permissions to manage Top Publisher.";e.LoadedReviewsScreenReaderMessage="Loaded review events";e.UpgradeMsgNew="We will prorate your first charge. Then we will charge you on the 1st of each month. {0}.";e.Privacy="Privacy";e.Create_Text="Create";e.TotalPriceHeader="Total Price";e.RemoveSpendingLimitForwardLink="https://account.windowsazure.com/subscriptions/statement?subscriptionid={0}\u0026isrdfeid=true\u0026launchOption=upgrade\u0026returnUrl=https://account.azure.com/subscriptions";e.ReduceQuantityText="Reduce quantity";e.ExtensionLearnMoreDescriptiveText="Learn more about {0}";e.LoadingMoreQuestionsText="Loading more questions.";e.Dev10_Express_All="All Express Editions";e.CollectionSelectionReadOnlyText="You are installing this extension on server {0} in collection ";e.PublisherPageMetaDescription="Publisher {0}, {1} - Visual Studio Marketplace. {2}";e.ManageExtensionsInfoTitle="Managing Extensions";e.UserNotTheOwnerNoSubscriptionLinked="Current user is not the organization owner and there is no subscription linked with the organization";e.ExtensionList_LastUpdated_Column_AriaLabel="Last updated date/time of extension.";e.Publisher_ExtensionAvailability_PrivateNotShared="Private (not shared)";e.InternalNameInfo="This is an internal name used by Marketplace to uniquely identify your extension and cannot be edited once the extension is published. It shows up in the extension URL but not on the extension detail page in Marketplace.";e.OrganizationNameAriaLabel="Please enter Azure DevOps Services enterprise name";e.UserLicensesQuantityHelpText="After confirming your purchase, you can assign the extension to users.";e.CertificationCriteriaMet="{0} criteria for Top Publisher program is met";e.VSTeamServicesExtension_ItemType_Description="Azure DevOps Extension";e.AzureSubscriptionLabel="Azure subscription";e.PricingFilterTitle="Price:";e.BuyCustomizationConfirmationTextTeamSizeInfoNew="{0} has to be purchased for all {1} users in this organization. We have automatically selected the closest plan which meets this need.";e.ShortDescriptionPlaceholder="Provide a short description for the extension. Maximum 150 characters";e.UnsupportedSubscriptionCsp="Azure subscriptions created through the Cloud Solution Provider program cannot be used to purchase. \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=847799\" target=\"_blank\"\u003eLearn more.\u003c/a\u003e";e.UnsubscribeText="{0} notifications";e.UnsubscribeFrom="Unsubscribe from:";e.PaidQuantity="Paid {0}";e.EndAccountValidationScreenReaderText="Validated selected organization";e.DownloadTextNewAcquisition="For Azure DevOps Server";e.SelectRoleLabel="Select a role";e.Publisher_ExtensionsGrid_NoExtensions="This publisher has no items published in the Marketplace.";e.SelectRoleError="Please select a role";e.AdditionalConfigSteps="Additional configuration is needed to use this extension.";e.ExtensionUploadError="Upload failed: {0}";e.PublisherCompanySupportUrlInputLabel="Support";e.Publisher_UploadDialog_Footer_Instructions="Learn about \u003ca href=\"{0}\" target=\"_blank\"\u003epublishing to the Marketplace\u003c/a\u003e";e.VSMarketplace_Feedback_GitHub="Feedback";e.SortOption_Name="Name";e.ItemTrial="Trial";e.CertifiedFilterOption_Any="Any";e.CapabilitiesInfoHeader="Works with";e.FailureLoadingAzureSubscriptionsMessage="Failed loading your Azure subscription(s)";e.SearchPageOgTitle="Search results for \"{0}\", {1} on Visual Studio Marketplace";e.VerificationRequestSentMessage="Publisher verification request already sent. Please wait for Marketplace team to approve it.";e.DisabledSubscriptionText="This Azure subscription is no longer active. To re-activate, visit the {0}";e.DisabledSubscriptionLink="https://go.microsoft.com/fwlink/?linkid=846020";e.MaintenanceMessage="Disabled for maintenance";e.PublisherListItemAriaLabel="Publisher name {0} and role {1}";e.SubscriptionsDropdownAriaLabel="Select azure subscription to be used for purchase";e.PipelineDecoratorWarningText="Extensions that contain a pipeline decorator are considered high privilege, as they can modify all pipelines within your organization. Install only if you trust the extension\u0027s publisher and its code.";e.ViewProfileText="View profile";e.AccountSelectionReadOnlyText_Trial="You\u0027re starting a trial for this extension in organization:";e.AcquireItemReviewHeader="Review and confirm";e.EmptyUserIdError="Please enter User Id";e.ChangeQuantityActionText="Change quantity";e.IntegrationActionDescription="Works with Azure DevOps.";e.UrlsTemporarilySuspendedInPublisherProfile="The service is under maintenance, you cannot edit/update the urls in Publisher Profile";e.CurrencyLabel="Currency";e.Dev10_VCExpress="Visual C++ Express";e.SelectAnOptionText="Select an option";e.PaymentInstrumentNotCreditCard="This Azure subscription doesn\u0027t have a credit card on file. Please select another subscription.";e.ItemDetailsTechnicalSupport="Technical Support";e.EulaContent_ThirdPartyInstall="This extension is offered to you for your use by a third party, not Microsoft. By clicking Confirm, you agree to the {2}, if any, for this extension.";e.VersionInfo="This is the extension version number. It must be of the following format: Major.Minor.Patch. Ex: 1.1.0. Note that during edits, the version cannot be decremented. Same or incremented version needs to be provided during edits.";e.LoadedAccountsSalesTransactionsScreenReaderMessage="Loaded organizations sales transactions data";e.VSEnterpriseSubscriptionDesc="Take advantage of comprehensive tools and services for designing, building and managing high-quality, scalable enterprise applications. Share code, track work, run automated tests, manage releases, and ship software both on premises and using the cloud, on PC and Mac.";e.VSEnterpriseSubscriptionName="Visual Studio Enterprise";e.CommunityAndSupport="Community \u0026 Support";e.SubmittingQnAItem="Submitting {0}.";e.PostDownload_NavigateToServer="Navigate to the Azure DevOps Server Extensions page on your server.";e.VSS_Collection_AlreadyInstalledTextNew="This extension is already installed on this collection: {0}.";e.SubscriptionHelptextWithAvailableSubscription="We\u0027ll bill your charges to the Azure subscription you select below.";e.CollectionSelectionStepHeaderText="Collection";e.PowerBIContentPackMenuText="Power BI Content Pack";e.FieldCannotBeEmpty="Field cannot be empty";e.ExtensionInstallUnmetDemands="Your selected {0} doesn\u0027t meet these requirements:";e.PublisherVerificationRequestResendMessage=" You may resend the request by toggling and then saving.";e.FailedLoadingReviewsScreenReaderMessage="Failed to load review events";e.SubscriptionText="subscription(s)";e.OfferTermsAndConditionsText_NewExp="Visual Studio subscription agreement";e.EulaContent_Offer_CustomLicense_NewExp="By proceeding, you agree to {0}.";e.ReduceQuantityHelpText="Choose the number of subscriptions to renew, or choose zero (0) to cancel.";e.HostedOnFilterOption_Onprem="On Premises";e.UninstallText="For uninstall of {0} by {1} on {2}";e.StartAccountFetchingScreenReaderText="Fetching your organizations";e.UnsubscribeConfirmationText="We have received a request to unsubscribe this email address from Marketplace notifications. Please confirm?";e.PermissionScope="Permission scope";e.SearchResultsFoundText="{0} Results";e.NoEditionsSelected="No editions selected";e.ToolCannotUseExpress="Extension for type Tools cannot be targeted for Visual Studio Express editions.";e.VSEdtitionsInfo="This details the Visual Studio editions this extension supports. Only choose those editions for which you are certain the extension will work.";e.PublisherDetails_BasicInfo_PublisherId_Placeholder="Unique publisher identifier";e.ItemDetailsSupport="Support";e.ReportsLinkDisplayName="Reports";e.Dev15_VSWinExpress="Visual Studio 2017 Express for Windows 10";e.PricingFilterOption_Paid="Paid";e.PricingFilterOption_Free="Free";e.AccountWidePurchaseSuccessMessage="You have purchased {0} for this organization. It is now ready for use in your organization:";e.ErrorRetrievingCollectionDetails="Error retrieving collection details from context";e.PublisherCompanySourceCodetUrlInputLabel="Source code repository";e.CheckInstallationStatus_ErrorMessage="Sorry, we are having problems checking permission and installation status. Give it a few minutes and then please try again.";e.SearchResultFoundText="{0} Result";e.Publisher_ExtensionGrid_DisplayNameColumnText="Name";e.EulaContent_OnlinePrivacyStatement="Microsoft Online Services Privacy Statement";e.StartSubscriptionValidationScreenReaderText="Validating selected azure subscription";e.AllSubCategoryLabel="All";e.PricingPlanForSubscription="This subscription is charged on a per-user basis. {0}";e.Publisher_ExtensionGrid_RemoveButtonLabel="Remove";e.ReportText="Report";e.HomePageMetaDescription="One place for all extensions for Visual Studio, Azure DevOps Services, Azure DevOps Server and Visual Studio Code. Discover and install extensions and subscriptions to create the dev environment you need.";e.CapabilityName_VSTS="Azure DevOps Services";e.Publisher_Popup_View="view";e.Dev11_Ultimate="Visual Studio 2012 Ultimate";e.FreeQuantity="Free {0}";e.Dev12_Ultimate="Visual Studio 2013 Ultimate";e.CategoriesField="Categories";e.CreateNewSubscription_Link_Text="Create new Azure subscription";e.PublisherVerificationRequestFillInDetailsMessage="Ensure that you have filled most details in the ‘About you’ section, as they will be required for verification.";e.ValueNameTooLong="{0} is beyond permissible length of {1} characters";e.PublisherCertification_NoPublicVstsExtensions="No public Azure DevOps extensions found.";e.CouldNotFindTheUser="Sorry, we couldn\u0027t find that user. Please try a different email address or ask the user to login to Marketplace.";e.CreateNewSubscriptionMessage="creating new azure subscription";e.AADTenantRequestFailed="Failed to find a Microsoft Entra tenant for the current request.";e.CategoryFullInfo="Type is {0} ";e.NoPublishersFoundInDirectoryTooltipText="No publisher found in this directory.";e.Dev11_VPDExpress="Visual Studio 2012 Express for Windows Phone";e.RatingAndReviewSpamText="spam or advertising";e.AzurePublisherLinkText="Azure Publishing Portal";e.ExtensionPublishSuccessNotificationSettingText="Extension publish notifications – Validation success and in progress";e.ResourcesText="Resources";e.ReviewFormDefaultText="Your review goes here (up to {0} characters).\r\n\r\nImportant – Please do not use this form to report a bug. \r\nUse Q \u0026 A or Report issue for support and Report Abuse for reporting abusive extensions such as extension containing malicious code or spam.";e.Dev9Version="Visual Studio 2008";e.ProceedToCollectionButtonText="Proceed to collection";e.CreatePublisher_Spinner="Creating the publisher";e.CreatePublisher_SignedIn_Email_AriaLabel="Logged in email id.";e.CancelPurchase="Cancel all";e.EditInGallery="Edit in Visual Studio Gallery";e.AnnualOfferDowngradeMessage="You have chosen to renew {0} subscription(s) (i.e. reduce overall by {1} subscription(s)). Changes will take effect next renewal cycle.";e.NoPublishersFoundInDirectoryText="No publisher found";e.Installed="Installed";e.VSS_Extension_Download_Help="Click {0} for Azure DevOps Services and {1} for Azure DevOps Server.";e.Dev12_VWDExpress="Visual Studio 2013 Express for Web";e.ConfirmCancellation="Confirm cancellation";e.PublisherDetails_Saving_Details_Spinner_Label="Saving the changes";e.HomeText="Home";e.XamarinUniversitySubscriptionName="Xamarin University";e.ProcessingText="Processing";e.MicrosoftDevLabsPreviewHelpText="An extension by Microsoft DevLabs cannot be in preview";e.Package="Package";e.ExitEarlyPreviewDescriptiveText="click here to revert to the old experience.";e.RequestingText="Requesting";e.FetchingAccountsSalesTransactionsScreenReaderMessage="Fetching organizations sales transactions data";e.VSProfessionalNote="* Includes dev/test software, monthly Azure credits and additional subscriber benefits. \u003ca href=\"https://go.microsoft.com/fwlink/?LinkID=699291\u0026clcid=0x409\" aria-label=\"Compare prices for Visual Studio Professional\" class=\"{0}\" target=\"_blank\"\u003eCompare\u003c/a\u003e \u003ci class=\"bowtie-icon bowtie-navigate-external\"\u003e\r\n      \u003c/i\u003e ";e.PricingFilterOption_Trial="Trial";e.VsErrorDialogTitle="Visual Studio extension detected";e.Dev10Version="Visual Studio 2010";e.UserNameHeader="User name";e.ItemShareOffer="offer";e.FeedbackPopupHeaderMessage="Thank you for your feedback";e.NewExtensionText="New extension";e.ErrorFetchingPurchaseDetailsScreenReaderMessage="Failed loading of purchase details";e.PaginationText=" of ";e.RemoveDirtyRow="Remove unsaved organization row";e.BuyMoreText="Buy more";e.VSS_Extension_FreeInstall="* Click Install if you have already purchased the extension.";e.PurchaseOfferCanceled="You have cancelled all your subscriptions";e.InitialBillingSetupError="Only the \u003ca href=\"https://www.visualstudio.com/en-us/docs/setup-admin/team-services/change-account-ownership-vs\"\u003eorganization owner\u003c/a\u003e can set up billing for this organization";e.SaveAndUpload="Save \u0026 Upload";e.HomePageDefaultErrorMessageText="We\u0027re sorry, the tools and extensions are not loading at this time.";e.PublisherCertification_CertificationRejected_Status_Text="Your request was rejected.";e.QnAInfo="This specifies whether Question \u0026 Answers capability is enabled for this extension or not.";e.ConfirmPurchaseFraudErrorMonthlyText="Your purchase could not be completed.";e.RemoveUserButtonText="Remove user from the publisher";e.SubscriptionBuyXamarinUniversity="Buy Xamarin university monthly subscription at $999/year (billed monthly)";e.Publisher_ExtensionGrid_CertificateContextMenuTitle="Certificate";e.EditionsPlaceholder="Select Visual Studio editions supported by this extension";e.Publisher_ExtensionGrid_MakePrivateConfirm="Following extension will be no longer publicly listed on Marketplace: {0}.";e.DomainNameFieldInfo="Save the domain before verifying it.";e.Apply_ButtonText="Apply";e.ErrorUplaodingPackage="Error during upload.";e.UnshareConfirmationEnterpriseText="This operation will uninstall this extension from all organizations in the enterprise:{0} which have installed it. Are you sure you wish to continue?";e.ManagePublisherPageHeader="Manage Publishers \u0026 Extensions";e.XamarinUniversityTileDescription="Go mobile and stay ahead of the competition with live, interactive mobile development on your schedule led by Xamarin experts.";e.EditInVSGallery="Go to VS Gallery";e.YourResponseGoesHereText="Your response goes here (up to 2000 characters)";e.TryAgainText="Try Again";e.CollectionSelectionReadOnlyTextNew="You are installing this extension on server {0} in collection {1}";e.SubscriptionNotValidForAUSEast="This Azure subscription is not valid for Azure DevOps organizations in Australia East";e.PlansPurchaseTypeText="plan(s)";e.ErrorPageNotAvailable="We\u0027re sorry, the page you requested cannot be found!";e.XamarinUniversity_PurchaseOffer_Completed="Thank you, your order has been received! You will receive an email from Xamarin University with a redemption code and further instructions on setting up your organization.\u003cbr\u003e\u003cbr\u003e If you have questions, please email \u003ca href=\"mailto:training@xamarin.com\"\u003etraining@xamarin.com\u003c/a\u003e.";e.CannotEditPublisherMessage="You do not have permissions to edit settings for this publisher.";e.OffersValuePropSummaryText="The place to find extensions and subscriptions for the Visual Studio family of products.";e.LoadingMoreQuestionsFailed="Failed to load more questions.";e.AccountNameText="Organization name";e.InternalNameLabel="Internal name";e.UncategorizedItemCategory="General";e.VSExtensionPublishServerError="There were errors during publish. ";e.LoadingCollectionsMessage="Loading your collection(s)";e.ItemDetailsReportAbuseContentText="\u003cplease provide a brief description of the issue\u003e";e.CreatePublisher_SwitchDomain_InfoButton_AriaLable="Switch domain info.";e.SelectAzureSubscriptionToLink="Select new Azure subscription to be linked:";e.ItemAlreadyRequested="Already Requested";e.ReviewExtensionDetails="Review extension details";e.ItemDetailsPullRequestString="{0} Pull Requests";e.NoExtensionsUploadMessage="Upload an extension for this publisher.";e.VSSOffer_Renewal_Cancel_Message="No subscriptions will be auto renewed on {0}";e.ShortDescriptionFullInfo="Short description is {0} ";e.ExtensionPublishFailureNotificationSettingText="Extension publish notifications – Validation failure";e.ReplyFormPlaceholderText="Your reply goes here (up to {0} characters)";e.GalleryItemLinkDisplayName="(View on Gallery)";e.ItemIdentifier="Unique Identifier";e.Dev12_VSWinDesktopExpress="Visual Studio 2013 Express for Windows Desktop";e.Publisher_ExtensionGrid_ExportReportsContextMenuText="Reports";e.ProjectDetailsText="Project Details";e.PurchaseRequestReasonHelpText="I\u0027m requesting this quantity because ...";e.NewPricingUnavailable="Unable to load price calculator";e.CloseButtonText="Close";e.ItemVersion="Version";e.EndLinkedSubscriptionValidationScreenReaderText="Validated your linked azure subscription";e.VSCodeCopyInfoText="to copy installation command for VS Code version 1.5 and below.";e.VSS_Request_AlreadyRequestedText="You have already requested this extension for organization : {0}";e.DomainVerificationStep1Info="1. Create a TXT record in your DNS configuration for the following hostname:";e.EditOptInDescription="Marketplace now also supports editing of extensions initially uploaded via Visual Studio Gallery. Marketplace will soon be the only place to publish and manage your extensions going forward.";e.DomainVerificationStep2Info="2. Use this code as the value for the TXT record:";e.DomainVerificationStep3Info="3. Wait until your DNS configuration changes. This could take up to 72 hours.";e.CannotProvideAnEmptyFile="The file cannot be empty.";e.NewExpVSCodeInstallText="Visual Studio Code is required to install this extension.";e.Publisher_UploadDialog_Instructions_NoPublisherContext="Select the item package (.vsix) file to upload.";e.TotalNumOfferSubscriptionsLimitExceedMessageNew="Contact {1} if you wish to purchase for more than a total of {0} users.";e.Dev16_VWDExpress="Visual Studio 2019 Express for Web";e.ContactMicrosoft="Contact Microsoft";e.RedirectToMarketPopOverInfoContent="Managing Visual Studio extensions has moved from Visual Studio Gallery to here. Click on \u0027Upload new extension\u0027 to list your new extension(s) in Marketplace.";e.ProfilePageLinkScreenReaderText="Click to view Visual Studio profile";e.DecreaseQuantity="Decrease quantity";e.SortOption_Downloads="Downloads";e.StartThirtyDaysFreeTrial="Start 30 day free trial";e.Publisher_ExtensionGrid_ShareContextMenuText="Share...";e.PublisherDetails_BasicDetails_PublisherName_InfoButton_AriaLabel="Publisher name info.";e.PublisherLogoUpdateErrorName="PublisherLogoUpdateError";e.SortOption_TrendingWeekly="Trending";e.TotalCostText="Total cost";e.Publisher_Popup_LearnAbout="Learn about {0}";e.VSSCollectionSelectionHeader="Collection";e.ErrorsOnPage="There are errors on the page.";e.InvalidSupportLinkError="Please enter a valid support link or email";e.PricePerMonthText="Price Per Month";e.GetButtonText="Get";e.PreviewBanner="This feature is in preview";e.TotalNumOfferSubscriptionsLimitExceedMessage="Contact \u003ca href=\u0027https://go.microsoft.com/fwlink/?LinkID=703830\u0027 target=\u0027_blank\u0027\u003esupport\u003c/a\u003e if you wish to purchase for more than a total of {0} users.";e.RatingAriaLabel="Rating is {0} of {1}.";e.ConfirmPurchaseErrorMonthsTextNew="An error occurred while applying changes for the month(s): {0}. ";e.AnnualAllCancelledInfoMessage="You have no subscriptions which shall be renewed. \u003ca href=\"{0}\"\u003eClick here\u003c/a\u003e to buy subscriptions.";e.LoadingPricingMessage="This may take a moment";e.UnsupportedSubscriptionCspText="Azure subscriptions created through the Cloud Solution Provider program cannot be used to purchase. {0}";e.SearchForExtensions="Search for extensions";e.UnsupportedSubscriptionCspLink="https://go.microsoft.com/fwlink/?linkid=847799";e.PageTitle="Visual Studio Marketplace";e.LogoDimensionsError="Logo image does not comply with the required dimensions. Try again with a square logo with size 128 by 128 pixels or larger.";e.Publisher_ExtensionGrid_MakePublicConfirm="Following extension will get publicly listed on Marketplace: {0}.";e.Publisher_UploadDialog_Title="Upload new item";e.QuantitySelectionHelpTextForAccountBasedExtension="All users with Basic access also have access to {0}. As you add or remove users from your organization we’ll adjust charges for {0}.";e.VsixTypeMismatch="Your extension type does not match the VSIX type.  It should be uploaded as a {0}";e.PublisherVerificationCheckBoxLabel="Send publisher verification request in order to publish public extensions for Azure DevOps";e.FreeTrialLabel="Free Trial";e.TeamServicesExtensionItemTypeDescription="Team Services Extension";e.FieldCannotContainTrailingWhitespace="{0} cannot contain trailing whitespace";e.Publisher_ExtensionAvailability_NotPublic="Not public";e.MultiAccountAlreadyInstalled=". Select another organization to proceed.";e.VSS_Productivity_Category="Productivity";e.VersionFullInfo="Version is {0} ";e.ConvertToMarkdownMessage="The overview content is currently in HTML, however, Marketplace needs it to be in markdown format.";e.ExtensionName="Extension name: {0}";e.ViewExtensionText="View extension";e.EulaTargetAccount="organization";e.Dev14_VSWinExpress="Visual Studio 2015 Express for Windows 8";e.Permissions="Permissions";e.ItemDetailsToPublisherPageLink="More from {0} publisher";e.TrialStartedMessage="Your free trial has started on organization ({0}) and ends on {1}.\u003cbr\u003e\u003cbr\u003eDuring trial, you don\u0027t need to assign this extension to users. After trial expiration, you will need to buy {2} and assign it to specific users in order for them to continue using it.";e.SortByFilterTitle="Sort By:";e.ViewMySubscription="View my subscription";e.DomainVerificationHostnameAriaLabel="Hostname";e.ReportReviewButtonText="Report Issue";e.VSCodeCopiedAnimationText="Copied to clipboard";e.ReviewPurchaseDetails="Review purchase details";e.SeeMoreQuestionsAriaLabel="See more questions";e.LoadingMoreReviewsSucceeded="Successfully loaded more reviews.";e.ReferralLinkRedirectionWarningMessage="You will now be redirected to the publisher\u0027s resource outside of Marketplace.";e.UrlSchemeIsNotHttps="The Url scheme must be \u0027https\u0027";e.CannotSelectMoreThanThree="Maximum of 3 categories can be selected";e.SubscriptionsCancellationsInfoText="Changes will take effect only after the renewal date.";e.Header_Manage="Manage";e.VersionFilterTitle="Version:";e.MembersTabText="Members";e.VSSCollectionMultiCollectionAlreadyRequested=". \u003ca href=\"{0}\" target=\"_blank\"\u003eView request\u003c/a\u003e or select another collection to proceed.";e.PublisherVerificationMandatoryLinks="At least one of the above 3 fields is required to apply for publisher verification";e.EulaContent_Microsoft_NoCustomLicense="By clicking Confirm, you agree on behalf of all users in the {0} that this extension is provided as Additional Software under the \u003ca href=\u0027{1}\u0027 target=\u0027_blank\u0027\u003e{3}\u003c/a\u003e{4}.";e.ItemClickText="{0} click";e.BuyExtensionAssignLicensesLink="Assign licenses to users";e.Publisher_ExtensionGrid_UnshareButtonLabel="Unshare";e.ItemPaidPreview="Free during preview";e.EditOptInNote="Once you successfully edit an extension in Marketplace, then you will not be able to edit it in Visual Studio Gallery.";e.EnterYourQuestionHereText="Please enter your question here";e.CollectionLinkedToSubscription="This collection is linked to Azure subscription";e.OneClickInstallOptOutMessage="Don\u0027t show this message again";e.Dev11_VSWinDesktopExpress="Visual Studio 2012 Express for Windows Desktop";e.CreatePublisher_LoginSection_Heading="Create Publisher";e.ExtensionNotSharedYet="Extension is not shared with any organization.";e.SortOption_Relevance="Relevance";e.SearchExtensionPlaceHolder="Search extensions";e.AssociateButtonText="Associate";e.LicenseText="License";e.Dev16_Enterprise="Visual Studio 2019 Enterprise";e.EditingExperienceMoved="Editing options";e.SortOption_PublishedDate="Published Date";e.AlreadyUnderTrial="Extension is in trial for this organization and trial ends on {0}.";e.ItemDetailsOpenIssuesString="{0} Open Issues";e.Dev14_IntegratedShell="Visual Studio 2015 (Integrated)";e.AlreadyPurchasedLicensesHelpText="Total number of user licenses already purchased";e.PipelineDecorator="Pipeline decorator";e.HomePageOpenGraphDescription="Extensions for Visual Studio family of products on Visual Studio Marketplace";e.RenewalOfferCompleted="You have chosen to renew 1 subscription.";e.BuyPlanMsg="Don\u0027t worry, charges won\u0027t start until your 30-day trial ends on {0}.";e.PublishedDateText="Published";e.Publisher_By="by ";e.VariablePricingHeaderTextForResourceItems="Starts at {0} per {1}, per month";e.AskAQuestionButtonText="Ask a question";e.Publisher_ExtensionGrid_ViewDetailsContextMenuText="View details";e.BuyCustomizationReduceQuantityHeaderForAnnualSubcription="Reduce or cancel subscriptions";e.CheckedYourLinkedSubscription="Validated your linked Azure subscription";e.NoAccountsAvailableText="We were unable to find an organization for which you are an owner or a member of. \u003ca href=\"https://go.microsoft.com/fwlink/?LinkID=841540\" target=\"_blank\"\u003eLearn more\u003c/a\u003e";e.PublisherVerificationToggleLabel="Publisher verification request for publishing public extension";e.TopRated_Items_Header="Highest Rated";e.RequestReasonHelpText="Your request …";e.Tag="Tag";e.BuyCustomizationConfirmationTextSelectedPlanInfo="Selecting {0} users plan for {1}.";e.Suggestions="Suggestions";e.RemoveConfirmationBoxText="Please contact vsmarketplace@microsoft.com to remove the extension.";e.Click="click";e.Dev11_VSWinExpress="Visual Studio 2012 Express for Windows 8";e.EditDraftError="An error occurred while fetching extension details. {0}";e.OnPremManagePublisherPageHeader="Manage Extensions";e.PurchaseDetailErrorMessage="Sorry, we are unable to load the change quantity experience. Give it few mins and then try again.";e.AdditionallyText="Additionally:";e.PublisherLinkInputWatermarkPrefix="Ex: ";e.ReduceQuantityRenewalMessage="You have reduced the subscription quantity by a total of {0} users.";e.DomainPlaceholder="Ex: https://microsoft.com";e.VSCategories_WinForms_Title="Windows Forms";e.CspNoSubscriptionAvailable="We did not find any Azure subscription with on you on it with sufficient permissions. Create an Azure CSP subscription and then try to acquire this item again.";e.OrgFilterOptions_Both="All";e.Dev10_VSLS="Visual Studio LightSwitch";e.FechtingDataError="Error in fetching data.";e.ResourceBuySuccessMessageForFreeAndPaid="You now have {0} {1} and {2} {3} in your organization:";e.PublisherDisplayName_PublisherVerificationNeeded_Tooltip="Not Verified. Publishing public extensions / integrations for Azure DevOps requires verification.";e.StartPriceInfoForUserBased="{0} per user with Basic access, per month";e.IconInfo="This will be the logo displayed for the extension on the Marketplace extension page and the extension tile. It will be resized to 128px X 128px if a larger file is provided.";e.Publisher_VerificationNotification_NotVerifiedTitle="Not Verified.";e.SubmitButtonText="Submit";e.DragAndDropHeader="\u003cb\u003eDrag and Drop\u003c/b\u003e";e.ExtensionTrialExpired="The trial for this extension has expired.";e.PublisherReplyDialogTitle="Publisher Reply";e.VSSOffer_Renewal_Date_Message="Your subscription renews automatically on {0}.";e.AcquisitionAbandonMessage="If you proceed, changes in-progress will not come into effect. You can visit again and start from the beginning.";e.EulaContent_Microsoft_Preview_CustomLicense_New="By proceeding, you agree on behalf of all users in the {0} that this extension is provided as a Preview under this {1} and {2}.";e.InvalidRegionForPurchaseFirstPartyUnlinkedLinkText="Learn more.";e.CertifiedFilterOption_Microsoft="Microsoft";e.AccountSelectionReadOnlyTextForPurchase="You are buying for this organization:";e.ConvertToMarkdownMessageNote2="Note: Changes will not be persisted until you explicitly save them.";e.ExtensionsLinkText="Extensions";e.FreeLabel="Free";e.AboveText=" above";e.ExtensionInstallSuccessMessage="This extension is installed and ready for use on organization:";e.Dev12_Test="Visual Studio 2013 Test Professional";e.PricingInfoLearnMoreAriaLabel="Learn more about pricing.";e.Publisher_Popup_ItsLive="It\u0027s live!";e.EulaTargetCollection="collection";e.VSCodeExtensionHelpText="Trouble Installing?";e.CategoryMismatch="Templates type is valid only for vsix extensions";e.ClickHereText="click here.";e.ItemDetailsShare="Share";e.DomainVerificationTokenAriaLabel="Verification code";e.VSCodeCopyButtonText="Copy";e.Calculator="Calculator";e.Publisher_ExtensionGrid_PublishConfirm="Do you want to publish {0}?";e.Dev11_Test="Visual Studio 2012 Test Professional";e.UserNotAnAdminText="User is not an admin.";e.TermsOfService="Terms of Service";e.ErrorCollectionFetchingScreenReaderText="Loading of your collections failed";e.PublisherDetails_Fetch_Details_Error_Dialog_Header="Error fetching details";e.HighPrivilege="High privilege";e.ItemDetailsFeedBack="Feedback";e.ItemDetailsLearn="Learn";e.ErrorDownloadingExtension="We\u0027ve encountered an error while downloading the extension. Please try again later.";e.NewVSExtension="New Visual Studio Extension";e.PublisherDetails_AdditionalInfo_Description="Additional details for publishing a public or paid Azure DevOps extension";e.EmailInputAriaLabel="Please enter User Id";e.ReportQuestionText="Report question";e.Dev14_VSWinDesktopExpress="Visual Studio 2015 Express for Windows Desktop";e.CheckLink="Check link";e.AccountSelectionHelpText="Select an Azure DevOps organization where you would like to install this extension.";e.Dev14_Test="Visual Studio 2015 Test Professional";e.MoreInfoText="More Info";e.AssignSubscription="Assign one subscription to me";e.CancelSuccessMessageForCollection="Your {0} purchase is cancelled for collection:";e.Publisher_ExtensionGrid_VersionColumnText="Version";e.ConfiguringPayment_ErrorMessage="Error during configuring payment for collection {0}. Please try again after sometime.";e.ZeroResultFeeedbackPlaceHolder="Share your feedback on the type of extension you\u0027d like to see in the Marketplace.";e.SuggestionsListDifferentWordsText="Try different search words";e.AccountLinkedToDifferentSubscriptionTextNew="This organization is already linked to an Azure subscription (Subscription ID:{0}) which you can\u0027t access. Sign in as a different user to access the Azure subscription.";e.PaidLabel="Paid";e.StartLinkedSubscriptionValidationScreenReaderText="Validating your linked azure subscription";e.LoadingMoreReviewsText="Loading more reviews.";e.PricingPlanForFirstParty="This extension is charged on a per-user basis. {0}";e.PublisherReplyPrivacyText="Your reply will be posted publicly as {0}";e.VSS_Purchase_RequestSuccessMessage="Your request for purchase has been submitted for organization:";e.OneClickVSCodeEditorInfoMessage="Don\u0027t have Visual Studio Code?";e.ItemLastUpdatedDate="Last updated";e.OfferAnnualActionDescription="Charged per user on an annual basis.";e.SortOption_Rating="Rating";e.Dev11_Isolated="Visual Studio 2012 (Isolated)";e.LoadingCollections_ErrorMessage="Sorry, we are having problem loading your collections. Give it a few minutes and then please try again. Error: {0}";e.Publisher_ExtensionGrid_ShareContextMenuTitle="Share";e.VsixAutoPopulated=" Details fetched from the payload have been auto-populated.";e.EnterYourResponseHereText="Please enter your response here";e.Publisher_ExtensionGrid_UnpublishContextMenuText="Unpublish...";e.Publisher_ExtensionGrid_UnshareContextMenuTitle="Unshare";e.EditExtensionInVSGallery="Edit";e.ReportsButtonText="Reports";e.ItemTrialDays="{0} days free trial";e.VSCodeSuccessfulCopiedToClipboardMessage="Successfully copied to clipboard";e.GettingExtensionDetails="Fetching extension details";e.CovnertedToMarkdown="Content is now converted to markdown. Do review in full using Preview and edit as appropriate.";e.ProcessingFailed="Processing failed";e.ValidationErrorDialogTitle="Extension validation error";e.EditInMarketplace="Edit in Marketplace";e.ReportVSPublishErrorExtra="Attaching screenshots and a fiddler trace will help us resolve this issue quicker.";e.ExistingNumOfferSubscriptions="You have already purchased subscriptions for {0} users.";e.SearchPageTitle="Search results - {0} | {1} , Visual Studio Marketplace";e.ValidatingCollectionMessage="validating your collection";e.SearchPageMetaKeywords="{0}, Visual Studio Marketplace";e.UploadDialogActionButtonText="Upload";e.ErrorExtensionsNotLoading="We\u0027re sorry, the extensions are not loading at this time!";e.RequestRatingAndReviewMessage="Please provide your ratings (mandatory) and review (optional) of our application";e.TemporarySpendingLimit="It looks like your spending limit was removed, but only for the current billing period. In order to set up recurring charges, you need to \u003ca href=\"https://account.windowsazure.com/subscriptions/statement?subscriptionid={0}\u0026isrdfeid=true\u0026launchOption=upgrade\" target=\"_blank\"\u003eremove your spending limit\u003c/a\u003e indefinitely.";e.InvalidRegionForPurchaseFirstPartyUnlinked="Azure subscription {1} is not valid for Azure DevOps organizations in {0} region. \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=841767\" target=\"_blank\"\u003eLearn more.\u003c/a\u003e";e.ManageExtensionsInfoContent="Clicking on the ellipsis will show you all possible actions for an extension such as Edit, Make public, Reports and so on.";e.Dev15_Test="Visual Studio 2017 Test Professional";e.RelevantArticles="Relevant articles";e.IncreaseQuantity="Increase quantity";e.PricingInformation="Pricing information";e.RemoveInProgressMessage="Removing \u0027{0}\u0027 please wait...";e.TfsInstallInfo="To install \"{0}\" on Azure DevOps Server, perform following steps:";e.Dev10_Pro="Visual Studio Professional";e.Dev17_Pro="Visual Studio 2022 Professional";e.ItemGetStartedVSCode="Repository";e.Dev12_Pro="Visual Studio 2013 Professional";e.RatingsScreenReaderText="{0}. Navigate to user reviews.";e.Dev11_Pro="Visual Studio 2012 Professional";e.UploadNewVSExtension="{0} - Create a new Visual Studio extension";e.Dev14_Pro="Visual Studio 2015 Professional";e.RequestFailed_ErrorMessage="Sorry, we are unable to process your request. Give it a few minutes and then please try again.";e.Dev16_Pro="Visual Studio 2019 Professional";e.Dev15_Pro="Visual Studio 2017 Professional";e.EditPublisherDialogTitle="Settings";e.ItemDetailsOverviewTab="Overview";e.AcquireItem_Disallowed_DefaultMessage="The requested operation cannot be performed on this organization. Please select another organization.";e.PublisherDetails_BasicInfo_PublisherName_Tooltip="This is the publisher name displayed in Marketplace with your extensions. Your company / brand name is recommended.";e.ItemInstallText="{0} install";e.VSCodeExtensionActionDescription="Works with Visual Studio Code";e.VSS_Install_ViewRequest="View Request";e.AndText="and";e.AzurePublisherIdHelpText="To find your Azure Publisher Namespace, or create a new Azure Publisher, go to the {0}";e.RatingAndReviewReportText="Contains {0}";e.VSIconSize="128px X 128px";e.SubscriptionBuyEnterpriseMonthly="Buy Visual Studio Enterprise monthly subscription at $250/month";e.PublisherLinkedInLinkAriaLabel="Publisher\u0027s linkedin account link";e.LearnMoreAbout="Learn more about high privilege extensions";e.ProductFilterTitle="Product:";e.Publisher_ExtensionGrid_UnpublishConfirm="Do you want to unpublish {0} from the Marketplace?";e.DownloadAndInstallExtensionText="Downloading extension and getting ready to install...";e.Publisher_ExtensionGrid_AvailabilityColumnText="Availability";e.SearchArea_VSO="Azure DevOps Services";e.ChangelogText="Changelog";e.PublisherContact="Publisher contact";e.RedirectToMarketPopOverInfoTitle="Welcome to Visual Studio Marketplace";e.ItemShareTwitterContents="Just discovered this on the #VSMarketplace: {0}";e.ExtensionInstallSuccessMessageAccount="organization";e.InstallCompleteNeedsConfig="Install complete. Just a few more steps...";e.ReadMore="Read More";e.SelectFileAriaLabel="Click here to upload a file";e.MarketplaceCertifiedText="Top Publisher";e.NoAccountsAvailableTextLine="We did not find an organization for which you are an owner or a member.";e.PurchaseRequestSpinnerMessage="Purchase request is in progress";e.EulaContent_PrivacyPolicyText="privacy policy";e.Publisher_Popup_MadeMistake="Made a mistake? {0}";e.LearnMore="Learn more";e.OfferMonthlyActionDescription="Charged per user on an monthly basis.";e.ExistingSubscriptionsQuantityHelpText="\u003cspan class=\u0027bowtie-icon bowtie-status-info\u0027\u003e\u003c/span\u003e You currently have {0}.";e.LoadingAccounts_ErrorMessage="Sorry, we are having problem loading your organizations. Give it a few minutes and then please try again.";e.ClickToCheckLink="Click to check link in new tab";e.SubscriptionBuyProfessionalMonthly="Buy Visual Studio Professional monthly subscription at $45/month";e.ExtensionList_Version_Column_AriaLabel="Extension version";e.CheckedYourSubscriptionToBeLinked="Validation of the subscription to be linked is complete and successful.";e.OrganizationFilterTitle="Visibility:";e.RatingAndReviewOffensiveText="offensive content";e.YouAreGoodToGoText="You are good to go!";e.LearnHow="Learn How";e.CreatePublisher_ChangeDirectory_Confirm_Dialog_Title="Are you sure you want to leave the page?";e.Dev16Version="Visual Studio 2019";e.BelowText=" below";e.FailureValidatingYourLinkedSubscription="Validating your linked Azure subscription failed";e.XamarinUniversityOffersCost="Starts at $83.25 per month per user or sign up for a \u003ca href=\"https://www.xamarin.com/university#request-trial\" class=\"xamarin-link\"\u003efree trial\u003c/a\u003e";e.FetchingUninstallsScreenReaderMessage="Fetching uninstall events";e.XamarinUniversityTileCostText="$999/year";e.OfferLearnMoreText="Learn more...";e.ItemDetailsSupportVSCode="Issues";e.InstallationTargetAccount="organization";e.PublisherCertification_TabTitle="Top Publisher program for Azure DevOps extension publishers";e.TemporarySpendingLimitLinkText="remove your spending limit indefinitely.";e.OfferRegionInvalidLeanMoreLink="https://go.microsoft.com/fwlink/?linkid=835145";e.PublisherCertification_CertifiedPublisher_Status_Text="You are a Top Publisher.";e.YourQuestionGoesHereText="Your question goes here (up to 2000 characters)";e.PurchaseRequestHeader="Request an administrator to purchase";e.SubscriptionCannotBeUsedForPurchaseUnlinkedText="This Azure subscription cannot be used to purchase. Please select another subscription. {0}";e.CategoryPageOgTitle="{0} Extensions for {1} in Marketplace";e.SubscriptionCannotBeUsedForPurchaseUnlinkedLink="https://go.microsoft.com/fwlink/?linkid=841763";e.PublisherVerificationMandatoryDescription="Description is required to apply for publisher verification";e.EnterYourReplyHereText="Please enter your reply here";e.Categorization="Categorization";e.OfferTermsAndConditionsText="Visual Studio subscription agreement.";e.ThirdPartyPurchaseRequestHelpText="We have selected the plan which best matches the current total + requested quantity.";e.VSCodeCopyButtonTooptip="Copy to clipboard";e.TargetPlatformFilterOption_Universal_Key="universal";e.CategoriesTagsText="Categories and tags";e.TargetPlatformFilterOption_All="All";e.Publisher_ExtensionValidation_NoVersionFound="No version found for extension: {0}";e.UnsupportedSubscriptionText="This Azure subscription is on a deprecated billing system. To purchase using it, please contact {0}";e.UnsupportedSubscriptionLink="https://go.microsoft.com/fwlink/?linkid=847803";e.EulaContent_Microsoft_CustomLicense_New="By proceeding, you agree on behalf of all users in the {0} that this extension is provided under this {1} and {2}.";e.ExtensionIncludedFor="Extension included for:";e.UploadDialogSubtext="Ensure you have packaged your extension in a VSIX file format.";e.ItemDetailsBillingSupport="Billing Support";e.PackageUploaded="{0} uploaded successfully. Please fill in the extension details.{1}";e.VSForMac="Visual Studio for Mac";e.AlreadyPurchasedExtensionForAccount="You have already purchased {0} for this organization";e.ProceedToAccountButtonText="Proceed to organization";e.ConfirmPurchaseFraudErrorAnnualText="Your purchase could not be completed for the following month(s): {0}.";e.SelectCollection="Select team project collection";e.BackNavigationDisabledText="Step navigation is not permitted while processing your request. Do wait for it to complete.";e.ConfirmText="Confirm";e.DownloadStartedMessage="Your download has started!";e.VersionInfoText="Only verified versions are shared with customers or listed on the Marketplace. ";e.PurchaseRequestButton="Request";e.CancelSuccessMessageForAccount="Your {0} purchase is cancelled for organization:";e.RedirectReason="Redirection triggered by \u0027{0}\u0027";e.NotificationsSettingChange="Notification settings has been changed";e.TargetPlatformFilterOption_All_Key="all";e.Publisher_ExtensionValidation_Timeout="Timed out waiting for extension validation to be performed. Try again later.";e.AcquisitionGenericErrorMessage="{0} Error: {1}.";e.SubCategoriesInfo="This details the categories that apply to this extension. Maximum of 3 categories permitted.";e.PublisherDetails_BasicInfo_PublisherName_Placeholder="Name of the publisher";e.SelectAzureSubscription="Billing uses Microsoft Azure";e.UpdateButtonText="Update";e.PublisherName="Publisher name: {0}";e.PublisherText="Publisher";e.VSS_RequestHelpText="Your request will be sent to the administrator for this Azure DevOps organization.";e.ClickHereToUploadPackage="Click here to upload a package";e.PublisherDescriptionPlaceholderText="Enter description for this publisher (1024 characters max)";e.VSTeamServicesIntegrationItemTypeDescription="Azure DevOps Integration";e.SubscriptionsQuantityHelpText="After confirming your purchase, you can assign the subscription to users.";e.ChangeLinkedSubscription="Change linked Azure subscription";e.PrivacyText="Privacy";e.ClickHere="Click here";e.ScopesAndPiplineDecoratorWarningText="Scopes and pipeline decorator have high privilege. Install this extension only if you trust the extension\u0027s publisher and its code.";e.MoreActionsButtonTitle="More Actions...";e.Publisher_ExtensionGrid_RemoveConfirm="Following extension will be permanently removed from Marketplace: {0}.";e.InstallLicenseText="By Installing, you accept the permissions required by this extension.";e.FixedPricingHeaderTextForResourceBasedItems="{0} per {1}, per month";e.Publisher_Popup_SharingExtensions="sharing extensions";e.LoadingGraphScreenReaderMessage="Loading graphs";e.VSEnterprise="Visual Studio Enterprise ({0})";e.ExistingSubscriptionsQuantityHelpTextAriaLabel="You currently have {0} subscriptions in total. ";e.ItemInstallsText="{0} installs";e.PublishingToMarketplace="publishing to the Marketplace";e.ItemDetailsReportAbuseLinkText="Report abuse to Microsoft";e.VSProfessionalUsers="Visual Studio Professional";e.ExtensionAlreadyUnderTrial="This extension is already under trial for the organization";e.SubscriptionNotAvailableText="You need a Microsoft Azure subscription to bill your Visual Studio Marketplace purchases. You can also use this subscription to pay for a wide range of Azure cloud services.";e.ForbiddenMessage="You do not have sufficient permission to view this page.";e.EulaContent_Microsoft_Preview_NoCustomLicense="By clicking Confirm, you agree on behalf of all users in the {0} that this extension is provided as a Preview under the \u003ca href=\u0027{1}\u0027 target=\u0027_blank\u0027\u003e{3}\u003c/a\u003e{4}.";e.SearchCategoryFilterTitle="Category";e.PostDownload_UploadExtension="Click {0} and select the file you have just downloaded.";e.ErrorText="Error";e.HostedOnFilterTitle="Hosted On:";e.SeverHeaderText="Server";e.PurchaseRequestFlowNonPcaMessage="You can however submit a purchase request to the admin(s) of this Azure subscription.";e.NavigateToMarketPlace="Go back to Marketplace";e.FirefoxMixedContentWarning="To finish your purchase, please choose \u0027Continue\u0027 on any browser warnings that appear.";e.Publisher_QuickStart_ShareGuideBubbleTitleHtml="Share it!";e.ItemTabMoreDetails="Details";e.TrialStartedMessageWithoutExpiry="Your free trial has started on organization ({0}).\u003cbr\u003e\u003cbr\u003eDuring trial, you don\u0027t need to assign this extension to users. After trial expiration, you will need to buy {1} and assign it to specific users in order for them to continue using it.";e.SelectedAccountCheckMessage="Checking permission and install status for";e.FetchingMoreExtensionsLabel="Fetching more extensions";e.PublisherCertification_Applying_For_Certification_Text="Applying for Top Publisher program";e.SubscriptionSelectionReadOnlyText="Your purchase will be billed to:";e.Dev12_Isolated="Visual Studio 2013 (Isolated)";e.TeamServiceUsers="Team Services users";e.PublisherDetails_BasicInfo_PublisherId_Tooltip="This ID uniquely identifies your publisher in Marketplace and cannot be changed once created. It shows up in the extension URL. Provide an ID that is representative of you and/or your company. For instance, if your company name is Fabrikam Fiber, a good publisher name is \"fabrikam-fiber\".";e.GenericErrorLoadingDataText="Error loading data. Try refreshing the page after some time.";e.Publisher_Popup_SeeIt="see it";e.Publisher_ExtensionGrid_RemoveContextMenuText="Remove";e.RefreshButtonText="Refresh";e.RemovePublisherLogoAriaLabel="Remove publisher logo";e.InvalidTwitterUrlError="Please enter a valid Twitter URL";e.ReportErrorVSExtensionPublish="Need help? {0}";e.Publisher_ExtensionsGrid_NoExtensions_TFSOnPrem="There are no extensions published to the gallery";e.RangeOfUsersText="{0}-{1}";e.CopyVsixIdTextAriaLabel="Copy ID Click to copy the extension\u0027s ID to clipboard.";e.RequestExtension="Request extension";e.ExtensionAvailabilityNotPublicText="Extension {0} is no longer public.";e.UpdateLicensesHelpText="You can increase or decrease the number of extensions you need.";e.PublisherPageUnsavedChangesWarning="You have unsaved changes on the page. Are you sure you want to leave?";e.MarkdownSupportedText="Markdown supported. Drag and drop, paste, or select files to insert.";e.AccountHasPaidUsersNew="You have paid users, please install again to use. To cancel, change the quantity of paid users to 0.";e.Publisher_Default_Error_Dialog_Header="Error";e.CancelMessageForThirdPartyExtensions="Changes will apply immediately and your current user plan will be cancelled without refund or credit.";e.VsixIdInfo="A VSIX ID is required if an extension is to be auto-updated in Visual Studio IDE when an incremented version is provided during extension edit.";e.ZeroResultFeedbackButton="Send";e.FraudMessage="Please{0} for assistance";e.PublisherTwitterLinkAriaLabel="Publisher\u0027s twitter account link";e.DomainVerificationHostname="_visual-studio-marketplace-{0}.{1}";e.CustomerContactButtonText="Contact";e.DeleteEntryArialLabel="Delete entry";e.Publisher_ExtensionGrid_ViewDetailsContextMenuTitle="View details";e.PublisherDetails_PublisherId_Empty_Error="The publisher id cannot be empty.";e.PublisherDetails_AdditionalInfo_AzureNamespace_InfoButton_AriaLabel="Azure publisher namespace info.";e.AlreadyRequestedNewCollection="You have already requested for this extension. View your request{0}. Contact the admin of this collection to approve the request.";e.InstallForPaidUsersText="Install for paid users";e.ExtensionFreeActionDescription="Works with Azure DevOps. Available at no cost.";e.ExtensionUnavailableForHosted="This extension is currently unavailable for Azure DevOps Services.";e.OffersValuePropHeadingText="Welcome to the Visual Studio Marketplace";e.Change_Button_Text="Change";e.SendMessage="Send Message";e.Categories="Categories";e.ReviewAndConfirm="Review and confirm order";e.AcquisitionOptInText="Acquiring this resource has become simpler with our new acquisition experience. ";e.EditFileAriaLabel="Edit selected file";e.CreatePublisher_Page_Title="Create Publisher";e.SortOption_Publisher="Publisher";e.ExtensionBuyActionDescription="Works with Azure DevOps. Charged per user on a monthly basis.";e.ReviewStepHeaderText="Review";e.CSRHeaderMessageExtensionDetails="This form is for support or reporting abusive extensions such as packages containing malicious code or spam. If extension simply doesn\u0027t work, or if you need help getting the extension installed, please contact the owners instead. You can find more information on the";e.Dev11_VWDExpress="Visual Studio 2012 Express for Web";e.VSEnterpriseUsers="Visual Studio Enterprise";e.CreatePublisher_SignupText="Sign up to publish \u0026 manage extensions in this Marketplace.";e.Terms_Of_Use="Terms of use";e.PublisherDetails_NoPermission_Message="You don\u0027t have permissions to update publisher details.";e.ProvideExtensionDetails="Provide extension details";e.PurchaseRequestFlowPcaMessageThirdParty="The following purchase(s) will be cancelled. You will need to purchase these again:";e.OfferSubscriptionType_Annual="Annual subscription";e.EditIcon="Edit Icon";e.EditLink="Edit link";e.EditFile="Edit package";e.ProcessingCompleted="Processing completed";e.ErrorDiagnosisReturnToHome="Return to the {0}";e.RemoveDialogActionButtonText="I understand the consequences, remove this extension";e.ItemDetailsGitHubString="{0}/{1}";e.ItemScopeHeader="The extension will be granted these permissions:";e.Publisher_ExtensionGrid_PublishContextMenuTitle="Publish";e.VSS_BuyExtension_New="New";e.FreeUnitsText="Free {0}";e.URLPlaceholder="Provide URL to source code repository";e.ClickHereToUploadIcon="Click here to upload an icon";e.Publisher_ExtensionGrid_CertificateDownloadConfirm="Do you want to download the shared secret? This is used to both validate and sign tokens. Make sure to secure this secret.";e.PaidUnitsText="Paid {0}";e.CurrentTotal="Current total";e.VersionLabel="Version";e.SelectQuantity="Select Quantity";e.ExtensionOnPremInstallSuccessMessage="This extension is installed and ready for use on collection:";e.DomainLabel="Domain name";e.EndLoadingPurchaseDetailsScreenReaderText="Loaded your purchase Detail";e.BackToMarketplace="Go to Marketplace";e.EulaContent_LicenseText="license";e.ExtensionScopeChangeMessage="We have detected changes to the scopes in this extension. If you are hosting a service to make calls to from the extension then the extension certificate for that communication will change. Do you wish to continue uploading?";e.MSDNPlatforms="MSDN Platforms ({0})";e.Dev14Version="Visual Studio 2015";e.YesText="Yes";e.Publisher_ExtensionGrid_ViewExtensionText="View Extension";e.ScreenshotCarouselAriaLabel="Screenshot for extension.";e.RenewalMonth="Renews on";e.SubscriptionsOfferTextPlural="You now have {0} {1} subscriptions.";e.Publisher_ExtensionGrid_UpdateContextMenuText="Update...";e.BuyResourceWorkflowNonAdminFirstTimePurchaseTextForPurchaseRequest="You cannot make a first time purchase for this organization as a non organization admin. However, a purchase request can be submitted to the organization admin.";e.BuyCustomizationChangeQuantityConfirmationHeader="Your subscriptions will renew automatically as follows:";e.VerifiedDomainInfo="Verify ownership of a domain that affirms your identity or brand to become a verified publisher.";e.AcquireCompletionDiscoverMoreSubscriptions="Discover more subscriptions";e.InvalidRegionForPurchaseFirstPartyUnlinkedText="Azure subscription {1} is not valid for Azure DevOps organizations in {0} region. {2}";e.InvalidRegionForPurchaseFirstPartyUnlinkedLink="https://go.microsoft.com/fwlink/?linkid=841767";e.InvalidRegionForPurchase="Azure subscription {1} is not valid for Azure DevOps organizations in {0} region";e.InstallText="Install";e.AccountNameAriaLabel="Please enter Azure DevOps Services organization name";e.Publisher_ExtensionAvailability_PrivateSharedMultipleAccounts="Private (shared with {0})";e.PublisherDetails_BasicDetails_PublisherId_InfoButton_AriaLabel="Publisher ID info.";e.UserSummaryErrorMessage="Sorry, we are unable to load the user summary. Give it few mins and then try again.";e.BuyCustomizationStepHeaderText="Users";e.CSRDescriptionPlaceholder="Please provide a description of the problem containing 50-5000 characters.";e.ForExample="For example";e.VSOffer_ItemType_Description="Visual Studio Offer";e.QnAItemSubmitFailed="Failed to submit the {0}.";e.AcquireItemHelpText="";e.LoadedUninstallsScreenReaderMessage="Loaded uninstall events";e.StartPriceInfoForAccountBased="{0} per user with Basic access, per month (for all users in the organization)";e.Search_Element_Found="Results Found";e.PlansText="Plans";e.PublisherDetails_AdditionalInfo_AzureNamespace_AriaLabel="Azure publisher namespace";e.MultiAccountAlreadyRequested=". \u003ca href=\"{0}\" target=\"_blank\"\u003eView request\u003c/a\u003e or select another organization to proceed.";e.DownloadVSIXText="Download Extension";e.NoVersionsSelected="No versions selected";e.OfferSubscriptionType_Monthly="Monthly subscription";e.NoPricingPlansAvailable="We have not been able to locate the pricing plan associated with this extension. Do reach out to the extension’s publisher through the Q\u0026A section to inform them of the same.";e.QnAItemSubmitted="Submitted the {0} successfully.";e.Publisher_VerificationNotification_NotVerifiedInfo=" Publishing public extensions for Azure DevOps requires verification. \u003ca href=\"{0}\" target=\"_blank\"\u003eLearn more\u003c/a\u003e";e.ShareWithGroupSubText="List of all organizations the extension is shared with.";e.FileInputErrorTotalFileSize="Provided file size ({0} MB) exceeds the maximum permissible limit of {1} MB.";e.CurrencyDropdownLabel="Select currency";e.Publisher_ExtensionGrid_UnshareContextMenuText="Unshare...";e.EndSubscriptionsFetchScreenReaderText="Loaded azure subscriptions";e.CheckedYourSubscription="Validated your Azure subscription";e.ContactCustomerMessageTextAreaAriaLabel="Message to send ";e.VsErrorDialogContent="You seem to have uploaded a Visual Studio IDE extension. Provide an Azure DevOps or Visual Studio Code extension instead. \r\nIf you wish to actually upload a Visual Studio IDE extension then choose the \u0027Visual Studio\u0027 option under Upload new extension.";e.NumUsersLimitExceedMessage="Contact \u003ca href=\u0027https://go.microsoft.com/fwlink/?LinkID=703830\u0027 target=\u0027_blank\u0027\u003esupport\u003c/a\u003e if you wish to purchase for more than {0} {1}.";e.PublisherDetails_PublisherId_Contains_Disallowed_Char_Error="Publisher ID can only contain \u0027A\u0027 through \u0027Z\u0027, \u0027a\u0027 through \u0027z\u0027, \u00270\u0027 through \u00279\u0027 and \u0027-\u0027. The publisher ID must start with an alphabetic or numeric character.";e.PaymentInstrumentNotCreditCardSubscriptionLinked="Your organization is linked to an Azure subscription that doesn’t have a credit card on file. \u003ca href=\u0027https://go.microsoft.com/fwlink/?linkid=841766\u0027 target=\u0027_blank\u0027\u003eLearn how to change your subscription\u003c/a\u003e";e.ZeroSearchResultTitle="Your search for \u0027{0}\u0027 didn\u0027t match any extensions";e.OtherReason="Other Reason";e.ItemInstall="Install";e.AccountHasPaidUsers="Selected organization has paid users for this extension. Users who have this extension assigned to them can use it.";e.Publisher_ExtensionAvailability_Locked="Locked";e.OrganizationNameText="Enterprise name";e.BuyCustomizationReduceQuantityMaxQuantityErrorMessage="Under reduce quantity option, the new quantity ({1}) for {0} cannot be greater than current quantity ({2}).";e.AcquireItemCompletionLinksHeader="Additionally you can,";e.Dev15_VWDExpress="Visual Studio 2017 Express for Web";e.AssignedQuantityLabel="{0} assigned";e.Trademarks="Trademarks";e.ErrorAssociatingAzurePublisherId="Error associating Azure Publisher Namespace. Please try after some time.";e.PublisherDetails_AdditionalInfo_PublisherVerificationNeeded_Message="This publisher is currently not verified. Publishing a public Azure DevOps extension or integration requires the publisher to be verified.";e.VSVersionsInfo="This details the Visual Studio versions this extension supports. Only choose those versions for which you are certain the extension will work.";e.Dev17_Enterprise="Visual Studio 2022 Enterprise";e.CollectionId_Notpresent="No collection Id is present.";e.CannotBeEmpty="{0} cannot be empty";e.PublisherVerificationNeededWarningMessage="You need to get publisher verification done to publish public extensions";e.ChangeQuantity="Change quantity";e.PublisherVerificationPendingWarningMessage="Publisher verification has already been applied for.";e.ReportAConcern="Report a concern";e.ItemDetailsMetaDescription="Extension for {0} - {1}";e.Dev12_VPDExpress="Visual Studio 2013 Express for Windows Phone";e.ExtensionCannotBeAssignedTo="Extension cannot be assigned to:";e.FeedbackPopupContentErrorMessage="Error submitting your feedback at this moment. Please try again after some time.";e.Publisher_Create_Publisher_Text="Create publisher";e.SwitchBackText="You can switch back anytime.";e.SearchBoxWatermark="[All]";e.EulaContent_Microsoft_Preview_CustomLicense="By clicking Confirm, you agree on behalf of all users in the {0} that this extension is provided as a Preview under this {2}.";e.Publisher_VerificationNotification_VerifiedInfo=" You can publish public items to the Marketplace.";e.Publisher_ExtensionGrid_UpdateContextMenuTitle="Update";e.PaymentInstrumentNotCreditCardSubscriptionLinkedLinkText="Learn how to change your subscription";e.SubCategoriesLabel="Categories";e.ConfirmRequestText="Request Install";e.Dev14_Isolated="Visual Studio 2015 (Isolated)";e.RatingPrivacyText="Your review will be posted publicly as {0}";e.Private_Description="This is a private extension and not publicly listed in Marketplace.";e.InstalledAndInTrial="Installed and in trial for {0} more days";e.Dev17_Community="Visual Studio 2022 Community";e.DoneStepHeaderText="Done";e.StartAccountValidationScreenReaderText="Validating selected organization";e.ScopeError="Permission section could not be loaded";e.DownloadInstructionsTitle="To install \u0027{0}\u0027 perform the following steps:";e.AboutYouHeader="About you";e.Dev10_IntegratedShell="Visual Studio Integrated Shell";e.VSProfessionalSubscriptionName="Visual Studio Professional";e.VSProfessionalSubscriptionDesc="Turn your ideas into apps for iOS, macOS, Android, Linux, and Windows. Share code, track work, and ship software both on premises and using the cloud. Visual Studio Professional monthly is a cost-effective solution that gives you the tools and services you need to get started quickly, on PC and Mac.";e.Dev10_Ultimate="Visual Studio Ultimate";e.VSCategories_Framework_Title="Framework \u0026 Libraries";e.Dev8Version="Visual Studio 2005";e.Publisher_UploadDialog_VerifySource="Make sure it is from {0} or another trusted source.";e.AccountLinkedToSubscription="This organization is linked to Azure subscription";e.VSSAccountSelectionHeader="Select Organization";e.PublisherProfileNoExtensionMessage="Publisher has not uploaded any public extension yet!";e.VSS_PurchaseOffer_Completed_Email_Message="We have sent you an email confirmation to";e.Price_Unit_Month="month";e.RemoveSpendingLimit="Remove your spending limit";e.CategoryTitle="{0} Extensions - {1}";e.VSEnterpriseNote="* Includes dev/test software, monthly Azure credits and additional subscriber benefits. \u003ca href=\"https://go.microsoft.com/fwlink/?LinkID=699291\u0026clcid=0x409\" aria-label=\"Compare prices for Visual Studio Enterprise\" class=\"{0}\" target=\"_blank\"\u003eCompare\u003c/a\u003e \u003ci class=\"bowtie-icon bowtie-navigate-external\"\u003e\r\n      \u003c/i\u003e ";e.PublisherProfileNullMessage="Publisher not found";e.ErrorPurchaseDetailsScreenReaderText="Loading of your purchase Detail failed";e.PublisherCertification_CertificationRevoked_Status_Text="Your Top Publisher label has been revoked.";e.TemplateTypeExtensionPriceCheck="Template type extensions must be free i.e. it cannot be paid or in trial";e.PublisherCertification_CertificationPending_Status_Text="Waiting for approval from Marketplace.";e.SubscriptionsOfferTextSingular="You now have 1 {0} subscription.";e.Price_Unit_Annum="year";e.MarketplaceExtension="Learn More about getting extensions and resources";e.ApplicableUsersHelpText="This extension can be assigned to any user except stakeholders.";e.VSPublishErrorMessage=" {0}: {1}.";e.TagsInfo="This is a list of keywords or terms associated with this extension. Tags help improve the searchability of an extension on Marketplace.";e.Publisher_ExtensionAvailability_Public="Public";e.CategoryLabel="Type";e.SubscriptionSelectionHeader="Set up billing information";e.SubscriptionSelectionStepHeaderText="Billing";e.DomainVerificationStepsHeader="Add a DNS TXT record";e.SubscriptionCannotBeUsedForPurchaseLinkedLink="https://go.microsoft.com/fwlink/?linkid=841764";e.SubscriptionCannotBeUsedForPurchaseLinkedText="Azure subscription {0} cannot be used to purchase.  {1}";e.ShortDescriptionInfo="This is a short description for your extension. Use it to briefly explain what the extension does.";e.OtherItemCategory="Other";e.ItemOverviewAbsentString="No overview has been entered by publisher";e.Dev11Version="Visual Studio 2012";e.UsersText="Users";e.InternalNamePlaceholder="Provide an alphanumeric internal name. Ex: ext123";e.EnterpriseAgreementOverageText="This purchase will be billed as an overage on your Enterprise Agreement.";e.Publisher_ExtensionGrid_EditContextMenuText="Edit";e.LoadingMoreQuestionsSucceeded="Successfully loaded more questions.";e.ErrorPriceNotAvailable="We\u0027re sorry, we are unable to fetch the price for the product at this time!";e.BuyCustomizationConfirmationTextSelectedPlanInfoWithoutCurrency="Selecting {0} users plan.";e.ExtensionUploaded="Extension uploaded.";e.FailureValidatingYourSubscription="Validating your Azure subscription failed";e.LoadedAzureSubscriptionsMessage="Loaded your Azure subscription(s)";e.Publisher_ExtensionGrid_ShareButtonLabel="Share";e.CategoryPlaceholder="Select an extension type";e.TagLabel="Tags";e.QnASectionTextForCustomRedirection="support page";e.Publisher_ExtensionGrid_CertificateContextMenuText="Certificate";e.ReportsPageTitle="Reports";e.SwapSubscriptionConfirmation="I confirm this billing change. It will take effect immediately.";e.VSS_BuyExtension_AssignUsers="Assign Users";e.LoadingAccountsMessage="Loading your organization(s)";e.AboutYouAdditionalInfo="We will use this information to populate your publisher profile page";e.SubscriptionCannotBeUsedForPurchaseLinkedLinkText="Learn how to change your subscription";e.StartCollectionValidationScreenReaderText="Validating selected collection";e.Assign_Subscriptions="Assign subscriptions";e.PublisherDetails_Save_Details_Error_Dialog_Header="Error while saving details";e.ManageUsersButtonText="Manage users";e.Dev11_Premium="Visual Studio 2012 Premium";e.VSS_Install_RequestButtonText="Request";e.AcquisitionPagePublisher="Publisher";e.PaymentInstrumentNotCreditCardSubscriptionLinkedLink="https://go.microsoft.com/fwlink/?linkid=841766";e.PaymentInstrumentNotCreditCardSubscriptionLinkedText="Your organization is linked to an Azure subscription that doesn’t have a credit card on file. {0}";e.ActionDisabled="Action is disabled for this extension";e.PurchaseRequest_ErrorMessage="Sorry, we are having problems in completing your request. Give it a few minutes and then please try again. Error: {0}";e.NotAdminForSubscriptionLinkText="backup billing manager for your Azure DevOps organization.";e.CancelMsgNewForByol="We suggest you cancel this billing brought to you by Microsoft for this extension and instead move to the billing and licensing mechanism newly supported by this extension.";e.TrialAcquisitionSuccessMessage="All users with Basic access can use this extension free for the next {0} days until ";e.ExtensionLogoLabel="Logo";e.EditReviewButtonText="Edit my review";e.EnterYourReviewHereText="Please enter your review here";e.PurchaseRequestFlowPcaMessageFirstParty="The following purchase(s) will be renewed on the selected subscription starting next month:";e.VSCategories_Framework_MigratedTitle="Controls/Framework \u0026 Libraries";e.AccountBasedPurchaseBuyConfirmationText="You will be billed {0} for {1} users";e.PublisherDetails_AdditionalInfo_PublisherVerified_Message="You are verified and can publish public Azure DevOps extensions.";e.VSCodeDownloadDescription="Get Visual Studio Code Now";e.PaidQuantityLabel="{0} paid";e.PackageManagementBillingInfoHosted="The first 5 users are free.";e.PricingNotAvailable="\u003ca href=\"https://go.microsoft.com/fwlink/?LinkID=698602\" target=\"_blank\"\u003eSee pricing calculator\u003c/a\u003e";e.ConfirmUnshareText="Confirm unshare";e.Dev15_Enterprise="Visual Studio 2017 Enterprise";e.Publisher_ExtensionGrid_UnpublishContextMenuTitle="Unpublish";e.Header_PartnerProgram="Partner Program";e.InTrial="In trial for {0} more days";e.BuyCustomizationConfirmationTextTeamSizeInfo="{0} has to be purchased for all {1} users in your organization.\u003cbr/\u003e";e.NoSubscriptionsToSwapIntro="We couldn\u0027t find an Azure subscription on which you have adequate permissions to proceed.";e.AccountInADifferentDirectoryFromLinkedSubscriptionMessage="The Microsoft Entra tenant of {0} is not the same as the subscription linked to it. {1}";e.EditVSExtension="Edit {0} extension by {1}";e.MembersTabRoleHeader="Role";e.StartCollectionFetchingScreenReaderText="Fetching your collections";e.SuggestionsListDifferentCategoryText="Try a different category";e.PublisherReplyButtonText="Reply";e.AuthTokenValidationError="Attempt to set invalid connected server context.";e.Publisher_UploadDialog_Instructions_New="Ensure you have packaged your extension into a VSIX first.";e.PublisherCompanyLinkedInUrlInputLabel="LinkedIn";e.ExtensionUpload="Upload extension";e.Publisher_ExtensionAvailability_Private="Private";e.DowngradeMsgNew="The new monthly billing amount and reduced {0} will take effect on the 1st of the next month.";e.DisabledSubscriptionLinkText="Azure Billing portal.";e.Visibility="Visibility";e.CreateNewAccountCallbackMessage="creating new organization";e.PublisherExtensionList_NoPermission_Message="You don\u0027t have permissions to manage extensions.";e.TargetPlatformFilterOption_Web_Key="web";e.AcquisitionCompleteScreenReaderMessage="Acquisition completed successfully";e.XamarinUniversityTileCostDuration="(billed monthly)";e.UpdatingText="Updating";e.Publisher_ExtensionGrid_RemoveContextMenuTitle="Remove";e.CancelAddUserButtonText="Close";e.Publisher_ExtensionGrid_PublishContextMenuText="Publish...";e.UploadedIcon="Uploaded icon.";e.DomainInfo="Domain: ";e.DomainText="domain";e.ValueCannotBeEmpty="{0} cannot be empty";e.CreatePublisher_LoginSection_Title="Login details";e.FetchingAcquisitionScreenReaderMessage="Fetching acquisition data";e.EulaContent_OnlineServiceTerms="Microsoft Online Services Terms";e.AquireItemWizardHeader="Complete your purchase in {0} simple steps";e.PricingLabel="Pricing category";e.UploadIconError="Error during icon upload.";e.ServerCollectionHeader="{0} / {1}";e.VSS_RequestItemHeader="Provide reason for requesting the installation:";e.BuyCustomizationConfirmationTextWithoutCurrency="Quantity selected: {0}";e.FieldCannotBeParsed="{0} is not in the correct format";e.AccountSelectionHelpTextForPurchase="Select an Azure DevOps organization for which you would like to purchase:";e.ReasonCode="Reason Code";e.Dev10_VCSExpress="Visual C# Express";e.PageNotFoundError="We\u0027re sorry, the page you requested cannot be found.";e.ExtensionList_TargetPlatforms_Column_AriaLabel="Supported Target Platforms";e.LoadedUsersSalesTransactionsScreenReaderMessage="Loaded users sales transactions data";e.OnPremGalleryPageTitle="Available extensions - Azure DevOps Server";e.Dev15_Community="Visual Studio 2017 Community";e.InstallingText="Installing";e.PricingPlaceholder="Select an pricing category";e.EditExperienceInVSGallery="This extension was initially uploaded to Visual Studio Gallery. For now, it continues to be updated and managed there itself. We will shortly move this capability also to Marketplace.";e.InstallFailed_ErrorMessaage="Sorry, we are unable to complete the install. Give it a few minutes and then please try again.";e.SubscriptionsSectionHeader="Annual and Monthly subscriptions";e.RoleAssignmentUserText="User";e.ErrorUploadDialogHeader="Upload Error";e.ActiveUsersQuantityText="You have {0} Active users in the organization.";e.VSProfessionalMonthlyCost="$45/month";e.PublisherDetails_PublisherName_Empty_Error="The publisher name cannot be empty.";e.Publisher_QuickStart_ShareGuideBubbleExtensionContentHtml="To try out your extension share it with an organization you own.";e.SubscriptionPickerInformationText="To purchase from the Visual Studio Marketplace, you need an eligible Azure subscription.";e.NotAdminForSubscriptionLink="https://go.microsoft.com/fwlink/?linkid=841765";e.NotAdminForSubscriptionText="You do not have adequate permissions to make purchases with this Azure subscription. {0}";e.VSCategories_SeeAll_Title="See all";e.PublisherTitle="Manage Extensions";e.PublisherTerms="publisher\u0027s terms";e.ErrorSubscriptionsFetchScreenReaderText="Loading of azure subscriptions failed";e.VSCodeIntroText="New to Visual Studio Code?";e.PurchaseFailedDetailedErrorMessage="Error: {0}.\u003cbr\u003ePlease try the \u003ca href=\"https://aka.ms/vsmarketplace-faq\" target=\"_blank\"\u003etroubleshooting guide\u003c/a\u003e to fix this issue.";e.CSRReasonErrorMessage="Enter a valid reason.";e.ConvertToMarkdown="Convert to markdown";e.SwitchDomainMessage="Select the directory to be associated with your publisher.";e.VSProfessional="Visual Studio Professional ({0})";e.Leave_Button_Text="Leave";e.Dev10_Premium="Visual Studio Premium";e.AzurePublisherRetrievalError="Error in retrieving Azure Publisher Namespace information. Please try after some time.";e.ErrorLinkedSubscriptionValidationScreenReaderText="Validation of your linked azure subscription failed";e.RemoveDailogHeader="Are you absolutely sure?";e.OrgFilterOptions_Internal="Microsoft Internal";e.ItemShareExtension="extension";e.UnshareConfirmationOrganizationText="This operation will uninstall this extension from the organization: {0}. Are you sure you wish to continue?";e.InsufficientPrivileges="This login does not have sufficient permissions to proceed further. Contact the admin of this organization for further action.";e.FailedToRetrieveRoles="Failed to retrieve security roles";e.PreviewInfo="This specifies whether this extension is in preview or not. This will show up on the extension page.";e.FailedToRetrieveRoleAssignments="Failed to retrieve role assignments";e.ExtensionList_DisplayName_Column_AriaLabel="Extension display name.";e.PurchaseRequestJustification="Provide justification";e.DeveloperSamplesCategory="Developer samples";e.OrgFilterOptions_Public="Public";e.PricingPlanForResource="Find pricing details in this resource’s {0}";e.VSCategories_Language_Title="Programming Languages";e.BuyCustomizationBuyMoreMinQuantityErrorMessage="Under buy more option, the new quantity ({0}) cannot be less than the current quantity ({1}).";e.Dev16_VSWinExpress="Visual Studio 2019 Express for Windows 10";e.CSPPricingMsg="Pricing available through Azure usage based price list for CSP";e.VersionsLabel="Supported Visual Studio versions";e.Assign_Purchase="Assign one subscription to me";e.StartFetchingPurchaseDetailsScreenReaderMessage="Fetching purchase details";e.AssetNameIncorrect="Payload name cannot contain spaces or special characters";e.None_Label="None";e.TotalIncludeText="Total above includes users with these subscriptions:";e.BilledToSubscription="You will be billed to this Azure subscription:";e.VisualStudioVersionMenuItemText="Visual Studio {0}";e.AcquisitionOptOutText="You are leveraging the new acquisition experience for this resource. To switch back to the previous experience, ";e.ExtensionUnavailableForTFS="This extension is currently unavailable for Azure DevOps Server.";e.UserSummary="User summary ({0})";e.ItemDetailsPricingTab="Pricing";e.QnASectionTextForGithubRedirection="GitHub repository";e.QnAUserNameAndDateText="By {0} {1}";e.Publisher_ExtensionAvailability_Unpublished="Unpublished";e.AnnualOfferBuyMoreMessage="Your subscription(s) will renew automatically each year, starting on {0}.";e.UnknownFailedPurchaseReasonCode="Unknown failed purchase reason code: {0}.";e.AlreadyInstalledWithoutIncludedQuantity="This extension is already installed and can be used by Visual Studio Enterprise, Test Professional or MSDN Platforms subscribers.";e.CategoryInfo="This is the type for this extension\r\n";e.EditionsLabel="Supported Visual Studio editions";e.AssociateAzurePublisherIdMenuText="Associate Azure Publisher Namespace...";e.Dev15_IntegratedShell="Visual Studio 2017 (Integrated)";e.HeaderProductNameOnPrem="Azure DevOps Server";e.LearnMoreLinkAcq="https://aka.ms/azdo/high-privilege-extensions";e.CreatePublisher_PublisherAgreement_Label="By proceeding, you agree to the {0}.";e.GeneralSettingsPermissionDeniedMessage="You do not have permission to change these settings.";e.ResourceBuySuccessMessageForPaid="You now have {0} {1} in your organization:";e.BuyCustomizationConfirmationText="You have selected {0} {1} for {2}";e.LoadingSubscription_ErrorMessage="Sorry, we are unable to load Azure subscriptions. Give it a few minutes and then please try again.";e.SeparatorText=" | ";e.ManageMembersAriaLabel="Manage members of publisher";e.AzurePublisherIdPlaceholder="Enter Azure Publisher Namespace";e.CheckingYourSubscription="Checking your Azure subscription";e.StartFreeTrial="Start free trial";e.PublisherSourceCodeLinkAriaLabel="Publisher\u0027s source code account link";e.ExtensionBuySuccessMessage="You can now assign {1} to {0} user(s) in your organization:";e.ErrorRemoveDialogHeader="Remove Error ";e.ExtensionList_Availability_Column_AriaLabel="Extension availability.";e.Dev12_Premium="Visual Studio 2013 Premium";e.EmptyEmailError="Please enter email address";e.TfsExtensions="Azure DevOps Server Extensions";e.Publisher_ExtensionGrid_InstallsColumnText="Installs";e.PublisherDetails_AdditionalInfo_AzureNamespace_CannotBeEmpty="You cannot delete an already associated Azure publisher namespace ID. You can only update it to a newer value.";e.CannotDecrementVersion="Version cannot be decremented. Needs to be equal to or higher than {0}.";e.TryEarlyPreviewText="Try it out.";e.TeamServicesIntegrationItemTypeDescription="Team Services Integration";e.ErrorAccountFetchingScreenReaderText="Loading of your organizations failed";e.ImproveTruncateError="You have run into an unexpected error (401). This could be due to your client proxy. We recommend you try again. If the issue persists then try this acquisition from a different network.";e.RemoveIcon="Remove icon";e.Dev10_VWDExpress="Visual Web Developer Express";e.ItemDetailsLastCommitString="Last commit: {0}";e.Publisher_ExtensionGrid_RemoveConfirm_Public="Do you want to remove {0}? This item is public and will no longer be available to users that have installed it. Confirm by typing the ID of the extension ({1}) and clicking Remove.";e.VSSCollectionAlreadyRequestedText="You have already requested this extension for collection: {0}";e.Link="Link";e.Jobs="Jobs";e.PurchaseRequestDefaultJustification="Purchase Request...";e.GalleryItemEditLinkDisplayName="Edit";e.AddButtonText="Add";e.HeaderVisualStudio=" Visual Studio  ";e.HostedOnFilterOption_Any="Any";e.ScopesInfoText="The extension uses the following permissions:";e.ExtensionShareOrganizationText=" (Enterprise)";e.MarketplaceLogoText="Marketplace logo";e.Publisher_VerificationNotification_NotVerifiedInfo_If_UnVerifiedAllowed=" Please go through the verification process. \u003ca href=\"{0}\" target=\"_blank\"\u003eLearn more\u003c/a\u003e";e.QnASectionTextForRedirectionEnd=" for extension related questions.";e.VSCodeInstallInstructions="Launch VS Code Quick Open (\u003ccode\u003e{0}+P\u003c/code\u003e), paste the following command, and press enter.";e.SDKTypeExtensionsNeedSDKCategory="SDK extension need to have the SDK category";e.OverviewSVGError="{0} cannot contain a link to an svg file";e.EndPackageCompatCheckScreenReaderMessage="Downloading completed";e.ValueContainsIllegalChracters="{0} contains non-permitted characters";});

// Copyright (C) Microsoft Corporation. All rights reserved.
define("Gallery/Client/Service/VSSCommerce/IVSSCommerce",["require","exports"],function(n,t){var r,u,f,e,o,s,i,h;Object.defineProperty(t,"__esModule",{value:!0});t.ResourceRenewalGroup=t.CommerceConstants=t.SubscriptionConstants=t.SubscriptionErrorReason=t.PricingType=t.LicenseLevel=t.OfferType=t.UserType=void 0,function(n){n[n.EarlyAdopter=0]="EarlyAdopter";n[n.Express=1]="Express";n[n.AccountProfessional=2]="AccountProfessional";n[n.Advanced=3]="Advanced";n[n.Stakeholder=4]="Stakeholder";n[n.Eligible=5]="Eligible";n[n.MsdnProfessional=6]="MsdnProfessional";n[n.Platforms=7]="Platforms";n[n.TestProfessional=8]="TestProfessional";n[n.Premium=9]="Premium";n[n.Ultimate=10]="Ultimate";n[n.Enterprise=11]="Enterprise"}(r=t.UserType||(t.UserType={})),function(n){n[n.None=0]="None";n[n.Standard=1]="Standard";n[n.Ea=2]="Ea";n[n.Msdn=3]="Msdn";n[n.Csp=4]="Csp";n[n.Unsupported=99]="Unsupported"}(u=t.OfferType||(t.OfferType={})),function(n){n[n.Stakeholders=0]="Stakeholders";n[n.Express=1]="Express"}(f=t.LicenseLevel||(t.LicenseLevel={})),function(n){n[n.PerUser=0]="PerUser";n[n.PerPlan=1]="PerPlan"}(e=t.PricingType||(t.PricingType={})),function(n){n[n.None=0]="None";n[n.MonetaryLimitSet=1]="MonetaryLimitSet";n[n.InvalidOfferCode=2]="InvalidOfferCode";n[n.NotAdminOrCoAdmin=3]="NotAdminOrCoAdmin";n[n.InvalidRegionPurchase=4]="InvalidRegionPurchase";n[n.PaymentInstrumentNotCreditCard=5]="PaymentInstrumentNotCreditCard";n[n.InvalidOfferRegion=6]="InvalidOfferRegion";n[n.UnsupportedSubscription=7]="UnsupportedSubscription";n[n.DisabledSubscription=8]="DisabledSubscription";n[n.InvalidUser=9]="InvalidUser";n[n.NotSubscriptionUser=10]="NotSubscriptionUser";n[n.UnsupportedSubscriptionCsp=11]="UnsupportedSubscriptionCsp";n[n.TemporarySpendingLimit=12]="TemporarySpendingLimit";n[n.AzureServiceError=13]="AzureServiceError";n[n.TenantMismatch=100]="TenantMismatch";n[n.PermissionIssue=101]="PermissionIssue";n[n.Unknown=1e3]="Unknown"}(o=t.SubscriptionErrorReason||(t.SubscriptionErrorReason={})),function(n){n.EmptyGuid="00000000-0000-0000-0000-000000000000";n.SPSGuid="951917ac-a960-4999-8464-e3f0aa25b381";n.TFSGuid="00025394-6065-48ca-87d9-7f5672854ef7";n.COMMERCEGuid="00000047-0000-8888-8000-000000000000"}(s=t.SubscriptionConstants||(t.SubscriptionConstants={}));i=function(){function n(){}return n.InvalidPrice=-1,n.CreateNewSubscriptionEvent="CreateNewSubscriptionEvent",n.PurchaseRequestInitiateEvent="PurchaseRequestInitiateEvent",n}();t.CommerceConstants=i,function(n){n[n.Monthly=0]="Monthly";n[n.Jan=1]="Jan";n[n.Feb=2]="Feb";n[n.Mar=3]="Mar";n[n.Apr=4]="Apr";n[n.May=5]="May";n[n.Jun=6]="Jun";n[n.Jul=7]="Jul";n[n.Aug=8]="Aug";n[n.Sep=9]="Sep";n[n.Oct=10]="Oct";n[n.Nov=11]="Nov";n[n.Dec=12]="Dec"}(h=t.ResourceRenewalGroup||(t.ResourceRenewalGroup={}))});

define("VSS/Gallery/Contracts",["require","exports"],function(n,t){"use strict";var i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt;Object.defineProperty(t,"__esModule",{value:!0});t.TypeInfo=t.VSCodeWebExtensionStatisicsType=t.SortOrderType=t.SortByType=t.ReviewResourceType=t.ReviewPatchOperation=t.ReviewFilterOptions=t.ReviewEventOperation=t.RestApiResponseStatus=t.QnAItemStatus=t.PublisherState=t.PublisherRoleAccess=t.PublisherQueryFlags=t.PublisherPermissions=t.PublisherFlags=t.PublishedExtensionFlags=t.PagingDirection=t.NotificationTemplateType=t.ExtensionVersionFlags=t.ExtensionStatsAggregateType=t.ExtensionStatisticOperation=t.ExtensionQueryFlags=t.ExtensionQueryFilterType=t.ExtensionPolicyFlags=t.ExtensionLifecycleEventType=t.ExtensionDeploymentTechnology=t.DraftStateType=t.DraftPatchOperation=t.ConcernCategory=t.AcquisitionOperationType=t.AcquisitionOperationState=t.AcquisitionAssignmentType=void 0,function(n){n[n.None=0]="None";n[n.Me=1]="Me";n[n.All=2]="All"}(i=t.AcquisitionAssignmentType||(t.AcquisitionAssignmentType={})),function(n){n[n.Disallow=0]="Disallow";n[n.Allow=1]="Allow";n[n.Completed=3]="Completed"}(r=t.AcquisitionOperationState||(t.AcquisitionOperationState={})),function(n){n[n.Get=0]="Get";n[n.Install=1]="Install";n[n.Buy=2]="Buy";n[n.Try=3]="Try";n[n.Request=4]="Request";n[n.None=5]="None";n[n.PurchaseRequest=6]="PurchaseRequest"}(u=t.AcquisitionOperationType||(t.AcquisitionOperationType={})),function(n){n[n.General=1]="General";n[n.Abusive=2]="Abusive";n[n.Spam=4]="Spam"}(f=t.ConcernCategory||(t.ConcernCategory={})),function(n){n[n.Publish=1]="Publish";n[n.Cancel=2]="Cancel"}(e=t.DraftPatchOperation||(t.DraftPatchOperation={})),function(n){n[n.Unpublished=1]="Unpublished";n[n.Published=2]="Published";n[n.Cancelled=3]="Cancelled";n[n.Error=4]="Error"}(o=t.DraftStateType||(t.DraftStateType={})),function(n){n[n.Exe=1]="Exe";n[n.Msi=2]="Msi";n[n.Vsix=3]="Vsix";n[n.ReferralLink=4]="ReferralLink"}(s=t.ExtensionDeploymentTechnology||(t.ExtensionDeploymentTechnology={})),function(n){n[n.Uninstall=1]="Uninstall";n[n.Install=2]="Install";n[n.Review=3]="Review";n[n.Acquisition=4]="Acquisition";n[n.Sales=5]="Sales";n[n.Other=999]="Other"}(h=t.ExtensionLifecycleEventType||(t.ExtensionLifecycleEventType={})),function(n){n[n.None=0]="None";n[n.Private=1]="Private";n[n.Public=2]="Public";n[n.Preview=4]="Preview";n[n.Released=8]="Released";n[n.FirstParty=16]="FirstParty";n[n.All=31]="All"}(c=t.ExtensionPolicyFlags||(t.ExtensionPolicyFlags={})),function(n){n[n.Tag=1]="Tag";n[n.DisplayName=2]="DisplayName";n[n.Private=3]="Private";n[n.Id=4]="Id";n[n.Category=5]="Category";n[n.ContributionType=6]="ContributionType";n[n.Name=7]="Name";n[n.InstallationTarget=8]="InstallationTarget";n[n.Featured=9]="Featured";n[n.SearchText=10]="SearchText";n[n.FeaturedInCategory=11]="FeaturedInCategory";n[n.ExcludeWithFlags=12]="ExcludeWithFlags";n[n.IncludeWithFlags=13]="IncludeWithFlags";n[n.Lcid=14]="Lcid";n[n.InstallationTargetVersion=15]="InstallationTargetVersion";n[n.InstallationTargetVersionRange=16]="InstallationTargetVersionRange";n[n.VsixMetadata=17]="VsixMetadata";n[n.PublisherName=18]="PublisherName";n[n.PublisherDisplayName=19]="PublisherDisplayName";n[n.IncludeWithPublisherFlags=20]="IncludeWithPublisherFlags";n[n.OrganizationSharedWith=21]="OrganizationSharedWith";n[n.ProductArchitecture=22]="ProductArchitecture";n[n.TargetPlatform=23]="TargetPlatform";n[n.ExtensionName=24]="ExtensionName"}(l=t.ExtensionQueryFilterType||(t.ExtensionQueryFilterType={})),function(n){n[n.None=0]="None";n[n.IncludeVersions=1]="IncludeVersions";n[n.IncludeFiles=2]="IncludeFiles";n[n.IncludeCategoryAndTags=4]="IncludeCategoryAndTags";n[n.IncludeSharedAccounts=8]="IncludeSharedAccounts";n[n.IncludeVersionProperties=16]="IncludeVersionProperties";n[n.ExcludeNonValidated=32]="ExcludeNonValidated";n[n.IncludeInstallationTargets=64]="IncludeInstallationTargets";n[n.IncludeAssetUri=128]="IncludeAssetUri";n[n.IncludeStatistics=256]="IncludeStatistics";n[n.IncludeLatestVersionOnly=512]="IncludeLatestVersionOnly";n[n.UseFallbackAssetUri=1024]="UseFallbackAssetUri";n[n.IncludeMetadata=2048]="IncludeMetadata";n[n.IncludeMinimalPayloadForVsIde=4096]="IncludeMinimalPayloadForVsIde";n[n.IncludeLcids=8192]="IncludeLcids";n[n.IncludeSharedOrganizations=16384]="IncludeSharedOrganizations";n[n.IncludeNameConflictInfo=32768]="IncludeNameConflictInfo";n[n.IncludeLatestPrereleaseAndStableVersionOnly=65536]="IncludeLatestPrereleaseAndStableVersionOnly";n[n.AllAttributes=16863]="AllAttributes"}(a=t.ExtensionQueryFlags||(t.ExtensionQueryFlags={})),function(n){n[n.None=0]="None";n[n.Set=1]="Set";n[n.Increment=2]="Increment";n[n.Decrement=3]="Decrement";n[n.Delete=4]="Delete"}(v=t.ExtensionStatisticOperation||(t.ExtensionStatisticOperation={})),function(n){n[n.Daily=1]="Daily"}(y=t.ExtensionStatsAggregateType||(t.ExtensionStatsAggregateType={})),function(n){n[n.None=0]="None";n[n.Validated=1]="Validated";n[n.Prerelease=2]="Prerelease"}(p=t.ExtensionVersionFlags||(t.ExtensionVersionFlags={})),function(n){n[n.ReviewNotification=1]="ReviewNotification";n[n.QnaNotification=2]="QnaNotification";n[n.CustomerContactNotification=3]="CustomerContactNotification";n[n.PublisherMemberUpdateNotification=4]="PublisherMemberUpdateNotification"}(w=t.NotificationTemplateType||(t.NotificationTemplateType={})),function(n){n[n.Backward=1]="Backward";n[n.Forward=2]="Forward"}(b=t.PagingDirection||(t.PagingDirection={})),function(n){n[n.None=0]="None";n[n.Disabled=1]="Disabled";n[n.BuiltIn=2]="BuiltIn";n[n.Validated=4]="Validated";n[n.Trusted=8]="Trusted";n[n.Paid=16]="Paid";n[n.Public=256]="Public";n[n.MultiVersion=512]="MultiVersion";n[n.System=1024]="System";n[n.Preview=2048]="Preview";n[n.Unpublished=4096]="Unpublished";n[n.Trial=8192]="Trial";n[n.Locked=16384]="Locked";n[n.Hidden=32768]="Hidden"}(k=t.PublishedExtensionFlags||(t.PublishedExtensionFlags={})),function(n){n[n.UnChanged=1073741824]="UnChanged";n[n.None=0]="None";n[n.Disabled=1]="Disabled";n[n.Verified=2]="Verified";n[n.Certified=4]="Certified";n[n.ServiceFlags=7]="ServiceFlags"}(d=t.PublisherFlags||(t.PublisherFlags={})),function(n){n[n.Read=1]="Read";n[n.UpdateExtension=2]="UpdateExtension";n[n.CreatePublisher=4]="CreatePublisher";n[n.PublishExtension=8]="PublishExtension";n[n.Admin=16]="Admin";n[n.TrustedPartner=32]="TrustedPartner";n[n.PrivateRead=64]="PrivateRead";n[n.DeleteExtension=128]="DeleteExtension";n[n.EditSettings=256]="EditSettings";n[n.ViewPermissions=512]="ViewPermissions";n[n.ManagePermissions=1024]="ManagePermissions";n[n.DeletePublisher=2048]="DeletePublisher"}(g=t.PublisherPermissions||(t.PublisherPermissions={})),function(n){n[n.None=0]="None";n[n.IncludeExtensions=1]="IncludeExtensions";n[n.IncludeEmailAddress=2]="IncludeEmailAddress"}(nt=t.PublisherQueryFlags||(t.PublisherQueryFlags={})),function(n){n[n.Assigned=1]="Assigned";n[n.Inherited=2]="Inherited"}(tt=t.PublisherRoleAccess||(t.PublisherRoleAccess={})),function(n){n[n.None=0]="None";n[n.VerificationPending=1]="VerificationPending";n[n.CertificationPending=2]="CertificationPending";n[n.CertificationRejected=4]="CertificationRejected";n[n.CertificationRevoked=8]="CertificationRevoked"}(it=t.PublisherState||(t.PublisherState={})),function(n){n[n.None=0]="None";n[n.UserEditable=1]="UserEditable";n[n.PublisherCreated=2]="PublisherCreated"}(rt=t.QnAItemStatus||(t.QnAItemStatus={})),function(n){n[n.Completed=0]="Completed";n[n.Failed=1]="Failed";n[n.Inprogress=2]="Inprogress";n[n.Skipped=3]="Skipped"}(ut=t.RestApiResponseStatus||(t.RestApiResponseStatus={})),function(n){n[n.Create=1]="Create";n[n.Update=2]="Update";n[n.Delete=3]="Delete"}(ft=t.ReviewEventOperation||(t.ReviewEventOperation={})),function(n){n[n.None=0]="None";n[n.FilterEmptyReviews=1]="FilterEmptyReviews";n[n.FilterEmptyUserNames=2]="FilterEmptyUserNames"}(et=t.ReviewFilterOptions||(t.ReviewFilterOptions={})),function(n){n[n.FlagReview=1]="FlagReview";n[n.UpdateReview=2]="UpdateReview";n[n.ReplyToReview=3]="ReplyToReview";n[n.AdminResponseForReview=4]="AdminResponseForReview";n[n.DeleteAdminReply=5]="DeleteAdminReply";n[n.DeletePublisherReply=6]="DeletePublisherReply"}(ot=t.ReviewPatchOperation||(t.ReviewPatchOperation={})),function(n){n[n.Review=1]="Review";n[n.PublisherReply=2]="PublisherReply";n[n.AdminReply=3]="AdminReply"}(st=t.ReviewResourceType||(t.ReviewResourceType={})),function(n){n[n.Relevance=0]="Relevance";n[n.LastUpdatedDate=1]="LastUpdatedDate";n[n.Title=2]="Title";n[n.Publisher=3]="Publisher";n[n.InstallCount=4]="InstallCount";n[n.PublishedDate=5]="PublishedDate";n[n.AverageRating=6]="AverageRating";n[n.TrendingDaily=7]="TrendingDaily";n[n.TrendingWeekly=8]="TrendingWeekly";n[n.TrendingMonthly=9]="TrendingMonthly";n[n.ReleaseDate=10]="ReleaseDate";n[n.Author=11]="Author";n[n.WeightedRating=12]="WeightedRating"}(ht=t.SortByType||(t.SortByType={})),function(n){n[n.Default=0]="Default";n[n.Ascending=1]="Ascending";n[n.Descending=2]="Descending"}(ct=t.SortOrderType||(t.SortOrderType={})),function(n){n[n.Install=1]="Install";n[n.Update=2]="Update";n[n.Uninstall=3]="Uninstall"}(lt=t.VSCodeWebExtensionStatisicsType||(t.VSCodeWebExtensionStatisicsType={}));t.TypeInfo={AcquisitionAssignmentType:{enumValues:{none:0,me:1,all:2}},AcquisitionOperation:{},AcquisitionOperationState:{enumValues:{disallow:0,allow:1,completed:3}},AcquisitionOperationType:{enumValues:{get:0,install:1,buy:2,"try":3,request:4,none:5,purchaseRequest:6}},AcquisitionOptions:{},AzureRestApiResponseModel:{},Concern:{},ConcernCategory:{enumValues:{general:1,abusive:2,spam:4}},CustomerLastContact:{},CustomerSupportRequest:{},DraftPatchOperation:{enumValues:{publish:1,cancel:2}},DraftStateType:{enumValues:{unpublished:1,published:2,cancelled:3,error:4}},ExtensionAcquisitionRequest:{},ExtensionDailyStat:{},ExtensionDailyStats:{},ExtensionDeploymentTechnology:{enumValues:{exe:1,msi:2,vsix:3,referralLink:4}},ExtensionDraft:{},ExtensionDraftPatch:{},ExtensionEvent:{},ExtensionEvents:{},ExtensionFilterResult:{},ExtensionLifecycleEventType:{enumValues:{uninstall:1,install:2,review:3,acquisition:4,sales:5,other:999}},ExtensionPayload:{},ExtensionPolicy:{},ExtensionPolicyFlags:{enumValues:{none:0,"private":1,"public":2,preview:4,released:8,firstParty:16,all:31}},ExtensionQuery:{},ExtensionQueryFilterType:{enumValues:{tag:1,displayName:2,"private":3,id:4,category:5,contributionType:6,name:7,installationTarget:8,featured:9,searchText:10,featuredInCategory:11,excludeWithFlags:12,includeWithFlags:13,lcid:14,installationTargetVersion:15,installationTargetVersionRange:16,vsixMetadata:17,publisherName:18,publisherDisplayName:19,includeWithPublisherFlags:20,organizationSharedWith:21,productArchitecture:22,targetPlatform:23,extensionName:24}},ExtensionQueryFlags:{enumValues:{none:0,includeVersions:1,includeFiles:2,includeCategoryAndTags:4,includeSharedAccounts:8,includeVersionProperties:16,excludeNonValidated:32,includeInstallationTargets:64,includeAssetUri:128,includeStatistics:256,includeLatestVersionOnly:512,useFallbackAssetUri:1024,includeMetadata:2048,includeMinimalPayloadForVsIde:4096,includeLcids:8192,includeSharedOrganizations:16384,includeNameConflictInfo:32768,includeLatestPrereleaseAndStableVersionOnly:65536,allAttributes:16863}},ExtensionQueryResult:{},ExtensionStatisticOperation:{enumValues:{none:0,set:1,increment:2,decrement:3,"delete":4}},ExtensionStatisticUpdate:{},ExtensionStatsAggregateType:{enumValues:{daily:1}},ExtensionVersion:{},ExtensionVersionFlags:{enumValues:{none:0,validated:1,prerelease:2}},NotificationsData:{},NotificationTemplateType:{enumValues:{reviewNotification:1,qnaNotification:2,customerContactNotification:3,publisherMemberUpdateNotification:4}},PagingDirection:{enumValues:{backward:1,forward:2}},PublishedExtension:{},PublishedExtensionFlags:{enumValues:{none:0,disabled:1,builtIn:2,validated:4,trusted:8,paid:16,"public":256,multiVersion:512,system:1024,preview:2048,unpublished:4096,trial:8192,locked:16384,hidden:32768}},Publisher:{},PublisherBase:{},PublisherFacts:{},PublisherFilterResult:{},PublisherFlags:{enumValues:{unChanged:1073741824,none:0,disabled:1,verified:2,certified:4,serviceFlags:7}},PublisherPermissions:{enumValues:{read:1,updateExtension:2,createPublisher:4,publishExtension:8,admin:16,trustedPartner:32,privateRead:64,deleteExtension:128,editSettings:256,viewPermissions:512,managePermissions:1024,deletePublisher:2048}},PublisherQuery:{},PublisherQueryFlags:{enumValues:{none:0,includeExtensions:1,includeEmailAddress:2}},PublisherQueryResult:{},PublisherRoleAccess:{enumValues:{assigned:1,inherited:2}},PublisherRoleAssignment:{},PublisherState:{enumValues:{none:0,verificationPending:1,certificationPending:2,certificationRejected:4,certificationRevoked:8}},QnAItem:{},QnAItemStatus:{enumValues:{none:0,userEditable:1,publisherCreated:2}},QueryFilter:{},Question:{},QuestionsResult:{},Response:{},RestApiResponseStatus:{enumValues:{completed:0,failed:1,inprogress:2,skipped:3}},RestApiResponseStatusModel:{},Review:{},ReviewEventOperation:{enumValues:{create:1,update:2,"delete":3}},ReviewEventProperties:{},ReviewFilterOptions:{enumValues:{none:0,filterEmptyReviews:1,filterEmptyUserNames:2}},ReviewPatch:{},ReviewPatchOperation:{enumValues:{flagReview:1,updateReview:2,replyToReview:3,adminResponseForReview:4,deleteAdminReply:5,deletePublisherReply:6}},ReviewReply:{},ReviewResourceType:{enumValues:{review:1,publisherReply:2,adminReply:3}},ReviewsResult:{},SortByType:{enumValues:{relevance:0,lastUpdatedDate:1,title:2,publisher:3,installCount:4,publishedDate:5,averageRating:6,trendingDaily:7,trendingWeekly:8,trendingMonthly:9,releaseDate:10,author:11,weightedRating:12}},SortOrderType:{enumValues:{"default":0,ascending:1,descending:2}},UserExtensionPolicy:{},UserReportedConcern:{},VSCodeWebExtensionStatisicsType:{enumValues:{install:1,update:2,uninstall:3}}};t.TypeInfo.AcquisitionOperation.fields={operationState:{enumType:t.TypeInfo.AcquisitionOperationState},operationType:{enumType:t.TypeInfo.AcquisitionOperationType}};t.TypeInfo.AcquisitionOptions.fields={defaultOperation:{typeInfo:t.TypeInfo.AcquisitionOperation},operations:{isArray:!0,typeInfo:t.TypeInfo.AcquisitionOperation}};t.TypeInfo.AzureRestApiResponseModel.fields={operationStatus:{typeInfo:t.TypeInfo.RestApiResponseStatusModel}};t.TypeInfo.Concern.fields={category:{enumType:t.TypeInfo.ConcernCategory},createdDate:{isDate:!0},status:{enumType:t.TypeInfo.QnAItemStatus},updatedDate:{isDate:!0}};t.TypeInfo.CustomerLastContact.fields={lastContactDate:{isDate:!0}};t.TypeInfo.CustomerSupportRequest.fields={review:{typeInfo:t.TypeInfo.Review}};t.TypeInfo.ExtensionAcquisitionRequest.fields={assignmentType:{enumType:t.TypeInfo.AcquisitionAssignmentType},operationType:{enumType:t.TypeInfo.AcquisitionOperationType}};t.TypeInfo.ExtensionDailyStat.fields={statisticDate:{isDate:!0}};t.TypeInfo.ExtensionDailyStats.fields={dailyStats:{isArray:!0,typeInfo:t.TypeInfo.ExtensionDailyStat}};t.TypeInfo.ExtensionDraft.fields={createdDate:{isDate:!0},draftState:{enumType:t.TypeInfo.DraftStateType},lastUpdated:{isDate:!0},payload:{typeInfo:t.TypeInfo.ExtensionPayload}};t.TypeInfo.ExtensionDraftPatch.fields={operation:{enumType:t.TypeInfo.DraftPatchOperation}};t.TypeInfo.ExtensionEvent.fields={statisticDate:{isDate:!0}};t.TypeInfo.ExtensionEvents.fields={events:{isDictionary:!0,dictionaryValueFieldInfo:{isArray:!0,typeInfo:t.TypeInfo.ExtensionEvent}}};t.TypeInfo.ExtensionFilterResult.fields={extensions:{isArray:!0,typeInfo:t.TypeInfo.PublishedExtension}};t.TypeInfo.ExtensionPayload.fields={type:{enumType:t.TypeInfo.ExtensionDeploymentTechnology}};t.TypeInfo.ExtensionPolicy.fields={install:{enumType:t.TypeInfo.ExtensionPolicyFlags},request:{enumType:t.TypeInfo.ExtensionPolicyFlags}};t.TypeInfo.ExtensionQuery.fields={filters:{isArray:!0,typeInfo:t.TypeInfo.QueryFilter},flags:{enumType:t.TypeInfo.ExtensionQueryFlags}};t.TypeInfo.ExtensionQueryResult.fields={results:{isArray:!0,typeInfo:t.TypeInfo.ExtensionFilterResult}};t.TypeInfo.ExtensionStatisticUpdate.fields={operation:{enumType:t.TypeInfo.ExtensionStatisticOperation}};t.TypeInfo.ExtensionVersion.fields={flags:{enumType:t.TypeInfo.ExtensionVersionFlags},lastUpdated:{isDate:!0}};t.TypeInfo.NotificationsData.fields={type:{enumType:t.TypeInfo.NotificationTemplateType}};t.TypeInfo.PublishedExtension.fields={deploymentType:{enumType:t.TypeInfo.ExtensionDeploymentTechnology},flags:{enumType:t.TypeInfo.PublishedExtensionFlags},lastUpdated:{isDate:!0},publishedDate:{isDate:!0},publisher:{typeInfo:t.TypeInfo.PublisherFacts},releaseDate:{isDate:!0},versions:{isArray:!0,typeInfo:t.TypeInfo.ExtensionVersion}};t.TypeInfo.Publisher.fields={extensions:{isArray:!0,typeInfo:t.TypeInfo.PublishedExtension},flags:{enumType:t.TypeInfo.PublisherFlags},lastUpdated:{isDate:!0},state:{enumType:t.TypeInfo.PublisherState}};t.TypeInfo.PublisherBase.fields={extensions:{isArray:!0,typeInfo:t.TypeInfo.PublishedExtension},flags:{enumType:t.TypeInfo.PublisherFlags},lastUpdated:{isDate:!0},state:{enumType:t.TypeInfo.PublisherState}};t.TypeInfo.PublisherFacts.fields={flags:{enumType:t.TypeInfo.PublisherFlags}};t.TypeInfo.PublisherFilterResult.fields={publishers:{isArray:!0,typeInfo:t.TypeInfo.Publisher}};t.TypeInfo.PublisherQuery.fields={filters:{isArray:!0,typeInfo:t.TypeInfo.QueryFilter},flags:{enumType:t.TypeInfo.PublisherQueryFlags}};t.TypeInfo.PublisherQueryResult.fields={results:{isArray:!0,typeInfo:t.TypeInfo.PublisherFilterResult}};t.TypeInfo.PublisherRoleAssignment.fields={access:{enumType:t.TypeInfo.PublisherRoleAccess}};t.TypeInfo.QnAItem.fields={createdDate:{isDate:!0},status:{enumType:t.TypeInfo.QnAItemStatus},updatedDate:{isDate:!0}};t.TypeInfo.QueryFilter.fields={direction:{enumType:t.TypeInfo.PagingDirection}};t.TypeInfo.Question.fields={createdDate:{isDate:!0},responses:{isArray:!0,typeInfo:t.TypeInfo.Response},status:{enumType:t.TypeInfo.QnAItemStatus},updatedDate:{isDate:!0}};t.TypeInfo.QuestionsResult.fields={questions:{isArray:!0,typeInfo:t.TypeInfo.Question}};t.TypeInfo.Response.fields={createdDate:{isDate:!0},status:{enumType:t.TypeInfo.QnAItemStatus},updatedDate:{isDate:!0}};t.TypeInfo.RestApiResponseStatusModel.fields={status:{enumType:t.TypeInfo.RestApiResponseStatus}};t.TypeInfo.Review.fields={adminReply:{typeInfo:t.TypeInfo.ReviewReply},reply:{typeInfo:t.TypeInfo.ReviewReply},updatedDate:{isDate:!0}};t.TypeInfo.ReviewEventProperties.fields={eventOperation:{enumType:t.TypeInfo.ReviewEventOperation},replyDate:{isDate:!0},resourceType:{enumType:t.TypeInfo.ReviewResourceType},reviewDate:{isDate:!0}};t.TypeInfo.ReviewPatch.fields={operation:{enumType:t.TypeInfo.ReviewPatchOperation},reportedConcern:{typeInfo:t.TypeInfo.UserReportedConcern},reviewItem:{typeInfo:t.TypeInfo.Review}};t.TypeInfo.ReviewReply.fields={updatedDate:{isDate:!0}};t.TypeInfo.ReviewsResult.fields={reviews:{isArray:!0,typeInfo:t.TypeInfo.Review}};t.TypeInfo.UserExtensionPolicy.fields={permissions:{typeInfo:t.TypeInfo.ExtensionPolicy}};t.TypeInfo.UserReportedConcern.fields={category:{enumType:t.TypeInfo.ConcernCategory},submittedDate:{isDate:!0}}});

/*!
 * jQuery UI Tabbable 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define("jQueryUI/tabbable",["jquery","./version","./focusable"],e):e(jQuery)}(function(e){"use strict";return e.extend(e.expr.pseudos,{tabbable:function(n){var t=e.attr(n,"tabindex"),u=null!=t;return(!u||t>=0)&&e.ui.focusable(n,u)}})});

// Copyright (C) Microsoft Corporation. All rights reserved.
var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(n){for(var t,r,i=1,u=arguments.length;i<u;i++){t=arguments[i];for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},__assign.apply(this,arguments)};define("VSS/Utils/UI",["require","exports","VSS/Diag","VSS/Utils/Core","VSS/Utils/String","VSS/VSS","VSS/Context","jQueryUI/tabbable"],function(n,t,i,r,u,f,e){function ft(n){var t=0;return n.wheelDelta?t=n.wheelDelta/120:n.detail?t=-n.detail/3:n.originalEvent&&n.originalEvent.wheelDelta?t=n.originalEvent.wheelDelta/120:n.originalEvent&&n.originalEvent.detail?t=-n.originalEvent.detail/3:n.deltaY&&(t=-n.deltaY/3),t}function et(n,t){t===!0?$(n).prop("disabled",!1):$(n).attr("disabled","disabled")}function ot(n){if(h.isMozilla())n.style.MozUserFocus="ignore";else if(h.isMsie()){n.unselectable="on";for(var i=0,t=n.all&&n.all[i++];t;){switch(t.tagName){case"IFRAME":case"TEXTAREA":case"INPUT":case"SELECT":break;default:t.unselectable="on"}t=n.all[i++]}}}function p(n,t){function u(){try{f.focus()}catch(n){y(i.LogVerbosity.Warning,"Failed to set focus to element: "+n)}}var f=$(n);typeof t=="undefined"?u():r.delay(this,t,function(){u()})}function st(n,t){var i=$(n),r=i.outerWidth()-t;r!==0&&i.width(t-r)}function ht(n){return $.contains(document.documentElement,n)}function ct(n,t){return n.dataset?n.dataset[t]:n.getAttribute("data-"+t)}function vt(n,t){var i=document.createElement(n);return t&&(i.className=t),i}function l(n){return n.jquery?n:$(n)}function yt(n){return n.jquery?n[0]:n}function pt(n){if(!n)return"";var t=n;return typeof n!="string"&&(t=""+n),t.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")}function dt(n,t){s||(s=new kt);s.attach($(n),t)}function gt(n){s&&s.detach($(n))}function ni(){s&&(s.dispose(),s=null)}function ri(n,t,i){var r,u;if(n&&n.length)if(i)$.each(n,function(n,i){i.end>=t&&(i.start>=t&&i.start++,i.end++)});else return r=[],u={},$.each(n,function(n,i){var f;i.end>=t&&(i.start>t&&(i.start=Math.max(1,i.start-1)),i.end=Math.max(1,i.end-1));i.start!==i.end&&(f=i.start+"_"+i.end,f in u||(u[f]=!0,r.push(i)))}),r;return n}function ui(n){function i(n,r){$.each(n,function(u,f){r?f!==r&&r.start<=f.start&&r.end>=f.end&&(i(n,f),r.level=Math.max(r.level,f.level+1),t=Math.max(t,r.level)):i(n,f)})}var t=0;return n&&n.length&&($.each(n,function(n,t){t.level=0}),i(n,null)),t}function k(n,t,i,r){var o,e,s,f=null,c,h,l;if(n&&(s=this.children,s&&(l=s.length)>0)){t=t||"/";do o=n.indexOf(t),o>=0?(e=n.substring(0,o),n=n.substring(o+t.length)):(e=n,n=null);while(n&&e===t);if(e){for(r=r||"text",i=i||u.localeIgnoreCaseComparer,h=0;h<l;h++)if(c=s[h],i(c[r],e)===0){f=c;break}if(f&&n){if(f.children)return k.call(f,n,t,i,r);f=null}}}return f}function d(n,t,i,r){var u=this.parent;return r=r||"root",u&&!n&&u[r]&&(u=null),i=i||"text",u?(t=t||"/",d.call(u,n,t,i,r)+t+this[i]):this[i]}function g(n){var t,r,i,u;if(n&&(n.call(this,this),i=this.children,i&&(r=i.length)))for(t=0;t<r;t++)u=i[t],g.call(u,n)}function fi(n,t){t===void 0&&(t=null);var r=$("head > link[rel=stylesheet]"),i={};$.each(r,function(n,t){var r=$(t).attr("href");r&&(i[r]=!0)});$.each(n,function(n,r){if(!i[r]){var u=(t||"")+r;i[u]||$("<link />").attr("rel","stylesheet").attr("href",u).appendTo($(document.head))}})}function nt(n,t){var f=$(":tabbable"),r=$(n.target),o=f.index(r),u,e=0;for(t?t.call(r,n):r.click(),u=f.length;!r.is(":visible:tabbable")&&u;)if(r=f.eq(o++%u),r)if(r.is(":visible:tabbable")){r.focus();break}else{if(e++,e===u)break;continue}else break;return!1}function ei(n,t){return n.addClass("propagate-keydown-event").attr("tabindex","0").keypress(function(n){if(n.keyCode===o.ENTER)return nt(n,t)}).keyup(function(n){if(n.keyCode===o.SPACE)return nt(n,t)})}function oi(n){(n.key===" "||n.key==="Spacebar"||n.key==="Enter")&&(n.currentTarget.click(),n.preventDefault())}function tt(n){var t,i;return(n=yt(n),n instanceof HTMLInputElement&&(h.isEdge()||h.isIE()))?n.value?(t=document.createElement("div"),t.style.position="absolute",t.style.top="-10000px",t.style.left="-10000px",t.textContent=n.value,document.body.appendChild(t),i=t.offsetWidth>n.offsetWidth,document.body.removeChild(t),i):!1:n.offsetWidth<n.scrollWidth}function si(n,t){var i="tooltipText",r,u;t=__assign({titleTarget:n,eventSource:n,addTooltipDelegate:function(n,t){t.titleTarget.setAttribute("title",t.titleText)},removeTooltipDelegate:function(n,t){t.titleTarget.removeAttribute("title")}},t);r=function(r){tt(n)&&(t.titleText=$(n).data(i)||(t.titleTarget instanceof HTMLInputElement?t.titleTarget.value:t.titleTarget.textContent),t.addTooltipDelegate(r,t))};u=function(n){t.removeTooltipDelegate(n,t)};n&&!$(n).data(i)&&(t.addTooltipDelegate&&(t.eventSource.addEventListener("mouseenter",r),t.eventSource.addEventListener("focus",r)),t.removeTooltipDelegate&&(t.eventSource.addEventListener("mouseleave",u),t.eventSource.addEventListener("blur",u)));$(n).data(i,t.titleText)}function it(n,t){var i,u,r;if(t===void 0&&(t=!1),n){if(n.scrollWidth>n.offsetWidth)return n;if(t&&n.children&&n.children.length>0)for(i=0,u=n.children.length;i<u;i++)if(r=it(n.children[i],t),r)return r}return null}function hi(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return rt.instance().watermark(n,i)}function a(){return document.getElementById("vssFocusRing")}function v(){a().style.visibility="hidden";c.focusRingHidden=!0}function ci(n,t){return n===void 0&&(n=c.directionalKeyCodes),t===void 0&&(t=1),function(i){n.indexOf(c.lastKeyCodePressed)>=0&&c.focusRingFocusHandler(i,t)}}var y,o,lt,w,at,wt,h,ti,ii,b,rt,ut,c;Object.defineProperty(t,"__esModule",{value:!0});t.getFocusRingFocusHandler=t.hideFocusRing=t.getFocusRing=t.Watermark=t.getOverflowElement=t.tooltipIfOverflow=t.contentsOverflow=t.buttonKeydownHandler=t.accessible=t.injectStylesheets=t.walkTree=t.calculateTreePath=t.findTreeNode=t.updateFilterGroupLevels=t.updateFilterGroups=t.sectionManager=t.HtmlInsertionUtils=t.SelectionUtils=t.BrowserCheckUtils=t.clearResizeHandlers=t.detachResize=t.attachResize=t.Positioning=t.htmlEncode=t.domElem=t.Constants=t.KeyUtils=t.KeyCode=t.getCustomData=t.isInDomTree=t.alignWidth=t.tryFocus=t.makeElementUnselectable=t.enableElement=t.getWheelDelta=void 0;y=i.log;t.getWheelDelta=ft;t.enableElement=et;t.makeElementUnselectable=ot;t.tryFocus=p;t.alignWidth=st;t.isInDomTree=ht;t.getCustomData=ct,function(n){n[n.ALT=18]="ALT";n[n.BACKSPACE=8]="BACKSPACE";n[n.CAPS_LOCK=20]="CAPS_LOCK";n[n.COMMA=188]="COMMA";n[n.CONTROL=17]="CONTROL";n[n.DELETE=46]="DELETE";n[n.DOWN=40]="DOWN";n[n.END=35]="END";n[n.ENTER=13]="ENTER";n[n.ESCAPE=27]="ESCAPE";n[n.HOME=36]="HOME";n[n.INSERT=45]="INSERT";n[n.LEFT=37]="LEFT";n[n.PAGE_DOWN=34]="PAGE_DOWN";n[n.PAGE_UP=33]="PAGE_UP";n[n.PERIOD=190]="PERIOD";n[n.RIGHT=39]="RIGHT";n[n.SEMI_COLON=186]="SEMI_COLON";n[n.FIREFOX_SEMI_COLON=59]="FIREFOX_SEMI_COLON";n[n.SHIFT=16]="SHIFT";n[n.SPACE=32]="SPACE";n[n.TAB=9]="TAB";n[n.UP=38]="UP";n[n.F1=112]="F1";n[n.F2=113]="F2";n[n.F6=117]="F6";n[n.F10=121]="F10";n[n.IME_INPUT=229]="IME_INPUT";n[n.M=77]="M";n[n.N=78]="N";n[n.P=80]="P";n[n.Q=81]="Q";n[n.S=83]="S";n[n.E=69]="E";n[n.A=65]="A";n[n.B=66]="B";n[n.C=67]="C";n[n.D=68]="D";n[n.H=72]="H";n[n.I=73]="I";n[n.J=74]="J";n[n.K=75]="K";n[n.T=84]="T";n[n.U=85]="U";n[n.QUESTION_MARK=191]="QUESTION_MARK";n[n.CONTEXT_MENU=93]="CONTEXT_MENU"}(o=t.KeyCode||(t.KeyCode={})),function(n){function i(n){return n.ctrlKey&&!n.altKey&&!n.shiftKey}function r(n){return n.ctrlKey||n.altKey||n.shiftKey}function u(n){return!n.altKey&&!n.shiftKey&&(t()?n.metaKey:n.ctrlKey)}function t(){return h.isMacintosh()||h.isIOS()}n.isExclusivelyCtrl=i;n.isModifierKey=r;n.isExclusivelyCommandOrMetaKeyBasedOnPlatform=u;n.shouldUseMetaKeyInsteadOfControl=t}(lt=t.KeyUtils||(t.KeyUtils={}));w=250,function(n){n.HtmlNewLine="<BR>";n.BlurTimeout=w}(at=t.Constants||(t.Constants={}));t.domElem=vt;t.htmlEncode=pt,function(n){function e(n){return 0-n}function o(n){var t=$(window),i=t.height()+t.scrollTop();return n-i}function s(n,t){var i=$(window),f=t.leftOffsetPixels||0,r=n.left+t.elementMeasure-(i.width()+i.scrollLeft())+f,u=n.left-r;n.left=r>0?Math.max(0,u):Math.max(0,n.left);r>0&&u<0&&(t.adjustedWidth=Math.min(t.elementMeasure,i.width()+i.scrollLeft()))}function h(n,t){var i=$(window),u=n.left+t.elementMeasure-(i.width()+i.scrollLeft()),r=t.elementAlign==="left"?-t.elementMeasure:t.elementMeasure;n.left+=n.left<0?r+t.baseMeasure:u>0?r-t.baseMeasure:0}function c(t,i){var r,e=0,f,u;return r=t.top,f=n._topOverflow(r),f>0?(r=0,u=n._bottomOverflow(r+i.elementMeasure),u>0&&(e=u)):(u=n._bottomOverflow(r+i.elementMeasure),u>0&&(r-=u,f=n._topOverflow(r),f>0&&(r=0,e=f))),{top:r,shrink:e}}function a(t,i){var r=t.top,f,s=i.elementAlign==="top"?-i.elementMeasure:i.elementMeasure,o=n._topOverflow(r),u,h,e;return o>0?(r+=s+i.baseMeasure,u=n._bottomOverflow(r+i.elementMeasure),u>0&&(u>=o?(r=t.top,f=o):f=u)):(u=n._bottomOverflow(r+i.elementMeasure),u>0&&(h=i.baseAlign==="top"?i.baseMeasure:-i.baseMeasure,r+=s+h,e=n._topOverflow(r),e>0&&(e>=u?(r=t.top,f=u):(r=0,f=e)))),{top:r,shrink:f}}function t(n){var i,r;return!n||!n.length||n[0]===document?0:(i=n.css("position"),(i==="absolute"||i==="relative"||i==="fixed"||i==="-ms-device-fixed")&&(r=parseInt(n.css("zIndex"),10),r!==0&&!isNaN(r)))?r:t(n.parent())}function v(n,t,i){var u=l(n);r(u,{left:t.left,top:t.top},t.width||0,t.height||0,null,i)}function y(n,t,i){var f=l(n),u=l(t),e=u.offset(),o=u.outerWidth(),s=u.outerHeight();r(f,e,o,s,u,i)}function r(i,r,u,f,e,o){var h,g,nt,s,et,ot,tt,b,it,k,rt;o=$.extend({},o);var c=0,v=1,d=1000001,l;o.elementAlignmentMarker&&o.elementAlignmentMarker.length&&(l=o.elementAlignmentMarker);o.baseAlignmentMarker&&o.baseAlignmentMarker.length&&(h=o.baseAlignmentMarker);g=o.supportScroll===!0;o.skipZIndexSetting||(nt=e?t(e):0,nt!==0&&(d=d+nt),i.css("z-index",d));g&&(o.scrollByMarker===!0&&h?i.css("min-height",h.outerHeight()):i[0].style.height="");var ut=i[0].getBoundingClientRect(),a=ut.width,y=ut.height;a&&y||(a=i.outerWidth(),y=i.outerHeight());var p=(o.elementAlign||"left-top").split("-"),w=(o.baseAlign||"left-bottom").split("-"),ft=(o.overflow||"fit-flip").split("-");o.alignToMarkerHorizontal&&h&&(r.left=h.offset().left,u=h.outerWidth());o.alignToMarkerVertical&&h&&(r.top=h.offset().top,f=h.outerHeight());w[c]==="right"?r.left+=u:w[c]==="middle"&&(r.left+=u/2);w[v]==="bottom"&&(r.top+=f);s=$.extend({},r);o.alignToMarkerHorizontal&&l&&(et=i.offset().left-l.offset().left,s.left+=et,a=l.outerWidth());o.alignToMarkerVertical&&l&&(ot=i.offset().top-l.offset().top,s.top+=ot,y=l.outerHeight());p[c]==="right"?s.left-=a:p[c]==="middle"&&(s.left-=a/2);p[v]==="bottom"&&(s.top-=y);s.left=Math.round(s.left);s.top=Math.round(s.top);tt=n["_"+ft[v].toLowerCase()+"Vertical"];tt&&(b=tt(s,{baseMeasure:f,baseAlign:w[v],elementMeasure:y,elementAlign:p[v]}),s.top=b.top,g&&b.shrink>0&&(i.height(i.height()-b.shrink),a=i.outerWidth()));it=n["_"+ft[c].toLowerCase()+"Horizontal"];k={baseMeasure:u,baseAlign:w[c],elementMeasure:a,elementAlign:p[c],adjustedWidth:0,leftOffsetPixels:o.leftOffsetPixels};typeof it=="function"&&it(s,k);var st=i.offset(),ht=parseInt(jQuery.css(i[0],"top",!0),10)||0,ct=parseInt(jQuery.css(i[0],"left",!0),10)||0;o.leftOffsetPixels&&(ct+=o.leftOffsetPixels);o.topOffsetPixels&&(ht+=o.topOffsetPixels);rt={top:Math.floor(s.top-st.top+ht),left:Math.floor(s.left-st.left+ct)};k.adjustedWidth>0&&(rt.width=k.adjustedWidth);i.css(rt)}function p(n){for(var t=n.parent();t.length&&!(t.css("overflow-y")==="auto"||t.css("overflow-y")==="scroll");)t=t.parent();return t.length||(t=$(document)),t}function i(t,i,r,u,f){var e;switch(u){case n.VerticalScrollBehavior.Top:e=t;break;case n.VerticalScrollBehavior.Middle:e=t+(i-r.height())/2;break;case n.VerticalScrollBehavior.Bottom:e=t+i-r.height()}typeof e!="undefined"&&(f>0?r.animate({scrollTop:e},f):r.scrollTop(e))}function u(n,t){for(var i=n[0],f=!1,r=0;i;){if(t&&i===t[0]){f=!0;break}r+=i.offsetTop;i=i.offsetParent}return t&&!f&&(r-=u(t,null)),r}function w(t,r,f,e){var o=n.getVerticalScrollContainer(t),s=u(t,o),c,h,l;h=o.scrollTop();s<h?i(s,t.outerHeight(),o,r?r:n.VerticalScrollBehavior.Top,e):(c=s+t.outerHeight(),l=h+o.height(),c>l?i(s,t.outerHeight(),o,r?r:n.VerticalScrollBehavior.Bottom,e):f&&i(s,t.outerHeight(),o,r?r:n.VerticalScrollBehavior.Middle,e))}var f;(function(n){n[n.Default=0]="Default";n[n.Top=1]="Top";n[n.Middle=2]="Middle";n[n.Bottom=3]="Bottom"})(f=n.VerticalScrollBehavior||(n.VerticalScrollBehavior={}));n._topOverflow=e;n._bottomOverflow=o;n._fitHorizontal=s;n._flipHorizontal=h;n._fitVertical=c;n._flipVertical=a;n.getZIndex=t;n.positionAtLocation=v;n.position=y;n.getVerticalScrollContainer=p;n.scrollIntoViewVertical=w}(wt=t.Positioning||(t.Positioning={}));var bt=function(){function n(n,t){this.$element=n;this.handler=t}return n.prototype.execute=function(n,t){this.handler&&this.handler(n,t)},n.prototype.isMyParent=function(n){var t=!1,i=n.get(0);return i===window?!0:(this.$element.parents().each(function(){if(i===this)return t=!0,!1}),t)},n.prototype.owns=function(n){return this.$element.get(0)===n.get(0)},n}(),kt=function(){function n(){this.handlers=[];$(window).bind("resize.containerResizeManager",r.delegate(this,this.onResize))}return n.prototype.onResize=function(n,t){for(var r,f=$(n.target),i=0,u=this.handlers.length;i<u;i++)r=this.handlers[i],r.isMyParent(f)&&r.execute(n,t)},n.prototype.attach=function(n,t){this.handlers.push(new bt(n,t))},n.prototype.detach=function(n){for(var i=this.handlers||[],r,t=i.length-1;t>=0;t--)r=i[t],r.owns(n)&&i.splice(t,1)},n.prototype.dispose=function(){this.handlers=null;$(window).off("resize.containerResizeManager")},n}(),s=null;t.attachResize=dt;t.detachResize=gt;t.clearResizeHandlers=ni,function(n){function i(){var n=window.navigator.userAgent.toLowerCase();return t.getInstance().getBrowserInformation().mozilla&&n.indexOf("trident")===-1}function r(){return t.getInstance().getBrowserInformation().chrome}function u(){return t.getInstance().getBrowserInformation().safari}function f(){return t.getInstance().getBrowserInformation().mozilla}function e(){return t.getInstance().getBrowserInformation().msie}function o(){var n=window.navigator.userAgent.toLowerCase();return t.getInstance().getBrowserInformation().msie?!0:n.indexOf("trident")!==-1?!0:!1}function s(){return t.getInstance().getBrowserInformation().edge}function h(){return t.getInstance().getBrowserInformation().version}function c(i){if(n.isIE()){var r=0,u=window.navigator.userAgent.toLowerCase();return t.getInstance().getBrowserInformation().msie?r=Number(t.getInstance().getBrowserInformation().version):u.indexOf("trident")!==-1&&(r=11),i===r}return!1}function l(){if(n.isIE()){var i=Number(t.getInstance().getBrowserInformation().version);return i>0&&i<=9}return!1}function a(){if(n.isIE()){var i=Number(t.getInstance().getBrowserInformation().version);return i>0&&i<=8}return!1}function v(){return t.getInstance().getBrowserInformation().isMacintosh}function y(){return t.getInstance().getBrowserInformation().isWindows}function p(){return t.getInstance().getBrowserInformation().iOS}var t=function(){function n(){}return n.getInstance=function(){return n._instance||(n._instance=new n,this._instance._initialize()),n._instance},n.prototype.getBrowserInformation=function(){return this._browserInformation},n.prototype._initialize=function(){var f,n,t,i,r,u;if(!this._browserInformation){if(this._browserInformation={},this._browserInformation.isWindows=navigator.platform.indexOf("Win")>-1,this._browserInformation.isMacintosh=navigator.userAgent.indexOf("Mac OS X")>-1,f=/iphone|ipod|ipad/i.exec(navigator.userAgent),f&&(this._browserInformation.iOS=!0),n=/edge\/([\d+.]+)/i.exec(navigator.userAgent),n){this._browserInformation.edge=!0;this._browserInformation.version=n[1];return}if(t=/msie ([\d+.]+)/i.exec(navigator.userAgent),t){this._browserInformation.msie=!0;this._browserInformation.version=t[1];return}if(i=/chrome\/([\d.]+)/i.exec(navigator.userAgent),i){this._browserInformation.chrome=!0;this._browserInformation.webkit=!0;this._browserInformation.version=i[1];return}if(r=/safari\/([\d.]+)/i.exec(navigator.userAgent),r){this._browserInformation.safari=!0;this._browserInformation.webkit=!0;this._browserInformation.version=r[1];return}if(u=/mozilla.*rv:([\d+.]+)/i.exec(navigator.userAgent),u){this._browserInformation.mozilla=!0;this._browserInformation.version=u[1];return}}},n}();n.isFirefox=i;n.isChrome=r;n.isSafari=u;n.isMozilla=f;n.isMsie=e;n.isIE=o;n.isEdge=s;n.getVersion=h;n.isIEVersion=c;n.isLessThanOrEqualToIE9=l;n.isLessThanOrEqualToIE8=a;n.isMacintosh=v;n.isWindows=y;n.isIOS=p}(h=t.BrowserCheckUtils||(t.BrowserCheckUtils={})),function(n){function t(){var t=null,n;return window.getSelection&&(n=window.getSelection(),n&&n.anchorNode&&n.focusNode&&(n.anchorNode!==n.focusNode||n.anchorOffset!==n.focusOffset)&&(t={$startNode:$(n.anchorNode),$endNode:$(n.focusNode),startNodeOffset:n.anchorOffset,endNodeOffset:n.focusOffset})),t}function i(n,t,i,u){var f,e;u&&n.focus();f=n[0];typeof f.selectionStart!="undefined"?(f.selectionStart=t,f.selectionEnd=i):r.documentSelection&&r.documentSelection.createRange&&(f.select(),e=r.documentSelection.createRange(),e.collapse(!0),e.moveStart("character",t),e.moveEnd("character",i),e.select())}n.getSelection=t;n.selectInputText=i}(ti=t.SelectionUtils||(t.SelectionUtils={})),function(n){function t(n,t){var r,i,u,f,e,o,c,s,h;if(t?u=t.document:(t=window,u=document),f=u.selection,t.getSelection){if(r=t.getSelection(),r.getRangeAt&&r.rangeCount){for(i=r.getRangeAt(0),i.deleteContents(),e=u.createElement("div"),e.innerHTML=n,o=u.createDocumentFragment(),h=u.createTextNode($("<div>&nbsp;<\/div>").text());c=e.firstChild;)s=o.appendChild(c);i.insertNode(o);s&&(i=i.cloneRange(),i.setStartAfter(s),i.collapse(!0),i.insertNode(h),i.selectNodeContents(h),r.removeAllRanges(),r.addRange(i))}}else f&&f.createRange&&f.createRange().pasteHTML(n)}n.pasteHtmlAtCaret=t}(ii=t.HtmlInsertionUtils||(t.HtmlInsertionUtils={}));b=function(){function n(){this._index=0}return n.prototype.identifySections=function(){var n=this;$(".splitter").each(function(t,i){n._identify($(i).children(".leftPane"));n._identify($(i).children(".rightPane"))})},n.prototype.nextSection=function(){var n=this._getCurrentSectionIndex();return this._focusElement(n+1)},n.prototype.previousSection=function(){var n=this._getCurrentSectionIndex();return n>=1?this._focusElement(n-1):!1},n.prototype._identify=function(n){if(n.length>0){var t=this._index++;n.addClass("hotkey-section hotkey-section-"+t);n.data("hotkeySectionIndex",t)}},n.prototype._getCurrentSectionIndex=function(){if(document.activeElement){var n=$(document.activeElement).closest(".hotkey-section");if(n.length>0)return n.data("hotkeySectionIndex")}return-1},n.prototype._focusElement=function(n){var t=$(".hotkey-section-"+n+" :tabbable").first();return t.length>0?(t.focus(),!0):!1},n}();t.sectionManager=new b;t.updateFilterGroups=ri;t.updateFilterGroupLevels=ui;t.findTreeNode=k;t.calculateTreePath=d;t.walkTree=g;t.injectStylesheets=fi;t.accessible=ei;t.buttonKeydownHandler=oi;t.contentsOverflow=tt;t.tooltipIfOverflow=si;t.getOverflowElement=it;rt=function(){function n(){}return n.instance=function(){return this._instance||(this._instance=new n),this._instance},n.prototype.watermark=function(n,t){return t.length>0&&(typeof t[0].watermarkText=="string"?n.attr("placeholder",t[0].watermarkText):t[0]==="focus"&&p(n)),n},n}();t.Watermark=hi;ut=function(){function n(){}return n.execute=function(){var t=e.getPageContext().globalization;t.explicitTheme||(e.isAutoHighContrastMode()&&t.theme!==n.HighContrastThemeName?(r.setCookie("TFS-AUTO-THEME",n.HighContrastThemeName),window.location.reload()):e.isAutoHighContrastMode()||t.theme!==n.HighContrastThemeName||(r.deleteCookie("TFS-AUTO-THEME"),window.location.reload(!0)))},n.HighContrastThemeName="HighContrast",n}(),function(n){function u(){return i&&document.body.classList.contains("vss-focus-visible")&&!n.focusRingHidden}function f(){var f="vss-focus-visible",t,e,i;document.addEventListener("keydown",function(t){n.lastKeyCodePressed=t.keyCode;n.directionalKeyCodes.indexOf(t.keyCode)>=0&&document.body.classList.add(f)},!0);document.addEventListener("mousedown",function(){n.lastKeyCodePressed=null;document.body.classList.remove(f)},!0);document.addEventListener("focus",function(){var n,t=((n=document.activeElement)===null||n===void 0?void 0:n.tagName)==="IFRAME";t||document.body.classList.add(f);v()},!0);t=!1;e=function(){t=!1;u()&&r()};document.addEventListener("scroll",function(){t||window.requestAnimationFrame(e);t=!0},!0);i=document.createElement("div");i.setAttribute("id","vssFocusRing");document.body.lastElementChild?document.body.insertBefore(i,document.body.lastElementChild):document.body.appendChild(i)}function e(n,u){i=n.target;t=u;r()}function r(){var u=a(),r=i.getBoundingClientRect(),l=window.pageXOffset||document.documentElement.scrollLeft,y=window.pageYOffset||document.documentElement.scrollTop;if(!i.contains(document.elementFromPoint(r.left+r.width/2,r.top+r.height/2))){v();return}var h=r.left-t,f=Math.round(Math.max(h,0)),p=f+l,c=r.top-t,e=Math.round(Math.max(c,0)),w=e+y,b=r.width+t*2,o=b-Math.max(0,f-h),k=r.height+t*2,s=k-Math.max(0,e-c);f+o>window.innerWidth&&(o=window.innerWidth-f);e+s>window.innerHeight&&(s=window.innerHeight-e);u.style.width=o+"px";u.style.height=s+"px";u.style.transform="translate(".concat(p,"px, ").concat(w,"px)");u.style.removeProperty("visibility");n.focusRingHidden=!1}n.directionalKeyCodes=[o.UP,o.DOWN,o.LEFT,o.RIGHT,o.TAB,o.PAGE_DOWN,o.PAGE_UP,o.HOME,o.END,o.F6];n.focusRingHidden=!0;n.lastKeyCodePressed=null;var i=null,t=2;n.initFocusHandling=f;n.focusRingFocusHandler=e}(c||(c={}));t.getFocusRing=a;t.hideFocusRing=v;t.getFocusRingFocusHandler=ci;$(function(){ut.execute();c.initFocusHandling()});$(function(){var n=$;n.uniqueSort||(n.uniqueSort=$.unique)});f.tfsModuleLoaded("VSS.UI",t)});

define("VSS/Events/Action",["require","exports","VSS/Diag","VSS/Service"],function(n,t,i,r){function e(){return r.getLocalService(o)}var u,o,f;Object.defineProperty(t,"__esModule",{value:!0});t.getService=t.CommonActions=t.ActionService=void 0;u=Math.pow(2,32);o=function(){function n(){this._actionWorkers={}}return n.prototype.registerActionWorker=function(n,t,r){r!==undefined;var f=this._actionWorkers[n];f||(this._actionWorkers[n]=f=[]);f.push({worker:t,order:r||(r===0?0:100)});f.sort(function(n,t){return n.order-t.order})},n.prototype.unregisterActionWorker=function(n,t){var r,u;r=this._actionWorkers[n];r&&(u=-1,$.each(r,function(n,i){if(i.worker===t)return u=n,!1}),u>-1&&r.splice(u,1),r.length===0&&delete this._actionWorkers[n])},n.prototype.unregisterActionWorkers=function(n){delete this._actionWorkers[n]},n.prototype.performAction=function(n,t){function u(n){var t=r&&r[f++];if(t)return t.worker.call(this,n,u)}var r=this._actionWorkers[n],f=0;return u(t)},n.prototype.clearActionWorkers=function(){this._actionWorkers={}},n.MaxOrder=u,n}();t.ActionService=o,function(n){n.ACTION_WINDOW_OPEN="window-open";n.ACTION_WINDOW_NAVIGATE="window-navigate";n.ACTION_WINDOW_RELOAD="window-reload";n.ACTION_WINDOW_UNLOAD="window-unload";n.SHOW_DIRTY_CONFIRMATION_DIALOG="show-dirty-confirmation-dialog"}(f=t.CommonActions||(t.CommonActions={}));t.getService=e;e().registerActionWorker(f.ACTION_WINDOW_OPEN,function(n){var t=null;t=typeof n.features!="undefined"?window.open(n.url,n.target||"_blank",n.features):window.open(n.url,n.target||"_blank");t&&(t.opener=null)});e().registerActionWorker(f.ACTION_WINDOW_NAVIGATE,function(n){window.location.href=n.url});e().registerActionWorker(f.ACTION_WINDOW_RELOAD,function(){window.location.reload()})});

define("Gallery/Client/Common/Utility",["require","exports","q","VSS/Ajax","Gallery/Client/Common/ConnectedContext","Gallery/Client/Common/Constants","Gallery/Scripts/Gallery/Resources/VSS.Resources.Gallery","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/URLHelper","Gallery/Client/Common/Utility.Common","Gallery/Client/Service/VSSItem","Gallery/Client/Service/VSSCommerce/IVSSCommerce","VSS/Context","VSS/Diag","VSS/FeatureAvailability/Services","VSS/Gallery/Contracts","VSS/Serialization","VSS/Utils/String","VSS/Utils/Url","VSS/Utils/String","VSS/Utils/UI","VSS/Events/Action","VSS/Resources/VSS.Resources.Platform","knockout","knockoutSecureBinding","Gallery/Client/Common/Constants"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut){function li(n,t){var i=$(document.createElement("div")).attr("data-bind","template: { name: '"+n+"' }");return!t||i.addClass(t),i}function ai(n){if(n){var t=n.split("/");if(t&&t[2])return t[2]}return n}function vi(n){return $(document.createElement("div")).attr("data-bind","component: { name: '"+n+"', params: vmParams }")}function yi(n){return $(document.createElement("div")).attr("data-bind","component: { name: '"+n+"', params: {viewModel:vmParams} }")}function pi(){var n={attribute:"data-bind",globals:window,bindings:it.bindingHandlers,noVirtualElements:!1};it.bindingProvider.instance=new rt(n)}function wi(n){return n&&(n=n.replace("http://",""),n=n.replace("https://",""),n=n.replace("/",""),n.indexOf(":")>=0&&(n=n.substring(0,n.lastIndexOf(":")))),n}function bi(){var n=st;n+="=; expires = Thu, 01 Jan 1970 00:00:00 GMT";document.cookie=n}function ki(n,t,i){var r=st,u;t||(t=dt());r+="=";n&&(r+=b.format("{0}=",s.GalleryURLs.AccountIdQueryParam),r+=n,r+="&");i&&(r+=b.format("{0}=",s.GalleryURLs.SubscriptionIdQueryParam),r+=i,r+="&");s.GalleryURLs.isNewAzureSubscription(location.search)&&(r+=s.GalleryURLs.NewAzureSubParamEnabled+"&");s.GalleryURLs.isTestCommerceEnabled(location.search)&&(r+=s.GalleryURLs.TestCommerceQueryParamEnabled+"&");s.GalleryURLs.isFreeInstall(location.search)&&(r+=s.GalleryURLs.FreeInstallQueryParamEnabled+"&");s.GalleryURLs.isSkipBuy(location.search)&&(r+=s.GalleryURLs.SkipBuyQueryParamEnabled+"&");s.GalleryURLs.isChangeOfferQuantityRequest(location.search)&&(r+=s.GalleryURLs.ChangeQuantityQueryParameterEnabled+"&");u=s.GalleryURLs.getQueryParameters(location.search)[s.GalleryURLs.Referrer];u&&(r+=b.format("{0}=",s.GalleryURLs.Referrer),r+=u,r+="&");r+=b.format("{0}=",s.GalleryURLs.ItemNameQueryParam);r+=t;r+=";path=/";ht.setCookie(r)}function di(n){var t=!1;return n&&n.status&&/5[0-9]{2}$/.test(n.status)&&(t=!0),t}function gi(n,t){return b.format(o.AverageRatingHoverText,n.toFixed(1),t.toString(),t>1?o.RatingPluralText:o.RatingSingularText)}function nr(n,t){var r=0,u,i;if(n)for(u=n.length,i=0;i<u;i++)if(n[i].statisticName===t){r=n[i].value;break}return r}function bt(n){var t=0;return n&&n.length>0&&n.forEach(function(n){(d.ignoreCaseComparer(n.statisticName,c.ItemConstants.STATISTIC_INSTALL)===0||d.ignoreCaseComparer(n.statisticName,c.ItemConstants.ONPREM_DOWNLOADS)===0||d.ignoreCaseComparer(n.statisticName,c.ItemConstants.STATISTIC_MIGRATED_INSTALL_COUNT)===0)&&(t+=n.value)}),t}function kt(n){var t=0;return n&&n.length>0&&n.forEach(function(n){d.ignoreCaseComparer(n.statisticName,c.ItemConstants.STATISTIC_WEBDOWNLOAD_COUNT)===0&&(t+=n.value)}),t}function tr(n,t){var u=bt(t),i=0,r=u;return n===c.VSSItemType.VSCodeExtension&&(i=kt(t),r+=i),r}function dt(){return ei(location.search)}function ir(n){return n||n===0}function gt(){var t=g.BrowserCheckUtils,n;return t.isIE()?(n=Number(t.getVersion),n>0&&n<11):!1}function ni(){return!a.getPageContext().webAccessConfiguration.isHosted}function rr(){return a.getPageContext().webAccessConfiguration.isHosted}function ot(){var n=a.getPageContext().webAccessConfiguration.isHosted,t=u.getConnectedContext();return n&&$.isEmptyObject(t)}function ur(){return!ot()}function fr(n){return n&&d.ignoreCaseComparer(n.publisherName,f.Packagemanagement.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.Packagemanagement.ExtensionName)===0}function er(n){return n&&d.ignoreCaseComparer(n.publisherName,f.TestManager.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.TestManager.ExtensionName)===0}function or(n){return n&&n.itemType===c.VSSItemType.VSSOffer&&d.ignoreCaseComparer(n.publisherName,f.Publishers.Microsoft)===0&&ti(n.name)}function ti(n){return d.ignoreCaseComparer(n,"vs-professional-monthly")===0||d.ignoreCaseComparer(n,"vs-professional-annual")===0||d.ignoreCaseComparer(n,"vs-enterprise-annual")===0||d.ignoreCaseComparer(n,"vs-enterprise-monthly")===0?!0:!1}function sr(n){return n&&d.ignoreCaseComparer(n.publisherName,f.TeamServices.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.TeamServices.ExtensionName)===0}function hr(n){return n&&d.ignoreCaseComparer(n.publisherName,f.NDepend.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.NDepend.ExtensionName)===0}function cr(n){return n&&d.ignoreCaseComparer(n.publisherName,f.AgileCards.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.AgileCards.ExtensionName)===0}function ct(n){if(ot()){var t=s.GalleryURLs.isTestCommerceEnabled(ft.getQueryString());return c.ItemModelHelper.isThirdPartyPaidExtensionWithOfferPlans(n,n.offerDetails,t)&&!n.isPreview}return c.ItemModelHelper.isThirdPartyPaidExtension(n)}function lr(n){return c.ItemModelHelper.isFirstPartyPaidExtension(n)||ct(n)}function ar(n){return ii(n)||ri(n)}function ii(n){return et.isByolForMarketplaceEnabled()&&c.ItemModelHelper.isPaidExtension(n.priceCategory)&&n.isByolEnabled}function ri(n){return et.isByolForMarketplaceEnabled()&&c.ItemModelHelper.isPaidExtension(n.priceCategory)&&n.isByolEnforced}function vr(n){return this.isPaidExtension(n)&&!(this.isPureHosted()&&this.isBuiltIn(n))}function yr(n){return(n.flags&p.PublishedExtensionFlags.BuiltIn)!=0}function pr(n){return n&&d.ignoreCaseComparer(n.publisherName,f.XamarinUniversity.PublisherName)===0&&d.ignoreCaseComparer(n.name,f.XamarinUniversity.ExtensionName)===0}function wr(n){return this.isAgileCardsItem(n)&&this.isPureHosted()}function ui(){var n=a.getPageContext().webAccessConfiguration.isHosted,t=u.getConnectedContext(),i=t.hasInternetAccess;return n&&i}function br(){var n=w.deserializeJsonIsland($(".onprem-version-supported"),!1);return n===null?!0:n}function kr(){var n=w.deserializeJsonIsland($(".is-connected-server"),!1),t=u.getConnectedContext(),i=t.hasInternetAccess;return i||n}function dr(){return w.deserializeJsonIsland($(".is-csp-user"),!1)}function gr(){var n=u.getConnectedContext(),t="";return n&&(t=n.targetServerName),t}function nu(n){return n&&n.offerType===l.OfferType.Csp}function tu(n){var t=k.Uri.parse(n);return t.port===null||t.port===undefined||t.port===0?t.scheme+"://"+t.host:t.scheme+"://"+t.host+":"+t.port}function iu(n,t){ft.open(n+"&"+s.GalleryURLs.NoPrompt+"=true","_self",t)}function ru(n){var t=!0;return n.forEach(function(n){n.state!=="fulfilled"&&(t=!1)}),t}function uu(n,t,i,r,u){u===void 0&&(u=!0);var f;if(u){try{f=n.toLocaleString(r,{style:"currency",currency:t})}catch(e){f=i+n.toFixed(2)}f===n.toLocaleString()&&(f=i+n.toFixed(2))}else{try{f=n.toLocaleString(r,{maximumFractionDigits:2})}catch(e){f=n.toFixed(2)}f===n.toLocaleString()&&(f=n.toFixed(2))}return fi(f)}function fu(n,t,i){if(n.ctrlKey)return!0;if(n.keyCode===g.KeyCode.BACKSPACE||n.keyCode===g.KeyCode.DELETE||n.keyCode===g.KeyCode.LEFT||n.keyCode===g.KeyCode.UP||n.keyCode===g.KeyCode.RIGHT||n.keyCode===g.KeyCode.DOWN||n.keyCode===g.KeyCode.TAB)return n.keyCode===g.KeyCode.DOWN?t():n.keyCode===g.KeyCode.UP&&i(),!0;if(n.keyCode>=f.ZERO_KEY_CODE&&n.keyCode<=f.NINE_KEY_CODE||n.keyCode>=f.ZERO_KEY_CODE_OF_NUMKEYBOARD&&n.keyCode<=f.NINE_KEY_CODE_OF_NUMKEYBOARD)return!0;n.preventDefault()}function fi(n){if(n){var t=n.split(".");t.length===2&&parseInt(t[1])===0&&(n=t[0])}return n}function eu(n){var t=k.Uri.parse(ft.getCurrentUrl());return t.queryString="requestedTenantId="+n,t.absoluteUri}function ei(n){var t=k.Uri.parse(n);return t.getQueryParam("itemName")}function ou(n,t){var i=undefined;return n!==null&&n!==undefined&&(i=gt()?n.toString():n.toLocaleString(t)),i}function su(){var i=!1,t=a.getDefaultWebContext(),r,n,u;return t&&t.user&&(r=t.user.email,n=r.split("@"),n&&n.length>1&&(u=n[1],b.ignoreCaseComparer(u,"microsoft.com")===0&&(i=!0))),i}function hu(n,t){var o=new Set,i,r,u,f;if(n.versions&&n.versions.length>0)for(i=0;i<n.versions.length;i++)r=n.versions[i],u=e.TargetPlatformFilterOption_Universal_Key,r.targetPlatform&&(u=r.targetPlatform),o.add(u);return f=[],o.forEach(function(n){var i;i=n===e.TargetPlatformFilterOption_Universal_Key?e.TargetPlatformFilterOption_Universal:t[n]||n;f.push(i)}),f}function hi(n,t){var i=null;return n&&n.versions&&n.versions.length>0&&n.versions[0].files&&n.versions[0].files.some(function(n){if(n&&d.ignoreCaseComparer(n.assetType,t)===0)return i=n,!0}),i}function cu(n,t,i){i===void 0&&(i=!1);var u=hi(n,t),r=d.empty;return u&&(r=u.source,i&&n&&n.versions&&n.versions[0].assetUri&&n.versions[0].fallbackAssetUri&&(r=r.replace(n.versions[0].assetUri,n.versions[0].fallbackAssetUri))),r}function lu(){var n="",t=$(document.body),r=window.innerWidth-document.body.clientWidth,i;return n=document.body.style.paddingRight||"",i=parseInt(t.css("padding-right")||"0",10),document.body.clientWidth<window.innerWidth&&t.css("padding-right",i+r),n}function au(n){var t=null;return n&&(t={},n.versions&&n.versions[0].properties&&n.versions[0].properties.forEach(function(n){t[n.key]=n.value})),t}function vu(n){var t=$(document.body);t.css("padding-right",n)}function yu(n){return new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())}function ci(){var n=i.defer();return r.issueRequest(f.MarketplaceHome+"_apis/health",{}).then(function(){n.resolve(!0)},function(){n.reject(!1)}),n.promise}function pu(n){var t=i.defer();return n.status===0?ci().then(function(){d.ignoreCaseComparer(d.format(tt.WebApiUndefinedRequestError,0,"error"),n.message)===0?t.resolve(e.GenericNetworkErrorMessage):t.resolve(n.message)},function(){t.resolve(e.InternetConnectivityError)}):t.resolve(n.message),t.promise}function wu(n){return n?/[a-zA-Z0-9!#$%&'*+\-\/=?^_`{|}~]+@[a-zA-Z0-9!#$%&'*+\-\/=?^_`{|}~]+.[a-zA-Z0-9!#$%&'*+\-\/=?^_`{|}~]+/.test(n):!0}function bu(n){return n?/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(n):!0}var lt,at,vt,ft,yt,pt,wt,st,ht,et,oi,si;Object.defineProperty(t,"__esModule",{value:!0});t.isValidVSID=t.isValidEmailAddress=t.getErrorMessage=t.hasInternetAccess=t.stripTimeFromUTCDate=t.unsetDocumentBodyPaddingForScrollBarRemoval=t.getPropertiesMapForExtension=t.setDocumentBodyPaddingForScrollBarRemoval=t.getAssetUrl=t.getExtensionAsset=t.getSupportedTargetPlatformsByExtension=t.ErrorUtils=t.FileUtils=t.FeatureFlagUtils=t.isInternalMicrosoftUser=t.convertNumberToLocaleString=t.getItemNameFromQueryParam=t.getRedirectTenantUrl=t.formatQuantityWithTrailingZeroes=t.handleKeyEventForNumberTextbox=t.convertToCurrencyFormat=t.areAllPromisesFulfilled=t.redirectToUrl=t.getOnPremServerUrlFromInstallPath=t.isCspSubscription=t.getOnPremServerName=t.isCspUser=t.isOnPremHasInternetAccess=t.isExtensionSupportedForOnPrem=t.isHostedConnectedContext=t.isBuyCustomizationAutoCompleteForAgileCardsEnabled=t.isXamarinUniversity=t.isBuiltIn=t.isPurchasableExtension=t.isByolEnforcedExtension=t.isByolEnabledExtension=t.isByolExtension=t.isPaidExtension=t.isThirdPartyPaidExtension=t.isAgileCardsItem=t.isNdependExtension=t.isTeamServicesItem=t.isVsOffer=t.isVsSubscription=t.isTestManagerItem=t.isPackageManagementItem=t.isOnPremOrHostedConnectedContext=t.isPureHosted=t.isHosted=t.isOnPrem=t.isLessThanIE11=t.isQuantityPresent=t.getItemNameForInstall=t.getOverallAcquisitionCount=t.getWebDownloadCount=t.getInstallCount=t.extractStatisticsValue=t.getAverageRatingText=t.isErrorAlertClass=t.CookieUtils=t.storeRedirectionCookie=t.clearRedirectionCookie=t.getAccountNameFromAccountUrl=t.UseSecureBinding=t.SearchUtils=t.PriceCalculator=t.ObjectUtils=t.WindowWrapper=t.loadHtmlComponentWithViewModel=t.loadHtmlComponent=t.AcquisitionHelper=t.getHostNamefromUrl=t.loadHtmlTemplate=t.HtmlHelper=t.UrlUtils=void 0;lt=function(){function n(){}return n.parseUrlParameter=function(n){var i="",t=[];return ft.getQueryString().substr(1).split("&").forEach(function(r){t=r.split("=");t[0]===n&&(i=decodeURIComponent(t[1]))}),i},n.setReplyToParameterInLoginRedirectUrl=function(n,t){var u=w.deserializeJsonIsland($(".user-login-url"),null),i=k.Uri.parse(u),r=k.Uri.parse(ft.getCurrentUrl());return n&&r.addQueryParam(n,t,!0),i.addQueryParam("reply_to",r.absoluteUri,!0),i.absoluteUri},n.disconnectOnPremContextIfRequired=function(){var t=!1,i,r,e,n,o;a.getPageContext()&&a.getPageContext().webAccessConfiguration&&(t=a.getPageContext().webAccessConfiguration.isHosted);t&&(i=s.GalleryURLs.isTargetIdSet(ft.getQueryString()),r=s.GalleryURLs.isAccountIdSet(ft.getQueryString()),(i||r)&&(e=u.getConnectedContext(),e.targetServerId&&(n=new k.Uri(location.href),n.addQueryParam(f.GalleryContextConstants.serverKeyUrlParam,"null",!0),o=n.absoluteUri,ft.open(o,"_self","_disconnectOnPremConnected"))))},n.isAbsoluteUrl=function(n){var t=new RegExp("^(?:[a-z]+:)?//","i");return t.test(n)},n.getHostedHomePageVSTSTabURL=function(){return s.GalleryURLs.isHostedDeployment()?s.GalleryURLs.getHomePageURL()+"vsts":n.getExternalSourceUrl()+"vsts"},n.getDiscoverMoreLink=function(t,i,r){return s.GalleryURLs.isHostedDeployment()?n.getVssCategoryURL(t,i,r):n.getExternalCategorySourceUrl()},n.getVssCategoryURL=function(n,t,i,r,u){return s.GalleryURLs.getVssCategoryURL(n,t,i,r,u,et.isMarketPlaceBrandingChangesEnabled())},n.getExternalCategorySourceUrl=function(){var n=w.deserializeJsonIsland($(".market-browse-url"),null);return n||(n=f.MarketplaceOnPremBrowseUrl),n},n.getSearchPageUrlForTagQuery=function(n){return s.GalleryURLs.getSearchPageUrlForTagQuery(n,et.isMarketPlaceBrandingChangesEnabled())},n.getSearchPageUrlForPublisherQuery=function(n){return s.GalleryURLs.getSearchPageUrlForPublisherQuery(n,et.isMarketPlaceBrandingChangesEnabled())},n.getExternalSourceUrl=function(){var n=w.deserializeJsonIsland($(".marketplace-production-url"),null);return n||(n=f.MarketplaceHome),n},n.getRedirectUrlForNewAcquisitionExperience=function(n,t){var u=n,i,f,r;if(t)for(i=0,f=t.length;i<t.length;i++)r=t[i],r&&u.addQueryParam(r.key,r.value,!0);return u},n.getSourceFromUrl=function(){var n=ft.getQueryParameters()[s.GalleryURLs.SourceQueryValue];return n||(n=ft.getQueryParameters()[s.GalleryURLs.UtmSourceQueryValue]),n},n.getDomainNameFromUrl=function(n){var i="",r,t;return n&&(r=new URL(n),t=r.host,t&&(i=t.replace(/^www./i,""))),i},n}();t.UrlUtils=lt;at=function(){function n(){}return n.renderTemplateIfNeeded=function(n,t){if($("#"+n).length===0){var i=document.createElement("script");i.type="text/html";i.text=t;i.id=n;document.body.appendChild(i)}},n.LoadReCaptchaApi=function(n){if(n){var t=document.createElement("script");t.src=ut.ReCaptchaConstants.ReCaptchaUrl;t.async=!0;t.defer=!0;document.head.appendChild(t)}},n.getReturntoHomePageHtml=function(n){var t=n?o.Marketplace:e.TfsExtensions;return b.format("<a href={0}>"+t+"<\/a>","'"+s.GalleryURLs.getHomePageURL()+"'")},n.isHighContrastMode=function(){if(n.isHighContrast===undefined){n.isHighContrast=!1;var t=$("<span class='high-contrast-test' style='width:0;height:0' />").appendTo(document.body);t.css("background-image")==="none"&&(n.isHighContrast=!0);t.remove()}return n.isHighContrast},n.getScrollyOffset=function(){return g.BrowserCheckUtils.isIE()?document.documentElement.scrollTop:window.scrollY},n}();t.HtmlHelper=at;t.loadHtmlTemplate=li;t.getHostNamefromUrl=ai;vt=function(){function n(){}return n.errorFriendlyMessage=function(n){return n&&d.caseInsensitiveContains(n,"401: error")?e.ImproveTruncateError:n},n}();t.AcquisitionHelper=vt;t.loadHtmlComponent=vi;t.loadHtmlComponentWithViewModel=yi;ft=function(){function n(){}return n.open=function(n,t,i){i&&h.isSessionStorageAvailable()&&sessionStorage.setItem(f.TelemetryConstants.abandonmentReason,d.format(e.RedirectReason,i));d.ignoreCaseComparer(t,"_blank")!==0&&nt.getService().performAction(f.GalleryEvents.BEFORE_OPEN_WINDOW,n);var r=window.open(n,t);r&&(r.opener=null)},n.openWithPOST=function(n,t,i,r){var u=document.createElement("form"),s,o;if(u.setAttribute("method","post"),u.setAttribute("action",n),u.setAttribute("target",t),d.ignoreCaseComparer(t,"_blank")!==0&&nt.getService().performAction(f.GalleryEvents.BEFORE_OPEN_WINDOW,n),i&&h.isSessionStorageAvailable()&&sessionStorage.setItem(f.TelemetryConstants.abandonmentReason,d.format(e.RedirectReason,i)),r)for(s in r)r.hasOwnProperty(s)&&(o=document.createElement("input"),o.setAttribute("type","hidden"),o.setAttribute("name",s),o.setAttribute("value",r[s]),u.appendChild(o));document.body.appendChild(u);u.submit()},n.handleCtrlClick=function(t,i,r){var f="_self",u=i||window.event;return u&&(u.ctrlKey?f="_blank":g.BrowserCheckUtils.isFirefox()&&u.button===1?f="_blank":(g.BrowserCheckUtils.isMsie()||g.BrowserCheckUtils.isIE())&&u.button===2&&(f="_blank")),n.open(t,f,r),u.preventDefault(),u.stopPropagation(),!1},n.getCurrentUrl=function(){return location.href},n.getQueryString=function(){return location.search},n.reload=function(){location.reload()},n.getQueryParameters=function(){return s.GalleryURLs.getQueryParameters(location.search)},n.addToWindowProperty=function(n,t){window[n]||(window[n]=[]);window[n].push(t)},n.getWindowProperty=function(n){return window[n]},n.getPerformanceTiming=function(){return window.performance.timing},n.onerror=function(n){window.onerror=n},n._abandonmentReasonPropertyName="abandonmentReason",n}();t.WindowWrapper=ft;yt=function(){function n(){}return n.shallowClone=function(n){if(n){var t={};return Object.getOwnPropertyNames(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r)}),t}return n},n.deepClone=function(t){if(t){var i={};return Object.getOwnPropertyNames(t).forEach(function(r){var u=Object.getOwnPropertyDescriptor(t,r),f;u&&u.value&&typeof u.value=="object"?(f=n.deepClone(u.value),i[r]=f):Object.defineProperty(i,r,u)}),i}return t},n.noop=function(){},n}();t.ObjectUtils=yt;pt=function(){function n(){}return n.calculatePrice=function(n,t,i){var u=0,r=0,f;if(i){if(n>0)for(f=t.length;r<f;r++)if(+t[r].key===n){u=+t[r].value;break}}else{for(+t[0].key==0&&(t[0].key=1),r=1;r<t.length&&t[r].key<=n;r++)u=u+(t[r].key-t[r-1].key)*t[r-1].value;u=u+(n-t[r-1].key+1)*t[r-1].value}return u},n}();t.PriceCalculator=pt;wt=function(){function n(){}return n.parseSearchQueryFromUrl=function(n){var t=[],i=k.getQueryParameters(n);return i&&(t.push(i.term),t.push(i.target),t.push(i.sortBy),t.push(i.category),t.push(i.subCategory),t.push(i.targetPlatform)),t},n.isSearchPage=function(n){return n.indexOf("search")>=0?!0:!1},n.isSearchFFEnabled=function(t){return k.getQueryParameters(t).search==="true"||h.CookieUtils.getCookie(n._searchCookieName)==="true"?!0:!1},n.setSearchCookie=function(){document.cookie=n._searchCookieName+"=true"},n._searchCookieName="SearchEnabled",n}();t.SearchUtils=wt;t.UseSecureBinding=pi;t.getAccountNameFromAccountUrl=wi;st="CommerceMarketplaceSubscriptionCookie";t.clearRedirectionCookie=bi;t.storeRedirectionCookie=ki;ht=function(){function n(){}return n.setCookie=function(n){document.cookie=n},n}();t.CookieUtils=ht;t.isErrorAlertClass=di;t.getAverageRatingText=gi;t.extractStatisticsValue=nr;t.getInstallCount=bt;t.getWebDownloadCount=kt;t.getOverallAcquisitionCount=tr;t.getItemNameForInstall=dt;t.isQuantityPresent=ir;t.isLessThanIE11=gt;t.isOnPrem=ni;t.isHosted=rr;t.isPureHosted=ot;t.isOnPremOrHostedConnectedContext=ur;t.isPackageManagementItem=fr;t.isTestManagerItem=er;t.isVsSubscription=or;t.isVsOffer=ti;t.isTeamServicesItem=sr;t.isNdependExtension=hr;t.isAgileCardsItem=cr;t.isThirdPartyPaidExtension=ct;t.isPaidExtension=lr;t.isByolExtension=ar;t.isByolEnabledExtension=ii;t.isByolEnforcedExtension=ri;t.isPurchasableExtension=vr;t.isBuiltIn=yr;t.isXamarinUniversity=pr;t.isBuyCustomizationAutoCompleteForAgileCardsEnabled=wr;t.isHostedConnectedContext=ui;t.isExtensionSupportedForOnPrem=br;t.isOnPremHasInternetAccess=kr;t.isCspUser=dr;t.getOnPremServerName=gr;t.isCspSubscription=nu;t.getOnPremServerUrlFromInstallPath=tu;t.redirectToUrl=iu;t.areAllPromisesFulfilled=ru;t.convertToCurrencyFormat=uu;t.handleKeyEventForNumberTextbox=fu;t.formatQuantityWithTrailingZeroes=fi;t.getRedirectTenantUrl=eu;t.getItemNameFromQueryParam=ei;t.convertNumberToLocaleString=ou;t.isInternalMicrosoftUser=su;et=function(){function n(){}return n.isReferralLinkRedirectionWarningPopupEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReferralLinkRedirectionWarningPopup,n.EnableReferralLinkRedirectionWarningPopup)},n.isVerifiedPublisherDomainEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableVerifiedPublisherDomain,n.EnableVerifiedPublisherDomain)},n.isPublisherDomainFieldUIEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnablePublisherDomainFieldUI,n.EnablePublisherDomainFieldUI)},n.isRevokeDomainVerificationEnableOnDisplayNameChange=function(){return n.checkFeatureState(f.FeatureFlag.EnableUnVerifyDomainOnDisplayNameChange,n.EnableUnVerifyDomainOnDisplayNameChange)},n.isNewAcquisitionOnPremExperienceEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableNewAcquisitionOnPremExperience,n.EnableNewAcquisitionOnPremExperience,!1)},n.AreUrlsInPublisherProfileDisabled=function(){return n.checkFeatureState(f.FeatureFlag.DisableUrlsInPublisherProfile,n.DisableUrlsInPublisherProfile)},n.IsReCaptchaForCreatePublisherProfileEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForCreatePublisherProfile,n.EnableReCaptchaForCreatePublisherProfile)},n.IsReCaptchaForUpdatePublisherProfileEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForUpdatePublisherProfile,n.EnableReCaptchaForUpdatePublisherProfile)},n.IsCaptchaEnabledOnReviewAndRating=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaInReviewAndRating,n.EnableReCaptchaInReviewAndRating)},n.IsCaptchaEnabledOnQnA=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaInQnA,n.EnableReCaptchaInQnA)},n.IsReCaptchaForCreateVisualStudioExtensionEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForCreateVisualStudioExtension,n.EnableReCaptchaForCreateVisualStudioExtension)},n.IsReCaptchaForEditVisualStudioExtensionEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForEditVisualStudioExtension,n.EnableReCaptchaForEditVisualStudioExtension)},n.IsReCaptchaForCreateVisualStudioCodeExtensionEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForCreateVisualStudioCodeExtension,n.EnableReCaptchaForCreateVisualStudioCodeExtension)},n.IsReCaptchaForUpdateVisualStudioCodeExtensionEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaForUpdateVisualStudioCodeExtension,n.EnableReCaptchaForUpdateVisualStudioCodeExtension)},n.isPublisherProfilePageEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnablePublisherProfilePage,n.EnablePublisherProfilePage)},n.isNewTokenAcquisitionExperienceEnabled=function(t){return c.ItemModelHelper.isVSSOffer(t.itemType)&&n.checkFeatureState(f.FeatureFlag.EnableNewTokenAcquisitionExperienceForOffers,n.EnableNewTokenAcquisitionExperienceForOffers)||c.ItemModelHelper.isTestManager(t)&&n.checkFeatureState(f.FeatureFlag.EnableNewTokenAcquisitionExperienceForTestManager,n.EnableNewTokenAcquisitionExperienceForTestManager)||n.checkFeatureState(f.FeatureFlag.EnableNewTokenAcquisitionExperience,n.EnableNewTokenAcquisitionExperience)},n.isEnableNewEmsAcquisitionOptions=function(){return n.checkFeatureState(f.FeatureFlag.EnableNewEmsAcquisitionOptions,n.EnableNewEmsAcquisitionOptions)},n.isLogGetStartedCountEnabled=function(){return n.checkFeatureState(f.FeatureFlag.LogGetStartedCount,n.LogGetStartedCount)},n.isAquisitionTabEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableAcquisitionTab,n.EnableAcqTab,!0)},n.isAquisitionTabForPaidEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableAcquisitionTabForPaid,n.EnableAcqTabForPaid,!0)},n.isSalesTransactionsTabEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableSalesTransactionsTab,n.EnableSalesTab,!0)},n.isQnATabEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableAQnATab,n.EnableQnATab,!0)},n.isIntAcquisitionTabEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableIntAcquisitionTab,n.EnableIntAcquisitionTab)},n.isNewAcquisitionExperienceEnabled=function(t){return t&&(n.isVSSResourceAndNewAcquisitionExperienceEnabledForResource(t)||n.isFirstPartyPaidExtensionAndNewAcquisitionExperienceEnabled(t)||n.isOfferAndNewAcquisitionExperienceEnabled(t)||n.isThirdPartyPaidExtensionAndNewAcquisitionExperienceEnabled(t)||n.isFreeExtensionAndNewAcquisitionExperienceEnabled(t)||n.isTfsExtensionAndNewAcquisitionOnPremExperienceEnabled(t)||n.isTfsExtensionAndNewAcquisitionOnPremConnectedWithNewVersion(t))?!0:!1},n.isVSSResourceAndNewAcquisitionExperienceEnabledForResource=function(n){return n&&c.ItemModelHelper.isHostedResource(n.itemType)?!0:!1},n.isFirstPartyPaidExtensionAndNewAcquisitionExperienceEnabled=function(n){return ot()&&c.ItemModelHelper.isFirstPartyPaidExtension(n)?!0:!1},n.isThirdPartyPaidExtensionAndNewAcquisitionExperienceEnabled=function(n){return ot()&&ct(n)?!0:!1},n.isFreeExtensionAndNewAcquisitionExperienceEnabled=function(n){return ot()&&c.ItemModelHelper.isVSSExtension(n.itemType)?!0:!1},n.isTfsExtensionAndNewAcquisitionOnPremExperienceEnabled=function(n){return ni()&&c.ItemModelHelper.isOnPremSupported(n.itemType)&&this.isNewAcquisitionOnPremExperienceEnabled()?!0:!1},n.isVersionWithNewExperience=function(){var t=u.getConnectedContext(),i=t.enabledFeatures,n=!1;return u.isFeatureEnabled(i,u.OnPremEnabledFeatures.NewAcqExperience)&&(n=!0),n},n.isTfsExtensionAndNewAcquisitionOnPremConnectedWithNewVersion=function(n){return ui()&&c.ItemModelHelper.isOnPremSupported(n.itemType)?this.isVersionWithNewExperience():!1},n.isOfferAndNewAcquisitionExperienceEnabled=function(n){return n&&c.ItemModelHelper.isVSSOffer(n.itemType)&&c.ItemModelHelper.isPaidExtension(n.priceCategory)?!0:!1},n.isNewZeroSearchResultExperienceEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableZeroSearchResultExperience,n.EnableZeroSearchResultExperience)},n.isStickyBannerForItemDetailsPageEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableStickyBannerOnDetailsPage,n.EnableStickyBannerOnDetailsPage)},n.isMarketPlaceBrandingChangesEnabled=function(){return n.checkFeatureState(f.FeatureFlag.MarketplaceBrandingChanges,n.MarketplaceBrandingChanges)},n.isByolForMarketplaceEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableByolForMarketplace,n.EnableByolForMarketplace)},n.isUseNewDomainUrlInShareDropdownEnabled=function(){return n.checkFeatureState(f.FeatureFlag.UseNewDomainUrlInShareDropdown,n.UseNewDomainUrlInShareDropdown)},n.isEnablePreviewSupportForVSEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnablePreviewSupportForVS,n.EnablePreviewSupportForVS)},n.isCommerceServiceRoutingEnabled=function(){return n.checkFeatureState(f.FeatureFlag.CommerceServiceRoutingEnabled,n.CommerceServiceRoutingEnabled)},n.isSupportRequestFeatureEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableSupportRequestFeature,n.EnableSupportRequestFeature)},n.isPublisherCreationDisabled=function(){return n.checkFeatureState(f.FeatureFlag.DisablePublisherCreation,n.DisablePublisherCreation)},n.isVscodeExtensionCreationDisabled=function(){return n.checkFeatureState(f.FeatureFlag.DisableVsCodeExtensionCreation,n.DisableVsCodeExtensionCreation)},n.isVSExtensionCreationDisabled=function(){return n.checkFeatureState(f.FeatureFlag.DisableVSExtensionCreation,n.DisableVSExtensionCreation)},n.isReCaptchaEnabledInCreateCSR=function(){return n.checkFeatureState(f.FeatureFlag.EnableReCaptchaInCreateCSR,n.EnableReCaptchaInCreateCSR)},n.isVersionHistoryDownloadEnabledForVS=function(){return n.checkFeatureState(f.FeatureFlag.EnableVersionHistoryViewForVS,n.EnableVersionHistoryViewForVS)},n.isVersionHistoryDownloadEnabledForVSCode=function(){return n.checkFeatureState(f.FeatureFlag.EnableVersionHistoryViewForVSCode,n.EnableVersionHistoryViewForVSCode)},n.isDisableVSCodeDownloadButtonEnabled=function(){return n.checkFeatureState(f.FeatureFlag.DisableVSCodeDownloadButton,n.DisableVSCodeDownloadButton)},n.isCallNewGetAccountsVersionAPIEnabled=function(){return n.checkFeatureState(f.FeatureFlag.CallNewGetAccountsVersionAPI,n.CallNewGetAccountsVersionAPI)},n.isCommerceServiceFallbackDisabled=function(){return n.checkFeatureState(f.FeatureFlag.CommerceServiceFallbackDisabled,n.CommerceServiceFallbackDisabled)},n.isMarkPublisherVerifiedByDefaultEnabled=function(){return n.checkFeatureState(f.FeatureFlag.MarkPublishersVerifiedByDefault,n.MarkPublishersVerifiedByDefault)},n.isDeletePreventEnableForVsCodeAndVsIdeExtensions=function(){return n.checkFeatureState(f.FeatureFlag.PreventDeletingVsCodeAndVsIdeExtensionsFromUI,n.PreventDeletingVsCodeAndVsIdeExtensionsFromUI)},n.isVSConsolidationUIForManagePagesEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableMultipleExtensionPayloadsPerEntries,n.EnableMultipleExtensionPayloadsPerEntries)},n.isSeeMoreButtonOnVersionHistoryTabEnabled=function(){return n.checkFeatureState(f.FeatureFlag.EnableSeeMoreButtonOnVersionHistoryTab,n.EnableSeeMoreButtonOnVersionHistoryTab)},n.checkFeatureState=function(n,t,i){return(i===void 0&&(i=!1),y.FeatureAvailabilityService.isFeatureEnabled(n,!1))?!0:h.FeatureFlagUtils.isFeatureFlagEnabled(ft.getCurrentUrl(),t)?(i&&h.FeatureFlagUtils.setFeatureFlagCookie(t),!0):!1},n.enableModalInstallFF="ModalInstall",n.annualSubscriptionRenewalFF="AnnualSubscriptionRenewal",n.LogGetStartedCount="LogGetStartedCount",n.EnableAcqTab="EnableAcqTab",n.EnableAcqTabForPaid="EnableAcqTabForPaid",n.EnableQnATab="EnableQnATab",n.EnableSalesTab="EnableSalesTab",n.EnableIntAcquisitionTab="EnableIntAcquisitionTab",n.EnableNewAcquisitionOnPremExperience="EnableNewAcquisitionOnPremExperience",n.EnableZeroSearchResultExperience="ZeroSearchResultExperience",n.EnableNewTokenAcquisitionExperience="EnableNewTokenAcquisitionExperience",n.EnableNewTokenAcquisitionExperienceForOffers="EnableNewTokenAcquisitionExperienceForOffers",n.EnableNewTokenAcquisitionExperienceForTestManager="EnableNewTokenAcquisitionExperienceForTestManager",n.EnableStickyBannerOnDetailsPage="EnableStickyBannerOnDetailsPage",n.MarketplaceBrandingChanges="MarketplaceBrandingChanges",n.EnableByolForMarketplace="EnableByolForMarketplace",n.EnableVersionHistoryViewForVS="EnableVersionHistoryViewForVS",n.EnableVersionHistoryViewForVSCode="EnableVersionHistoryViewForVSCode",n.DisableVSCodeDownloadButton="DisableVSCodeDownloadButton",n.DisableVSExtensionCreation="DisableVSExtensionCreation",n.DisableVsCodeExtensionCreation="DisableVsCodeExtensionCreation",n.EnableSupportRequestFeature="EnableSupportRequestFeature",n.DisablePublisherCreation="DisablePublisherCreation",n.EnableReCaptchaInCreateCSR="EnableReCaptchaInCreateCSR",n.NewAcquisitionOptedIn="NewAcquisitionOptedIn",n.UseNewDomainUrlInShareDropdown="UseNewDomainUrlInShareDropdown",n.EnableNewEmsAcquisitionOptions="UseNewEmsAcquisitionOptions",n.EnablePublisherProfilePage="EnablePublisherProfilePage",n.EnablePreviewSupportForVS="EnablePreviewSupportForVS",n.CommerceServiceRoutingEnabled="CommerceServiceRoutingEnabled",n.CallNewGetAccountsVersionAPI="CallNewGetAccountsVersionAPI",n.CommerceServiceFallbackDisabled="CommerceServiceFallbackDisabled",n.EnableSortByInstallCountUI="EnableSortByInstallCountUI",n.MarkPublishersVerifiedByDefault="MarkPublishersVerifiedByDefault",n.DisableUrlsInPublisherProfile="DisableUrlsInPublisherProfile",n.EnableReCaptchaInReviewAndRating="EnableReCaptchaInReviewAndRating",n.EnableReCaptchaInQnA="EnableReCaptchaInQnA",n.EnableReCaptchaForCreatePublisherProfile="EnableReCaptchaForCreatePublisherProfile",n.EnableReCaptchaForUpdatePublisherProfile="EnableReCaptchaForUpdatePublisherProfile",n.EnableReCaptchaForCreateVisualStudioExtension="EnableReCaptchaForCreateVisualStudioExtension",n.EnableReCaptchaForEditVisualStudioExtension="EnableReCaptchaForEditVisualStudioExtension",n.EnableReCaptchaForCreateVisualStudioCodeExtension="EnableReCaptchaForCreateVisualStudioCodeExtension",n.EnableReCaptchaForUpdateVisualStudioCodeExtension="EnableReCaptchaForUpdateVisualStudioCodeExtension",n.PreventDeletingVsCodeAndVsIdeExtensionsFromUI="PreventDeletingVsCodeAndVsIdeExtensionsFromUI",n.EnableMultipleExtensionPayloadsPerEntries="EnableMultipleExtensionPayloadsPerEntries",n.EnableTargetPlatformFilterDropdown="EnableTargetPlatformFilterDropdown",n.EnableSeeMoreButtonOnVersionHistoryTab="EnableSeeMoreButtonOnVersionHistoryTab",n.EnableReferralLinkRedirectionWarningPopup="EnableReferralLinkRedirectionWarningPopup",n.EnableVerifiedPublisherDomain="EnableVerifiedPublisherDomain",n.EnablePublisherDomainFieldUI="EnablePublisherDomainFieldUI",n.EnableUnVerifyDomainOnDisplayNameChange="EnableUnVerifyDomainOnDisplayNameChange",n}();t.FeatureFlagUtils=et;oi=function(){function n(){}return n.readBlobAsBase64=function(n){var r=i.defer(),t=new FileReader;return t.onloadend=function(){var i=t.result,n;i&&i.indexOf(",")>-1&&(n=i.substr(i.indexOf(",")+1),n.substr(0,2)==="//"&&n.length%4==2&&(n=n.substr(2)),r.resolve(n))},t.onabort=t.onerror=function(){r.reject("Error converting blob to base64")},t.readAsDataURL(n),r.promise},n}();t.FileUtils=oi;si=function(){function n(){}return n.getErrorTrace=function(t){return JSON.stringify(t,n.replaceErrors)},n.replaceErrors=function(n,t){if(t&&t instanceof Error){var i={};return Object.getOwnPropertyNames(t).forEach(function(n){i[n]=t[n]}),i}return t},n}();t.ErrorUtils=si;t.getSupportedTargetPlatformsByExtension=hu;t.getExtensionAsset=hi;t.getAssetUrl=cu;t.setDocumentBodyPaddingForScrollBarRemoval=lu;t.getPropertiesMapForExtension=au;t.unsetDocumentBodyPaddingForScrollBarRemoval=vu;t.stripTimeFromUTCDate=yu;t.hasInternetAccess=ci;t.getErrorMessage=pu;t.isValidEmailAddress=wu;t.isValidVSID=bu});

define("Gallery/Client/Controls/ImageControl/Image.ViewModel",["require","exports","VSS/Utils/String"],function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});t.ImageViewModel=void 0;var r=function(){function n(n){this.imageVisible=!0;this.imageSrc=n.imageUrl;this.fallbackImageSrc=n.fallbackImageUrl||this.imageSrc;this._hideIfNotFound=n.hideIfNotFound;this.imageStyle=n.imageStyle;this.bowtieStyle=n.bowtieStyle;this._hideIfNotFound&&!n.imageUrl&&(this.imageVisible=!1)}return n.prototype.componentLoaded=function(n){var t=this,i;if(n.parentElement){i=n.parentElement.getElementsByClassName("image-display");$(i).on("error",function(n){t.imageOnError(t,n)})}},n.prototype.imageOnError=function(n,t){var r=t.srcElement,u;r||(r=t.target);r&&r instanceof Element&&(u=r.getAttribute("src"),i.ignoreCaseComparer(u,this.fallbackImageSrc)!==0?r.setAttribute("src",this.fallbackImageSrc):(this._hideIfNotFound&&(this.imageVisible=!1),this.imageOnError=function(){}),this.imageVisible||r.setAttribute("style","display:none"))},n}();t.ImageViewModel=r});

define("Gallery/Client/Controls/VNext/ItemTile/ItemTile.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.ItemTile=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-item-tile";n.TEMPLATE_HTML='    <a class="gallery-item-card-container" data-bind="attr: { href: item.link, target: linkTarget, tabindex : getTabIndex(), \'aria-label\': getScreenReaderText() }, click: clickItem()">\n        <div class="gallery-item-cardHomePage" data-bind="attr: { title: item.title}">\n            <div class="cover">\n                <!-- ko if: showCertifiedBadge -->\n                <i class="active-user-info certified-badge-image" data-bind="attr: { title: certifiedBadgeText }, text: certifiedBadgeIcon" role="presentation"><\/i>\n                <!-- /ko -->\n                <div class="icon-cell" data-bind="template: { name: \'image-template\', data: imageViewModel}, attr: { title: item.summary }"><\/div>\n                <div class="core-info-cell">\n                    <div class="name">\n                        <span class="item-title" data-bind="text: item.title, attr: { title: item.summary}"><\/span>\n                        <span class="text-fadeout" data-bind="style: {width: calculateWidthBasedOnSibling($element, \'item-title\', 158, \'30px\')}"><\/span>\n                    <\/div>\n                    <!--ko ifnot: showInstallCount -->\n                    <div class="publisher" data-bind="text: item.author , attr: { title: item.author }"><\/div>\n                    <span class="text-fadeout"><\/span>\n                    <!-- /ko -->\n                    <!--ko if: showInstallCount -->\n                    <div class="core-info-second-row">\n                        <span class="installs" data-bind="visible: item.installCount && item.installCount !== \'0\'">\n                            <i class="bowtie-icon bowtie-install install-icon"><\/i>\n                            <span class="install-count" data-bind="text: item.installCount"><\/span>\n                        <\/span>\n                        <div class="publisher">\n                            <span data-bind="text: item.author , attr: { title: item.author }"><\/span>\n                            <span class="text-fadeout"><\/span>\n                        <\/div>\n                    <\/div>\n                    <!-- /ko -->\n                    <!--ko if: showDomain -->\n                    <div class="core-info-third-row">\n                        <i class="verified-domain-icon" data-bind="attr: { title: verifiedDomainText }, text: verifiedDomainIcon" role="presentation"><\/i>\n                        <div class="publisher-domain">\n                            <span data-bind="text: cleanedPublisherDomain, attr: { title: cleanedPublisherDomain }"><\/span>\n                            <span class="text-fadeout"><\/span>\n                        <\/div>\n                    <\/div>\n                    <!-- /ko -->\n                <\/div>\n            <\/div>\n            <div class="stats-and-offer">\n                <!-- ko if: showRatingReview -->\n                <div class="rating-and-price">\n                    <div role="img" class="rating" data-bind="component: {name: \'gallery-rating-control\', params: ratingControlParams}, attr: { \'alt\': averageRatingText, title: averageRatingText }"><\/div>\n                    <div class="pricing-tag" data-bind="text: item.costCategory, attr: { title: item.costCategory }"><\/div>\n                    <span class="text-fadeout"><\/span>\n                <\/div>\n                <!-- /ko -->\n                <!-- ko ifnot: showRatingReview -->\n                <div class="pricing-tag" data-bind="text: item.costCategory, attr: { title: item.costCategory }"><\/div>\n                <span class="text-fadeout"><\/span>\n                <!-- /ko -->\n            <\/div>\n        <\/div>\n    <\/a>\n'})(i=t.ItemTile||(t.ItemTile={}))});

define("Gallery/Client/Controls/VNext/ItemTile/ItemTile.ViewModel",["require","exports","knockout","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/Utility","Gallery/Client/Common/Utility","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Controls/ImageControl/Image.ViewModel","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Controls/VNext/ItemTile/ItemTile.KnockoutTemplate","VSS/Utils/String","Gallery/Client/Common/Constants"],function(n,t,i,r,u,f,e,o,s,h,c,l,a){function y(){i.components.register(v.COMPONENT_NAME,{viewModel:v,template:c.ItemTile.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.ItemTileViewModel=void 0;var v=function(){function n(n){this.removeTabFocus=!1;this.showRatingReview=!1;this.showInstallCount=!1;this.useDefaultIcon=!1;this.showCertifiedBadge=!1;this.certifiedBadgeText="";this.verifiedDomainText="";this.showDomain=!1;this.cleanedPublisherDomain="";this.certifiedBadgeIcon="\ue9d1";this.verifiedDomainIcon="\uf6ad";this.containerName="";this.containerName=n.containerName;this.item=n.item;this.ratingControlParams={rating:this.item.rating,totalStars:5};var t={imageUrl:"",fallbackImageUrl:"",imageStyle:"item-icon",hideIfNotFound:!0};t.imageUrl=this.item.thumbnail;t.fallbackImageUrl=this.item.fallbackThumbnail;this.useDefaultIcon=!this.item.thumbnail;this.useDefaultIcon&&(n.item.itemType===h.ItemTypeEnum.VSTS?(t.imageUrl=null,t.bowtieStyle="bowtie-brand-vsts-alt-1"):t.imageUrl=u.GalleryURLs.getResourcePath()+"Header/default_icon.png");this.imageViewModel=new s.ImageViewModel(t);n.removeTabFocus&&(this.removeTabFocus=!0);this.linkTarget="_self";e.GalleryDataProvider.deploymentIsHosted()&&(this.showRatingReview=!0,this.item.installCount!=="0"&&this.item.installCount!==undefined&&(this.showInstallCount=!0));this.averageRatingText=l.format(o.AverageRatingHoverText,this.item.rating.toFixed(1),this.item.ratingCount.toString(),this.item.ratingCount>1?o.RatingPluralText:o.RatingSingularText);this.showCertifiedBadge=u.isFeatureFlagOrCookieEnabled(a.ManagePublisherPageConstants.EnableCertifiedPublisherUIChanges,a.ManagePublisherPageConstants.EnableCertifiedPublisherUIChanges)&&this.item.itemType===h.ItemTypeEnum.VSTS&&this.item.isPublisherCertified;this.certifiedBadgeText=o.MarketplaceCertifiedPublisherTitle;this.verifiedDomainText=o.MarketplaceVerifiedDomainTitle;f.FeatureFlagUtils.isVerifiedPublisherDomainEnabled()&&this.item.isPublisherDomainVerified&&(this.showDomain=!0,this.cleanedPublisherDomain=f.UrlUtils.getDomainNameFromUrl(this.item.publisherDomain))}return n.prototype.getScreenReaderText=function(){var n=this.showCertifiedBadge?o.Top:"";return l.format(o.ItemTile_ScreenReaderText,this.item.title,n,this.item.author,this.item.installCount,this.averageRatingText,this.item.costCategory)},n.prototype.getTabIndex=function(){return this.removeTabFocus?"-1":"0"},n.prototype.clickItem=function(){var n=this;return function(){return n.logTelemetryToCI()}},n.prototype.logTelemetryToCI=function(){var t="",i="",n={},u=r.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties;switch(this.item.itemType){case h.ItemTypeEnum.VS:t=r.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.VS_ITEM;n[u.ProductType]=h.ItemMinifiedHelper.getItemTypeText(h.ItemTypeEnum.VS);i=this.item.title;break;case h.ItemTypeEnum.VSTS:t=r.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.VSTS_ITEM;n[u.ProductType]=h.ItemMinifiedHelper.getItemTypeText(h.ItemTypeEnum.VSTS);i=h.ItemMinifiedHelper._getItemName(this.item.link);break;case h.ItemTypeEnum.VSCode:t=r.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.VSCODE_ITEM;n[u.ProductType]=h.ItemMinifiedHelper.getItemTypeText(h.ItemTypeEnum.VSCode);i=h.ItemMinifiedHelper._getItemName(this.item.link)}return t!==""&&(n[r.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Id]=i,n.container=this.containerName,r.TelemetryHelper.publishEventAsync(t,n)),!0},n.prototype.calculateWidthBasedOnSibling=function(n,t,i,r){var u=n.parentElement.getElementsByClassName(t)[0].offsetWidth;return u>i?r:"0px"},n.prototype.calculateMarginBasedonPubNameWithInstall=function(n){return this.isPubNameWithInstallOverflow(n)?"0px":"5px"},n.prototype.isPubNameWithInstallOverflow=function(n){var t=n.parentElement.getElementsByClassName("publisher-with-installcount")[0].offsetWidth;return t>105?!0:!1},n.COMPONENT_NAME="gallery-item-tile",n}();t.ItemTileViewModel=v;t._registerComponents=y});

define("Gallery/Client/Common/AccessibilityUtils",["require","exports","VSS/Diag"],function(n,t,i){function o(n,t){if(n){var i;return(i=t?n.querySelector("."+t):n.querySelector("[data-is-focusable]"),i&&!i.disabled)?(i.focus(),!0):!1}}function s(n){n&&n.focus()}function h(n,t){var u,r,f;if(t===void 0&&(t=!1),n)for(i.log(i.LogVerbosity.Info,"announce (".concat(t?"assertive":"polite","): ").concat(n)),u=t?"utils-accessibility-announce-assertive":"utils-accessibility-announce-polite",r=document.getElementById(u),r||(r=document.createElement("div"),r.id=u,r.className="visually-hidden",r.setAttribute("aria-live",t?"assertive":"polite"),document.body.appendChild(r)),f=document.createElement("p"),f.textContent=n,r.appendChild(f);r.children.length>e;)r.removeChild(r.children[0])}function c(n){n.on("keydown",function(t){var e=t.which?t.which:t.keyCode,r,i,u,f;if(e===9){if(r="a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]",i=n.find(r).filter(":visible"),!i||i.length===0)return;t.shiftKey?(u=i.first(),(t.target===u[0]||t.target===n[0])&&(i.last().focus(),t.preventDefault(),t.stopPropagation())):(f=i.last(),t.target===f[0]&&(i.first().focus(),t.preventDefault(),t.stopPropagation()))}})}function l(n){var t=u(n);t&&t.focus()}function u(n){var t=r(n);if(t&&t.length!==0)return t.last()}function a(n){var t=f(n);t&&t.focus()}function f(n){var t=r(n);if(t&&t.length!==0)return t.first()}function v(n,t){var i=r(n),u;i&&i.length!==0&&(u=i.index(t),u===i.length-1&&(u=-1),i.eq(u+1).focus())}function r(n){return n.find("a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]")}Object.defineProperty(t,"__esModule",{value:!0});t.setFocusOnNextTabbableElement=t.getFirstTabbableElement=t.setFocusOnFirstTabbableElement=t.getLastTabbableElement=t.setFocusOnLastTabbableElement=t.setModalTabbing=t.announce=t.focusElement=t.focusFocusableElement=void 0;var e=10;t.focusFocusableElement=o;t.focusElement=s;t.announce=h;t.setModalTabbing=c;t.setFocusOnLastTabbableElement=l;t.getLastTabbableElement=u;t.setFocusOnFirstTabbableElement=a;t.getFirstTabbableElement=f;t.setFocusOnNextTabbableElement=v});

define("Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel",["require","exports","knockout","q","Gallery/Client/Controls/VNext/Carousel/Carousel.ViewModel","Gallery/Client/Controls/VNext/CategoryTile/CategoryTile.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Controls/VNext/ErrorControl/ErrorControl.ViewModel","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Service/ItemsConverter","Gallery/Client/Controls/VNext/ItemTile/ItemTile.ViewModel","Gallery/Client/Service/VNext/Utility","Gallery/Client/Common/AccessibilityUtils","VSS/Utils/String"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){var k,b;Object.defineProperty(t,"__esModule",{value:!0});t.GalleryTab=t.BaseTabViewModel=void 0;k=function(){function n(n,t){this.categories=i.observable();this.categoriesString=c.FilterByCategoryCollection;this.showCategories=i.observable(!1);this.extensionsPerCategory=i.observableArray([]);this._koShowSpinner=i.observable();this._spinnerID="OtherLoadSpinner";this.isHosted=i.observable(!0);this.hasError=i.observable(!1);this._tabDataPromise=r.defer();this._tabDataWholeFetchPromise=r.defer();this.carouselViewModelsData={};this._spinnerStartAnnounced=!1;this._completed=!1;this._announceStartDelay=1e3;this.isDedupeEnabled=!1;this.isSSREnabledForHomepage=!1;this.shouldRedirectToAFD=!1;this._TileWidth=195.5;this.seeMoreString=c.SeeMore;this.currentTab=n;this.isVisible=i.pureComputed(function(){return t.selectedTab()===t.currentTab});this.errorControlViewModel=new o.ErrorControlViewModel({errorText:"We're sorry, the tools and extensions are not loading at this time."});this._koShowSpinner(!1);this.isDedupeEnabled=y.HomepageDedupeUtils.isHomepageDedupeEnabled();this.isSSREnabledForHomepage=this.isHosted()&&y.isFeatureFlagOrCookieEnabled("EnableSSRForHomepageVSCode","EnableSSRForHomepageVSCode");this.shouldRedirectToAFD=this.isHosted()&&y.isFeatureFlagOrCookieEnabled("EnableItemDetailsAFDCachingForVSCodeHomePage","EnableItemDetailsAFDCachingForVSCodeHomePage")}return n.prototype.setcategoriesIDs=function(n){var t=e.tabConstants.SubcriptionTab,i;this.categoriesIDs=[];switch(this.currentTab){case b.VSTab:t=e.tabConstants.VSTab;break;case b.VSForMacTab:t=e.tabConstants.VSForMacTab;break;case b.VSTSTab:t=e.tabConstants.VSTSTab;break;case b.VSCodeTab:t=e.tabConstants.VSCodeTab}for(i=0;i<n.extensionsPerCategory.length;i++)this.categoriesIDs.push("HeaderID_"+t+"_"+n.extensionsPerCategory[i].categoryName.replace(/ /g,""))},n.prototype.getkeyPressed=function(n){var t=this;return function(i,r){return t.keyPressed(r,n)}},n.prototype.getClicked=function(n){var t=this;return function(){return t.logTelemetryToCI_CategoryClick?t.logTelemetryToCI_CategoryClick(n):!0}},n.prototype.getSeeMoreAriaLabel=function(n){return w.format(c.SeeMoreAriaLabel,n)},n.prototype.getTabIndex=function(n){return this.isTabbableCategory(n)?"0":"-1"},n.prototype.getCategoriesID=function(n){if(!isNaN(n))return this.categoriesIDs[Number(n)]},n.prototype.getCategoryHeaderRole=function(n){return n?"link":"presentation"},n.prototype.logTelemetryToCI_CategoryClick=function(n){var i="",t={},u=s.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties,r;return i=s.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.CATEGORY_CLICK,r=this._getProduct(),i!==""&&(t.Type=e.CatgeoryHeaderConstants.header,t[u.ProductType]=r,t[s.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Id]=n,s.TelemetryHelper.publishEventAsync(i,t)),!0},n.prototype.keyPressed=function(n,t){return n.which===e.SPACE_KEY_CODE?(t!==this.categoriesIDs.length-1?$("#"+this.categoriesIDs[t+1]).focus():$("#"+this.categoriesIDs[0]).focus(),!1):!0},n.prototype.getCategoriesViewModelParams=function(){return{componentName:f.CategoryTileViewModel.COMPONENT_NAME,items:this.categories()}},n.prototype.getDropDownViewModelParams=function(){var i=this,t,n;switch(this.currentTab){case b.VSTSTab:t=e.tabSelector.VSTSTab;break;case b.VSCodeTab:t=e.tabSelector.VSCodeTab}return n={itemsList:[],onDropDownChanged:function(n){i._setIsTrendingIsVisibleStatus(n().elementID);i._logTrendingTypeChangeTelemetry(n().elementID)},defaultItemIndex:1,tabSelector:t},n.itemsList.push({elementLabel:"today",elementID:"TrendingDaily"}),n.itemsList.push({elementLabel:"this week",elementID:"TrendingWeekly"}),n.itemsList.push({elementLabel:"this month",elementID:"TrendingMonthly"}),n},n.prototype._getProduct=function(){var n;switch(this.currentTab){case b.VSTab:n=e.tabConstants.VSTab;break;case b.VSForMacTab:n=e.tabConstants.VSForMacTab;break;case b.VSTSTab:n=e.tabConstants.VSTSTab;break;case b.VSCodeTab:n=e.tabConstants.VSCodeTab}return n},n.prototype.setCategories=function(n,t){t===void 0&&(t=!1);var r=this._getProduct(),i=[];n&&n.forEach(function(n){n&&i.push({name:n.title,link:n.link,product:r,openInNewTab:t})});this.categories(i)},n.prototype._preFetchExtensions=function(n,t,i){var e=this,f=r.defer(),u={};return u.category=n,u.currentPageNumber=t,u.pageSize=i,u.tab=this.currentTab,u.searchTerm="",h.GalleryDataProvider.GetInstance().GetExtensionsData(u).then(function(n){f.resolve(e._preFetchExtensionSuccess(n))},function(n){f.reject(n)}),f.promise},n.prototype._preFetchExtensionSuccess=function(n){var t=[],i;return t.push({vssItems:n.searchResults,categoryName:"",hasMoreExtensions:!1}),this.currentTab===b.VSTSTab&&(i=a.ItemsConverter.convertToBaseTabTileData(t,null,l.ItemTypeEnum.VSTS,null,null,null,null,null,!1)),this.currentTab===b.VSCodeTab&&(i=a.ItemsConverter.convertToBaseTabTileData(t,null,l.ItemTypeEnum.VSCode,null,null,null,null,null,this.isSSREnabledForHomepage)),this.currentTab===b.VSTab&&(i=a.ItemsConverter.convertToBaseTabTileData(t,null,l.ItemTypeEnum.VS,null,null,null,null,null,!1)),this.currentTab===b.VSForMacTab&&(i=a.ItemsConverter.convertToBaseTabTileData(t,null,l.ItemTypeEnum.VSForMac,null,null,null,null,null,!1)),i.extensionsPerCategory[0].extensions},n.prototype.onVSTabDataInitialized=function(){return this._tabDataPromise.promise},n.prototype.onVSTabOtherDataInitialized=function(){return this._tabDataWholeFetchPromise.promise},n.prototype.isTrendingCategoryType=function(n){return n.indexOf(c.Trending)>=0?!0:!1},n.prototype.isTabbableCategory=function(n){return this.isTrendingCategoryType(n)||n.indexOf(c.Featured)>=0?!1:!0},n.prototype.showSeeMore=function(n){return n.indexOf(c.Trending)>=0?!1:!0},n.prototype.getCategoryHeaderText=function(n){return n.indexOf(c.Trending)>=0?c.Trending:n},n.prototype.getCarouselViewModel=function(n){return this.carouselViewModelsData[this.getCategoryHeaderText(n.categoryName)]||this.constructCarouselViewModel(n),this.carouselViewModelsData[this.getCategoryHeaderText(n.categoryName)]},n.prototype.EndScenario=function(t){s.TelemetryVNext.split(s.PerformanceConstants.ExtensionRendered);this.endScenarioPromise=s.TelemetryVNext.EndScenario(t,{tabSelectedSource:n.TabSelectedSource,isTTI:!0},!1).then(function(t){return s.TelemetryVNext.EndScenario(s.PerformanceConstants.LoadHomePageAllTabs,{tabSelectedSource:n.TabSelectedSource,isTTI:!0},!0,t)})},n.prototype.constructCarouselViewModel=function(n){var t=this._getCarouselViewModelParams(n),i=new u.CarouselViewModel(t);this.carouselViewModelsData[this.getCategoryHeaderText(n.categoryName)]=i},n.prototype._getCarouselViewModelParams=function(n){var t=this;return{componentName:v.ItemTileViewModel.COMPONENT_NAME,items:n.extensions,numberOfItemsToDisplay:6,itemWidth:this._TileWidth,delayRenderingOfItemsNotInViewport:!0,carouselId:this._getCarouselId(n.categoryName),hasMoreItems:n.hasMoreExtensions,fetchNextSetOfItems:function(n,i,r){return t._preFetchExtensions(n,i,r)},carouselTitle:this._getCarouselTitle(n.categoryName),carouselCategory:n.categoryName,maxNoOfPages:this.isTrendingCategoryType(n.categoryName)?3:0,newItemsDisplayedCallback:function(n,i){t._sendImpressionsTelemetry(n,i)}}},n.prototype._sendImpressionsTelemetry=function(n,t){if(y.TileImpressionUtils.isTileImpressionsEnabled()&&n){var i={},r=[];n.forEach(function(n){r.push(l.ItemMinifiedHelper._getItemName(n.link))});i[s.CustomerIntelligenceConstants.MarketPlaceIntelligencePropertyName.IMPRESSIONS_ITEMS]=r;i[s.CustomerIntelligenceConstants.MarketPlaceIntelligencePropertyName.IMPRESSIONS_LOCATION]="homePage";i[s.CustomerIntelligenceConstants.MarketPlaceIntelligencePropertyName.CONTAINER]=t;s.TelemetryHelper.publishEventAsync(s.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.IMPRESSIONS,i)}},n.prototype._setIsTrendingIsVisibleStatus=function(n){var t=this,i,r;this.carouselViewModelsData[c.Trending].setSpinner();this.isDedupeEnabled?(i=this._getTrendingItems(n),this.carouselViewModelsData[c.Trending].resetCarouselItems(i,this._getCarouselId(n)),this.carouselViewModelsData[c.Trending].isSpinnerDisabled(!0)):(r=6,this._preFetchExtensions(n,0,r).then(function(i){t.carouselViewModelsData[c.Trending].resetCarouselItems(i,t._getCarouselId(n));t.carouselViewModelsData[c.Trending].isSpinnerDisabled(!0)}))},n.prototype._getTrendingItems=function(n){for(var r=[],i=this.extensionsPerCategory(),t=0;t<i.length;t++)if(i[t].categoryName===n){r=i[t].extensions;break}return r},n.prototype._getCarouselId=function(n){var t=e.tabConstants.SubcriptionTab;switch(this.currentTab){case b.VSTab:t=e.tabConstants.VSTab;break;case b.VSForMacTab:t=e.tabConstants.VSForMacTab;break;case b.VSTSTab:t=e.tabConstants.VSTSTab;break;case b.VSCodeTab:t=e.tabConstants.VSCodeTab}return t+"_"+n},n.prototype._getCarouselTitle=function(n){return n.indexOf(c.Trending)>=0?this._getCarouselId(c.Trending):this._getCarouselId(n)},n.prototype._logTrendingTypeChangeTelemetry=function(n){var t={},u=s.CustomerIntelligenceConstants.MarketPlaceIntelligencePropertyName,i="",r="";switch(this.currentTab){case b.VSTab:i=e.tabConstants.VSTab;r="VS";break;case b.VSTSTab:i=e.tabConstants.VSTSTab;r="VSTS";break;case b.VSCodeTab:i=e.tabConstants.VSCodeTab;r="VSCode"}t[u.TAB_SELECTED]=i;t.TrendingType=n;t[u.PRODUCT_TYPE]=r;s.TelemetryHelper.publishEventAsync(s.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.TRENDING_TYPE,t)},n.prototype.startSpinner=function(){var n=this;this._koShowSpinner(!0);this._completed=!1;this._announceDelay=setTimeout(function(){p.announce(c.StartFetchingExtensions,!0);n._spinnerStartAnnounced=!0},this._announceStartDelay)},n.prototype.stopSpinner=function(n){n===void 0&&(n=!1);this._koShowSpinner(!1);this._completed||(this._completed=!0,this._spinnerStartAnnounced?n?p.announce(c.ErrorFetchingExtensions):p.announce(c.EndFetchingExtensions):clearTimeout(this._announceDelay))},n}();t.BaseTabViewModel=k,function(n){n[n.VSTab=0]="VSTab";n[n.VSForMacTab=1]="VSForMacTab";n[n.VSTSTab=2]="VSTSTab";n[n.VSCodeTab=3]="VSCodeTab"}(b=t.GalleryTab||(t.GalleryTab={}))});

define("Gallery/Client/Service/HistoryService",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.HistoryService=void 0;var i=function(){function n(){if(n._instance)throw new Error("Use HashDataService.getInstance");}return n.getInstance=function(){return n._instance},n.prototype.getCurrentHashData=function(){var n=window.location.hash;return n&&n[0]==="#"&&(n=n.substr(1)),n},n.prototype.setHashData=function(n){window.location.hash=n},n.prototype.replaceHashData=function(n){window.location.replace("#"+n)},n._instance=new n,n}(),r=function(){function n(){if(this.supportHash=!0,this.listeningPopStateChangeEvent=!1,this.stateChangeEventHandlers=[],n._instance)throw new Error("Use HistoryService.getInstance");window.history.pushState&&(this._isPushStateSupported=!0)}return n.getInstance=function(){return n._instance},n.prototype.pushState=function(t,i,r,u){this._isPushStateSupported?(u&&(u=this._addSlashAtEnd(u),r=u+r),window.location.protocol!=="file:"&&window.history.pushState(t,i,r)):n._hashDataService.setHashData(r)},n.prototype.getCurrentState=function(){return this._isPushStateSupported?window.history.state:n._hashDataService.getCurrentHashData()},n.prototype.getCurrentHash=function(){return n._hashDataService.getCurrentHashData()},n.prototype.replaceState=function(t,i,r,u){this._isPushStateSupported?(u&&(u=this._addSlashAtEnd(u),r=u+r),window.location.protocol!=="file:"&&window.history.replaceState(t,i,r)):n._hashDataService.replaceHashData(r)},n.prototype.registerHandler=function(n){if(!this.listeningPopStateChangeEvent){if(this._isPushStateSupported)$(window).on("popstate",this._onStateChanged.bind(this));else $(window).on("hashchange",this._onStateChanged.bind(this));this.listeningPopStateChangeEvent=!0}this.stateChangeEventHandlers.push(n)},n.prototype.detachHandler=function(n){this.stateChangeEventHandlers=this.stateChangeEventHandlers.filter(function(t){return t!==n})},n.prototype.isPushStateSupported=function(){return this._isPushStateSupported},n.prototype._addSlashAtEnd=function(n){return n[n.length-1]!=="/"&&(n+="/"),n},n.prototype._onStateChanged=function(){for(var t=this.getCurrentState(),i=this.stateChangeEventHandlers.length,n=0;n<i;n++)this.stateChangeEventHandlers[n](this,t)},n.prototype._isParentPage=function(n){var t=this._getLastPartOfUrl();return t&&t.toLowerCase()===n.toLowerCase()},n.prototype._getLastPartOfUrl=function(){for(var t=window.location.pathname.split("/"),i="",n=t.length-1;n>=0;)if(t[n].length===0)n--;else{i=t[n];break}return i},n.prototype._clearHash=function(){window.history.replaceState("",document.title,window.location.pathname)},n._instance=new n,n._hashDataService=i.getInstance(),n}();t.HistoryService=r});

define("Gallery/Client/Controls/VNext/DropDownControl/DropDownControl.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.DropDownControl=void 0;var i;(function(n){n.TEMPLATE_ID="drop-down-control";n.TEMPLATE_HTML='    <span class="drop-down-options">\n        <div role="button" aria-haspopup="true" class="trending-dropdown" data-bind="attr: {tabindex: \'0\', \'aria-expanded\' : isExpanded}, \n             click: dropDownClick(), \n             enterkey: dropDownClick(), \n             spacekey: dropDownClick()">      \n            <!-- EU Cookie Consent: Consider user consent on clicking anywhere in drop-dwon text by setting data-mscc-ic attribute to true -->\n            <span data-bind="attr: {title: chosenDropDownElement().elementLabel}, text: chosenDropDownElement().elementLabel" class="dropdown-text" data-mscc-ic="true"><\/span>\n            <span class="bowtie-icon bowtie-chevron-down dropdown-icon" data-mscc-ic="true"><\/span>\n        <\/div>\n        <div class="dropdown-menu-container" tabindex="-1">\n            <ul role="menu" class="dropdown-menu" tabindex="-1" data-bind=\'visible: menuVisible, foreach: dropDownElements\'>\n                <li role="menuitem" class="trending-dropdown-menu-item" tabindex="-1" data-bind="text: $data.elementLabel, event: {\n                    click: $parent.optionChange($index()),\n                    focus: $parent.getFocus(),\n                    mouseover: $parent.mouseOver(),\n                    keydown:  $parent.keyPress($index())}, attr: {\'aria-expanded\' : $parent.isExpanded}"><\/li>\n            <\/ul>\n        <\/div>\n    <\/span>\n'})(i=t.DropDownControl||(t.DropDownControl={}))});

define("Gallery/Client/Controls/VNext/DropDownControl/DropDownControl.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/DropDownControl/DropDownControl.KnockoutTemplate"],function(n,t,i,r){function f(){i.components.register(u.COMPONENT_NAME,{viewModel:u,template:r.DropDownControl.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.DropDownControlViewModel=void 0;var u=function(){function n(n){var t=this;this._chosenItemIndex=i.observable(0);this.isExpanded=i.observable("false");this.dropDownElements=i.observableArray([]);this.menuVisible=i.observable(!1);this.dropDownElements(n.itemsList);n.itemsList&&(this._chosenItemIndex(n.itemsList.length>n.defaultItemIndex?n.defaultItemIndex:0),this.chosenDropDownElement=i.computed(function(){return t.dropDownElements()?t.dropDownElements()[t._chosenItemIndex()]:null}));this._dropDownOptionChangedCallback=n.onDropDownChanged}return n.prototype.getFocus=function(){var n=this;return function(t,i){return n.onFocus(i)}},n.prototype.optionChange=function(n){var t=this;return function(){t.onOptionChange(n)}},n.prototype.mouseOver=function(){var n=this;return function(t,i){return n.onMouseOver(i)}},n.prototype.keyPress=function(n){var t=this;return function(i,r){return t.onKeyPress(r,n)}},n.prototype.dropDownClick=function(){var n=this;return function(t,i){return n.onDropDownClick(i)}},n.prototype.onOptionChange=function(n){this._chosenItemIndex()!==n&&(this._chosenItemIndex(n),this._dropDownOptionChangedCallback(this.chosenDropDownElement));this._removeMenu()},n.prototype.onDropDownClick=function(n){this._showMenu();$(n.target).parent().parent().find("li.trending-dropdown-menu-item").eq(this._chosenItemIndex()).focus();n.stopPropagation()},n.prototype.onFocus=function(n){return $(n.target).addClass("focus").siblings().removeClass("focus"),!0},n.prototype.onMouseOver=function(n){return $(n.target).focus(),!1},n.prototype.onKeyPress=function(t,i){var r=$(t.target),e=function(){return!t.ctrlKey&&!t.altKey&&!t.shiftKey},u,f;switch(t.keyCode){case n.KEYCODE_DOWN:if(e())return u=r.next(),u.length===0&&(u=r.parent().find("li").first()),u.focus(),!1;case n.KEYCODE_UP:if(e())return f=r.prev(),f.length===0&&(f=r.parent().find("li").last()),f.focus(),!1;case n.KEYCODE_ESCAPE:if(e())return this._removeMenu(),$(".trending-dropdown").focus(),!1;case n.KEYCODE_TAB:return this._removeMenu(),!0;case n.KEYCODE_ENTER:this.onOptionChange(i);return $(".trending-dropdown").focus(),!1}},n.prototype._removeMenu=function(){this.isExpanded("false");this.menuVisible(!1);$(window).off("click")},n.prototype._showMenu=function(){var n=this;this.isExpanded("true");this.menuVisible(!0);$(window).on("click",function(){n._removeMenu()})},n.COMPONENT_NAME="drop-down-control",n.KEYCODE_DOWN=40,n.KEYCODE_UP=38,n.KEYCODE_ESCAPE=27,n.KEYCODE_TAB=9,n.KEYCODE_ENTER=13,n}();t.DropDownControlViewModel=u;t._registerComponents=f});

define("Gallery/Client/Controls/VNext/Footer/Footer.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.Footer=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-footer";n.TEMPLATE_HTML='    <div class="footerContainer" role="navigation">\n        <div class="linkList">\n            <div class="linkListTitle" data-bind="text: Header_Products"><\/div>\n            <ul class="links">\n                <li>\n                    <a href="https://visualstudio.microsoft.com/vs/" data-bind="text: VS_Header"><\/a>\n                <\/li>\n                <!-- ko if: showVSForMac -->\n                <li>\n                    <a href="https://www.visualstudio.com/vs/mac/" data-bind="text: VSForMac_Header"><\/a>\n                <\/li>\n                <li>\n                    <a href="https://code.visualstudio.com/" data-bind="text: VSCode_Header"><\/a>\n                <\/li>\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=698595" data-bind="text: VSTS_Header"><\/a>\n                <\/li>\n                <!-- /ko -->\n                <!-- ko ifnot: showVSForMac -->\n                <!-- ko ifnot: newBranding -->\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=698595" data-bind="text: VSTS_Header"><\/a>\n                <\/li>\n                <li>\n                    <a href="https://code.visualstudio.com/" data-bind="text: VSCode_Header"><\/a>\n                <\/li>\n                <!-- /ko -->\n                <!-- ko if: newBranding -->\n                <li>\n                    <a href="https://code.visualstudio.com/" data-bind="text: VSCode_Header"><\/a>\n                <\/li>\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=698595" data-bind="text: VSTS_Header"><\/a>\n                <\/li>\n                <!-- /ko -->\n                <!-- /ko -->\n                <!-- ko ifnot: xamarinUniversityDisable -->\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=780867" data-bind="text: Xamarin"><\/a>\n                <\/li>\n                <!-- /ko -->\n            <\/ul>\n        <\/div>\n        <div class="linkList">\n            <div class="linkListTitle" data-bind="text: Related_Sites"><\/div>\n            <ul class="links">\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=703827" data-bind="text: My_VS"><\/a>\n                <\/li>\n                <li>\n                    <a href="https://go.microsoft.com/fwlink/?LinkID=703828" data-bind="text: Team"><\/a>\n                <\/li>\n            <\/ul>\n        <\/div>\n        <div class="linkList">\n            <div class="linkListTitle" data-bind="text: Header_Support"><\/div>\n            <ul class="links">\n                <li>\n                    <a class="support-faq" href="https://aka.ms/vsmfaq" data-bind="text: Marketplace_FAQ, attr: {href: Marketplace_FAQ_URL ? Marketplace_FAQ_URL : \'https://aka.ms/vsmfaq\'}"><\/a>\n                <\/li>\n                <li>\n                    <a class="vsmarketplace-feedback-github" href="https://aka.ms/vsmfeedback" data-bind="text: VSMarketplace_Feedback_GitHub"><\/a>\n                <\/li>\n                <li>\n                    <a class="accessibility" href="https://www.microsoft.com/accessibility" data-bind="text: Accessibility"><\/a>\n                <\/li>\n            <\/ul>\n        <\/div>\n    <\/div>\n'})(i=t.Footer||(t.Footer={}))});

define("Gallery/Client/Controls/VNext/Footer/Footer.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/Footer/Footer.KnockoutTemplate","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/URLHelper","Gallery/Client/Service/VNext/Utility","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel"],function(n,t,i,r,u,f,e,o){function h(){i.components.register(s.COMPONENT_NAME,{viewModel:s,template:r.Footer.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.FooterViewModel=void 0;var s=function(){function n(n){var t=this;if(this.VS_Header=u.VS_Header,this.VSTS_Header=e.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()?u.AzureDevOps_Header:u.VSTS_Header,this.VSCode_Header=u.VSCode_Header,this.VSForMac_Header=u.VSForMac_Header,this.My_VS=u.My_VS,this.Team=u.Team,this.Integrate=u.Integrate,this.Related_Sites=u.Related_Sites,this.Support_Publisher_exts=u.Support_Publisher_exts,this.PublisherLink=f.GalleryURLs.getManageURL(),this.Join_VSIP=u.Join_VSIP,this.Azure_Marketplace=u.Azure_Marketplace,this.XamarinComponents=u.XamarinComponents,this.Xamarin=u.Xamarin,this.Download=u.Download,this.Compare=u.Compare,this.How_to_Buy=u.How_to_Buy,this.Marketplace_FAQ=u.Marketplace_FAQ,this.Marketplace_FAQ_URL=i.observable(u.Marketplace_VSCode_FAQ_URL),this.VSMarketplace_Feedback_GitHub=u.VSMarketplace_Feedback_GitHub,this.Header_Support=u.Header_Support,this.Header_Products=u.Header_Products,this.Accessibility=u.Accessibility,this.showVSForMac=e.isFeatureFlagOrCookieEnabled("EnableVsForMac","EnableVsForMac"),this.xamarinUniversityDisable=e.isFeatureFlagOrCookieEnabled("XamarinUniversityDisable","XamarinUniversityDisable"),this.newBranding=e.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled(),n.currentTab){n.currentTab.subscribe(function(n){return t.onTabChanged(n)});this.onTabChanged(n.currentTab())}}return n.prototype.onTabChanged=function(n){switch(n){case o.GalleryTab.VSTab:this.Marketplace_FAQ_URL(u.Marketplace_VSIDE_FAQ_URL);break;case o.GalleryTab.VSCodeTab:this.Marketplace_FAQ_URL(u.Marketplace_VSCode_FAQ_URL);break;case o.GalleryTab.VSTSTab:this.Marketplace_FAQ_URL(u.Marketplace_ADO_FAQ_URL);break;default:this.Marketplace_FAQ_URL(null)}},n.COMPONENT_NAME="gallery-footer",n}();t.FooterViewModel=s;t._registerComponents=h});

define("Gallery/Client/Controls/VNext/HomePageSearchBox/HomePageSearchBox.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.HomePageSearchBox=void 0;var i;(function(n){n.TEMPLATE_ID="homepage-searchbox";n.TEMPLATE_HTML='    <div class="homepage-searchbox-wrapper" role="search">\n        <div class="homepage-searchbox-message">\n            <h1> <span data-bind="text:$data.homePageSearchHeader()"> <\/span> <\/h1>\n        <\/div>\n        <div class="homepage-searchbox-container">            \n            <input class="search-input" maxlength="200" data-bind="textInput: searchTerm, enable: isEnabled(), attr: { \'aria-label\': placeHolder(), placeholder : placeHolder()}, hasFocus:isSelected(), event: {blur: onBlur, keydown: onKeyPress}, enterkey: submitSearchTerm" autocomplete="off" />\n            <!-- EU Cookie Consent: Consider user consent on clicking the search button by setting data-mscc-ic attribute to true -->\n            <span role="button" class="searchbutton gallery-element-focus-style-moderate bowtie-icon bowtie-search" data-bind="click: submitSearchTerm, spacekey: submitSearchTerm, enterkey: submitSearchTerm, attr: {title: searchButtonTitle, \'aria-label\':searchButtonTitle}, event: { focus: searchBoxFocus, blur: searchBoxBlur }" tabindex="0" data-mscc-ic="true"><\/span>\n        <\/div>\n    <\/div>\n'})(i=t.HomePageSearchBox||(t.HomePageSearchBox={}))});

define("Gallery/Client/Controls/VNext/HomePageSearchBox/HomePageSearchBox.ViewModel",["require","exports","knockout","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Controls/VNext/HomePageSearchBox/HomePageSearchBox.KnockoutTemplate"],function(n,t,i,r,u){function e(){i.components.register("homepage-searchbox",{viewModel:f,template:u.HomePageSearchBox.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.HomePageSearchBoxViewModel=void 0;var f=function(){function n(n){var t=this;this.searchTerm=i.observable("");this.placeHolder=i.observable("");this.vstsTabName="vsts-tab";this.tab=i.observable("");this.isSelected=i.observable(!1);this.isEnabled=i.observable(!0);this.homePageSearchHeader=i.observable("");this.searchButtonTitle=r.SearchButtonTitle;this.UP_ARROW_KEY_CODE=38;this.DOWN_ARROW_KEY_CODE=40;this.submitSearchTerm=function(){var n=t.searchTerm().trim();t.performSearchCallback(n)};this.placeHolder=n.placeholderText;this.performSearchCallback=n.searchClickCallback;this.isSelected=n.isSelected;this.homePageSearchHeader=n.searchHeader}return n.prototype.onBlur=function(){this.isSelected(!1)},n.prototype.onKeyPress=function(n,t){if(t.keyCode===this.UP_ARROW_KEY_CODE||t.keyCode===this.DOWN_ARROW_KEY_CODE)this.isSelected(!1);else return!0},n.prototype.searchBoxFocus=function(){var n=$(".homepage-searchbox-container").eq(0);n&&n.addClass("homepage-searchbox-container-focus")},n.prototype.searchBoxBlur=function(){var n=$(".homepage-searchbox-container").eq(0);n&&n.removeClass("homepage-searchbox-container-focus")},n}();t.HomePageSearchBoxViewModel=f;t._registerComponents=e});

define("Gallery/Client/Controls/VNext/ItemGrid/ItemGrid.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.ItemGrid=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-item-grid";n.TEMPLATE_HTML='    <div class="item-grid-container" data-bind="foreach: itemArray">\n        <div class="grid-item" data-bind="component: {name: $parent.componentName, params: {item: $data}}"><\/div>\n    <\/div>\n'})(i=t.ItemGrid||(t.ItemGrid={}))});

define("Gallery/Client/Controls/VNext/ItemGrid/ItemGrid.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/ItemGrid/ItemGrid.KnockoutTemplate"],function(n,t,i,r){function f(){i.components.register(u.COMPONENT_NAME,{viewModel:u,template:r.ItemGrid.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.GridViewModel=void 0;var u=function(){function n(t){this.itemArray=i.observableArray([]);this.componentName=t.componentName?t.componentName:n.DEFAULT_ITEM_TILE_TEMPLATE;this._refreshData(t.items)}return n.prototype.update=function(n){this._refreshData(n)},n.prototype.appendItems=function(n){i.utils.arrayPushAll(this.itemArray,n);this.itemArray.valueHasMutated()},n.prototype._refreshData=function(n){this.itemArray(n)},n.COMPONENT_NAME="gallery-item-grid",n.DEFAULT_ITEM_TILE_TEMPLATE="gallery-item-tile",n}();t.GridViewModel=u;t._registerComponents=f});

define("Gallery/Client/Controls/VNext/RatingControl/RatingControl.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.RatingControl=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-rating-control";n.TEMPLATE_HTML='    <div class="rating-control">\n        <!-- ko foreach: fullStarArray() -->\n        <img alt="" class="star full-star" data-bind="attr:{src: $parent.fullStarPath}" />\n        <!-- /ko -->\n        <!-- ko if: halfStarPresent -->\n        <img alt="" class="star half-star" data-bind="attr:{src: halfStarPath}" />\n        <!-- /ko -->\n        <!-- ko foreach: emptyStarArray() -->\n        <img alt="" class="star empty-star" data-bind="attr:{src: $parent.emptyStarPath}" />\n        <!-- /ko -->\n    <\/div>\n'})(i=t.RatingControl||(t.RatingControl={}))});

define("Gallery/Client/Controls/VNext/RatingControl/RatingControl.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/RatingControl/RatingControl.KnockoutTemplate","Gallery/Client/URLHelper"],function(n,t,i,r,u){function e(){i.components.register(f.COMPONENT_NAME,{viewModel:f,template:r.RatingControl.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.RatingControlViewModel=void 0;var f=function(){function n(n){var t=this;this.fullStarArray=function(){return new Array(t.fullStars)};this.emptyStarArray=function(){return new Array(t.emptyStars)};this._totalStars=n.totalStars;this._rating=n.rating;this.fullStarPath=u.GalleryURLs.getResourcePath()+"FullStar.svg";this.halfStarPath=u.GalleryURLs.getResourcePath()+"HalfStar.svg";this.emptyStarPath=u.GalleryURLs.getResourcePath()+"EmptyStar.svg";this.parseRating(this._rating)}return n.prototype.parseRating=function(n){if(this.halfStarPresent=!1,n<=0)this.fullStars=0,this.emptyStars=5;else if(n>=5)this.fullStars=5,this.emptyStars=0;else{this.fullStars=Math.floor(n);var t=n-this.fullStars;t<.25?this.halfStarPresent=!1:t<.75?this.halfStarPresent=!0:this.fullStars++;this.emptyStars=this._totalStars-this.fullStars-(this.halfStarPresent?1:0)}},n.COMPONENT_NAME="gallery-rating-control",n}();t.RatingControlViewModel=f;t._registerComponents=e});

define("Gallery/Client/Controls/VNext/VSSubscriptionsTile/VSSubscriptionsTile.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.VSSubscriptionsTile=void 0;var i;(function(n){n.TEMPLATE_ID="gallery-vssubs-tile";n.TEMPLATE_HTML='    <div class="_main">\n        <div><span class="_name" data-bind="text: data.subscriptionName"><\/span><\/div>\n        <div class="_description">\n            <p data-bind="text: data.subscriptionDescription"><\/p>\n        <\/div>\n        <div class="_offer-cta">\n            <div class="_buttons-container" data-bind="foreach: data.buttons">\n                <a class="ux-button" data-bind="attr: {href: buttonLink, \'aria-label\': buttonLabel}, click: $parent.tileClick(itemName)">\n                    <div class="button-quantity" data-bind="text: buttonQuantity"><\/div>\n                    <div class="button-cost" data-bind="text: buttonCost"><\/div>\n                <\/a>\n            <\/div>\n            <span class="_note" data-bind="html: data.note"><\/span>\n        <\/div>\n    <\/div>\n'})(i=t.VSSubscriptionsTile||(t.VSSubscriptionsTile={}))});

define("Gallery/Client/Controls/VNext/VSSubscriptionsTile/VSSubscriptionsTile.ViewModel",["require","exports","knockout","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/ItemMinified","Gallery/Client/Controls/VNext/VSSubscriptionsTile/VSSubscriptionsTile.KnockoutTemplate","Gallery/Client/URLHelper"],function(n,t,i,r,u,f,e){function s(){i.components.register(o.COMPONENT_NAME,{viewModel:o,template:f.VSSubscriptionsTile.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.VSSubscriptionsItemViewModel=void 0;var o=function(){function n(n){if(this.customIconPresent=i.observable(!1),this.data=n.data,this.data&&this.data.buttons)for(var t=0;t<this.data.buttons.length;t++)this.data.buttons[t].buttonLink=e.GalleryURLs.getWebPageURL(this.data.buttons[t].buttonLink)}return n.prototype.tileClick=function(n){var t=this;return function(){return t.logTelemetryToCI(n)}},n.prototype.logTelemetryToCI=function(n){var t={};return t[r.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Id]=n,t[r.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.ProductType]=u.ItemMinifiedHelper.getItemTypeText(u.ItemTypeEnum.VSOffer),r.TelemetryHelper.publishEventAsync(r.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.HOME_PAGE_OFFERS,t),!0},n.COMPONENT_NAME="gallery-vssubs-tile",n}();t.VSSubscriptionsItemViewModel=o;t._registerComponents=s});

define("Gallery/Client/Controls/VNext/VSSubsTab/VSSubsTab.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.VSSubsTab=void 0;var i;(function(n){n.TEMPLATE_ID="vssubs-tab-template";n.TEMPLATE_HTML='    <div class="visualstudio-subscription-tab" data-bind="visible: $data.isVisible(), attr: { \'aria-hidden\': !$data.isVisible() }">\n        <div class="offers-items gallery-item-cluster">\n            <h2 class="header-container">\n                <div class="section-header gallery-element-focus-style-light ">\n                    Visual Studio\n                <\/div>\n            <\/h2>\n            <!-- ko if: vsSubsTabData() -->\n            <div class="ux-subscriptions-grid" data-bind="template: { foreach: vsSubsTabData(),\n                                                                        afterRender: adjustTileHeight.bind($data) }">\n                <div class="ux-subscription-card" data-bind="css: $data.subscriptionTypeCss, component: {name: \'gallery-vssubs-tile\', params: {data: $data}}"><\/div>\n            <\/div>\n            <!-- /ko -->\n        <\/div>\n        <!-- ko if: showXamarinUniversity() && xuSubsTabData() -->\n        <div class="offers-items gallery-item-cluster">\n            <h2 class="header-container">\n                <div class="section-header gallery-element-focus-style-light" data-bind="text: _xamarinUniversityHeader"><\/div>\n            <\/h2>\n            <!-- ko if: xuSubsTabData() -->\n            <div class="ux-subscriptions-grid" data-bind="foreach: xuSubsTabData()">\n                <div class="ux-subscription-card" data-bind="css: $data.subscriptionTypeCss, component: {name: \'gallery-vssubs-tile\', params: {data: $data}}"><\/div>\n            <\/div>\n            <!-- /ko -->\n        <\/div>\n        <!-- /ko -->\n'})(i=t.VSSubsTab||(t.VSSubsTab={}))});

define("Gallery/Client/Controls/VNext/VSSubsTab/VSSubsTab.ViewModel",["require","exports","knockout","q","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Client/Controls/VNext/VSSubsTab/VSSubsTab.KnockoutTemplate","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","VSS/VSS"],function(n,t,i,r,u,f,e,o,s,h,c){function v(){i.components.register(l.COMPONENT_NAME,{viewModel:l,template:s.VSSubsTab.TEMPLATE_HTML})}var l,a;Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.IVSSubsTabViewModelParams=t.VSSubsTabViewModel=void 0;l=function(){function n(n){var t=this;this.vsSubsTabData=i.observable();this.xuSubsTabData=i.observable();this.showXamarinUniversity=i.observable(!1);this._tabDataPromise=r.defer();this._xamarinUniversityHeader=h.XamarinUniversitySubscriptionName;this.isVisible=i.pureComputed(function(){return n.selectedTab()===n.currentTab});$(f.TAB_SPINNER_SELECTOR).show();n.galleryDataProvider.GetVSSubscriptionsTabData().then(function(i){$(f.TAB_SPINNER_SELECTOR).hide();t.vsSubsTabData(i.vsoffers);t.xuSubsTabData(i.xuoffers);t.xuSubsTabData()&&t.showXamarinUniversity(!0);e.TelemetryVNext.split(e.PerformanceConstants.ExtensionRendered);e.TelemetryVNext.EndScenario(e.PerformanceConstants.LoadHomePageVSSubscriptionTab,{tabSelectedSource:u.BaseTabViewModel.TabSelectedSource,isTTI:!0},!1).then(function(n){e.TelemetryVNext.EndScenario(e.PerformanceConstants.LoadHomePageAllTabs,{tabSelectedSource:u.BaseTabViewModel.TabSelectedSource,isTTI:!0},!0,n)});n.galleryDataProvider.InitiateDownloadAllTabsData();e.GalleryPerformance.endPageLoadTTIScenario();t._tabDataPromise.resolve(null)},function(n){c.using(o.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t){t.ErrorLog.logVSSError({failedAPI:"VSSubsTabViewModel:GetVSSubscriptionsTabData",errorMessage:"Error retrieving VSSubscriptions tab data",reason:n})});$(f.TAB_SPINNER_SELECTOR).hide();t._tabDataPromise.reject(n)})}return n.prototype.onVSSubsTabDataInitialized=function(){return this._tabDataPromise.promise},n.prototype.adjustTileHeight=function(){var t=this.vsSubsTabData(),n=Array.from(document.getElementsByClassName("ux-subscription-card"));n&&t.forEach(function(t,i){t.note&&t.note.trim()||n[i]&&(n[i].style.height="200px")})},n.COMPONENT_NAME="vssubs-tab-content",n}();t.VSSubsTabViewModel=l;a=function(){function n(){}return n}();t.IVSSubsTabViewModelParams=a;t._registerComponents=v});

define("Gallery/Client/Controls/VNext/VSTab/VSTab.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.VSTab=void 0;var i;(function(n){n.TEMPLATE_ID="vs-tab-template";n.TEMPLATE_HTML='    <div class="visualstudio-tab" data-bind="visible: $data.isVisible(), attr: { \'aria-hidden\': !$data.isVisible() }">\n        <!-- ko if: extensionsPerCategory() -->\n        <div class="category-list-container" data-bind="foreach: extensionsPerCategory()">\n            <!-- ko if: $parent.isCategoryVisible($data) -->\n            <div class="categorized-list gallery-item-cluster clearfix">\n                <h2 class="header-container" data-bind="visible: !$data.isDisabled" role="presentation">\n                    <div class="section-header gallery-element-focus-style-light name" data-bind="text: $parent.getCategoryHeaderText($data.categoryName), attr: {id: $parent.getCategoriesID($index())}" role="heading" aria-level="2"><\/div>\n                    <!-- ko if: $parent.isTrendingCategoryType($data.categoryName) -->\n                    <span class="drop-down" data-bind="component: {name: \'drop-down-control\', params: $parent.getDropDownViewModelParams()}"><\/span>\n                    <!-- /ko -->\n                    <!-- ko if: $data.hasMoreExtensions && $parent.showSeeMore($data.categoryName) -->\n                    <a class="see-more" data-bind="attr: {href: $data.seeMoreLink, \'aria-label\': $parent.getSeeMoreAriaLabel($data.categoryName)},event: {keypress: $parent.getkeyPressed($index())}, click: $parent.getClicked($data.categoryName)">\n                        <span data-bind="text: $parent.seeMoreString"><\/span>\n                        <span class="bowtie-icon bowtie-navigate-forward-circle"><\/span>\n                    <\/a>\n                    <!-- /ko -->\n                <\/h2>\n                <div class="item-list-container clearfix" data-bind=\'component: {name:"gallery-carousel", params: {viewModel: $parent.getCarouselViewModel($data)}}\'><\/div>\n            <\/div>\n            <!-- /ko -->\n        <\/div>\n        <!-- /ko -->\n        <i class="big-spinner bowtie-icon bowtie-spinner centered" data-bind="visible: _koShowSpinner, attr: {id: _spinnerID}"><\/i>\n        <!-- ko if: showCategories() -->\n        <div class="gallery-item-cluster categories clearfix">\n            <h2 class="header-container">\n                <div class="section-header gallery-element-focus-style-light name" data-bind="text: $data.categoriesString ,  click: $parent.getClicked($data.categoryName)"><\/div>\n            <\/h2>\n            <div class="tools-category item-list-container" data-bind=\'component: {name:"gallery-item-grid", params: $data.getCategoriesViewModelParams()}\'><\/div>\n        <\/div>\n        <!-- /ko -->\n        <div data-bind="if: hasError">\n            <div class="error-control-section" data-bind="component: {name: \'error-control-template-vnext\', params: errorControlViewModel}"><\/div>\n        <\/div>\n    <\/div>\n'})(i=t.VSTab||(t.VSTab={}))});

var __extends=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}}();define("Gallery/Client/Controls/VNext/VSTab/VSTab.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Client/Service/VNext/Utility","Gallery/Client/Controls/VNext/VSTab/VSTab.KnockoutTemplate","VSS/VSS"],function(n,t,i,r,u,f,e,o,s,h){function l(){i.components.register(c.COMPONENT_NAME,{viewModel:c,template:s.VSTab.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.VSTabViewModel=void 0;var c=function(n){function t(t){var s=n.call(this,r.GalleryTab.VSTab,t)||this;return s.isVsTrendingEnabled=i.observable(!1),$(u.TAB_SPINNER_SELECTOR).show(),t.galleryDataProvider.GetVSTabData().then(function(i){$(u.TAB_SPINNER_SELECTOR).hide();s.isVsTrendingEnabled(o.getFeatureFlag(u.HomepageConstants.VsTrendingHomepage));s._updateCategoryObject(i.categories);s.setCategories(i.categories);s.setcategoriesIDs(i);s.extensionsPerCategory(i.extensionsPerCategory);s.showCategories(!0);n.prototype.EndScenario.call(s,f.PerformanceConstants.LoadHomePageVSTab);s._updateData(t);t.galleryDataProvider.InitiateDownloadAllTabsData();f.GalleryPerformance.endPageLoadTTIScenario();s._tabDataPromise.resolve(null)},function(n){h.using(e.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t){t.ErrorLog.logVSSError({failedAPI:"VSTabViewModel:GetVSTabData",errorMessage:"Error retrieving VS tab data",reason:n})});s.hasError(!0);$(u.TAB_SPINNER_SELECTOR).hide();s._tabDataPromise.reject(n)}),s}return __extends(t,n),t.prototype._updateCategoryObject=function(n){n&&n.forEach(function(n){n&&n.title&&n.title.indexOf("/")>-1&&n.title.split("/")[1]!==null&&(n.title=n.title.split("/")[1])})},t.prototype._updateData=function(n){var t=this;this.isHosted()&&n.galleryDataProvider.ISVSTabDataFromJSONIsland()&&(this.startSpinner(),n.galleryDataProvider.GetVSTabData(!0).then(function(n){var r,f,o;if(t.stopSpinner(),t.setcategoriesIDs(n),t.isDedupeEnabled){var h=Object.keys(t.carouselViewModelsData),s=[],e=n.extensionsPerCategory;for(r=0;r<e.length;r++)f=e[r].categoryName,o=e[r].extensions,h.indexOf(f)!==-1?(t.carouselViewModelsData[f].items(t.carouselViewModelsData[f].items().concat(o.slice(6))),t.carouselViewModelsData[f].setCssStyleWidth()):f===u.TrendingCategoryConstants.TrendingWeekly&&t.isVsTrendingEnabled()?(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items().concat(o.slice(6))),t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].setCssStyleWidth(),t.extensionsPerCategory().map(function(n){n.categoryName===u.TrendingCategoryConstants.TrendingWeekly&&(n.extensions=o)})):s.push(e[r]);i.utils.arrayPushAll(t.extensionsPerCategory,s)}else i.utils.arrayPushAll(t.extensionsPerCategory,n.extensionsPerCategory);t._tabDataWholeFetchPromise.resolve(null)},function(n){t.stopSpinner(!0);t._tabDataWholeFetchPromise.reject(n)}))},t.prototype.isCategoryVisible=function(n){return!(n.isDisabled||!this.isVsTrendingEnabled()&&this.isTrendingCategoryType(n.categoryName))},t.COMPONENT_NAME="vs-tab-content",t}(r.BaseTabViewModel);t.VSTabViewModel=c;t._registerComponents=l});

define("Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.KnockoutTemplate",["require","exports"],function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.VSTSTab=void 0;var i;(function(n){n.TEMPLATE_ID="vsts-tab-template";n.TEMPLATE_HTML='    <div class="visualstudio-online-tab" data-bind="visible: $data.isVisible(), attr: { \'aria-hidden\': !$data.isVisible() }">\n        <!-- ko if: extensionsPerCategory() -->\n        <div class="category-list-container" data-bind="foreach: extensionsPerCategory()">\n            <!-- ko if: !$data.isDisabled -->\n                <div class="categorized-list gallery-item-cluster clearfix">\n                    <h2 class="header-container" data-bind="visible: !$data.isDisabled" role="presentation">\n                        <div class="section-header gallery-element-focus-style-light name" data-bind="text: $parent.getCategoryHeaderText($data.categoryName), attr: {id: $parent.getCategoriesID($index())}" role="heading" aria-level="2"><\/div>\n                        <!-- ko if: $parent.isTrendingCategoryType($data.categoryName) -->\n                        <span class="drop-down" data-bind="component: {name: \'drop-down-control\', params: $parent.getDropDownViewModelParams()}"><\/span>\n                        <!-- /ko -->\n                        <!-- ko if: $data.hasMoreExtensions &&  $parent.showSeeMore($data.categoryName) -->\n                        <a class="see-more" data-bind="attr: {href: $data.seeMoreLink, aria-label: $parent.getSeeMoreAriaLabel($data.categoryName)},event: {keypress: $parent.getkeyPressed($index())}, click: $parent.getClicked($data.categoryName)">\n                            <span data-bind="text: $parent.seeMoreString"><\/span>\n                            <span class="bowtie-icon bowtie-navigate-forward-circle"><\/span>\n                        <\/a>\n                        <!-- /ko -->\n                    <\/h2>\n                    <div class="item-list-container clearfix" data-bind=\'visible: !$data.isDisabled, component: {name:"gallery-carousel", params: {viewModel: $parent.getCarouselViewModel($data)}}\'><\/div>\n                <\/div>\n            <!-- /ko -->\n        <\/div>\n        <!-- /ko -->\n        <i class="big-spinner bowtie-icon bowtie-spinner centered" data-bind="visible: _koShowSpinner, attr: {id: _spinnerID}"><\/i>\n        <!-- ko if: showCategories() -->\n        <div class="gallery-item-cluster categories clearfix">\n            <h2 class="header-container">\n                <div class="section-header gallery-element-focus-style-light name" data-bind="text: $data.categoriesString, click: $parent.getClicked($data.categoryName)"><\/div>\n            <\/h2>\n            <div class="tools-category item-list-container" data-bind=\'component: {name:"gallery-item-grid", params: $data.getCategoriesViewModelParams()}\'><\/div>\n        <\/div>\n        <!-- /ko -->\n        <!-- ko if: !isHosted() -->\n        <div class="value-prop-container" data-bind="if: !isHosted(), visible: dataAvailable">\n            <div class="value-prop-header" data-bind="visible: !showNoExtensionsMessage(), text: valuePropHeader"><\/div>\n            <div class="value-prop-tiles-container">\n                <div class="value-prop-tiles" data-bind="foreach: valuePropTilesData">\n                    <div class="value-prop-tile" data-bind="css: cssClass">\n                        <div class="header" data-bind="text: header"><\/div>\n                        <div class="image-summary-container">\n                            <img class="image" data-bind="attr: { src: iconLink }"><\/img>\n                            <div class="summary-link-container">\n                                <div class="summary" data-bind="text: summary"><\/div>\n                                <a class="link" target="_blank" data-bind="attr: {href: link, title: linkText}, text: linkText"><\/a>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n            <div class="no-extensions-message" data-bind="visible: showNoExtensionsMessage()">\n                <div id="noExtensionsHtml">\n                    <div class="no-extensions-msg" data-bind="text: noExtensionMsg"><\/div>\n                    <div class="no-extensions-action-msg" data-bind="text: noExtensionActionMsg"><\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n        <!-- /ko -->\n        <div data-bind="if: hasError">\n            <div class="error-control-section" data-bind="component: {name: \'error-control-template-vnext\', params: errorControlViewModel}"><\/div>\n        <\/div>\n    <\/div>\n'})(i=t.VSTSTab||(t.VSTSTab={}))});

define("Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/URLHelper","Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.KnockoutTemplate","VSS/VSS"],function(n,t,i,r,u,f,e,o,s,h,c){function a(){i.components.register(l.COMPONENT_NAME,{viewModel:l,template:h.VSTSTab.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.VSTSTabViewModel=void 0;var l=function(n){function t(t){var s=n.call(this,r.GalleryTab.VSTSTab,t)||this;return s.dataAvailable=i.observable(!1),s.showNoExtensionsMessage=i.observable(!1),s.valuePropTilesData=i.observableArray([]),s.valuePropHeader=o.OnPremValuePropTitle,s.noExtensionMsg=i.observable(""),s.noExtensionActionMsg=i.observable(""),s.getStartedIcon="Header/get-started.png",s.accessMarketplaceIcon="Header/access-marketplace.png",s.publishExtensionsIcon="Header/publish-extensions.png",s.isHosted(e.GalleryDataProvider.deploymentIsHosted()),$(u.TAB_SPINNER_SELECTOR).show(),t.galleryDataProvider.GetVSTSTabData().then(function(i){$(u.TAB_SPINNER_SELECTOR).hide();s.setcategoriesIDs(i);s.extensionsPerCategory(i.extensionsPerCategory);n.prototype.EndScenario.call(s,f.PerformanceConstants.LoadHomePageVSSTab);s._updateData(t);s.isHosted()?t.galleryDataProvider.InitiateDownloadAllTabsData():(i&&i.extensionsPerCategory&&i.extensionsPerCategory.length!==0||(s.showNoExtensionsMessage(!0),s.noExtensionMsg(o.NoExtensionsMsgOnPrem),s.noExtensionActionMsg(o.NoExtensionsActionMsg)),s._populateValuePropData(),s.dataAvailable(!0));f.GalleryPerformance.endPageLoadTTIScenario();s._tabDataPromise.resolve(null)},function(n){c.using(e.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t){t.ErrorLog.logVSSError({failedAPI:"VSSTabViewModel:GetVSTSTabData",errorMessage:"Error retrieving VSTS tab data",reason:n})});s.hasError(!0);$(u.TAB_SPINNER_SELECTOR).hide();s._tabDataPromise.reject(n)}),s}return __extends(t,n),t.prototype._updateData=function(n){var t=this;n.galleryDataProvider.ISVSTSTabDataFromJSONIsland()&&(this.startSpinner(),n.galleryDataProvider.GetVSTSTabData(!0).then(function(n){var r,f,o;if(t.stopSpinner(),t.setcategoriesIDs(n),t.isDedupeEnabled){var h=Object.keys(t.carouselViewModelsData),s=[],e=n.extensionsPerCategory;for(r=0;r<e.length;r++)f=e[r].categoryName,o=e[r].extensions,h.indexOf(f)!==-1?(t.carouselViewModelsData[f].items(t.carouselViewModelsData[f].items().concat(o.slice(6))),t.carouselViewModelsData[f].setCssStyleWidth()):f===u.TrendingCategoryConstants.TrendingWeekly?(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items().concat(o.slice(6))),t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].setCssStyleWidth(),t.extensionsPerCategory().map(function(n){n.categoryName===u.TrendingCategoryConstants.TrendingWeekly&&(n.extensions=o)})):s.push(e[r]);i.utils.arrayPushAll(t.extensionsPerCategory,s)}else i.utils.arrayPushAll(t.extensionsPerCategory,n.extensionsPerCategory);t._tabDataWholeFetchPromise.resolve(null)},function(n){t.stopSpinner(!0);t._tabDataWholeFetchPromise.reject(n)}))},t.prototype._populateValuePropData=function(){this.valuePropTilesData.push({cssClass:"get-started",header:o.ValuePropTileCreateYourOwn,summary:o.ValuePropCreateYourOwnHelpText,link:u.BuildYourOwnLinks.VSTS,linkText:o.LearnMore,iconLink:s.GalleryURLs.getResourcePath()+this.getStartedIcon});var n=$(".market-browse-url"),t=n.length>0?JSON.parse(n.html()):null,i=t?t:u.MarketplaceVstsURL;this.valuePropTilesData.push({cssClass:"access-market",header:o.ValuePropTileFindOnMarketPlace,summary:o.AccessMarketPlaceHelpText,link:i,linkText:o.AccessNow,iconLink:s.GalleryURLs.getResourcePath()+this.accessMarketplaceIcon});this.valuePropTilesData.push({cssClass:"publish-local",header:o.OnPremManageExtensions,summary:o.ManageExtensionsHelpText,link:s.GalleryURLs.getManageURL(),linkText:o.ManageExtensionsText,iconLink:s.GalleryURLs.getResourcePath()+this.publishExtensionsIcon})},t.COMPONENT_NAME="vsts-tab-content",t}(r.BaseTabViewModel);t.VSTSTabViewModel=l;t._registerComponents=a});

define("Gallery/Client/Controls/VNext/VSTSTab/VSForMacTab.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.KnockoutTemplate","VSS/VSS"],function(n,t,i,r,u,f,e,o,s){function c(){i.components.register(h.COMPONENT_NAME,{viewModel:h,template:o.VSTSTab.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.VSForMacTabViewModel=void 0;var h=function(n){function t(t){var i=n.call(this,r.GalleryTab.VSForMacTab,t)||this;return $(u.TAB_SPINNER_SELECTOR).show(),t.galleryDataProvider.GetVSForMacTabData().then(function(r){$(u.TAB_SPINNER_SELECTOR).hide();i.setcategoriesIDs(r);i.extensionsPerCategory(r.extensionsPerCategory);i.setCategories(r.categories);i.showCategories(!0);n.prototype.EndScenario.call(i,f.PerformanceConstants.LoadHomePageVSForMacTab);i._updateData(t);t.galleryDataProvider.InitiateDownloadAllTabsData();i._tabDataPromise.resolve(null)},function(n){s.using(e.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t){t.ErrorLog.logVSSError({failedAPI:"VSForMacTabViewModel:GetVSForMacTabData",errorMessage:"Error retrieving VSForMac tab data",reason:n})});i.hasError(!0);$(u.TAB_SPINNER_SELECTOR).hide();i._tabDataPromise.reject(n)}),i}return __extends(t,n),t.prototype._updateData=function(n){var t=this;this.isHosted()&&n.galleryDataProvider.ISVSForMacTabDataFromJSONIsland()&&(this.startSpinner(),n.galleryDataProvider.GetVSForMacTabData(!0).then(function(n){var r,u,o;if(t.stopSpinner(),t.setcategoriesIDs(n),t.isDedupeEnabled){var s=Object.keys(t.carouselViewModelsData),e=[],f=n.extensionsPerCategory;for(r=0;r<f.length;r++)u=f[r].categoryName,o=f[r].extensions,s.indexOf(u)!==-1?(t.carouselViewModelsData[u].items(t.carouselViewModelsData[u].items().concat(o.slice(6))),t.carouselViewModelsData[u].setCssStyleWidth()):e.push(f[r]);i.utils.arrayPushAll(t.extensionsPerCategory,e)}else i.utils.arrayPushAll(t.extensionsPerCategory,n.extensionsPerCategory);t._tabDataWholeFetchPromise.resolve(null)},function(n){t.stopSpinner(!0);t._tabDataWholeFetchPromise.reject(n)}))},t.COMPONENT_NAME="vsformac-tab-content",t}(r.BaseTabViewModel);t.VSForMacTabViewModel=h;t._registerComponents=c});

define("Gallery/Client/Controls/VNext/VSTSTab/VSCodeTab.ViewModel",["require","exports","knockout","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.KnockoutTemplate","VSS/Utils/Url","VSS/VSS"],function(n,t,i,r,u,f,e,o,s,h){function l(){i.components.register(c.COMPONENT_NAME,{viewModel:c,template:o.VSTSTab.TEMPLATE_HTML})}Object.defineProperty(t,"__esModule",{value:!0});t._registerComponents=t.VSCodeTabViewModel=void 0;var c=function(n){function t(t){var i=n.call(this,r.GalleryTab.VSCodeTab,t)||this;return $(u.TAB_SPINNER_SELECTOR).show(),t.galleryDataProvider.GetVSCodeTabData().then(function(r){$(u.TAB_SPINNER_SELECTOR).hide();i.setcategoriesIDs(r);i._addSSRQueryParamsToEPC(r.extensionsPerCategory);i._setPathToAFDPathIfNeeded(r.extensionsPerCategory);i.extensionsPerCategory(r.extensionsPerCategory);i.setCategories(r.categories);i.showCategories(!0);n.prototype.EndScenario.call(i,f.PerformanceConstants.LoadHomePageVSCodeTab);i._updateData(t);t.galleryDataProvider.InitiateDownloadAllTabsData();f.GalleryPerformance.endPageLoadTTIScenario();i._tabDataPromise.resolve(null)},function(n){h.using(e.GalleryDataProvider.GALLERY_DELAY_LOAD_MODULES,function(t){t.ErrorLog.logVSSError({failedAPI:"VSCodeTabViewModel:GetVSCodeTabData",errorMessage:"Error retrieving VSCode tab data",reason:n})});i.hasError(!0);$(u.TAB_SPINNER_SELECTOR).hide();i._tabDataPromise.reject(n)}),i}return __extends(t,n),t.prototype._addSSRQueryParamsToEPC=function(n){var t,i,r;if(this.isSSREnabledForHomepage)for(t=0;t<n.length;t++)if(n[t].extensions)for(i=0;i<n[t].extensions.length;i++)r=s.Uri.parse(n[t].extensions[i].link),r.addQueryParam("ssr","true"),n[t].extensions[i].link=r.absoluteUri},t.prototype._setPathToAFDPathIfNeeded=function(n){var t,i,r;if(this.shouldRedirectToAFD)for(t=0;t<n.length;t++)if(n[t].extensions)for(i=0;i<n[t].extensions.length;i++)r=s.Uri.parse(n[t].extensions[i].link),r.path="itemdetails",n[t].extensions[i].link=r.absoluteUri},t.prototype._updateData=function(n){var t=this;this.isHosted()&&n.galleryDataProvider.ISVSCodeTabDataFromJSONIsland()&&(this.startSpinner(),n.galleryDataProvider.GetVSCodeTabData(!0).then(function(n){var r,f,o;if(t.stopSpinner(),t.setcategoriesIDs(n),t.isDedupeEnabled){var h=Object.keys(t.carouselViewModelsData),s=[],e=n.extensionsPerCategory;for(t._addSSRQueryParamsToEPC(e),r=0;r<e.length;r++)f=e[r].categoryName,o=e[r].extensions,h.indexOf(f)!==-1?(t.carouselViewModelsData[f].items(t.carouselViewModelsData[f].items().concat(o.slice(6))),t.carouselViewModelsData[f].setCssStyleWidth()):f===u.TrendingCategoryConstants.TrendingWeekly?(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items(t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].items().concat(o.slice(6))),t.carouselViewModelsData[u.TrendingCategoryConstants.Trending].setCssStyleWidth(),t.extensionsPerCategory().map(function(n){n.categoryName===u.TrendingCategoryConstants.TrendingWeekly&&(n.extensions=o)})):s.push(e[r]);i.utils.arrayPushAll(t.extensionsPerCategory,s)}else i.utils.arrayPushAll(t.extensionsPerCategory,n.extensionsPerCategory);t._tabDataWholeFetchPromise.resolve(null)},function(n){t.stopSpinner(!0);t._tabDataWholeFetchPromise.reject(n)}))},t.COMPONENT_NAME="vscode-tab-content",t}(r.BaseTabViewModel);t.VSCodeTabViewModel=c;t._registerComponents=l});

define("Gallery/Client/Controls/VNext/RegisterComponents",["require","exports","Gallery/Client/Controls/VNext/Carousel/Carousel.ViewModel","Gallery/Client/Controls/VNext/CategoryTile/CategoryTile.ViewModel","Gallery/Client/Controls/VNext/DropDownControl/DropDownControl.ViewModel","Gallery/Client/Controls/VNext/ErrorControl/ErrorControl.ViewModel","Gallery/Client/Controls/VNext/Footer/Footer.ViewModel","Gallery/Client/Controls/VNext/HomePageSearchBox/HomePageSearchBox.ViewModel","Gallery/Client/Controls/VNext/ItemGrid/ItemGrid.ViewModel","Gallery/Client/Controls/VNext/ItemTile/ItemTile.ViewModel","Gallery/Client/Controls/VNext/RatingControl/RatingControl.ViewModel","Gallery/Client/Controls/VNext/VSSubscriptionsTile/VSSubscriptionsTile.ViewModel","Gallery/Client/Controls/VNext/VSSubsTab/VSSubsTab.ViewModel","Gallery/Client/Controls/VNext/VSTab/VSTab.ViewModel","Gallery/Client/Controls/VNext/VSTSTab/VSTSTab.ViewModel","Gallery/Client/Controls/VNext/VSTSTab/VSForMacTab.ViewModel","Gallery/Client/Controls/VNext/VSTSTab/VSCodeTab.ViewModel"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){Object.defineProperty(t,"__esModule",{value:!0});var b=function(){function n(){this._registerComponents()}return n.prototype._registerComponents=function(){v._registerComponents();y._registerComponents();w._registerComponents();p._registerComponents();a._registerComponents();i._registerComponents();h._registerComponents();l._registerComponents();c._registerComponents();r._registerComponents();s._registerComponents();f._registerComponents();o._registerComponents();u._registerComponents();e._registerComponents()},n}();new b});

define("Gallery/Client/Pages/HomePageVNext/HomePageVNext.View",["require","exports","knockout","knockoutSecureBinding","Gallery/Client/Pages/Common/Base.Minimal.View","Gallery/Client/Controls/VNext/VSTSTab/BaseTab.ViewModel","Gallery/Client/Common/Constants","Gallery/Client/Common/Telemetry","Gallery/Client/Service/VNext/GalleryDataProvider","Gallery/Scripts/Gallery/Resources/VSS.Resources.GalleryCommon","Gallery/Client/Service/HistoryService","Gallery/Client/URLHelper","Gallery/Client/Common/Utility.Common","Gallery/Client/Service/VNext/Utility","VSS/Utils/String","Gallery/Client/Controls/VNext/RegisterComponents"],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y){var w,p;Object.defineProperty(t,"__esModule",{value:!0});t.HomePageView=void 0;w={attribute:"data-bind",globals:window,bindings:i.bindingHandlers,noVirtualElements:!1};i.bindingProvider.instance=new r(w);p=function(n){function t(){var r=__construct(this,n,[]);for(var u in r)r.hasOwnProperty(u)&&(this[u]=r[u]);return r.vsTabName="vs-tab",r.vsCodeTabName="vscode-tab",r.vstsTabName="vsts-tab",r.vsSubsTabName="vssubs-tab",r.vsForMacTabName="vsformac-tab",r.currentTab=i.observable(),r.wasActivated=i.observable({}),r.isSelected=i.observable(!1),r.searchPlaceHolder=i.observable(),r.VS_Header=h.VS_Header,r.VSForMac_Header=h.VSForMac_Header,r.VSTS_Header=v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()?h.AzureDevOps_Header:h.VSTS_Header,r.VSCode_Header=h.VSCode_Header,r.Subs_Header=h.Subs_Header,r.VSCode_Link=l.GalleryURLs.getHomePageVSCodeTabURL(),r.VS_Link=l.GalleryURLs.getHomePageVSTabURL(),r.VSTS_Link=l.GalleryURLs.getHomePageVSTSTabURL(),r.VSForMac_Link=l.GalleryURLs.getHomePageVSForMacTabURL(),r.Subs_Link=l.GalleryURLs.getHomePageVSSubscriptionsTabURL(),r.BuildYourOwnText=h.BuildYourOwnText,r.PublishExtensionsText=h.PublishExtensionsText,r.showPublishExtensions=v.getFeatureFlag("ShowPublishExtensions"),r.showVSForMac=v.isFeatureFlagOrCookieEnabled("EnableVsForMac","EnableVsForMac"),r.newBranding=v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled(),r.searchHeader=i.observable(""),r.OnPrem_Header=h.TeamFoundationServerExtensions,r.isVSTabFocused=i.observable(!1),r.isVSTSTabFocused=i.observable(!1),r.isVSForMacTabFocused=i.observable(!1),r.isVSCodeTabFocused=i.observable(!1),r.isVSSubsTabFocused=i.observable(!1),r.currentFocusedTab=i.observable(""),r.currentFocusedTabEnum=i.observable(null),r.tabNameToHashDictionary={},r.tabHashToNameDictionary={},r.historyService=c.HistoryService.getInstance(),o.TelemetryVNext.split(o.PerformanceConstants.ScriptsLoaded),r.initializeDictionary(r.vsTabName,"vs"),r.initializeDictionary(r.vsForMacTabName,"vsformac"),r.initializeDictionary(r.vsCodeTabName,"vscode"),v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()?r.initializeDictionary(r.vstsTabName,"azuredevops"):r.initializeDictionary(r.vstsTabName,"vsts"),r.initializeDictionary(r.vsSubsTabName,t.NEW_SUBSCRIPTIONS_TAB_KEY),r.initializeDefaultTab(),r.currentTab.subscribe(function(n){var u=r.wasActivated(),t,i;u[n]=!0;r.currentFocusedTab(n);r.wasActivated(u);t="";switch(n){case r.vsTabName:t=h.VS_Header;r.searchHeader(h.VsIDEHomePageSearchHeader);r.isVSTabFocused(!0);r.currentFocusedTabEnum(f.GalleryTab.VSTab);break;case r.vsForMacTabName:t=h.VSForMac_Header;r.searchHeader(h.HomePageSearchHeader);r.isVSForMacTabFocused(!0);r.currentFocusedTabEnum(f.GalleryTab.VSForMacTab);break;case r.vstsTabName:i=v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled();t=i?h.AzureDevOps_Header:h.VSTS_Header;i?r.searchHeader(h.HomePageSearchHeaderDevOps):r.searchHeader(h.HomePageSearchHeader);r.isVSTSTabFocused(!0);r.currentFocusedTabEnum(f.GalleryTab.VSTSTab);break;case r.vsCodeTabName:t=h.VSCode_Header;r.searchHeader(h.VSCodeHomePageSearchHeader);r.isVSCodeTabFocused(!0);r.currentFocusedTabEnum(f.GalleryTab.VSCodeTab);break;default:r.isVSSubsTabFocused(!0);r.currentFocusedTabEnum(null);return}r.searchPlaceHolder(y.format(h.SearchExtensions,t));setTimeout(function(){r.isSelected(!0)},500)}),r.galleryDataProvider=s.GalleryDataProvider.GetInstance(),r.isHosted=s.GalleryDataProvider.deploymentIsHosted(),r._setCurrentTabFromUrl(),r.historyService.registerHandler(r._onPopState.bind(r)),r._registerClickHandlersForFooter(),o.TelemetryHelper.publishEvent(o.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.HOMEPAGE,{TabSelected:r._convertTabSelectedNameInLoggingIfRequired(r.getTabHashFromTab(r.currentTab())),ProductType:r.getProductTypeFromTabName(r.currentTab())}),r}return __extends(t,n),t.prototype._convertTabSelectedNameInLoggingIfRequired=function(n){return y.ignoreCaseComparer(n,e.tabConstants.AzureDevOps)===0?e.tabConstants.VSTSTab:n},t.prototype.navigateToSearch=function(t){n.prototype.navigateToSearch.call(this,t,"LandingPage")},t.prototype.getAriaSelected=function(n){return this.currentTab()===n?"true":"false"},t.prototype.getTabIndex=function(n){return this.currentFocusedTab()===n?"0 ":"-1"},t.prototype.getTabAriaControls=function(n){var t="vsts-tab-content";switch(n){case this.vsTabName:t="vs-tab-content";break;case this.vsCodeTabName:t="vscode-tab-content";break;case this.vstsTabName:t="vsts-tab-content";break;case this.vsSubsTabName:t="vssubs-tab-content";break;case this.vsForMacTabName:t="vsformac-tab-content"}return this.wasActivated()[n]===!0?t:""},t.prototype.clickTab=function(n){var t=this;return function(i,r){return t.tabClicked(r,n)}},t.prototype.buildYourOwnClick=function(){var n=this;return function(){n.clickBuildYourOwn()}},t.prototype.publishExtensionsClick=function(){var n=this;return function(){n.clickPublishExtensions()}},t.prototype.keyDownTab=function(n){var t=this;return function(i,r){return t.tabKeyDown(r,n)}},t.prototype._setCurrentTabFromUrl=function(){if(!this.isHosted){this.currentTab(this.vstsTabName);return}var t,i=!1,n=this._getTabKeyFromHash();n?i=!0:n=this._getTabKeyFromUrl();n||(n=this._getSelectedTabCookie());n||(n=this.tabNameToHashDictionary[this.defaultTab]);n&&(t=this.tabHashToNameDictionary[n.toLowerCase()]);this.currentTab(t);this.setSearchContext();a.setSelectedTabCookie(n);i&&this.historyService.replaceState(n,null,n)},t.prototype._getTabKeyFromHash=function(){var n=this.historyService.getCurrentHash();return(v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()&&y.ignoreCaseComparer(n,e.tabConstants.VSTSTab)===0&&(n=e.tabConstants.AzureDevOps),this._isTabKeyPresent(n))?(f.BaseTabViewModel.TabSelectedSource="hash",n):y.ignoreCaseComparer(n,t.OLD_SUBSCRIPTIONS_TAB_KEY)===0?(f.BaseTabViewModel.TabSelectedSource="hash",t.NEW_SUBSCRIPTIONS_TAB_KEY):null},t.prototype._getTabKeyFromUrl=function(){var n=this._getLastPartOfUrl();return this._isTabKeyPresent(n)?(f.BaseTabViewModel.TabSelectedSource="url",n):null},t.prototype._isTabKeyPresent=function(n){return n&&(n=n.toLowerCase()),this.tabHashToNameDictionary[n]?!0:!1},t.prototype._getLastPartOfUrl=function(){for(var t=window.location.pathname.split("/"),i="",n=t.length-1;n>=0;)if(t[n].length===0)n--;else{i=t[n];break}return i},t.prototype._skipToMainContent=function(){var n=window.location.hash;return n==="#start-of-content"},t.prototype._onPopState=function(n,t){var i;t&&t.toLowerCase&&(i=this.tabHashToNameDictionary[t.toLowerCase()]);i?(this.currentTab(i),this.setSearchContext()):this._getLastPartOfUrl()!==""||this._skipToMainContent()||(this.currentTab(this.defaultTab),this.setSearchContext())},t.prototype.setSearchContext=function(){switch(this.currentTab()){case this.vsTabName:a.setSearchContext(e.SearchConstants.VSProductText);break;case this.vsCodeTabName:a.setSearchContext(e.SearchConstants.VSCodeProductText);break;case this.vstsTabName:v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()?a.setSearchContext(e.SearchConstants.AzureDevOpsProductText):a.setSearchContext(e.SearchConstants.VSTSProductText);break;case this.vsForMacTabName:a.setSearchContext(e.SearchConstants.VSForMacProductText)}},t.prototype.tabKeyDown=function(n,t){var u;if(n.keyCode===e.RIGHT_KEY_CODE||n.keyCode===e.LEFT_KEY_CODE){var r=0,f=[],i=-1;for(u in this.tabNameToHashDictionary)(u!=this.vsForMacTabName||this.showVSForMac)&&(f.push(u),t===u&&(i=r),r++);if(i!==-1){i=n.keyCode===e.RIGHT_KEY_CODE?i===r-1?0:i+1:i===0?r-1:i-1;switch(f[i]){case this.vsTabName:this.currentFocusedTab(this.vsTabName);this.isVSTabFocused(!0);break;case this.vsForMacTabName:this.currentFocusedTab(this.vsForMacTabName);this.isVSForMacTabFocused(!0);break;case this.vstsTabName:this.currentFocusedTab(this.vstsTabName);this.isVSTSTabFocused(!0);break;case this.vsCodeTabName:this.currentFocusedTab(this.vsCodeTabName);this.isVSCodeTabFocused(!0);break;default:this.currentFocusedTab(this.vsSubsTabName);this.isVSSubsTabFocused(!0)}}}return!0},t.prototype.tabClicked=function(n,t){var i=this.getTabHashFromTab(t),r;return n.ctrlKey||n.button===e.MOUSE_BUTTON_MIDDLE?(r=location.origin+"/"+i,window.open(r,"_blank")):(this.currentTab(t),this.setSearchContext(),this.historyService.pushState(i,null,i,l.GalleryURLs.getHomePageURL()),a.setSelectedTabCookie(i),o.TelemetryHelper.publishEventAsync(o.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.HOMEPAGE,{TabSelected:this._convertTabSelectedNameInLoggingIfRequired(this.getTabHashFromTab(t)),ProductType:this.getProductTypeFromTabName(t)})),!1},t.prototype._registerClickHandlersForFooter=function(){var n=function(n){var t={};t[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.SectionName]=n;o.TelemetryHelper.publishEventAsync(o.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.HOME_PAGE_FOOTER,t)};$(".footerContainer .publish-extensions").click(function(){n("PublishExtensions")});$(".footerContainer .support-faq").click(function(){n("FAQ")})},t.prototype.clickBuildYourOwn=function(){var n={},t;n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.SectionName]=this._convertTabSelectedNameInLoggingIfRequired(this.getTabHashFromTab(this.currentTab()));n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Page]=o.CustomerIntelligenceConstants.MarketPlaceCustomerIntelligenceCategories.HOME_PAGE;n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.ProductType]=this.getProductTypeFromTabName(this.currentTab());t=this.getBuildYourOwnURL();window.open(t,"_blank");o.TelemetryHelper.publishEventAsync(o.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.BUILD_YOUR_OWN,n).then(function(){})},t.prototype.clickPublishExtensions=function(){var n={},t;n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.SectionName]=this.getTabHashFromTab(this.currentTab());n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.HomePageProperties.Page]=o.CustomerIntelligenceConstants.MarketPlaceCustomerIntelligenceCategories.HOME_PAGE;n[o.CustomerIntelligenceConstants.MarketPlaceIntelligenceProperties.MarketPlaceIntelligenceCommonProperties.ProductType]=this.getProductTypeFromTabName(this.currentTab());t=this.getPublishExtensionsUrl();window.open(t,"_blank");o.TelemetryHelper.publishEventAsync(o.CustomerIntelligenceConstants.MarketPlaceIntelligenceFeature.PUBLISH_EXTENSIONS,n).then(function(){})},t.prototype.getTabHashFromTab=function(n){var t=this.tabNameToHashDictionary[this.vsTabName];return this.tabNameToHashDictionary[n]&&(t=this.tabNameToHashDictionary[n]),t},t.prototype.initializeDictionary=function(n,t){t&&(this.tabNameToHashDictionary[n]=t.toLowerCase(),this.tabHashToNameDictionary[t.toLowerCase()]=n)},t.prototype.getProductTypeFromTabName=function(n){switch(n.toLowerCase()){case this.vsCodeTabName:return"VSCode";case this.vsForMacTabName:return"VSForMac";case this.vstsTabName:return"VSTS";case this.vsSubsTabName:return"Subscriptions";case this.vsTabName:default:return"VS"}},t.prototype.initializeDefaultTab=function(){var n=s.GalleryDataProvider.getRegistryItem("DefaultTab");switch(n.toLowerCase()){case"vscode":this.defaultTab=this.vsCodeTabName;break;case"vsformac":this.defaultTab=this.vsForMacTabName;break;case"vsts":this.defaultTab=this.vstsTabName;break;case"azuredevops":this.defaultTab=this.vstsTabName;break;case"subscriptions":this.defaultTab=this.vsSubsTabName;break;case"vs":default:this.defaultTab=this.vsTabName}},t.prototype.getBuildYourOwnURL=function(){return this.currentTab()===this.vsCodeTabName?e.BuildYourOwnLinks.VSCode:this.currentTab()===this.vsForMacTabName?e.BuildYourOwnLinks.VSForMac:this.currentTab()===this.vstsTabName?e.BuildYourOwnLinks.VSTS:e.BuildYourOwnLinks.VS},t.prototype.getPublishExtensionsUrl=function(){return l.GalleryURLs.getManageURL()},t.prototype._getSelectedTabCookie=function(){var n=a.CookieUtils.getCookie(t.SelectedTabCookie);return(v.MarketplaceBrandingChanges.isMarketplaceBrandingChangesEnabled()&&y.ignoreCaseComparer(n,e.tabConstants.VSTSTab)===0&&(n=e.tabConstants.AzureDevOps),this._isTabKeyPresent(n))?(f.BaseTabViewModel.TabSelectedSource="cookie",n):null},t.SelectedTabCookie="Market_SelectedTab",t.OLD_SUBSCRIPTIONS_TAB_KEY="vssubscriptions",t.NEW_SUBSCRIPTIONS_TAB_KEY="subscriptions",t}(u.BaseView);t.HomePageView=p;$(function(){var t=new p,n;i.applyBindings(t,window.document.getElementsByClassName("tab-area-container")[0]);n=window.document.getElementById("gallery-footer");n&&i.applyBindings({currentTab:t.currentFocusedTabEnum},n)})});

if (window.performance && window.performance.mark) { window.performance.mark('endLoadBundleInner-view'); }