Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

office-ui-fabric

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-ui-fabric - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

bower.json
{
"name": "office-ui-fabric",
"author": "Office UI Fabric Team",
"version": "2.0.1",
"version": "2.1.0",
"description": "The front-end framework for building experiences for Office 365.",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -16,2 +16,5 @@ {

],
"dependencies": [
"List"
],
"branches": [

@@ -18,0 +21,0 @@ {

@@ -1,2 +0,2 @@

var fabric=fabric||{};fabric.Breadcrumb=function(e){this.container=e,this.init()},fabric.Breadcrumb.prototype=function(){var e,t,n,i,s,a,r=639,o=0,c=[],l=function(){var e,n,i,s,a=t.length,r=0;for(r;a>r;r++)e=t[r].querySelector(".ms-Breadcrumb-itemLink"),n=e.textContent,i=e.getAttribute("href"),s=parseInt(e.getAttribute("tabindex"),10),c.push({text:n,link:i,tabIndex:s})},d=function(){g(null),m()},m=function(){var t=window.innerWidth>r?4:2;t!==o&&(c.length>t?e.className+=" is-overflow":k(e," is-overflow"),f(t),u(t)),o=t},u=function(e){h(n);var t=c.length-e,i=c.slice(0,t);i.forEach(function(e){var t=document.createElement("li");t.className="ms-ContextualMenu-item",isNaN(e.tabIndex)||t.setAttribute("tabindex",e.tabIndex);var i=document.createElement("a");i.className="ms-ContextualMenu-link",i.setAttribute("href",e.link),i.textContent=e.text,t.appendChild(i),n.appendChild(t)})},f=function(e){h(a);var t=c.length-e;if(t>=0)for(t;t<c.length;t++){var n=document.createElement("li"),i=c[t],s=document.createElement("a"),r=document.createElement("i");n.className="ms-Breadcrumb-listItem",s.className="ms-Breadcrumb-itemLink",s.setAttribute("href",i.link),isNaN(i.tabIndex)||s.setAttribute("tabindex",i.tabIndex),s.textContent=i.text,r.className="ms-Breadcrumb-chevron ms-Icon ms-Icon--chevronRight",n.appendChild(s),n.appendChild(r),a.appendChild(n)}},h=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},p=function(e){-1===s.className.indexOf(" is-open")&&(s.className+=" is-open",C(e),i.focus())},v=function(e){13===e.keyCode&&p(e)},g=function(e){e&&e.target===i||k(s," is-open")},k=function(e,t){var n=e.className.indexOf(t);n>-1&&(e.className=e.className.substring(0,n))},y=function(r){e=r.container,a=e.querySelector(".ms-Breadcrumb-list"),t=e.querySelectorAll(".ms-Breadcrumb-listItem"),n=e.querySelector(".ms-ContextualMenu"),i=e.querySelector(".ms-Breadcrumb-overflowButton"),s=e.querySelector(".ms-Breadcrumb-overflowMenu")},P=function(){window.addEventListener("resize",d),i.addEventListener("click",p,!1),i.addEventListener("keypress",v,!1),document.addEventListener("click",g,!1),a.addEventListener("click",C,!1)},C=function(e){e.target.blur()},b=function(){y(this),P(),l(),d(null)};return{init:b}}(),function(e){e.fn.CommandBar=function(){var t=function(e){var t='<li class="ms-ContextualMenu-item"><a class="ms-ContextualMenu-link"" href="#">';return t+=e,t+="</a></li>"},n=function(t,n,i){var s=[];return t.each(function(){var t=e(this),a=t.position().left+t.outerWidth()+n+10-i.position().left;s.push({jquery:t,rightOffset:a})}),s},i=function(e,t,n){for(var i=[],s=0;s<e.length;s++){var a=e[s].jquery,r=e[s].rightOffset;a.hasClass("ms-CommandBarItem-overflow")||(r+n>t?i.push(a):a.removeClass("is-hidden"))}return i},s=function(n,i,s){var a="";if(n.length>0){i.addClass("is-visible"),s.html("");for(var r=0;r<n.length;r++){var o=e(n[r]);o.addClass("is-hidden");var c=o.find(".ms-CommandBarItem-commandText").text();a+=t(c)}s.html(a)}else i.removeClass("is-visible")};return this.each(function(){var t,a,r=e(this),o=r.find(".ms-CommandBar-mainArea"),c=o.find(".ms-CommandBarItem").not(".ms-CommandBarItem-overflow"),l=r.find(".ms-CommandBarItem-overflow"),d=r.find(".ms-CommandBarItem-overflow").outerWidth(),m=r.find(".ms-CommandBar-overflowMenu"),u=r.find(".ms-CommandBarSearch"),f=!1;a=n(c,d,o),t=i(a,o.innerWidth(),d),s(t,l,m),e(window).width()<640&&e(".ms-CommandBarSearch-iconSearchWrapper").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),e(window).resize(function(){var t;e(window).width()<640&&f===!1?(a=n(c,d,o),f=!0,e(".ms-CommandBarSearch-iconSearchWrapper").unbind(),e(".ms-CommandBarSearch-iconSearchWrapper").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")})):e(window).width()>639&&f===!0&&(a=n(c,d,o),f=!1,e(".ms-CommandBarSearch").unbind()),t=i(a,o.innerWidth(),d),s(t,l,m)}),l.click(function(){m.toggleClass("is-open")}),l.focusout(function(){m.removeClass("is-open")}),u.find(".ms-CommandBarSearch-input").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),u.find(".ms-CommandBarSearch-input").on("focus",function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),u.find(".ms-CommandBarSearch-iconClearWrapper").click(function(){var t=e(this).parent().find(".ms-CommandBarSearch-input");t.val(""),t.parent().removeClass("is-active")}),u.parent().find(".ms-CommandBarSearch-input").blur(function(){var t=e(this);t.val(""),t.parent().removeClass("is-active")})})}}(jQuery),function(e){e.fn.ContextualMenu=function(){return this.each(function(){var t=e(this);t.on("click",".ms-ContextualMenu-link:not(.is-disabled)",function(n){n.preventDefault(),t.hasClass("ms-ContextualMenu--multiselect")?e(this).hasClass("is-selected")?e(this).removeClass("is-selected"):e(this).addClass("is-selected"):(e(".ms-ContextualMenu-link").removeClass("is-selected").siblings(".ms-ContextualMenu").removeClass("is-open"),e(this).addClass("is-selected"),e(this).hasClass("ms-ContextualMenu-link--hasMenu")&&(e(this).siblings(".ms-ContextualMenu:first").addClass("is-open"),n.stopPropagation()))})})}}(jQuery),function(e){function t(t){var s=t.find(".ms-DatePicker-monthComponents"),a=t.find(".ms-DatePicker-goToday"),r=t.find(".ms-DatePicker-monthPicker"),o=t.find(".ms-DatePicker-yearPicker"),c=t.find(".ms-DatePicker-wrap"),l=t.find(".ms-TextField-field").pickadate("picker");s.appendTo(c),a.appendTo(c),r.appendTo(c),o.appendTo(c),i(t),s.on("click",".js-prevMonth",function(e){e.preventDefault();var t=l.get("highlight").month-1;n(l,null,t,null)}),s.on("click",".js-nextMonth",function(e){e.preventDefault();var t=l.get("highlight").month+1;n(l,null,t,null)}),r.on("click",".js-prevYear",function(e){e.preventDefault();var t=l.get("highlight").year-1;n(l,t,null,null)}),r.on("click",".js-nextYear",function(e){e.preventDefault();var t=l.get("highlight").year+1;n(l,t,null,null)}),o.on("click",".js-prevDecade",function(e){e.preventDefault();var t=l.get("highlight").year-10;n(l,t,null,null)}),o.on("click",".js-nextDecade",function(e){e.preventDefault();var t=l.get("highlight").year+10;n(l,t,null,null)}),a.click(function(e){e.preventDefault();var n=new Date;l.set("select",[n.getFullYear(),n.getMonth(),n.getDate()]),t.removeClass("is-pickingMonths").removeClass("is-pickingYears")}),r.on("click",".js-changeDate",function(i){i.preventDefault();var s=e(this).attr("data-year"),a=e(this).attr("data-month"),r=e(this).attr("data-day");n(l,s,a,r),t.hasClass("is-pickingMonths")&&t.removeClass("is-pickingMonths")}),o.on("click",".js-changeDate",function(i){i.preventDefault();var s=e(this).attr("data-year"),a=e(this).attr("data-month"),r=e(this).attr("data-day");n(l,s,a,r),t.hasClass("is-pickingYears")&&t.removeClass("is-pickingYears")}),r.on("click",".js-showDayPicker",function(){t.removeClass("is-pickingMonths"),t.removeClass("is-pickingYears")}),s.on("click",".js-showMonthPicker",function(){t.toggleClass("is-pickingMonths")}),r.on("click",".js-showYearPicker",function(){t.toggleClass("is-pickingYears")})}function n(e,t,n,i){null===t&&(t=e.get("highlight").year),null===n&&(n=e.get("highlight").month),null===i&&(i=e.get("highlight").date),e.set("highlight",[t,n,i])}function i(e){var t=e.find(".ms-DatePicker-monthPicker"),n=e.find(".ms-DatePicker-yearPicker"),i=e.find(".ms-TextField-field").pickadate("picker");t.find(".ms-DatePicker-currentYear").text(i.get("view").year),t.find(".ms-DatePicker-monthOption").removeClass("is-highlighted"),t.find('.ms-DatePicker-monthOption[data-month="'+i.get("highlight").month+'"]').addClass("is-highlighted"),n.find(".ms-DatePicker-currentDecade").remove(),n.find(".ms-DatePicker-optionGrid").remove();var s=i.get("highlight").year-11,a=s+" - "+(s+11),r='<div class="ms-DatePicker-currentDecade">'+a+"</div>";r+='<div class="ms-DatePicker-optionGrid">';for(var o=s;s+12>o;o++)r+='<span class="ms-DatePicker-yearOption js-changeDate" data-year="'+o+'">'+o+"</span>";r+="</div>",n.append(r),n.find(".ms-DatePicker-yearOption").removeClass("is-highlighted"),n.find('.ms-DatePicker-yearOption[data-year="'+i.get("highlight").year+'"]').addClass("is-highlighted")}function s(t){e("html, body").animate({scrollTop:t.offset().top},367)}e.fn.DatePicker=function(n){return this.each(function(){var a=e(this),r=a.find(".ms-TextField-field").pickadate(e.extend({weekdaysShort:["S","M","T","W","T","F","S"],today:"",clear:"",close:"",onStart:function(){t(a)},klass:{input:"ms-DatePicker-input",active:"ms-DatePicker-input--active",picker:"ms-DatePicker-picker",opened:"ms-DatePicker-picker--opened",focused:"ms-DatePicker-picker--focused",holder:"ms-DatePicker-holder",frame:"ms-DatePicker-frame",wrap:"ms-DatePicker-wrap",box:"ms-DatePicker-dayPicker",header:"ms-DatePicker-header",month:"ms-DatePicker-month",year:"ms-DatePicker-year",table:"ms-DatePicker-table",weekdays:"ms-DatePicker-weekday",day:"ms-DatePicker-day",disabled:"ms-DatePicker-day--disabled",selected:"ms-DatePicker-day--selected",highlighted:"ms-DatePicker-day--highlighted",now:"ms-DatePicker-day--today",infocus:"ms-DatePicker-day--infocus",outfocus:"ms-DatePicker-day--outfocus"}},n||{})),o=r.pickadate("picker");o.on({render:function(){i(a)},open:function(){s(a)}})})}}(jQuery),!function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):this.Picker=e(jQuery)}(function(e){function t(a,r,o,d){function m(){return t._.node("div",t._.node("div",t._.node("div",t._.node("div",b.component.nodes(g.open),y.box),y.wrap),y.frame),y.holder)}function u(){P.data(r,b).addClass(y.input).val(P.data("value")?b.get("select",k.format):a.value).on("focus."+g.id+" click."+g.id,p),k.editable||P.on("keydown."+g.id,function(e){var t=e.keyCode,n=/^(8|46)$/.test(t);return 27==t?(b.close(),!1):void((32==t||n||!g.open&&b.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?b.clear().close():b.open()))}),s(a,{haspopup:!0,expanded:!1,readonly:!1,owns:a.id+"_root"+(b._hidden?" "+b._hidden.id:"")})}function f(){b.$root.on({focusin:function(e){b.$root.removeClass(y.focused),e.stopPropagation()},"mousedown click":function(t){var n=t.target;n!=b.$root.children()[0]&&(t.stopPropagation(),"mousedown"!=t.type||e(n).is(":input")||"OPTION"==n.nodeName||(t.preventDefault(),a.focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var t=e(this),n=t.data(),i=t.hasClass(y.navDisabled)||t.hasClass(y.disabled),s=document.activeElement;s=s&&(s.type||s.href)&&s,(i||s&&!e.contains(b.$root[0],s))&&a.focus(),!i&&n.nav?b.set("highlight",b.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?b.set("select",n.pick).close(!0):n.clear?b.clear().close(!0):n.close&&b.close(!0)}),s(b.$root[0],"hidden",!0)}function h(){var t;k.hiddenName===!0?(t=a.name,a.name=""):(t=["string"==typeof k.hiddenPrefix?k.hiddenPrefix:"","string"==typeof k.hiddenSuffix?k.hiddenSuffix:"_submit"],t=t[0]+a.name+t[1]),b._hidden=e('<input type=hidden name="'+t+'"'+(P.data("value")||a.value?' value="'+b.get("select",k.formatSubmit)+'"':"")+">")[0],P.on("change."+g.id,function(){b._hidden.value=a.value?b.get("select",k.formatSubmit):""}).after(b._hidden)}function p(e){e.stopPropagation(),"focus"==e.type&&b.$root.addClass(y.focused),b.open()}if(!a)return t;var v=!1,g={id:a.id||"P"+Math.abs(~~(Math.random()*new Date))},k=o?e.extend(!0,{},o.defaults,d):d||{},y=e.extend({},t.klasses(),k.klass),P=e(a),C=function(){return this.start()},b=C.prototype={constructor:C,$node:P,start:function(){return g&&g.start?b:(g.methods={},g.start=!0,g.open=!1,g.type=a.type,a.autofocus=a==document.activeElement,a.readOnly=!k.editable,a.id=a.id||g.id,"text"!=a.type&&(a.type="text"),b.component=new o(b,k),b.$root=e(t._.node("div",m(),y.picker,'id="'+a.id+'_root"')),f(),k.formatSubmit&&h(),u(),k.container?e(k.container).append(b.$root):P.after(b.$root),b.on({start:b.component.onStart,render:b.component.onRender,stop:b.component.onStop,open:b.component.onOpen,close:b.component.onClose,set:b.component.onSet}).on({start:k.onStart,render:k.onRender,stop:k.onStop,open:k.onOpen,close:k.onClose,set:k.onSet}),v=n(b.$root.children()[0]),a.autofocus&&b.open(),b.trigger("start").trigger("render"))},render:function(e){return e?b.$root.html(m()):b.$root.find("."+y.box).html(b.component.nodes(g.open)),b.trigger("render")},stop:function(){return g.start?(b.close(),b._hidden&&b._hidden.parentNode.removeChild(b._hidden),b.$root.remove(),P.removeClass(y.input).removeData(r),setTimeout(function(){P.off("."+g.id)},0),a.type=g.type,a.readOnly=!1,b.trigger("stop"),g.methods={},g.start=!1,b):b},open:function(n){return g.open?b:(P.addClass(y.active),s(a,"expanded",!0),setTimeout(function(){b.$root.addClass(y.opened),s(b.$root[0],"hidden",!1)},0),n!==!1&&(g.open=!0,v&&l.css("overflow","hidden").css("padding-right","+="+i()),P.trigger("focus"),c.on("click."+g.id+" focusin."+g.id,function(e){var t=e.target;t!=a&&t!=document&&3!=e.which&&b.close(t===b.$root.children()[0])}).on("keydown."+g.id,function(n){var i=n.keyCode,s=b.component.key[i],r=n.target;27==i?b.close(!0):r!=a||!s&&13!=i?e.contains(b.$root[0],r)&&13==i&&(n.preventDefault(),r.click()):(n.preventDefault(),s?t._.trigger(b.component.key.go,b,[t._.trigger(s)]):b.$root.find("."+y.highlighted).hasClass(y.disabled)||b.set("select",b.component.item.highlight).close())})),b.trigger("open"))},close:function(e){return e&&(P.off("focus."+g.id).trigger("focus"),setTimeout(function(){P.on("focus."+g.id,p)},0)),P.removeClass(y.active),s(a,"expanded",!1),setTimeout(function(){b.$root.removeClass(y.opened+" "+y.focused),s(b.$root[0],"hidden",!0)},0),g.open?(g.open=!1,v&&l.css("overflow","").css("padding-right","-="+i()),c.off("."+g.id),b.trigger("close")):b},clear:function(e){return b.set("clear",null,e)},set:function(t,n,i){var s,a,r=e.isPlainObject(t),o=r?t:{};if(i=r&&e.isPlainObject(n)?n:i||{},t){r||(o[t]=n);for(s in o)a=o[s],s in b.component.item&&(void 0===a&&(a=null),b.component.set(s,a,i)),("select"==s||"clear"==s)&&P.val("clear"==s?"":b.get(s,k.format)).trigger("change");b.render()}return i.muted?b:b.trigger("set",o)},get:function(e,n){if(e=e||"value",null!=g[e])return g[e];if("value"==e)return a.value;if(e in b.component.item){if("string"==typeof n){var i=b.component.get(e);return i?t._.trigger(b.component.formats.toString,b.component,[n,i]):""}return b.component.get(e)}},on:function(t,n,i){var s,a,r=e.isPlainObject(t),o=r?t:{};if(t){r||(o[t]=n);for(s in o)a=o[s],i&&(s="_"+s),g.methods[s]=g.methods[s]||[],g.methods[s].push(a)}return b},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;namesCount>e;e+=1)t=n[e],t in g.methods&&delete g.methods[t];return b},trigger:function(e,n){var i=function(e){var i=g.methods[e];i&&i.map(function(e){t._.trigger(e,b,[n])})};return i("_"+e),i(e),b}};return new C}function n(e){var t,n="position";return e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),"fixed"==t}function i(){if(l.height()<=o.height())return 0;var t=e('<div style="visibility:hidden;width:100px" />').appendTo("body"),n=t[0].offsetWidth;t.css("overflow","scroll");var i=e('<div style="width:100%" />').appendTo(t),s=i[0].offsetWidth;return t.remove(),n-s}function s(t,n,i){if(e.isPlainObject(n))for(var s in n)a(t,s,n[s]);else a(t,n,i)}function a(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function r(t,n){e.isPlainObject(t)||(t={attribute:n}),n="";for(var i in t){var s=("role"==i?"":"aria-")+i,a=t[i];n+=null==a?"":s+'="'+t[i]+'"'}return n}var o=e(window),c=e(document),l=e(document.documentElement);return t.klasses=function(e){return e=e||"picker",{picker:e,opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},t._={group:function(e){for(var n,i="",s=t._.trigger(e.min,e);s<=t._.trigger(e.max,e,[s]);s+=e.i)n=t._.trigger(e.item,e,[s]),i+=t._.node(e.node,n[0],n[1],n[2]);return i},node:function(t,n,i,s){return n?(n=e.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",s=s?" "+s:"","<"+t+i+s+">"+n+"</"+t+">"):""},lead:function(e){return(10>e?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return{}.toString.call(e).indexOf("Date")>-1&&this.isInteger(e.getUTCDate())},isInteger:function(e){return{}.toString.call(e).indexOf("Number")>-1&&e%1===0},ariaAttr:r},t.extend=function(n,i){e.fn[n]=function(s,a){var r=this.data(n);return"picker"==s?r:r&&"string"==typeof s?t._.trigger(r[s],r,[a]):this.each(function(){var a=e(this);a.data(n)||new t(this,n,i,s)})},e.fn[n].defaults=i.defaults},t}),function(e){"function"==typeof define&&define.amd?define(["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,t){function n(e,t){var n=this,i=e.$node[0],s=i.value,a=e.$node.data("value"),r=a||s,o=a?t.formatSubmit:t.format,c=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(e.$root[0]).direction};n.settings=t,n.$node=e.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(t.disable||[]).slice(0),n.item.enable=-function(e){return e[0]===!0?e.shift():-1}(n.item.disable),n.set("min",t.min).set("max",t.max).set("now"),r?n.set("select",r,{format:o}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(e){var t=n.item.highlight,i=new Date(Date.UTC(t.year,t.month,t.date+e));n.set("highlight",i,{interval:e}),this.render()}},e.on("render",function(){e.$root.find("."+t.klass.selectMonth).on("change",function(){var n=this.value;n&&(e.set("highlight",[e.get("view").year,n,e.get("highlight").date]),e.$root.find("."+t.klass.selectMonth).trigger("focus"))}),e.$root.find("."+t.klass.selectYear).on("change",function(){var n=this.value;n&&(e.set("highlight",[n,e.get("view").month,e.get("highlight").date]),e.$root.find("."+t.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+t.klass.buttonToday+")"),e.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){e.$root.find("button, select").attr("disabled",!0)},1)}var i=7,s=6,a=e._;n.prototype.set=function(e,t,n){var i=this,s=i.item;return null===t?("clear"==e&&(e="select"),s[e]=t,i):(s["enable"==e?"disable":"flip"==e?"enable":e]=i.queue[e].split(" ").map(function(s){return t=i[s](e,t,n)}).pop(),"select"==e?i.set("highlight",s.select,n):"highlight"==e?i.set("view",s.highlight,n):e.match(/^(flip|min|max|disable|enable)$/)&&(s.select&&i.disabled(s.select)&&i.set("select",s.select,n),s.highlight&&i.disabled(s.highlight)&&i.set("highlight",s.highlight,n)),i)},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,n,i){var s,r=this;return n=void 0===n?e:n,n==-1/0||1/0==n?s=n:t.isPlainObject(n)&&a.isInteger(n.pick)?n=n.obj:t.isArray(n)?(n=new Date(Date.UTC(n[0],n[1],n[2])),n=a.isDate(n)?n:r.create().obj):n=a.isInteger(n)?r.normalize(new Date(n),i):a.isDate(n)?r.normalize(n,i):r.now(e,n,i),{year:s||n.getUTCFullYear(),month:s||n.getUTCMonth(),date:s||n.getUTCDate(),day:s||n.getUTCDay(),obj:s||n,pick:s||n.getTime()}},n.prototype.createRange=function(e,n){var i=this,s=function(e){return e===!0||t.isArray(e)||a.isDate(e)?i.create(e):e};return a.isInteger(e)||(e=s(e)),a.isInteger(n)||(n=s(n)),a.isInteger(e)&&t.isPlainObject(n)?e=[n.year,n.month,n.date+e]:a.isInteger(n)&&t.isPlainObject(e)&&(n=[e.year,e.month,e.date+n]),{from:s(e),to:s(n)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setUTCDate(t.getUTCDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,n,i){var s,a,r,o,c=t.isArray(n),l=t.isPlainObject(n),d=this.item.view;if(c||l){for(l?(a=n.year,r=n.month,o=n.date):(a=+n[0],r=+n[1],o=+n[2]),i&&i.nav&&d&&d.month!==r&&(a=d.year,r=d.month),s=new Date(Date.UTC(a,r+(i&&i.nav?i.nav:0),1)),a=s.getUTCFullYear(),r=s.getUTCMonth();new Date(Date.UTC(a,r,o)).getUTCMonth()!==r;)o-=1;n=[a,r,o]}return n},n.prototype.normalize=function(e){return e.setUTCHours(0,0,0,0),e},n.prototype.measure=function(e,t){var n=this;return t?"string"==typeof t?t=n.parse(e,t):a.isInteger(t)&&(t=n.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,i){var s,r,o,c,l=this,d=n,m=i&&i.interval?i.interval:1,u=-1===l.item.enable,f=l.item.min,h=l.item.max,p=u&&l.item.disable.filter(function(e){if(t.isArray(e)){var i=l.create(e).pick;i<n.pick?s=!0:i>n.pick&&(r=!0)}return a.isInteger(e)}).length;if((!i||!i.nav)&&(!u&&l.disabled(n)||u&&l.disabled(n)&&(p||s||r)||!u&&(n.pick<=f.pick||n.pick>=h.pick)))for(u&&!p&&(!r&&m>0||!s&&0>m)&&(m*=-1);l.disabled(n)&&(Math.abs(m)>1&&(n.month<d.month||n.month>d.month)&&(n=d,m=m>0?1:-1),n.pick<=f.pick?(o=!0,m=1,n=l.create([f.year,f.month,f.date+(n.pick===f.pick?0:-1)])):n.pick>=h.pick&&(c=!0,m=-1,n=l.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!o||!c);)n=l.create([n.year,n.month,n.date+m]);return n},n.prototype.disabled=function(e){var n=this,i=n.item.disable.filter(function(i){return a.isInteger(i)?e.day===(n.settings.firstDay?i:i-1)%7:t.isArray(i)||a.isDate(i)?e.pick===n.create(i).pick:t.isPlainObject(i)?n.withinRange(i,e):void 0});return i=i.length&&!i.filter(function(e){return t.isArray(e)&&"inverted"==e[3]||t.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!i:i||e.pick<n.item.min.pick||e.pick>n.item.max.pick},n.prototype.parse=function(e,t,n){var i=this,s={};return t&&"string"==typeof t?(n&&n.format||(n=n||{},n.format=i.settings.format),i.formats.toArray(n.format).map(function(e){var n=i.formats[e],r=n?a.trigger(n,i,[t,s]):e.replace(/^!/,"").length;n&&(s[e]=t.substr(0,r)),t=t.substr(r)}),[s.yyyy||s.yy,+(s.mm||s.m)-1,s.dd||s.d]):t},n.prototype.formats=function(){function e(e,t,n){var i=e.match(/\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function t(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?a.digits(e):t.date},dd:function(e,t){return e?2:a.lead(t.date)},ddd:function(e,n){return e?t(e):this.settings.weekdaysShort[n.day]},dddd:function(e,n){return e?t(e):this.settings.weekdaysFull[n.day]},m:function(e,t){return e?a.digits(e):t.month+1},mm:function(e,t){return e?2:a.lead(t.month+1)},mmm:function(t,n){var i=this.settings.monthsShort;return t?e(t,i,n):i[n.month]},mmmm:function(t,n){var i=this.settings.monthsFull;return t?e(t,i,n):i[n.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return a.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,n){var i=this;return a.isInteger(e)&&a.isInteger(n)||"boolean"==typeof e&&"boolean"==typeof n?e===n:(a.isDate(e)||t.isArray(e))&&(a.isDate(n)||t.isArray(n))?i.create(e).pick===i.create(n).pick:t.isPlainObject(e)&&t.isPlainObject(n)?i.isDateExact(e.from,n.from)&&i.isDateExact(e.to,n.to):!1},n.prototype.isDateOverlap=function(e,n){var i=this,s=i.settings.firstDay?1:0;return a.isInteger(e)&&(a.isDate(n)||t.isArray(n))?(e=e%7+s,e===i.create(n).day+1):a.isInteger(n)&&(a.isDate(e)||t.isArray(e))?(n=n%7+s,n===i.create(e).day+1):t.isPlainObject(e)&&t.isPlainObject(n)?i.overlapRanges(e,n):!1},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,n){var i=this,s=i.item.disable.slice(0);return"flip"==n?i.flipEnable():n===!1?(i.flipEnable(1),s=[]):n===!0?(i.flipEnable(-1),s=[]):n.map(function(e){for(var n,r=0;r<s.length;r+=1)if(i.isDateExact(e,s[r])){n=!0;break}n||(a.isInteger(e)||a.isDate(e)||t.isArray(e)||t.isPlainObject(e)&&e.from&&e.to)&&s.push(e)}),s},n.prototype.activate=function(e,n){var i=this,s=i.item.disable,r=s.length;return"flip"==n?i.flipEnable():n===!0?(i.flipEnable(1),s=[]):n===!1?(i.flipEnable(-1),s=[]):n.map(function(e){var n,o,c,l;for(c=0;r>c;c+=1){if(o=s[c],i.isDateExact(o,e)){n=s[c]=null,l=!0;break}if(i.isDateOverlap(o,e)){t.isPlainObject(e)?(e.inverted=!0,n=e):t.isArray(e)?(n=e,n[3]||n.push("inverted")):a.isDate(e)&&(n=[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),"inverted"]);break}}if(n)for(c=0;r>c;c+=1)if(i.isDateExact(s[c],e)){s[c]=null;break}if(l)for(c=0;r>c;c+=1)if(i.isDateOverlap(s[c],e)){s[c]=null;break}n&&s.push(n)}),s.filter(function(e){return null!=e})},n.prototype.nodes=function(e){var t=this,n=t.settings,r=t.item,o=r.now,c=r.select,l=r.highlight,d=r.view,m=r.disable,u=r.min,f=r.max,h=function(e,t){return n.firstDay&&(e.push(e.shift()),t.push(t.shift())),a.node("thead",a.node("tr",a.group({min:0,max:i-1,i:1,node:"th",item:function(i){return[e[i],n.klass.weekdays,'scope=col title="'+t[i]+'"']}})))}((n.showWeekdaysFull?n.weekdaysFull:n.weekdaysShort).slice(0),n.weekdaysFull.slice(0)),p=function(e){return a.node("div"," ",n.klass["nav"+(e?"Next":"Prev")]+(e&&d.year>=f.year&&d.month>=f.month||!e&&d.year<=u.year&&d.month<=u.month?" "+n.klass.navDisabled:""),"data-nav="+(e||-1)+" "+a.ariaAttr({role:"button",components:t.$node[0].id+"_table"})+' title="'+(e?n.labelMonthNext:n.labelMonthPrev)+'"')},v=function(){var i=n.showMonthsShort?n.monthsShort:n.monthsFull;return n.selectMonths?a.node("select",a.group({min:0,max:11,i:1,node:"option",item:function(e){return[i[e],0,"value="+e+(d.month==e?" selected":"")+(d.year==u.year&&e<u.month||d.year==f.year&&e>f.month?" disabled":"")]}}),n.klass.selectMonth,(e?"":"disabled")+" "+a.ariaAttr({components:t.$node[0].id+"_table"})+' title="'+n.labelMonthSelect+'"'):a.node("div",i[d.month],n.klass.month)},g=function(){var i=d.year,s=n.selectYears===!0?5:~~(n.selectYears/2);if(s){var r=u.year,o=f.year,c=i-s,l=i+s;if(r>c&&(l+=r-c,c=r),l>o){var m=c-r,h=l-o;c-=m>h?h:m,l=o}return a.node("select",a.group({min:c,max:l,i:1,node:"option",item:function(e){return[e,0,"value="+e+(i==e?" selected":"")]}}),n.klass.selectYear,(e?"":"disabled")+" "+a.ariaAttr({components:t.$node[0].id+"_table"})+' title="'+n.labelYearSelect+'"')}return a.node("div",i,n.klass.year)};return a.node("div",(n.selectYears?g()+v():v()+g())+p()+p(1),n.klass.header)+a.node("table",h+a.node("tbody",a.group({min:0,max:s-1,i:1,node:"tr",item:function(e){var s=n.firstDay&&0===t.create([d.year,d.month,1]).day?-7:0;return[a.group({min:i*e-d.day+s+1,max:function(){return this.min+i-1},i:1,node:"td",item:function(e){e=t.create([d.year,d.month,e+(n.firstDay?1:0)]);var i=c&&c.pick==e.pick,s=l&&l.pick==e.pick,r=m&&t.disabled(e)||e.pick<u.pick||e.pick>f.pick;return[a.node("div",e.date,function(t){return t.push(d.month==e.month?n.klass.infocus:n.klass.outfocus),o.pick==e.pick&&t.push(n.klass.now),i&&t.push(n.klass.selected),s&&t.push(n.klass.highlighted),r&&t.push(n.klass.disabled),t.join(" ")}([n.klass.day]),"data-pick="+e.pick+" "+a.ariaAttr({role:"gridcell",selected:i&&t.$node.val()===a.trigger(t.formats.toString,t,[n.format,e])?!0:null,activedescendant:s?!0:null,disabled:r?!0:null})),"",a.ariaAttr({role:"presentation"})]}})]}})),n.klass.table,'id="'+t.$node[0].id+'_table" '+a.ariaAttr({role:"grid",components:t.$node[0].id,readonly:!0}))+a.node("div",a.node("button",n.today,n.klass.buttonToday,"type=button data-pick="+o.pick+(e&&!t.disabled(o)?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id}))+a.node("button",n.clear,n.klass.buttonClear,"type=button data-clear=1"+(e?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id}))+a.node("button",n.close,n.klass.buttonClose,"type=button data-close=true "+(e?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id})),n.klass.footer)},n.defaults=function(e){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:e+"table",header:e+"header",navPrev:e+"nav--prev",navNext:e+"nav--next",navDisabled:e+"nav--disabled",month:e+"month",year:e+"year",selectMonth:e+"select--month",selectYear:e+"select--year",weekdays:e+"weekday",day:e+"day",disabled:e+"day--disabled",selected:e+"day--selected",highlighted:e+"day--highlighted",now:e+"day--today",infocus:e+"day--infocus",outfocus:e+"day--outfocus",footer:e+"footer",buttonClear:e+"button--clear",buttonToday:e+"button--today",buttonClose:e+"button--close"}}}(e.klasses().picker+"__"),e.extend("pickadate",n)}),function(e){e.fn.Dialog=function(){return e(".js-DialogAction--open").each(function(){e(this).on("click",function(){var t=e(this).data("target");e(t).show()})}),this.each(function(){var t=this;e(t).hide(),e(t).find(".js-DialogAction--close").each(function(){e(this).on("click",function(){e(t).hide()})}),e(t).find(".ms-Dialog-action").on("click",function(){e(t).hide()})})}}(jQuery),function(e){e.fn.Dropdown=function(){return this.each(function(){function t(t){if(!n.hasClass("is-disabled")){n.find(".is-open").removeClass("is-open"),t.stopPropagation();var i=e(this).parents(".ms-Dropdown").width();e(this).next(".ms-Dropdown-items").css("width",i+"px"),n.toggleClass("is-open"),e(".ms-Dropdown").each(function(){e(this)[0]!==n[0]&&e(this).removeClass("is-open")}),e(document).bind("click.dropdown",function(){n.removeClass("is-open"),e(document).unbind("click.dropdown")})}}var n=e(this),i=n.children(".ms-Dropdown-select"),s=i.children("option"),a="",r="",o="";s.each(function(e,t){t.selected&&(a=t.text),r+='<li class="ms-Dropdown-item'+(t.disabled?' is-disabled"':'"')+">"+t.text+"</li>"}),o='<span class="ms-Dropdown-title">'+a+'</span><ul class="ms-Dropdown-items">'+r+"</ul>",n.append(o),n.on("click",".ms-Dropdown-title",function(e){t(e)}),n.on("keyup",function(s){var a=s.keyCode||s.which;if(e(this).hasClass("is-open")){if(e(this).hasClass("is-open")&&(38===a&&e(this).find(".ms-Dropdown-item.is-selected").prev().siblings().size()>0&&e(this).find(".ms-Dropdown-item.is-selected").removeClass("is-selected").prev().addClass("is-selected"),40===a&&e(this).find(".ms-Dropdown-item.is-selected").next().siblings().size()>0&&e(this).find(".ms-Dropdown-item.is-selected").removeClass("is-selected").next().addClass("is-selected"),13===a&&!n.hasClass("is-disabled"))){var r=e(this).find(".ms-Dropdown-item.is-selected").text();e(this).find(".ms-Dropdown-title").html(r),i.find("option").each(function(t,n){n.text===r?e(this).prop("selected",!0):e(this).prop("selected",!1)}),i.change(),e(this).removeClass("is-open")}}else(13===a||38===a||40===a)&&(t(s),e(this).find(".ms-Dropdown-item").hasClass("is-selected")||e(this).find(".ms-Dropdown-item:first").addClass("is-selected"));27===a&&e(this).removeClass("is-open")}),n.on("click",".ms-Dropdown-item",function(){if(!n.hasClass("is-disabled")){e(this).siblings(".ms-Dropdown-item").removeClass("is-selected"),e(this).addClass("is-selected"),e(this).parents().siblings(".ms-Dropdown-title").html(e(this).text());var t=e(this).text();i.find("option").each(function(n,i){i.text===t?e(this).prop("selected",!0):e(this).prop("selected",!1)}),i.change()}})})}}(jQuery),function(e){e.fn.Facepile=function(){return this.each(function(){
e(".ms-PeoplePicker").PeoplePicker(),e(".ms-Panel").Panel();var t=e(this),n=e(".ms-Facepile-members"),i=e(".ms-Facepile-members > .ms-Facepile-itemBtn").length,s=e(".ms-Facepile-panel.ms-Panel"),a=s.find(".ms-Panel-main"),r=e(".ms-PeoplePicker.ms-PeoplePicker--Facepile"),o=r.find(".ms-PeoplePicker-selectedPeople"),c=e(".ms-Facepile").find(".ms-PersonaCard"),l=function(){if(i+=1,e(".ms-Facepile-members").children(":gt(4)").hide(),i>5){e(".ms-Facepile-itemBtn--overflow").addClass("is-active");var t=i-5;e(".ms-Facepile-overflowText").text("+"+t)}};t.on("click",".js-addPerson",function(){a.css({display:"block"}),s.toggleClass("is-open").addClass("ms-Panel-animateIn").removeClass("ms-Facepile-panel--overflow ms-Panel--right").addClass("ms-Facepile-panel--addPerson"),c.removeClass("is-active").hide()}),s.on("click",".js-togglePanel",function(){s.toggleClass("is-open").addClass("ms-Panel-animateIn")}),t.on("click",".js-overflowPanel",function(){a.css({display:"block"}),s.toggleClass("is-open").addClass("ms-Panel-animateIn").removeClass("ms-Facepile-panel--addPerson").addClass("ms-Facepile-panel--overflow ms-Panel--right")}),e(document).ready(function(){e(".ms-Facepile-overflowText").text("+"+i)}),e(".ms-PeoplePicker-result").on("click",function(){var t=e(this),i=t.find(".ms-Persona-primaryText").html(),s=t.find(".ms-Persona-secondaryText").html(),a=function(){for(var e=i.split(" "),t="",n=0;n<e.length;n++)t+=e[n].charAt(0);return t.substring(0,2)}(),r=t.find(".ms-Persona-initials").attr("class"),o=function(){if(t.find(".ms-Persona-image").length){var e=t.find(".ms-Persona-image").attr("src");return'<img class="ms-Persona-image" src="'+e+'" alt="Persona image">'}return""}(),c='<button class="ms-Facepile-itemBtn ms-Facepile-itemBtn--member" title="'+i+'"><div class="ms-Persona ms-Persona--xs"><div class="ms-Persona-imageArea"><div class="'+r+'">'+a+"</div>"+o+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div><div class="ms-Persona-secondaryText">'+s+"</div></div></div></button>";n.prepend(c),l()}),o.on("click",".js-selectedRemove",function(){var t=e(this).parent().find(".ms-Persona-primaryText").text(),s=n.find(".ms-Persona-primaryText:contains("+t+")").first();if(s)if(s.parent().closest(".ms-Facepile-itemBtn").remove(),i-=1,e(".ms-Facepile-members").children(":lt(5)").show(),5>=i)e(".ms-Facepile-itemBtn--overflow").removeClass("is-active");else{var a=i-5;e(".ms-Facepile-overflowText").text("+"+a)}}),n.on("click",".ms-Facepile-itemBtn",function(){var t=e(this).find(".ms-Persona-primaryText").html(),n=e(this).find(".ms-Persona-secondaryText").html(),i=function(){for(var e=t.split(" "),n="",i=0;i<e.length;i++)n+=e[i].charAt(0);return n.substring(0,2)}(),s=e(this).find(".ms-Persona-initials").attr("class"),a=e(this).find(".ms-Persona-image").attr("src"),r=e(".ms-PersonaCard"),o=r.find(".ms-Persona-primaryText"),l=r.find(".ms-Persona-secondaryText"),d=r.find(".ms-Persona-initials"),m=r.find(".ms-Persona-image");if(c.removeClass("is-active"),o.text(t),l.text(n),d.text(i),d.removeClass(),d.addClass(s),m.attr("src",a),setTimeout(function(){c.addClass("is-active")},100),e(window).width()>480){var u=e(this).offset().left,f=u-26;c.css({left:f})}else c.css({left:0,top:"auto",position:"fixed"})}),e(document).on("click",function(t){var n=e(".ms-Facepile-itemBtn--member");n.is(t.target)||0!==n.has(t.target).length||c.is(t.target)||0!==c.has(t.target).length?c.addClass("is-active"):(c.removeClass("is-active"),c.removeAttr("style"))})})}}(jQuery),function(e){e.fn.ListItem=function(){return this.each(function(){var t=e(this);t.on("click",".js-toggleSelection",function(){e(this).parents(".ms-ListItem").toggleClass("is-selected")})})}}(jQuery);var fabric=fabric||{};fabric.MessageBanner=function(e){this.container=e,this.init()},fabric.MessageBanner.prototype=function(){var e,t,n,i,s,a,r,o,c,l=700,d=88,m=35,u=480,f=function(){n=r.offsetWidth,window.innerWidth>=u?h():p()},h=function(){n-t>s&&l>s?(i="auto",a.className="ms-MessageBanner-expand",k()):(i=Math.min(n-t,l)+"px",-1===a.className.indexOf("is-visible")&&(a.className+=" is-visible")),e.style.width=i},p=function(){n-(m+c.offsetWidth)>s?(i="auto",k()):i=n-(m+c.offsetWidth)+"px",e.style.width=i},v=function(n){r=n.container,e=n.container.querySelector(".ms-MessageBanner-clipper"),a=n.container.querySelector(".ms-MessageBanner-expand"),o=n.container.querySelector(".ms-MessageBanner-action"),t=o.offsetWidth+d,c=n.container.querySelector(".ms-MessageBanner-close")},g=function(){var e=a.querySelector(".ms-Icon");r.className+=" is-expanded",e.className="ms-Icon ms-Icon--chevronsUp"},k=function(){var e=a.querySelector(".ms-Icon");r.className="ms-MessageBanner",e.className="ms-Icon ms-Icon--chevronsDown"},y=function(){r.className.indexOf("is-expanded")>-1?k():g()},P=function(){-1===r.className.indexOf("hide")&&(r.className+=" hide",setTimeout(function(){r.className="ms-MessageBanner is-hidden"},500))},C=function(){r.className="ms-MessageBanner"},b=function(){window.addEventListener("resize",f,!1),a.addEventListener("click",y,!1),c.addEventListener("click",P,!1)},x=function(){v(this),b(),n=r.offsetWidth,s=e.offsetWidth,f(null)};return{init:x,showBanner:C}}(),function(e){e.fn.NavBar=function(){return this.each(function(){var t=e(this);t.on("click",".js-openMenu",function(e){e.stopPropagation(),t.toggleClass("is-open")}),t.click(function(){t.hasClass("is-open")&&t.removeClass("is-open")}),t.on("click",".ms-NavBar-item:not(.is-disabled)",function(n){var i=t.find(".ms-NavBar-item.ms-NavBar-item--search .ms-TextField-field");n.stopPropagation(),0===e(this).children(".ms-NavBar-link").length&&n.preventDefault(),e(this).siblings(".ms-NavBar-item").removeClass("is-selected"),i.length>0&&0===i.val().length&&e(".ms-NavBar-item.ms-NavBar-item--search").removeClass("is-open").find(".ms-TextField-field").blur(),e(this).hasClass("ms-NavBar-item--hasMenu")?(e(this).siblings(".ms-NavBar-item--hasMenu").children(".ms-ContextualMenu:first").removeClass("is-open"),e(this).children(".ms-ContextualMenu:first").toggleClass("is-open"),e(this).toggleClass("is-selected")):(e(this).addClass("is-selected"),t.removeClass("is-open").find(".ms-ContextualMenu").removeClass("is-open")),e(this).hasClass("ms-NavBar-item--search")&&(e(this).addClass("is-open"),e(this).find(".ms-TextField-field").focus(),t.find(".ms-ContextualMenu:first").removeClass("is-open"))}),t.on("click",".ms-NavBar-item .ms-ContextualMenu",function(n){n.stopPropagation(),e(this).removeClass("is-open"),t.removeClass("is-open").find(".ms-NavBar-item--hasMenu").removeClass("is-selected")}),e(document).on("click","html",function(){var e=t.find(".ms-NavBar-item.ms-NavBar-item--search .ms-TextField-field");t.find(".ms-NavBar-item").removeClass("is-selected").find(".ms-ContextualMenu").removeClass("is-open"),e.length>0&&0===e.val().length&&t.find(".ms-NavBar-item.ms-NavBar-item--search").removeClass("is-open").find(".ms-TextField-field").blur()})})}}(jQuery),function(e){e.fn.Panel=function(){function t(e,t,i){for(var s=0;s<n.length;s++)n[s]||(t=t.toLowerCase()),e.addEventListener(n[s]+t,i,!1)}var n=["webkit","moz","MS","o",""];return this.each(function(){var n=e(this),i=n.find(".ms-Panel-main");e(".ms-PanelAction-close").on("click",function(){n.addClass("ms-Panel-animateOut")}),e(".ms-PanelAction-open").on("click",function(){n.addClass("is-open"),n.addClass("ms-Panel-animateIn")}),t(i[0],"AnimationEnd",function(e){e.animationName.indexOf("Out")>-1&&(n.removeClass("is-open"),n.removeClass("ms-Panel-animateIn ms-Panel-animateOut"))})})}}(jQuery);var fabric=fabric||{};!function(e){function t(e){var t=e.find(".ms-PeoplePicker-searchBox"),n=t.position().left,i=t.outerWidth(),s=n+i,a=t.find(".ms-PeoplePicker-persona:last"),r=a.offset().left,o=a.outerWidth(),c=r+o,l=s-c-7;100>l&&(l="100%"),e.find(".ms-PeoplePicker-searchField").outerWidth(l)}e.fn.PeoplePicker=function(){return this.each(function(){function n(t){e("html, body").animate({scrollTop:s.offset().top},367),s.hasClass("is-active")&&s.removeClass("is-active"),s.hasClass("ms-PeoplePicker--Facepile")&&""===a.val()&&d.children(":gt(4)").hide(),s.hasClass("ms-PeoplePicker--Facepile")&&(c.addClass("ms-u-slideDownIn20"),setTimeout(function(){r.removeClass("ms-u-slideDownIn20"),c.removeClass("ms-u-slideDownIn20")},1e3)),m=!0,t.stopPropagation(),s.hasClass("ms-PeoplePicker--Facepile")||r.width(s.width()-2),s.addClass("is-active"),e(document).bind("click.peoplepicker",function(){s.removeClass("is-active"),s.hasClass("ms-PeoplePicker--Facepile")&&(s.removeClass("is-searching"),e(".ms-PeoplePicker-selected").show(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),a.val("")),e(document).unbind("click.peoplepicker"),m=!1})}var i,s=e(this),a=s.find(".ms-PeoplePicker-searchField"),r=s.find(".ms-PeoplePicker-results"),o=s.find(".ms-PeoplePicker-selected"),c=s.find(".ms-PeoplePicker-selectedPeople"),l=s.find(".ms-PeoplePicker-selectedCount"),d=s.find(".ms-PeoplePicker-peopleList"),m=!1,u=e(".ms-PeoplePicker").find(".ms-PersonaCard");s.on("focus",".ms-PeoplePicker-searchField",function(e){n(e)}),s.on("click",".ms-PeoplePicker-searchField",function(e){n(e)}),e(this).click(function(e){e.stopPropagation()}),r.on("click",".ms-PeoplePicker-result",function(){var n=e(this),i=n.find(".ms-Persona-primaryText").html(),r=n.find(".ms-Persona-secondaryText").html(),m=function(){for(var e=i.split(" "),t="",n=0;n<e.length;n++)t+=e[n].charAt(0);return t.substring(0,2)}(),u=n.find(".ms-Persona-initials").attr("class"),f=function(){if(n.find(".ms-Persona-image").length){var e=n.find(".ms-Persona-image").attr("src");return'<img class="ms-Persona-image" src="'+e+'" alt="Persona image">'}return""}(),h='<div class="ms-PeoplePicker-persona"><div class="ms-Persona ms-Persona--xs ms-Persona--square"><div class="ms-Persona-imageArea"><div class="'+u+'">'+m+"</div>"+f+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div> </div></div><button class="ms-PeoplePicker-personaRemove"><i class="ms-Icon ms-Icon--x"></i> </button></div>',p='<li class="ms-PeoplePicker-selectedPerson"><div class="ms-Persona ms-Persona--sm"><div class="ms-Persona-imageArea"><div class="'+u+'">'+m+"</div>"+f+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div><div class="ms-Persona-secondaryText">'+r+'</div></div></div><button class="ms-PeoplePicker-resultAction js-selectedRemove"><i class="ms-Icon ms-Icon--x"></i></button></li>';if(s.hasClass("ms-PeoplePicker--Facepile")||s.hasClass("ms-PeoplePicker--membersList")){o.hasClass("is-active")||o.addClass("is-active"),c.prepend(p),s.removeClass("is-active");var v=s.find(".ms-PeoplePicker-selectedPerson").length;l.html(v),d.children().show(),d.children(":gt(4)").hide(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),a.val("")}else a.before(h),s.removeClass("is-active"),t(s)}),s.on("click",".ms-PeoplePicker-personaRemove",function(){e(this).parents(".ms-PeoplePicker-persona").remove(),0===e(".ms-PeoplePicker-persona").length?s.find(".ms-PeoplePicker-searchField").outerWidth("100%"):t(s)}),r.on("click",".js-searchMore",function(){var t=e(this),n=t.find(".ms-PeoplePicker-searchMorePrimary"),r=n.html(),o=a.val();t.addClass("is-searching"),n.html("Searching for "+o),i?i.start():i=new fabric.Spinner(t.get(0)),s.hasClass("ms-PeoplePicker--Facepile")&&setTimeout(function(){d.children().show()},1500),setTimeout(function(){t.removeClass("is-searching"),n.html(r),i.stop()},1500)}),r.on("click",".js-resultRemove",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-result").remove()}),r.on("click",".js-resultExpand",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-result").toggleClass("is-expanded")}),c.on("click",".js-selectedRemove",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-selectedPerson").remove();var n=s.find(".ms-PeoplePicker-selectedPerson").length;l.html(n),0===s.find(".ms-PeoplePicker-selectedPerson").length&&o.removeClass("is-active")});var f=function(t,n,i){return t.find(".ms-Persona-primaryText").filter(function(){return i?e(this).text().toLowerCase()===n:e(this).text().toLowerCase()!==n}).parents(".ms-PeoplePicker-peopleListItem")};s.on("keyup",".ms-PeoplePicker-searchField",function(t){var n=[],i=[],a=r.find(".ms-Persona-primaryText");s.addClass("is-searching"),o.hide(),d.children(":lt(5)").show(),e(".ms-PeoplePicker-searchMore").addClass("is-active"),a.each(function(){n.push(e(this).text())});for(var l=0;l<n.length;l++){var m,u=n[l].toLowerCase(),h=t.target.value.toLowerCase();u.indexOf(h)>-1?(m=n[l].toLowerCase(),i.push(n[l]),f(r,m,!0).show()):f(r,m,!1).hide()}""===e(this).val()&&(s.removeClass("is-searching"),o.show(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),c.addClass("ms-u-slideDownIn20"),setTimeout(function(){c.removeClass("ms-u-slideDownIn20")},1e3),d.children(":gt(4)").hide())}),c.on("click",".ms-Persona",function(){var t=e(this).find(".ms-Persona-primaryText").html(),n=e(this).find(".ms-Persona-secondaryText").html(),i=function(){for(var e=t.split(" "),n="",i=0;i<e.length;i++)n+=e[i].charAt(0);return n.substring(0,2)}(),s=e(this).find(".ms-Persona-initials").attr("class"),a=e(this).find(".ms-Persona-image").attr("src"),r=e(".ms-PersonaCard"),o=r.find(".ms-Persona-primaryText"),c=r.find(".ms-Persona-secondaryText"),l=r.find(".ms-Persona-initials"),d=r.find(".ms-Persona-image");if(u.removeClass("is-active"),o.text(t),c.text(n),l.text(i),l.removeClass(),l.addClass(s),d.attr("src",a),setTimeout(function(){u.addClass("is-active"),setTimeout(function(){u.css({"animation-name":"none"})},300)},100),e(window).width()>480){var m=e(this).offset().top,f=m+10;u.css({top:f,left:0})}else u.css({top:"auto"})}),e(document).on("click",function(t){var n=e(".ms-PeoplePicker-selectedPerson").find(".ms-Persona");n.is(t.target)||u.is(t.target)||0!==u.has(t.target).length?u.addClass("is-active"):(u.removeClass("is-active"),setTimeout(function(){u.removeAttr("style")},300))})})}}(jQuery),function(e){e.fn.PersonaCard=function(){return this.each(function(){var t=e(this);t.on("click",".ms-PersonaCard-action",function(){t.find(".ms-PersonaCard-action").removeClass("is-active"),e(this).addClass("is-active");var n=function(e,t){var n=e.className+"",i=t.charAt(0).toUpperCase()+t.slice(1),s="ms-PersonaCard-detail"+i;n!==s&&(e.classList.remove(n),e.classList.add(s))},i=e(this).attr("id");n(e(this).parent().next().find("#detailList")[0],i);var s=e(this).attr("id");t.find(".ms-PersonaCard-actionDetails").removeClass("is-active"),t.find("#"+s+".ms-PersonaCard-actionDetails").addClass("is-active")}),t.on("click",".ms-PersonaCard-detailExpander",function(){e(this).parent(".ms-PersonaCard-actionDetails").toggleClass("is-collapsed")})})}}(jQuery),function(e){e.fn.Pivot=function(){return this.each(function(){var t=e(this);t.on("click",".ms-Pivot-link",function(t){t.preventDefault();var n=e(this).find(".ms-Pivot-ellipsis");0===n.length&&(e(this).siblings(".ms-Pivot-link").removeClass("is-selected"),e(this).addClass("is-selected"))})})}}(jQuery);var fabric=fabric||{};fabric.ProgressIndicator=function(e){this.container=e,this.cacheDOM()},fabric.ProgressIndicator.prototype=function(){var e,t,n,i,s,a,r=function(e){a.style.width=Math.round(t*e)+"px"},o=function(t){e=t;var n=e/i;this.setProgressPercent(n)},c=function(e){i=e},l=function(e){n.innerHTML=e},d=function(e){s.innerHTML=e},m=function(){n=this.container.querySelector(".ms-ProgressIndicator-itemName")||null,s=this.container.querySelector(".ms-ProgressIndicator-itemDescription")||null,a=this.container.querySelector(".ms-ProgressIndicator-progressBar"),t=this.container.querySelector(".ms-ProgressIndicator-itemProgress").offsetWidth};return{setProgressPercent:r,setName:l,setDescription:d,setProgress:o,setTotal:c,cacheDOM:m}}(),function(e){e.fn.SearchBox=function(){return this.each(function(){var t=!1,n=e(this).find(".ms-SearchBox-field");n.on("focus",function(){e(this).siblings(".ms-SearchBox-label").hide(),e(this).parent(".ms-SearchBox").addClass("is-active")}),n.on("mouseover",function(){n.addClass("hovering")}),n.on("mouseout",function(){n.removeClass("hovering")}),e(this).find(".ms-SearchBox-closeButton").on("mousedown",function(){t=!0}),e(this).find(".ms-SearchBox-field").on("blur",function(){t&&(e(this).val(""),n.addClass("hovering"));var i=e(this).parent(".ms-SearchBox");setTimeout(function(){i.removeClass("is-active")},10),0===e(this).val().length&&e(this).siblings(".ms-SearchBox-label").show(),t=!1})})}}(jQuery);var fabric=fabric||{};fabric.Spinner=function(e){function t(){d=setInterval(function(){for(var e=g.length;e--;)a(g[e])},k)}function n(){clearInterval(d)}function i(){-1===p.className.indexOf("ms-Spinner")?(m=document.createElement("div"),m.className="ms-Spinner",p.appendChild(m)):m=p,f=v,u=8,h=m.className.indexOf("large")>-1?28:20,l(),s(),t()}function s(){var e,t=0,n=1;for(y=1/u,t;u>t;t++){var i=g[t];e=y*n++,o(i.element,e)}}function a(e){var t=r(e.element)-y;0>=t&&(t=1),o(e.element,t)}function r(e){return parseFloat(window.getComputedStyle(e).getPropertyValue("opacity"))}function o(e,t){e.style.opacity=t}function c(){var e=document.createElement("div");return e.className="ms-Spinner-circle",e.style.width=e.style.height=h*f+"px",e}function l(){for(var e,t=0,n=h*f,i=2*Math.PI/u,s=u,a=.5*(h-n);s--;){var r=c(),o=Math.round(10+a*Math.cos(t)-.5*r.clientWidth)-.5*n,l=Math.round(10+a*Math.sin(t)-.5*r.clientHeight)-.5*n;m.appendChild(r),r.style.left=o+"px",r.style.top=l+"px",t+=i,e={element:r,j:s},g.push(e)}}var d,m,u,f,h,p=e,v=.179,g=[],k=90,y=0;return i(),{start:t,stop:n}},function(e){e.fn.TextField=function(){return this.each(function(){e(this).hasClass("ms-TextField--placeholder")&&(e(this).on("click",function(){e(this).find(".ms-Label").hide()}),e(this).find(".ms-TextField-field").on("blur",function(){0===e(this).val().length&&e(this).siblings(".ms-Label").show()})),e(this).hasClass("ms-TextField--underlined")&&(e(this).find(".ms-TextField-field").on("focus",function(){e(this).parent(".ms-TextField--underlined").addClass("is-active")}),e(this).find(".ms-TextField-field").on("blur",function(){e(this).parent(".ms-TextField--underlined").removeClass("is-active")}))})}}(jQuery);
var fabric=fabric||{};fabric.Breadcrumb=function(e){this.container=e,this.init()},fabric.Breadcrumb.prototype=function(){var e,t,n,i,s,a,r=639,o=0,c=[],l=function(){var e,n,i,s,a=t.length,r=0;for(r;a>r;r++)e=t[r].querySelector(".ms-Breadcrumb-itemLink"),n=e.textContent,i=e.getAttribute("href"),s=parseInt(e.getAttribute("tabindex"),10),c.push({text:n,link:i,tabIndex:s})},d=function(){g(null),m()},m=function(){var t=window.innerWidth>r?4:2;t!==o&&(c.length>t?e.className+=" is-overflow":k(e," is-overflow"),f(t),u(t)),o=t},u=function(e){h(n);var t=c.length-e,i=c.slice(0,t);i.forEach(function(e){var t=document.createElement("li");t.className="ms-ContextualMenu-item",isNaN(e.tabIndex)||t.setAttribute("tabindex",e.tabIndex);var i=document.createElement("a");i.className="ms-ContextualMenu-link",i.setAttribute("href",e.link),i.textContent=e.text,t.appendChild(i),n.appendChild(t)})},f=function(e){h(a);var t=c.length-e;if(t>=0)for(t;t<c.length;t++){var n=document.createElement("li"),i=c[t],s=document.createElement("a"),r=document.createElement("i");n.className="ms-Breadcrumb-listItem",s.className="ms-Breadcrumb-itemLink",s.setAttribute("href",i.link),isNaN(i.tabIndex)||s.setAttribute("tabindex",i.tabIndex),s.textContent=i.text,r.className="ms-Breadcrumb-chevron ms-Icon ms-Icon--chevronRight",n.appendChild(s),n.appendChild(r),a.appendChild(n)}},h=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},p=function(e){-1===s.className.indexOf(" is-open")&&(s.className+=" is-open",C(e),i.focus())},v=function(e){13===e.keyCode&&p(e)},g=function(e){e&&e.target===i||k(s," is-open")},k=function(e,t){var n=e.className.indexOf(t);n>-1&&(e.className=e.className.substring(0,n))},y=function(r){e=r.container,a=e.querySelector(".ms-Breadcrumb-list"),t=e.querySelectorAll(".ms-Breadcrumb-listItem"),n=e.querySelector(".ms-ContextualMenu"),i=e.querySelector(".ms-Breadcrumb-overflowButton"),s=e.querySelector(".ms-Breadcrumb-overflowMenu")},P=function(){window.addEventListener("resize",d),i.addEventListener("click",p,!1),i.addEventListener("keypress",v,!1),document.addEventListener("click",g,!1),a.addEventListener("click",C,!1)},C=function(e){e.target.blur()},b=function(){y(this),P(),l(),d(null)};return{init:b}}(),function(e){e.fn.CommandBar=function(){var t=function(e){var t='<li class="ms-ContextualMenu-item"><a class="ms-ContextualMenu-link"" href="#">';return t+=e,t+="</a></li>"},n=function(t,n,i){var s=[];return t.each(function(){var t=e(this),a=t.position().left+t.outerWidth()+n+10-i.position().left;s.push({jquery:t,rightOffset:a})}),s},i=function(e,t,n){for(var i=[],s=0;s<e.length;s++){var a=e[s].jquery,r=e[s].rightOffset;a.hasClass("ms-CommandBarItem-overflow")||(r+n>t?i.push(a):a.removeClass("is-hidden"))}return i},s=function(n,i,s){var a="";if(n.length>0){i.addClass("is-visible"),s.html("");for(var r=0;r<n.length;r++){var o=e(n[r]);o.addClass("is-hidden");var c=o.find(".ms-CommandBarItem-commandText").text();a+=t(c)}s.html(a)}else i.removeClass("is-visible")};return this.each(function(){var t,a,r=e(this),o=r.find(".ms-CommandBar-mainArea"),c=o.find(".ms-CommandBarItem").not(".ms-CommandBarItem-overflow"),l=r.find(".ms-CommandBarItem-overflow"),d=r.find(".ms-CommandBarItem-overflow").outerWidth(),m=r.find(".ms-CommandBar-overflowMenu"),u=r.find(".ms-CommandBarSearch"),f=!1;a=n(c,d,o),t=i(a,o.innerWidth(),d),s(t,l,m),e(window).width()<640&&e(".ms-CommandBarSearch-iconSearchWrapper").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),e(window).resize(function(){var t;e(window).width()<640&&f===!1?(a=n(c,d,o),f=!0,e(".ms-CommandBarSearch-iconSearchWrapper").unbind(),e(".ms-CommandBarSearch-iconSearchWrapper").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")})):e(window).width()>639&&f===!0&&(a=n(c,d,o),f=!1,e(".ms-CommandBarSearch").unbind()),t=i(a,o.innerWidth(),d),s(t,l,m)}),l.click(function(){m.toggleClass("is-open")}),l.focusout(function(){m.removeClass("is-open")}),u.find(".ms-CommandBarSearch-input").click(function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),u.find(".ms-CommandBarSearch-input").on("focus",function(){e(this).closest(".ms-CommandBarSearch").addClass("is-active")}),u.find(".ms-CommandBarSearch-iconClearWrapper").click(function(){var t=e(this).parent().find(".ms-CommandBarSearch-input");t.val(""),t.parent().removeClass("is-active")}),u.parent().find(".ms-CommandBarSearch-input").blur(function(){var t=e(this);t.val(""),t.parent().removeClass("is-active")})})}}(jQuery),function(e){e.fn.ContextualMenu=function(){return this.each(function(){var t=e(this);t.on("click",".ms-ContextualMenu-link:not(.is-disabled)",function(n){n.preventDefault(),t.hasClass("ms-ContextualMenu--multiselect")?e(this).hasClass("is-selected")?e(this).removeClass("is-selected"):e(this).addClass("is-selected"):(e(".ms-ContextualMenu-link").removeClass("is-selected").siblings(".ms-ContextualMenu").removeClass("is-open"),e(this).addClass("is-selected"),e(this).hasClass("ms-ContextualMenu-link--hasMenu")&&(e(this).siblings(".ms-ContextualMenu:first").addClass("is-open"),n.stopPropagation()))})})}}(jQuery),function(e){function t(t){var s=t.find(".ms-DatePicker-monthComponents"),a=t.find(".ms-DatePicker-goToday"),r=t.find(".ms-DatePicker-monthPicker"),o=t.find(".ms-DatePicker-yearPicker"),c=t.find(".ms-DatePicker-wrap"),l=t.find(".ms-TextField-field").pickadate("picker");s.appendTo(c),a.appendTo(c),r.appendTo(c),o.appendTo(c),i(t),s.on("click",".js-prevMonth",function(e){e.preventDefault();var t=l.get("highlight").month-1;n(l,null,t,null)}),s.on("click",".js-nextMonth",function(e){e.preventDefault();var t=l.get("highlight").month+1;n(l,null,t,null)}),r.on("click",".js-prevYear",function(e){e.preventDefault();var t=l.get("highlight").year-1;n(l,t,null,null)}),r.on("click",".js-nextYear",function(e){e.preventDefault();var t=l.get("highlight").year+1;n(l,t,null,null)}),o.on("click",".js-prevDecade",function(e){e.preventDefault();var t=l.get("highlight").year-10;n(l,t,null,null)}),o.on("click",".js-nextDecade",function(e){e.preventDefault();var t=l.get("highlight").year+10;n(l,t,null,null)}),a.click(function(e){e.preventDefault();var n=new Date;l.set("select",[n.getFullYear(),n.getMonth(),n.getDate()]),t.removeClass("is-pickingMonths").removeClass("is-pickingYears")}),r.on("click",".js-changeDate",function(i){i.preventDefault();var s=e(this).attr("data-year"),a=e(this).attr("data-month"),r=e(this).attr("data-day");n(l,s,a,r),t.hasClass("is-pickingMonths")&&t.removeClass("is-pickingMonths")}),o.on("click",".js-changeDate",function(i){i.preventDefault();var s=e(this).attr("data-year"),a=e(this).attr("data-month"),r=e(this).attr("data-day");n(l,s,a,r),t.hasClass("is-pickingYears")&&t.removeClass("is-pickingYears")}),r.on("click",".js-showDayPicker",function(){t.removeClass("is-pickingMonths"),t.removeClass("is-pickingYears")}),s.on("click",".js-showMonthPicker",function(){t.toggleClass("is-pickingMonths")}),r.on("click",".js-showYearPicker",function(){t.toggleClass("is-pickingYears")})}function n(e,t,n,i){null===t&&(t=e.get("highlight").year),null===n&&(n=e.get("highlight").month),null===i&&(i=e.get("highlight").date),e.set("highlight",[t,n,i])}function i(e){var t=e.find(".ms-DatePicker-monthPicker"),n=e.find(".ms-DatePicker-yearPicker"),i=e.find(".ms-TextField-field").pickadate("picker");t.find(".ms-DatePicker-currentYear").text(i.get("view").year),t.find(".ms-DatePicker-monthOption").removeClass("is-highlighted"),t.find('.ms-DatePicker-monthOption[data-month="'+i.get("highlight").month+'"]').addClass("is-highlighted"),n.find(".ms-DatePicker-currentDecade").remove(),n.find(".ms-DatePicker-optionGrid").remove();var s=i.get("highlight").year-11,a=s+" - "+(s+11),r='<div class="ms-DatePicker-currentDecade">'+a+"</div>";r+='<div class="ms-DatePicker-optionGrid">';for(var o=s;s+12>o;o++)r+='<span class="ms-DatePicker-yearOption js-changeDate" data-year="'+o+'">'+o+"</span>";r+="</div>",n.append(r),n.find(".ms-DatePicker-yearOption").removeClass("is-highlighted"),n.find('.ms-DatePicker-yearOption[data-year="'+i.get("highlight").year+'"]').addClass("is-highlighted")}function s(t){e("html, body").animate({scrollTop:t.offset().top},367)}e.fn.DatePicker=function(n){return this.each(function(){var a=e(this),r=a.find(".ms-TextField-field").pickadate(e.extend({weekdaysShort:["S","M","T","W","T","F","S"],today:"",clear:"",close:"",onStart:function(){t(a)},klass:{input:"ms-DatePicker-input",active:"ms-DatePicker-input--active",picker:"ms-DatePicker-picker",opened:"ms-DatePicker-picker--opened",focused:"ms-DatePicker-picker--focused",holder:"ms-DatePicker-holder",frame:"ms-DatePicker-frame",wrap:"ms-DatePicker-wrap",box:"ms-DatePicker-dayPicker",header:"ms-DatePicker-header",month:"ms-DatePicker-month",year:"ms-DatePicker-year",table:"ms-DatePicker-table",weekdays:"ms-DatePicker-weekday",day:"ms-DatePicker-day",disabled:"ms-DatePicker-day--disabled",selected:"ms-DatePicker-day--selected",highlighted:"ms-DatePicker-day--highlighted",now:"ms-DatePicker-day--today",infocus:"ms-DatePicker-day--infocus",outfocus:"ms-DatePicker-day--outfocus"}},n||{})),o=r.pickadate("picker");o.on({render:function(){i(a)},open:function(){s(a)}})})}}(jQuery),!function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):this.Picker=e(jQuery)}(function(e){function t(a,r,o,d){function m(){return t._.node("div",t._.node("div",t._.node("div",t._.node("div",b.component.nodes(g.open),y.box),y.wrap),y.frame),y.holder)}function u(){P.data(r,b).addClass(y.input).val(P.data("value")?b.get("select",k.format):a.value).on("focus."+g.id+" click."+g.id,p),k.editable||P.on("keydown."+g.id,function(e){var t=e.keyCode,n=/^(8|46)$/.test(t);return 27==t?(b.close(),!1):void((32==t||n||!g.open&&b.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?b.clear().close():b.open()))}),s(a,{haspopup:!0,expanded:!1,readonly:!1,owns:a.id+"_root"+(b._hidden?" "+b._hidden.id:"")})}function f(){b.$root.on({focusin:function(e){b.$root.removeClass(y.focused),e.stopPropagation()},"mousedown click":function(t){var n=t.target;n!=b.$root.children()[0]&&(t.stopPropagation(),"mousedown"!=t.type||e(n).is(":input")||"OPTION"==n.nodeName||(t.preventDefault(),a.focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var t=e(this),n=t.data(),i=t.hasClass(y.navDisabled)||t.hasClass(y.disabled),s=document.activeElement;s=s&&(s.type||s.href)&&s,(i||s&&!e.contains(b.$root[0],s))&&a.focus(),!i&&n.nav?b.set("highlight",b.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?b.set("select",n.pick).close(!0):n.clear?b.clear().close(!0):n.close&&b.close(!0)}),s(b.$root[0],"hidden",!0)}function h(){var t;k.hiddenName===!0?(t=a.name,a.name=""):(t=["string"==typeof k.hiddenPrefix?k.hiddenPrefix:"","string"==typeof k.hiddenSuffix?k.hiddenSuffix:"_submit"],t=t[0]+a.name+t[1]),b._hidden=e('<input type=hidden name="'+t+'"'+(P.data("value")||a.value?' value="'+b.get("select",k.formatSubmit)+'"':"")+">")[0],P.on("change."+g.id,function(){b._hidden.value=a.value?b.get("select",k.formatSubmit):""}).after(b._hidden)}function p(e){e.stopPropagation(),"focus"==e.type&&b.$root.addClass(y.focused),b.open()}if(!a)return t;var v=!1,g={id:a.id||"P"+Math.abs(~~(Math.random()*new Date))},k=o?e.extend(!0,{},o.defaults,d):d||{},y=e.extend({},t.klasses(),k.klass),P=e(a),C=function(){return this.start()},b=C.prototype={constructor:C,$node:P,start:function(){return g&&g.start?b:(g.methods={},g.start=!0,g.open=!1,g.type=a.type,a.autofocus=a==document.activeElement,a.readOnly=!k.editable,a.id=a.id||g.id,"text"!=a.type&&(a.type="text"),b.component=new o(b,k),b.$root=e(t._.node("div",m(),y.picker,'id="'+a.id+'_root"')),f(),k.formatSubmit&&h(),u(),k.container?e(k.container).append(b.$root):P.after(b.$root),b.on({start:b.component.onStart,render:b.component.onRender,stop:b.component.onStop,open:b.component.onOpen,close:b.component.onClose,set:b.component.onSet}).on({start:k.onStart,render:k.onRender,stop:k.onStop,open:k.onOpen,close:k.onClose,set:k.onSet}),v=n(b.$root.children()[0]),a.autofocus&&b.open(),b.trigger("start").trigger("render"))},render:function(e){return e?b.$root.html(m()):b.$root.find("."+y.box).html(b.component.nodes(g.open)),b.trigger("render")},stop:function(){return g.start?(b.close(),b._hidden&&b._hidden.parentNode.removeChild(b._hidden),b.$root.remove(),P.removeClass(y.input).removeData(r),setTimeout(function(){P.off("."+g.id)},0),a.type=g.type,a.readOnly=!1,b.trigger("stop"),g.methods={},g.start=!1,b):b},open:function(n){return g.open?b:(P.addClass(y.active),s(a,"expanded",!0),setTimeout(function(){b.$root.addClass(y.opened),s(b.$root[0],"hidden",!1)},0),n!==!1&&(g.open=!0,v&&l.css("overflow","hidden").css("padding-right","+="+i()),P.trigger("focus"),c.on("click."+g.id+" focusin."+g.id,function(e){var t=e.target;t!=a&&t!=document&&3!=e.which&&b.close(t===b.$root.children()[0])}).on("keydown."+g.id,function(n){var i=n.keyCode,s=b.component.key[i],r=n.target;27==i?b.close(!0):r!=a||!s&&13!=i?e.contains(b.$root[0],r)&&13==i&&(n.preventDefault(),r.click()):(n.preventDefault(),s?t._.trigger(b.component.key.go,b,[t._.trigger(s)]):b.$root.find("."+y.highlighted).hasClass(y.disabled)||b.set("select",b.component.item.highlight).close())})),b.trigger("open"))},close:function(e){return e&&(P.off("focus."+g.id).trigger("focus"),setTimeout(function(){P.on("focus."+g.id,p)},0)),P.removeClass(y.active),s(a,"expanded",!1),setTimeout(function(){b.$root.removeClass(y.opened+" "+y.focused),s(b.$root[0],"hidden",!0)},0),g.open?(g.open=!1,v&&l.css("overflow","").css("padding-right","-="+i()),c.off("."+g.id),b.trigger("close")):b},clear:function(e){return b.set("clear",null,e)},set:function(t,n,i){var s,a,r=e.isPlainObject(t),o=r?t:{};if(i=r&&e.isPlainObject(n)?n:i||{},t){r||(o[t]=n);for(s in o)a=o[s],s in b.component.item&&(void 0===a&&(a=null),b.component.set(s,a,i)),("select"==s||"clear"==s)&&P.val("clear"==s?"":b.get(s,k.format)).trigger("change");b.render()}return i.muted?b:b.trigger("set",o)},get:function(e,n){if(e=e||"value",null!=g[e])return g[e];if("value"==e)return a.value;if(e in b.component.item){if("string"==typeof n){var i=b.component.get(e);return i?t._.trigger(b.component.formats.toString,b.component,[n,i]):""}return b.component.get(e)}},on:function(t,n,i){var s,a,r=e.isPlainObject(t),o=r?t:{};if(t){r||(o[t]=n);for(s in o)a=o[s],i&&(s="_"+s),g.methods[s]=g.methods[s]||[],g.methods[s].push(a)}return b},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;namesCount>e;e+=1)t=n[e],t in g.methods&&delete g.methods[t];return b},trigger:function(e,n){var i=function(e){var i=g.methods[e];i&&i.map(function(e){t._.trigger(e,b,[n])})};return i("_"+e),i(e),b}};return new C}function n(e){var t,n="position";return e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),"fixed"==t}function i(){if(l.height()<=o.height())return 0;var t=e('<div style="visibility:hidden;width:100px" />').appendTo("body"),n=t[0].offsetWidth;t.css("overflow","scroll");var i=e('<div style="width:100%" />').appendTo(t),s=i[0].offsetWidth;return t.remove(),n-s}function s(t,n,i){if(e.isPlainObject(n))for(var s in n)a(t,s,n[s]);else a(t,n,i)}function a(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function r(t,n){e.isPlainObject(t)||(t={attribute:n}),n="";for(var i in t){var s=("role"==i?"":"aria-")+i,a=t[i];n+=null==a?"":s+'="'+t[i]+'"'}return n}var o=e(window),c=e(document),l=e(document.documentElement);return t.klasses=function(e){return e=e||"picker",{picker:e,opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},t._={group:function(e){for(var n,i="",s=t._.trigger(e.min,e);s<=t._.trigger(e.max,e,[s]);s+=e.i)n=t._.trigger(e.item,e,[s]),i+=t._.node(e.node,n[0],n[1],n[2]);return i},node:function(t,n,i,s){return n?(n=e.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",s=s?" "+s:"","<"+t+i+s+">"+n+"</"+t+">"):""},lead:function(e){return(10>e?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return{}.toString.call(e).indexOf("Date")>-1&&this.isInteger(e.getUTCDate())},isInteger:function(e){return{}.toString.call(e).indexOf("Number")>-1&&e%1===0},ariaAttr:r},t.extend=function(n,i){e.fn[n]=function(s,a){var r=this.data(n);return"picker"==s?r:r&&"string"==typeof s?t._.trigger(r[s],r,[a]):this.each(function(){var a=e(this);a.data(n)||new t(this,n,i,s)})},e.fn[n].defaults=i.defaults},t}),function(e){"function"==typeof define&&define.amd?define(["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,t){function n(e,t){var n=this,i=e.$node[0],s=i.value,a=e.$node.data("value"),r=a||s,o=a?t.formatSubmit:t.format,c=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(e.$root[0]).direction};n.settings=t,n.$node=e.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(t.disable||[]).slice(0),n.item.enable=-function(e){return e[0]===!0?e.shift():-1}(n.item.disable),n.set("min",t.min).set("max",t.max).set("now"),r?n.set("select",r,{format:o}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(e){var t=n.item.highlight,i=new Date(Date.UTC(t.year,t.month,t.date+e));n.set("highlight",i,{interval:e}),this.render()}},e.on("render",function(){e.$root.find("."+t.klass.selectMonth).on("change",function(){var n=this.value;n&&(e.set("highlight",[e.get("view").year,n,e.get("highlight").date]),e.$root.find("."+t.klass.selectMonth).trigger("focus"))}),e.$root.find("."+t.klass.selectYear).on("change",function(){var n=this.value;n&&(e.set("highlight",[n,e.get("view").month,e.get("highlight").date]),e.$root.find("."+t.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+t.klass.buttonToday+")"),e.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){e.$root.find("button, select").attr("disabled",!0)},1)}var i=7,s=6,a=e._;n.prototype.set=function(e,t,n){var i=this,s=i.item;return null===t?("clear"==e&&(e="select"),s[e]=t,i):(s["enable"==e?"disable":"flip"==e?"enable":e]=i.queue[e].split(" ").map(function(s){return t=i[s](e,t,n)}).pop(),"select"==e?i.set("highlight",s.select,n):"highlight"==e?i.set("view",s.highlight,n):e.match(/^(flip|min|max|disable|enable)$/)&&(s.select&&i.disabled(s.select)&&i.set("select",s.select,n),s.highlight&&i.disabled(s.highlight)&&i.set("highlight",s.highlight,n)),i)},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,n,i){var s,r=this;return n=void 0===n?e:n,n==-1/0||1/0==n?s=n:t.isPlainObject(n)&&a.isInteger(n.pick)?n=n.obj:t.isArray(n)?(n=new Date(Date.UTC(n[0],n[1],n[2])),n=a.isDate(n)?n:r.create().obj):n=a.isInteger(n)?r.normalize(new Date(n),i):a.isDate(n)?r.normalize(n,i):r.now(e,n,i),{year:s||n.getUTCFullYear(),month:s||n.getUTCMonth(),date:s||n.getUTCDate(),day:s||n.getUTCDay(),obj:s||n,pick:s||n.getTime()}},n.prototype.createRange=function(e,n){var i=this,s=function(e){return e===!0||t.isArray(e)||a.isDate(e)?i.create(e):e};return a.isInteger(e)||(e=s(e)),a.isInteger(n)||(n=s(n)),a.isInteger(e)&&t.isPlainObject(n)?e=[n.year,n.month,n.date+e]:a.isInteger(n)&&t.isPlainObject(e)&&(n=[e.year,e.month,e.date+n]),{from:s(e),to:s(n)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setUTCDate(t.getUTCDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,n,i){var s,a,r,o,c=t.isArray(n),l=t.isPlainObject(n),d=this.item.view;if(c||l){for(l?(a=n.year,r=n.month,o=n.date):(a=+n[0],r=+n[1],o=+n[2]),i&&i.nav&&d&&d.month!==r&&(a=d.year,r=d.month),s=new Date(Date.UTC(a,r+(i&&i.nav?i.nav:0),1)),a=s.getUTCFullYear(),r=s.getUTCMonth();new Date(Date.UTC(a,r,o)).getUTCMonth()!==r;)o-=1;n=[a,r,o]}return n},n.prototype.normalize=function(e){return e.setUTCHours(0,0,0,0),e},n.prototype.measure=function(e,t){var n=this;return t?"string"==typeof t?t=n.parse(e,t):a.isInteger(t)&&(t=n.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,i){var s,r,o,c,l=this,d=n,m=i&&i.interval?i.interval:1,u=-1===l.item.enable,f=l.item.min,h=l.item.max,p=u&&l.item.disable.filter(function(e){if(t.isArray(e)){var i=l.create(e).pick;i<n.pick?s=!0:i>n.pick&&(r=!0)}return a.isInteger(e)}).length;if((!i||!i.nav)&&(!u&&l.disabled(n)||u&&l.disabled(n)&&(p||s||r)||!u&&(n.pick<=f.pick||n.pick>=h.pick)))for(u&&!p&&(!r&&m>0||!s&&0>m)&&(m*=-1);l.disabled(n)&&(Math.abs(m)>1&&(n.month<d.month||n.month>d.month)&&(n=d,m=m>0?1:-1),n.pick<=f.pick?(o=!0,m=1,n=l.create([f.year,f.month,f.date+(n.pick===f.pick?0:-1)])):n.pick>=h.pick&&(c=!0,m=-1,n=l.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!o||!c);)n=l.create([n.year,n.month,n.date+m]);return n},n.prototype.disabled=function(e){var n=this,i=n.item.disable.filter(function(i){return a.isInteger(i)?e.day===(n.settings.firstDay?i:i-1)%7:t.isArray(i)||a.isDate(i)?e.pick===n.create(i).pick:t.isPlainObject(i)?n.withinRange(i,e):void 0});return i=i.length&&!i.filter(function(e){return t.isArray(e)&&"inverted"==e[3]||t.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!i:i||e.pick<n.item.min.pick||e.pick>n.item.max.pick},n.prototype.parse=function(e,t,n){var i=this,s={};return t&&"string"==typeof t?(n&&n.format||(n=n||{},n.format=i.settings.format),i.formats.toArray(n.format).map(function(e){var n=i.formats[e],r=n?a.trigger(n,i,[t,s]):e.replace(/^!/,"").length;n&&(s[e]=t.substr(0,r)),t=t.substr(r)}),[s.yyyy||s.yy,+(s.mm||s.m)-1,s.dd||s.d]):t},n.prototype.formats=function(){function e(e,t,n){var i=e.match(/\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function t(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?a.digits(e):t.date},dd:function(e,t){return e?2:a.lead(t.date)},ddd:function(e,n){return e?t(e):this.settings.weekdaysShort[n.day]},dddd:function(e,n){return e?t(e):this.settings.weekdaysFull[n.day]},m:function(e,t){return e?a.digits(e):t.month+1},mm:function(e,t){return e?2:a.lead(t.month+1)},mmm:function(t,n){var i=this.settings.monthsShort;return t?e(t,i,n):i[n.month]},mmmm:function(t,n){var i=this.settings.monthsFull;return t?e(t,i,n):i[n.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return a.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,n){var i=this;return a.isInteger(e)&&a.isInteger(n)||"boolean"==typeof e&&"boolean"==typeof n?e===n:(a.isDate(e)||t.isArray(e))&&(a.isDate(n)||t.isArray(n))?i.create(e).pick===i.create(n).pick:t.isPlainObject(e)&&t.isPlainObject(n)?i.isDateExact(e.from,n.from)&&i.isDateExact(e.to,n.to):!1},n.prototype.isDateOverlap=function(e,n){var i=this,s=i.settings.firstDay?1:0;return a.isInteger(e)&&(a.isDate(n)||t.isArray(n))?(e=e%7+s,e===i.create(n).day+1):a.isInteger(n)&&(a.isDate(e)||t.isArray(e))?(n=n%7+s,n===i.create(e).day+1):t.isPlainObject(e)&&t.isPlainObject(n)?i.overlapRanges(e,n):!1},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,n){var i=this,s=i.item.disable.slice(0);return"flip"==n?i.flipEnable():n===!1?(i.flipEnable(1),s=[]):n===!0?(i.flipEnable(-1),s=[]):n.map(function(e){for(var n,r=0;r<s.length;r+=1)if(i.isDateExact(e,s[r])){n=!0;break}n||(a.isInteger(e)||a.isDate(e)||t.isArray(e)||t.isPlainObject(e)&&e.from&&e.to)&&s.push(e)}),s},n.prototype.activate=function(e,n){var i=this,s=i.item.disable,r=s.length;return"flip"==n?i.flipEnable():n===!0?(i.flipEnable(1),s=[]):n===!1?(i.flipEnable(-1),s=[]):n.map(function(e){var n,o,c,l;for(c=0;r>c;c+=1){if(o=s[c],i.isDateExact(o,e)){n=s[c]=null,l=!0;break}if(i.isDateOverlap(o,e)){t.isPlainObject(e)?(e.inverted=!0,n=e):t.isArray(e)?(n=e,n[3]||n.push("inverted")):a.isDate(e)&&(n=[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),"inverted"]);break}}if(n)for(c=0;r>c;c+=1)if(i.isDateExact(s[c],e)){s[c]=null;break}if(l)for(c=0;r>c;c+=1)if(i.isDateOverlap(s[c],e)){s[c]=null;break}n&&s.push(n)}),s.filter(function(e){return null!=e})},n.prototype.nodes=function(e){var t=this,n=t.settings,r=t.item,o=r.now,c=r.select,l=r.highlight,d=r.view,m=r.disable,u=r.min,f=r.max,h=function(e,t){return n.firstDay&&(e.push(e.shift()),t.push(t.shift())),a.node("thead",a.node("tr",a.group({min:0,max:i-1,i:1,node:"th",item:function(i){return[e[i],n.klass.weekdays,'scope=col title="'+t[i]+'"']}})))}((n.showWeekdaysFull?n.weekdaysFull:n.weekdaysShort).slice(0),n.weekdaysFull.slice(0)),p=function(e){return a.node("div"," ",n.klass["nav"+(e?"Next":"Prev")]+(e&&d.year>=f.year&&d.month>=f.month||!e&&d.year<=u.year&&d.month<=u.month?" "+n.klass.navDisabled:""),"data-nav="+(e||-1)+" "+a.ariaAttr({role:"button",components:t.$node[0].id+"_table"})+' title="'+(e?n.labelMonthNext:n.labelMonthPrev)+'"')},v=function(){var i=n.showMonthsShort?n.monthsShort:n.monthsFull;return n.selectMonths?a.node("select",a.group({min:0,max:11,i:1,node:"option",item:function(e){return[i[e],0,"value="+e+(d.month==e?" selected":"")+(d.year==u.year&&e<u.month||d.year==f.year&&e>f.month?" disabled":"")]}}),n.klass.selectMonth,(e?"":"disabled")+" "+a.ariaAttr({components:t.$node[0].id+"_table"})+' title="'+n.labelMonthSelect+'"'):a.node("div",i[d.month],n.klass.month)},g=function(){var i=d.year,s=n.selectYears===!0?5:~~(n.selectYears/2);if(s){var r=u.year,o=f.year,c=i-s,l=i+s;if(r>c&&(l+=r-c,c=r),l>o){var m=c-r,h=l-o;c-=m>h?h:m,l=o}return a.node("select",a.group({min:c,max:l,i:1,node:"option",item:function(e){return[e,0,"value="+e+(i==e?" selected":"")]}}),n.klass.selectYear,(e?"":"disabled")+" "+a.ariaAttr({components:t.$node[0].id+"_table"})+' title="'+n.labelYearSelect+'"')}return a.node("div",i,n.klass.year)};return a.node("div",(n.selectYears?g()+v():v()+g())+p()+p(1),n.klass.header)+a.node("table",h+a.node("tbody",a.group({min:0,max:s-1,i:1,node:"tr",item:function(e){var s=n.firstDay&&0===t.create([d.year,d.month,1]).day?-7:0;return[a.group({min:i*e-d.day+s+1,max:function(){return this.min+i-1},i:1,node:"td",item:function(e){e=t.create([d.year,d.month,e+(n.firstDay?1:0)]);var i=c&&c.pick==e.pick,s=l&&l.pick==e.pick,r=m&&t.disabled(e)||e.pick<u.pick||e.pick>f.pick;return[a.node("div",e.date,function(t){return t.push(d.month==e.month?n.klass.infocus:n.klass.outfocus),o.pick==e.pick&&t.push(n.klass.now),i&&t.push(n.klass.selected),s&&t.push(n.klass.highlighted),r&&t.push(n.klass.disabled),t.join(" ")}([n.klass.day]),"data-pick="+e.pick+" "+a.ariaAttr({role:"gridcell",selected:i&&t.$node.val()===a.trigger(t.formats.toString,t,[n.format,e])?!0:null,activedescendant:s?!0:null,disabled:r?!0:null})),"",a.ariaAttr({role:"presentation"})]}})]}})),n.klass.table,'id="'+t.$node[0].id+'_table" '+a.ariaAttr({role:"grid",components:t.$node[0].id,readonly:!0}))+a.node("div",a.node("button",n.today,n.klass.buttonToday,"type=button data-pick="+o.pick+(e&&!t.disabled(o)?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id}))+a.node("button",n.clear,n.klass.buttonClear,"type=button data-clear=1"+(e?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id}))+a.node("button",n.close,n.klass.buttonClose,"type=button data-close=true "+(e?"":" disabled")+" "+a.ariaAttr({components:t.$node[0].id})),n.klass.footer)},n.defaults=function(e){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:e+"table",header:e+"header",navPrev:e+"nav--prev",navNext:e+"nav--next",navDisabled:e+"nav--disabled",month:e+"month",year:e+"year",selectMonth:e+"select--month",selectYear:e+"select--year",weekdays:e+"weekday",day:e+"day",disabled:e+"day--disabled",selected:e+"day--selected",highlighted:e+"day--highlighted",now:e+"day--today",infocus:e+"day--infocus",outfocus:e+"day--outfocus",footer:e+"footer",buttonClear:e+"button--clear",buttonToday:e+"button--today",buttonClose:e+"button--close"}}}(e.klasses().picker+"__"),e.extend("pickadate",n)}),function(e){e.fn.Dropdown=function(){return this.each(function(){function t(t){if(!n.hasClass("is-disabled")){n.find(".is-open").removeClass("is-open"),t.stopPropagation();var i=e(this).parents(".ms-Dropdown").width();e(this).next(".ms-Dropdown-items").css("width",i+"px"),n.toggleClass("is-open"),e(".ms-Dropdown").each(function(){e(this)[0]!==n[0]&&e(this).removeClass("is-open")}),e(document).bind("click.dropdown",function(){n.removeClass("is-open"),e(document).unbind("click.dropdown")})}}var n=e(this),i=n.children(".ms-Dropdown-select"),s=i.children("option"),a="",r="",o="";s.each(function(e,t){t.selected&&(a=t.text),r+='<li class="ms-Dropdown-item'+(t.disabled?' is-disabled"':'"')+">"+t.text+"</li>"}),o='<span class="ms-Dropdown-title">'+a+'</span><ul class="ms-Dropdown-items">'+r+"</ul>",n.append(o),n.on("click",".ms-Dropdown-title",function(e){t(e)}),n.on("keyup",function(s){var a=s.keyCode||s.which;if(e(this).hasClass("is-open")){if(e(this).hasClass("is-open")&&(38===a&&e(this).find(".ms-Dropdown-item.is-selected").prev().siblings().size()>0&&e(this).find(".ms-Dropdown-item.is-selected").removeClass("is-selected").prev().addClass("is-selected"),40===a&&e(this).find(".ms-Dropdown-item.is-selected").next().siblings().size()>0&&e(this).find(".ms-Dropdown-item.is-selected").removeClass("is-selected").next().addClass("is-selected"),13===a&&!n.hasClass("is-disabled"))){var r=e(this).find(".ms-Dropdown-item.is-selected").text();e(this).find(".ms-Dropdown-title").html(r),i.find("option").each(function(t,n){n.text===r?e(this).prop("selected",!0):e(this).prop("selected",!1)}),i.change(),e(this).removeClass("is-open")}}else(13===a||38===a||40===a)&&(t(s),e(this).find(".ms-Dropdown-item").hasClass("is-selected")||e(this).find(".ms-Dropdown-item:first").addClass("is-selected"));27===a&&e(this).removeClass("is-open")}),n.on("click",".ms-Dropdown-item",function(){if(!n.hasClass("is-disabled")){e(this).siblings(".ms-Dropdown-item").removeClass("is-selected"),e(this).addClass("is-selected"),e(this).parents().siblings(".ms-Dropdown-title").html(e(this).text());var t=e(this).text();i.find("option").each(function(n,i){i.text===t?e(this).prop("selected",!0):e(this).prop("selected",!1)}),i.change()}})})}}(jQuery),function(e){e.fn.Dialog=function(){return e(".js-DialogAction--open").each(function(){e(this).on("click",function(){var t=e(this).data("target");e(t).show()})}),this.each(function(){var t=this;e(t).hide(),e(t).find(".js-DialogAction--close").each(function(){e(this).on("click",function(){e(t).hide()})}),e(t).find(".ms-Dialog-action").on("click",function(){e(t).hide()})})}}(jQuery),function(e){e.fn.Facepile=function(){return this.each(function(){
e(".ms-PeoplePicker").PeoplePicker(),e(".ms-Panel").Panel();var t=e(this),n=e(".ms-Facepile-members"),i=e(".ms-Facepile-members > .ms-Facepile-itemBtn").length,s=e(".ms-Facepile-panel.ms-Panel"),a=s.find(".ms-Panel-main"),r=e(".ms-PeoplePicker.ms-PeoplePicker--Facepile"),o=r.find(".ms-PeoplePicker-selectedPeople"),c=e(".ms-Facepile").find(".ms-PersonaCard"),l=function(){if(i+=1,e(".ms-Facepile-members").children(":gt(4)").hide(),i>5){e(".ms-Facepile-itemBtn--overflow").addClass("is-active");var t=i-5;e(".ms-Facepile-overflowText").text("+"+t)}};t.on("click",".js-addPerson",function(){a.css({display:"block"}),s.toggleClass("is-open").addClass("ms-Panel-animateIn").removeClass("ms-Facepile-panel--overflow ms-Panel--right").addClass("ms-Facepile-panel--addPerson"),c.removeClass("is-active").hide()}),s.on("click",".js-togglePanel",function(){s.toggleClass("is-open").addClass("ms-Panel-animateIn")}),t.on("click",".js-overflowPanel",function(){a.css({display:"block"}),s.toggleClass("is-open").addClass("ms-Panel-animateIn").removeClass("ms-Facepile-panel--addPerson").addClass("ms-Facepile-panel--overflow ms-Panel--right")}),e(document).ready(function(){e(".ms-Facepile-overflowText").text("+"+i)}),e(".ms-PeoplePicker-result").on("click",function(){var t=e(this),i=t.find(".ms-Persona-primaryText").html(),s=t.find(".ms-Persona-secondaryText").html(),a=function(){for(var e=i.split(" "),t="",n=0;n<e.length;n++)t+=e[n].charAt(0);return t.substring(0,2)}(),r=t.find(".ms-Persona-initials").attr("class"),o=function(){if(t.find(".ms-Persona-image").length){var e=t.find(".ms-Persona-image").attr("src");return'<img class="ms-Persona-image" src="'+e+'" alt="Persona image">'}return""}(),c='<button class="ms-Facepile-itemBtn ms-Facepile-itemBtn--member" title="'+i+'"><div class="ms-Persona ms-Persona--xs"><div class="ms-Persona-imageArea"><div class="'+r+'">'+a+"</div>"+o+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div><div class="ms-Persona-secondaryText">'+s+"</div></div></div></button>";n.prepend(c),l()}),o.on("click",".js-selectedRemove",function(){var t=e(this).parent().find(".ms-Persona-primaryText").text(),s=n.find(".ms-Persona-primaryText:contains("+t+")").first();if(s)if(s.parent().closest(".ms-Facepile-itemBtn").remove(),i-=1,e(".ms-Facepile-members").children(":lt(5)").show(),5>=i)e(".ms-Facepile-itemBtn--overflow").removeClass("is-active");else{var a=i-5;e(".ms-Facepile-overflowText").text("+"+a)}}),n.on("click",".ms-Facepile-itemBtn",function(){var t=e(this).find(".ms-Persona-primaryText").html(),n=e(this).find(".ms-Persona-secondaryText").html(),i=function(){for(var e=t.split(" "),n="",i=0;i<e.length;i++)n+=e[i].charAt(0);return n.substring(0,2)}(),s=e(this).find(".ms-Persona-initials").attr("class"),a=e(this).find(".ms-Persona-image").attr("src"),r=e(".ms-PersonaCard"),o=r.find(".ms-Persona-primaryText"),l=r.find(".ms-Persona-secondaryText"),d=r.find(".ms-Persona-initials"),m=r.find(".ms-Persona-image");if(c.removeClass("is-active"),o.text(t),l.text(n),d.text(i),d.removeClass(),d.addClass(s),m.attr("src",a),setTimeout(function(){c.addClass("is-active")},100),e(window).width()>480){var u=e(this).offset().left,f=u-26;c.css({left:f})}else c.css({left:0,top:"auto",position:"fixed"})}),e(document).on("click",function(t){var n=e(".ms-Facepile-itemBtn--member");n.is(t.target)||0!==n.has(t.target).length||c.is(t.target)||0!==c.has(t.target).length?c.addClass("is-active"):(c.removeClass("is-active"),c.removeAttr("style"))})})}}(jQuery),function(e){e.fn.ListItem=function(){return this.each(function(){var t=e(this);t.on("click",".js-toggleSelection",function(){e(this).parents(".ms-ListItem").toggleClass("is-selected")})})}}(jQuery);var fabric=fabric||{};fabric.MessageBanner=function(e){this.container=e,this.init()},fabric.MessageBanner.prototype=function(){var e,t,n,i,s,a,r,o,c,l=700,d=88,m=35,u=480,f=function(){n=r.offsetWidth,window.innerWidth>=u?h():p()},h=function(){n-t>s&&l>s?(i="auto",a.className="ms-MessageBanner-expand",k()):(i=Math.min(n-t,l)+"px",-1===a.className.indexOf("is-visible")&&(a.className+=" is-visible")),e.style.width=i},p=function(){n-(m+c.offsetWidth)>s?(i="auto",k()):i=n-(m+c.offsetWidth)+"px",e.style.width=i},v=function(n){r=n.container,e=n.container.querySelector(".ms-MessageBanner-clipper"),a=n.container.querySelector(".ms-MessageBanner-expand"),o=n.container.querySelector(".ms-MessageBanner-action"),t=o.offsetWidth+d,c=n.container.querySelector(".ms-MessageBanner-close")},g=function(){var e=a.querySelector(".ms-Icon");r.className+=" is-expanded",e.className="ms-Icon ms-Icon--chevronsUp"},k=function(){var e=a.querySelector(".ms-Icon");r.className="ms-MessageBanner",e.className="ms-Icon ms-Icon--chevronsDown"},y=function(){r.className.indexOf("is-expanded")>-1?k():g()},P=function(){-1===r.className.indexOf("hide")&&(r.className+=" hide",setTimeout(function(){r.className="ms-MessageBanner is-hidden"},500))},C=function(){r.className="ms-MessageBanner"},b=function(){window.addEventListener("resize",f,!1),a.addEventListener("click",y,!1),c.addEventListener("click",P,!1)},x=function(){v(this),b(),n=r.offsetWidth,s=e.offsetWidth,f(null)};return{init:x,showBanner:C}}(),function(e){e.fn.NavBar=function(){return this.each(function(){var t=e(this);t.on("click",".js-openMenu",function(e){e.stopPropagation(),t.toggleClass("is-open")}),t.click(function(){t.hasClass("is-open")&&t.removeClass("is-open")}),t.on("click",".ms-NavBar-item:not(.is-disabled)",function(n){var i=t.find(".ms-NavBar-item.ms-NavBar-item--search .ms-TextField-field");n.stopPropagation(),0===e(this).children(".ms-NavBar-link").length&&n.preventDefault(),e(this).siblings(".ms-NavBar-item").removeClass("is-selected"),i.length>0&&0===i.val().length&&e(".ms-NavBar-item.ms-NavBar-item--search").removeClass("is-open").find(".ms-TextField-field").blur(),e(this).hasClass("ms-NavBar-item--hasMenu")?(e(this).siblings(".ms-NavBar-item--hasMenu").children(".ms-ContextualMenu:first").removeClass("is-open"),e(this).children(".ms-ContextualMenu:first").toggleClass("is-open"),e(this).toggleClass("is-selected")):(e(this).addClass("is-selected"),t.removeClass("is-open").find(".ms-ContextualMenu").removeClass("is-open")),e(this).hasClass("ms-NavBar-item--search")&&(e(this).addClass("is-open"),e(this).find(".ms-TextField-field").focus(),t.find(".ms-ContextualMenu:first").removeClass("is-open"))}),t.on("click",".ms-NavBar-item .ms-ContextualMenu",function(n){n.stopPropagation(),e(this).removeClass("is-open"),t.removeClass("is-open").find(".ms-NavBar-item--hasMenu").removeClass("is-selected")}),e(document).on("click","html",function(){var e=t.find(".ms-NavBar-item.ms-NavBar-item--search .ms-TextField-field");t.find(".ms-NavBar-item").removeClass("is-selected").find(".ms-ContextualMenu").removeClass("is-open"),e.length>0&&0===e.val().length&&t.find(".ms-NavBar-item.ms-NavBar-item--search").removeClass("is-open").find(".ms-TextField-field").blur()})})}}(jQuery),function(e){e.fn.Panel=function(){function t(e,t,i){for(var s=0;s<n.length;s++)n[s]||(t=t.toLowerCase()),e.addEventListener(n[s]+t,i,!1)}var n=["webkit","moz","MS","o",""];return this.each(function(){var n=e(this),i=n.find(".ms-Panel-main");e(".ms-PanelAction-close").on("click",function(){n.addClass("ms-Panel-animateOut")}),e(".ms-PanelAction-open").on("click",function(){n.addClass("is-open"),n.addClass("ms-Panel-animateIn")}),t(i[0],"AnimationEnd",function(e){e.animationName.indexOf("Out")>-1&&(n.removeClass("is-open"),n.removeClass("ms-Panel-animateIn ms-Panel-animateOut"))})})}}(jQuery);var fabric=fabric||{};!function(e){function t(e){var t=e.find(".ms-PeoplePicker-searchBox"),n=t.position().left,i=t.outerWidth(),s=n+i,a=t.find(".ms-PeoplePicker-persona:last"),r=a.offset().left,o=a.outerWidth(),c=r+o,l=s-c-7;100>l&&(l="100%"),e.find(".ms-PeoplePicker-searchField").outerWidth(l)}e.fn.PeoplePicker=function(){return this.each(function(){function n(t){e("html, body").animate({scrollTop:s.offset().top},367),s.hasClass("is-active")&&s.removeClass("is-active"),s.hasClass("ms-PeoplePicker--Facepile")&&""===a.val()&&d.children(":gt(4)").hide(),s.hasClass("ms-PeoplePicker--Facepile")&&(c.addClass("ms-u-slideDownIn20"),setTimeout(function(){r.removeClass("ms-u-slideDownIn20"),c.removeClass("ms-u-slideDownIn20")},1e3)),m=!0,t.stopPropagation(),s.hasClass("ms-PeoplePicker--Facepile")||r.width(s.width()-2),s.addClass("is-active"),e(document).bind("click.peoplepicker",function(){s.removeClass("is-active"),s.hasClass("ms-PeoplePicker--Facepile")&&(s.removeClass("is-searching"),e(".ms-PeoplePicker-selected").show(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),a.val("")),e(document).unbind("click.peoplepicker"),m=!1})}var i,s=e(this),a=s.find(".ms-PeoplePicker-searchField"),r=s.find(".ms-PeoplePicker-results"),o=s.find(".ms-PeoplePicker-selected"),c=s.find(".ms-PeoplePicker-selectedPeople"),l=s.find(".ms-PeoplePicker-selectedCount"),d=s.find(".ms-PeoplePicker-peopleList"),m=!1,u=e(".ms-PeoplePicker").find(".ms-PersonaCard");s.on("focus",".ms-PeoplePicker-searchField",function(e){n(e)}),s.on("click",".ms-PeoplePicker-searchField",function(e){n(e)}),e(this).click(function(e){e.stopPropagation()}),r.on("click",".ms-PeoplePicker-result",function(){var n=e(this),i=n.find(".ms-Persona-primaryText").html(),r=n.find(".ms-Persona-secondaryText").html(),m=function(){for(var e=i.split(" "),t="",n=0;n<e.length;n++)t+=e[n].charAt(0);return t.substring(0,2)}(),u=n.find(".ms-Persona-initials").attr("class"),f=function(){if(n.find(".ms-Persona-image").length){var e=n.find(".ms-Persona-image").attr("src");return'<img class="ms-Persona-image" src="'+e+'" alt="Persona image">'}return""}(),h='<div class="ms-PeoplePicker-persona"><div class="ms-Persona ms-Persona--xs ms-Persona--square"><div class="ms-Persona-imageArea"><div class="'+u+'">'+m+"</div>"+f+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div> </div></div><button class="ms-PeoplePicker-personaRemove"><i class="ms-Icon ms-Icon--x"></i> </button></div>',p='<li class="ms-PeoplePicker-selectedPerson"><div class="ms-Persona ms-Persona--sm"><div class="ms-Persona-imageArea"><div class="'+u+'">'+m+"</div>"+f+'</div><div class="ms-Persona-presence"></div><div class="ms-Persona-details"><div class="ms-Persona-primaryText">'+i+'</div><div class="ms-Persona-secondaryText">'+r+'</div></div></div><button class="ms-PeoplePicker-resultAction js-selectedRemove"><i class="ms-Icon ms-Icon--x"></i></button></li>';if(s.hasClass("ms-PeoplePicker--Facepile")||s.hasClass("ms-PeoplePicker--membersList")){o.hasClass("is-active")||o.addClass("is-active"),c.prepend(p),s.removeClass("is-active");var v=s.find(".ms-PeoplePicker-selectedPerson").length;l.html(v),d.children().show(),d.children(":gt(4)").hide(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),a.val("")}else a.before(h),s.removeClass("is-active"),t(s)}),s.on("click",".ms-PeoplePicker-personaRemove",function(){e(this).parents(".ms-PeoplePicker-persona").remove(),0===e(".ms-PeoplePicker-persona").length?s.find(".ms-PeoplePicker-searchField").outerWidth("100%"):t(s)}),r.on("click",".js-searchMore",function(){var t=e(this),n=t.find(".ms-PeoplePicker-searchMorePrimary"),r=n.html(),o=a.val();t.addClass("is-searching"),n.html("Searching for "+o),i?i.start():i=new fabric.Spinner(t.get(0)),s.hasClass("ms-PeoplePicker--Facepile")&&setTimeout(function(){d.children().show()},1500),setTimeout(function(){t.removeClass("is-searching"),n.html(r),i.stop()},1500)}),r.on("click",".js-resultRemove",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-result").remove()}),r.on("click",".js-resultExpand",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-result").toggleClass("is-expanded")}),c.on("click",".js-selectedRemove",function(t){t.stopPropagation(),e(this).parent(".ms-PeoplePicker-selectedPerson").remove();var n=s.find(".ms-PeoplePicker-selectedPerson").length;l.html(n),0===s.find(".ms-PeoplePicker-selectedPerson").length&&o.removeClass("is-active")});var f=function(t,n,i){return t.find(".ms-Persona-primaryText").filter(function(){return i?e(this).text().toLowerCase()===n:e(this).text().toLowerCase()!==n}).parents(".ms-PeoplePicker-peopleListItem")};s.on("keyup",".ms-PeoplePicker-searchField",function(t){var n=[],i=[],a=r.find(".ms-Persona-primaryText");s.addClass("is-searching"),o.hide(),d.children(":lt(5)").show(),e(".ms-PeoplePicker-searchMore").addClass("is-active"),a.each(function(){n.push(e(this).text())});for(var l=0;l<n.length;l++){var m,u=n[l].toLowerCase(),h=t.target.value.toLowerCase();u.indexOf(h)>-1?(m=n[l].toLowerCase(),i.push(n[l]),f(r,m,!0).show()):f(r,m,!1).hide()}""===e(this).val()&&(s.removeClass("is-searching"),o.show(),e(".ms-PeoplePicker-searchMore").removeClass("is-active"),c.addClass("ms-u-slideDownIn20"),setTimeout(function(){c.removeClass("ms-u-slideDownIn20")},1e3),d.children(":gt(4)").hide())}),c.on("click",".ms-Persona",function(){var t=e(this).find(".ms-Persona-primaryText").html(),n=e(this).find(".ms-Persona-secondaryText").html(),i=function(){for(var e=t.split(" "),n="",i=0;i<e.length;i++)n+=e[i].charAt(0);return n.substring(0,2)}(),s=e(this).find(".ms-Persona-initials").attr("class"),a=e(this).find(".ms-Persona-image").attr("src"),r=e(".ms-PersonaCard"),o=r.find(".ms-Persona-primaryText"),c=r.find(".ms-Persona-secondaryText"),l=r.find(".ms-Persona-initials"),d=r.find(".ms-Persona-image");if(u.removeClass("is-active"),o.text(t),c.text(n),l.text(i),l.removeClass(),l.addClass(s),d.attr("src",a),setTimeout(function(){u.addClass("is-active"),setTimeout(function(){u.css({"animation-name":"none"})},300)},100),e(window).width()>480){var m=e(this).offset().top,f=m+10;u.css({top:f,left:0})}else u.css({top:"auto"})}),e(document).on("click",function(t){var n=e(".ms-PeoplePicker-selectedPerson").find(".ms-Persona");n.is(t.target)||u.is(t.target)||0!==u.has(t.target).length?u.addClass("is-active"):(u.removeClass("is-active"),setTimeout(function(){u.removeAttr("style")},300))})})}}(jQuery),function(e){e.fn.PersonaCard=function(){return this.each(function(){var t=e(this);t.on("click",".ms-PersonaCard-action",function(){t.find(".ms-PersonaCard-action").removeClass("is-active"),e(this).addClass("is-active");var n=function(e,t){var n=e.className+"",i=t.charAt(0).toUpperCase()+t.slice(1),s="ms-PersonaCard-detail"+i;n!==s&&(e.classList.remove(n),e.classList.add(s))},i=e(this).attr("id");n(e(this).parent().next().find("#detailList")[0],i);var s=e(this).attr("id");t.find(".ms-PersonaCard-actionDetails").removeClass("is-active"),t.find("#"+s+".ms-PersonaCard-actionDetails").addClass("is-active")}),t.on("click",".ms-PersonaCard-detailExpander",function(){e(this).parent(".ms-PersonaCard-actionDetails").toggleClass("is-collapsed")})})}}(jQuery),function(e){e.fn.Pivot=function(){return this.each(function(){var t=e(this);t.on("click",".ms-Pivot-link",function(t){t.preventDefault();var n=e(this).find(".ms-Pivot-ellipsis");0===n.length&&(e(this).siblings(".ms-Pivot-link").removeClass("is-selected"),e(this).addClass("is-selected"))})})}}(jQuery);var fabric=fabric||{};fabric.ProgressIndicator=function(e){this.container=e,this.cacheDOM()},fabric.ProgressIndicator.prototype=function(){var e,t,n,i,s,a,r=function(e){a.style.width=Math.round(t*e)+"px"},o=function(t){e=t;var n=e/i;this.setProgressPercent(n)},c=function(e){i=e},l=function(e){n.innerHTML=e},d=function(e){s.innerHTML=e},m=function(){n=this.container.querySelector(".ms-ProgressIndicator-itemName")||null,s=this.container.querySelector(".ms-ProgressIndicator-itemDescription")||null,a=this.container.querySelector(".ms-ProgressIndicator-progressBar"),t=this.container.querySelector(".ms-ProgressIndicator-itemProgress").offsetWidth};return{setProgressPercent:r,setName:l,setDescription:d,setProgress:o,setTotal:c,cacheDOM:m}}(),function(e){e.fn.SearchBox=function(){return this.each(function(){var t=!1,n=e(this).find(".ms-SearchBox-field");n.on("focus",function(){e(this).siblings(".ms-SearchBox-label").hide(),e(this).parent(".ms-SearchBox").addClass("is-active")}),n.on("mouseover",function(){n.addClass("hovering")}),n.on("mouseout",function(){n.removeClass("hovering")}),e(this).find(".ms-SearchBox-closeButton").on("mousedown",function(){t=!0}),e(this).find(".ms-SearchBox-field").on("blur",function(){t&&(e(this).val(""),n.addClass("hovering"));var i=e(this).parent(".ms-SearchBox");setTimeout(function(){i.removeClass("is-active")},10),0===e(this).val().length&&e(this).siblings(".ms-SearchBox-label").show(),t=!1})})}}(jQuery);var fabric=fabric||{};fabric.Spinner=function(e){function t(){d=setInterval(function(){for(var e=g.length;e--;)a(g[e])},k)}function n(){clearInterval(d)}function i(){-1===p.className.indexOf("ms-Spinner")?(m=document.createElement("div"),m.className="ms-Spinner",p.appendChild(m)):m=p,f=v,u=8,h=m.className.indexOf("large")>-1?28:20,l(),s(),t()}function s(){var e,t=0,n=1;for(y=1/u,t;u>t;t++){var i=g[t];e=y*n++,o(i.element,e)}}function a(e){var t=r(e.element)-y;0>=t&&(t=1),o(e.element,t)}function r(e){return parseFloat(window.getComputedStyle(e).getPropertyValue("opacity"))}function o(e,t){e.style.opacity=t}function c(){var e=document.createElement("div");return e.className="ms-Spinner-circle",e.style.width=e.style.height=h*f+"px",e}function l(){for(var e,t=0,n=h*f,i=2*Math.PI/u,s=u,a=.5*(h-n);s--;){var r=c(),o=Math.round(.5*h+a*Math.cos(t)-.5*r.clientWidth)-.5*n,l=Math.round(.5*h+a*Math.sin(t)-.5*r.clientHeight)-.5*n;m.appendChild(r),r.style.left=o+"px",r.style.top=l+"px",t+=i,e={element:r,j:s},g.push(e)}}var d,m,u,f,h,p=e,v=.179,g=[],k=90,y=0;return i(),{start:t,stop:n}},function(e){e.fn.TextField=function(){return this.each(function(){e(this).hasClass("ms-TextField--placeholder")&&(e(this).on("click",function(){e(this).find(".ms-Label").hide()}),e(this).find(".ms-TextField-field").on("blur",function(){0===e(this).val().length&&e(this).siblings(".ms-Label").show()})),e(this).hasClass("ms-TextField--underlined")&&(e(this).find(".ms-TextField-field").on("focus",function(){e(this).parent(".ms-TextField--underlined").addClass("is-active")}),e(this).find(".ms-TextField-field").on("blur",function(){e(this).parent(".ms-TextField--underlined").removeClass("is-active")}))})}}(jQuery);

@@ -122,4 +122,4 @@ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

var circle = _createCircle();
var x = Math.round(20 * 0.5 + radius * Math.cos(angle) - circle.clientWidth * 0.5) - offset * 0.5;
var y = Math.round(20 * 0.5 + radius * Math.sin(angle) - circle.clientHeight * 0.5) - offset * 0.5;
var x = Math.round(parentSize * 0.5 + radius * Math.cos(angle) - circle.clientWidth * 0.5) - offset * 0.5;
var y = Math.round(parentSize * 0.5 + radius * Math.sin(angle) - circle.clientHeight * 0.5) - offset * 0.5;
spinner.appendChild(circle);

@@ -126,0 +126,0 @@ circle.style.left = x + 'px';

{
"name": "office-ui-fabric",
"author": "Office UI Fabric Team",
"version": "2.0.1",
"version": "2.1.0",
"description": "The front-end framework for building experiences for Office 365.",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -16,2 +16,5 @@ {

],
"dependencies": [
"List"
],
"branches": [

@@ -18,0 +21,0 @@ {

@@ -122,4 +122,4 @@ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

var circle = _createCircle();
var x = Math.round(20 * 0.5 + radius * Math.cos(angle) - circle.clientWidth * 0.5) - offset * 0.5;
var y = Math.round(20 * 0.5 + radius * Math.sin(angle) - circle.clientHeight * 0.5) - offset * 0.5;
var x = Math.round(parentSize * 0.5 + radius * Math.cos(angle) - circle.clientWidth * 0.5) - offset * 0.5;
var y = Math.round(parentSize * 0.5 + radius * Math.sin(angle) - circle.clientHeight * 0.5) - offset * 0.5;
spinner.appendChild(circle);

@@ -126,0 +126,0 @@ circle.style.left = x + 'px';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc