From a98ce95cd7471d453ba35404483ff2889034a212 Mon Sep 17 00:00:00 2001 From: Luke Longley Date: Tue, 14 Mar 2017 18:23:14 -0700 Subject: [PATCH] Update for WinJS 4.4.3 --- README.md | 8 +- css/ui-dark.css | 11 +- css/ui-dark.min.css | 2 +- css/ui-light.css | 11 +- css/ui-light.min.css | 2 +- js/base.js | 46 ++-- js/base.min.js | 22 +- js/base.min.js.map | 2 +- js/en-US/ui.strings.js | 6 +- js/ui.js | 477 ++++++++++++++++++++++++++++++++++------- js/ui.min.js | 50 ++--- js/ui.min.js.map | 2 +- 12 files changed, 488 insertions(+), 151 deletions(-) diff --git a/README.md b/README.md index aec5a94..bed25e8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ Windows Library for JavaScript (WinJS) ===== + +[![Join the chat at https://gitter.im/winjs/winjs](https://badges.gitter.im/winjs/winjs.svg)](https://gitter.im/winjs/winjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/winjs/winjs.svg?branch=master)](https://travis-ci.org/winjs/winjs) - -This project is actively developed by the WinJS developers working for Microsoft Corporation, in collaboration with the community of open source developers. Together we are dedicated to creating the best possible solution for HTML/JS/CSS application development. +# Status +Right now, Microsoft plans to maintain WinJS's existing features--this means responding to Issues and Pull Requests on a regular basis. We're committed to making sure that WinJS continues to run well. At this time, we don't have plans to invest in new features or feature requests; this also means that we're not planning a new feature release. + +# Intro WinJS is a set of JavaScript toolkits that allow developers to build applications using HTML/JS/CSS technology forged with the following principles in mind: * Provide developers with a distinctive set of UI controls with high polish and performance with fundamental support for touch, mouse, keyboard and accessibility diff --git a/css/ui-dark.css b/css/ui-dark.css index 0738888..7fd2e38 100644 --- a/css/ui-dark.css +++ b/css/ui-dark.css @@ -733,7 +733,7 @@ iframe { .win-textbox, .win-link, .win-textarea { - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; } .win-textbox, .win-textarea { @@ -2693,7 +2693,7 @@ button.win-navigation-backbutton:enabled:hover:active { border-color: transparent; color: ButtonFace; } - html.win-hoverable win-semanticzoom-button:hover { + html.win-hoverable .win-semanticzoom-button:hover { background-color: Highlight; border-color: ButtonText; color: HighlightText; @@ -2744,7 +2744,7 @@ button.win-navigation-backbutton:enabled:hover:active { -ms-flex: 0 0 auto; -webkit-flex: 0 0 auto; flex: 0 0 auto; - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; font-size: 15px; font-weight: bold; white-space: nowrap; @@ -3283,7 +3283,7 @@ button[aria-checked=true]:disabled:active .win-commandimage { Command button labels. */ button.win-command .win-label { - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; font-size: 12px; font-weight: 400; line-height: 1.167; @@ -5373,6 +5373,9 @@ Hide clear button in search box control. left: 0; width: 100%; } +.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft { + position: static; +} .win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper { position: absolute; top: 0; diff --git a/css/ui-dark.min.css b/css/ui-dark.min.css index 3b725cf..30c68c8 100644 --- a/css/ui-dark.min.css +++ b/css/ui-dark.min.css @@ -1 +1 @@ -.win-button,.win-slider{-webkit-appearance:none}.win-button,.win-link{touch-action:manipulation}@keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@keyframes WinJS-opacity-in{from{opacity:0}to{opacity:1}}@keyframes WinJS-opacity-out{from{opacity:1}to{opacity:0}}@keyframes WinJS-scale-up{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes WinJS-scale-down{from{transform:scale(1)}to{transform:scale(.85)}}@keyframes WinJS-default-remove{from{transform:translateX(11px)}to{transform:none}}@keyframes WinJS-default-remove-rtl{from{transform:translateX(-11px)}to{transform:none}}@keyframes WinJS-default-apply{from{transform:none}to{transform:translateX(11px)}}@keyframes WinJS-default-apply-rtl{from{transform:none}to{transform:translateX(-11px)}}@keyframes WinJS-showEdgeUI{from{transform:translateY(-70px)}to{transform:none}}@keyframes WinJS-showPanel{from{transform:translateX(364px)}to{transform:none}}@keyframes WinJS-showPanel-rtl{from{transform:translateX(-364px)}to{transform:none}}@keyframes WinJS-hideEdgeUI{from{transform:none}to{transform:translateY(-70px)}}@keyframes WinJS-hidePanel{from{transform:none}to{transform:translateX(364px)}}@keyframes WinJS-hidePanel-rtl{from{transform:none}to{transform:translateX(-364px)}}@keyframes WinJS-showPopup{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-dragSourceEnd{from{transform:translateX(11px) scale(1.05)}to{transform:none}}@keyframes WinJS-dragSourceEnd-rtl{from{transform:translateX(-11px) scale(1.05)}to{transform:none}}@keyframes WinJS-enterContent{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-exit{from,to{transform:none}}@keyframes WinJS-enterPage{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-updateBadge{from{transform:translateY(24px)}to{transform:none}}@-webkit-keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@-webkit-keyframes -webkit-WinJS-opacity-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes -webkit-WinJS-opacity-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes -webkit-WinJS-scale-up{from{-webkit-transform:scale(.85)}to{-webkit-transform:scale(1)}}@-webkit-keyframes -webkit-WinJS-scale-down{from{-webkit-transform:scale(1)}to{-webkit-transform:scale(.85)}}@-webkit-keyframes -webkit-WinJS-default-remove{from{-webkit-transform:translateX(11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-remove-rtl{from{-webkit-transform:translateX(-11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-apply{from{-webkit-transform:none}to{-webkit-transform:translateX(11px)}}@-webkit-keyframes -webkit-WinJS-default-apply-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-11px)}}@-webkit-keyframes -webkit-WinJS-showEdgeUI{from{-webkit-transform:translateY(-70px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel{from{-webkit-transform:translateX(364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel-rtl{from{-webkit-transform:translateX(-364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-hideEdgeUI{from{-webkit-transform:none}to{-webkit-transform:translateY(-70px)}}@-webkit-keyframes -webkit-WinJS-hidePanel{from{-webkit-transform:none}to{-webkit-transform:translateX(364px)}}@-webkit-keyframes -webkit-WinJS-hidePanel-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-364px)}}@-webkit-keyframes -webkit-WinJS-showPopup{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd{from{-webkit-transform:translateX(11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd-rtl{from{-webkit-transform:translateX(-11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterContent{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-exit{from,to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterPage{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-updateBadge{from{-webkit-transform:translateY(24px)}to{-webkit-transform:none}}@font-face{font-family:"Segoe UI Command";src:local("Segoe MDL2 Assets");font-weight:400;font-style:normal}@font-face{font-family:Symbols;src:url(../fonts/Symbols.ttf)}.win-h1,.win-type-header{font-size:46px;font-weight:200;line-height:1.216;letter-spacing:0}.win-h2,.win-type-subheader{font-size:34px;font-weight:200;line-height:1.176}.win-h3,.win-type-title{font-size:24px;font-weight:300;line-height:1.167}.win-h4,.win-type-subtitle{font-size:20px;font-weight:400;line-height:1.2}.win-h6,.win-type-body{font-size:15px;font-weight:400;line-height:1.333}.win-h5,.win-type-base{font-size:15px;font-weight:500;line-height:1.333}.win-type-caption{font-size:12px;font-weight:400;line-height:1.167}@font-face{font-family:"Segoe UI";font-weight:200;src:local("Segoe UI Light")}@font-face{font-family:"Segoe UI";font-weight:300;src:local("Segoe UI Semilight")}@font-face{font-family:"Segoe UI";font-weight:400;src:local("Segoe UI")}@font-face{font-family:"Segoe UI";font-weight:500;src:local("Segoe UI Semibold")}@font-face{font-family:"Segoe UI";font-weight:600;src:local("Segoe UI Bold")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:400;src:local("Segoe UI Italic")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:700;src:local("Segoe UI Bold Italic")}@font-face{font-family:"Microsoft Yahei UI";font-weight:200;src:local("Microsoft Yahei UI Light")}@font-face{font-family:"Microsoft Yahei UI";font-weight:300;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:500;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:600;src:local("Microsoft Yahei UI Bold")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:200;src:local("Microsoft JhengHei UI Light")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:300;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:500;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:600;src:local("Microsoft JhengHei UI Bold")}.win-button:-ms-lang(am,ti),.win-dropdown:-ms-lang(am,ti),.win-h1:-ms-lang(am,ti),.win-h2:-ms-lang(am,ti),.win-h3:-ms-lang(am,ti),.win-h4:-ms-lang(am,ti),.win-h5:-ms-lang(am,ti),.win-h6:-ms-lang(am,ti),.win-link:-ms-lang(am,ti),.win-textarea:-ms-lang(am,ti),.win-textbox:-ms-lang(am,ti),.win-type-base:-ms-lang(am,ti),.win-type-body:-ms-lang(am,ti),.win-type-caption:-ms-lang(am,ti),.win-type-header:-ms-lang(am,ti),.win-type-subheader:-ms-lang(am,ti),.win-type-subtitle:-ms-lang(am,ti),.win-type-title:-ms-lang(am,ti){font-family:Ebrima,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-dropdown:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h1:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h2:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h3:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h4:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h5:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h6:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-link:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textarea:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textbox:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-base:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-body:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-caption:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-header:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subheader:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subtitle:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-title:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te){font-family:"Nirmala UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(chr-CHER-US),.win-dropdown:-ms-lang(chr-CHER-US),.win-h1:-ms-lang(chr-CHER-US),.win-h2:-ms-lang(chr-CHER-US),.win-h3:-ms-lang(chr-CHER-US),.win-h4:-ms-lang(chr-CHER-US),.win-h5:-ms-lang(chr-CHER-US),.win-h6:-ms-lang(chr-CHER-US),.win-link:-ms-lang(chr-CHER-US),.win-textarea:-ms-lang(chr-CHER-US),.win-textbox:-ms-lang(chr-CHER-US),.win-type-base:-ms-lang(chr-CHER-US),.win-type-body:-ms-lang(chr-CHER-US),.win-type-caption:-ms-lang(chr-CHER-US),.win-type-header:-ms-lang(chr-CHER-US),.win-type-subheader:-ms-lang(chr-CHER-US),.win-type-subtitle:-ms-lang(chr-CHER-US),.win-type-title:-ms-lang(chr-CHER-US){font-family:Gadugi,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ja),.win-dropdown:-ms-lang(ja),.win-h1:-ms-lang(ja),.win-h2:-ms-lang(ja),.win-h3:-ms-lang(ja),.win-h4:-ms-lang(ja),.win-h5:-ms-lang(ja),.win-h6:-ms-lang(ja),.win-link:-ms-lang(ja),.win-textarea:-ms-lang(ja),.win-textbox:-ms-lang(ja),.win-type-base:-ms-lang(ja),.win-type-body:-ms-lang(ja),.win-type-caption:-ms-lang(ja),.win-type-header:-ms-lang(ja),.win-type-subheader:-ms-lang(ja),.win-type-subtitle:-ms-lang(ja),.win-type-title:-ms-lang(ja){font-family:"Yu Gothic UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(km,lo,th,bug-Bugi),.win-dropdown:-ms-lang(km,lo,th,bug-Bugi),.win-h1:-ms-lang(km,lo,th,bug-Bugi),.win-h2:-ms-lang(km,lo,th,bug-Bugi),.win-h3:-ms-lang(km,lo,th,bug-Bugi),.win-h4:-ms-lang(km,lo,th,bug-Bugi),.win-h5:-ms-lang(km,lo,th,bug-Bugi),.win-h6:-ms-lang(km,lo,th,bug-Bugi),.win-link:-ms-lang(km,lo,th,bug-Bugi),.win-textarea:-ms-lang(km,lo,th,bug-Bugi),.win-textbox:-ms-lang(km,lo,th,bug-Bugi),.win-type-base:-ms-lang(km,lo,th,bug-Bugi),.win-type-body:-ms-lang(km,lo,th,bug-Bugi),.win-type-caption:-ms-lang(km,lo,th,bug-Bugi),.win-type-header:-ms-lang(km,lo,th,bug-Bugi),.win-type-subheader:-ms-lang(km,lo,th,bug-Bugi),.win-type-subtitle:-ms-lang(km,lo,th,bug-Bugi),.win-type-title:-ms-lang(km,lo,th,bug-Bugi){font-family:"Leelawadee UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ko),.win-dropdown:-ms-lang(ko),.win-h1:-ms-lang(ko),.win-h2:-ms-lang(ko),.win-h3:-ms-lang(ko),.win-h4:-ms-lang(ko),.win-h5:-ms-lang(ko),.win-h6:-ms-lang(ko),.win-link:-ms-lang(ko),.win-textarea:-ms-lang(ko),.win-textbox:-ms-lang(ko),.win-type-base:-ms-lang(ko),.win-type-body:-ms-lang(ko),.win-type-caption:-ms-lang(ko),.win-type-header:-ms-lang(ko),.win-type-subheader:-ms-lang(ko),.win-type-subtitle:-ms-lang(ko),.win-type-title:-ms-lang(ko){font-family:"Malgun Gothic",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(jv-Java),.win-dropdown:-ms-lang(jv-Java),.win-h1:-ms-lang(jv-Java),.win-h2:-ms-lang(jv-Java),.win-h3:-ms-lang(jv-Java),.win-h4:-ms-lang(jv-Java),.win-h5:-ms-lang(jv-Java),.win-h6:-ms-lang(jv-Java),.win-link:-ms-lang(jv-Java),.win-textarea:-ms-lang(jv-Java),.win-textbox:-ms-lang(jv-Java),.win-type-base:-ms-lang(jv-Java),.win-type-body:-ms-lang(jv-Java),.win-type-caption:-ms-lang(jv-Java),.win-type-header:-ms-lang(jv-Java),.win-type-subheader:-ms-lang(jv-Java),.win-type-subtitle:-ms-lang(jv-Java),.win-type-title:-ms-lang(jv-Java){font-family:"Javanese Text",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(cop-Copt),.win-dropdown:-ms-lang(cop-Copt),.win-h1:-ms-lang(cop-Copt),.win-h2:-ms-lang(cop-Copt),.win-h3:-ms-lang(cop-Copt),.win-h4:-ms-lang(cop-Copt),.win-h5:-ms-lang(cop-Copt),.win-h6:-ms-lang(cop-Copt),.win-link:-ms-lang(cop-Copt),.win-textarea:-ms-lang(cop-Copt),.win-textbox:-ms-lang(cop-Copt),.win-type-base:-ms-lang(cop-Copt),.win-type-body:-ms-lang(cop-Copt),.win-type-caption:-ms-lang(cop-Copt),.win-type-header:-ms-lang(cop-Copt),.win-type-subheader:-ms-lang(cop-Copt),.win-type-subtitle:-ms-lang(cop-Copt),.win-type-title:-ms-lang(cop-Copt){font-family:"Segoe MDL2 Assets",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-dropdown:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h1:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h2:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h3:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h4:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h5:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h6:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-link:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textarea:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textbox:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-base:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-body:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-caption:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-header:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subheader:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subtitle:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-title:-ms-lang(zh-CN,zh-Hans,zh-SG){font-family:"Microsoft YaHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-dropdown:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h1:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h2:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h3:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h4:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h5:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h6:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-link:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textarea:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textbox:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-base:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-body:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-caption:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-header:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subheader:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subtitle:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-title:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO){font-family:"Microsoft JhengHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}body,html{width:100%;height:100%;margin:0;cursor:default;-webkit-touch-callout:none;-ms-scroll-translation:vertical-to-horizontal;-webkit-tap-highlight-color:transparent}html{overflow:hidden;direction:ltr}.win-toggleswitch:lang(ar),.win-toggleswitch:lang(dv),.win-toggleswitch:lang(fa),.win-toggleswitch:lang(he),.win-toggleswitch:lang(ku-Arab),.win-toggleswitch:lang(pa-Arab),.win-toggleswitch:lang(prs),.win-toggleswitch:lang(ps),.win-toggleswitch:lang(qps-plocm),.win-toggleswitch:lang(sd-Arab),.win-toggleswitch:lang(syr),.win-toggleswitch:lang(ug),.win-toggleswitch:lang(ur),html:lang(ar),html:lang(dv),html:lang(fa),html:lang(he),html:lang(ku-Arab),html:lang(pa-Arab),html:lang(prs),html:lang(ps),html:lang(qps-plocm),html:lang(sd-Arab),html:lang(syr),html:lang(ug),html:lang(ur){direction:rtl}body{-ms-content-zooming:none}iframe{border:0}.win-button,.win-textarea,.win-textbox{border-style:solid;border-width:2px;background-clip:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-button,.win-dropdown,.win-h1,.win-h2,.win-h3,.win-h4,.win-h5,.win-h6,.win-link,.win-textarea,.win-textbox,.win-type-base,.win-type-body,.win-type-caption,.win-type-header,.win-type-subheader,.win-type-subtitle,.win-type-title{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols}.win-textarea,.win-textbox{-ms-user-select:element;margin:8px 0;width:296px;min-width:64px;min-height:28px;box-sizing:border-box;padding:3px 6px 5px 10px;outline:0}.win-textbox::-ms-value{margin:0;padding:0}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{padding-right:2px;width:30px;height:32px;margin:-8px -8px -8px 2px}.win-textbox:lang(ar)::-ms-clear,.win-textbox:lang(ar)::-ms-reveal,.win-textbox:lang(dv)::-ms-clear,.win-textbox:lang(dv)::-ms-reveal,.win-textbox:lang(fa)::-ms-clear,.win-textbox:lang(fa)::-ms-reveal,.win-textbox:lang(he)::-ms-clear,.win-textbox:lang(he)::-ms-reveal,.win-textbox:lang(ku-Arab)::-ms-clear,.win-textbox:lang(ku-Arab)::-ms-reveal,.win-textbox:lang(pa-Arab)::-ms-clear,.win-textbox:lang(pa-Arab)::-ms-reveal,.win-textbox:lang(prs)::-ms-clear,.win-textbox:lang(prs)::-ms-reveal,.win-textbox:lang(ps)::-ms-clear,.win-textbox:lang(ps)::-ms-reveal,.win-textbox:lang(qps-plocm)::-ms-clear,.win-textbox:lang(qps-plocm)::-ms-reveal,.win-textbox:lang(sd-Arab)::-ms-clear,.win-textbox:lang(sd-Arab)::-ms-reveal,.win-textbox:lang(syr)::-ms-clear,.win-textbox:lang(syr)::-ms-reveal,.win-textbox:lang(ug)::-ms-clear,.win-textbox:lang(ug)::-ms-reveal,.win-textbox:lang(ur)::-ms-clear,.win-textbox:lang(ur)::-ms-reveal{margin-left:-8px;margin-right:2px}.win-textarea{resize:none;overflow-y:auto}.win-checkbox,.win-radio{width:20px;height:20px;margin-right:8px;margin-top:12px;margin-bottom:12px}.win-checkbox:lang(ar),.win-checkbox:lang(dv),.win-checkbox:lang(fa),.win-checkbox:lang(he),.win-checkbox:lang(ku-Arab),.win-checkbox:lang(pa-Arab),.win-checkbox:lang(prs),.win-checkbox:lang(ps),.win-checkbox:lang(qps-plocm),.win-checkbox:lang(sd-Arab),.win-checkbox:lang(syr),.win-checkbox:lang(ug),.win-checkbox:lang(ur),.win-radio:lang(ar),.win-radio:lang(dv),.win-radio:lang(fa),.win-radio:lang(he),.win-radio:lang(ku-Arab),.win-radio:lang(pa-Arab),.win-radio:lang(prs),.win-radio:lang(ps),.win-radio:lang(qps-plocm),.win-radio:lang(sd-Arab),.win-radio:lang(syr),.win-radio:lang(ug),.win-radio:lang(ur){margin-left:8px;margin-right:0}.win-checkbox::-ms-check,.win-radio::-ms-check{border-style:solid;display:inline-block;border-width:2px;background-clip:border-box}.win-button{margin:0;min-height:32px;min-width:120px;padding:4px 8px}.win-button.win-button-file{border:none;min-width:100px;min-height:20px;width:340px;height:32px;padding:0;margin:7px 8px 21px;background-clip:padding-box}.win-button.win-button-file::-ms-value{margin:0;border-width:2px;border-style:solid none solid solid;border-radius:0;background-clip:border-box;font-size:15px;font-weight:400;line-height:1.333}.win-button.win-button-file:lang(ar)::-ms-value,.win-button.win-button-file:lang(dv)::-ms-value,.win-button.win-button-file:lang(fa)::-ms-value,.win-button.win-button-file:lang(he)::-ms-value,.win-button.win-button-file:lang(ku-Arab)::-ms-value,.win-button.win-button-file:lang(pa-Arab)::-ms-value,.win-button.win-button-file:lang(prs)::-ms-value,.win-button.win-button-file:lang(ps)::-ms-value,.win-button.win-button-file:lang(qps-plocm)::-ms-value,.win-button.win-button-file:lang(sd-Arab)::-ms-value,.win-button.win-button-file:lang(syr)::-ms-value,.win-button.win-button-file:lang(ug)::-ms-value,.win-button.win-button-file:lang(ur)::-ms-value{border-left-style:none;border-right-style:solid}.win-button.win-button-file::-ms-browse{margin:0;padding:0 18px;border-width:2px;border-style:solid;background-clip:padding-box;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown{min-width:56px;max-width:368px;min-height:32px;margin:8px 0;border-style:solid;border-width:2px;background-clip:border-box;background-image:none;box-sizing:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown::-ms-value{padding:5px 12px 7px;margin:0}.win-dropdown::-ms-expand{border:none;margin-right:5px;margin-left:3px;margin-bottom:-2px;font-size:20px}.win-code,.win-dropdown option{font-size:15px;font-weight:400;line-height:1.333}select[multiple].win-dropdown{padding:0 0 0 12px;vertical-align:bottom}.win-progress-bar,.win-progress-ring,.win-ring{width:180px;height:4px;-webkit-appearance:none}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){border-style:none}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{border-style:none}.win-progress-bar.win-medium,.win-progress-ring.win-medium,.win-ring.win-medium{width:296px}.win-progress-bar.win-large,.win-progress-ring.win-large,.win-ring.win-large{width:100%}.win-progress-bar:indeterminate::-webkit-progress-value,.win-progress-ring:indeterminate::-webkit-progress-value,.win-ring:indeterminate::-webkit-progress-value{position:relative;-webkit-animation:win-progress-indeterminate 3s linear infinite}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:win-progress-fade-out;animation-duration:3s;animation-timing-function:cubic-bezier(.03,.76,.31,1);opacity:.5}.win-progress-bar.win-error::-ms-fill,.win-progress-ring.win-error::-ms-fill,.win-ring.win-error::-ms-fill{opacity:0}.win-progress-ring,.win-ring{width:20px;height:20px}.win-progress-ring:indeterminate::-ms-fill,.win-ring:indeterminate::-ms-fill{animation-name:-ms-ring}.win-progress-ring.win-medium,.win-ring.win-medium{width:40px;height:40px}.win-progress-ring.win-large,.win-ring.win-large{width:60px;height:60px}@-webkit-keyframes win-progress-indeterminate{0%{left:0;width:25%}50%{left:calc(75%);width:25%}75%{left:calc(100%);width:0}75.1%{left:0;width:0}100%{left:0;width:25%}}@keyframes win-progress-fade-out{from{opacity:1}to{opacity:.5}}.win-slider{width:280px;height:44px}.win-slider::-ms-track{height:2px;border-style:none}.win-slider::-webkit-slider-runnable-track{height:2px;border-style:none}.win-slider::-moz-range-track{height:2px;border-style:none}.win-slider::-moz-range-thumb{width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-11px;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-ms-thumb{margin-top:inherit;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider.win-vertical{writing-mode:bt-lr;width:44px;height:280px}.win-slider.win-vertical::-ms-track{width:2px;height:auto}.win-slider.win-vertical::-ms-thumb{width:24px;height:8px}.win-slider.win-vertical:lang(ar),.win-slider.win-vertical:lang(dv),.win-slider.win-vertical:lang(fa),.win-slider.win-vertical:lang(he),.win-slider.win-vertical:lang(ku-Arab),.win-slider.win-vertical:lang(pa-Arab),.win-slider.win-vertical:lang(prs),.win-slider.win-vertical:lang(ps),.win-slider.win-vertical:lang(qps-plocm),.win-slider.win-vertical:lang(sd-Arab),.win-slider.win-vertical:lang(syr),.win-slider.win-vertical:lang(ug),.win-slider.win-vertical:lang(ur){writing-mode:bt-rl}.win-link{text-decoration:underline;cursor:pointer}.win-code{font-family:Consolas,Menlo,Monaco,"Courier New",monospace}.win-back::before,.win-backbutton::before,.win-flipview .win-navbutton,.win-pivot .win-pivot-navbutton,.win-rating .win-star,.win-selectioncheckmark,.win-semanticzoom-button::before{font-family:"Segoe MDL2 Assets",Symbols}.win-type-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.win-h1.win-type-ellipsis,.win-type-header.win-type-ellipsis,h1.win-type-ellipsis{line-height:1.4286}.win-h2.win-type-ellipsis,.win-type-subheader.win-type-ellipsis,h2.win-type-ellipsis{line-height:1.5}.win-scrollview{overflow-x:auto;overflow-y:hidden;height:400px;width:100%}h1.win-h1,h1.win-type-header,h2.win-h2,h2.win-type-subheader,h3.win-h3,h3.win-type-title,h4.win-h4,h4.win-type-subtitle,h5.win-h5,h5.win-type-base,h6.win-h6,h6.win-type-body{margin-top:0;margin-bottom:0}.win-type-body p,p.win-type-body{font-weight:300}.win-listview{overflow:hidden;height:400px}.win-listview .win-surface{overflow:visible}.win-listview>.win-viewport.win-horizontal .win-surface{height:100%}.win-listview>.win-viewport.win-vertical .win-surface{width:100%}.win-listview>.win-viewport{position:relative;width:100%;height:100%;z-index:0;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;white-space:nowrap}.win-listview>.win-viewport.win-horizontal{overflow-x:auto;overflow-y:hidden}.win-listview>.win-viewport.win-vertical{overflow-x:hidden;overflow-y:auto}.win-listview .win-itemscontainer{overflow:hidden}.win-listview .win-itemscontainer-padder{width:0;height:0;margin:0;padding:0;border:0;overflow:hidden}.win-listview>.win-horizontal .win-container{margin:10px 5px 0}.win-listview>.win-vertical .win-container{margin:10px 24px 0 7px}.win-listview.win-rtl>.win-vertical .win-container{margin:10px 7px 0 24px}.win-itemcontainer .win-itembox,.win-itemcontainer.win-container,.win-listview .win-container,.win-listview .win-itembox{cursor:default;z-index:0}.win-listview .win-container{touch-action:pan-x pan-y pinch-zoom}.win-semanticzoom .win-listview>.win-viewport.win-zooming-x{overflow-x:visible}.win-semanticzoom .win-listview>.win-viewport.win-zooming-y{overflow-y:visible}.win-itemcontainer .win-itembox,.win-listview .win-itembox{width:100%;height:100%}.win-itemcontainer .win-item,.win-listview .win-item{z-index:1;overflow:hidden;position:relative}.win-listview>.win-vertical .win-item{width:100%}.win-itemcontainer .win-item:focus,.win-listview .win-item:focus{outline-style:none}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{width:calc(100% - 4px);height:calc(100% - 4px);left:2px;top:2px;position:absolute;z-index:5;pointer-events:none}.win-container.win-selected .win-selectionborder,html.win-hoverable .win-container.win-selected:hover .win-selectionborder{border-width:2px;border-style:solid}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{position:absolute;left:0;top:0;content:"";width:calc(100% - 4px);height:calc(100% - 4px);pointer-events:none;border-style:solid;border-width:2px;z-index:3}html.win-hoverable .win-itemcontainer.win-itembox.win-selected:hover::before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox.win-selected:hover::before,html.win-hoverable .win-listview.win-selectionstylefilled .win-itembox:hover::before{display:none}.win-listview .win-groupheader{padding:10px 10px 10px 2px;overflow:hidden;outline-width:.01px;outline-style:none;float:left;font-size:34px;font-weight:200;line-height:1.176}.win-listview .win-groupheadercontainer{z-index:1;touch-action:pan-x pan-y pinch-zoom;overflow:hidden}.win-listview .win-horizontal .win-footercontainer,.win-listview .win-horizontal .win-headercontainer{height:100%;display:inline-block;overflow:hidden;white-space:normal}.win-listview .win-vertical .win-footercontainer,.win-listview .win-vertical .win-headercontainer{width:100%;display:block;overflow:hidden;white-space:normal}.win-listview .win-groupheader.win-focused{outline-style:dotted}.win-listview .win-viewport,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover,html.win-hoverable .win-listview.win-dragover .win-container:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover,html.win-hoverable .win-selectionstylefilled .win-itemcontainer.win-container:hover{outline:0}.win-listview.win-rtl .win-groupheader{padding-left:10px;padding-right:2px;float:right}.win-listview.win-groups .win-horizontal .win-groupleader{margin-left:70px}.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader{margin-left:0;margin-right:70px}.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader,.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader{margin-top:70px}.win-listview.win-groups>.win-vertical .win-surface.win-gridlayout,.win-listview.win-groups>.win-vertical .win-surface.win-listlayout{margin-top:-65px}.win-listview.win-groups>.win-horizontal .win-surface{margin-left:-70px}.win-listview.win-groups.win-rtl>.win-horizontal .win-surface{margin-left:0;margin-right:-70px}.win-listview .win-surface{-webkit-margin-collapse:separate;white-space:normal}.win-surface ._win-proxy{position:relative;overflow:hidden;width:0;height:0;touch-action:none}.win-selectionborder{position:absolute;opacity:inherit;z-index:2;pointer-events:none}.win-container.win-selected .win-selectionborder{top:0;left:0;right:0;bottom:0}.win-selectionbackground{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}.win-selectioncheckmarkbackground{position:absolute;top:2px;right:2px;width:14px;height:11px;margin:0;padding:0;border-style:solid;z-index:3;display:none;border-width:4px 2px 3px}.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground,.win-listview.win-rtl .win-selectioncheckmarkbackground{left:2px;right:auto}.win-listview .win-selectionmode .win-selectioncheckmark,.win-listview .win-selectionmode .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer.win-selectionmode .win-selectioncheckmark,.win-selectionmode.win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode.win-itemcontainer.win-selectionmode .win-selectioncheckmark{display:block}.win-selectioncheckmark{position:absolute;margin:0;padding:2px;right:1px;top:1px;font-size:14px;z-index:4;line-height:1;display:none}.win-rtl .win-selectioncheckmark{right:auto;left:0}.win-selectionstylefilled .win-container,.win-selectionstylefilled.win-container{overflow:hidden}.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after,.win-selectionmode.win-itemcontainer.win-container .win-itembox::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none;right:2px;top:2px;z-index:3}.win-itemcontainer.win-rtl.win-selectionmode.win-container .win-itembox::after,.win-listview.win-rtl .win-surface.win-selectionmode .win-itembox::after,.win-rtl .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{right:auto;left:2px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(40px,0);-webkit-transform:translate(40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(-40px,0);-webkit-transform:translate(-40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-hideselectionmode .win-item,.win-listview.win-selectionstylefilled .win-surface.win-hidingselectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:none;-webkit-transform:none}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox::after{left:12px;right:auto;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px;background-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-itembox::after{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:12px;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmark{left:13px;top:50%;margin-top:-8px;display:block;width:14px;height:14px}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmark{left:0;right:10px}.win-itemcontainer.win-selectionmode.win-selectionstylefilled.win-container .win-itembox.win-selected::after,.win-listview .win-surface.win-selectionmode .win-itembox.win-selected::after,.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox.win-nonselectable::after,.win-selectionmode .win-itemcontainer.win-selectionstylefilled.win-container .win-itembox.win-selected::after{display:none}.win-listview .win-progress{left:50%;top:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;z-index:1;position:absolute}.win-flipview,.win-itemcontainer .win-itembox,.win-itemcontainer.win-container{position:relative}.win-listview .win-progress::-ms-fill{animation-name:-ms-ring}.win-listview .win-itemsblock{overflow:hidden}.win-listview .win-horizontal .win-nocssgrid.win-listlayout,.win-listview .win-surface.win-nocssgrid.win-gridlayout,.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;vertical-align:top}.win-listview .win-horizontal .win-surface.win-nocssgrid{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-surface.win-nocssgrid{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout{display:block}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder{height:0;width:0}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{display:none}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout{display:block}.win-listview .win-listlayout .win-itemscontainer{overflow:visible}.win-listview .win-listlayout .win-itemsblock{padding-bottom:4px;margin-bottom:-4px}.win-listview>.win-vertical .win-listlayout.win-headerpositiontop .win-groupheader{float:none}.win-listview>.win-vertical .win-surface.win-listlayout{margin-bottom:5px}.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface{display:-ms-inline-grid;-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer{-ms-grid-column:1}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-column:1}.win-listview>.win-horizontal .win-surface.win-listlayout{display:-ms-inline-grid;-ms-grid-columns:auto;-ms-grid-rows:auto;vertical-align:top}.win-listview .win-horizontal .win-listlayout .win-itemsblock{height:100%}.win-listview .win-horizontal .win-listlayout .win-itemscontainer{margin-bottom:24px}.win-listview .win-horizontal .win-listlayout .win-container{height:calc(100% - 10px)}.win-listview>.win-horizontal .win-surface.win-listlayout.win-headerpositiontop{-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-gridlayout.win-surface{display:-ms-inline-grid;vertical-align:top}.win-listview .win-gridlayout .win-container{margin:5px}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer,.win-listview.win-groups .win-gridlayout .win-itemscontainer{display:none}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout{display:block}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-row:1}.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-listlayout .win-itemsblock,.win-listview .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-itemscontainer-padder{height:100%}.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout{display:-ms-grid}.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock{width:100%}.win-listview .win-cellspanninggridlayout .win-container.win-laidout{display:block}.win-listview .win-cellspanninggridlayout .win-container{display:none}.win-listview.win-dragover .win-itembox{transform:scale(.86);-webkit-transform:scale(.86)}.win-itemcontainer .win-itembox.win-dragsource,.win-listview .win-itembox.win-dragsource{opacity:.5;transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-dragover .win-itembox.win-dragsource{opacity:0;transition:none;-webkit-transition:none}.win-listview .win-itembox{position:relative;transition:transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:-webkit-transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-groups>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:70px}.win-listview.win-groups.win-rtl>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:0;margin-right:70px}.win-listview>.win-horizontal .win-surface.win-listlayout{margin-left:70px}.win-listview.win-rtl>.win-horizontal .win-surface.win-listlayout{margin-left:0;margin-right:70px}.win-listview .win-vertical .win-gridlayout.win-surface{margin-left:20px}.win-listview.win-rtl .win-vertical .win-gridlayout.win-surface{margin-left:0;margin-right:20px}.win-itemcontainer{touch-action:pan-x pan-y pinch-zoom}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{opacity:.4}html.win-hoverable .win-itemcontainer.win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed.win-itembox:hover::before{opacity:.6}.win-listview.win-selectionstylefilled .win-itembox,.win-selectionstylefilled .win-itemcontainer .win-itembox,.win-selectionstylefilled.win-itemcontainer .win-itembox{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected.win-selected a:hover:active,.win-listview.win-selectionstylefilled .win-selected.win-selected a:hover:active{color:rgba(255,255,255,.6)}html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected a:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected a:hover{color:rgba(255,255,255,.8)}.win-itemcontainer.win-selectionstylefilled.win-selected .win-textarea,.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input[type=button],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=email],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=number],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=password],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=reset],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=search],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=tel],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=text],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=url],.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected .win-textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input[type=button],.win-listview.win-selectionstylefilled .win-selected input[type=email],.win-listview.win-selectionstylefilled .win-selected input[type=number],.win-listview.win-selectionstylefilled .win-selected input[type=password],.win-listview.win-selectionstylefilled .win-selected input[type=reset],.win-listview.win-selectionstylefilled .win-selected input[type=search],.win-listview.win-selectionstylefilled .win-selected input[type=tel],.win-listview.win-selectionstylefilled .win-selected input[type=text],.win-listview.win-selectionstylefilled .win-selected input[type=url],.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea{background-clip:border-box;background-color:rgba(255,255,255,.8);border-color:transparent;color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected button[type=submit],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=submit],.win-listview.win-selectionstylefilled .win-selected button[type=submit],.win-listview.win-selectionstylefilled .win-selected input[type=submit]{border-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower{background-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-thumb,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-thumb{background-color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress{background-color:rgba(255,255,255,.16)}.win-itemcontainer.win-selectionstylefilled.win-selected progress:indeterminate,.win-listview.win-selectionstylefilled .win-selected progress:indeterminate{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty{color:rgba(255,255,255,.16)}@media (-ms-high-contrast){.win-listview .win-groupheader{color:WindowText}.win-selectioncheckmark{color:HighlightText}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline,.win-listview .win-groupheader{outline-color:WindowText}.win-itemcontainer.win-selectionstylefilled .win-itembox,.win-listview.win-selectionstylefilled .win-itembox{background-color:Window;color:WindowText}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-itembox,.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-container.win-selected .win-itembox,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-selected:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-selected:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground{background-color:Highlight;color:HighlightText}.win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected .win-selectionborder,.win-listview:not(.win-selectionstylefilled) .win-container.win-selected .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder{border-color:transparent}html.win-hoverable .win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview:not(.win-selectionstylefilled) .win-container.win-selected:hover .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star:after,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star:after,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star:after,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover a,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star:after,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover a,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-track,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-value,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input::-ms-track,.win-listview.win-selectionstylefilled .win-selected input::-ms-value,.win-listview.win-selectionstylefilled .win-selected progress,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea,.win-listview.win-selectionstylefilled.win-selected input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover button,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-check,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-track,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-value,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover select,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover textarea,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover button,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-check,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-track,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-value,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover select,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover textarea{border-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill{background-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{background-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-full:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-full:before{color:ButtonFace}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-empty:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-empty:before{color:Highlight}html.win-hoverable .win-itemcontainer.win-container:hover,html.win-hoverable .win-listview .win-container:hover{outline:Highlight solid 3px}}.win-flipview{overflow:hidden;height:400px}.win-flipview .win-surface{-ms-scroll-chaining:none}.win-flipview .win-navleft{left:0;top:50%;margin-top:-19px}.win-flipview .win-navright{left:100%;top:50%;margin-left:-20px;margin-top:-19px}.win-flipview .win-navtop{left:50%;top:0;margin-left:-35px}.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-36px}.win-flipview .win-navbutton{touch-action:manipulation;border:none;width:20px;height:36px;z-index:1;position:absolute;font-size:16px;padding:0;min-width:0}.win-flipview .win-item,.win-flipview .win-item>.win-template{height:100%;width:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}@media (-ms-high-contrast){.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-35px}.win-flipview .win-navbutton{background-color:ButtonFace;color:ButtonText;border:2px solid ButtonText;width:65px;height:35px}.win-flipview .win-navbutton.win-navbutton:active,.win-flipview .win-navbutton.win-navbutton:hover:active{background-color:ButtonText;color:ButtonFace}.win-flipview .win-navright{margin-left:-65px}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:Highlight;color:HighlightText}}.win-datepicker select,.win-timepicker select{min-width:80px;margin-top:4px;margin-bottom:4px}.win-datepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-datepicker .win-datepicker-date.win-order0,.win-datepicker .win-datepicker-date.win-order1,.win-datepicker .win-datepicker-month,.win-datepicker .win-datepicker-year.win-order0{margin-right:20px}.win-datepicker .win-datepicker-date.win-order0:lang(ar),.win-datepicker .win-datepicker-date.win-order0:lang(dv),.win-datepicker .win-datepicker-date.win-order0:lang(fa),.win-datepicker .win-datepicker-date.win-order0:lang(he),.win-datepicker .win-datepicker-date.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(prs),.win-datepicker .win-datepicker-date.win-order0:lang(ps),.win-datepicker .win-datepicker-date.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(syr),.win-datepicker .win-datepicker-date.win-order0:lang(ug),.win-datepicker .win-datepicker-date.win-order0:lang(ur),.win-datepicker .win-datepicker-date.win-order1:lang(ar),.win-datepicker .win-datepicker-date.win-order1:lang(dv),.win-datepicker .win-datepicker-date.win-order1:lang(fa),.win-datepicker .win-datepicker-date.win-order1:lang(he),.win-datepicker .win-datepicker-date.win-order1:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(prs),.win-datepicker .win-datepicker-date.win-order1:lang(ps),.win-datepicker .win-datepicker-date.win-order1:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order1:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(syr),.win-datepicker .win-datepicker-date.win-order1:lang(ug),.win-datepicker .win-datepicker-date.win-order1:lang(ur),.win-datepicker .win-datepicker-month:lang(ar),.win-datepicker .win-datepicker-month:lang(dv),.win-datepicker .win-datepicker-month:lang(fa),.win-datepicker .win-datepicker-month:lang(he),.win-datepicker .win-datepicker-month:lang(ku-Arab),.win-datepicker .win-datepicker-month:lang(pa-Arab),.win-datepicker .win-datepicker-month:lang(prs),.win-datepicker .win-datepicker-month:lang(ps),.win-datepicker .win-datepicker-month:lang(qps-plocm),.win-datepicker .win-datepicker-month:lang(sd-Arab),.win-datepicker .win-datepicker-month:lang(syr),.win-datepicker .win-datepicker-month:lang(ug),.win-datepicker .win-datepicker-month:lang(ur),.win-datepicker .win-datepicker-year.win-order0:lang(ar),.win-datepicker .win-datepicker-year.win-order0:lang(dv),.win-datepicker .win-datepicker-year.win-order0:lang(fa),.win-datepicker .win-datepicker-year.win-order0:lang(he),.win-datepicker .win-datepicker-year.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(prs),.win-datepicker .win-datepicker-year.win-order0:lang(ps),.win-datepicker .win-datepicker-year.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-year.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(syr),.win-datepicker .win-datepicker-year.win-order0:lang(ug),.win-datepicker .win-datepicker-year.win-order0:lang(ur){margin-right:0;margin-left:20px}.win-timepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-timepicker .win-timepicker-hour,.win-timepicker .win-timepicker-minute.win-order1,.win-timepicker .win-timepicker-period.win-order0{margin-right:20px}.win-timepicker .win-timepicker-hour:lang(ar),.win-timepicker .win-timepicker-hour:lang(dv),.win-timepicker .win-timepicker-hour:lang(fa),.win-timepicker .win-timepicker-hour:lang(he),.win-timepicker .win-timepicker-hour:lang(ku-Arab),.win-timepicker .win-timepicker-hour:lang(pa-Arab),.win-timepicker .win-timepicker-hour:lang(prs),.win-timepicker .win-timepicker-hour:lang(ps),.win-timepicker .win-timepicker-hour:lang(qps-plocm),.win-timepicker .win-timepicker-hour:lang(sd-Arab),.win-timepicker .win-timepicker-hour:lang(syr),.win-timepicker .win-timepicker-hour:lang(ug),.win-timepicker .win-timepicker-hour:lang(ur),.win-timepicker .win-timepicker-minute.win-order0:lang(ar),.win-timepicker .win-timepicker-minute.win-order0:lang(dv),.win-timepicker .win-timepicker-minute.win-order0:lang(fa),.win-timepicker .win-timepicker-minute.win-order0:lang(he),.win-timepicker .win-timepicker-minute.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(prs),.win-timepicker .win-timepicker-minute.win-order0:lang(ps),.win-timepicker .win-timepicker-minute.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(syr),.win-timepicker .win-timepicker-minute.win-order0:lang(ug),.win-timepicker .win-timepicker-minute.win-order0:lang(ur),.win-timepicker .win-timepicker-minute.win-order1:lang(ar),.win-timepicker .win-timepicker-minute.win-order1:lang(dv),.win-timepicker .win-timepicker-minute.win-order1:lang(fa),.win-timepicker .win-timepicker-minute.win-order1:lang(he),.win-timepicker .win-timepicker-minute.win-order1:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(prs),.win-timepicker .win-timepicker-minute.win-order1:lang(ps),.win-timepicker .win-timepicker-minute.win-order1:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order1:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(syr),.win-timepicker .win-timepicker-minute.win-order1:lang(ug),.win-timepicker .win-timepicker-minute.win-order1:lang(ur),.win-timepicker .win-timepicker-period.win-order0:lang(ar),.win-timepicker .win-timepicker-period.win-order0:lang(dv),.win-timepicker .win-timepicker-period.win-order0:lang(fa),.win-timepicker .win-timepicker-period.win-order0:lang(he),.win-timepicker .win-timepicker-period.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(prs),.win-timepicker .win-timepicker-period.win-order0:lang(ps),.win-timepicker .win-timepicker-period.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-period.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(syr),.win-timepicker .win-timepicker-period.win-order0:lang(ug),.win-timepicker .win-timepicker-period.win-order0:lang(ur){margin-left:20px;margin-right:0}body>.win-navigation-backbutton{position:absolute;top:50px;left:20px}.win-back,.win-backbutton,.win-navigation-backbutton{touch-action:manipulation;display:inline-block;min-width:0;min-height:0;padding:0;text-align:center;width:41px;height:41px;font-size:24px;line-height:41px;vertical-align:baseline}.win-tooltip,.win-tooltip-phantom{display:block;position:fixed;top:30px;left:30px;margin:0}.win-back::before,.win-backbutton::before{font-weight:400;content:"\E0D5";vertical-align:50%}.win-back:lang(ar)::before,.win-back:lang(dv)::before,.win-back:lang(fa)::before,.win-back:lang(he)::before,.win-back:lang(ku-Arab)::before,.win-back:lang(pa-Arab)::before,.win-back:lang(prs)::before,.win-back:lang(ps)::before,.win-back:lang(qps-plocm)::before,.win-back:lang(sd-Arab)::before,.win-back:lang(syr)::before,.win-back:lang(ug)::before,.win-back:lang(ur)::before,.win-backbutton:lang(ar)::before,.win-backbutton:lang(dv)::before,.win-backbutton:lang(fa)::before,.win-backbutton:lang(he)::before,.win-backbutton:lang(ku-Arab)::before,.win-backbutton:lang(pa-Arab)::before,.win-backbutton:lang(prs)::before,.win-backbutton:lang(ps)::before,.win-backbutton:lang(qps-plocm)::before,.win-backbutton:lang(sd-Arab)::before,.win-backbutton:lang(syr)::before,.win-backbutton:lang(ug)::before,.win-backbutton:lang(ur)::before{content:"\E0AE"}button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}@media (-ms-high-contrast){button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}.win-back,.win-backbutton{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-backbutton.win-backbutton:enabled:hover:active,.win-navigation-backbutton.win-navigation-backbutton:enabled:hover:active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-backbutton:-ms-keyboard-active,.win-navigation-backbutton:-ms-keyboard-active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-backbutton:enabled:hover,html.win-hoverable .win-navigation-backbutton:enabled:hover .win-back{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-tooltip{max-width:320px;box-sizing:border-box;padding:4px 7px 6px;border-style:solid;border-width:1px;z-index:9999;word-wrap:break-word;animation-fill-mode:both;font-size:12px;font-weight:400;line-height:1.167}.win-tooltip-phantom{background-color:transparent;border-width:0;padding:0}.win-rating{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-pack:self;-webkit-justify-content:self;justify-content:self;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;height:auto;width:auto;white-space:normal;outline:0}.win-rating .win-star{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;height:24px;width:24px;padding:9px 10px 11px;font-size:24px;overflow:hidden;text-indent:0;line-height:1;cursor:default;position:relative;letter-spacing:0;-ms-touch-action:none;touch-action:none}.win-rating.win-small .win-star{width:12px;height:12px;font-size:12px;padding:3px 4px 5px}.win-rating .win-star:before{content:"\E082"}.win-rating .win-star.win-disabled{cursor:default;-ms-touch-action:auto;touch-action:auto}@media (-ms-high-contrast){.win-tooltip{background-color:Window;border-color:WindowText;color:WindowText}.win-rating .win-star:before{content:"\E082"!important}.win-rating .win-star.win-full{color:HighLight}.win-rating .win-star.win-tentative.win-full{color:ButtonText}.win-rating .win-star.win-empty{color:ButtonFace}.win-rating .win-star:after{content:"\E224"!important;position:relative;top:-100%;color:ButtonText}.win-semanticzoom-button{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-semanticzoom-button:-ms-keyboard-active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable win-semanticzoom-button:hover{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-toggleswitch{outline:0}.win-toggleswitch .win-toggleswitch-header{max-width:470px;margin-bottom:14px;margin-top:22px;font-size:15px;font-weight:400;line-height:1.333}.win-toggleswitch .win-toggleswitch-values{display:inline-block;vertical-align:top}.win-toggleswitch .win-toggleswitch-value{margin-left:12px;height:20px;vertical-align:top;font-size:15px;font-weight:400;line-height:20px}.win-toggleswitch .win-toggleswitch-description{font-size:12px;width:22em;margin-top:28px;display:none}.win-toggleswitch .win-toggleswitch-clickregion{display:inline-block;touch-action:none;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:5px}.win-toggleswitch .win-toggleswitch-track{position:relative;display:inline-block;width:44px;height:20px;border-style:solid;border-width:2px;border-radius:10px;box-sizing:border-box}.win-toggleswitch .win-toggleswitch-thumb{position:absolute;top:3px;display:inline-block;width:10px;height:10px;border-radius:5px;-webkit-transition:left .1s;transition:left .1s}.win-toggleswitch:focus .win-toggleswitch-clickregion{outline-width:1px;outline-style:dotted}.win-toggleswitch.win-toggleswitch-dragging .win-toggleswitch-thumb{-webkit-transition:none;transition:none}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-value-on,.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-value-off{visibility:hidden;height:0;font-size:0;line-height:0}.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-thumb{left:27px}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ar).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-on .win-toggleswitch-thumb{left:3px}.win-toggleswitch:lang(ar).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-off .win-toggleswitch-thumb{left:27px}.win-semanticzoom{touch-action:pan-x pan-y double-tap-zoom;height:400px;position:relative}.win-semanticzoom .win-listview>.win-viewport *{touch-action:auto}.win-semanticzoom *{touch-action:inherit}.win-semanticzoom-button{z-index:100;position:absolute;min-width:25px;min-height:25px;width:25px;height:25px;padding:0;bottom:21px;touch-action:none}.win-semanticzoom-button::before{font-weight:400;font-size:11px;content:"\E0B8"}.win-semanticzoom-button-location{left:auto;right:4px}.win-semanticzoom-button-location:lang(ar),.win-semanticzoom-button-location:lang(dv),.win-semanticzoom-button-location:lang(fa),.win-semanticzoom-button-location:lang(he),.win-semanticzoom-button-location:lang(ku-Arab),.win-semanticzoom-button-location:lang(pa-Arab),.win-semanticzoom-button-location:lang(prs),.win-semanticzoom-button-location:lang(ps),.win-semanticzoom-button-location:lang(qps-plocm),.win-semanticzoom-button-location:lang(sd-Arab),.win-semanticzoom-button-location:lang(syr),.win-semanticzoom-button-location:lang(ug),.win-semanticzoom-button-location:lang(ur){left:4px;right:auto}.win-pivot{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%;overflow:hidden;-ms-scroll-limit-x-max:0;touch-action:manipulation;position:relative}.win-pivot .win-pivot-navbutton{touch-action:manipulation;position:absolute;width:20px;height:36px;padding:0;margin:0;top:10px;min-width:0;border-width:0;cursor:pointer;opacity:0}.win-pivot .win-pivot-headers.win-pivot-shownavbuttons .win-pivot-navbutton{opacity:1}.win-pivot .win-pivot-headers .win-pivot-navbutton-prev:before{content:"\E096"}.win-pivot .win-pivot-headers .win-pivot-navbutton-next:before{content:"\E09B"}.win-pivot .win-pivot-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols;font-size:15px;font-weight:700;white-space:nowrap;margin:14px 0 13px 24px}.win-pivot .win-pivot-title:lang(ar),.win-pivot .win-pivot-title:lang(dv),.win-pivot .win-pivot-title:lang(fa),.win-pivot .win-pivot-title:lang(he),.win-pivot .win-pivot-title:lang(ku-Arab),.win-pivot .win-pivot-title:lang(pa-Arab),.win-pivot .win-pivot-title:lang(prs),.win-pivot .win-pivot-title:lang(ps),.win-pivot .win-pivot-title:lang(qps-plocm),.win-pivot .win-pivot-title:lang(sd-Arab),.win-pivot .win-pivot-title:lang(syr),.win-pivot .win-pivot-title:lang(ug),.win-pivot .win-pivot-title:lang(ur){margin:14px 24px 13px 0}.win-pivot>.win-pivot-item{display:none}.win-pivot .win-pivot-header-area{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-hub-section,.win-hub-surface{display:inline-block}.win-pivot .win-pivot-header-leftcustom,.win-pivot .win-pivot-header-rightcustom{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;margin-top:13px}.win-pivot .win-pivot-header-items{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow-x:hidden;padding:1px}.win-pivot .win-pivot-headers{white-space:nowrap;position:relative;overflow-y:visible;height:48px;touch-action:none;-ms-touch-action:none;outline:0}.win-pivot .win-pivot-headers.win-keyboard:focus{outline-style:dotted;outline-width:1px}.win-pivot .win-pivot-header,.win-pivot .win-pivot-header.win-pivot-header:hover:active{touch-action:manipulation;font-size:24px;font-weight:300;line-height:1.167;display:inline-block;transition:opacity linear 167ms;-webkit-transition:opacity linear 167ms;overflow:hidden;height:30px;border:0;padding:0;outline:0;margin:12px 12px 0;min-height:0;min-width:0}.win-pivot.win-pivot-locked .win-pivot-header{opacity:0;visibility:hidden}.win-pivot .win-pivot-header.win-pivot-header-selected,.win-pivot.win-pivot-locked .win-pivot-header.win-pivot-header-selected{opacity:1;visibility:inherit}.win-pivot .win-pivot-viewport{height:100%;overflow-x:auto;overflow-y:hidden;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;position:relative;padding-top:48px;margin-top:-48px}.win-pivot.win-pivot-customheaders .win-pivot-viewport{padding-top:inherit;margin-top:inherit}.win-pivot.win-pivot-mouse .win-pivot-viewport{padding-top:0;margin-top:0}.win-pivot.win-pivot-locked .win-pivot-viewport{overflow:hidden}.win-pivot .win-pivot-surface{width:300%;height:100%;position:relative}html.win-hoverable .win-pivot button.win-pivot-header:hover{background-color:transparent;border:0;padding:0;letter-spacing:0;margin:12px 12px 0;min-height:0;min-width:0}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{margin:0;padding:0;border-width:0;cursor:pointer;font-family:"Segoe MDL2 Assets",Symbols}.win-pivot-item{position:absolute;top:0;bottom:0;width:33.3%;left:33.3%}.win-pivot-item:lang(ar),.win-pivot-item:lang(dv),.win-pivot-item:lang(fa),.win-pivot-item:lang(he),.win-pivot-item:lang(ku-Arab),.win-pivot-item:lang(pa-Arab),.win-pivot-item:lang(prs),.win-pivot-item:lang(ps),.win-pivot-item:lang(qps-plocm),.win-pivot-item:lang(sd-Arab),.win-pivot-item:lang(syr),.win-pivot-item:lang(ug),.win-pivot-item:lang(ur){left:auto;right:33.3%}.win-pivot-item .win-pivot-item-content{height:100%;overflow-y:auto;-ms-overflow-style:-ms-autohiding-scrollbar;padding:0 24px}.win-pivot.win-pivot-nosnap .win-pivot-viewport{padding-top:0;margin-top:0;overflow:hidden}.win-pivot.win-pivot-nosnap .win-pivot-item,.win-pivot.win-pivot-nosnap .win-pivot-surface{width:100%;position:static}.win-hub{height:100%;width:100%;position:relative}.win-hub-progress{position:absolute;top:10px;width:100%;z-index:1}.win-hub-viewport{height:100%;width:100%;-ms-scroll-snap-type:proximity;-webkit-overflow-scrolling:touch}.win-hub-horizontal .win-hub-viewport{overflow-x:auto;overflow-y:hidden;white-space:nowrap}.win-hub-vertical .win-hub-viewport{position:relative;overflow-y:auto;overflow-x:hidden}.win-hub-vertical .win-hub-surface{width:calc(100% - 24px);padding:0 12px 8px;margin-top:-24px}.win-hub-horizontal .win-hub-surface{height:100%;padding-left:12px}.win-hub-horizontal .win-hub-surface:lang(ar),.win-hub-horizontal .win-hub-surface:lang(dv),.win-hub-horizontal .win-hub-surface:lang(fa),.win-hub-horizontal .win-hub-surface:lang(he),.win-hub-horizontal .win-hub-surface:lang(ku-Arab),.win-hub-horizontal .win-hub-surface:lang(pa-Arab),.win-hub-horizontal .win-hub-surface:lang(prs),.win-hub-horizontal .win-hub-surface:lang(ps),.win-hub-horizontal .win-hub-surface:lang(qps-plocm),.win-hub-horizontal .win-hub-surface:lang(sd-Arab),.win-hub-horizontal .win-hub-surface:lang(syr),.win-hub-horizontal .win-hub-surface:lang(ug),.win-hub-horizontal .win-hub-surface:lang(ur){padding-left:0;padding-right:12px}.win-hub-section{vertical-align:top;white-space:normal}.win-hub-horizontal .win-hub-section{height:100%;padding-right:24px}.win-hub-horizontal .win-hub-section:lang(ar),.win-hub-horizontal .win-hub-section:lang(dv),.win-hub-horizontal .win-hub-section:lang(fa),.win-hub-horizontal .win-hub-section:lang(he),.win-hub-horizontal .win-hub-section:lang(ku-Arab),.win-hub-horizontal .win-hub-section:lang(pa-Arab),.win-hub-horizontal .win-hub-section:lang(prs),.win-hub-horizontal .win-hub-section:lang(ps),.win-hub-horizontal .win-hub-section:lang(qps-plocm),.win-hub-horizontal .win-hub-section:lang(sd-Arab),.win-hub-horizontal .win-hub-section:lang(syr),.win-hub-horizontal .win-hub-section:lang(ug),.win-hub-horizontal .win-hub-section:lang(ur){padding-right:0;padding-left:24px}.win-hub-horizontal .win-hub-section-header{margin-top:62px}.win-hub-vertical .win-hub-section{width:100%;padding-top:24px}.win-hub-section-header{margin-bottom:9px;height:28px}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{touch-action:manipulation;width:100%;background-color:transparent;border:0;min-height:0;min-width:0;max-width:100%;padding:0}button.win-hub-section-header-tabstop:focus{outline:0}button.win-hub-section-header-tabstop:-ms-keyboard-active{background-color:transparent}.win-hub-section-header-wrapper{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;width:100%;outline:0}.win-hub-section-header-content{font-size:20px;font-weight:400;line-height:1.5;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:bottom;overflow:hidden;text-overflow:clip;white-space:nowrap}.win-hub-section-header-content:lang(ar),.win-hub-section-header-content:lang(dv),.win-hub-section-header-content:lang(fa),.win-hub-section-header-content:lang(he),.win-hub-section-header-content:lang(ku-Arab),.win-hub-section-header-content:lang(pa-Arab),.win-hub-section-header-content:lang(prs),.win-hub-section-header-content:lang(ps),.win-hub-section-header-content:lang(qps-plocm),.win-hub-section-header-content:lang(sd-Arab),.win-hub-section-header-content:lang(syr),.win-hub-section-header-content:lang(ug),.win-hub-section-header-content:lang(ur){text-align:right}.win-hub-section-header-chevron{display:none}.win-hub-section-header-interactive .win-hub-section-header-chevron{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:24px;line-height:1.5;padding-top:7px;text-align:right;vertical-align:bottom}.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ar),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(dv),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(fa),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(he),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ku-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(pa-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(prs),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ps),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(qps-plocm),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(sd-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(syr),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ug),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ur){text-align:left;margin-left:0;margin-right:24px}.win-hub-horizontal .win-hub-section-content{height:calc(100% - 99px)}.win-hub-vertical .win-hub-section-content{width:100%}@media (-ms-high-contrast){button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{background-color:transparent;color:WindowText}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:WindowText}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover:active,html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:-ms-hotlight}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:-ms-hotlight}}.win-clickeater{background-color:transparent;width:110%;height:110%;left:-5%;top:-5%;position:fixed;touch-action:none;outline:Purple solid 1px;-ms-high-contrast-adjust:none}button.win-command{touch-action:manipulation;background:0 0;background-clip:border-box;height:auto;padding:0;margin:0;border:1px dotted;min-width:40px;min-height:48px;text-align:center;font-size:12px;line-height:16px;font-weight:400;overflow:visible;writing-mode:lr-tb;position:relative;z-index:0;outline:0}button.win-command::-moz-focus-inner{padding:0;border:0}button:lang(ar),button:lang(dv),button:lang(fa),button:lang(he),button:lang(ku-Arab),button:lang(pa-Arab),button:lang(prs),button:lang(ps),button:lang(qps-plocm),button:lang(sd-Arab),button:lang(syr),button:lang(ug),button:lang(ur){writing-mode:rl-tb}.win-commandicon{display:block;margin:11px 21px;min-width:0;min-height:0;padding:0;width:24px;height:24px;box-sizing:border-box;-moz-box-sizing:border-box;cursor:default;position:relative;outline:0}.win-commandimage{font-family:"Segoe UI Command",Symbols;letter-spacing:0;vertical-align:middle;font-size:20px;margin:0;line-height:24px;background-position:0 0;background-origin:border-box;display:inline-block;width:24px;height:24px;background-size:96px 48px;outline:0}.win-commandimage.win-commandglyph{position:absolute;left:0}button.win-command .win-label,div.win-command{font-size:12px;line-height:16px;position:relative;font-weight:400}button:active .win-commandimage,html.win-hoverable button:enabled:hover .win-commandimage{background-position:-24px 0}button:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px 0}button:-ms-keyboard-active .win-commandimage{background-position:-48px 0}button:disabled .win-commandimage,button:disabled:active .win-commandimage{background-position:-72px 0}button[aria-checked=true] .win-commandimage{background-position:0 -24px}button[aria-checked=true]:active .win-commandimage,html.win-hoverable button[aria-checked=true]:enabled:hover .win-commandimage{background-position:-24px -24px}button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px -24px}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{background-position:-48px -24px}button[aria-checked=true]:disabled .win-commandimage,button[aria-checked=true]:disabled:active .win-commandimage{background-position:-72px -24px}button.win-command .win-label{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols;display:block;max-width:66px;margin-top:-10px;margin-bottom:6px;padding:0;overflow:hidden;word-wrap:break-word;word-break:keep-all;outline:0}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis,.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis,.win-searchbox-button,.win-splitviewcommand-icon{font-family:"Segoe MDL2 Assets",Symbols}div.win-command,hr.win-command{display:inline-block;vertical-align:top}hr.win-command{padding:0;margin:12px 16px;width:2px;height:24px;border:0}div.win-command{min-width:0;min-height:0;padding:0 31px;border:1px dotted;text-align:center;writing-mode:lr-tb}div.win-command:lang(ar),div.win-command:lang(dv),div.win-command:lang(fa),div.win-command:lang(he),div.win-command:lang(ku-Arab),div.win-command:lang(pa-Arab),div.win-command:lang(prs),div.win-command:lang(ps),div.win-command:lang(qps-plocm),div.win-command:lang(sd-Arab),div.win-command:lang(syr),div.win-command:lang(ug),div.win-command:lang(ur){writing-mode:rl-tb}div.win-command:focus{outline:0}.win-command.win-command-hidden{display:none}.win-navbar{border-width:0;width:100%;height:auto;left:0;position:fixed;position:-ms-device-fixed;min-height:48px}.win-navbar.win-navbar-minimal{min-height:25px}.win-navbar.win-navbar-minimal.win-navbar-closed .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-navbar-closing.win-navbar-minimal>:not(.win-navbar-invokebutton){opacity:0}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-menu{opacity:1}.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaycompact .win-command .win-label,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplayminimal .win-command,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaynone .win-command,winjs-themedetection-tag{opacity:0}.win-navbar.win-navbar-closed.win-navbar-minimal>:not(.win-navbar-invokebutton){display:none!important}.win-navbar.win-navbar-closed.win-navbar-minimal .win-navbar-invokebutton,.win-navbar.win-navbar-closing.win-navbar-minimal .win-navbar-invokebutton{width:100%}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opened .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opening .win-navbar-invokebutton{visibility:hidden}.win-navbar.win-menulayout.win-navbar-closing .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opened .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opening .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton{visibility:visible}.win-navbar .win-navbar-invokebutton{touch-action:manipulation;position:absolute;right:0;margin:0;padding:0;border:1px dotted;min-width:0;background-clip:border-box;display:none;z-index:1}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{height:100%;right:0;top:15px;position:absolute;display:inline-block;font-size:14px;text-align:center}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis::before{content:"\E10C";position:relative}.win-navbar:lang(ar) .win-navbar-invokebutton,.win-navbar:lang(ar) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(dv) .win-navbar-invokebutton,.win-navbar:lang(dv) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(fa) .win-navbar-invokebutton,.win-navbar:lang(fa) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(he) .win-navbar-invokebutton,.win-navbar:lang(he) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(prs) .win-navbar-invokebutton,.win-navbar:lang(prs) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ps) .win-navbar-invokebutton,.win-navbar:lang(ps) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(syr) .win-navbar-invokebutton,.win-navbar:lang(syr) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ug) .win-navbar-invokebutton,.win-navbar:lang(ug) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ur) .win-navbar-invokebutton,.win-navbar:lang(ur) .win-navbar-invokebutton .win-navbar-ellipsis{right:auto;left:0}.win-navbar.win-navbar-compact .win-navbar-invokebutton,.win-navbar.win-navbar-minimal .win-navbar-invokebutton{display:block}.win-commandlayout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-primarygroup{-ms-flex-order:2;flex-order:2;-webkit-order:2;order:2;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-secondarygroup{-ms-flex-order:1;flex-order:1;-webkit-order:1;order:1;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}.win-commandlayout.win-navbar-closing.win-navbar-compact,.win-commandlayout.win-navbar-opened.win-navbar-compact,.win-commandlayout.win-navbar-opening.win-navbar-compact{min-height:48px}.win-commandlayout.win-navbar-compact,.win-commandlayout.win-navbar-minimal{padding-right:32px;width:calc(100% - 32px)}.win-commandlayout.win-navbar-compact button.win-command .win-label{display:none}.win-commandlayout.win-navbar-compact.win-navbar-closing button.win-command .win-label{display:block;visibility:hidden}.win-commandlayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-commandlayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-commandlayout:lang(ar).win-navbar-compact,.win-commandlayout:lang(ar).win-navbar-minimal,.win-commandlayout:lang(dv).win-navbar-compact,.win-commandlayout:lang(dv).win-navbar-minimal,.win-commandlayout:lang(fa).win-navbar-compact,.win-commandlayout:lang(fa).win-navbar-minimal,.win-commandlayout:lang(he).win-navbar-compact,.win-commandlayout:lang(he).win-navbar-minimal,.win-commandlayout:lang(ku-Arab).win-navbar-compact,.win-commandlayout:lang(ku-Arab).win-navbar-minimal,.win-commandlayout:lang(pa-Arab).win-navbar-compact,.win-commandlayout:lang(pa-Arab).win-navbar-minimal,.win-commandlayout:lang(prs).win-navbar-compact,.win-commandlayout:lang(prs).win-navbar-minimal,.win-commandlayout:lang(ps).win-navbar-compact,.win-commandlayout:lang(ps).win-navbar-minimal,.win-commandlayout:lang(qps-plocm).win-navbar-compact,.win-commandlayout:lang(qps-plocm).win-navbar-minimal,.win-commandlayout:lang(sd-Arab).win-navbar-compact,.win-commandlayout:lang(sd-Arab).win-navbar-minimal,.win-commandlayout:lang(syr).win-navbar-compact,.win-commandlayout:lang(syr).win-navbar-minimal,.win-commandlayout:lang(ug).win-navbar-compact,.win-commandlayout:lang(ug).win-navbar-minimal,.win-commandlayout:lang(ur).win-navbar-compact,.win-commandlayout:lang(ur).win-navbar-minimal{padding-right:0;padding-left:32px}.win-menulayout .win-navbar-menu{position:absolute;right:0;top:0;overflow:hidden}.win-menulayout .win-navbar-menu:lang(ar),.win-menulayout .win-navbar-menu:lang(dv),.win-menulayout .win-navbar-menu:lang(fa),.win-menulayout .win-navbar-menu:lang(he),.win-menulayout .win-navbar-menu:lang(ku-Arab),.win-menulayout .win-navbar-menu:lang(pa-Arab),.win-menulayout .win-navbar-menu:lang(prs),.win-menulayout .win-navbar-menu:lang(ps),.win-menulayout .win-navbar-menu:lang(qps-plocm),.win-menulayout .win-navbar-menu:lang(sd-Arab),.win-menulayout .win-navbar-menu:lang(syr),.win-menulayout .win-navbar-menu:lang(ug),.win-menulayout .win-navbar-menu:lang(ur){left:0;right:auto}.win-menulayout.win-bottom .win-navbar-menu{overflow:visible}.win-menulayout .win-toolbar{max-width:100vw}.win-menulayout.win-navbar-compact button.win-command .win-label{display:none;visibility:hidden}.win-menulayout.win-navbar-compact.win-navbar-closing button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-menulayout.win-navbar-compact.win-navbar-closed{overflow:hidden}.win-flyout,.win-flyout.win-scrolls{overflow:auto}.win-menulayout.win-navbar-compact.win-navbar-closed .win-toolbar-overflowarea{visibility:hidden}@media (-ms-high-contrast){.win-navbar{border:2px solid}.win-navbar.win-top{border-top:none;border-left:none;border-right:none}.win-navbar.win-bottom{border-bottom:none;border-left:none;border-right:none}.win-navbar.win-top button.win-command,.win-navbar.win-top div.win-command{padding-bottom:7px}.win-navbar.win-bottom button.win-command,.win-navbar.win-bottom div.win-command{padding-top:7px}.win-navbar.win-top hr.win-command{margin-bottom:28px}.win-navbar.win-bottom hr.win-command{margin-top:8px}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}}.win-flyout{position:fixed;position:-ms-device-fixed;padding:12px;border-style:solid;border-width:1px;margin:4px;min-width:70px;max-width:430px;min-height:16px;max-height:730px;width:auto;height:auto;word-wrap:break-word;font-size:15px;font-weight:400;line-height:1.333}.win-flyout.win-leftalign{margin-left:0}.win-flyout.win-rightalign{margin-right:0}@media (max-width:464px){.win-flyout{max-width:calc(100% - 34px)}}.win-menu{padding:0;line-height:33px;text-align:left;min-height:42px;max-height:calc(100% - 26px);min-width:134px;max-width:454px}.win-menu button.win-command{display:block;margin-left:0;margin-right:0;text-align:left;width:100%;font-size:15px;font-weight:400;line-height:1.333}.win-menu button.win-command:focus{outline:0}.win-menu button.win-command .win-menucommand-liner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;position:relative}.win-menu button.win-command .win-menucommand-liner .win-flyouticon,.win-menu button.win-command .win-menucommand-liner .win-toggleicon{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:none;visibility:hidden;font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}.win-menu button.win-command .win-menucommand-liner .win-toggleicon{margin-left:12px}.win-menu button.win-command .win-menucommand-liner .win-toggleicon::before{content:"\E0E7"}.win-menu button.win-command .win-menucommand-liner .win-flyouticon{margin-left:12px;margin-right:16px}.win-menu button.win-command .win-menucommand-liner .win-flyouticon::before{content:"\E26B"}.win-menu button.win-command .win-menucommand-liner .win-label{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;font-size:15px;line-height:inherit;min-width:112px;max-width:none;white-space:nowrap;text-overflow:clip;margin:0;padding:0 12px}.win-menu button.win-command .win-menucommand-liner:lang(ar),.win-menu button.win-command .win-menucommand-liner:lang(dv),.win-menu button.win-command .win-menucommand-liner:lang(fa),.win-menu button.win-command .win-menucommand-liner:lang(he),.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab),.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab),.win-menu button.win-command .win-menucommand-liner:lang(prs),.win-menu button.win-command .win-menucommand-liner:lang(ps),.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm),.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab),.win-menu button.win-command .win-menucommand-liner:lang(syr),.win-menu button.win-command .win-menucommand-liner:lang(ug),.win-menu button.win-command .win-menucommand-liner:lang(ur){text-align:right}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-toggleicon{margin-left:0;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon{margin-left:16px;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon::before{content:"\E26C"}.win-menu.win-menu-mousespacing button.win-command{padding-top:5px;padding-bottom:7px;min-height:32px}.win-menu.win-menu-touchspacing button.win-command{padding-top:11px;padding-bottom:13px;min-height:44px}.win-menu hr.win-command{display:block;height:1px;width:auto;border:0;padding:0;margin:9px 20px 10px}.win-menu-containsflyoutcommand button.win-command .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command .win-menucommand-liner .win-toggleicon{display:inline-block}.win-menu-containsflyoutcommand button.win-command-flyout .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command-toggle[aria-checked=true] .win-menucommand-liner .win-toggleicon{visibility:visible}@media (max-width:464px){.win-menu{max-width:calc(100% - 10px)}}.win-overlay{-ms-touch-select:none}.win-overlay [contenteditable=true],.win-overlay input:not([type=file]),.win-overlay input:not([type=radio]),.win-overlay input:not([type=checkbox]),.win-overlay input:not([type=button]),.win-overlay input:not([type=range]),.win-overlay input:not([type=image]),.win-overlay input:not([type=reset]),.win-overlay input:not([type=hidden]),.win-overlay input:not([type=submit]),.win-overlay textarea{-ms-touch-select:grippers}.win-visualviewport-space{position:fixed;position:-ms-device-fixed;height:100%;width:100%;visibility:hidden}.win-settingsflyout{border-left:1px solid;position:fixed;top:0;right:0;height:100%;width:319px}.win-settingsflyout:lang(ar),.win-settingsflyout:lang(dv),.win-settingsflyout:lang(fa),.win-settingsflyout:lang(he),.win-settingsflyout:lang(ku-Arab),.win-settingsflyout:lang(pa-Arab),.win-settingsflyout:lang(prs),.win-settingsflyout:lang(ps),.win-settingsflyout:lang(qps-plocm),.win-settingsflyout:lang(sd-Arab),.win-settingsflyout:lang(syr),.win-settingsflyout:lang(ug),.win-settingsflyout:lang(ur){border-left:none;border-right:1px solid}.win-settingsflyout.win-wide{width:645px}.win-settingsflyout .win-back,.win-settingsflyout .win-backbutton{width:32px;height:32px;font-size:20px;line-height:32px}.win-settingsflyout .win-header{height:32px;position:relative;padding:6px 12px 10px 52px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayfull .win-commandingsurface-actionarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-actionarea{height:auto}.win-settingsflyout .win-header .win-label{display:inline-block;font-size:24px;font-weight:300;line-height:32px;white-space:nowrap}.win-settingsflyout .win-header .win-backbutton,.win-settingsflyout .win-header .win-navigation-backbutton{position:absolute;left:12px}.win-settingsflyout .win-content{overflow:auto;padding:0 12px}.win-settingsflyout .win-content .win-label{font-size:20px;font-weight:400;line-height:1.2}.win-settingsflyout .win-content .win-settings-section{margin:0;padding-top:0;padding-bottom:20px}.win-settingsflyout .win-content .win-settings-section p{margin:0;padding-top:0;padding-bottom:25px}.win-settingsflyout .win-content .win-settings-section a{margin:0;padding-top:0;padding-bottom:25px;display:inline-block}.win-settingsflyout .win-content .win-settings-section label{display:block;padding-bottom:7px}.win-settingsflyout .win-content .win-settings-section button,.win-settingsflyout .win-content .win-settings-section input[type=button],.win-settingsflyout .win-content .win-settings-section input[type=text],.win-settingsflyout .win-content .win-settings-section select{margin-bottom:25px;margin-left:0;margin-right:20px}.win-settingsflyout .win-content .win-settings-section button:lang(ar),.win-settingsflyout .win-content .win-settings-section button:lang(dv),.win-settingsflyout .win-content .win-settings-section button:lang(fa),.win-settingsflyout .win-content .win-settings-section button:lang(he),.win-settingsflyout .win-content .win-settings-section button:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(prs),.win-settingsflyout .win-content .win-settings-section button:lang(ps),.win-settingsflyout .win-content .win-settings-section button:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section button:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(syr),.win-settingsflyout .win-content .win-settings-section button:lang(ug),.win-settingsflyout .win-content .win-settings-section button:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ur),.win-settingsflyout .win-content .win-settings-section select:lang(ar),.win-settingsflyout .win-content .win-settings-section select:lang(dv),.win-settingsflyout .win-content .win-settings-section select:lang(fa),.win-settingsflyout .win-content .win-settings-section select:lang(he),.win-settingsflyout .win-content .win-settings-section select:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(prs),.win-settingsflyout .win-content .win-settings-section select:lang(ps),.win-settingsflyout .win-content .win-settings-section select:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section select:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(syr),.win-settingsflyout .win-content .win-settings-section select:lang(ug),.win-settingsflyout .win-content .win-settings-section select:lang(ur){margin-bottom:25px;margin-left:20px;margin-right:0}.win-settingsflyout .win-content .win-settings-section input[type=radio]{margin-top:0;margin-bottom:0;padding-bottom:15px}@keyframes WinJS-showFlyoutTop{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-showFlyoutBottom{from{transform:translateY(-50px)}to{transform:none}}@keyframes WinJS-showFlyoutLeft{from{transform:translateX(50px)}to{transform:none}}@keyframes WinJS-showFlyoutRight{from{transform:translateX(-50px)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutTop{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutBottom{from{-webkit-transform:translateY(-50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutLeft{from{-webkit-transform:translateX(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutRight{from{-webkit-transform:translateX(-50px)}to{-webkit-transform:none}}.win-commandingsurface{outline:0;min-width:32px;position:relative}.win-commandingsurface.win-commandingsurface-overflowbottom .win-commandingsurface-overflowareacontainer{top:100%}.win-commandingsurface.win-commandingsurface-overflowtop .win-commandingsurface-overflowareacontainer{bottom:100%}.win-commandingsurface .win-commandingsurface-actionarea{min-height:24px;vertical-align:top;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-spacer{visibility:hidden;min-height:48px;width:0}.win-commandingsurface .win-commandingsurface-actionarea .win-command,.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{touch-action:manipulation;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{width:32px;margin:0;padding:0;border-width:1px;border-style:dotted;min-width:0;min-height:0;outline:0;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch;box-sizing:border-box;background-clip:border-box}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis{font-size:16px}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis::before{content:"\E10C"}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowareacontainer{display:block}.win-commandingsurface .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowareacontainer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea .win-command .win-label,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-command,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-commandingsurface-spacer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaynone{display:none}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea{height:48px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea{height:24px}.win-commandingsurface .win-commandingsurface-overflowareacontainer{position:absolute;overflow:hidden;right:0;left:auto}.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ar),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(dv),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(fa),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(he),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ku-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(pa-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(prs),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ps),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(qps-plocm),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(sd-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(syr),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ug),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ur){left:0;right:auto}.win-commandingsurface .win-commandingsurface-overflowarea,.win-commandingsurface .win-commandingsurface-overflowareacontainer{min-width:160px;min-height:0;max-height:50vh;padding:0}.win-commandingsurface .win-commandingsurface-overflowarea{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{max-width:480px}.win-commandingsurface .win-commandingsurface-overflowarea .win-commandingsurface-spacer{visibility:hidden;height:24px}.win-commandingsurface .win-commandingsurface-overflowarea button.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;min-height:44px;border:1px dotted transparent;padding:10px 11px 12px;font-size:15px;font-weight:400;line-height:1.333;white-space:nowrap;overflow:hidden}.win-commandingsurface .win-commandingsurface-overflowarea hr.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;height:2px;margin:6px 12px 4px}.win-commandingsurface .win-commandingsurface-actionareacontainer{overflow:hidden;position:relative}.win-commandingsurface .win-command.win-command-hidden{display:inline-block}.win-commandingsurface .win-command.win-commandingsurface-command-hidden,.win-commandingsurface .win-command.win-commandingsurface-command-primary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-secondary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-separator-hidden{display:none}@media (max-width:480px){.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{width:100vw}}.win-toolbar{min-width:32px}.win-toolbar.win-toolbar-opened{position:fixed}.win-autosuggestbox{white-space:normal;position:relative;width:266px;min-width:265px;min-height:28px}.win-autosuggestbox-flyout{position:absolute;top:100%;width:100%;z-index:100;max-height:374px;min-height:44px;overflow:auto;-ms-scroll-chaining:none;touch-action:none;font-size:15px;font-weight:400;line-height:1.333}.win-autosuggestbox-suggestion-result div,.win-autosuggestbox-suggestion-result-text{line-height:20px;overflow:hidden;white-space:nowrap}.win-autosuggestbox-flyout-above{bottom:100%;top:auto}.win-autosuggestbox-flyout-above .win-repeater{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.win-autosuggestbox .win-autosuggestbox-input{-ms-ime-align:after;margin:0;width:100%}.win-autosuggestbox-suggestion-selected{outline-style:dotted;outline-width:1px}.win-autosuggestbox-suggestion-result{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:60px;font-size:11pt;outline:0}.win-autosuggestbox-suggestion-result-text{padding-top:9px;padding-bottom:11px;height:60px;width:179px}.win-autosuggestbox-suggestion-result-detailed-text{display:inline-block;overflow:hidden;line-height:22px;margin-top:-1px;width:100%}.win-autosuggestbox-suggestion-result img{width:40px;height:40px;margin-left:0;padding-right:10px;padding-top:10px;padding-bottom:10px}.win-autosuggestbox-suggestion-result img:lang(ar),.win-autosuggestbox-suggestion-result img:lang(dv),.win-autosuggestbox-suggestion-result img:lang(fa),.win-autosuggestbox-suggestion-result img:lang(he),.win-autosuggestbox-suggestion-result img:lang(ku-Arab),.win-autosuggestbox-suggestion-result img:lang(pa-Arab),.win-autosuggestbox-suggestion-result img:lang(prs),.win-autosuggestbox-suggestion-result img:lang(ps),.win-autosuggestbox-suggestion-result img:lang(qps-plocm),.win-autosuggestbox-suggestion-result img:lang(sd-Arab),.win-autosuggestbox-suggestion-result img:lang(syr),.win-autosuggestbox-suggestion-result img:lang(ug),.win-autosuggestbox-suggestion-result img:lang(ur){margin-right:0;margin-left:auto;padding-left:10px;padding-right:0}.win-autosuggestbox-suggestion-query{height:20px;padding:11px 0 13px 12px;outline:0;white-space:nowrap;overflow:hidden;line-height:20px}.win-autosuggestbox-suggestion-separator{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:40px;font-size:11pt}.win-autosuggestbox-suggestion-separator hr{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;margin-top:18px;border-style:solid;border-width:1px 0 0}.win-autosuggestbox-suggestion-separator hr:lang(ar),.win-autosuggestbox-suggestion-separator hr:lang(dv),.win-autosuggestbox-suggestion-separator hr:lang(fa),.win-autosuggestbox-suggestion-separator hr:lang(he),.win-autosuggestbox-suggestion-separator hr:lang(ku-Arab),.win-autosuggestbox-suggestion-separator hr:lang(pa-Arab),.win-autosuggestbox-suggestion-separator hr:lang(prs),.win-autosuggestbox-suggestion-separator hr:lang(ps),.win-autosuggestbox-suggestion-separator hr:lang(qps-plocm),.win-autosuggestbox-suggestion-separator hr:lang(sd-Arab),.win-autosuggestbox-suggestion-separator hr:lang(syr),.win-autosuggestbox-suggestion-separator hr:lang(ug),.win-autosuggestbox-suggestion-separator hr:lang(ur){margin-right:10px;margin-left:auto}.win-autosuggestbox-suggestion-separator div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-top:9px;padding-bottom:11px;line-height:20px;margin-right:10px}.win-autosuggestbox-suggestion-separator div:lang(ar),.win-autosuggestbox-suggestion-separator div:lang(dv),.win-autosuggestbox-suggestion-separator div:lang(fa),.win-autosuggestbox-suggestion-separator div:lang(he),.win-autosuggestbox-suggestion-separator div:lang(ku-Arab),.win-autosuggestbox-suggestion-separator div:lang(pa-Arab),.win-autosuggestbox-suggestion-separator div:lang(prs),.win-autosuggestbox-suggestion-separator div:lang(ps),.win-autosuggestbox-suggestion-separator div:lang(qps-plocm),.win-autosuggestbox-suggestion-separator div:lang(sd-Arab),.win-autosuggestbox-suggestion-separator div:lang(syr),.win-autosuggestbox-suggestion-separator div:lang(ug),.win-autosuggestbox-suggestion-separator div:lang(ur){margin-left:10px;margin-right:auto}@keyframes WinJS-flyoutBelowASB-showPopup{from{transform:translateY(0)}to{transform:none}}@keyframes WinJS-flyoutAboveASB-showPopup{from{transform:translateY(0)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutBelowASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutAboveASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}.win-searchbox input[type=search]::-ms-clear{display:none}.win-searchbox input[type=search]::-webkit-search-cancel-button{display:none}.win-searchbox-button{position:absolute;right:0;top:0;width:32px;font-size:15px;border-style:none;height:100%;text-align:center}.win-searchbox-button:lang(ar),.win-searchbox-button:lang(dv),.win-searchbox-button:lang(fa),.win-searchbox-button:lang(he),.win-searchbox-button:lang(ku-Arab),.win-searchbox-button:lang(pa-Arab),.win-searchbox-button:lang(prs),.win-searchbox-button:lang(ps),.win-searchbox-button:lang(qps-plocm),.win-searchbox-button:lang(sd-Arab),.win-searchbox-button:lang(syr),.win-searchbox-button:lang(ug),.win-searchbox-button:lang(ur){right:auto;left:0}.win-searchbox-button.win-searchbox-button:before{content:"\E094";position:absolute;left:8px;top:8px;line-height:100%}.win-splitviewcommand{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;touch-action:manipulation}.win-splitviewcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-splitviewcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-splitviewcommand-button:focus{z-index:1;outline:0}.win-splitviewcommand-icon{height:16px;width:16px;font-size:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-splitviewcommand-icon:lang(ar),.win-splitviewcommand-icon:lang(dv),.win-splitviewcommand-icon:lang(fa),.win-splitviewcommand-icon:lang(he),.win-splitviewcommand-icon:lang(ku-Arab),.win-splitviewcommand-icon:lang(pa-Arab),.win-splitviewcommand-icon:lang(prs),.win-splitviewcommand-icon:lang(ps),.win-splitviewcommand-icon:lang(qps-plocm),.win-splitviewcommand-icon:lang(sd-Arab),.win-splitviewcommand-icon:lang(syr),.win-splitviewcommand-icon:lang(ug),.win-splitviewcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-splitviewcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-icon,.win-navbarcontainer-navarrow{font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}@media (-ms-high-contrast){.win-autosuggestbox{border-color:ButtonText;background-color:ButtonFace;color:ButtonText}.win-autosuggestbox-disabled,.win-autosuggestbox-disabled input[disabled]{border-color:GrayText;background-color:ButtonFace}.win-autosuggestbox-disabled input[disabled]{color:GrayText}.win-autosuggestbox-disabled div{color:GrayText;background-color:ButtonFace}.win-autosuggestbox:-ms-input-placeholder,.win-autosuggestbox::-moz-input-placeholder,.win-autosuggestbox::-webkit-input-placeholder{color:GrayText}.win-autosuggestbox-flyout{border-color:ButtonText;background-color:ButtonFace}.win-autosuggestbox-flyout-highlighttext{color:ButtonText}html.win-hoverable .win-autosuggestbox-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover{background-color:Highlight;color:HighlightText}html.win-hoverable .win-autosuggestbox-suggestion-query:hover .win-autosuggestbox-flyout-highlighttext,html.win-hoverable .win-autosuggestbox-suggestion-result:hover .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-autosuggestbox-suggestion-query,.win-autosuggestbox-suggestion-result{color:ButtonText}.win-autosuggestbox-suggestion-selected{background-color:Highlight;color:HighlightText}.win-autosuggestbox-suggestion-separator{color:ButtonText}.win-autosuggestbox-suggestion-separator hr{border-color:ButtonText}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-searchbox-button{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-searchbox-button[disabled=false]:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button-input-focus{background-color:ButtonText;color:ButtonFace}html.win-hoverable .win-searchbox-button-input-focus:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button:active{background-color:ButtonText;color:ButtonFace}.win-splitviewcommand-button{background-color:ButtonFace;color:ButtonText}.win-splitviewcommand-button:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px);pointer-events:none}html.win-hoverable .win-splitviewcommand-button:hover{background-color:Highlight;color:HighlightText}.win-splitviewcommand-button.win-pressed,html.win-hoverable .win-splitviewcommand-button.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-navbar{z-index:999}.win-navbar.win-navbar-hiding,.win-navbar.win-navbar-showing,.win-navbar.win-navbar-shown{min-height:60px}.win-navbar .win-navbar-invokebutton{width:32px;min-height:0;height:24px}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{width:32px}.win-navbar.win-top .win-navbar-invokebutton{bottom:0}.win-navbar.win-top .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-bottom .win-navbar-invokebutton,.win-navbar.win-bottom .win-navbar-invokebutton .win-navbar-ellipsis{top:0}.win-navbarcontainer{width:100%;position:relative}.win-navbarcontainer-pageindicator-box{position:absolute;width:100%;text-align:center;pointer-events:none}.win-navbarcontainer-vertical .win-navbarcontainer-pageindicator-box{display:none}.win-navbarcontainer-pageindicator{display:inline-block;width:40px;height:4px;margin:4px 2px 16px}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport::-webkit-scrollbar{width:0;height:0}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport{padding:20px 0;overflow-x:auto;overflow-y:hidden;overflow:-moz-scrollbars-none;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;touch-action:pan-x}.win-navbarcontainer-vertical .win-navbarcontainer-viewport{overflow-x:hidden;overflow-y:auto;max-height:216px;-ms-overflow-style:-ms-autohiding-scrollbar;touch-action:pan-y;-webkit-overflow-scrolling:touch}.win-navbarcontainer-horizontal .win-navbarcontainer-surface{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-navbarcommand,.win-navbarcontainer-navarrow{display:-ms-flexbox;display:-webkit-flex;touch-action:manipulation}.win-navbarcontainer-vertical .win-navbarcontainer-surface{padding:12px 0}.win-navbarcontainer-navarrow{position:absolute;z-index:2;top:24px;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;height:calc(100% - 48px);width:20px;overflow:hidden}.win-navbarcontainer-vertical .win-navbarcontainer-navarrow{display:none}.win-navbarcontainer-navleft{left:0;margin-right:2px}.win-navbarcontainer-navleft::before{content:'\E0E2'}.win-navbarcontainer-navright{right:0;margin-left:2px}.win-navbarcontainer-navright::before{content:'\E0E3'}.win-navbarcommand{display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcontainer-horizontal .win-navbarcommand{margin:4px;width:192px}.win-navbarcontainer-vertical .win-navbarcommand{margin:4px 24px}.win-navbarcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-navbarcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-navbarcommand-button:focus{z-index:1;outline:0}.win-navbarcommand-icon{height:16px;width:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcommand-icon:lang(ar),.win-navbarcommand-icon:lang(dv),.win-navbarcommand-icon:lang(fa),.win-navbarcommand-icon:lang(he),.win-navbarcommand-icon:lang(ku-Arab),.win-navbarcommand-icon:lang(pa-Arab),.win-navbarcommand-icon:lang(prs),.win-navbarcommand-icon:lang(ps),.win-navbarcommand-icon:lang(qps-plocm),.win-navbarcommand-icon:lang(sd-Arab),.win-navbarcommand-icon:lang(syr),.win-navbarcommand-icon:lang(ug),.win-navbarcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-navbarcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-splitbutton{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;width:48px;font-family:"Segoe MDL2 Assets",Symbols;font-size:16px;margin-right:0;margin-left:2px;position:relative}.win-navbarcommand-splitbutton:lang(ar),.win-navbarcommand-splitbutton:lang(dv),.win-navbarcommand-splitbutton:lang(fa),.win-navbarcommand-splitbutton:lang(he),.win-navbarcommand-splitbutton:lang(ku-Arab),.win-navbarcommand-splitbutton:lang(pa-Arab),.win-navbarcommand-splitbutton:lang(prs),.win-navbarcommand-splitbutton:lang(ps),.win-navbarcommand-splitbutton:lang(qps-plocm),.win-navbarcommand-splitbutton:lang(sd-Arab),.win-navbarcommand-splitbutton:lang(syr),.win-navbarcommand-splitbutton:lang(ug),.win-navbarcommand-splitbutton:lang(ur){margin-left:0;margin-right:2px}.win-navbarcommand-splitbutton::before{content:'\E019';pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;text-align:center;line-height:46px;border:1px dotted transparent}.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened::before{content:'\E018'}.win-navbarcommand-splitbutton:focus{outline:0}@media (-ms-high-contrast){.win-navbarcontainer-pageindicator{background-color:ButtonFace}.win-navbarcontainer-pageindicator:after{display:block;border:1px solid ButtonText;content:"";width:calc(100% - 2px);height:calc(100% - 2px)}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after,.win-navbarcontainer-navarrow:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px)}.win-navbarcontainer-pageindicator-current{background-color:ButtonText}html.win-hoverable .win-navbarcontainer-pageindicator:hover{background-color:Highlight}.win-navbarcontainer-pageindicator:hover:active,html.win-hoverable .win-navbarcontainer-pageindicator-current:hover{background-color:ButtonText}.win-navbarcontainer-navarrow{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:Highlight;color:HighlightText}.win-navbarcontainer-navarrow:hover:active{background-color:ButtonText;color:ButtonFace}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:ButtonFace;color:ButtonText}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after{pointer-events:none}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:Highlight;color:HighlightText}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened,.win-navbarcommand-splitbutton.win-pressed,html.win-hoverable .win-navbarcommand-button.win-pressed:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-viewbox{width:100%;height:100%;position:relative}.win-contentdialog.win-contentdialog-verticalalignment{position:fixed;top:0;left:0;right:0;height:100vh;overflow:hidden;display:none;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-devicefixedsupported{position:-ms-device-fixed;height:auto;bottom:0}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.win-contentdialog .win-contentdialog-backgroundoverlay{position:absolute;top:0;left:0;width:100%;height:100%}.win-contentdialog .win-contentdialog-dialog{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;z-index:1;outline-style:solid;outline-width:1px;box-sizing:border-box;padding:18px 24px 24px;width:100%;min-width:320px;max-width:456px;min-height:184px;max-height:758px;margin-left:auto;margin-right:auto}.win-contentdialog .win-contentdialog-column0or1{-ms-flex:10000 0 50%;-webkit-flex:10000 0 50%;flex:10000 0 50%;width:0}@media (min-height:640px){.win-contentdialog .win-contentdialog-dialog{-ms-flex:0 1 auto;-webkit-flex:0 1 auto;flex:0 1 auto}.win-contentdialog .win-contentdialog-column0or1{display:none}}.win-contentdialog .win-contentdialog-scroller{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow:auto}.win-contentdialog .win-contentdialog-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-size:20px;font-weight:400;line-height:1.2;margin:0}.win-contentdialog .win-contentdialog-content{-ms-flex:1 0 auto;-webkit-flex:1 0 auto;flex:1 0 auto;font-size:15px;font-weight:400;line-height:1.333}.win-contentdialog .win-contentdialog-commands{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:24px;margin-right:-4px}.win-contentdialog .win-contentdialog-commandspacer{visibility:hidden}.win-contentdialog .win-contentdialog-commands>button{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;width:0;margin-right:4px;white-space:nowrap}.win-splitview{position:relative;width:100%;height:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden}.win-splitview.win-splitview-placementbottom,.win-splitview.win-splitview-placementbottom .win-splitview-panewrapper,.win-splitview.win-splitview-placementtop,.win-splitview.win-splitview-placementtop .win-splitview-panewrapper{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-splitview .win-splitview-panewrapper{position:relative;z-index:1;outline:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-appbar.win-appbar-closed.win-appbar-closeddisplaynone,.win-splitview.win-splitview-openeddisplayinline .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed.win-splitview-closeddisplaynone .win-splitview-pane{display:none}.win-splitview .win-splitview-paneoutline{display:none;pointer-events:none;position:absolute;top:0;left:0;border:1px solid transparent;width:calc(100% - 2px);height:calc(100% - 2px);z-index:1}.win-splitview .win-splitview-pane{outline:0}.win-splitview .win-splitview-pane,.win-splitview .win-splitview-paneplaceholder{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden}.win-splitview .win-splitview-contentwrapper{position:relative;z-index:0;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.win-splitview .win-splitview-content{position:absolute;width:100%;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementright .win-splitview-pane{width:320px}.win-splitview.win-splitview-pane-opened.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementtop .win-splitview-pane{height:60px}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementtop .win-splitview-panewrapper{position:absolute;top:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementbottom .win-splitview-panewrapper{position:absolute;bottom:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ur) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright .win-splitview-panewrapper{position:absolute;top:0;left:auto;right:0;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ur) .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-closed.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementtop .win-splitview-pane{height:24px}.win-splitview.win-splitview-pane-closed.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementright .win-splitview-pane{width:48px}button.win-splitviewpanetoggle{touch-action:manipulation;box-sizing:border-box;height:48px;width:48px;min-height:0;min-width:0;padding:0;border:none;margin:0;outline:0}button.win-splitviewpanetoggle:after{font-size:24px;font-family:'Segoe MDL2 Assets',Symbols;font-weight:400;line-height:1.333;content:"\E700"}.win-appbar{width:100%;min-width:32px;position:fixed;position:-ms-device-fixed;z-index:999}.win-appbar.win-appbar-top{top:0}.win-appbar.win-appbar-bottom{bottom:0}.win-ui-dark,body{background-color:#000;color:#fff}.win-ui-light{background-color:#fff;color:#000}::selection{color:#fff}.win-link:hover{color:rgba(255,255,255,.6)}.win-link:active{color:rgba(255,255,255,.4)}.win-link[disabled]{color:rgba(255,255,255,.2)}.win-checkbox::-ms-check{color:#fff;border-color:rgba(255,255,255,.8);background-color:transparent}.win-checkbox:indeterminate::-ms-check{color:rgba(255,255,255,.8)}.win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-checkbox:hover::-ms-check{border-color:#fff}.win-checkbox:hover:indeterminate::-ms-check{color:#fff}.win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-checkbox:indeterminate:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.8);background-color:transparent}.win-checkbox:disabled::-ms-check,.win-checkbox:indeterminate:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2);background-color:transparent}.win-radio::-ms-check{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.8);background-color:transparent}.win-radio:hover::-ms-check{border-color:#fff;color:#fff}.win-radio:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.6)}.win-radio:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){background-color:rgba(255,255,255,.2)}.win-progress-bar::-webkit-progress-bar,.win-progress-ring::-webkit-progress-bar,.win-ring::-webkit-progress-bar{background-color:transparent}.win-progress-ring,.win-ring{background-color:transparent}.win-button{color:#fff;background-color:rgba(255,255,255,.2);border-color:transparent}.win-button.win-button-primary{color:#fff}.win-button.win-button-primary:hover,.win-button:hover{border-color:rgba(255,255,255,.4)}.win-button.win-button-primary:active,.win-button:active{background-color:rgba(255,255,255,.4)}.win-button.win-button-primary:disabled,.win-button:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2);border-color:transparent}.win-dropdown{color:#fff;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}.win-dropdown::-ms-expand{color:rgba(255,255,255,.8);background-color:transparent}.win-dropdown:hover{background-color:#2b2b2b;border-color:rgba(255,255,255,.6)}.win-dropdown:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2)}.win-dropdown:disabled::-ms-expand{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-dropdown option{color:#fff;background-color:#2b2b2b}.win-dropdown option:checked{color:#fff}.win-dropdown option:active,.win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#fff}.win-dropdown optgroup{color:#fff;background-color:#2b2b2b}.win-dropdown optgroup:disabled{color:rgba(255,255,255,.2)}select[multiple].win-dropdown{border:none;background-color:#2b2b2b}select[multiple].win-dropdown option,select[multiple].win-dropdown option:checked,select[multiple].win-dropdown option:hover{color:#fff}.win-slider{background-color:transparent}.win-slider:hover::-ms-thumb{background:#f9f9f9}.win-slider:hover::-webkit-slider-thumb{background:#f9f9f9}.win-slider:hover::-moz-range-thumb{background:#f9f9f9}.win-slider:active::-ms-thumb{background:#767676}.win-slider:active::-webkit-slider-thumb{background:#767676}.win-slider:active::-moz-range-thumb{background:#767676}.win-slider:disabled::-ms-thumb{background:#333}.win-slider:disabled::-webkit-slider-thumb{background:#333}.win-slider:disabled::-moz-range-thumb{background:#333}.win-slider:disabled::-ms-fill-lower{background:rgba(255,255,255,.2)}.win-slider::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-slider::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-slider::-moz-range-track{background:rgba(255,255,255,.4)}.win-slider:active::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-slider:active::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-slider:active::-moz-range-track{background:rgba(255,255,255,.4)}.win-slider:disabled::-ms-fill-upper{background:rgba(255,255,255,.2)}.win-slider:disabled::-webkit-slider-runnable-track{background:rgba(255,255,255,.2)}.win-slider:disabled::-moz-range-track{background:rgba(255,255,255,.2)}.win-slider::-ms-track{color:transparent;background-color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:rgba(255,255,255,.4)}.win-textarea,.win-textbox{color:#fff;background-color:rgba(0,0,0,.4);border-color:rgba(255,255,255,.4)}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea::-webkit-input-placeholder,.win-textbox::-webkit-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea::-moz-input-placeholder,.win-textbox::-moz-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea:hover,.win-textbox:hover{background-color:rgba(0,0,0,.6);border-color:rgba(255,255,255,.6)}.win-textarea:focus,.win-textbox:focus{color:#000;background-color:#fff}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-itemcontainer.win-selectionstylefilled.win-selected,.win-listview.win-selectionstylefilled .win-selected,.win-selectioncheckmark{color:#fff}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{color:#fff}.win-xbox :focus{outline:#fff solid 2px}.win-backbutton:focus,.win-listview .win-groupheader,.win-navigation-backbutton:focus .win-back{outline-color:#fff}.win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#fff;background-color:#393939}.win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(255,255,255,.2)}.win-itemcontainer .win-itembox,.win-listview .win-itembox{background-color:#1d1d1d}.win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{outline:#fff dashed 2px}.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.6}.win-flipview .win-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-flipview .win-navbutton:hover:active{background-color:rgba(255,255,255,.8)}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(255,255,255,.6)}.win-back,.win-backbutton,.win-navigation-backbutton{background-color:transparent;border:none;color:#fff}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{position:absolute;height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;opacity:.6}.win-backbutton:hover,.win-navigation-backbutton:hover .win-back{background-color:rgba(255,255,255,.1)}.win-backbutton:active,.win-navigation-backbutton:active .win-back{background-color:rgba(255,255,255,.2)}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{color:rgba(255,255,255,.4);background-color:transparent}.win-tooltip{color:#fff;border-color:#767676;background-color:#2b2b2b}.win-rating .win-star.win-tentative.win-full{color:rgba(255,255,255,.8)}.win-rating .win-star.win-average.win-full,.win-rating .win-star.win-average.win-full.win-disabled{color:rgba(255,255,255,.4)}.win-rating .win-star.win-empty{color:rgba(255,255,255,.2)}.win-toggleswitch-header,.win-toggleswitch-value{color:#fff}.win-toggleswitch-thumb{background-color:rgba(255,255,255,.8)}.win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(255,255,255,.8)}.win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(255,255,255,.2)}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(255,255,255,.2)}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(255,255,255,.2)}.win-semanticzoom-button,.win-toggleswitch-on .win-toggleswitch-track,button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(255,255,255,.6)}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(255,255,255,.2)}.win-semanticzoom-button{background-color:rgba(216,216,216,.33)}button.win-semanticzoom-button.win-semanticzoom-button:active,button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#fff}.win-pivot .win-pivot-title{color:#fff}.win-pivot .win-pivot-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(255,255,255,.8)}.win-pivot button.win-pivot-header{color:rgba(255,255,255,.6);background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:rgba(255,255,255,.8)}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:#fff;background-color:transparent}.win-pivot-header[disabled]{color:rgba(255,255,255,.4)}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active{color:#fff}button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#fff dotted 1px}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#fff}button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(255,255,255,.4)}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(255,255,255,.4)}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:#fff}.win-overlay{outline:0}hr.win-command{background-color:rgba(255,255,255,.4)}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:#fff}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:rgba(255,255,255,.2)}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#fff}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#fff}button.win-command:enabled:-ms-keyboard-active{background-color:rgba(255,255,255,.2);color:#fff}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:rgba(255,255,255,.2)}.win-navbar{background-color:#393939;border-color:#393939}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#fff}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#fff}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(255,255,255,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(255,255,255,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#fff}.win-flyout,.win-settingsflyout{background-color:#000}.win-menu button{background-color:transparent;color:#fff}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:rgba(255,255,255,.2)}.win-commandingsurface .win-commandingsurface-actionarea{background-color:#393939}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#fff}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#fff}.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#2b2b2b}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(255,255,255,.2)}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-navbarcommand-button.win-keyboard:focus::before,.win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #fff}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-autosuggestbox-flyout{background-color:#2b2b2b;color:#fff}.win-autosuggestbox-suggestion-query:hover:active,.win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(255,255,255,.2)}.win-searchbox-button{color:rgba(255,255,255,.4)}.win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-splitviewcommand-button{background-color:transparent;color:#fff}.win-navbarcontainer-pageindicator,.win-splitviewcommand-button.win-pressed{background-color:rgba(255,255,255,.2)}.win-navbarcontainer-pageindicator-current{background-color:rgba(255,255,255,.6)}.win-navbarcontainer-navarrow{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(255,255,255,.8)}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:rgba(255,255,255,.1);color:#fff}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-pressed{background-color:rgba(255,255,255,.28)}.win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#fff}.win-contentdialog-dialog{background-color:#2b2b2b}.win-contentdialog-content,.win-contentdialog-title{color:#fff}.win-contentdialog-backgroundoverlay{background-color:#000;opacity:.6}html.win-hoverable .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:.8}.win-splitview-pane{background-color:#171717}button.win-splitviewpanetoggle{color:#fff;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:#fff;background-color:rgba(255,255,255,.2)}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #fff}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before,html.win-hoverable .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#fff}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:rgba(255,255,255,.2);background-color:transparent}html.win-hoverable .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{color:rgba(255,255,255,.6)}html.win-hoverable .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable button.win-hub-section-header-tabstop:hover{color:#fff}html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(255,255,255,.8)}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable button.win-splitviewpanetoggle:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:rgba(255,255,255,.1);color:#fff}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-splitviewcommand-button:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.9}html.win-hoverable .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(255,255,255,.2)}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:rgba(255,255,255,.6)}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:rgba(255,255,255,.19)}html.win-hoverable .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(255,255,255,.28)}html.win-hoverable button.win-splitviewpanetoggle:hover{background-color:rgba(255,255,255,.1)}.win-ui-light .win-ui-light,.win-ui-light body{background-color:#fff;color:#000}.win-ui-light .win-ui-dark{background-color:#000;color:#fff}.win-ui-light ::selection{color:#fff}.win-ui-light .win-link:hover{color:rgba(0,0,0,.6)}.win-ui-light .win-link:active{color:rgba(0,0,0,.4)}.win-ui-light .win-link[disabled]{color:rgba(0,0,0,.2)}.win-ui-light .win-checkbox::-ms-check{color:#000;border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-checkbox:indeterminate::-ms-check{color:rgba(0,0,0,.8)}.win-ui-light .win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-ui-light .win-checkbox:hover::-ms-check{border-color:#000}.win-ui-light .win-checkbox:hover:indeterminate::-ms-check{color:#000}.win-ui-light .win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-ui-light .win-checkbox:indeterminate:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-checkbox:disabled::-ms-check,.win-ui-light .win-checkbox:indeterminate:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent}.win-ui-light .win-radio::-ms-check{color:rgba(0,0,0,.8);border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-radio:hover::-ms-check{border-color:#000;color:#000}.win-ui-light .win-radio:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.6)}.win-ui-light .win-radio:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-ui-light .win-progress-bar:not(:indeterminate),.win-ui-light .win-progress-ring:not(:indeterminate),.win-ui-light .win-ring:not(:indeterminate){background-color:rgba(0,0,0,.2)}.win-ui-light .win-progress-bar::-webkit-progress-bar,.win-ui-light .win-progress-ring::-webkit-progress-bar,.win-ui-light .win-ring::-webkit-progress-bar{background-color:transparent}.win-ui-light .win-progress-ring,.win-ui-light .win-ring{background-color:transparent}.win-ui-light .win-button{color:#000;background-color:rgba(0,0,0,.2);border-color:transparent}.win-ui-light .win-button.win-button-primary{color:#fff}.win-ui-light .win-button.win-button-primary:hover,.win-ui-light .win-button:hover{border-color:rgba(0,0,0,.4)}.win-ui-light .win-button.win-button-primary:active,.win-ui-light .win-button:active{background-color:rgba(0,0,0,.4)}.win-ui-light .win-button.win-button-primary:disabled,.win-ui-light .win-button:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2);border-color:transparent}.win-ui-light .win-dropdown{color:#000;background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}.win-ui-light .win-dropdown::-ms-expand{color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-dropdown:hover{background-color:#f2f2f2;border-color:rgba(0,0,0,.6)}.win-ui-light .win-dropdown:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2)}.win-ui-light .win-dropdown:disabled::-ms-expand{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-ui-light .win-dropdown option{color:#000;background-color:#f2f2f2}.win-ui-light .win-dropdown option:checked{color:#fff}.win-ui-light .win-dropdown option:active,.win-ui-light .win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light .win-dropdown optgroup{color:#000;background-color:#f2f2f2}.win-ui-light .win-dropdown optgroup:disabled{color:rgba(0,0,0,.2)}.win-ui-light select[multiple].win-dropdown{border:none;background-color:#f2f2f2}.win-ui-light select[multiple].win-dropdown option,.win-ui-light select[multiple].win-dropdown option:hover{color:#000}.win-ui-light select[multiple].win-dropdown option:checked{color:#fff}.win-ui-light .win-slider{background-color:transparent}.win-ui-light .win-slider:hover::-ms-thumb{background:#1f1f1f}.win-ui-light .win-slider:hover::-webkit-slider-thumb{background:#1f1f1f}.win-ui-light .win-slider:hover::-moz-range-thumb{background:#1f1f1f}.win-ui-light .win-slider:active::-ms-thumb{background:#ccc}.win-ui-light .win-slider:active::-webkit-slider-thumb{background:#ccc}.win-ui-light .win-slider:active::-moz-range-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-ms-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-webkit-slider-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-moz-range-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-ms-fill-lower{background:rgba(0,0,0,.2)}.win-ui-light .win-slider::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-ui-light .win-slider::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider::-moz-range-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-moz-range-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:disabled::-ms-fill-upper{background:rgba(0,0,0,.2)}.win-ui-light .win-slider:disabled::-webkit-slider-runnable-track{background:rgba(0,0,0,.2)}.win-ui-light .win-slider:disabled::-moz-range-track{background:rgba(0,0,0,.2)}.win-ui-light .win-slider::-ms-track{color:transparent;background-color:transparent}.win-ui-light .win-slider::-ms-ticks-after,.win-ui-light .win-slider::-ms-ticks-before{color:rgba(0,0,0,.4)}.win-ui-light .win-textarea,.win-ui-light .win-textbox{color:#000;background-color:rgba(255,255,255,.4);border-color:rgba(0,0,0,.4)}.win-ui-light .win-textarea:-ms-input-placeholder,.win-ui-light .win-textbox:-ms-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea::-webkit-input-placeholder,.win-ui-light .win-textbox::-webkit-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea::-moz-input-placeholder,.win-ui-light .win-textbox::-moz-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea:hover,.win-ui-light .win-textbox:hover{background-color:rgba(255,255,255,.6);border-color:rgba(0,0,0,.6)}.win-ui-light .win-textarea:focus,.win-ui-light .win-textbox:focus{color:#000;background-color:#fff}.win-ui-light .win-textbox::-ms-clear,.win-ui-light .win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-ui-light .win-textbox::-ms-clear:active,.win-ui-light .win-textbox::-ms-reveal:active{color:#fff}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected,.win-ui-light .win-listview.win-selectionstylefilled .win-selected,.win-ui-light .win-selectioncheckmark{color:#000}.win-ui-light .win-xbox :focus{outline:#fff solid 2px}.win-ui-light .win-backbutton:focus,.win-ui-light .win-listview .win-groupheader,.win-ui-light .win-navigation-backbutton:focus .win-back{outline-color:#000}.win-ui-light .win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-ui-light .win-listview .win-surface.win-selectionmode .win-itembox::after,.win-ui-light .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#000;background-color:#e6e6e6}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-light .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-light .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,.win-ui-light html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-light html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-light html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(0,0,0,.2)}.win-ui-light .win-itemcontainer .win-itembox,.win-ui-light .win-listview .win-itembox{background-color:#fff}.win-ui-light .win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-ui-light .win-itemcontainer .win-focusedoutline,.win-ui-light .win-listview .win-focusedoutline{outline:#000 dashed 2px}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-ui-light .win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.4}.win-ui-light .win-flipview .win-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-flipview .win-navbutton:hover:active{background-color:rgba(0,0,0,.8)}.win-ui-light html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(0,0,0,.6)}.win-ui-light .win-back,.win-ui-light .win-backbutton,.win-ui-light .win-navigation-backbutton{background-color:transparent;border:none;color:#000}.win-ui-light .win-menu-containsflyoutcommand button.win-command-flyout-activated:before,.win-ui-light button[aria-checked=true].win-command:before,.win-ui-light.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{position:absolute;height:100%;width:100%;opacity:.4;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px}.win-ui-light .win-backbutton:hover,.win-ui-light .win-navigation-backbutton:hover .win-back{background-color:rgba(0,0,0,.1)}.win-ui-light .win-backbutton:active,.win-ui-light .win-navigation-backbutton:active .win-back{background-color:rgba(0,0,0,.2)}.win-ui-light .win-backbutton:disabled,.win-ui-light .win-backbutton:disabled:active,.win-ui-light .win-navigation-backbutton:disabled,.win-ui-light .win-navigation-backbutton:disabled .win-back,.win-ui-light .win-navigation-backbutton:disabled:active .win-back{color:rgba(0,0,0,.4);background-color:transparent}.win-ui-light .win-tooltip{color:#000;border-color:#ccc;background-color:#f2f2f2}.win-ui-light .win-rating .win-star.win-tentative.win-full{color:rgba(0,0,0,.8)}.win-ui-light .win-rating .win-star.win-average.win-full,.win-ui-light .win-rating .win-star.win-average.win-full.win-disabled{color:rgba(0,0,0,.4)}.win-ui-light .win-rating .win-star.win-empty{color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-header,.win-ui-light .win-toggleswitch-value{color:#000}.win-ui-light .win-toggleswitch-thumb{background-color:rgba(0,0,0,.8)}.win-ui-light .win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(0,0,0,.8)}.win-ui-light .win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-ui-light .win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-header,.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(0,0,0,.2)}.win-ui-light .win-semanticzoom-button,.win-ui-light .win-toggleswitch-on .win-toggleswitch-track,.win-ui-light button.win-command:hover:active,.win-ui-light div.win-command:hover:active{border-color:transparent}.win-ui-light .win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-ui-light .win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(0,0,0,.6)}.win-ui-light .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-ui-light .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(0,0,0,.2)}.win-ui-light .win-semanticzoom-button{background-color:rgba(216,216,216,.33)}.win-ui-light button.win-semanticzoom-button.win-semanticzoom-button:active,.win-ui-light button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#000}.win-ui-light .win-pivot .win-pivot-title{color:#000}.win-ui-light .win-pivot .win-pivot-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(0,0,0,.8)}.win-ui-light .win-pivot button.win-pivot-header{color:rgba(0,0,0,.6);background-color:transparent}.win-ui-light .win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-ui-light .win-pivot button.win-pivot-header:focus{color:rgba(0,0,0,.8)}.win-ui-light .win-pivot button.win-pivot-header.win-pivot-header-selected{color:#000;background-color:transparent}.win-ui-light .win-pivot-header[disabled]{color:rgba(0,0,0,.4)}.win-ui-light button.win-hub-section-header-tabstop,.win-ui-light button.win-hub-section-header-tabstop:hover:active{color:#000}.win-ui-light button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#000 dotted 1px}.win-ui-light button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#000}.win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(0,0,0,.4)}.win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(0,0,0,.4)}.win-ui-light .win-commandimage,.win-ui-light button:enabled:active .win-commandimage,.win-ui-light button:enabled:hover:active .win-commandimage{color:#000}.win-ui-light .win-overlay{outline:0}.win-ui-light hr.win-command{background-color:rgba(0,0,0,.4)}.win-ui-light button.win-command,.win-ui-light div.win-command{border-color:transparent;background-color:transparent}.win-ui-light button:enabled.win-command.win-command.win-keyboard:hover:focus,.win-ui-light button:enabled.win-command.win-keyboard:focus,.win-ui-light div.win-command.win-command.win-keyboard:hover:focus,.win-ui-light div.win-command.win-keyboard:focus{border-color:#000}.win-ui-light button.win-command.win-command:enabled:active,.win-ui-light button.win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light button:disabled .win-commandimage,.win-ui-light button:disabled:active .win-commandimage{color:rgba(0,0,0,.2)}.win-ui-light button .win-label,.win-ui-light button[aria-checked=true]:enabled .win-commandimage,.win-ui-light button[aria-checked=true]:enabled .win-label,.win-ui-light button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#000}.win-ui-light button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#000}.win-ui-light button.win-command:enabled:-ms-keyboard-active{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}.win-ui-light button.win-command:disabled,.win-ui-light button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}.win-ui-light button.win-command:disabled .win-label,.win-ui-light button.win-command:disabled:active .win-label{color:rgba(0,0,0,.2)}.win-ui-light .win-navbar,.win-ui-light.win-navbar{background-color:#e6e6e6;border-color:#e6e6e6}.win-ui-light .win-navbar.win-menulayout .win-navbar-menu,.win-ui-light .win-navbar.win-menulayout .win-toolbar,.win-ui-light.win-navbar.win-menulayout .win-navbar-menu,.win-ui-light.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#000}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#000}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(0,0,0,.2)}.win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#000}.win-ui-light .win-flyout,.win-ui-light .win-settingsflyout,.win-ui-light.win-flyout{background-color:#fff}.win-ui-light .win-menu button,.win-ui-light.win-menu button{background-color:transparent;color:#000}.win-ui-light .win-menu button.win-command.win-command:enabled:hover:active,.win-ui-light .win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}html.win-hoverable .win-ui-light .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-light .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-light .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-light button:enabled[aria-checked=true].win-command:hover:before{opacity:.6}.win-ui-light .win-menu button[aria-checked=true].win-command:before,.win-ui-light.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-ui-light .win-menu button:disabled,.win-ui-light .win-menu button:disabled:active,.win-ui-light.win-menu button:disabled,.win-ui-light.win-menu button:disabled:active{background-color:transparent;color:rgba(0,0,0,.2)}.win-ui-light .win-commandingsurface .win-commandingsurface-actionarea,.win-ui-light.win-commandingsurface .win-commandingsurface-actionarea{background-color:#e6e6e6}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#000}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#000}.win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea,.win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#f2f2f2}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active,.win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#000;background-color:rgba(0,0,0,.2)}.win-ui-light .win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-ui-light .win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-ui-light .win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-ui-light .win-navbarcommand-button.win-keyboard:focus::before,.win-ui-light .win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #000}.win-ui-light .win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-ui-light .win-autosuggestbox-flyout{background-color:#f2f2f2;color:#000}.win-ui-light .win-autosuggestbox-suggestion-query:hover:active,.win-ui-light .win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-searchbox-button,.win-ui-light .win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-ui-light .win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-ui-light .win-splitviewcommand-button{background-color:transparent;color:#000}.win-ui-light .win-navbarcontainer-pageindicator,.win-ui-light .win-splitviewcommand-button.win-pressed{background-color:rgba(0,0,0,.2)}.win-ui-light .win-navbarcontainer-pageindicator-current{background-color:rgba(0,0,0,.6)}.win-ui-light .win-navbarcontainer-navarrow{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(0,0,0,.8)}.win-ui-light .win-navbarcommand-button,.win-ui-light .win-navbarcommand-splitbutton{background-color:rgba(0,0,0,.1);color:#000}.win-ui-light .win-navbarcommand-button.win-pressed,.win-ui-light .win-navbarcommand-splitbutton.win-pressed{background-color:rgba(0,0,0,.28)}.win-ui-light .win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#000}.win-ui-light .win-contentdialog-dialog{background-color:#f2f2f2}.win-ui-light .win-contentdialog-content,.win-ui-light .win-contentdialog-title{color:#000}.win-ui-light .win-contentdialog-backgroundoverlay{background-color:#fff;opacity:.6}.win-ui-light .win-splitview-pane{background-color:#f2f2f2}.win-ui-light button.win-splitviewpanetoggle{color:#000;background-color:transparent}.win-ui-light button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,.win-ui-light button.win-splitviewpanetoggle:active{color:#000;background-color:rgba(0,0,0,.2)}.win-ui-light button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #000}html.win-hoverable .win-ui-light .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-ui-light .win-listview .win-itembox:hover::before,html.win-hoverable .win-ui-light .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#000}.win-ui-light button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,.win-ui-light button.win-splitviewpanetoggle:disabled,.win-ui-light button.win-splitviewpanetoggle:disabled:active{color:rgba(0,0,0,.2);background-color:transparent}html.win-hoverable .win-ui-light .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-ui-light .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#000}html.win-hoverable .win-ui-light .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable .win-ui-light button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-ui-light .win-pivot .win-pivot-navbutton:hover{color:rgba(0,0,0,.6)}html.win-hoverable .win-ui-light .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable .win-ui-light button.win-hub-section-header-tabstop:hover{color:#000}html.win-hoverable .win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(0,0,0,.8)}html.win-hoverable .win-ui-light .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-light .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-light.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-ui-light button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable .win-ui-light button.win-command:enabled:hover .win-commandglyph{color:#000}html.win-hoverable .win-ui-light .win-menu button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable .win-ui-light button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-ui-light .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-ui-light .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.7}html.win-hoverable .win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis{color:#000}html.win-hoverable .win-ui-light .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-ui-light .win-splitviewcommand-button:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-light .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(255,255,255,.2)}html.win-hoverable .win-ui-light .win-navbarcontainer-navarrow:hover{background-color:rgba(0,0,0,.6)}html.win-hoverable .win-ui-light .win-navbarcommand-button:hover,html.win-hoverable .win-ui-light .win-navbarcommand-splitbutton:hover{background-color:rgba(255,255,255,.19)}html.win-hoverable .win-ui-light .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-ui-light .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(255,255,255,.28)}html.win-hoverable .win-ui-light button.win-splitviewpanetoggle:hover{color:#000;background-color:rgba(0,0,0,.1)}@media (-ms-high-contrast){::selection{background-color:Highlight;color:HighlightText}.win-link{color:-ms-hotlight}.win-link:active{color:Highlight}.win-link[disabled]{color:GrayText}.win-checkbox::-ms-check,.win-radio::-ms-check{background-color:ButtonFace;border-color:ButtonText;color:HighlightText}.win-checkbox:indeterminate::-ms-check,.win-radio:indeterminate::-ms-check{background-color:Highlight;border-color:ButtonText;color:ButtonText}.win-checkbox:checked::-ms-check,.win-radio:checked::-ms-check{background-color:Highlight;border-color:HighlightText}.win-checkbox:hover::-ms-check,.win-radio:hover::-ms-check{border-color:Highlight}.win-checkbox:-ms-keyboard-active::-ms-check,.win-checkbox:hover:active::-ms-check,.win-radio:-ms-keyboard-active::-ms-check,.win-radio:hover:active::-ms-check{border-color:Highlight}.win-checkbox:disabled::-ms-check,.win-checkbox:disabled:active::-ms-check,.win-radio:disabled::-ms-check,.win-radio:disabled:active::-ms-check{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-progress-bar,.win-progress-ring,.win-ring{background-color:ButtonFace;color:Highlight}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{background-color:Highlight}.win-progress-bar.win-paused:not(:indeterminate)::-ms-fill,.win-progress-ring.win-paused:not(:indeterminate)::-ms-fill,.win-ring.win-paused:not(:indeterminate)::-ms-fill{background-color:GrayText}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:none;opacity:1}.win-button{border-color:ButtonText;color:ButtonText}.win-button:active,.win-button:hover{border-color:Highlight;color:Highlight}.win-button:disabled{border-color:GrayText;color:GrayText}.win-dropdown{background-color:ButtonFace;border-color:ButtonText;color:WindowText}.win-dropdown:active,.win-dropdown:hover{border-color:Highlight}.win-dropdown:disabled{border-color:GrayText;color:GrayText}.win-dropdown::-ms-expand{color:ButtonText}.win-dropdown:disabled::-ms-expand{color:GrayText}.win-dropdown option{background-color:ButtonFace;color:ButtonText}.win-dropdown option:active,.win-dropdown option:checked,.win-dropdown option:hover{background-color:Highlight;color:HighlightText}.win-dropdown option:disabled,select[multiple].win-dropdown:disabled option{background-color:ButtonFace;color:GrayText}select[multiple].win-dropdown{border:none}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;position:absolute}select[multiple].win-dropdown:disabled option:checked{background-color:GrayText;color:ButtonFace}.win-slider::-ms-track{color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:ButtonText}.win-slider::-ms-fill-lower{background-color:Highlight}.win-slider::-ms-fill-upper{background-color:ButtonText}.win-slider::-ms-thumb{background-color:ButtonText}.win-slider:hover::-ms-thumb{background-color:Highlight}.win-slider:active::-ms-thumb{background-color:Highlight}.win-slider:disabled::-ms-fill-lower,.win-slider:disabled::-ms-fill-upper,.win-slider:disabled::-ms-thumb{background-color:GrayText}.win-textarea,.win-textbox{border-color:ButtonText;color:ButtonText}.win-textarea:active,.win-textarea:focus,.win-textarea:hover,.win-textbox:active,.win-textbox:focus,.win-textbox:hover{border-color:Highlight}.win-textarea:disabled,.win-textbox:disabled{border-color:GrayText;color:GrayText}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:WindowText}.win-textarea::-ms-input-placeholder,.win-textbox::-ms-input-placeholder{color:WindowText}.win-textarea:disabled:-ms-input-placeholder,.win-textbox:disabled:-ms-input-placeholder{color:GrayText}.win-textarea:disabled::-ms-input-placeholder,.win-textbox:disabled::-ms-input-placeholder{color:GrayText}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{background-color:ButtonFace;color:ButtonText}.win-textbox::-ms-clear:hover,.win-textbox::-ms-reveal:hover{color:Highlight}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{background-color:Highlight;color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-thumb,.win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-header,.win-toggleswitch-value{color:HighlightText}.win-toggleswitch-off .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:Highlight;background-color:Highlight}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:GrayText}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-on .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:Background}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:GrayText;border-color:GrayText}.win-toggleswitch-off.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-enabled .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:Highlight}.win-pivot .win-pivot-title{color:WindowText}.win-pivot .win-pivot-navbutton{background-color:Highlight;color:HighlightText}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:HighlightText}.win-pivot button.win-pivot-header{color:HighlightText;background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:HighlightText}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:HighlightText;background-color:Highlight}.win-pivot-header[disabled]{color:GrayText}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:ButtonText}.win-overlay{outline:0}hr.win-command{background-color:ButtonText}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:ButtonText}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:GrayText}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:ButtonText}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:ButtonText}button[aria-checked=true].win-command:before{opacity:1}button.win-command:enabled:-ms-keyboard-active{background-color:Highlight;color:ButtonText}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:GrayText}.win-navbar{background-color:ButtonFace;border-color:Highlight}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:GrayText}.win-menu button,.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:ButtonText}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:Highlight}.win-flyout,.win-settingsflyout{background-color:ButtonFace}.win-menu button{background-color:transparent}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{opacity:.6}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:GrayText}button[aria-checked=true].win-command:before{border-color:Highlight;background-color:Highlight}.win-commandingsurface .win-commandingsurface-actionarea,.win-commandingsurface .win-commandingsurface-overflowarea{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:ButtonFace;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:Highlight}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:ButtonText;background-color:Highlight}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-insetoutline{display:block;border:1px solid ButtonText;pointer-events:none;background-color:transparent;z-index:1;position:absolute;top:0;left:0;height:calc(100% - 2px);width:calc(100% - 2px)}.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closing .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-opening .win-commandingsurface-insetoutline{display:none}.win-contentdialog-dialog{background-color:Window}.win-contentdialog-content,.win-contentdialog-title{color:WindowText}.win-contentdialog-backgroundoverlay{background-color:Window;opacity:.6}.win-splitview-pane{background-color:ButtonFace}.win-splitview.win-splitview-pane-opened .win-splitview-paneoutline{display:block;border-color:ButtonText}.win-splitview.win-splitview-animating .win-splitview-paneoutline{display:none}button.win-splitviewpanetoggle{color:ButtonText;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:ButtonText;background-color:Highlight}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted ButtonText}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:GrayText;background-color:transparent}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:HighlightText}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:Highlight}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:Highlight;color:HighlightText}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:1}html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:Highlight}html.win-hoverable button.win-splitviewpanetoggle:hover{color:ButtonText;background-color:Highlight}} \ No newline at end of file +.win-button,.win-slider{-webkit-appearance:none}.win-button,.win-link{touch-action:manipulation}@keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@keyframes WinJS-opacity-in{from{opacity:0}to{opacity:1}}@keyframes WinJS-opacity-out{from{opacity:1}to{opacity:0}}@keyframes WinJS-scale-up{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes WinJS-scale-down{from{transform:scale(1)}to{transform:scale(.85)}}@keyframes WinJS-default-remove{from{transform:translateX(11px)}to{transform:none}}@keyframes WinJS-default-remove-rtl{from{transform:translateX(-11px)}to{transform:none}}@keyframes WinJS-default-apply{from{transform:none}to{transform:translateX(11px)}}@keyframes WinJS-default-apply-rtl{from{transform:none}to{transform:translateX(-11px)}}@keyframes WinJS-showEdgeUI{from{transform:translateY(-70px)}to{transform:none}}@keyframes WinJS-showPanel{from{transform:translateX(364px)}to{transform:none}}@keyframes WinJS-showPanel-rtl{from{transform:translateX(-364px)}to{transform:none}}@keyframes WinJS-hideEdgeUI{from{transform:none}to{transform:translateY(-70px)}}@keyframes WinJS-hidePanel{from{transform:none}to{transform:translateX(364px)}}@keyframes WinJS-hidePanel-rtl{from{transform:none}to{transform:translateX(-364px)}}@keyframes WinJS-showPopup{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-dragSourceEnd{from{transform:translateX(11px) scale(1.05)}to{transform:none}}@keyframes WinJS-dragSourceEnd-rtl{from{transform:translateX(-11px) scale(1.05)}to{transform:none}}@keyframes WinJS-enterContent{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-exit{from,to{transform:none}}@keyframes WinJS-enterPage{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-updateBadge{from{transform:translateY(24px)}to{transform:none}}@-webkit-keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@-webkit-keyframes -webkit-WinJS-opacity-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes -webkit-WinJS-opacity-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes -webkit-WinJS-scale-up{from{-webkit-transform:scale(.85)}to{-webkit-transform:scale(1)}}@-webkit-keyframes -webkit-WinJS-scale-down{from{-webkit-transform:scale(1)}to{-webkit-transform:scale(.85)}}@-webkit-keyframes -webkit-WinJS-default-remove{from{-webkit-transform:translateX(11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-remove-rtl{from{-webkit-transform:translateX(-11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-apply{from{-webkit-transform:none}to{-webkit-transform:translateX(11px)}}@-webkit-keyframes -webkit-WinJS-default-apply-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-11px)}}@-webkit-keyframes -webkit-WinJS-showEdgeUI{from{-webkit-transform:translateY(-70px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel{from{-webkit-transform:translateX(364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel-rtl{from{-webkit-transform:translateX(-364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-hideEdgeUI{from{-webkit-transform:none}to{-webkit-transform:translateY(-70px)}}@-webkit-keyframes -webkit-WinJS-hidePanel{from{-webkit-transform:none}to{-webkit-transform:translateX(364px)}}@-webkit-keyframes -webkit-WinJS-hidePanel-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-364px)}}@-webkit-keyframes -webkit-WinJS-showPopup{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd{from{-webkit-transform:translateX(11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd-rtl{from{-webkit-transform:translateX(-11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterContent{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-exit{from,to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterPage{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-updateBadge{from{-webkit-transform:translateY(24px)}to{-webkit-transform:none}}@font-face{font-family:"Segoe UI Command";src:local("Segoe MDL2 Assets");font-weight:400;font-style:normal}@font-face{font-family:Symbols;src:url(../fonts/Symbols.ttf)}.win-h1,.win-type-header{font-size:46px;font-weight:200;line-height:1.216;letter-spacing:0}.win-h2,.win-type-subheader{font-size:34px;font-weight:200;line-height:1.176}.win-h3,.win-type-title{font-size:24px;font-weight:300;line-height:1.167}.win-h4,.win-type-subtitle{font-size:20px;font-weight:400;line-height:1.2}.win-h6,.win-type-body{font-size:15px;font-weight:400;line-height:1.333}.win-h5,.win-type-base{font-size:15px;font-weight:500;line-height:1.333}.win-type-caption{font-size:12px;font-weight:400;line-height:1.167}@font-face{font-family:"Segoe UI";font-weight:200;src:local("Segoe UI Light")}@font-face{font-family:"Segoe UI";font-weight:300;src:local("Segoe UI Semilight")}@font-face{font-family:"Segoe UI";font-weight:400;src:local("Segoe UI")}@font-face{font-family:"Segoe UI";font-weight:500;src:local("Segoe UI Semibold")}@font-face{font-family:"Segoe UI";font-weight:600;src:local("Segoe UI Bold")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:400;src:local("Segoe UI Italic")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:700;src:local("Segoe UI Bold Italic")}@font-face{font-family:"Microsoft Yahei UI";font-weight:200;src:local("Microsoft Yahei UI Light")}@font-face{font-family:"Microsoft Yahei UI";font-weight:300;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:500;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:600;src:local("Microsoft Yahei UI Bold")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:200;src:local("Microsoft JhengHei UI Light")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:300;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:500;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:600;src:local("Microsoft JhengHei UI Bold")}.win-button:-ms-lang(am,ti),.win-dropdown:-ms-lang(am,ti),.win-h1:-ms-lang(am,ti),.win-h2:-ms-lang(am,ti),.win-h3:-ms-lang(am,ti),.win-h4:-ms-lang(am,ti),.win-h5:-ms-lang(am,ti),.win-h6:-ms-lang(am,ti),.win-link:-ms-lang(am,ti),.win-textarea:-ms-lang(am,ti),.win-textbox:-ms-lang(am,ti),.win-type-base:-ms-lang(am,ti),.win-type-body:-ms-lang(am,ti),.win-type-caption:-ms-lang(am,ti),.win-type-header:-ms-lang(am,ti),.win-type-subheader:-ms-lang(am,ti),.win-type-subtitle:-ms-lang(am,ti),.win-type-title:-ms-lang(am,ti){font-family:Ebrima,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-dropdown:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h1:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h2:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h3:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h4:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h5:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h6:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-link:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textarea:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textbox:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-base:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-body:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-caption:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-header:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subheader:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subtitle:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-title:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te){font-family:"Nirmala UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(chr-CHER-US),.win-dropdown:-ms-lang(chr-CHER-US),.win-h1:-ms-lang(chr-CHER-US),.win-h2:-ms-lang(chr-CHER-US),.win-h3:-ms-lang(chr-CHER-US),.win-h4:-ms-lang(chr-CHER-US),.win-h5:-ms-lang(chr-CHER-US),.win-h6:-ms-lang(chr-CHER-US),.win-link:-ms-lang(chr-CHER-US),.win-textarea:-ms-lang(chr-CHER-US),.win-textbox:-ms-lang(chr-CHER-US),.win-type-base:-ms-lang(chr-CHER-US),.win-type-body:-ms-lang(chr-CHER-US),.win-type-caption:-ms-lang(chr-CHER-US),.win-type-header:-ms-lang(chr-CHER-US),.win-type-subheader:-ms-lang(chr-CHER-US),.win-type-subtitle:-ms-lang(chr-CHER-US),.win-type-title:-ms-lang(chr-CHER-US){font-family:Gadugi,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ja),.win-dropdown:-ms-lang(ja),.win-h1:-ms-lang(ja),.win-h2:-ms-lang(ja),.win-h3:-ms-lang(ja),.win-h4:-ms-lang(ja),.win-h5:-ms-lang(ja),.win-h6:-ms-lang(ja),.win-link:-ms-lang(ja),.win-textarea:-ms-lang(ja),.win-textbox:-ms-lang(ja),.win-type-base:-ms-lang(ja),.win-type-body:-ms-lang(ja),.win-type-caption:-ms-lang(ja),.win-type-header:-ms-lang(ja),.win-type-subheader:-ms-lang(ja),.win-type-subtitle:-ms-lang(ja),.win-type-title:-ms-lang(ja){font-family:"Yu Gothic UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(km,lo,th,bug-Bugi),.win-dropdown:-ms-lang(km,lo,th,bug-Bugi),.win-h1:-ms-lang(km,lo,th,bug-Bugi),.win-h2:-ms-lang(km,lo,th,bug-Bugi),.win-h3:-ms-lang(km,lo,th,bug-Bugi),.win-h4:-ms-lang(km,lo,th,bug-Bugi),.win-h5:-ms-lang(km,lo,th,bug-Bugi),.win-h6:-ms-lang(km,lo,th,bug-Bugi),.win-link:-ms-lang(km,lo,th,bug-Bugi),.win-textarea:-ms-lang(km,lo,th,bug-Bugi),.win-textbox:-ms-lang(km,lo,th,bug-Bugi),.win-type-base:-ms-lang(km,lo,th,bug-Bugi),.win-type-body:-ms-lang(km,lo,th,bug-Bugi),.win-type-caption:-ms-lang(km,lo,th,bug-Bugi),.win-type-header:-ms-lang(km,lo,th,bug-Bugi),.win-type-subheader:-ms-lang(km,lo,th,bug-Bugi),.win-type-subtitle:-ms-lang(km,lo,th,bug-Bugi),.win-type-title:-ms-lang(km,lo,th,bug-Bugi){font-family:"Leelawadee UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ko),.win-dropdown:-ms-lang(ko),.win-h1:-ms-lang(ko),.win-h2:-ms-lang(ko),.win-h3:-ms-lang(ko),.win-h4:-ms-lang(ko),.win-h5:-ms-lang(ko),.win-h6:-ms-lang(ko),.win-link:-ms-lang(ko),.win-textarea:-ms-lang(ko),.win-textbox:-ms-lang(ko),.win-type-base:-ms-lang(ko),.win-type-body:-ms-lang(ko),.win-type-caption:-ms-lang(ko),.win-type-header:-ms-lang(ko),.win-type-subheader:-ms-lang(ko),.win-type-subtitle:-ms-lang(ko),.win-type-title:-ms-lang(ko){font-family:"Malgun Gothic",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(jv-Java),.win-dropdown:-ms-lang(jv-Java),.win-h1:-ms-lang(jv-Java),.win-h2:-ms-lang(jv-Java),.win-h3:-ms-lang(jv-Java),.win-h4:-ms-lang(jv-Java),.win-h5:-ms-lang(jv-Java),.win-h6:-ms-lang(jv-Java),.win-link:-ms-lang(jv-Java),.win-textarea:-ms-lang(jv-Java),.win-textbox:-ms-lang(jv-Java),.win-type-base:-ms-lang(jv-Java),.win-type-body:-ms-lang(jv-Java),.win-type-caption:-ms-lang(jv-Java),.win-type-header:-ms-lang(jv-Java),.win-type-subheader:-ms-lang(jv-Java),.win-type-subtitle:-ms-lang(jv-Java),.win-type-title:-ms-lang(jv-Java){font-family:"Javanese Text",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(cop-Copt),.win-dropdown:-ms-lang(cop-Copt),.win-h1:-ms-lang(cop-Copt),.win-h2:-ms-lang(cop-Copt),.win-h3:-ms-lang(cop-Copt),.win-h4:-ms-lang(cop-Copt),.win-h5:-ms-lang(cop-Copt),.win-h6:-ms-lang(cop-Copt),.win-link:-ms-lang(cop-Copt),.win-textarea:-ms-lang(cop-Copt),.win-textbox:-ms-lang(cop-Copt),.win-type-base:-ms-lang(cop-Copt),.win-type-body:-ms-lang(cop-Copt),.win-type-caption:-ms-lang(cop-Copt),.win-type-header:-ms-lang(cop-Copt),.win-type-subheader:-ms-lang(cop-Copt),.win-type-subtitle:-ms-lang(cop-Copt),.win-type-title:-ms-lang(cop-Copt){font-family:"Segoe MDL2 Assets",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-dropdown:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h1:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h2:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h3:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h4:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h5:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h6:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-link:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textarea:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textbox:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-base:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-body:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-caption:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-header:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subheader:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subtitle:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-title:-ms-lang(zh-CN,zh-Hans,zh-SG){font-family:"Microsoft YaHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-dropdown:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h1:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h2:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h3:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h4:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h5:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h6:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-link:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textarea:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textbox:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-base:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-body:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-caption:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-header:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subheader:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subtitle:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-title:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO){font-family:"Microsoft JhengHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}body,html{width:100%;height:100%;margin:0;cursor:default;-webkit-touch-callout:none;-ms-scroll-translation:vertical-to-horizontal;-webkit-tap-highlight-color:transparent}html{overflow:hidden;direction:ltr}.win-toggleswitch:lang(ar),.win-toggleswitch:lang(dv),.win-toggleswitch:lang(fa),.win-toggleswitch:lang(he),.win-toggleswitch:lang(ku-Arab),.win-toggleswitch:lang(pa-Arab),.win-toggleswitch:lang(prs),.win-toggleswitch:lang(ps),.win-toggleswitch:lang(qps-plocm),.win-toggleswitch:lang(sd-Arab),.win-toggleswitch:lang(syr),.win-toggleswitch:lang(ug),.win-toggleswitch:lang(ur),html:lang(ar),html:lang(dv),html:lang(fa),html:lang(he),html:lang(ku-Arab),html:lang(pa-Arab),html:lang(prs),html:lang(ps),html:lang(qps-plocm),html:lang(sd-Arab),html:lang(syr),html:lang(ug),html:lang(ur){direction:rtl}body{-ms-content-zooming:none}iframe{border:0}.win-button,.win-textarea,.win-textbox{border-style:solid;border-width:2px;background-clip:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-button,.win-dropdown,.win-h1,.win-h2,.win-h3,.win-h4,.win-h5,.win-h6,.win-link,.win-textarea,.win-textbox,.win-type-base,.win-type-body,.win-type-caption,.win-type-header,.win-type-subheader,.win-type-subtitle,.win-type-title{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji"}.win-textarea,.win-textbox{-ms-user-select:element;margin:8px 0;width:296px;min-width:64px;min-height:28px;box-sizing:border-box;padding:3px 6px 5px 10px;outline:0}.win-textbox::-ms-value{margin:0;padding:0}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{padding-right:2px;width:30px;height:32px;margin:-8px -8px -8px 2px}.win-textbox:lang(ar)::-ms-clear,.win-textbox:lang(ar)::-ms-reveal,.win-textbox:lang(dv)::-ms-clear,.win-textbox:lang(dv)::-ms-reveal,.win-textbox:lang(fa)::-ms-clear,.win-textbox:lang(fa)::-ms-reveal,.win-textbox:lang(he)::-ms-clear,.win-textbox:lang(he)::-ms-reveal,.win-textbox:lang(ku-Arab)::-ms-clear,.win-textbox:lang(ku-Arab)::-ms-reveal,.win-textbox:lang(pa-Arab)::-ms-clear,.win-textbox:lang(pa-Arab)::-ms-reveal,.win-textbox:lang(prs)::-ms-clear,.win-textbox:lang(prs)::-ms-reveal,.win-textbox:lang(ps)::-ms-clear,.win-textbox:lang(ps)::-ms-reveal,.win-textbox:lang(qps-plocm)::-ms-clear,.win-textbox:lang(qps-plocm)::-ms-reveal,.win-textbox:lang(sd-Arab)::-ms-clear,.win-textbox:lang(sd-Arab)::-ms-reveal,.win-textbox:lang(syr)::-ms-clear,.win-textbox:lang(syr)::-ms-reveal,.win-textbox:lang(ug)::-ms-clear,.win-textbox:lang(ug)::-ms-reveal,.win-textbox:lang(ur)::-ms-clear,.win-textbox:lang(ur)::-ms-reveal{margin-left:-8px;margin-right:2px}.win-textarea{resize:none;overflow-y:auto}.win-checkbox,.win-radio{width:20px;height:20px;margin-right:8px;margin-top:12px;margin-bottom:12px}.win-checkbox:lang(ar),.win-checkbox:lang(dv),.win-checkbox:lang(fa),.win-checkbox:lang(he),.win-checkbox:lang(ku-Arab),.win-checkbox:lang(pa-Arab),.win-checkbox:lang(prs),.win-checkbox:lang(ps),.win-checkbox:lang(qps-plocm),.win-checkbox:lang(sd-Arab),.win-checkbox:lang(syr),.win-checkbox:lang(ug),.win-checkbox:lang(ur),.win-radio:lang(ar),.win-radio:lang(dv),.win-radio:lang(fa),.win-radio:lang(he),.win-radio:lang(ku-Arab),.win-radio:lang(pa-Arab),.win-radio:lang(prs),.win-radio:lang(ps),.win-radio:lang(qps-plocm),.win-radio:lang(sd-Arab),.win-radio:lang(syr),.win-radio:lang(ug),.win-radio:lang(ur){margin-left:8px;margin-right:0}.win-checkbox::-ms-check,.win-radio::-ms-check{border-style:solid;display:inline-block;border-width:2px;background-clip:border-box}.win-button{margin:0;min-height:32px;min-width:120px;padding:4px 8px}.win-button.win-button-file{border:none;min-width:100px;min-height:20px;width:340px;height:32px;padding:0;margin:7px 8px 21px;background-clip:padding-box}.win-button.win-button-file::-ms-value{margin:0;border-width:2px;border-style:solid none solid solid;border-radius:0;background-clip:border-box;font-size:15px;font-weight:400;line-height:1.333}.win-button.win-button-file:lang(ar)::-ms-value,.win-button.win-button-file:lang(dv)::-ms-value,.win-button.win-button-file:lang(fa)::-ms-value,.win-button.win-button-file:lang(he)::-ms-value,.win-button.win-button-file:lang(ku-Arab)::-ms-value,.win-button.win-button-file:lang(pa-Arab)::-ms-value,.win-button.win-button-file:lang(prs)::-ms-value,.win-button.win-button-file:lang(ps)::-ms-value,.win-button.win-button-file:lang(qps-plocm)::-ms-value,.win-button.win-button-file:lang(sd-Arab)::-ms-value,.win-button.win-button-file:lang(syr)::-ms-value,.win-button.win-button-file:lang(ug)::-ms-value,.win-button.win-button-file:lang(ur)::-ms-value{border-left-style:none;border-right-style:solid}.win-button.win-button-file::-ms-browse{margin:0;padding:0 18px;border-width:2px;border-style:solid;background-clip:padding-box;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown{min-width:56px;max-width:368px;min-height:32px;margin:8px 0;border-style:solid;border-width:2px;background-clip:border-box;background-image:none;box-sizing:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown::-ms-value{padding:5px 12px 7px;margin:0}.win-dropdown::-ms-expand{border:none;margin-right:5px;margin-left:3px;margin-bottom:-2px;font-size:20px}.win-code,.win-dropdown option{font-size:15px;font-weight:400;line-height:1.333}select[multiple].win-dropdown{padding:0 0 0 12px;vertical-align:bottom}.win-progress-bar,.win-progress-ring,.win-ring{width:180px;height:4px;-webkit-appearance:none}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){border-style:none}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{border-style:none}.win-progress-bar.win-medium,.win-progress-ring.win-medium,.win-ring.win-medium{width:296px}.win-progress-bar.win-large,.win-progress-ring.win-large,.win-ring.win-large{width:100%}.win-progress-bar:indeterminate::-webkit-progress-value,.win-progress-ring:indeterminate::-webkit-progress-value,.win-ring:indeterminate::-webkit-progress-value{position:relative;-webkit-animation:win-progress-indeterminate 3s linear infinite}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:win-progress-fade-out;animation-duration:3s;animation-timing-function:cubic-bezier(.03,.76,.31,1);opacity:.5}.win-progress-bar.win-error::-ms-fill,.win-progress-ring.win-error::-ms-fill,.win-ring.win-error::-ms-fill{opacity:0}.win-progress-ring,.win-ring{width:20px;height:20px}.win-progress-ring:indeterminate::-ms-fill,.win-ring:indeterminate::-ms-fill{animation-name:-ms-ring}.win-progress-ring.win-medium,.win-ring.win-medium{width:40px;height:40px}.win-progress-ring.win-large,.win-ring.win-large{width:60px;height:60px}@-webkit-keyframes win-progress-indeterminate{0%{left:0;width:25%}50%{left:calc(75%);width:25%}75%{left:calc(100%);width:0}75.1%{left:0;width:0}100%{left:0;width:25%}}@keyframes win-progress-fade-out{from{opacity:1}to{opacity:.5}}.win-slider{width:280px;height:44px}.win-slider::-ms-track{height:2px;border-style:none}.win-slider::-webkit-slider-runnable-track{height:2px;border-style:none}.win-slider::-moz-range-track{height:2px;border-style:none}.win-slider::-moz-range-thumb{width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-11px;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-ms-thumb{margin-top:inherit;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider.win-vertical{writing-mode:bt-lr;width:44px;height:280px}.win-slider.win-vertical::-ms-track{width:2px;height:auto}.win-slider.win-vertical::-ms-thumb{width:24px;height:8px}.win-slider.win-vertical:lang(ar),.win-slider.win-vertical:lang(dv),.win-slider.win-vertical:lang(fa),.win-slider.win-vertical:lang(he),.win-slider.win-vertical:lang(ku-Arab),.win-slider.win-vertical:lang(pa-Arab),.win-slider.win-vertical:lang(prs),.win-slider.win-vertical:lang(ps),.win-slider.win-vertical:lang(qps-plocm),.win-slider.win-vertical:lang(sd-Arab),.win-slider.win-vertical:lang(syr),.win-slider.win-vertical:lang(ug),.win-slider.win-vertical:lang(ur){writing-mode:bt-rl}.win-link{text-decoration:underline;cursor:pointer}.win-code{font-family:Consolas,Menlo,Monaco,"Courier New",monospace}.win-back::before,.win-backbutton::before,.win-flipview .win-navbutton,.win-pivot .win-pivot-navbutton,.win-rating .win-star,.win-selectioncheckmark,.win-semanticzoom-button::before{font-family:"Segoe MDL2 Assets",Symbols}.win-type-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.win-h1.win-type-ellipsis,.win-type-header.win-type-ellipsis,h1.win-type-ellipsis{line-height:1.4286}.win-h2.win-type-ellipsis,.win-type-subheader.win-type-ellipsis,h2.win-type-ellipsis{line-height:1.5}.win-scrollview{overflow-x:auto;overflow-y:hidden;height:400px;width:100%}h1.win-h1,h1.win-type-header,h2.win-h2,h2.win-type-subheader,h3.win-h3,h3.win-type-title,h4.win-h4,h4.win-type-subtitle,h5.win-h5,h5.win-type-base,h6.win-h6,h6.win-type-body{margin-top:0;margin-bottom:0}.win-type-body p,p.win-type-body{font-weight:300}.win-listview{overflow:hidden;height:400px}.win-listview .win-surface{overflow:visible}.win-listview>.win-viewport.win-horizontal .win-surface{height:100%}.win-listview>.win-viewport.win-vertical .win-surface{width:100%}.win-listview>.win-viewport{position:relative;width:100%;height:100%;z-index:0;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;white-space:nowrap}.win-listview>.win-viewport.win-horizontal{overflow-x:auto;overflow-y:hidden}.win-listview>.win-viewport.win-vertical{overflow-x:hidden;overflow-y:auto}.win-listview .win-itemscontainer{overflow:hidden}.win-listview .win-itemscontainer-padder{width:0;height:0;margin:0;padding:0;border:0;overflow:hidden}.win-listview>.win-horizontal .win-container{margin:10px 5px 0}.win-listview>.win-vertical .win-container{margin:10px 24px 0 7px}.win-listview.win-rtl>.win-vertical .win-container{margin:10px 7px 0 24px}.win-itemcontainer .win-itembox,.win-itemcontainer.win-container,.win-listview .win-container,.win-listview .win-itembox{cursor:default;z-index:0}.win-listview .win-container{touch-action:pan-x pan-y pinch-zoom}.win-semanticzoom .win-listview>.win-viewport.win-zooming-x{overflow-x:visible}.win-semanticzoom .win-listview>.win-viewport.win-zooming-y{overflow-y:visible}.win-itemcontainer .win-itembox,.win-listview .win-itembox{width:100%;height:100%}.win-itemcontainer .win-item,.win-listview .win-item{z-index:1;overflow:hidden;position:relative}.win-listview>.win-vertical .win-item{width:100%}.win-itemcontainer .win-item:focus,.win-listview .win-item:focus{outline-style:none}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{width:calc(100% - 4px);height:calc(100% - 4px);left:2px;top:2px;position:absolute;z-index:5;pointer-events:none}.win-container.win-selected .win-selectionborder,html.win-hoverable .win-container.win-selected:hover .win-selectionborder{border-width:2px;border-style:solid}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{position:absolute;left:0;top:0;content:"";width:calc(100% - 4px);height:calc(100% - 4px);pointer-events:none;border-style:solid;border-width:2px;z-index:3}html.win-hoverable .win-itemcontainer.win-itembox.win-selected:hover::before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox.win-selected:hover::before,html.win-hoverable .win-listview.win-selectionstylefilled .win-itembox:hover::before{display:none}.win-listview .win-groupheader{padding:10px 10px 10px 2px;overflow:hidden;outline-width:.01px;outline-style:none;float:left;font-size:34px;font-weight:200;line-height:1.176}.win-listview .win-groupheadercontainer{z-index:1;touch-action:pan-x pan-y pinch-zoom;overflow:hidden}.win-listview .win-horizontal .win-footercontainer,.win-listview .win-horizontal .win-headercontainer{height:100%;display:inline-block;overflow:hidden;white-space:normal}.win-listview .win-vertical .win-footercontainer,.win-listview .win-vertical .win-headercontainer{width:100%;display:block;overflow:hidden;white-space:normal}.win-listview .win-groupheader.win-focused{outline-style:dotted}.win-listview .win-viewport,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover,html.win-hoverable .win-listview.win-dragover .win-container:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover,html.win-hoverable .win-selectionstylefilled .win-itemcontainer.win-container:hover{outline:0}.win-listview.win-rtl .win-groupheader{padding-left:10px;padding-right:2px;float:right}.win-listview.win-groups .win-horizontal .win-groupleader{margin-left:70px}.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader{margin-left:0;margin-right:70px}.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader,.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader{margin-top:70px}.win-listview.win-groups>.win-vertical .win-surface.win-gridlayout,.win-listview.win-groups>.win-vertical .win-surface.win-listlayout{margin-top:-65px}.win-listview.win-groups>.win-horizontal .win-surface{margin-left:-70px}.win-listview.win-groups.win-rtl>.win-horizontal .win-surface{margin-left:0;margin-right:-70px}.win-listview .win-surface{-webkit-margin-collapse:separate;white-space:normal}.win-surface ._win-proxy{position:relative;overflow:hidden;width:0;height:0;touch-action:none}.win-selectionborder{position:absolute;opacity:inherit;z-index:2;pointer-events:none}.win-container.win-selected .win-selectionborder{top:0;left:0;right:0;bottom:0}.win-selectionbackground{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}.win-selectioncheckmarkbackground{position:absolute;top:2px;right:2px;width:14px;height:11px;margin:0;padding:0;border-style:solid;z-index:3;display:none;border-width:4px 2px 3px}.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground,.win-listview.win-rtl .win-selectioncheckmarkbackground{left:2px;right:auto}.win-listview .win-selectionmode .win-selectioncheckmark,.win-listview .win-selectionmode .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer.win-selectionmode .win-selectioncheckmark,.win-selectionmode.win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode.win-itemcontainer.win-selectionmode .win-selectioncheckmark{display:block}.win-selectioncheckmark{position:absolute;margin:0;padding:2px;right:1px;top:1px;font-size:14px;z-index:4;line-height:1;display:none}.win-rtl .win-selectioncheckmark{right:auto;left:0}.win-selectionstylefilled .win-container,.win-selectionstylefilled.win-container{overflow:hidden}.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after,.win-selectionmode.win-itemcontainer.win-container .win-itembox::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none;right:2px;top:2px;z-index:3}.win-itemcontainer.win-rtl.win-selectionmode.win-container .win-itembox::after,.win-listview.win-rtl .win-surface.win-selectionmode .win-itembox::after,.win-rtl .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{right:auto;left:2px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(40px,0);-webkit-transform:translate(40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(-40px,0);-webkit-transform:translate(-40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-hideselectionmode .win-item,.win-listview.win-selectionstylefilled .win-surface.win-hidingselectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:none;-webkit-transform:none}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox::after{left:12px;right:auto;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px;background-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-itembox::after{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:12px;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmark{left:13px;top:50%;margin-top:-8px;display:block;width:14px;height:14px}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmark{left:0;right:10px}.win-itemcontainer.win-selectionmode.win-selectionstylefilled.win-container .win-itembox.win-selected::after,.win-listview .win-surface.win-selectionmode .win-itembox.win-selected::after,.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox.win-nonselectable::after,.win-selectionmode .win-itemcontainer.win-selectionstylefilled.win-container .win-itembox.win-selected::after{display:none}.win-listview .win-progress{left:50%;top:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;z-index:1;position:absolute}.win-flipview,.win-itemcontainer .win-itembox,.win-itemcontainer.win-container{position:relative}.win-listview .win-progress::-ms-fill{animation-name:-ms-ring}.win-listview .win-itemsblock{overflow:hidden}.win-listview .win-horizontal .win-nocssgrid.win-listlayout,.win-listview .win-surface.win-nocssgrid.win-gridlayout,.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;vertical-align:top}.win-listview .win-horizontal .win-surface.win-nocssgrid{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-surface.win-nocssgrid{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout{display:block}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder{height:0;width:0}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{display:none}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout{display:block}.win-listview .win-listlayout .win-itemscontainer{overflow:visible}.win-listview .win-listlayout .win-itemsblock{padding-bottom:4px;margin-bottom:-4px}.win-listview>.win-vertical .win-listlayout.win-headerpositiontop .win-groupheader{float:none}.win-listview>.win-vertical .win-surface.win-listlayout{margin-bottom:5px}.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface{display:-ms-inline-grid;-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer{-ms-grid-column:1}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-column:1}.win-listview>.win-horizontal .win-surface.win-listlayout{display:-ms-inline-grid;-ms-grid-columns:auto;-ms-grid-rows:auto;vertical-align:top}.win-listview .win-horizontal .win-listlayout .win-itemsblock{height:100%}.win-listview .win-horizontal .win-listlayout .win-itemscontainer{margin-bottom:24px}.win-listview .win-horizontal .win-listlayout .win-container{height:calc(100% - 10px)}.win-listview>.win-horizontal .win-surface.win-listlayout.win-headerpositiontop{-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-gridlayout.win-surface{display:-ms-inline-grid;vertical-align:top}.win-listview .win-gridlayout .win-container{margin:5px}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer,.win-listview.win-groups .win-gridlayout .win-itemscontainer{display:none}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout{display:block}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-row:1}.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-listlayout .win-itemsblock,.win-listview .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-itemscontainer-padder{height:100%}.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout{display:-ms-grid}.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock{width:100%}.win-listview .win-cellspanninggridlayout .win-container.win-laidout{display:block}.win-listview .win-cellspanninggridlayout .win-container{display:none}.win-listview.win-dragover .win-itembox{transform:scale(.86);-webkit-transform:scale(.86)}.win-itemcontainer .win-itembox.win-dragsource,.win-listview .win-itembox.win-dragsource{opacity:.5;transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-dragover .win-itembox.win-dragsource{opacity:0;transition:none;-webkit-transition:none}.win-listview .win-itembox{position:relative;transition:transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:-webkit-transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-groups>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:70px}.win-listview.win-groups.win-rtl>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:0;margin-right:70px}.win-listview>.win-horizontal .win-surface.win-listlayout{margin-left:70px}.win-listview.win-rtl>.win-horizontal .win-surface.win-listlayout{margin-left:0;margin-right:70px}.win-listview .win-vertical .win-gridlayout.win-surface{margin-left:20px}.win-listview.win-rtl .win-vertical .win-gridlayout.win-surface{margin-left:0;margin-right:20px}.win-itemcontainer{touch-action:pan-x pan-y pinch-zoom}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{opacity:.4}html.win-hoverable .win-itemcontainer.win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed.win-itembox:hover::before{opacity:.6}.win-listview.win-selectionstylefilled .win-itembox,.win-selectionstylefilled .win-itemcontainer .win-itembox,.win-selectionstylefilled.win-itemcontainer .win-itembox{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected.win-selected a:hover:active,.win-listview.win-selectionstylefilled .win-selected.win-selected a:hover:active{color:rgba(255,255,255,.6)}html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected a:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected a:hover{color:rgba(255,255,255,.8)}.win-itemcontainer.win-selectionstylefilled.win-selected .win-textarea,.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input[type=button],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=email],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=number],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=password],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=reset],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=search],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=tel],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=text],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=url],.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected .win-textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input[type=button],.win-listview.win-selectionstylefilled .win-selected input[type=email],.win-listview.win-selectionstylefilled .win-selected input[type=number],.win-listview.win-selectionstylefilled .win-selected input[type=password],.win-listview.win-selectionstylefilled .win-selected input[type=reset],.win-listview.win-selectionstylefilled .win-selected input[type=search],.win-listview.win-selectionstylefilled .win-selected input[type=tel],.win-listview.win-selectionstylefilled .win-selected input[type=text],.win-listview.win-selectionstylefilled .win-selected input[type=url],.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea{background-clip:border-box;background-color:rgba(255,255,255,.8);border-color:transparent;color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected button[type=submit],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=submit],.win-listview.win-selectionstylefilled .win-selected button[type=submit],.win-listview.win-selectionstylefilled .win-selected input[type=submit]{border-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower{background-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-thumb,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-thumb{background-color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress{background-color:rgba(255,255,255,.16)}.win-itemcontainer.win-selectionstylefilled.win-selected progress:indeterminate,.win-listview.win-selectionstylefilled .win-selected progress:indeterminate{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty{color:rgba(255,255,255,.16)}@media (-ms-high-contrast){.win-listview .win-groupheader{color:WindowText}.win-selectioncheckmark{color:HighlightText}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline,.win-listview .win-groupheader{outline-color:WindowText}.win-itemcontainer.win-selectionstylefilled .win-itembox,.win-listview.win-selectionstylefilled .win-itembox{background-color:Window;color:WindowText}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-itembox,.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-container.win-selected .win-itembox,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-selected:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-selected:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground{background-color:Highlight;color:HighlightText}.win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected .win-selectionborder,.win-listview:not(.win-selectionstylefilled) .win-container.win-selected .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder{border-color:transparent}html.win-hoverable .win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview:not(.win-selectionstylefilled) .win-container.win-selected:hover .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star:after,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star:after,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star:after,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover a,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star:after,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover a,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-track,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-value,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input::-ms-track,.win-listview.win-selectionstylefilled .win-selected input::-ms-value,.win-listview.win-selectionstylefilled .win-selected progress,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea,.win-listview.win-selectionstylefilled.win-selected input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover button,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-check,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-track,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-value,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover select,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover textarea,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover button,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-check,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-track,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-value,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover select,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover textarea{border-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill{background-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{background-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-full:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-full:before{color:ButtonFace}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-empty:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-empty:before{color:Highlight}html.win-hoverable .win-itemcontainer.win-container:hover,html.win-hoverable .win-listview .win-container:hover{outline:Highlight solid 3px}}.win-flipview{overflow:hidden;height:400px}.win-flipview .win-surface{-ms-scroll-chaining:none}.win-flipview .win-navleft{left:0;top:50%;margin-top:-19px}.win-flipview .win-navright{left:100%;top:50%;margin-left:-20px;margin-top:-19px}.win-flipview .win-navtop{left:50%;top:0;margin-left:-35px}.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-36px}.win-flipview .win-navbutton{touch-action:manipulation;border:none;width:20px;height:36px;z-index:1;position:absolute;font-size:16px;padding:0;min-width:0}.win-flipview .win-item,.win-flipview .win-item>.win-template{height:100%;width:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}@media (-ms-high-contrast){.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-35px}.win-flipview .win-navbutton{background-color:ButtonFace;color:ButtonText;border:2px solid ButtonText;width:65px;height:35px}.win-flipview .win-navbutton.win-navbutton:active,.win-flipview .win-navbutton.win-navbutton:hover:active{background-color:ButtonText;color:ButtonFace}.win-flipview .win-navright{margin-left:-65px}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:Highlight;color:HighlightText}}.win-datepicker select,.win-timepicker select{min-width:80px;margin-top:4px;margin-bottom:4px}.win-datepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-datepicker .win-datepicker-date.win-order0,.win-datepicker .win-datepicker-date.win-order1,.win-datepicker .win-datepicker-month,.win-datepicker .win-datepicker-year.win-order0{margin-right:20px}.win-datepicker .win-datepicker-date.win-order0:lang(ar),.win-datepicker .win-datepicker-date.win-order0:lang(dv),.win-datepicker .win-datepicker-date.win-order0:lang(fa),.win-datepicker .win-datepicker-date.win-order0:lang(he),.win-datepicker .win-datepicker-date.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(prs),.win-datepicker .win-datepicker-date.win-order0:lang(ps),.win-datepicker .win-datepicker-date.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(syr),.win-datepicker .win-datepicker-date.win-order0:lang(ug),.win-datepicker .win-datepicker-date.win-order0:lang(ur),.win-datepicker .win-datepicker-date.win-order1:lang(ar),.win-datepicker .win-datepicker-date.win-order1:lang(dv),.win-datepicker .win-datepicker-date.win-order1:lang(fa),.win-datepicker .win-datepicker-date.win-order1:lang(he),.win-datepicker .win-datepicker-date.win-order1:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(prs),.win-datepicker .win-datepicker-date.win-order1:lang(ps),.win-datepicker .win-datepicker-date.win-order1:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order1:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(syr),.win-datepicker .win-datepicker-date.win-order1:lang(ug),.win-datepicker .win-datepicker-date.win-order1:lang(ur),.win-datepicker .win-datepicker-month:lang(ar),.win-datepicker .win-datepicker-month:lang(dv),.win-datepicker .win-datepicker-month:lang(fa),.win-datepicker .win-datepicker-month:lang(he),.win-datepicker .win-datepicker-month:lang(ku-Arab),.win-datepicker .win-datepicker-month:lang(pa-Arab),.win-datepicker .win-datepicker-month:lang(prs),.win-datepicker .win-datepicker-month:lang(ps),.win-datepicker .win-datepicker-month:lang(qps-plocm),.win-datepicker .win-datepicker-month:lang(sd-Arab),.win-datepicker .win-datepicker-month:lang(syr),.win-datepicker .win-datepicker-month:lang(ug),.win-datepicker .win-datepicker-month:lang(ur),.win-datepicker .win-datepicker-year.win-order0:lang(ar),.win-datepicker .win-datepicker-year.win-order0:lang(dv),.win-datepicker .win-datepicker-year.win-order0:lang(fa),.win-datepicker .win-datepicker-year.win-order0:lang(he),.win-datepicker .win-datepicker-year.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(prs),.win-datepicker .win-datepicker-year.win-order0:lang(ps),.win-datepicker .win-datepicker-year.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-year.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(syr),.win-datepicker .win-datepicker-year.win-order0:lang(ug),.win-datepicker .win-datepicker-year.win-order0:lang(ur){margin-right:0;margin-left:20px}.win-timepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-timepicker .win-timepicker-hour,.win-timepicker .win-timepicker-minute.win-order1,.win-timepicker .win-timepicker-period.win-order0{margin-right:20px}.win-timepicker .win-timepicker-hour:lang(ar),.win-timepicker .win-timepicker-hour:lang(dv),.win-timepicker .win-timepicker-hour:lang(fa),.win-timepicker .win-timepicker-hour:lang(he),.win-timepicker .win-timepicker-hour:lang(ku-Arab),.win-timepicker .win-timepicker-hour:lang(pa-Arab),.win-timepicker .win-timepicker-hour:lang(prs),.win-timepicker .win-timepicker-hour:lang(ps),.win-timepicker .win-timepicker-hour:lang(qps-plocm),.win-timepicker .win-timepicker-hour:lang(sd-Arab),.win-timepicker .win-timepicker-hour:lang(syr),.win-timepicker .win-timepicker-hour:lang(ug),.win-timepicker .win-timepicker-hour:lang(ur),.win-timepicker .win-timepicker-minute.win-order0:lang(ar),.win-timepicker .win-timepicker-minute.win-order0:lang(dv),.win-timepicker .win-timepicker-minute.win-order0:lang(fa),.win-timepicker .win-timepicker-minute.win-order0:lang(he),.win-timepicker .win-timepicker-minute.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(prs),.win-timepicker .win-timepicker-minute.win-order0:lang(ps),.win-timepicker .win-timepicker-minute.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(syr),.win-timepicker .win-timepicker-minute.win-order0:lang(ug),.win-timepicker .win-timepicker-minute.win-order0:lang(ur),.win-timepicker .win-timepicker-minute.win-order1:lang(ar),.win-timepicker .win-timepicker-minute.win-order1:lang(dv),.win-timepicker .win-timepicker-minute.win-order1:lang(fa),.win-timepicker .win-timepicker-minute.win-order1:lang(he),.win-timepicker .win-timepicker-minute.win-order1:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(prs),.win-timepicker .win-timepicker-minute.win-order1:lang(ps),.win-timepicker .win-timepicker-minute.win-order1:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order1:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(syr),.win-timepicker .win-timepicker-minute.win-order1:lang(ug),.win-timepicker .win-timepicker-minute.win-order1:lang(ur),.win-timepicker .win-timepicker-period.win-order0:lang(ar),.win-timepicker .win-timepicker-period.win-order0:lang(dv),.win-timepicker .win-timepicker-period.win-order0:lang(fa),.win-timepicker .win-timepicker-period.win-order0:lang(he),.win-timepicker .win-timepicker-period.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(prs),.win-timepicker .win-timepicker-period.win-order0:lang(ps),.win-timepicker .win-timepicker-period.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-period.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(syr),.win-timepicker .win-timepicker-period.win-order0:lang(ug),.win-timepicker .win-timepicker-period.win-order0:lang(ur){margin-left:20px;margin-right:0}body>.win-navigation-backbutton{position:absolute;top:50px;left:20px}.win-back,.win-backbutton,.win-navigation-backbutton{touch-action:manipulation;display:inline-block;min-width:0;min-height:0;padding:0;text-align:center;width:41px;height:41px;font-size:24px;line-height:41px;vertical-align:baseline}.win-tooltip,.win-tooltip-phantom{display:block;position:fixed;top:30px;left:30px;margin:0}.win-back::before,.win-backbutton::before{font-weight:400;content:"\E0D5";vertical-align:50%}.win-back:lang(ar)::before,.win-back:lang(dv)::before,.win-back:lang(fa)::before,.win-back:lang(he)::before,.win-back:lang(ku-Arab)::before,.win-back:lang(pa-Arab)::before,.win-back:lang(prs)::before,.win-back:lang(ps)::before,.win-back:lang(qps-plocm)::before,.win-back:lang(sd-Arab)::before,.win-back:lang(syr)::before,.win-back:lang(ug)::before,.win-back:lang(ur)::before,.win-backbutton:lang(ar)::before,.win-backbutton:lang(dv)::before,.win-backbutton:lang(fa)::before,.win-backbutton:lang(he)::before,.win-backbutton:lang(ku-Arab)::before,.win-backbutton:lang(pa-Arab)::before,.win-backbutton:lang(prs)::before,.win-backbutton:lang(ps)::before,.win-backbutton:lang(qps-plocm)::before,.win-backbutton:lang(sd-Arab)::before,.win-backbutton:lang(syr)::before,.win-backbutton:lang(ug)::before,.win-backbutton:lang(ur)::before{content:"\E0AE"}button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}@media (-ms-high-contrast){button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}.win-back,.win-backbutton{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-backbutton.win-backbutton:enabled:hover:active,.win-navigation-backbutton.win-navigation-backbutton:enabled:hover:active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-backbutton:-ms-keyboard-active,.win-navigation-backbutton:-ms-keyboard-active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-backbutton:enabled:hover,html.win-hoverable .win-navigation-backbutton:enabled:hover .win-back{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-tooltip{max-width:320px;box-sizing:border-box;padding:4px 7px 6px;border-style:solid;border-width:1px;z-index:9999;word-wrap:break-word;animation-fill-mode:both;font-size:12px;font-weight:400;line-height:1.167}.win-tooltip-phantom{background-color:transparent;border-width:0;padding:0}.win-rating{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-pack:self;-webkit-justify-content:self;justify-content:self;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;height:auto;width:auto;white-space:normal;outline:0}.win-rating .win-star{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;height:24px;width:24px;padding:9px 10px 11px;font-size:24px;overflow:hidden;text-indent:0;line-height:1;cursor:default;position:relative;letter-spacing:0;-ms-touch-action:none;touch-action:none}.win-rating.win-small .win-star{width:12px;height:12px;font-size:12px;padding:3px 4px 5px}.win-rating .win-star:before{content:"\E082"}.win-rating .win-star.win-disabled{cursor:default;-ms-touch-action:auto;touch-action:auto}@media (-ms-high-contrast){.win-tooltip{background-color:Window;border-color:WindowText;color:WindowText}.win-rating .win-star:before{content:"\E082"!important}.win-rating .win-star.win-full{color:HighLight}.win-rating .win-star.win-tentative.win-full{color:ButtonText}.win-rating .win-star.win-empty{color:ButtonFace}.win-rating .win-star:after{content:"\E224"!important;position:relative;top:-100%;color:ButtonText}.win-semanticzoom-button{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-semanticzoom-button:-ms-keyboard-active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-semanticzoom-button:hover{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-toggleswitch{outline:0}.win-toggleswitch .win-toggleswitch-header{max-width:470px;margin-bottom:14px;margin-top:22px;font-size:15px;font-weight:400;line-height:1.333}.win-toggleswitch .win-toggleswitch-values{display:inline-block;vertical-align:top}.win-toggleswitch .win-toggleswitch-value{margin-left:12px;height:20px;vertical-align:top;font-size:15px;font-weight:400;line-height:20px}.win-toggleswitch .win-toggleswitch-description{font-size:12px;width:22em;margin-top:28px;display:none}.win-toggleswitch .win-toggleswitch-clickregion{display:inline-block;touch-action:none;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:5px}.win-toggleswitch .win-toggleswitch-track{position:relative;display:inline-block;width:44px;height:20px;border-style:solid;border-width:2px;border-radius:10px;box-sizing:border-box}.win-toggleswitch .win-toggleswitch-thumb{position:absolute;top:3px;display:inline-block;width:10px;height:10px;border-radius:5px;-webkit-transition:left .1s;transition:left .1s}.win-toggleswitch:focus .win-toggleswitch-clickregion{outline-width:1px;outline-style:dotted}.win-toggleswitch.win-toggleswitch-dragging .win-toggleswitch-thumb{-webkit-transition:none;transition:none}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-value-on,.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-value-off{visibility:hidden;height:0;font-size:0;line-height:0}.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-thumb{left:27px}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ar).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-on .win-toggleswitch-thumb{left:3px}.win-toggleswitch:lang(ar).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-off .win-toggleswitch-thumb{left:27px}.win-semanticzoom{touch-action:pan-x pan-y double-tap-zoom;height:400px;position:relative}.win-semanticzoom .win-listview>.win-viewport *{touch-action:auto}.win-semanticzoom *{touch-action:inherit}.win-semanticzoom-button{z-index:100;position:absolute;min-width:25px;min-height:25px;width:25px;height:25px;padding:0;bottom:21px;touch-action:none}.win-semanticzoom-button::before{font-weight:400;font-size:11px;content:"\E0B8"}.win-semanticzoom-button-location{left:auto;right:4px}.win-semanticzoom-button-location:lang(ar),.win-semanticzoom-button-location:lang(dv),.win-semanticzoom-button-location:lang(fa),.win-semanticzoom-button-location:lang(he),.win-semanticzoom-button-location:lang(ku-Arab),.win-semanticzoom-button-location:lang(pa-Arab),.win-semanticzoom-button-location:lang(prs),.win-semanticzoom-button-location:lang(ps),.win-semanticzoom-button-location:lang(qps-plocm),.win-semanticzoom-button-location:lang(sd-Arab),.win-semanticzoom-button-location:lang(syr),.win-semanticzoom-button-location:lang(ug),.win-semanticzoom-button-location:lang(ur){left:4px;right:auto}.win-pivot{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%;overflow:hidden;-ms-scroll-limit-x-max:0;touch-action:manipulation;position:relative}.win-pivot .win-pivot-navbutton{touch-action:manipulation;position:absolute;width:20px;height:36px;padding:0;margin:0;top:10px;min-width:0;border-width:0;cursor:pointer;opacity:0}.win-pivot .win-pivot-headers.win-pivot-shownavbuttons .win-pivot-navbutton{opacity:1}.win-pivot .win-pivot-headers .win-pivot-navbutton-prev:before{content:"\E096"}.win-pivot .win-pivot-headers .win-pivot-navbutton-next:before{content:"\E09B"}.win-pivot .win-pivot-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji";font-size:15px;font-weight:700;white-space:nowrap;margin:14px 0 13px 24px}.win-pivot .win-pivot-title:lang(ar),.win-pivot .win-pivot-title:lang(dv),.win-pivot .win-pivot-title:lang(fa),.win-pivot .win-pivot-title:lang(he),.win-pivot .win-pivot-title:lang(ku-Arab),.win-pivot .win-pivot-title:lang(pa-Arab),.win-pivot .win-pivot-title:lang(prs),.win-pivot .win-pivot-title:lang(ps),.win-pivot .win-pivot-title:lang(qps-plocm),.win-pivot .win-pivot-title:lang(sd-Arab),.win-pivot .win-pivot-title:lang(syr),.win-pivot .win-pivot-title:lang(ug),.win-pivot .win-pivot-title:lang(ur){margin:14px 24px 13px 0}.win-pivot>.win-pivot-item{display:none}.win-pivot .win-pivot-header-area{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-hub-section,.win-hub-surface{display:inline-block}.win-pivot .win-pivot-header-leftcustom,.win-pivot .win-pivot-header-rightcustom{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;margin-top:13px}.win-pivot .win-pivot-header-items{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow-x:hidden;padding:1px}.win-pivot .win-pivot-headers{white-space:nowrap;position:relative;overflow-y:visible;height:48px;touch-action:none;-ms-touch-action:none;outline:0}.win-pivot .win-pivot-headers.win-keyboard:focus{outline-style:dotted;outline-width:1px}.win-pivot .win-pivot-header,.win-pivot .win-pivot-header.win-pivot-header:hover:active{touch-action:manipulation;font-size:24px;font-weight:300;line-height:1.167;display:inline-block;transition:opacity linear 167ms;-webkit-transition:opacity linear 167ms;overflow:hidden;height:30px;border:0;padding:0;outline:0;margin:12px 12px 0;min-height:0;min-width:0}.win-pivot.win-pivot-locked .win-pivot-header{opacity:0;visibility:hidden}.win-pivot .win-pivot-header.win-pivot-header-selected,.win-pivot.win-pivot-locked .win-pivot-header.win-pivot-header-selected{opacity:1;visibility:inherit}.win-pivot .win-pivot-viewport{height:100%;overflow-x:auto;overflow-y:hidden;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;position:relative;padding-top:48px;margin-top:-48px}.win-pivot.win-pivot-customheaders .win-pivot-viewport{padding-top:inherit;margin-top:inherit}.win-pivot.win-pivot-mouse .win-pivot-viewport{padding-top:0;margin-top:0}.win-pivot.win-pivot-locked .win-pivot-viewport{overflow:hidden}.win-pivot .win-pivot-surface{width:300%;height:100%;position:relative}html.win-hoverable .win-pivot button.win-pivot-header:hover{background-color:transparent;border:0;padding:0;letter-spacing:0;margin:12px 12px 0;min-height:0;min-width:0}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{margin:0;padding:0;border-width:0;cursor:pointer;font-family:"Segoe MDL2 Assets",Symbols}.win-pivot-item{position:absolute;top:0;bottom:0;width:33.3%;left:33.3%}.win-pivot-item:lang(ar),.win-pivot-item:lang(dv),.win-pivot-item:lang(fa),.win-pivot-item:lang(he),.win-pivot-item:lang(ku-Arab),.win-pivot-item:lang(pa-Arab),.win-pivot-item:lang(prs),.win-pivot-item:lang(ps),.win-pivot-item:lang(qps-plocm),.win-pivot-item:lang(sd-Arab),.win-pivot-item:lang(syr),.win-pivot-item:lang(ug),.win-pivot-item:lang(ur){left:auto;right:33.3%}.win-pivot-item .win-pivot-item-content{height:100%;overflow-y:auto;-ms-overflow-style:-ms-autohiding-scrollbar;padding:0 24px}.win-pivot.win-pivot-nosnap .win-pivot-viewport{padding-top:0;margin-top:0;overflow:hidden}.win-pivot.win-pivot-nosnap .win-pivot-item,.win-pivot.win-pivot-nosnap .win-pivot-surface{width:100%;position:static}.win-hub{height:100%;width:100%;position:relative}.win-hub-progress{position:absolute;top:10px;width:100%;z-index:1}.win-hub-viewport{height:100%;width:100%;-ms-scroll-snap-type:proximity;-webkit-overflow-scrolling:touch}.win-hub-horizontal .win-hub-viewport{overflow-x:auto;overflow-y:hidden;white-space:nowrap}.win-hub-vertical .win-hub-viewport{position:relative;overflow-y:auto;overflow-x:hidden}.win-hub-vertical .win-hub-surface{width:calc(100% - 24px);padding:0 12px 8px;margin-top:-24px}.win-hub-horizontal .win-hub-surface{height:100%;padding-left:12px}.win-hub-horizontal .win-hub-surface:lang(ar),.win-hub-horizontal .win-hub-surface:lang(dv),.win-hub-horizontal .win-hub-surface:lang(fa),.win-hub-horizontal .win-hub-surface:lang(he),.win-hub-horizontal .win-hub-surface:lang(ku-Arab),.win-hub-horizontal .win-hub-surface:lang(pa-Arab),.win-hub-horizontal .win-hub-surface:lang(prs),.win-hub-horizontal .win-hub-surface:lang(ps),.win-hub-horizontal .win-hub-surface:lang(qps-plocm),.win-hub-horizontal .win-hub-surface:lang(sd-Arab),.win-hub-horizontal .win-hub-surface:lang(syr),.win-hub-horizontal .win-hub-surface:lang(ug),.win-hub-horizontal .win-hub-surface:lang(ur){padding-left:0;padding-right:12px}.win-hub-section{vertical-align:top;white-space:normal}.win-hub-horizontal .win-hub-section{height:100%;padding-right:24px}.win-hub-horizontal .win-hub-section:lang(ar),.win-hub-horizontal .win-hub-section:lang(dv),.win-hub-horizontal .win-hub-section:lang(fa),.win-hub-horizontal .win-hub-section:lang(he),.win-hub-horizontal .win-hub-section:lang(ku-Arab),.win-hub-horizontal .win-hub-section:lang(pa-Arab),.win-hub-horizontal .win-hub-section:lang(prs),.win-hub-horizontal .win-hub-section:lang(ps),.win-hub-horizontal .win-hub-section:lang(qps-plocm),.win-hub-horizontal .win-hub-section:lang(sd-Arab),.win-hub-horizontal .win-hub-section:lang(syr),.win-hub-horizontal .win-hub-section:lang(ug),.win-hub-horizontal .win-hub-section:lang(ur){padding-right:0;padding-left:24px}.win-hub-horizontal .win-hub-section-header{margin-top:62px}.win-hub-vertical .win-hub-section{width:100%;padding-top:24px}.win-hub-section-header{margin-bottom:9px;height:28px}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{touch-action:manipulation;width:100%;background-color:transparent;border:0;min-height:0;min-width:0;max-width:100%;padding:0}button.win-hub-section-header-tabstop:focus{outline:0}button.win-hub-section-header-tabstop:-ms-keyboard-active{background-color:transparent}.win-hub-section-header-wrapper{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;width:100%;outline:0}.win-hub-section-header-content{font-size:20px;font-weight:400;line-height:1.5;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:bottom;overflow:hidden;text-overflow:clip;white-space:nowrap}.win-hub-section-header-content:lang(ar),.win-hub-section-header-content:lang(dv),.win-hub-section-header-content:lang(fa),.win-hub-section-header-content:lang(he),.win-hub-section-header-content:lang(ku-Arab),.win-hub-section-header-content:lang(pa-Arab),.win-hub-section-header-content:lang(prs),.win-hub-section-header-content:lang(ps),.win-hub-section-header-content:lang(qps-plocm),.win-hub-section-header-content:lang(sd-Arab),.win-hub-section-header-content:lang(syr),.win-hub-section-header-content:lang(ug),.win-hub-section-header-content:lang(ur){text-align:right}.win-hub-section-header-chevron{display:none}.win-hub-section-header-interactive .win-hub-section-header-chevron{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:24px;line-height:1.5;padding-top:7px;text-align:right;vertical-align:bottom}.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ar),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(dv),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(fa),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(he),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ku-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(pa-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(prs),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ps),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(qps-plocm),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(sd-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(syr),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ug),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ur){text-align:left;margin-left:0;margin-right:24px}.win-hub-horizontal .win-hub-section-content{height:calc(100% - 99px)}.win-hub-vertical .win-hub-section-content{width:100%}@media (-ms-high-contrast){button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{background-color:transparent;color:WindowText}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:WindowText}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover:active,html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:-ms-hotlight}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:-ms-hotlight}}.win-clickeater{background-color:transparent;width:110%;height:110%;left:-5%;top:-5%;position:fixed;touch-action:none;outline:Purple solid 1px;-ms-high-contrast-adjust:none}button.win-command{touch-action:manipulation;background:0 0;background-clip:border-box;height:auto;padding:0;margin:0;border:1px dotted;min-width:40px;min-height:48px;text-align:center;font-size:12px;line-height:16px;font-weight:400;overflow:visible;writing-mode:lr-tb;position:relative;z-index:0;outline:0}button.win-command::-moz-focus-inner{padding:0;border:0}button:lang(ar),button:lang(dv),button:lang(fa),button:lang(he),button:lang(ku-Arab),button:lang(pa-Arab),button:lang(prs),button:lang(ps),button:lang(qps-plocm),button:lang(sd-Arab),button:lang(syr),button:lang(ug),button:lang(ur){writing-mode:rl-tb}.win-commandicon{display:block;margin:11px 21px;min-width:0;min-height:0;padding:0;width:24px;height:24px;box-sizing:border-box;-moz-box-sizing:border-box;cursor:default;position:relative;outline:0}.win-commandimage{font-family:"Segoe UI Command",Symbols;letter-spacing:0;vertical-align:middle;font-size:20px;margin:0;line-height:24px;background-position:0 0;background-origin:border-box;display:inline-block;width:24px;height:24px;background-size:96px 48px;outline:0}.win-commandimage.win-commandglyph{position:absolute;left:0}button.win-command .win-label,div.win-command{font-size:12px;line-height:16px;position:relative;font-weight:400}button:active .win-commandimage,html.win-hoverable button:enabled:hover .win-commandimage{background-position:-24px 0}button:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px 0}button:-ms-keyboard-active .win-commandimage{background-position:-48px 0}button:disabled .win-commandimage,button:disabled:active .win-commandimage{background-position:-72px 0}button[aria-checked=true] .win-commandimage{background-position:0 -24px}button[aria-checked=true]:active .win-commandimage,html.win-hoverable button[aria-checked=true]:enabled:hover .win-commandimage{background-position:-24px -24px}button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px -24px}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{background-position:-48px -24px}button[aria-checked=true]:disabled .win-commandimage,button[aria-checked=true]:disabled:active .win-commandimage{background-position:-72px -24px}button.win-command .win-label{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji";display:block;max-width:66px;margin-top:-10px;margin-bottom:6px;padding:0;overflow:hidden;word-wrap:break-word;word-break:keep-all;outline:0}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis,.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis,.win-searchbox-button,.win-splitviewcommand-icon{font-family:"Segoe MDL2 Assets",Symbols}div.win-command,hr.win-command{display:inline-block;vertical-align:top}hr.win-command{padding:0;margin:12px 16px;width:2px;height:24px;border:0}div.win-command{min-width:0;min-height:0;padding:0 31px;border:1px dotted;text-align:center;writing-mode:lr-tb}div.win-command:lang(ar),div.win-command:lang(dv),div.win-command:lang(fa),div.win-command:lang(he),div.win-command:lang(ku-Arab),div.win-command:lang(pa-Arab),div.win-command:lang(prs),div.win-command:lang(ps),div.win-command:lang(qps-plocm),div.win-command:lang(sd-Arab),div.win-command:lang(syr),div.win-command:lang(ug),div.win-command:lang(ur){writing-mode:rl-tb}div.win-command:focus{outline:0}.win-command.win-command-hidden{display:none}.win-navbar{border-width:0;width:100%;height:auto;left:0;position:fixed;position:-ms-device-fixed;min-height:48px}.win-navbar.win-navbar-minimal{min-height:25px}.win-navbar.win-navbar-minimal.win-navbar-closed .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-navbar-closing.win-navbar-minimal>:not(.win-navbar-invokebutton){opacity:0}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-menu{opacity:1}.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaycompact .win-command .win-label,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplayminimal .win-command,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaynone .win-command,winjs-themedetection-tag{opacity:0}.win-navbar.win-navbar-closed.win-navbar-minimal>:not(.win-navbar-invokebutton){display:none!important}.win-navbar.win-navbar-closed.win-navbar-minimal .win-navbar-invokebutton,.win-navbar.win-navbar-closing.win-navbar-minimal .win-navbar-invokebutton{width:100%}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opened .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opening .win-navbar-invokebutton{visibility:hidden}.win-navbar.win-menulayout.win-navbar-closing .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opened .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opening .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton{visibility:visible}.win-navbar .win-navbar-invokebutton{touch-action:manipulation;position:absolute;right:0;margin:0;padding:0;border:1px dotted;min-width:0;background-clip:border-box;display:none;z-index:1}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{height:100%;right:0;top:15px;position:absolute;display:inline-block;font-size:14px;text-align:center}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis::before{content:"\E10C";position:relative}.win-navbar:lang(ar) .win-navbar-invokebutton,.win-navbar:lang(ar) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(dv) .win-navbar-invokebutton,.win-navbar:lang(dv) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(fa) .win-navbar-invokebutton,.win-navbar:lang(fa) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(he) .win-navbar-invokebutton,.win-navbar:lang(he) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(prs) .win-navbar-invokebutton,.win-navbar:lang(prs) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ps) .win-navbar-invokebutton,.win-navbar:lang(ps) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(syr) .win-navbar-invokebutton,.win-navbar:lang(syr) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ug) .win-navbar-invokebutton,.win-navbar:lang(ug) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ur) .win-navbar-invokebutton,.win-navbar:lang(ur) .win-navbar-invokebutton .win-navbar-ellipsis{right:auto;left:0}.win-navbar.win-navbar-compact .win-navbar-invokebutton,.win-navbar.win-navbar-minimal .win-navbar-invokebutton{display:block}.win-commandlayout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-primarygroup{-ms-flex-order:2;flex-order:2;-webkit-order:2;order:2;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-secondarygroup{-ms-flex-order:1;flex-order:1;-webkit-order:1;order:1;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}.win-commandlayout.win-navbar-closing.win-navbar-compact,.win-commandlayout.win-navbar-opened.win-navbar-compact,.win-commandlayout.win-navbar-opening.win-navbar-compact{min-height:48px}.win-commandlayout.win-navbar-compact,.win-commandlayout.win-navbar-minimal{padding-right:32px;width:calc(100% - 32px)}.win-commandlayout.win-navbar-compact button.win-command .win-label{display:none}.win-commandlayout.win-navbar-compact.win-navbar-closing button.win-command .win-label{display:block;visibility:hidden}.win-commandlayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-commandlayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-commandlayout:lang(ar).win-navbar-compact,.win-commandlayout:lang(ar).win-navbar-minimal,.win-commandlayout:lang(dv).win-navbar-compact,.win-commandlayout:lang(dv).win-navbar-minimal,.win-commandlayout:lang(fa).win-navbar-compact,.win-commandlayout:lang(fa).win-navbar-minimal,.win-commandlayout:lang(he).win-navbar-compact,.win-commandlayout:lang(he).win-navbar-minimal,.win-commandlayout:lang(ku-Arab).win-navbar-compact,.win-commandlayout:lang(ku-Arab).win-navbar-minimal,.win-commandlayout:lang(pa-Arab).win-navbar-compact,.win-commandlayout:lang(pa-Arab).win-navbar-minimal,.win-commandlayout:lang(prs).win-navbar-compact,.win-commandlayout:lang(prs).win-navbar-minimal,.win-commandlayout:lang(ps).win-navbar-compact,.win-commandlayout:lang(ps).win-navbar-minimal,.win-commandlayout:lang(qps-plocm).win-navbar-compact,.win-commandlayout:lang(qps-plocm).win-navbar-minimal,.win-commandlayout:lang(sd-Arab).win-navbar-compact,.win-commandlayout:lang(sd-Arab).win-navbar-minimal,.win-commandlayout:lang(syr).win-navbar-compact,.win-commandlayout:lang(syr).win-navbar-minimal,.win-commandlayout:lang(ug).win-navbar-compact,.win-commandlayout:lang(ug).win-navbar-minimal,.win-commandlayout:lang(ur).win-navbar-compact,.win-commandlayout:lang(ur).win-navbar-minimal{padding-right:0;padding-left:32px}.win-menulayout .win-navbar-menu{position:absolute;right:0;top:0;overflow:hidden}.win-menulayout .win-navbar-menu:lang(ar),.win-menulayout .win-navbar-menu:lang(dv),.win-menulayout .win-navbar-menu:lang(fa),.win-menulayout .win-navbar-menu:lang(he),.win-menulayout .win-navbar-menu:lang(ku-Arab),.win-menulayout .win-navbar-menu:lang(pa-Arab),.win-menulayout .win-navbar-menu:lang(prs),.win-menulayout .win-navbar-menu:lang(ps),.win-menulayout .win-navbar-menu:lang(qps-plocm),.win-menulayout .win-navbar-menu:lang(sd-Arab),.win-menulayout .win-navbar-menu:lang(syr),.win-menulayout .win-navbar-menu:lang(ug),.win-menulayout .win-navbar-menu:lang(ur){left:0;right:auto}.win-menulayout.win-bottom .win-navbar-menu{overflow:visible}.win-menulayout .win-toolbar{max-width:100vw}.win-menulayout.win-navbar-compact button.win-command .win-label{display:none;visibility:hidden}.win-menulayout.win-navbar-compact.win-navbar-closing button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-menulayout.win-navbar-compact.win-navbar-closed{overflow:hidden}.win-flyout,.win-flyout.win-scrolls{overflow:auto}.win-menulayout.win-navbar-compact.win-navbar-closed .win-toolbar-overflowarea{visibility:hidden}@media (-ms-high-contrast){.win-navbar{border:2px solid}.win-navbar.win-top{border-top:none;border-left:none;border-right:none}.win-navbar.win-bottom{border-bottom:none;border-left:none;border-right:none}.win-navbar.win-top button.win-command,.win-navbar.win-top div.win-command{padding-bottom:7px}.win-navbar.win-bottom button.win-command,.win-navbar.win-bottom div.win-command{padding-top:7px}.win-navbar.win-top hr.win-command{margin-bottom:28px}.win-navbar.win-bottom hr.win-command{margin-top:8px}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}}.win-flyout{position:fixed;position:-ms-device-fixed;padding:12px;border-style:solid;border-width:1px;margin:4px;min-width:70px;max-width:430px;min-height:16px;max-height:730px;width:auto;height:auto;word-wrap:break-word;font-size:15px;font-weight:400;line-height:1.333}.win-flyout.win-leftalign{margin-left:0}.win-flyout.win-rightalign{margin-right:0}@media (max-width:464px){.win-flyout{max-width:calc(100% - 34px)}}.win-menu{padding:0;line-height:33px;text-align:left;min-height:42px;max-height:calc(100% - 26px);min-width:134px;max-width:454px}.win-menu button.win-command{display:block;margin-left:0;margin-right:0;text-align:left;width:100%;font-size:15px;font-weight:400;line-height:1.333}.win-menu button.win-command:focus{outline:0}.win-menu button.win-command .win-menucommand-liner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;position:relative}.win-menu button.win-command .win-menucommand-liner .win-flyouticon,.win-menu button.win-command .win-menucommand-liner .win-toggleicon{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:none;visibility:hidden;font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}.win-menu button.win-command .win-menucommand-liner .win-toggleicon{margin-left:12px}.win-menu button.win-command .win-menucommand-liner .win-toggleicon::before{content:"\E0E7"}.win-menu button.win-command .win-menucommand-liner .win-flyouticon{margin-left:12px;margin-right:16px}.win-menu button.win-command .win-menucommand-liner .win-flyouticon::before{content:"\E26B"}.win-menu button.win-command .win-menucommand-liner .win-label{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;font-size:15px;line-height:inherit;min-width:112px;max-width:none;white-space:nowrap;text-overflow:clip;margin:0;padding:0 12px}.win-menu button.win-command .win-menucommand-liner:lang(ar),.win-menu button.win-command .win-menucommand-liner:lang(dv),.win-menu button.win-command .win-menucommand-liner:lang(fa),.win-menu button.win-command .win-menucommand-liner:lang(he),.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab),.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab),.win-menu button.win-command .win-menucommand-liner:lang(prs),.win-menu button.win-command .win-menucommand-liner:lang(ps),.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm),.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab),.win-menu button.win-command .win-menucommand-liner:lang(syr),.win-menu button.win-command .win-menucommand-liner:lang(ug),.win-menu button.win-command .win-menucommand-liner:lang(ur){text-align:right}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-toggleicon{margin-left:0;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon{margin-left:16px;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon::before{content:"\E26C"}.win-menu.win-menu-mousespacing button.win-command{padding-top:5px;padding-bottom:7px;min-height:32px}.win-menu.win-menu-touchspacing button.win-command{padding-top:11px;padding-bottom:13px;min-height:44px}.win-menu hr.win-command{display:block;height:1px;width:auto;border:0;padding:0;margin:9px 20px 10px}.win-menu-containsflyoutcommand button.win-command .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command .win-menucommand-liner .win-toggleicon{display:inline-block}.win-menu-containsflyoutcommand button.win-command-flyout .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command-toggle[aria-checked=true] .win-menucommand-liner .win-toggleicon{visibility:visible}@media (max-width:464px){.win-menu{max-width:calc(100% - 10px)}}.win-overlay{-ms-touch-select:none}.win-overlay [contenteditable=true],.win-overlay input:not([type=file]),.win-overlay input:not([type=radio]),.win-overlay input:not([type=checkbox]),.win-overlay input:not([type=button]),.win-overlay input:not([type=range]),.win-overlay input:not([type=image]),.win-overlay input:not([type=reset]),.win-overlay input:not([type=hidden]),.win-overlay input:not([type=submit]),.win-overlay textarea{-ms-touch-select:grippers}.win-visualviewport-space{position:fixed;position:-ms-device-fixed;height:100%;width:100%;visibility:hidden}.win-settingsflyout{border-left:1px solid;position:fixed;top:0;right:0;height:100%;width:319px}.win-settingsflyout:lang(ar),.win-settingsflyout:lang(dv),.win-settingsflyout:lang(fa),.win-settingsflyout:lang(he),.win-settingsflyout:lang(ku-Arab),.win-settingsflyout:lang(pa-Arab),.win-settingsflyout:lang(prs),.win-settingsflyout:lang(ps),.win-settingsflyout:lang(qps-plocm),.win-settingsflyout:lang(sd-Arab),.win-settingsflyout:lang(syr),.win-settingsflyout:lang(ug),.win-settingsflyout:lang(ur){border-left:none;border-right:1px solid}.win-settingsflyout.win-wide{width:645px}.win-settingsflyout .win-back,.win-settingsflyout .win-backbutton{width:32px;height:32px;font-size:20px;line-height:32px}.win-settingsflyout .win-header{height:32px;position:relative;padding:6px 12px 10px 52px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayfull .win-commandingsurface-actionarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-actionarea{height:auto}.win-settingsflyout .win-header .win-label{display:inline-block;font-size:24px;font-weight:300;line-height:32px;white-space:nowrap}.win-settingsflyout .win-header .win-backbutton,.win-settingsflyout .win-header .win-navigation-backbutton{position:absolute;left:12px}.win-settingsflyout .win-content{overflow:auto;padding:0 12px}.win-settingsflyout .win-content .win-label{font-size:20px;font-weight:400;line-height:1.2}.win-settingsflyout .win-content .win-settings-section{margin:0;padding-top:0;padding-bottom:20px}.win-settingsflyout .win-content .win-settings-section p{margin:0;padding-top:0;padding-bottom:25px}.win-settingsflyout .win-content .win-settings-section a{margin:0;padding-top:0;padding-bottom:25px;display:inline-block}.win-settingsflyout .win-content .win-settings-section label{display:block;padding-bottom:7px}.win-settingsflyout .win-content .win-settings-section button,.win-settingsflyout .win-content .win-settings-section input[type=button],.win-settingsflyout .win-content .win-settings-section input[type=text],.win-settingsflyout .win-content .win-settings-section select{margin-bottom:25px;margin-left:0;margin-right:20px}.win-settingsflyout .win-content .win-settings-section button:lang(ar),.win-settingsflyout .win-content .win-settings-section button:lang(dv),.win-settingsflyout .win-content .win-settings-section button:lang(fa),.win-settingsflyout .win-content .win-settings-section button:lang(he),.win-settingsflyout .win-content .win-settings-section button:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(prs),.win-settingsflyout .win-content .win-settings-section button:lang(ps),.win-settingsflyout .win-content .win-settings-section button:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section button:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(syr),.win-settingsflyout .win-content .win-settings-section button:lang(ug),.win-settingsflyout .win-content .win-settings-section button:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ur),.win-settingsflyout .win-content .win-settings-section select:lang(ar),.win-settingsflyout .win-content .win-settings-section select:lang(dv),.win-settingsflyout .win-content .win-settings-section select:lang(fa),.win-settingsflyout .win-content .win-settings-section select:lang(he),.win-settingsflyout .win-content .win-settings-section select:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(prs),.win-settingsflyout .win-content .win-settings-section select:lang(ps),.win-settingsflyout .win-content .win-settings-section select:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section select:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(syr),.win-settingsflyout .win-content .win-settings-section select:lang(ug),.win-settingsflyout .win-content .win-settings-section select:lang(ur){margin-bottom:25px;margin-left:20px;margin-right:0}.win-settingsflyout .win-content .win-settings-section input[type=radio]{margin-top:0;margin-bottom:0;padding-bottom:15px}@keyframes WinJS-showFlyoutTop{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-showFlyoutBottom{from{transform:translateY(-50px)}to{transform:none}}@keyframes WinJS-showFlyoutLeft{from{transform:translateX(50px)}to{transform:none}}@keyframes WinJS-showFlyoutRight{from{transform:translateX(-50px)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutTop{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutBottom{from{-webkit-transform:translateY(-50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutLeft{from{-webkit-transform:translateX(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutRight{from{-webkit-transform:translateX(-50px)}to{-webkit-transform:none}}.win-commandingsurface{outline:0;min-width:32px;position:relative}.win-commandingsurface.win-commandingsurface-overflowbottom .win-commandingsurface-overflowareacontainer{top:100%}.win-commandingsurface.win-commandingsurface-overflowtop .win-commandingsurface-overflowareacontainer{bottom:100%}.win-commandingsurface .win-commandingsurface-actionarea{min-height:24px;vertical-align:top;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-spacer{visibility:hidden;min-height:48px;width:0}.win-commandingsurface .win-commandingsurface-actionarea .win-command,.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{touch-action:manipulation;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{width:32px;margin:0;padding:0;border-width:1px;border-style:dotted;min-width:0;min-height:0;outline:0;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch;box-sizing:border-box;background-clip:border-box}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis{font-size:16px}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis::before{content:"\E10C"}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowareacontainer{display:block}.win-commandingsurface .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowareacontainer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea .win-command .win-label,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-command,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-commandingsurface-spacer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaynone{display:none}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea{height:48px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea{height:24px}.win-commandingsurface .win-commandingsurface-overflowareacontainer{position:absolute;overflow:hidden;right:0;left:auto}.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ar),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(dv),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(fa),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(he),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ku-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(pa-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(prs),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ps),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(qps-plocm),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(sd-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(syr),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ug),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ur){left:0;right:auto}.win-commandingsurface .win-commandingsurface-overflowarea,.win-commandingsurface .win-commandingsurface-overflowareacontainer{min-width:160px;min-height:0;max-height:50vh;padding:0}.win-commandingsurface .win-commandingsurface-overflowarea{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{max-width:480px}.win-commandingsurface .win-commandingsurface-overflowarea .win-commandingsurface-spacer{visibility:hidden;height:24px}.win-commandingsurface .win-commandingsurface-overflowarea button.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;min-height:44px;border:1px dotted transparent;padding:10px 11px 12px;font-size:15px;font-weight:400;line-height:1.333;white-space:nowrap;overflow:hidden}.win-commandingsurface .win-commandingsurface-overflowarea hr.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;height:2px;margin:6px 12px 4px}.win-commandingsurface .win-commandingsurface-actionareacontainer{overflow:hidden;position:relative}.win-commandingsurface .win-command.win-command-hidden{display:inline-block}.win-commandingsurface .win-command.win-commandingsurface-command-hidden,.win-commandingsurface .win-command.win-commandingsurface-command-primary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-secondary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-separator-hidden{display:none}@media (max-width:480px){.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{width:100vw}}.win-toolbar{min-width:32px}.win-toolbar.win-toolbar-opened{position:fixed}.win-autosuggestbox{white-space:normal;position:relative;width:266px;min-width:265px;min-height:28px}.win-autosuggestbox-flyout{position:absolute;top:100%;width:100%;z-index:100;max-height:374px;min-height:44px;overflow:auto;-ms-scroll-chaining:none;touch-action:none;font-size:15px;font-weight:400;line-height:1.333}.win-autosuggestbox-suggestion-result div,.win-autosuggestbox-suggestion-result-text{line-height:20px;overflow:hidden;white-space:nowrap}.win-autosuggestbox-flyout-above{bottom:100%;top:auto}.win-autosuggestbox-flyout-above .win-repeater{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.win-autosuggestbox .win-autosuggestbox-input{-ms-ime-align:after;margin:0;width:100%}.win-autosuggestbox-suggestion-selected{outline-style:dotted;outline-width:1px}.win-autosuggestbox-suggestion-result{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:60px;font-size:11pt;outline:0}.win-autosuggestbox-suggestion-result-text{padding-top:9px;padding-bottom:11px;height:60px;width:179px}.win-autosuggestbox-suggestion-result-detailed-text{display:inline-block;overflow:hidden;line-height:22px;margin-top:-1px;width:100%}.win-autosuggestbox-suggestion-result img{width:40px;height:40px;margin-left:0;padding-right:10px;padding-top:10px;padding-bottom:10px}.win-autosuggestbox-suggestion-result img:lang(ar),.win-autosuggestbox-suggestion-result img:lang(dv),.win-autosuggestbox-suggestion-result img:lang(fa),.win-autosuggestbox-suggestion-result img:lang(he),.win-autosuggestbox-suggestion-result img:lang(ku-Arab),.win-autosuggestbox-suggestion-result img:lang(pa-Arab),.win-autosuggestbox-suggestion-result img:lang(prs),.win-autosuggestbox-suggestion-result img:lang(ps),.win-autosuggestbox-suggestion-result img:lang(qps-plocm),.win-autosuggestbox-suggestion-result img:lang(sd-Arab),.win-autosuggestbox-suggestion-result img:lang(syr),.win-autosuggestbox-suggestion-result img:lang(ug),.win-autosuggestbox-suggestion-result img:lang(ur){margin-right:0;margin-left:auto;padding-left:10px;padding-right:0}.win-autosuggestbox-suggestion-query{height:20px;padding:11px 0 13px 12px;outline:0;white-space:nowrap;overflow:hidden;line-height:20px}.win-autosuggestbox-suggestion-separator{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:40px;font-size:11pt}.win-autosuggestbox-suggestion-separator hr{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;margin-top:18px;border-style:solid;border-width:1px 0 0}.win-autosuggestbox-suggestion-separator hr:lang(ar),.win-autosuggestbox-suggestion-separator hr:lang(dv),.win-autosuggestbox-suggestion-separator hr:lang(fa),.win-autosuggestbox-suggestion-separator hr:lang(he),.win-autosuggestbox-suggestion-separator hr:lang(ku-Arab),.win-autosuggestbox-suggestion-separator hr:lang(pa-Arab),.win-autosuggestbox-suggestion-separator hr:lang(prs),.win-autosuggestbox-suggestion-separator hr:lang(ps),.win-autosuggestbox-suggestion-separator hr:lang(qps-plocm),.win-autosuggestbox-suggestion-separator hr:lang(sd-Arab),.win-autosuggestbox-suggestion-separator hr:lang(syr),.win-autosuggestbox-suggestion-separator hr:lang(ug),.win-autosuggestbox-suggestion-separator hr:lang(ur){margin-right:10px;margin-left:auto}.win-autosuggestbox-suggestion-separator div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-top:9px;padding-bottom:11px;line-height:20px;margin-right:10px}.win-autosuggestbox-suggestion-separator div:lang(ar),.win-autosuggestbox-suggestion-separator div:lang(dv),.win-autosuggestbox-suggestion-separator div:lang(fa),.win-autosuggestbox-suggestion-separator div:lang(he),.win-autosuggestbox-suggestion-separator div:lang(ku-Arab),.win-autosuggestbox-suggestion-separator div:lang(pa-Arab),.win-autosuggestbox-suggestion-separator div:lang(prs),.win-autosuggestbox-suggestion-separator div:lang(ps),.win-autosuggestbox-suggestion-separator div:lang(qps-plocm),.win-autosuggestbox-suggestion-separator div:lang(sd-Arab),.win-autosuggestbox-suggestion-separator div:lang(syr),.win-autosuggestbox-suggestion-separator div:lang(ug),.win-autosuggestbox-suggestion-separator div:lang(ur){margin-left:10px;margin-right:auto}@keyframes WinJS-flyoutBelowASB-showPopup{from{transform:translateY(0)}to{transform:none}}@keyframes WinJS-flyoutAboveASB-showPopup{from{transform:translateY(0)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutBelowASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutAboveASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}.win-searchbox input[type=search]::-ms-clear{display:none}.win-searchbox input[type=search]::-webkit-search-cancel-button{display:none}.win-searchbox-button{position:absolute;right:0;top:0;width:32px;font-size:15px;border-style:none;height:100%;text-align:center}.win-searchbox-button:lang(ar),.win-searchbox-button:lang(dv),.win-searchbox-button:lang(fa),.win-searchbox-button:lang(he),.win-searchbox-button:lang(ku-Arab),.win-searchbox-button:lang(pa-Arab),.win-searchbox-button:lang(prs),.win-searchbox-button:lang(ps),.win-searchbox-button:lang(qps-plocm),.win-searchbox-button:lang(sd-Arab),.win-searchbox-button:lang(syr),.win-searchbox-button:lang(ug),.win-searchbox-button:lang(ur){right:auto;left:0}.win-searchbox-button.win-searchbox-button:before{content:"\E094";position:absolute;left:8px;top:8px;line-height:100%}.win-splitviewcommand{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;touch-action:manipulation}.win-splitviewcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-splitviewcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-splitviewcommand-button:focus{z-index:1;outline:0}.win-splitviewcommand-icon{height:16px;width:16px;font-size:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-splitviewcommand-icon:lang(ar),.win-splitviewcommand-icon:lang(dv),.win-splitviewcommand-icon:lang(fa),.win-splitviewcommand-icon:lang(he),.win-splitviewcommand-icon:lang(ku-Arab),.win-splitviewcommand-icon:lang(pa-Arab),.win-splitviewcommand-icon:lang(prs),.win-splitviewcommand-icon:lang(ps),.win-splitviewcommand-icon:lang(qps-plocm),.win-splitviewcommand-icon:lang(sd-Arab),.win-splitviewcommand-icon:lang(syr),.win-splitviewcommand-icon:lang(ug),.win-splitviewcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-splitviewcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-icon,.win-navbarcontainer-navarrow{font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}@media (-ms-high-contrast){.win-autosuggestbox{border-color:ButtonText;background-color:ButtonFace;color:ButtonText}.win-autosuggestbox-disabled,.win-autosuggestbox-disabled input[disabled]{border-color:GrayText;background-color:ButtonFace}.win-autosuggestbox-disabled input[disabled]{color:GrayText}.win-autosuggestbox-disabled div{color:GrayText;background-color:ButtonFace}.win-autosuggestbox:-ms-input-placeholder,.win-autosuggestbox::-moz-input-placeholder,.win-autosuggestbox::-webkit-input-placeholder{color:GrayText}.win-autosuggestbox-flyout{border-color:ButtonText;background-color:ButtonFace}.win-autosuggestbox-flyout-highlighttext{color:ButtonText}html.win-hoverable .win-autosuggestbox-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover{background-color:Highlight;color:HighlightText}html.win-hoverable .win-autosuggestbox-suggestion-query:hover .win-autosuggestbox-flyout-highlighttext,html.win-hoverable .win-autosuggestbox-suggestion-result:hover .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-autosuggestbox-suggestion-query,.win-autosuggestbox-suggestion-result{color:ButtonText}.win-autosuggestbox-suggestion-selected{background-color:Highlight;color:HighlightText}.win-autosuggestbox-suggestion-separator{color:ButtonText}.win-autosuggestbox-suggestion-separator hr{border-color:ButtonText}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-searchbox-button{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-searchbox-button[disabled=false]:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button-input-focus{background-color:ButtonText;color:ButtonFace}html.win-hoverable .win-searchbox-button-input-focus:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button:active{background-color:ButtonText;color:ButtonFace}.win-splitviewcommand-button{background-color:ButtonFace;color:ButtonText}.win-splitviewcommand-button:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px);pointer-events:none}html.win-hoverable .win-splitviewcommand-button:hover{background-color:Highlight;color:HighlightText}.win-splitviewcommand-button.win-pressed,html.win-hoverable .win-splitviewcommand-button.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-navbar{z-index:999}.win-navbar.win-navbar-hiding,.win-navbar.win-navbar-showing,.win-navbar.win-navbar-shown{min-height:60px}.win-navbar .win-navbar-invokebutton{width:32px;min-height:0;height:24px}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{width:32px}.win-navbar.win-top .win-navbar-invokebutton{bottom:0}.win-navbar.win-top .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-bottom .win-navbar-invokebutton,.win-navbar.win-bottom .win-navbar-invokebutton .win-navbar-ellipsis{top:0}.win-navbarcontainer{width:100%;position:relative}.win-navbarcontainer-pageindicator-box{position:absolute;width:100%;text-align:center;pointer-events:none}.win-navbarcontainer-vertical .win-navbarcontainer-pageindicator-box{display:none}.win-navbarcontainer-pageindicator{display:inline-block;width:40px;height:4px;margin:4px 2px 16px}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport::-webkit-scrollbar{width:0;height:0}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport{padding:20px 0;overflow-x:auto;overflow-y:hidden;overflow:-moz-scrollbars-none;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;touch-action:pan-x}.win-navbarcontainer-vertical .win-navbarcontainer-viewport{overflow-x:hidden;overflow-y:auto;max-height:216px;-ms-overflow-style:-ms-autohiding-scrollbar;touch-action:pan-y;-webkit-overflow-scrolling:touch}.win-navbarcontainer-horizontal .win-navbarcontainer-surface{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-navbarcommand,.win-navbarcontainer-navarrow{display:-ms-flexbox;display:-webkit-flex;touch-action:manipulation}.win-navbarcontainer-vertical .win-navbarcontainer-surface{padding:12px 0}.win-navbarcontainer-navarrow{position:absolute;z-index:2;top:24px;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;height:calc(100% - 48px);width:20px;overflow:hidden}.win-navbarcontainer-vertical .win-navbarcontainer-navarrow{display:none}.win-navbarcontainer-navleft{left:0;margin-right:2px}.win-navbarcontainer-navleft::before{content:'\E0E2'}.win-navbarcontainer-navright{right:0;margin-left:2px}.win-navbarcontainer-navright::before{content:'\E0E3'}.win-navbarcommand{display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcontainer-horizontal .win-navbarcommand{margin:4px;width:192px}.win-navbarcontainer-vertical .win-navbarcommand{margin:4px 24px}.win-navbarcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-navbarcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-navbarcommand-button:focus{z-index:1;outline:0}.win-navbarcommand-icon{height:16px;width:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcommand-icon:lang(ar),.win-navbarcommand-icon:lang(dv),.win-navbarcommand-icon:lang(fa),.win-navbarcommand-icon:lang(he),.win-navbarcommand-icon:lang(ku-Arab),.win-navbarcommand-icon:lang(pa-Arab),.win-navbarcommand-icon:lang(prs),.win-navbarcommand-icon:lang(ps),.win-navbarcommand-icon:lang(qps-plocm),.win-navbarcommand-icon:lang(sd-Arab),.win-navbarcommand-icon:lang(syr),.win-navbarcommand-icon:lang(ug),.win-navbarcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-navbarcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-splitbutton{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;width:48px;font-family:"Segoe MDL2 Assets",Symbols;font-size:16px;margin-right:0;margin-left:2px;position:relative}.win-navbarcommand-splitbutton:lang(ar),.win-navbarcommand-splitbutton:lang(dv),.win-navbarcommand-splitbutton:lang(fa),.win-navbarcommand-splitbutton:lang(he),.win-navbarcommand-splitbutton:lang(ku-Arab),.win-navbarcommand-splitbutton:lang(pa-Arab),.win-navbarcommand-splitbutton:lang(prs),.win-navbarcommand-splitbutton:lang(ps),.win-navbarcommand-splitbutton:lang(qps-plocm),.win-navbarcommand-splitbutton:lang(sd-Arab),.win-navbarcommand-splitbutton:lang(syr),.win-navbarcommand-splitbutton:lang(ug),.win-navbarcommand-splitbutton:lang(ur){margin-left:0;margin-right:2px}.win-navbarcommand-splitbutton::before{content:'\E019';pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;text-align:center;line-height:46px;border:1px dotted transparent}.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened::before{content:'\E018'}.win-navbarcommand-splitbutton:focus{outline:0}@media (-ms-high-contrast){.win-navbarcontainer-pageindicator{background-color:ButtonFace}.win-navbarcontainer-pageindicator:after{display:block;border:1px solid ButtonText;content:"";width:calc(100% - 2px);height:calc(100% - 2px)}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after,.win-navbarcontainer-navarrow:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px)}.win-navbarcontainer-pageindicator-current{background-color:ButtonText}html.win-hoverable .win-navbarcontainer-pageindicator:hover{background-color:Highlight}.win-navbarcontainer-pageindicator:hover:active,html.win-hoverable .win-navbarcontainer-pageindicator-current:hover{background-color:ButtonText}.win-navbarcontainer-navarrow{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:Highlight;color:HighlightText}.win-navbarcontainer-navarrow:hover:active{background-color:ButtonText;color:ButtonFace}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:ButtonFace;color:ButtonText}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after{pointer-events:none}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:Highlight;color:HighlightText}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened,.win-navbarcommand-splitbutton.win-pressed,html.win-hoverable .win-navbarcommand-button.win-pressed:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-viewbox{width:100%;height:100%;position:relative}.win-contentdialog.win-contentdialog-verticalalignment{position:fixed;top:0;left:0;right:0;height:100vh;overflow:hidden;display:none;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-devicefixedsupported{position:-ms-device-fixed;height:auto;bottom:0}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.win-contentdialog .win-contentdialog-backgroundoverlay{position:absolute;top:0;left:0;width:100%;height:100%}.win-contentdialog .win-contentdialog-dialog{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;z-index:1;outline-style:solid;outline-width:1px;box-sizing:border-box;padding:18px 24px 24px;width:100%;min-width:320px;max-width:456px;min-height:184px;max-height:758px;margin-left:auto;margin-right:auto}.win-contentdialog .win-contentdialog-column0or1{-ms-flex:10000 0 50%;-webkit-flex:10000 0 50%;flex:10000 0 50%;width:0}@media (min-height:640px){.win-contentdialog .win-contentdialog-dialog{-ms-flex:0 1 auto;-webkit-flex:0 1 auto;flex:0 1 auto}.win-contentdialog .win-contentdialog-column0or1{display:none}}.win-contentdialog .win-contentdialog-scroller{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow:auto}.win-contentdialog .win-contentdialog-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-size:20px;font-weight:400;line-height:1.2;margin:0}.win-contentdialog .win-contentdialog-content{-ms-flex:1 0 auto;-webkit-flex:1 0 auto;flex:1 0 auto;font-size:15px;font-weight:400;line-height:1.333}.win-contentdialog .win-contentdialog-commands{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:24px;margin-right:-4px}.win-contentdialog .win-contentdialog-commandspacer{visibility:hidden}.win-contentdialog .win-contentdialog-commands>button{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;width:0;margin-right:4px;white-space:nowrap}.win-splitview{position:relative;width:100%;height:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden}.win-splitview.win-splitview-placementbottom,.win-splitview.win-splitview-placementbottom .win-splitview-panewrapper,.win-splitview.win-splitview-placementtop,.win-splitview.win-splitview-placementtop .win-splitview-panewrapper{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-splitview .win-splitview-panewrapper{position:relative;z-index:1;outline:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-appbar.win-appbar-closed.win-appbar-closeddisplaynone,.win-splitview.win-splitview-openeddisplayinline .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed.win-splitview-closeddisplaynone .win-splitview-pane{display:none}.win-splitview .win-splitview-paneoutline{display:none;pointer-events:none;position:absolute;top:0;left:0;border:1px solid transparent;width:calc(100% - 2px);height:calc(100% - 2px);z-index:1}.win-splitview .win-splitview-pane{outline:0}.win-splitview .win-splitview-pane,.win-splitview .win-splitview-paneplaceholder{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden}.win-splitview .win-splitview-contentwrapper{position:relative;z-index:0;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.win-splitview .win-splitview-content{position:absolute;width:100%;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementright .win-splitview-pane{width:320px}.win-splitview.win-splitview-pane-opened.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementtop .win-splitview-pane{height:60px}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementtop .win-splitview-panewrapper{position:absolute;top:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementbottom .win-splitview-panewrapper{position:absolute;bottom:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft{position:static}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ur) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright .win-splitview-panewrapper{position:absolute;top:0;left:auto;right:0;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ur) .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-closed.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementtop .win-splitview-pane{height:24px}.win-splitview.win-splitview-pane-closed.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementright .win-splitview-pane{width:48px}button.win-splitviewpanetoggle{touch-action:manipulation;box-sizing:border-box;height:48px;width:48px;min-height:0;min-width:0;padding:0;border:none;margin:0;outline:0}button.win-splitviewpanetoggle:after{font-size:24px;font-family:'Segoe MDL2 Assets',Symbols;font-weight:400;line-height:1.333;content:"\E700"}.win-appbar{width:100%;min-width:32px;position:fixed;position:-ms-device-fixed;z-index:999}.win-appbar.win-appbar-top{top:0}.win-appbar.win-appbar-bottom{bottom:0}.win-ui-dark,body{background-color:#000;color:#fff}.win-ui-light{background-color:#fff;color:#000}::selection{color:#fff}.win-link:hover{color:rgba(255,255,255,.6)}.win-link:active{color:rgba(255,255,255,.4)}.win-link[disabled]{color:rgba(255,255,255,.2)}.win-checkbox::-ms-check{color:#fff;border-color:rgba(255,255,255,.8);background-color:transparent}.win-checkbox:indeterminate::-ms-check{color:rgba(255,255,255,.8)}.win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-checkbox:hover::-ms-check{border-color:#fff}.win-checkbox:hover:indeterminate::-ms-check{color:#fff}.win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-checkbox:indeterminate:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.8);background-color:transparent}.win-checkbox:disabled::-ms-check,.win-checkbox:indeterminate:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2);background-color:transparent}.win-radio::-ms-check{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.8);background-color:transparent}.win-radio:hover::-ms-check{border-color:#fff;color:#fff}.win-radio:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.6)}.win-radio:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){background-color:rgba(255,255,255,.2)}.win-progress-bar::-webkit-progress-bar,.win-progress-ring::-webkit-progress-bar,.win-ring::-webkit-progress-bar{background-color:transparent}.win-progress-ring,.win-ring{background-color:transparent}.win-button{color:#fff;background-color:rgba(255,255,255,.2);border-color:transparent}.win-button.win-button-primary{color:#fff}.win-button.win-button-primary:hover,.win-button:hover{border-color:rgba(255,255,255,.4)}.win-button.win-button-primary:active,.win-button:active{background-color:rgba(255,255,255,.4)}.win-button.win-button-primary:disabled,.win-button:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2);border-color:transparent}.win-dropdown{color:#fff;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}.win-dropdown::-ms-expand{color:rgba(255,255,255,.8);background-color:transparent}.win-dropdown:hover{background-color:#2b2b2b;border-color:rgba(255,255,255,.6)}.win-dropdown:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2)}.win-dropdown:disabled::-ms-expand{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-dropdown option{color:#fff;background-color:#2b2b2b}.win-dropdown option:checked{color:#fff}.win-dropdown option:active,.win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#fff}.win-dropdown optgroup{color:#fff;background-color:#2b2b2b}.win-dropdown optgroup:disabled{color:rgba(255,255,255,.2)}select[multiple].win-dropdown{border:none;background-color:#2b2b2b}select[multiple].win-dropdown option,select[multiple].win-dropdown option:checked,select[multiple].win-dropdown option:hover{color:#fff}.win-slider{background-color:transparent}.win-slider:hover::-ms-thumb{background:#f9f9f9}.win-slider:hover::-webkit-slider-thumb{background:#f9f9f9}.win-slider:hover::-moz-range-thumb{background:#f9f9f9}.win-slider:active::-ms-thumb{background:#767676}.win-slider:active::-webkit-slider-thumb{background:#767676}.win-slider:active::-moz-range-thumb{background:#767676}.win-slider:disabled::-ms-thumb{background:#333}.win-slider:disabled::-webkit-slider-thumb{background:#333}.win-slider:disabled::-moz-range-thumb{background:#333}.win-slider:disabled::-ms-fill-lower{background:rgba(255,255,255,.2)}.win-slider::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-slider::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-slider::-moz-range-track{background:rgba(255,255,255,.4)}.win-slider:active::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-slider:active::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-slider:active::-moz-range-track{background:rgba(255,255,255,.4)}.win-slider:disabled::-ms-fill-upper{background:rgba(255,255,255,.2)}.win-slider:disabled::-webkit-slider-runnable-track{background:rgba(255,255,255,.2)}.win-slider:disabled::-moz-range-track{background:rgba(255,255,255,.2)}.win-slider::-ms-track{color:transparent;background-color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:rgba(255,255,255,.4)}.win-textarea,.win-textbox{color:#fff;background-color:rgba(0,0,0,.4);border-color:rgba(255,255,255,.4)}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea::-webkit-input-placeholder,.win-textbox::-webkit-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea::-moz-input-placeholder,.win-textbox::-moz-input-placeholder{color:rgba(255,255,255,.6)}.win-textarea:hover,.win-textbox:hover{background-color:rgba(0,0,0,.6);border-color:rgba(255,255,255,.6)}.win-textarea:focus,.win-textbox:focus{color:#000;background-color:#fff}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-itemcontainer.win-selectionstylefilled.win-selected,.win-listview.win-selectionstylefilled .win-selected,.win-selectioncheckmark{color:#fff}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{color:#fff}.win-xbox :focus{outline:#fff solid 2px}.win-backbutton:focus,.win-listview .win-groupheader,.win-navigation-backbutton:focus .win-back{outline-color:#fff}.win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#fff;background-color:#393939}.win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(255,255,255,.2)}.win-itemcontainer .win-itembox,.win-listview .win-itembox{background-color:#1d1d1d}.win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{outline:#fff dashed 2px}.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.6}.win-flipview .win-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-flipview .win-navbutton:hover:active{background-color:rgba(255,255,255,.8)}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(255,255,255,.6)}.win-back,.win-backbutton,.win-navigation-backbutton{background-color:transparent;border:none;color:#fff}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{position:absolute;height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;opacity:.6}.win-backbutton:hover,.win-navigation-backbutton:hover .win-back{background-color:rgba(255,255,255,.1)}.win-backbutton:active,.win-navigation-backbutton:active .win-back{background-color:rgba(255,255,255,.2)}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{color:rgba(255,255,255,.4);background-color:transparent}.win-tooltip{color:#fff;border-color:#767676;background-color:#2b2b2b}.win-rating .win-star.win-tentative.win-full{color:rgba(255,255,255,.8)}.win-rating .win-star.win-average.win-full,.win-rating .win-star.win-average.win-full.win-disabled{color:rgba(255,255,255,.4)}.win-rating .win-star.win-empty{color:rgba(255,255,255,.2)}.win-toggleswitch-header,.win-toggleswitch-value{color:#fff}.win-toggleswitch-thumb{background-color:rgba(255,255,255,.8)}.win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(255,255,255,.8)}.win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(255,255,255,.2)}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(255,255,255,.2)}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(255,255,255,.2)}.win-semanticzoom-button,.win-toggleswitch-on .win-toggleswitch-track,button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(255,255,255,.6)}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(255,255,255,.2)}.win-semanticzoom-button{background-color:rgba(216,216,216,.33)}button.win-semanticzoom-button.win-semanticzoom-button:active,button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#fff}.win-pivot .win-pivot-title{color:#fff}.win-pivot .win-pivot-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(255,255,255,.8)}.win-pivot button.win-pivot-header{color:rgba(255,255,255,.6);background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:rgba(255,255,255,.8)}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:#fff;background-color:transparent}.win-pivot-header[disabled]{color:rgba(255,255,255,.4)}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active{color:#fff}button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#fff dotted 1px}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#fff}button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(255,255,255,.4)}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(255,255,255,.4)}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:#fff}.win-overlay{outline:0}hr.win-command{background-color:rgba(255,255,255,.4)}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:#fff}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:rgba(255,255,255,.2)}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#fff}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#fff}button.win-command:enabled:-ms-keyboard-active{background-color:rgba(255,255,255,.2);color:#fff}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:rgba(255,255,255,.2)}.win-navbar{background-color:#393939;border-color:#393939}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#fff}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#fff}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(255,255,255,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(255,255,255,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#fff}.win-flyout,.win-settingsflyout{background-color:#000}.win-menu button{background-color:transparent;color:#fff}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:rgba(255,255,255,.2)}.win-commandingsurface .win-commandingsurface-actionarea{background-color:#393939}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#fff}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#fff}.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#2b2b2b}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(255,255,255,.2)}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-navbarcommand-button.win-keyboard:focus::before,.win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #fff}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-autosuggestbox-flyout{background-color:#2b2b2b;color:#fff}.win-autosuggestbox-suggestion-query:hover:active,.win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(255,255,255,.2)}.win-searchbox-button{color:rgba(255,255,255,.4)}.win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-splitviewcommand-button{background-color:transparent;color:#fff}.win-navbarcontainer-pageindicator,.win-splitviewcommand-button.win-pressed{background-color:rgba(255,255,255,.2)}.win-navbarcontainer-pageindicator-current{background-color:rgba(255,255,255,.6)}.win-navbarcontainer-navarrow{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(255,255,255,.8)}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:rgba(255,255,255,.1);color:#fff}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-pressed{background-color:rgba(255,255,255,.28)}.win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#fff}.win-contentdialog-dialog{background-color:#2b2b2b}.win-contentdialog-content,.win-contentdialog-title{color:#fff}.win-contentdialog-backgroundoverlay{background-color:#000;opacity:.6}html.win-hoverable .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:.8}.win-splitview-pane{background-color:#171717}button.win-splitviewpanetoggle{color:#fff;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:#fff;background-color:rgba(255,255,255,.2)}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #fff}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before,html.win-hoverable .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#fff}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:rgba(255,255,255,.2);background-color:transparent}html.win-hoverable .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{color:rgba(255,255,255,.6)}html.win-hoverable .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable button.win-hub-section-header-tabstop:hover{color:#fff}html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(255,255,255,.8)}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable button.win-splitviewpanetoggle:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:rgba(255,255,255,.1);color:#fff}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-splitviewcommand-button:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.9}html.win-hoverable .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(255,255,255,.2)}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:rgba(255,255,255,.6)}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:rgba(255,255,255,.19)}html.win-hoverable .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(255,255,255,.28)}html.win-hoverable button.win-splitviewpanetoggle:hover{background-color:rgba(255,255,255,.1)}.win-ui-light .win-ui-light,.win-ui-light body{background-color:#fff;color:#000}.win-ui-light .win-ui-dark{background-color:#000;color:#fff}.win-ui-light ::selection{color:#fff}.win-ui-light .win-link:hover{color:rgba(0,0,0,.6)}.win-ui-light .win-link:active{color:rgba(0,0,0,.4)}.win-ui-light .win-link[disabled]{color:rgba(0,0,0,.2)}.win-ui-light .win-checkbox::-ms-check{color:#000;border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-checkbox:indeterminate::-ms-check{color:rgba(0,0,0,.8)}.win-ui-light .win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-ui-light .win-checkbox:hover::-ms-check{border-color:#000}.win-ui-light .win-checkbox:hover:indeterminate::-ms-check{color:#000}.win-ui-light .win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-ui-light .win-checkbox:indeterminate:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-checkbox:disabled::-ms-check,.win-ui-light .win-checkbox:indeterminate:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent}.win-ui-light .win-radio::-ms-check{color:rgba(0,0,0,.8);border-color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-radio:hover::-ms-check{border-color:#000;color:#000}.win-ui-light .win-radio:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.6)}.win-ui-light .win-radio:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-ui-light .win-progress-bar:not(:indeterminate),.win-ui-light .win-progress-ring:not(:indeterminate),.win-ui-light .win-ring:not(:indeterminate){background-color:rgba(0,0,0,.2)}.win-ui-light .win-progress-bar::-webkit-progress-bar,.win-ui-light .win-progress-ring::-webkit-progress-bar,.win-ui-light .win-ring::-webkit-progress-bar{background-color:transparent}.win-ui-light .win-progress-ring,.win-ui-light .win-ring{background-color:transparent}.win-ui-light .win-button{color:#000;background-color:rgba(0,0,0,.2);border-color:transparent}.win-ui-light .win-button.win-button-primary{color:#fff}.win-ui-light .win-button.win-button-primary:hover,.win-ui-light .win-button:hover{border-color:rgba(0,0,0,.4)}.win-ui-light .win-button.win-button-primary:active,.win-ui-light .win-button:active{background-color:rgba(0,0,0,.4)}.win-ui-light .win-button.win-button-primary:disabled,.win-ui-light .win-button:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2);border-color:transparent}.win-ui-light .win-dropdown{color:#000;background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}.win-ui-light .win-dropdown::-ms-expand{color:rgba(0,0,0,.8);background-color:transparent}.win-ui-light .win-dropdown:hover{background-color:#f2f2f2;border-color:rgba(0,0,0,.6)}.win-ui-light .win-dropdown:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2)}.win-ui-light .win-dropdown:disabled::-ms-expand{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-ui-light .win-dropdown option{color:#000;background-color:#f2f2f2}.win-ui-light .win-dropdown option:checked{color:#fff}.win-ui-light .win-dropdown option:active,.win-ui-light .win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light .win-dropdown optgroup{color:#000;background-color:#f2f2f2}.win-ui-light .win-dropdown optgroup:disabled{color:rgba(0,0,0,.2)}.win-ui-light select[multiple].win-dropdown{border:none;background-color:#f2f2f2}.win-ui-light select[multiple].win-dropdown option,.win-ui-light select[multiple].win-dropdown option:hover{color:#000}.win-ui-light select[multiple].win-dropdown option:checked{color:#fff}.win-ui-light .win-slider{background-color:transparent}.win-ui-light .win-slider:hover::-ms-thumb{background:#1f1f1f}.win-ui-light .win-slider:hover::-webkit-slider-thumb{background:#1f1f1f}.win-ui-light .win-slider:hover::-moz-range-thumb{background:#1f1f1f}.win-ui-light .win-slider:active::-ms-thumb{background:#ccc}.win-ui-light .win-slider:active::-webkit-slider-thumb{background:#ccc}.win-ui-light .win-slider:active::-moz-range-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-ms-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-webkit-slider-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-moz-range-thumb{background:#ccc}.win-ui-light .win-slider:disabled::-ms-fill-lower{background:rgba(0,0,0,.2)}.win-ui-light .win-slider::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-ui-light .win-slider::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider::-moz-range-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:active::-moz-range-track{background:rgba(0,0,0,.4)}.win-ui-light .win-slider:disabled::-ms-fill-upper{background:rgba(0,0,0,.2)}.win-ui-light .win-slider:disabled::-webkit-slider-runnable-track{background:rgba(0,0,0,.2)}.win-ui-light .win-slider:disabled::-moz-range-track{background:rgba(0,0,0,.2)}.win-ui-light .win-slider::-ms-track{color:transparent;background-color:transparent}.win-ui-light .win-slider::-ms-ticks-after,.win-ui-light .win-slider::-ms-ticks-before{color:rgba(0,0,0,.4)}.win-ui-light .win-textarea,.win-ui-light .win-textbox{color:#000;background-color:rgba(255,255,255,.4);border-color:rgba(0,0,0,.4)}.win-ui-light .win-textarea:-ms-input-placeholder,.win-ui-light .win-textbox:-ms-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea::-webkit-input-placeholder,.win-ui-light .win-textbox::-webkit-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea::-moz-input-placeholder,.win-ui-light .win-textbox::-moz-input-placeholder{color:rgba(0,0,0,.6)}.win-ui-light .win-textarea:hover,.win-ui-light .win-textbox:hover{background-color:rgba(255,255,255,.6);border-color:rgba(0,0,0,.6)}.win-ui-light .win-textarea:focus,.win-ui-light .win-textbox:focus{color:#000;background-color:#fff}.win-ui-light .win-textbox::-ms-clear,.win-ui-light .win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-ui-light .win-textbox::-ms-clear:active,.win-ui-light .win-textbox::-ms-reveal:active{color:#fff}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected,.win-ui-light .win-listview.win-selectionstylefilled .win-selected,.win-ui-light .win-selectioncheckmark{color:#000}.win-ui-light .win-xbox :focus{outline:#fff solid 2px}.win-ui-light .win-backbutton:focus,.win-ui-light .win-listview .win-groupheader,.win-ui-light .win-navigation-backbutton:focus .win-back{outline-color:#000}.win-ui-light .win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-ui-light .win-listview .win-surface.win-selectionmode .win-itembox::after,.win-ui-light .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#000;background-color:#e6e6e6}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-light .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-light .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,.win-ui-light html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-light html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-light html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(0,0,0,.2)}.win-ui-light .win-itemcontainer .win-itembox,.win-ui-light .win-listview .win-itembox{background-color:#fff}.win-ui-light .win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-ui-light .win-itemcontainer .win-focusedoutline,.win-ui-light .win-listview .win-focusedoutline{outline:#000 dashed 2px}.win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-ui-light .win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.4}.win-ui-light .win-flipview .win-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-flipview .win-navbutton:hover:active{background-color:rgba(0,0,0,.8)}.win-ui-light html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(0,0,0,.6)}.win-ui-light .win-back,.win-ui-light .win-backbutton,.win-ui-light .win-navigation-backbutton{background-color:transparent;border:none;color:#000}.win-ui-light .win-menu-containsflyoutcommand button.win-command-flyout-activated:before,.win-ui-light button[aria-checked=true].win-command:before,.win-ui-light.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{position:absolute;height:100%;width:100%;opacity:.4;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px}.win-ui-light .win-backbutton:hover,.win-ui-light .win-navigation-backbutton:hover .win-back{background-color:rgba(0,0,0,.1)}.win-ui-light .win-backbutton:active,.win-ui-light .win-navigation-backbutton:active .win-back{background-color:rgba(0,0,0,.2)}.win-ui-light .win-backbutton:disabled,.win-ui-light .win-backbutton:disabled:active,.win-ui-light .win-navigation-backbutton:disabled,.win-ui-light .win-navigation-backbutton:disabled .win-back,.win-ui-light .win-navigation-backbutton:disabled:active .win-back{color:rgba(0,0,0,.4);background-color:transparent}.win-ui-light .win-tooltip{color:#000;border-color:#ccc;background-color:#f2f2f2}.win-ui-light .win-rating .win-star.win-tentative.win-full{color:rgba(0,0,0,.8)}.win-ui-light .win-rating .win-star.win-average.win-full,.win-ui-light .win-rating .win-star.win-average.win-full.win-disabled{color:rgba(0,0,0,.4)}.win-ui-light .win-rating .win-star.win-empty{color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-header,.win-ui-light .win-toggleswitch-value{color:#000}.win-ui-light .win-toggleswitch-thumb{background-color:rgba(0,0,0,.8)}.win-ui-light .win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(0,0,0,.8)}.win-ui-light .win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-ui-light .win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-header,.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(0,0,0,.2)}.win-ui-light .win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(0,0,0,.2)}.win-ui-light .win-semanticzoom-button,.win-ui-light .win-toggleswitch-on .win-toggleswitch-track,.win-ui-light button.win-command:hover:active,.win-ui-light div.win-command:hover:active{border-color:transparent}.win-ui-light .win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-ui-light .win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(0,0,0,.6)}.win-ui-light .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-ui-light .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(0,0,0,.2)}.win-ui-light .win-semanticzoom-button{background-color:rgba(216,216,216,.33)}.win-ui-light button.win-semanticzoom-button.win-semanticzoom-button:active,.win-ui-light button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#000}.win-ui-light .win-pivot .win-pivot-title{color:#000}.win-ui-light .win-pivot .win-pivot-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(0,0,0,.8)}.win-ui-light .win-pivot button.win-pivot-header{color:rgba(0,0,0,.6);background-color:transparent}.win-ui-light .win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-ui-light .win-pivot button.win-pivot-header:focus{color:rgba(0,0,0,.8)}.win-ui-light .win-pivot button.win-pivot-header.win-pivot-header-selected{color:#000;background-color:transparent}.win-ui-light .win-pivot-header[disabled]{color:rgba(0,0,0,.4)}.win-ui-light button.win-hub-section-header-tabstop,.win-ui-light button.win-hub-section-header-tabstop:hover:active{color:#000}.win-ui-light button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#000 dotted 1px}.win-ui-light button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#000}.win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(0,0,0,.4)}.win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(0,0,0,.4)}.win-ui-light .win-commandimage,.win-ui-light button:enabled:active .win-commandimage,.win-ui-light button:enabled:hover:active .win-commandimage{color:#000}.win-ui-light .win-overlay{outline:0}.win-ui-light hr.win-command{background-color:rgba(0,0,0,.4)}.win-ui-light button.win-command,.win-ui-light div.win-command{border-color:transparent;background-color:transparent}.win-ui-light button:enabled.win-command.win-command.win-keyboard:hover:focus,.win-ui-light button:enabled.win-command.win-keyboard:focus,.win-ui-light div.win-command.win-command.win-keyboard:hover:focus,.win-ui-light div.win-command.win-keyboard:focus{border-color:#000}.win-ui-light button.win-command.win-command:enabled:active,.win-ui-light button.win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light button:disabled .win-commandimage,.win-ui-light button:disabled:active .win-commandimage{color:rgba(0,0,0,.2)}.win-ui-light button .win-label,.win-ui-light button[aria-checked=true]:enabled .win-commandimage,.win-ui-light button[aria-checked=true]:enabled .win-label,.win-ui-light button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#000}.win-ui-light button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#000}.win-ui-light button.win-command:enabled:-ms-keyboard-active{background-color:rgba(0,0,0,.2);color:#000}.win-ui-light button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}.win-ui-light button.win-command:disabled,.win-ui-light button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}.win-ui-light button.win-command:disabled .win-label,.win-ui-light button.win-command:disabled:active .win-label{color:rgba(0,0,0,.2)}.win-ui-light .win-navbar,.win-ui-light.win-navbar{background-color:#e6e6e6;border-color:#e6e6e6}.win-ui-light .win-navbar.win-menulayout .win-navbar-menu,.win-ui-light .win-navbar.win-menulayout .win-toolbar,.win-ui-light.win-navbar.win-menulayout .win-navbar-menu,.win-ui-light.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#000}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#000}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-ui-light .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis,.win-ui-light.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(0,0,0,.2)}.win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#000}.win-ui-light .win-flyout,.win-ui-light .win-settingsflyout,.win-ui-light.win-flyout{background-color:#fff}.win-ui-light .win-menu button,.win-ui-light.win-menu button{background-color:transparent;color:#000}.win-ui-light .win-menu button.win-command.win-command:enabled:hover:active,.win-ui-light .win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}html.win-hoverable .win-ui-light .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-light .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-light .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-light .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-light button:enabled[aria-checked=true].win-command:hover:before{opacity:.6}.win-ui-light .win-menu button[aria-checked=true].win-command:before,.win-ui-light.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-ui-light .win-menu button:disabled,.win-ui-light .win-menu button:disabled:active,.win-ui-light.win-menu button:disabled,.win-ui-light.win-menu button:disabled:active{background-color:transparent;color:rgba(0,0,0,.2)}.win-ui-light .win-commandingsurface .win-commandingsurface-actionarea,.win-ui-light.win-commandingsurface .win-commandingsurface-actionarea{background-color:#e6e6e6}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#000}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#000}.win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea,.win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#f2f2f2}.win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active,.win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active,.win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#000;background-color:rgba(0,0,0,.2)}.win-ui-light .win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-ui-light .win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-ui-light .win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-ui-light .win-navbarcommand-button.win-keyboard:focus::before,.win-ui-light .win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #000}.win-ui-light .win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-ui-light .win-autosuggestbox-flyout{background-color:#f2f2f2;color:#000}.win-ui-light .win-autosuggestbox-suggestion-query:hover:active,.win-ui-light .win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(0,0,0,.2)}.win-ui-light .win-searchbox-button,.win-ui-light .win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-ui-light .win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-ui-light .win-splitviewcommand-button{background-color:transparent;color:#000}.win-ui-light .win-navbarcontainer-pageindicator,.win-ui-light .win-splitviewcommand-button.win-pressed{background-color:rgba(0,0,0,.2)}.win-ui-light .win-navbarcontainer-pageindicator-current{background-color:rgba(0,0,0,.6)}.win-ui-light .win-navbarcontainer-navarrow{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-ui-light .win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(0,0,0,.8)}.win-ui-light .win-navbarcommand-button,.win-ui-light .win-navbarcommand-splitbutton{background-color:rgba(0,0,0,.1);color:#000}.win-ui-light .win-navbarcommand-button.win-pressed,.win-ui-light .win-navbarcommand-splitbutton.win-pressed{background-color:rgba(0,0,0,.28)}.win-ui-light .win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#000}.win-ui-light .win-contentdialog-dialog{background-color:#f2f2f2}.win-ui-light .win-contentdialog-content,.win-ui-light .win-contentdialog-title{color:#000}.win-ui-light .win-contentdialog-backgroundoverlay{background-color:#fff;opacity:.6}.win-ui-light .win-splitview-pane{background-color:#f2f2f2}.win-ui-light button.win-splitviewpanetoggle{color:#000;background-color:transparent}.win-ui-light button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,.win-ui-light button.win-splitviewpanetoggle:active{color:#000;background-color:rgba(0,0,0,.2)}.win-ui-light button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #000}html.win-hoverable .win-ui-light .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-ui-light .win-listview .win-itembox:hover::before,html.win-hoverable .win-ui-light .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#000}.win-ui-light button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,.win-ui-light button.win-splitviewpanetoggle:disabled,.win-ui-light button.win-splitviewpanetoggle:disabled:active{color:rgba(0,0,0,.2);background-color:transparent}html.win-hoverable .win-ui-light .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-ui-light .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#000}html.win-hoverable .win-ui-light .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable .win-ui-light button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-ui-light .win-pivot .win-pivot-navbutton:hover{color:rgba(0,0,0,.6)}html.win-hoverable .win-ui-light .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable .win-ui-light button.win-hub-section-header-tabstop:hover{color:#000}html.win-hoverable .win-ui-light button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(0,0,0,.8)}html.win-hoverable .win-ui-light .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-light .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-light.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-light.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-ui-light button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable .win-ui-light button.win-command:enabled:hover .win-commandglyph{color:#000}html.win-hoverable .win-ui-light .win-menu button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable .win-ui-light button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-ui-light .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-ui-light .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-ui-light .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-ui-light.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-light button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.7}html.win-hoverable .win-ui-light .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-ui-light.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis{color:#000}html.win-hoverable .win-ui-light .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-ui-light .win-splitviewcommand-button:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-light .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(255,255,255,.2)}html.win-hoverable .win-ui-light .win-navbarcontainer-navarrow:hover{background-color:rgba(0,0,0,.6)}html.win-hoverable .win-ui-light .win-navbarcommand-button:hover,html.win-hoverable .win-ui-light .win-navbarcommand-splitbutton:hover{background-color:rgba(255,255,255,.19)}html.win-hoverable .win-ui-light .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-ui-light .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(255,255,255,.28)}html.win-hoverable .win-ui-light button.win-splitviewpanetoggle:hover{color:#000;background-color:rgba(0,0,0,.1)}@media (-ms-high-contrast){::selection{background-color:Highlight;color:HighlightText}.win-link{color:-ms-hotlight}.win-link:active{color:Highlight}.win-link[disabled]{color:GrayText}.win-checkbox::-ms-check,.win-radio::-ms-check{background-color:ButtonFace;border-color:ButtonText;color:HighlightText}.win-checkbox:indeterminate::-ms-check,.win-radio:indeterminate::-ms-check{background-color:Highlight;border-color:ButtonText;color:ButtonText}.win-checkbox:checked::-ms-check,.win-radio:checked::-ms-check{background-color:Highlight;border-color:HighlightText}.win-checkbox:hover::-ms-check,.win-radio:hover::-ms-check{border-color:Highlight}.win-checkbox:-ms-keyboard-active::-ms-check,.win-checkbox:hover:active::-ms-check,.win-radio:-ms-keyboard-active::-ms-check,.win-radio:hover:active::-ms-check{border-color:Highlight}.win-checkbox:disabled::-ms-check,.win-checkbox:disabled:active::-ms-check,.win-radio:disabled::-ms-check,.win-radio:disabled:active::-ms-check{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-progress-bar,.win-progress-ring,.win-ring{background-color:ButtonFace;color:Highlight}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{background-color:Highlight}.win-progress-bar.win-paused:not(:indeterminate)::-ms-fill,.win-progress-ring.win-paused:not(:indeterminate)::-ms-fill,.win-ring.win-paused:not(:indeterminate)::-ms-fill{background-color:GrayText}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:none;opacity:1}.win-button{border-color:ButtonText;color:ButtonText}.win-button:active,.win-button:hover{border-color:Highlight;color:Highlight}.win-button:disabled{border-color:GrayText;color:GrayText}.win-dropdown{background-color:ButtonFace;border-color:ButtonText;color:WindowText}.win-dropdown:active,.win-dropdown:hover{border-color:Highlight}.win-dropdown:disabled{border-color:GrayText;color:GrayText}.win-dropdown::-ms-expand{color:ButtonText}.win-dropdown:disabled::-ms-expand{color:GrayText}.win-dropdown option{background-color:ButtonFace;color:ButtonText}.win-dropdown option:active,.win-dropdown option:checked,.win-dropdown option:hover{background-color:Highlight;color:HighlightText}.win-dropdown option:disabled,select[multiple].win-dropdown:disabled option{background-color:ButtonFace;color:GrayText}select[multiple].win-dropdown{border:none}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;position:absolute}select[multiple].win-dropdown:disabled option:checked{background-color:GrayText;color:ButtonFace}.win-slider::-ms-track{color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:ButtonText}.win-slider::-ms-fill-lower{background-color:Highlight}.win-slider::-ms-fill-upper{background-color:ButtonText}.win-slider::-ms-thumb{background-color:ButtonText}.win-slider:hover::-ms-thumb{background-color:Highlight}.win-slider:active::-ms-thumb{background-color:Highlight}.win-slider:disabled::-ms-fill-lower,.win-slider:disabled::-ms-fill-upper,.win-slider:disabled::-ms-thumb{background-color:GrayText}.win-textarea,.win-textbox{border-color:ButtonText;color:ButtonText}.win-textarea:active,.win-textarea:focus,.win-textarea:hover,.win-textbox:active,.win-textbox:focus,.win-textbox:hover{border-color:Highlight}.win-textarea:disabled,.win-textbox:disabled{border-color:GrayText;color:GrayText}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:WindowText}.win-textarea::-ms-input-placeholder,.win-textbox::-ms-input-placeholder{color:WindowText}.win-textarea:disabled:-ms-input-placeholder,.win-textbox:disabled:-ms-input-placeholder{color:GrayText}.win-textarea:disabled::-ms-input-placeholder,.win-textbox:disabled::-ms-input-placeholder{color:GrayText}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{background-color:ButtonFace;color:ButtonText}.win-textbox::-ms-clear:hover,.win-textbox::-ms-reveal:hover{color:Highlight}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{background-color:Highlight;color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-thumb,.win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-header,.win-toggleswitch-value{color:HighlightText}.win-toggleswitch-off .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:Highlight;background-color:Highlight}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:GrayText}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-on .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:Background}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:GrayText;border-color:GrayText}.win-toggleswitch-off.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-enabled .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:Highlight}.win-pivot .win-pivot-title{color:WindowText}.win-pivot .win-pivot-navbutton{background-color:Highlight;color:HighlightText}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:HighlightText}.win-pivot button.win-pivot-header{color:HighlightText;background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:HighlightText}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:HighlightText;background-color:Highlight}.win-pivot-header[disabled]{color:GrayText}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:ButtonText}.win-overlay{outline:0}hr.win-command{background-color:ButtonText}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:ButtonText}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:GrayText}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:ButtonText}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:ButtonText}button[aria-checked=true].win-command:before{opacity:1}button.win-command:enabled:-ms-keyboard-active{background-color:Highlight;color:ButtonText}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:GrayText}.win-navbar{background-color:ButtonFace;border-color:Highlight}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:GrayText}.win-menu button,.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:ButtonText}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:Highlight}.win-flyout,.win-settingsflyout{background-color:ButtonFace}.win-menu button{background-color:transparent}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{opacity:.6}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:GrayText}button[aria-checked=true].win-command:before{border-color:Highlight;background-color:Highlight}.win-commandingsurface .win-commandingsurface-actionarea,.win-commandingsurface .win-commandingsurface-overflowarea{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:ButtonFace;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:Highlight}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:ButtonText;background-color:Highlight}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-insetoutline{display:block;border:1px solid ButtonText;pointer-events:none;background-color:transparent;z-index:1;position:absolute;top:0;left:0;height:calc(100% - 2px);width:calc(100% - 2px)}.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closing .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-opening .win-commandingsurface-insetoutline{display:none}.win-contentdialog-dialog{background-color:Window}.win-contentdialog-content,.win-contentdialog-title{color:WindowText}.win-contentdialog-backgroundoverlay{background-color:Window;opacity:.6}.win-splitview-pane{background-color:ButtonFace}.win-splitview.win-splitview-pane-opened .win-splitview-paneoutline{display:block;border-color:ButtonText}.win-splitview.win-splitview-animating .win-splitview-paneoutline{display:none}button.win-splitviewpanetoggle{color:ButtonText;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:ButtonText;background-color:Highlight}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted ButtonText}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:GrayText;background-color:transparent}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:HighlightText}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:Highlight}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:Highlight;color:HighlightText}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:1}html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:Highlight}html.win-hoverable button.win-splitviewpanetoggle:hover{color:ButtonText;background-color:Highlight}} \ No newline at end of file diff --git a/css/ui-light.css b/css/ui-light.css index e6a1dc5..6c841d3 100644 --- a/css/ui-light.css +++ b/css/ui-light.css @@ -733,7 +733,7 @@ iframe { .win-textbox, .win-link, .win-textarea { - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; } .win-textbox, .win-textarea { @@ -2693,7 +2693,7 @@ button.win-navigation-backbutton:enabled:hover:active { border-color: transparent; color: ButtonFace; } - html.win-hoverable win-semanticzoom-button:hover { + html.win-hoverable .win-semanticzoom-button:hover { background-color: Highlight; border-color: ButtonText; color: HighlightText; @@ -2744,7 +2744,7 @@ button.win-navigation-backbutton:enabled:hover:active { -ms-flex: 0 0 auto; -webkit-flex: 0 0 auto; flex: 0 0 auto; - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; font-size: 15px; font-weight: bold; white-space: nowrap; @@ -3283,7 +3283,7 @@ button[aria-checked=true]:disabled:active .win-commandimage { Command button labels. */ button.win-command .win-label { - font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols"; + font-family: "Segoe UI", sans-serif, "Segoe MDL2 Assets", "Symbols", "Segoe UI Emoji"; font-size: 12px; font-weight: 400; line-height: 1.167; @@ -5373,6 +5373,9 @@ Hide clear button in search box control. left: 0; width: 100%; } +.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft { + position: static; +} .win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper { position: absolute; top: 0; diff --git a/css/ui-light.min.css b/css/ui-light.min.css index d3bb9ac..eb79270 100644 --- a/css/ui-light.min.css +++ b/css/ui-light.min.css @@ -1 +1 @@ -.win-button,.win-slider{-webkit-appearance:none}.win-button,.win-link{touch-action:manipulation}@keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@keyframes WinJS-opacity-in{from{opacity:0}to{opacity:1}}@keyframes WinJS-opacity-out{from{opacity:1}to{opacity:0}}@keyframes WinJS-scale-up{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes WinJS-scale-down{from{transform:scale(1)}to{transform:scale(.85)}}@keyframes WinJS-default-remove{from{transform:translateX(11px)}to{transform:none}}@keyframes WinJS-default-remove-rtl{from{transform:translateX(-11px)}to{transform:none}}@keyframes WinJS-default-apply{from{transform:none}to{transform:translateX(11px)}}@keyframes WinJS-default-apply-rtl{from{transform:none}to{transform:translateX(-11px)}}@keyframes WinJS-showEdgeUI{from{transform:translateY(-70px)}to{transform:none}}@keyframes WinJS-showPanel{from{transform:translateX(364px)}to{transform:none}}@keyframes WinJS-showPanel-rtl{from{transform:translateX(-364px)}to{transform:none}}@keyframes WinJS-hideEdgeUI{from{transform:none}to{transform:translateY(-70px)}}@keyframes WinJS-hidePanel{from{transform:none}to{transform:translateX(364px)}}@keyframes WinJS-hidePanel-rtl{from{transform:none}to{transform:translateX(-364px)}}@keyframes WinJS-showPopup{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-dragSourceEnd{from{transform:translateX(11px) scale(1.05)}to{transform:none}}@keyframes WinJS-dragSourceEnd-rtl{from{transform:translateX(-11px) scale(1.05)}to{transform:none}}@keyframes WinJS-enterContent{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-exit{from,to{transform:none}}@keyframes WinJS-enterPage{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-updateBadge{from{transform:translateY(24px)}to{transform:none}}@-webkit-keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@-webkit-keyframes -webkit-WinJS-opacity-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes -webkit-WinJS-opacity-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes -webkit-WinJS-scale-up{from{-webkit-transform:scale(.85)}to{-webkit-transform:scale(1)}}@-webkit-keyframes -webkit-WinJS-scale-down{from{-webkit-transform:scale(1)}to{-webkit-transform:scale(.85)}}@-webkit-keyframes -webkit-WinJS-default-remove{from{-webkit-transform:translateX(11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-remove-rtl{from{-webkit-transform:translateX(-11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-apply{from{-webkit-transform:none}to{-webkit-transform:translateX(11px)}}@-webkit-keyframes -webkit-WinJS-default-apply-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-11px)}}@-webkit-keyframes -webkit-WinJS-showEdgeUI{from{-webkit-transform:translateY(-70px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel{from{-webkit-transform:translateX(364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel-rtl{from{-webkit-transform:translateX(-364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-hideEdgeUI{from{-webkit-transform:none}to{-webkit-transform:translateY(-70px)}}@-webkit-keyframes -webkit-WinJS-hidePanel{from{-webkit-transform:none}to{-webkit-transform:translateX(364px)}}@-webkit-keyframes -webkit-WinJS-hidePanel-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-364px)}}@-webkit-keyframes -webkit-WinJS-showPopup{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd{from{-webkit-transform:translateX(11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd-rtl{from{-webkit-transform:translateX(-11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterContent{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-exit{from,to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterPage{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-updateBadge{from{-webkit-transform:translateY(24px)}to{-webkit-transform:none}}@font-face{font-family:"Segoe UI Command";src:local("Segoe MDL2 Assets");font-weight:400;font-style:normal}@font-face{font-family:Symbols;src:url(../fonts/Symbols.ttf)}.win-h1,.win-type-header{font-size:46px;font-weight:200;line-height:1.216;letter-spacing:0}.win-h2,.win-type-subheader{font-size:34px;font-weight:200;line-height:1.176}.win-h3,.win-type-title{font-size:24px;font-weight:300;line-height:1.167}.win-h4,.win-type-subtitle{font-size:20px;font-weight:400;line-height:1.2}.win-h6,.win-type-body{font-size:15px;font-weight:400;line-height:1.333}.win-h5,.win-type-base{font-size:15px;font-weight:500;line-height:1.333}.win-type-caption{font-size:12px;font-weight:400;line-height:1.167}@font-face{font-family:"Segoe UI";font-weight:200;src:local("Segoe UI Light")}@font-face{font-family:"Segoe UI";font-weight:300;src:local("Segoe UI Semilight")}@font-face{font-family:"Segoe UI";font-weight:400;src:local("Segoe UI")}@font-face{font-family:"Segoe UI";font-weight:500;src:local("Segoe UI Semibold")}@font-face{font-family:"Segoe UI";font-weight:600;src:local("Segoe UI Bold")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:400;src:local("Segoe UI Italic")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:700;src:local("Segoe UI Bold Italic")}@font-face{font-family:"Microsoft Yahei UI";font-weight:200;src:local("Microsoft Yahei UI Light")}@font-face{font-family:"Microsoft Yahei UI";font-weight:300;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:500;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:600;src:local("Microsoft Yahei UI Bold")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:200;src:local("Microsoft JhengHei UI Light")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:300;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:500;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:600;src:local("Microsoft JhengHei UI Bold")}.win-button:-ms-lang(am,ti),.win-dropdown:-ms-lang(am,ti),.win-h1:-ms-lang(am,ti),.win-h2:-ms-lang(am,ti),.win-h3:-ms-lang(am,ti),.win-h4:-ms-lang(am,ti),.win-h5:-ms-lang(am,ti),.win-h6:-ms-lang(am,ti),.win-link:-ms-lang(am,ti),.win-textarea:-ms-lang(am,ti),.win-textbox:-ms-lang(am,ti),.win-type-base:-ms-lang(am,ti),.win-type-body:-ms-lang(am,ti),.win-type-caption:-ms-lang(am,ti),.win-type-header:-ms-lang(am,ti),.win-type-subheader:-ms-lang(am,ti),.win-type-subtitle:-ms-lang(am,ti),.win-type-title:-ms-lang(am,ti){font-family:Ebrima,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-dropdown:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h1:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h2:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h3:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h4:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h5:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h6:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-link:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textarea:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textbox:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-base:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-body:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-caption:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-header:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subheader:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subtitle:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-title:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te){font-family:"Nirmala UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(chr-CHER-US),.win-dropdown:-ms-lang(chr-CHER-US),.win-h1:-ms-lang(chr-CHER-US),.win-h2:-ms-lang(chr-CHER-US),.win-h3:-ms-lang(chr-CHER-US),.win-h4:-ms-lang(chr-CHER-US),.win-h5:-ms-lang(chr-CHER-US),.win-h6:-ms-lang(chr-CHER-US),.win-link:-ms-lang(chr-CHER-US),.win-textarea:-ms-lang(chr-CHER-US),.win-textbox:-ms-lang(chr-CHER-US),.win-type-base:-ms-lang(chr-CHER-US),.win-type-body:-ms-lang(chr-CHER-US),.win-type-caption:-ms-lang(chr-CHER-US),.win-type-header:-ms-lang(chr-CHER-US),.win-type-subheader:-ms-lang(chr-CHER-US),.win-type-subtitle:-ms-lang(chr-CHER-US),.win-type-title:-ms-lang(chr-CHER-US){font-family:Gadugi,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ja),.win-dropdown:-ms-lang(ja),.win-h1:-ms-lang(ja),.win-h2:-ms-lang(ja),.win-h3:-ms-lang(ja),.win-h4:-ms-lang(ja),.win-h5:-ms-lang(ja),.win-h6:-ms-lang(ja),.win-link:-ms-lang(ja),.win-textarea:-ms-lang(ja),.win-textbox:-ms-lang(ja),.win-type-base:-ms-lang(ja),.win-type-body:-ms-lang(ja),.win-type-caption:-ms-lang(ja),.win-type-header:-ms-lang(ja),.win-type-subheader:-ms-lang(ja),.win-type-subtitle:-ms-lang(ja),.win-type-title:-ms-lang(ja){font-family:"Yu Gothic UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(km,lo,th,bug-Bugi),.win-dropdown:-ms-lang(km,lo,th,bug-Bugi),.win-h1:-ms-lang(km,lo,th,bug-Bugi),.win-h2:-ms-lang(km,lo,th,bug-Bugi),.win-h3:-ms-lang(km,lo,th,bug-Bugi),.win-h4:-ms-lang(km,lo,th,bug-Bugi),.win-h5:-ms-lang(km,lo,th,bug-Bugi),.win-h6:-ms-lang(km,lo,th,bug-Bugi),.win-link:-ms-lang(km,lo,th,bug-Bugi),.win-textarea:-ms-lang(km,lo,th,bug-Bugi),.win-textbox:-ms-lang(km,lo,th,bug-Bugi),.win-type-base:-ms-lang(km,lo,th,bug-Bugi),.win-type-body:-ms-lang(km,lo,th,bug-Bugi),.win-type-caption:-ms-lang(km,lo,th,bug-Bugi),.win-type-header:-ms-lang(km,lo,th,bug-Bugi),.win-type-subheader:-ms-lang(km,lo,th,bug-Bugi),.win-type-subtitle:-ms-lang(km,lo,th,bug-Bugi),.win-type-title:-ms-lang(km,lo,th,bug-Bugi){font-family:"Leelawadee UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ko),.win-dropdown:-ms-lang(ko),.win-h1:-ms-lang(ko),.win-h2:-ms-lang(ko),.win-h3:-ms-lang(ko),.win-h4:-ms-lang(ko),.win-h5:-ms-lang(ko),.win-h6:-ms-lang(ko),.win-link:-ms-lang(ko),.win-textarea:-ms-lang(ko),.win-textbox:-ms-lang(ko),.win-type-base:-ms-lang(ko),.win-type-body:-ms-lang(ko),.win-type-caption:-ms-lang(ko),.win-type-header:-ms-lang(ko),.win-type-subheader:-ms-lang(ko),.win-type-subtitle:-ms-lang(ko),.win-type-title:-ms-lang(ko){font-family:"Malgun Gothic",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(jv-Java),.win-dropdown:-ms-lang(jv-Java),.win-h1:-ms-lang(jv-Java),.win-h2:-ms-lang(jv-Java),.win-h3:-ms-lang(jv-Java),.win-h4:-ms-lang(jv-Java),.win-h5:-ms-lang(jv-Java),.win-h6:-ms-lang(jv-Java),.win-link:-ms-lang(jv-Java),.win-textarea:-ms-lang(jv-Java),.win-textbox:-ms-lang(jv-Java),.win-type-base:-ms-lang(jv-Java),.win-type-body:-ms-lang(jv-Java),.win-type-caption:-ms-lang(jv-Java),.win-type-header:-ms-lang(jv-Java),.win-type-subheader:-ms-lang(jv-Java),.win-type-subtitle:-ms-lang(jv-Java),.win-type-title:-ms-lang(jv-Java){font-family:"Javanese Text",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(cop-Copt),.win-dropdown:-ms-lang(cop-Copt),.win-h1:-ms-lang(cop-Copt),.win-h2:-ms-lang(cop-Copt),.win-h3:-ms-lang(cop-Copt),.win-h4:-ms-lang(cop-Copt),.win-h5:-ms-lang(cop-Copt),.win-h6:-ms-lang(cop-Copt),.win-link:-ms-lang(cop-Copt),.win-textarea:-ms-lang(cop-Copt),.win-textbox:-ms-lang(cop-Copt),.win-type-base:-ms-lang(cop-Copt),.win-type-body:-ms-lang(cop-Copt),.win-type-caption:-ms-lang(cop-Copt),.win-type-header:-ms-lang(cop-Copt),.win-type-subheader:-ms-lang(cop-Copt),.win-type-subtitle:-ms-lang(cop-Copt),.win-type-title:-ms-lang(cop-Copt){font-family:"Segoe MDL2 Assets",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-dropdown:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h1:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h2:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h3:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h4:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h5:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h6:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-link:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textarea:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textbox:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-base:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-body:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-caption:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-header:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subheader:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subtitle:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-title:-ms-lang(zh-CN,zh-Hans,zh-SG){font-family:"Microsoft YaHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-dropdown:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h1:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h2:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h3:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h4:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h5:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h6:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-link:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textarea:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textbox:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-base:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-body:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-caption:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-header:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subheader:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subtitle:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-title:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO){font-family:"Microsoft JhengHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}body,html{width:100%;height:100%;margin:0;cursor:default;-webkit-touch-callout:none;-ms-scroll-translation:vertical-to-horizontal;-webkit-tap-highlight-color:transparent}html{overflow:hidden;direction:ltr}.win-toggleswitch:lang(ar),.win-toggleswitch:lang(dv),.win-toggleswitch:lang(fa),.win-toggleswitch:lang(he),.win-toggleswitch:lang(ku-Arab),.win-toggleswitch:lang(pa-Arab),.win-toggleswitch:lang(prs),.win-toggleswitch:lang(ps),.win-toggleswitch:lang(qps-plocm),.win-toggleswitch:lang(sd-Arab),.win-toggleswitch:lang(syr),.win-toggleswitch:lang(ug),.win-toggleswitch:lang(ur),html:lang(ar),html:lang(dv),html:lang(fa),html:lang(he),html:lang(ku-Arab),html:lang(pa-Arab),html:lang(prs),html:lang(ps),html:lang(qps-plocm),html:lang(sd-Arab),html:lang(syr),html:lang(ug),html:lang(ur){direction:rtl}body{-ms-content-zooming:none}iframe{border:0}.win-button,.win-textarea,.win-textbox{border-style:solid;border-width:2px;background-clip:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-button,.win-dropdown,.win-h1,.win-h2,.win-h3,.win-h4,.win-h5,.win-h6,.win-link,.win-textarea,.win-textbox,.win-type-base,.win-type-body,.win-type-caption,.win-type-header,.win-type-subheader,.win-type-subtitle,.win-type-title{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols}.win-textarea,.win-textbox{-ms-user-select:element;margin:8px 0;width:296px;min-width:64px;min-height:28px;box-sizing:border-box;padding:3px 6px 5px 10px;outline:0}.win-textbox::-ms-value{margin:0;padding:0}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{padding-right:2px;width:30px;height:32px;margin:-8px -8px -8px 2px}.win-textbox:lang(ar)::-ms-clear,.win-textbox:lang(ar)::-ms-reveal,.win-textbox:lang(dv)::-ms-clear,.win-textbox:lang(dv)::-ms-reveal,.win-textbox:lang(fa)::-ms-clear,.win-textbox:lang(fa)::-ms-reveal,.win-textbox:lang(he)::-ms-clear,.win-textbox:lang(he)::-ms-reveal,.win-textbox:lang(ku-Arab)::-ms-clear,.win-textbox:lang(ku-Arab)::-ms-reveal,.win-textbox:lang(pa-Arab)::-ms-clear,.win-textbox:lang(pa-Arab)::-ms-reveal,.win-textbox:lang(prs)::-ms-clear,.win-textbox:lang(prs)::-ms-reveal,.win-textbox:lang(ps)::-ms-clear,.win-textbox:lang(ps)::-ms-reveal,.win-textbox:lang(qps-plocm)::-ms-clear,.win-textbox:lang(qps-plocm)::-ms-reveal,.win-textbox:lang(sd-Arab)::-ms-clear,.win-textbox:lang(sd-Arab)::-ms-reveal,.win-textbox:lang(syr)::-ms-clear,.win-textbox:lang(syr)::-ms-reveal,.win-textbox:lang(ug)::-ms-clear,.win-textbox:lang(ug)::-ms-reveal,.win-textbox:lang(ur)::-ms-clear,.win-textbox:lang(ur)::-ms-reveal{margin-left:-8px;margin-right:2px}.win-textarea{resize:none;overflow-y:auto}.win-checkbox,.win-radio{width:20px;height:20px;margin-right:8px;margin-top:12px;margin-bottom:12px}.win-checkbox:lang(ar),.win-checkbox:lang(dv),.win-checkbox:lang(fa),.win-checkbox:lang(he),.win-checkbox:lang(ku-Arab),.win-checkbox:lang(pa-Arab),.win-checkbox:lang(prs),.win-checkbox:lang(ps),.win-checkbox:lang(qps-plocm),.win-checkbox:lang(sd-Arab),.win-checkbox:lang(syr),.win-checkbox:lang(ug),.win-checkbox:lang(ur),.win-radio:lang(ar),.win-radio:lang(dv),.win-radio:lang(fa),.win-radio:lang(he),.win-radio:lang(ku-Arab),.win-radio:lang(pa-Arab),.win-radio:lang(prs),.win-radio:lang(ps),.win-radio:lang(qps-plocm),.win-radio:lang(sd-Arab),.win-radio:lang(syr),.win-radio:lang(ug),.win-radio:lang(ur){margin-left:8px;margin-right:0}.win-checkbox::-ms-check,.win-radio::-ms-check{border-style:solid;display:inline-block;border-width:2px;background-clip:border-box}.win-button{margin:0;min-height:32px;min-width:120px;padding:4px 8px}.win-button.win-button-file{border:none;min-width:100px;min-height:20px;width:340px;height:32px;padding:0;margin:7px 8px 21px;background-clip:padding-box}.win-button.win-button-file::-ms-value{margin:0;border-width:2px;border-style:solid none solid solid;border-radius:0;background-clip:border-box;font-size:15px;font-weight:400;line-height:1.333}.win-button.win-button-file:lang(ar)::-ms-value,.win-button.win-button-file:lang(dv)::-ms-value,.win-button.win-button-file:lang(fa)::-ms-value,.win-button.win-button-file:lang(he)::-ms-value,.win-button.win-button-file:lang(ku-Arab)::-ms-value,.win-button.win-button-file:lang(pa-Arab)::-ms-value,.win-button.win-button-file:lang(prs)::-ms-value,.win-button.win-button-file:lang(ps)::-ms-value,.win-button.win-button-file:lang(qps-plocm)::-ms-value,.win-button.win-button-file:lang(sd-Arab)::-ms-value,.win-button.win-button-file:lang(syr)::-ms-value,.win-button.win-button-file:lang(ug)::-ms-value,.win-button.win-button-file:lang(ur)::-ms-value{border-left-style:none;border-right-style:solid}.win-button.win-button-file::-ms-browse{margin:0;padding:0 18px;border-width:2px;border-style:solid;background-clip:padding-box;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown{min-width:56px;max-width:368px;min-height:32px;margin:8px 0;border-style:solid;border-width:2px;background-clip:border-box;background-image:none;box-sizing:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown::-ms-value{padding:5px 12px 7px;margin:0}.win-dropdown::-ms-expand{border:none;margin-right:5px;margin-left:3px;margin-bottom:-2px;font-size:20px}.win-code,.win-dropdown option{font-size:15px;font-weight:400;line-height:1.333}select[multiple].win-dropdown{padding:0 0 0 12px;vertical-align:bottom}.win-progress-bar,.win-progress-ring,.win-ring{width:180px;height:4px;-webkit-appearance:none}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){border-style:none}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{border-style:none}.win-progress-bar.win-medium,.win-progress-ring.win-medium,.win-ring.win-medium{width:296px}.win-progress-bar.win-large,.win-progress-ring.win-large,.win-ring.win-large{width:100%}.win-progress-bar:indeterminate::-webkit-progress-value,.win-progress-ring:indeterminate::-webkit-progress-value,.win-ring:indeterminate::-webkit-progress-value{position:relative;-webkit-animation:win-progress-indeterminate 3s linear infinite}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:win-progress-fade-out;animation-duration:3s;animation-timing-function:cubic-bezier(.03,.76,.31,1);opacity:.5}.win-progress-bar.win-error::-ms-fill,.win-progress-ring.win-error::-ms-fill,.win-ring.win-error::-ms-fill{opacity:0}.win-progress-ring,.win-ring{width:20px;height:20px}.win-progress-ring:indeterminate::-ms-fill,.win-ring:indeterminate::-ms-fill{animation-name:-ms-ring}.win-progress-ring.win-medium,.win-ring.win-medium{width:40px;height:40px}.win-progress-ring.win-large,.win-ring.win-large{width:60px;height:60px}@-webkit-keyframes win-progress-indeterminate{0%{left:0;width:25%}50%{left:calc(75%);width:25%}75%{left:calc(100%);width:0}75.1%{left:0;width:0}100%{left:0;width:25%}}@keyframes win-progress-fade-out{from{opacity:1}to{opacity:.5}}.win-slider{width:280px;height:44px}.win-slider::-ms-track{height:2px;border-style:none}.win-slider::-webkit-slider-runnable-track{height:2px;border-style:none}.win-slider::-moz-range-track{height:2px;border-style:none}.win-slider::-moz-range-thumb{width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-11px;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-ms-thumb{margin-top:inherit;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider.win-vertical{writing-mode:bt-lr;width:44px;height:280px}.win-slider.win-vertical::-ms-track{width:2px;height:auto}.win-slider.win-vertical::-ms-thumb{width:24px;height:8px}.win-slider.win-vertical:lang(ar),.win-slider.win-vertical:lang(dv),.win-slider.win-vertical:lang(fa),.win-slider.win-vertical:lang(he),.win-slider.win-vertical:lang(ku-Arab),.win-slider.win-vertical:lang(pa-Arab),.win-slider.win-vertical:lang(prs),.win-slider.win-vertical:lang(ps),.win-slider.win-vertical:lang(qps-plocm),.win-slider.win-vertical:lang(sd-Arab),.win-slider.win-vertical:lang(syr),.win-slider.win-vertical:lang(ug),.win-slider.win-vertical:lang(ur){writing-mode:bt-rl}.win-link{text-decoration:underline;cursor:pointer}.win-code{font-family:Consolas,Menlo,Monaco,"Courier New",monospace}.win-back::before,.win-backbutton::before,.win-flipview .win-navbutton,.win-pivot .win-pivot-navbutton,.win-rating .win-star,.win-selectioncheckmark,.win-semanticzoom-button::before{font-family:"Segoe MDL2 Assets",Symbols}.win-type-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.win-h1.win-type-ellipsis,.win-type-header.win-type-ellipsis,h1.win-type-ellipsis{line-height:1.4286}.win-h2.win-type-ellipsis,.win-type-subheader.win-type-ellipsis,h2.win-type-ellipsis{line-height:1.5}.win-scrollview{overflow-x:auto;overflow-y:hidden;height:400px;width:100%}h1.win-h1,h1.win-type-header,h2.win-h2,h2.win-type-subheader,h3.win-h3,h3.win-type-title,h4.win-h4,h4.win-type-subtitle,h5.win-h5,h5.win-type-base,h6.win-h6,h6.win-type-body{margin-top:0;margin-bottom:0}.win-type-body p,p.win-type-body{font-weight:300}.win-listview{overflow:hidden;height:400px}.win-listview .win-surface{overflow:visible}.win-listview>.win-viewport.win-horizontal .win-surface{height:100%}.win-listview>.win-viewport.win-vertical .win-surface{width:100%}.win-listview>.win-viewport{position:relative;width:100%;height:100%;z-index:0;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;white-space:nowrap}.win-listview>.win-viewport.win-horizontal{overflow-x:auto;overflow-y:hidden}.win-listview>.win-viewport.win-vertical{overflow-x:hidden;overflow-y:auto}.win-listview .win-itemscontainer{overflow:hidden}.win-listview .win-itemscontainer-padder{width:0;height:0;margin:0;padding:0;border:0;overflow:hidden}.win-listview>.win-horizontal .win-container{margin:10px 5px 0}.win-listview>.win-vertical .win-container{margin:10px 24px 0 7px}.win-listview.win-rtl>.win-vertical .win-container{margin:10px 7px 0 24px}.win-itemcontainer .win-itembox,.win-itemcontainer.win-container,.win-listview .win-container,.win-listview .win-itembox{cursor:default;z-index:0}.win-listview .win-container{touch-action:pan-x pan-y pinch-zoom}.win-semanticzoom .win-listview>.win-viewport.win-zooming-x{overflow-x:visible}.win-semanticzoom .win-listview>.win-viewport.win-zooming-y{overflow-y:visible}.win-itemcontainer .win-itembox,.win-listview .win-itembox{width:100%;height:100%}.win-itemcontainer .win-item,.win-listview .win-item{z-index:1;overflow:hidden;position:relative}.win-listview>.win-vertical .win-item{width:100%}.win-itemcontainer .win-item:focus,.win-listview .win-item:focus{outline-style:none}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{width:calc(100% - 4px);height:calc(100% - 4px);left:2px;top:2px;position:absolute;z-index:5;pointer-events:none}.win-container.win-selected .win-selectionborder,html.win-hoverable .win-container.win-selected:hover .win-selectionborder{border-width:2px;border-style:solid}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{position:absolute;left:0;top:0;content:"";width:calc(100% - 4px);height:calc(100% - 4px);pointer-events:none;border-style:solid;border-width:2px;z-index:3}html.win-hoverable .win-itemcontainer.win-itembox.win-selected:hover::before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox.win-selected:hover::before,html.win-hoverable .win-listview.win-selectionstylefilled .win-itembox:hover::before{display:none}.win-listview .win-groupheader{padding:10px 10px 10px 2px;overflow:hidden;outline-width:.01px;outline-style:none;float:left;font-size:34px;font-weight:200;line-height:1.176}.win-listview .win-groupheadercontainer{z-index:1;touch-action:pan-x pan-y pinch-zoom;overflow:hidden}.win-listview .win-horizontal .win-footercontainer,.win-listview .win-horizontal .win-headercontainer{height:100%;display:inline-block;overflow:hidden;white-space:normal}.win-listview .win-vertical .win-footercontainer,.win-listview .win-vertical .win-headercontainer{width:100%;display:block;overflow:hidden;white-space:normal}.win-listview .win-groupheader.win-focused{outline-style:dotted}.win-listview .win-viewport,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover,html.win-hoverable .win-listview.win-dragover .win-container:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover,html.win-hoverable .win-selectionstylefilled .win-itemcontainer.win-container:hover{outline:0}.win-listview.win-rtl .win-groupheader{padding-left:10px;padding-right:2px;float:right}.win-listview.win-groups .win-horizontal .win-groupleader{margin-left:70px}.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader{margin-left:0;margin-right:70px}.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader,.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader{margin-top:70px}.win-listview.win-groups>.win-vertical .win-surface.win-gridlayout,.win-listview.win-groups>.win-vertical .win-surface.win-listlayout{margin-top:-65px}.win-listview.win-groups>.win-horizontal .win-surface{margin-left:-70px}.win-listview.win-groups.win-rtl>.win-horizontal .win-surface{margin-left:0;margin-right:-70px}.win-listview .win-surface{-webkit-margin-collapse:separate;white-space:normal}.win-surface ._win-proxy{position:relative;overflow:hidden;width:0;height:0;touch-action:none}.win-selectionborder{position:absolute;opacity:inherit;z-index:2;pointer-events:none}.win-container.win-selected .win-selectionborder{top:0;left:0;right:0;bottom:0}.win-selectionbackground{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}.win-selectioncheckmarkbackground{position:absolute;top:2px;right:2px;width:14px;height:11px;margin:0;padding:0;border-style:solid;z-index:3;display:none;border-width:4px 2px 3px}.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground,.win-listview.win-rtl .win-selectioncheckmarkbackground{left:2px;right:auto}.win-listview .win-selectionmode .win-selectioncheckmark,.win-listview .win-selectionmode .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer.win-selectionmode .win-selectioncheckmark,.win-selectionmode.win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode.win-itemcontainer.win-selectionmode .win-selectioncheckmark{display:block}.win-selectioncheckmark{position:absolute;margin:0;padding:2px;right:1px;top:1px;font-size:14px;z-index:4;line-height:1;display:none}.win-rtl .win-selectioncheckmark{right:auto;left:0}.win-selectionstylefilled .win-container,.win-selectionstylefilled.win-container{overflow:hidden}.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after,.win-selectionmode.win-itemcontainer.win-container .win-itembox::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none;right:2px;top:2px;z-index:3}.win-itemcontainer.win-rtl.win-selectionmode.win-container .win-itembox::after,.win-listview.win-rtl .win-surface.win-selectionmode .win-itembox::after,.win-rtl .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{right:auto;left:2px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(40px,0);-webkit-transform:translate(40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(-40px,0);-webkit-transform:translate(-40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-hideselectionmode .win-item,.win-listview.win-selectionstylefilled .win-surface.win-hidingselectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:none;-webkit-transform:none}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox::after{left:12px;right:auto;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px;background-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-itembox::after{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:12px;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmark{left:13px;top:50%;margin-top:-8px;display:block;width:14px;height:14px}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmark{left:0;right:10px}.win-itemcontainer.win-selectionmode.win-selectionstylefilled.win-container .win-itembox.win-selected::after,.win-listview .win-surface.win-selectionmode .win-itembox.win-selected::after,.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox.win-nonselectable::after,.win-selectionmode .win-itemcontainer.win-selectionstylefilled.win-container .win-itembox.win-selected::after{display:none}.win-listview .win-progress{left:50%;top:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;z-index:1;position:absolute}.win-flipview,.win-itemcontainer .win-itembox,.win-itemcontainer.win-container{position:relative}.win-listview .win-progress::-ms-fill{animation-name:-ms-ring}.win-listview .win-itemsblock{overflow:hidden}.win-listview .win-horizontal .win-nocssgrid.win-listlayout,.win-listview .win-surface.win-nocssgrid.win-gridlayout,.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;vertical-align:top}.win-listview .win-horizontal .win-surface.win-nocssgrid{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-surface.win-nocssgrid{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout{display:block}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder{height:0;width:0}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{display:none}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout{display:block}.win-listview .win-listlayout .win-itemscontainer{overflow:visible}.win-listview .win-listlayout .win-itemsblock{padding-bottom:4px;margin-bottom:-4px}.win-listview>.win-vertical .win-listlayout.win-headerpositiontop .win-groupheader{float:none}.win-listview>.win-vertical .win-surface.win-listlayout{margin-bottom:5px}.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface{display:-ms-inline-grid;-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer{-ms-grid-column:1}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-column:1}.win-listview>.win-horizontal .win-surface.win-listlayout{display:-ms-inline-grid;-ms-grid-columns:auto;-ms-grid-rows:auto;vertical-align:top}.win-listview .win-horizontal .win-listlayout .win-itemsblock{height:100%}.win-listview .win-horizontal .win-listlayout .win-itemscontainer{margin-bottom:24px}.win-listview .win-horizontal .win-listlayout .win-container{height:calc(100% - 10px)}.win-listview>.win-horizontal .win-surface.win-listlayout.win-headerpositiontop{-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-gridlayout.win-surface{display:-ms-inline-grid;vertical-align:top}.win-listview .win-gridlayout .win-container{margin:5px}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer,.win-listview.win-groups .win-gridlayout .win-itemscontainer{display:none}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout{display:block}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-row:1}.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-listlayout .win-itemsblock,.win-listview .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-itemscontainer-padder{height:100%}.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout{display:-ms-grid}.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock{width:100%}.win-listview .win-cellspanninggridlayout .win-container.win-laidout{display:block}.win-listview .win-cellspanninggridlayout .win-container{display:none}.win-listview.win-dragover .win-itembox{transform:scale(.86);-webkit-transform:scale(.86)}.win-itemcontainer .win-itembox.win-dragsource,.win-listview .win-itembox.win-dragsource{opacity:.5;transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-dragover .win-itembox.win-dragsource{opacity:0;transition:none;-webkit-transition:none}.win-listview .win-itembox{position:relative;transition:transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:-webkit-transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-groups>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:70px}.win-listview.win-groups.win-rtl>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:0;margin-right:70px}.win-listview>.win-horizontal .win-surface.win-listlayout{margin-left:70px}.win-listview.win-rtl>.win-horizontal .win-surface.win-listlayout{margin-left:0;margin-right:70px}.win-listview .win-vertical .win-gridlayout.win-surface{margin-left:20px}.win-listview.win-rtl .win-vertical .win-gridlayout.win-surface{margin-left:0;margin-right:20px}.win-itemcontainer{touch-action:pan-x pan-y pinch-zoom}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{opacity:.4}html.win-hoverable .win-itemcontainer.win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed.win-itembox:hover::before{opacity:.6}.win-listview.win-selectionstylefilled .win-itembox,.win-selectionstylefilled .win-itemcontainer .win-itembox,.win-selectionstylefilled.win-itemcontainer .win-itembox{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected.win-selected a:hover:active,.win-listview.win-selectionstylefilled .win-selected.win-selected a:hover:active{color:rgba(255,255,255,.6)}html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected a:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected a:hover{color:rgba(255,255,255,.8)}.win-itemcontainer.win-selectionstylefilled.win-selected .win-textarea,.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input[type=button],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=email],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=number],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=password],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=reset],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=search],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=tel],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=text],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=url],.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected .win-textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input[type=button],.win-listview.win-selectionstylefilled .win-selected input[type=email],.win-listview.win-selectionstylefilled .win-selected input[type=number],.win-listview.win-selectionstylefilled .win-selected input[type=password],.win-listview.win-selectionstylefilled .win-selected input[type=reset],.win-listview.win-selectionstylefilled .win-selected input[type=search],.win-listview.win-selectionstylefilled .win-selected input[type=tel],.win-listview.win-selectionstylefilled .win-selected input[type=text],.win-listview.win-selectionstylefilled .win-selected input[type=url],.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea{background-clip:border-box;background-color:rgba(255,255,255,.8);border-color:transparent;color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected button[type=submit],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=submit],.win-listview.win-selectionstylefilled .win-selected button[type=submit],.win-listview.win-selectionstylefilled .win-selected input[type=submit]{border-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower{background-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-thumb,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-thumb{background-color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress{background-color:rgba(255,255,255,.16)}.win-itemcontainer.win-selectionstylefilled.win-selected progress:indeterminate,.win-listview.win-selectionstylefilled .win-selected progress:indeterminate{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty{color:rgba(255,255,255,.16)}@media (-ms-high-contrast){.win-listview .win-groupheader{color:WindowText}.win-selectioncheckmark{color:HighlightText}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline,.win-listview .win-groupheader{outline-color:WindowText}.win-itemcontainer.win-selectionstylefilled .win-itembox,.win-listview.win-selectionstylefilled .win-itembox{background-color:Window;color:WindowText}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-itembox,.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-container.win-selected .win-itembox,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-selected:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-selected:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground{background-color:Highlight;color:HighlightText}.win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected .win-selectionborder,.win-listview:not(.win-selectionstylefilled) .win-container.win-selected .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder{border-color:transparent}html.win-hoverable .win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview:not(.win-selectionstylefilled) .win-container.win-selected:hover .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star:after,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star:after,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star:after,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover a,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star:after,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover a,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-track,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-value,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input::-ms-track,.win-listview.win-selectionstylefilled .win-selected input::-ms-value,.win-listview.win-selectionstylefilled .win-selected progress,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea,.win-listview.win-selectionstylefilled.win-selected input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover button,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-check,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-track,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-value,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover select,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover textarea,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover button,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-check,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-track,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-value,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover select,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover textarea{border-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill{background-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{background-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-full:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-full:before{color:ButtonFace}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-empty:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-empty:before{color:Highlight}html.win-hoverable .win-itemcontainer.win-container:hover,html.win-hoverable .win-listview .win-container:hover{outline:Highlight solid 3px}}.win-flipview{overflow:hidden;height:400px}.win-flipview .win-surface{-ms-scroll-chaining:none}.win-flipview .win-navleft{left:0;top:50%;margin-top:-19px}.win-flipview .win-navright{left:100%;top:50%;margin-left:-20px;margin-top:-19px}.win-flipview .win-navtop{left:50%;top:0;margin-left:-35px}.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-36px}.win-flipview .win-navbutton{touch-action:manipulation;border:none;width:20px;height:36px;z-index:1;position:absolute;font-size:16px;padding:0;min-width:0}.win-flipview .win-item,.win-flipview .win-item>.win-template{height:100%;width:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}@media (-ms-high-contrast){.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-35px}.win-flipview .win-navbutton{background-color:ButtonFace;color:ButtonText;border:2px solid ButtonText;width:65px;height:35px}.win-flipview .win-navbutton.win-navbutton:active,.win-flipview .win-navbutton.win-navbutton:hover:active{background-color:ButtonText;color:ButtonFace}.win-flipview .win-navright{margin-left:-65px}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:Highlight;color:HighlightText}}.win-datepicker select,.win-timepicker select{min-width:80px;margin-top:4px;margin-bottom:4px}.win-datepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-datepicker .win-datepicker-date.win-order0,.win-datepicker .win-datepicker-date.win-order1,.win-datepicker .win-datepicker-month,.win-datepicker .win-datepicker-year.win-order0{margin-right:20px}.win-datepicker .win-datepicker-date.win-order0:lang(ar),.win-datepicker .win-datepicker-date.win-order0:lang(dv),.win-datepicker .win-datepicker-date.win-order0:lang(fa),.win-datepicker .win-datepicker-date.win-order0:lang(he),.win-datepicker .win-datepicker-date.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(prs),.win-datepicker .win-datepicker-date.win-order0:lang(ps),.win-datepicker .win-datepicker-date.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(syr),.win-datepicker .win-datepicker-date.win-order0:lang(ug),.win-datepicker .win-datepicker-date.win-order0:lang(ur),.win-datepicker .win-datepicker-date.win-order1:lang(ar),.win-datepicker .win-datepicker-date.win-order1:lang(dv),.win-datepicker .win-datepicker-date.win-order1:lang(fa),.win-datepicker .win-datepicker-date.win-order1:lang(he),.win-datepicker .win-datepicker-date.win-order1:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(prs),.win-datepicker .win-datepicker-date.win-order1:lang(ps),.win-datepicker .win-datepicker-date.win-order1:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order1:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(syr),.win-datepicker .win-datepicker-date.win-order1:lang(ug),.win-datepicker .win-datepicker-date.win-order1:lang(ur),.win-datepicker .win-datepicker-month:lang(ar),.win-datepicker .win-datepicker-month:lang(dv),.win-datepicker .win-datepicker-month:lang(fa),.win-datepicker .win-datepicker-month:lang(he),.win-datepicker .win-datepicker-month:lang(ku-Arab),.win-datepicker .win-datepicker-month:lang(pa-Arab),.win-datepicker .win-datepicker-month:lang(prs),.win-datepicker .win-datepicker-month:lang(ps),.win-datepicker .win-datepicker-month:lang(qps-plocm),.win-datepicker .win-datepicker-month:lang(sd-Arab),.win-datepicker .win-datepicker-month:lang(syr),.win-datepicker .win-datepicker-month:lang(ug),.win-datepicker .win-datepicker-month:lang(ur),.win-datepicker .win-datepicker-year.win-order0:lang(ar),.win-datepicker .win-datepicker-year.win-order0:lang(dv),.win-datepicker .win-datepicker-year.win-order0:lang(fa),.win-datepicker .win-datepicker-year.win-order0:lang(he),.win-datepicker .win-datepicker-year.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(prs),.win-datepicker .win-datepicker-year.win-order0:lang(ps),.win-datepicker .win-datepicker-year.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-year.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(syr),.win-datepicker .win-datepicker-year.win-order0:lang(ug),.win-datepicker .win-datepicker-year.win-order0:lang(ur){margin-right:0;margin-left:20px}.win-timepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-timepicker .win-timepicker-hour,.win-timepicker .win-timepicker-minute.win-order1,.win-timepicker .win-timepicker-period.win-order0{margin-right:20px}.win-timepicker .win-timepicker-hour:lang(ar),.win-timepicker .win-timepicker-hour:lang(dv),.win-timepicker .win-timepicker-hour:lang(fa),.win-timepicker .win-timepicker-hour:lang(he),.win-timepicker .win-timepicker-hour:lang(ku-Arab),.win-timepicker .win-timepicker-hour:lang(pa-Arab),.win-timepicker .win-timepicker-hour:lang(prs),.win-timepicker .win-timepicker-hour:lang(ps),.win-timepicker .win-timepicker-hour:lang(qps-plocm),.win-timepicker .win-timepicker-hour:lang(sd-Arab),.win-timepicker .win-timepicker-hour:lang(syr),.win-timepicker .win-timepicker-hour:lang(ug),.win-timepicker .win-timepicker-hour:lang(ur),.win-timepicker .win-timepicker-minute.win-order0:lang(ar),.win-timepicker .win-timepicker-minute.win-order0:lang(dv),.win-timepicker .win-timepicker-minute.win-order0:lang(fa),.win-timepicker .win-timepicker-minute.win-order0:lang(he),.win-timepicker .win-timepicker-minute.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(prs),.win-timepicker .win-timepicker-minute.win-order0:lang(ps),.win-timepicker .win-timepicker-minute.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(syr),.win-timepicker .win-timepicker-minute.win-order0:lang(ug),.win-timepicker .win-timepicker-minute.win-order0:lang(ur),.win-timepicker .win-timepicker-minute.win-order1:lang(ar),.win-timepicker .win-timepicker-minute.win-order1:lang(dv),.win-timepicker .win-timepicker-minute.win-order1:lang(fa),.win-timepicker .win-timepicker-minute.win-order1:lang(he),.win-timepicker .win-timepicker-minute.win-order1:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(prs),.win-timepicker .win-timepicker-minute.win-order1:lang(ps),.win-timepicker .win-timepicker-minute.win-order1:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order1:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(syr),.win-timepicker .win-timepicker-minute.win-order1:lang(ug),.win-timepicker .win-timepicker-minute.win-order1:lang(ur),.win-timepicker .win-timepicker-period.win-order0:lang(ar),.win-timepicker .win-timepicker-period.win-order0:lang(dv),.win-timepicker .win-timepicker-period.win-order0:lang(fa),.win-timepicker .win-timepicker-period.win-order0:lang(he),.win-timepicker .win-timepicker-period.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(prs),.win-timepicker .win-timepicker-period.win-order0:lang(ps),.win-timepicker .win-timepicker-period.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-period.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(syr),.win-timepicker .win-timepicker-period.win-order0:lang(ug),.win-timepicker .win-timepicker-period.win-order0:lang(ur){margin-left:20px;margin-right:0}body>.win-navigation-backbutton{position:absolute;top:50px;left:20px}.win-back,.win-backbutton,.win-navigation-backbutton{touch-action:manipulation;display:inline-block;min-width:0;min-height:0;padding:0;text-align:center;width:41px;height:41px;font-size:24px;line-height:41px;vertical-align:baseline}.win-tooltip,.win-tooltip-phantom{display:block;position:fixed;top:30px;left:30px;margin:0}.win-back::before,.win-backbutton::before{font-weight:400;content:"\E0D5";vertical-align:50%}.win-back:lang(ar)::before,.win-back:lang(dv)::before,.win-back:lang(fa)::before,.win-back:lang(he)::before,.win-back:lang(ku-Arab)::before,.win-back:lang(pa-Arab)::before,.win-back:lang(prs)::before,.win-back:lang(ps)::before,.win-back:lang(qps-plocm)::before,.win-back:lang(sd-Arab)::before,.win-back:lang(syr)::before,.win-back:lang(ug)::before,.win-back:lang(ur)::before,.win-backbutton:lang(ar)::before,.win-backbutton:lang(dv)::before,.win-backbutton:lang(fa)::before,.win-backbutton:lang(he)::before,.win-backbutton:lang(ku-Arab)::before,.win-backbutton:lang(pa-Arab)::before,.win-backbutton:lang(prs)::before,.win-backbutton:lang(ps)::before,.win-backbutton:lang(qps-plocm)::before,.win-backbutton:lang(sd-Arab)::before,.win-backbutton:lang(syr)::before,.win-backbutton:lang(ug)::before,.win-backbutton:lang(ur)::before{content:"\E0AE"}button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}@media (-ms-high-contrast){button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}.win-back,.win-backbutton{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-backbutton.win-backbutton:enabled:hover:active,.win-navigation-backbutton.win-navigation-backbutton:enabled:hover:active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-backbutton:-ms-keyboard-active,.win-navigation-backbutton:-ms-keyboard-active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-backbutton:enabled:hover,html.win-hoverable .win-navigation-backbutton:enabled:hover .win-back{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-tooltip{max-width:320px;box-sizing:border-box;padding:4px 7px 6px;border-style:solid;border-width:1px;z-index:9999;word-wrap:break-word;animation-fill-mode:both;font-size:12px;font-weight:400;line-height:1.167}.win-tooltip-phantom{background-color:transparent;border-width:0;padding:0}.win-rating{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-pack:self;-webkit-justify-content:self;justify-content:self;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;height:auto;width:auto;white-space:normal;outline:0}.win-rating .win-star{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;height:24px;width:24px;padding:9px 10px 11px;font-size:24px;overflow:hidden;text-indent:0;line-height:1;cursor:default;position:relative;letter-spacing:0;-ms-touch-action:none;touch-action:none}.win-rating.win-small .win-star{width:12px;height:12px;font-size:12px;padding:3px 4px 5px}.win-rating .win-star:before{content:"\E082"}.win-rating .win-star.win-disabled{cursor:default;-ms-touch-action:auto;touch-action:auto}@media (-ms-high-contrast){.win-tooltip{background-color:Window;border-color:WindowText;color:WindowText}.win-rating .win-star:before{content:"\E082"!important}.win-rating .win-star.win-full{color:HighLight}.win-rating .win-star.win-tentative.win-full{color:ButtonText}.win-rating .win-star.win-empty{color:ButtonFace}.win-rating .win-star:after{content:"\E224"!important;position:relative;top:-100%;color:ButtonText}.win-semanticzoom-button{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-semanticzoom-button:-ms-keyboard-active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable win-semanticzoom-button:hover{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-toggleswitch{outline:0}.win-toggleswitch .win-toggleswitch-header{max-width:470px;margin-bottom:14px;margin-top:22px;font-size:15px;font-weight:400;line-height:1.333}.win-toggleswitch .win-toggleswitch-values{display:inline-block;vertical-align:top}.win-toggleswitch .win-toggleswitch-value{margin-left:12px;height:20px;vertical-align:top;font-size:15px;font-weight:400;line-height:20px}.win-toggleswitch .win-toggleswitch-description{font-size:12px;width:22em;margin-top:28px;display:none}.win-toggleswitch .win-toggleswitch-clickregion{display:inline-block;touch-action:none;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:5px}.win-toggleswitch .win-toggleswitch-track{position:relative;display:inline-block;width:44px;height:20px;border-style:solid;border-width:2px;border-radius:10px;box-sizing:border-box}.win-toggleswitch .win-toggleswitch-thumb{position:absolute;top:3px;display:inline-block;width:10px;height:10px;border-radius:5px;-webkit-transition:left .1s;transition:left .1s}.win-toggleswitch:focus .win-toggleswitch-clickregion{outline-width:1px;outline-style:dotted}.win-toggleswitch.win-toggleswitch-dragging .win-toggleswitch-thumb{-webkit-transition:none;transition:none}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-value-on,.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-value-off{visibility:hidden;height:0;font-size:0;line-height:0}.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-thumb{left:27px}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ar).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-on .win-toggleswitch-thumb{left:3px}.win-toggleswitch:lang(ar).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-off .win-toggleswitch-thumb{left:27px}.win-semanticzoom{touch-action:pan-x pan-y double-tap-zoom;height:400px;position:relative}.win-semanticzoom .win-listview>.win-viewport *{touch-action:auto}.win-semanticzoom *{touch-action:inherit}.win-semanticzoom-button{z-index:100;position:absolute;min-width:25px;min-height:25px;width:25px;height:25px;padding:0;bottom:21px;touch-action:none}.win-semanticzoom-button::before{font-weight:400;font-size:11px;content:"\E0B8"}.win-semanticzoom-button-location{left:auto;right:4px}.win-semanticzoom-button-location:lang(ar),.win-semanticzoom-button-location:lang(dv),.win-semanticzoom-button-location:lang(fa),.win-semanticzoom-button-location:lang(he),.win-semanticzoom-button-location:lang(ku-Arab),.win-semanticzoom-button-location:lang(pa-Arab),.win-semanticzoom-button-location:lang(prs),.win-semanticzoom-button-location:lang(ps),.win-semanticzoom-button-location:lang(qps-plocm),.win-semanticzoom-button-location:lang(sd-Arab),.win-semanticzoom-button-location:lang(syr),.win-semanticzoom-button-location:lang(ug),.win-semanticzoom-button-location:lang(ur){left:4px;right:auto}.win-pivot{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%;overflow:hidden;-ms-scroll-limit-x-max:0;touch-action:manipulation;position:relative}.win-pivot .win-pivot-navbutton{touch-action:manipulation;position:absolute;width:20px;height:36px;padding:0;margin:0;top:10px;min-width:0;border-width:0;cursor:pointer;opacity:0}.win-pivot .win-pivot-headers.win-pivot-shownavbuttons .win-pivot-navbutton{opacity:1}.win-pivot .win-pivot-headers .win-pivot-navbutton-prev:before{content:"\E096"}.win-pivot .win-pivot-headers .win-pivot-navbutton-next:before{content:"\E09B"}.win-pivot .win-pivot-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols;font-size:15px;font-weight:700;white-space:nowrap;margin:14px 0 13px 24px}.win-pivot .win-pivot-title:lang(ar),.win-pivot .win-pivot-title:lang(dv),.win-pivot .win-pivot-title:lang(fa),.win-pivot .win-pivot-title:lang(he),.win-pivot .win-pivot-title:lang(ku-Arab),.win-pivot .win-pivot-title:lang(pa-Arab),.win-pivot .win-pivot-title:lang(prs),.win-pivot .win-pivot-title:lang(ps),.win-pivot .win-pivot-title:lang(qps-plocm),.win-pivot .win-pivot-title:lang(sd-Arab),.win-pivot .win-pivot-title:lang(syr),.win-pivot .win-pivot-title:lang(ug),.win-pivot .win-pivot-title:lang(ur){margin:14px 24px 13px 0}.win-pivot>.win-pivot-item{display:none}.win-pivot .win-pivot-header-area{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-hub-section,.win-hub-surface{display:inline-block}.win-pivot .win-pivot-header-leftcustom,.win-pivot .win-pivot-header-rightcustom{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;margin-top:13px}.win-pivot .win-pivot-header-items{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow-x:hidden;padding:1px}.win-pivot .win-pivot-headers{white-space:nowrap;position:relative;overflow-y:visible;height:48px;touch-action:none;-ms-touch-action:none;outline:0}.win-pivot .win-pivot-headers.win-keyboard:focus{outline-style:dotted;outline-width:1px}.win-pivot .win-pivot-header,.win-pivot .win-pivot-header.win-pivot-header:hover:active{touch-action:manipulation;font-size:24px;font-weight:300;line-height:1.167;display:inline-block;transition:opacity linear 167ms;-webkit-transition:opacity linear 167ms;overflow:hidden;height:30px;border:0;padding:0;outline:0;margin:12px 12px 0;min-height:0;min-width:0}.win-pivot.win-pivot-locked .win-pivot-header{opacity:0;visibility:hidden}.win-pivot .win-pivot-header.win-pivot-header-selected,.win-pivot.win-pivot-locked .win-pivot-header.win-pivot-header-selected{opacity:1;visibility:inherit}.win-pivot .win-pivot-viewport{height:100%;overflow-x:auto;overflow-y:hidden;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;position:relative;padding-top:48px;margin-top:-48px}.win-pivot.win-pivot-customheaders .win-pivot-viewport{padding-top:inherit;margin-top:inherit}.win-pivot.win-pivot-mouse .win-pivot-viewport{padding-top:0;margin-top:0}.win-pivot.win-pivot-locked .win-pivot-viewport{overflow:hidden}.win-pivot .win-pivot-surface{width:300%;height:100%;position:relative}html.win-hoverable .win-pivot button.win-pivot-header:hover{background-color:transparent;border:0;padding:0;letter-spacing:0;margin:12px 12px 0;min-height:0;min-width:0}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{margin:0;padding:0;border-width:0;cursor:pointer;font-family:"Segoe MDL2 Assets",Symbols}.win-pivot-item{position:absolute;top:0;bottom:0;width:33.3%;left:33.3%}.win-pivot-item:lang(ar),.win-pivot-item:lang(dv),.win-pivot-item:lang(fa),.win-pivot-item:lang(he),.win-pivot-item:lang(ku-Arab),.win-pivot-item:lang(pa-Arab),.win-pivot-item:lang(prs),.win-pivot-item:lang(ps),.win-pivot-item:lang(qps-plocm),.win-pivot-item:lang(sd-Arab),.win-pivot-item:lang(syr),.win-pivot-item:lang(ug),.win-pivot-item:lang(ur){left:auto;right:33.3%}.win-pivot-item .win-pivot-item-content{height:100%;overflow-y:auto;-ms-overflow-style:-ms-autohiding-scrollbar;padding:0 24px}.win-pivot.win-pivot-nosnap .win-pivot-viewport{padding-top:0;margin-top:0;overflow:hidden}.win-pivot.win-pivot-nosnap .win-pivot-item,.win-pivot.win-pivot-nosnap .win-pivot-surface{width:100%;position:static}.win-hub{height:100%;width:100%;position:relative}.win-hub-progress{position:absolute;top:10px;width:100%;z-index:1}.win-hub-viewport{height:100%;width:100%;-ms-scroll-snap-type:proximity;-webkit-overflow-scrolling:touch}.win-hub-horizontal .win-hub-viewport{overflow-x:auto;overflow-y:hidden;white-space:nowrap}.win-hub-vertical .win-hub-viewport{position:relative;overflow-y:auto;overflow-x:hidden}.win-hub-vertical .win-hub-surface{width:calc(100% - 24px);padding:0 12px 8px;margin-top:-24px}.win-hub-horizontal .win-hub-surface{height:100%;padding-left:12px}.win-hub-horizontal .win-hub-surface:lang(ar),.win-hub-horizontal .win-hub-surface:lang(dv),.win-hub-horizontal .win-hub-surface:lang(fa),.win-hub-horizontal .win-hub-surface:lang(he),.win-hub-horizontal .win-hub-surface:lang(ku-Arab),.win-hub-horizontal .win-hub-surface:lang(pa-Arab),.win-hub-horizontal .win-hub-surface:lang(prs),.win-hub-horizontal .win-hub-surface:lang(ps),.win-hub-horizontal .win-hub-surface:lang(qps-plocm),.win-hub-horizontal .win-hub-surface:lang(sd-Arab),.win-hub-horizontal .win-hub-surface:lang(syr),.win-hub-horizontal .win-hub-surface:lang(ug),.win-hub-horizontal .win-hub-surface:lang(ur){padding-left:0;padding-right:12px}.win-hub-section{vertical-align:top;white-space:normal}.win-hub-horizontal .win-hub-section{height:100%;padding-right:24px}.win-hub-horizontal .win-hub-section:lang(ar),.win-hub-horizontal .win-hub-section:lang(dv),.win-hub-horizontal .win-hub-section:lang(fa),.win-hub-horizontal .win-hub-section:lang(he),.win-hub-horizontal .win-hub-section:lang(ku-Arab),.win-hub-horizontal .win-hub-section:lang(pa-Arab),.win-hub-horizontal .win-hub-section:lang(prs),.win-hub-horizontal .win-hub-section:lang(ps),.win-hub-horizontal .win-hub-section:lang(qps-plocm),.win-hub-horizontal .win-hub-section:lang(sd-Arab),.win-hub-horizontal .win-hub-section:lang(syr),.win-hub-horizontal .win-hub-section:lang(ug),.win-hub-horizontal .win-hub-section:lang(ur){padding-right:0;padding-left:24px}.win-hub-horizontal .win-hub-section-header{margin-top:62px}.win-hub-vertical .win-hub-section{width:100%;padding-top:24px}.win-hub-section-header{margin-bottom:9px;height:28px}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{touch-action:manipulation;width:100%;background-color:transparent;border:0;min-height:0;min-width:0;max-width:100%;padding:0}button.win-hub-section-header-tabstop:focus{outline:0}button.win-hub-section-header-tabstop:-ms-keyboard-active{background-color:transparent}.win-hub-section-header-wrapper{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;width:100%;outline:0}.win-hub-section-header-content{font-size:20px;font-weight:400;line-height:1.5;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:bottom;overflow:hidden;text-overflow:clip;white-space:nowrap}.win-hub-section-header-content:lang(ar),.win-hub-section-header-content:lang(dv),.win-hub-section-header-content:lang(fa),.win-hub-section-header-content:lang(he),.win-hub-section-header-content:lang(ku-Arab),.win-hub-section-header-content:lang(pa-Arab),.win-hub-section-header-content:lang(prs),.win-hub-section-header-content:lang(ps),.win-hub-section-header-content:lang(qps-plocm),.win-hub-section-header-content:lang(sd-Arab),.win-hub-section-header-content:lang(syr),.win-hub-section-header-content:lang(ug),.win-hub-section-header-content:lang(ur){text-align:right}.win-hub-section-header-chevron{display:none}.win-hub-section-header-interactive .win-hub-section-header-chevron{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:24px;line-height:1.5;padding-top:7px;text-align:right;vertical-align:bottom}.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ar),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(dv),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(fa),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(he),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ku-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(pa-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(prs),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ps),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(qps-plocm),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(sd-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(syr),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ug),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ur){text-align:left;margin-left:0;margin-right:24px}.win-hub-horizontal .win-hub-section-content{height:calc(100% - 99px)}.win-hub-vertical .win-hub-section-content{width:100%}@media (-ms-high-contrast){button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{background-color:transparent;color:WindowText}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:WindowText}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover:active,html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:-ms-hotlight}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:-ms-hotlight}}.win-clickeater{background-color:transparent;width:110%;height:110%;left:-5%;top:-5%;position:fixed;touch-action:none;outline:Purple solid 1px;-ms-high-contrast-adjust:none}button.win-command{touch-action:manipulation;background:0 0;background-clip:border-box;height:auto;padding:0;margin:0;border:1px dotted;min-width:40px;min-height:48px;text-align:center;font-size:12px;line-height:16px;font-weight:400;overflow:visible;writing-mode:lr-tb;position:relative;z-index:0;outline:0}button.win-command::-moz-focus-inner{padding:0;border:0}button:lang(ar),button:lang(dv),button:lang(fa),button:lang(he),button:lang(ku-Arab),button:lang(pa-Arab),button:lang(prs),button:lang(ps),button:lang(qps-plocm),button:lang(sd-Arab),button:lang(syr),button:lang(ug),button:lang(ur){writing-mode:rl-tb}.win-commandicon{display:block;margin:11px 21px;min-width:0;min-height:0;padding:0;width:24px;height:24px;box-sizing:border-box;-moz-box-sizing:border-box;cursor:default;position:relative;outline:0}.win-commandimage{font-family:"Segoe UI Command",Symbols;letter-spacing:0;vertical-align:middle;font-size:20px;margin:0;line-height:24px;background-position:0 0;background-origin:border-box;display:inline-block;width:24px;height:24px;background-size:96px 48px;outline:0}.win-commandimage.win-commandglyph{position:absolute;left:0}button.win-command .win-label,div.win-command{font-size:12px;line-height:16px;position:relative;font-weight:400}button:active .win-commandimage,html.win-hoverable button:enabled:hover .win-commandimage{background-position:-24px 0}button:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px 0}button:-ms-keyboard-active .win-commandimage{background-position:-48px 0}button:disabled .win-commandimage,button:disabled:active .win-commandimage{background-position:-72px 0}button[aria-checked=true] .win-commandimage{background-position:0 -24px}button[aria-checked=true]:active .win-commandimage,html.win-hoverable button[aria-checked=true]:enabled:hover .win-commandimage{background-position:-24px -24px}button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px -24px}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{background-position:-48px -24px}button[aria-checked=true]:disabled .win-commandimage,button[aria-checked=true]:disabled:active .win-commandimage{background-position:-72px -24px}button.win-command .win-label{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols;display:block;max-width:66px;margin-top:-10px;margin-bottom:6px;padding:0;overflow:hidden;word-wrap:break-word;word-break:keep-all;outline:0}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis,.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis,.win-searchbox-button,.win-splitviewcommand-icon{font-family:"Segoe MDL2 Assets",Symbols}div.win-command,hr.win-command{display:inline-block;vertical-align:top}hr.win-command{padding:0;margin:12px 16px;width:2px;height:24px;border:0}div.win-command{min-width:0;min-height:0;padding:0 31px;border:1px dotted;text-align:center;writing-mode:lr-tb}div.win-command:lang(ar),div.win-command:lang(dv),div.win-command:lang(fa),div.win-command:lang(he),div.win-command:lang(ku-Arab),div.win-command:lang(pa-Arab),div.win-command:lang(prs),div.win-command:lang(ps),div.win-command:lang(qps-plocm),div.win-command:lang(sd-Arab),div.win-command:lang(syr),div.win-command:lang(ug),div.win-command:lang(ur){writing-mode:rl-tb}div.win-command:focus{outline:0}.win-command.win-command-hidden{display:none}.win-navbar{border-width:0;width:100%;height:auto;left:0;position:fixed;position:-ms-device-fixed;min-height:48px}.win-navbar.win-navbar-minimal{min-height:25px}.win-navbar.win-navbar-minimal.win-navbar-closed .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-navbar-closing.win-navbar-minimal>:not(.win-navbar-invokebutton){opacity:0}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-menu{opacity:1}.win-navbar.win-navbar-closed.win-navbar-minimal>:not(.win-navbar-invokebutton){display:none!important}.win-navbar.win-navbar-closed.win-navbar-minimal .win-navbar-invokebutton,.win-navbar.win-navbar-closing.win-navbar-minimal .win-navbar-invokebutton{width:100%}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opened .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opening .win-navbar-invokebutton{visibility:hidden}.win-navbar.win-menulayout.win-navbar-closing .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opened .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opening .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton{visibility:visible}.win-navbar .win-navbar-invokebutton{touch-action:manipulation;position:absolute;right:0;margin:0;padding:0;border:1px dotted;min-width:0;background-clip:border-box;display:none;z-index:1}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{height:100%;right:0;top:15px;position:absolute;display:inline-block;font-size:14px;text-align:center}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis::before{content:"\E10C";position:relative}.win-navbar:lang(ar) .win-navbar-invokebutton,.win-navbar:lang(ar) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(dv) .win-navbar-invokebutton,.win-navbar:lang(dv) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(fa) .win-navbar-invokebutton,.win-navbar:lang(fa) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(he) .win-navbar-invokebutton,.win-navbar:lang(he) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(prs) .win-navbar-invokebutton,.win-navbar:lang(prs) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ps) .win-navbar-invokebutton,.win-navbar:lang(ps) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(syr) .win-navbar-invokebutton,.win-navbar:lang(syr) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ug) .win-navbar-invokebutton,.win-navbar:lang(ug) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ur) .win-navbar-invokebutton,.win-navbar:lang(ur) .win-navbar-invokebutton .win-navbar-ellipsis{right:auto;left:0}.win-navbar.win-navbar-compact .win-navbar-invokebutton,.win-navbar.win-navbar-minimal .win-navbar-invokebutton{display:block}.win-commandlayout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-primarygroup{-ms-flex-order:2;flex-order:2;-webkit-order:2;order:2;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-secondarygroup{-ms-flex-order:1;flex-order:1;-webkit-order:1;order:1;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}.win-commandlayout.win-navbar-closing.win-navbar-compact,.win-commandlayout.win-navbar-opened.win-navbar-compact,.win-commandlayout.win-navbar-opening.win-navbar-compact{min-height:48px}.win-commandlayout.win-navbar-compact,.win-commandlayout.win-navbar-minimal{padding-right:32px;width:calc(100% - 32px)}.win-commandlayout.win-navbar-compact button.win-command .win-label{display:none}.win-commandlayout.win-navbar-compact.win-navbar-closing button.win-command .win-label{display:block;visibility:hidden}.win-commandlayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-commandlayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-commandlayout:lang(ar).win-navbar-compact,.win-commandlayout:lang(ar).win-navbar-minimal,.win-commandlayout:lang(dv).win-navbar-compact,.win-commandlayout:lang(dv).win-navbar-minimal,.win-commandlayout:lang(fa).win-navbar-compact,.win-commandlayout:lang(fa).win-navbar-minimal,.win-commandlayout:lang(he).win-navbar-compact,.win-commandlayout:lang(he).win-navbar-minimal,.win-commandlayout:lang(ku-Arab).win-navbar-compact,.win-commandlayout:lang(ku-Arab).win-navbar-minimal,.win-commandlayout:lang(pa-Arab).win-navbar-compact,.win-commandlayout:lang(pa-Arab).win-navbar-minimal,.win-commandlayout:lang(prs).win-navbar-compact,.win-commandlayout:lang(prs).win-navbar-minimal,.win-commandlayout:lang(ps).win-navbar-compact,.win-commandlayout:lang(ps).win-navbar-minimal,.win-commandlayout:lang(qps-plocm).win-navbar-compact,.win-commandlayout:lang(qps-plocm).win-navbar-minimal,.win-commandlayout:lang(sd-Arab).win-navbar-compact,.win-commandlayout:lang(sd-Arab).win-navbar-minimal,.win-commandlayout:lang(syr).win-navbar-compact,.win-commandlayout:lang(syr).win-navbar-minimal,.win-commandlayout:lang(ug).win-navbar-compact,.win-commandlayout:lang(ug).win-navbar-minimal,.win-commandlayout:lang(ur).win-navbar-compact,.win-commandlayout:lang(ur).win-navbar-minimal{padding-right:0;padding-left:32px}.win-menulayout .win-navbar-menu{position:absolute;right:0;top:0;overflow:hidden}.win-menulayout .win-navbar-menu:lang(ar),.win-menulayout .win-navbar-menu:lang(dv),.win-menulayout .win-navbar-menu:lang(fa),.win-menulayout .win-navbar-menu:lang(he),.win-menulayout .win-navbar-menu:lang(ku-Arab),.win-menulayout .win-navbar-menu:lang(pa-Arab),.win-menulayout .win-navbar-menu:lang(prs),.win-menulayout .win-navbar-menu:lang(ps),.win-menulayout .win-navbar-menu:lang(qps-plocm),.win-menulayout .win-navbar-menu:lang(sd-Arab),.win-menulayout .win-navbar-menu:lang(syr),.win-menulayout .win-navbar-menu:lang(ug),.win-menulayout .win-navbar-menu:lang(ur){left:0;right:auto}.win-menulayout.win-bottom .win-navbar-menu{overflow:visible}.win-menulayout .win-toolbar{max-width:100vw}.win-menulayout.win-navbar-compact button.win-command .win-label{display:none;visibility:hidden}.win-menulayout.win-navbar-compact.win-navbar-closing button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-menulayout.win-navbar-compact.win-navbar-closed{overflow:hidden}.win-flyout,.win-flyout.win-scrolls{overflow:auto}.win-menulayout.win-navbar-compact.win-navbar-closed .win-toolbar-overflowarea{visibility:hidden}@media (-ms-high-contrast){.win-navbar{border:2px solid}.win-navbar.win-top{border-top:none;border-left:none;border-right:none}.win-navbar.win-bottom{border-bottom:none;border-left:none;border-right:none}.win-navbar.win-top button.win-command,.win-navbar.win-top div.win-command{padding-bottom:7px}.win-navbar.win-bottom button.win-command,.win-navbar.win-bottom div.win-command{padding-top:7px}.win-navbar.win-top hr.win-command{margin-bottom:28px}.win-navbar.win-bottom hr.win-command{margin-top:8px}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}}.win-flyout{position:fixed;position:-ms-device-fixed;padding:12px;border-style:solid;border-width:1px;margin:4px;min-width:70px;max-width:430px;min-height:16px;max-height:730px;width:auto;height:auto;word-wrap:break-word;font-size:15px;font-weight:400;line-height:1.333}.win-flyout.win-leftalign{margin-left:0}.win-flyout.win-rightalign{margin-right:0}@media (max-width:464px){.win-flyout{max-width:calc(100% - 34px)}}.win-menu{padding:0;line-height:33px;text-align:left;min-height:42px;max-height:calc(100% - 26px);min-width:134px;max-width:454px}.win-menu button.win-command{display:block;margin-left:0;margin-right:0;text-align:left;width:100%;font-size:15px;font-weight:400;line-height:1.333}.win-menu button.win-command:focus{outline:0}.win-menu button.win-command .win-menucommand-liner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;position:relative}.win-menu button.win-command .win-menucommand-liner .win-flyouticon,.win-menu button.win-command .win-menucommand-liner .win-toggleicon{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:none;visibility:hidden;font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}.win-menu button.win-command .win-menucommand-liner .win-toggleicon{margin-left:12px}.win-menu button.win-command .win-menucommand-liner .win-toggleicon::before{content:"\E0E7"}.win-menu button.win-command .win-menucommand-liner .win-flyouticon{margin-left:12px;margin-right:16px}.win-menu button.win-command .win-menucommand-liner .win-flyouticon::before{content:"\E26B"}.win-menu button.win-command .win-menucommand-liner .win-label{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;font-size:15px;line-height:inherit;min-width:112px;max-width:none;white-space:nowrap;text-overflow:clip;margin:0;padding:0 12px}.win-menu button.win-command .win-menucommand-liner:lang(ar),.win-menu button.win-command .win-menucommand-liner:lang(dv),.win-menu button.win-command .win-menucommand-liner:lang(fa),.win-menu button.win-command .win-menucommand-liner:lang(he),.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab),.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab),.win-menu button.win-command .win-menucommand-liner:lang(prs),.win-menu button.win-command .win-menucommand-liner:lang(ps),.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm),.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab),.win-menu button.win-command .win-menucommand-liner:lang(syr),.win-menu button.win-command .win-menucommand-liner:lang(ug),.win-menu button.win-command .win-menucommand-liner:lang(ur){text-align:right}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-toggleicon{margin-left:0;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon{margin-left:16px;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon::before{content:"\E26C"}.win-menu.win-menu-mousespacing button.win-command{padding-top:5px;padding-bottom:7px;min-height:32px}.win-menu.win-menu-touchspacing button.win-command{padding-top:11px;padding-bottom:13px;min-height:44px}.win-menu hr.win-command{display:block;height:1px;width:auto;border:0;padding:0;margin:9px 20px 10px}.win-menu-containsflyoutcommand button.win-command .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command .win-menucommand-liner .win-toggleicon{display:inline-block}.win-menu-containsflyoutcommand button.win-command-flyout .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command-toggle[aria-checked=true] .win-menucommand-liner .win-toggleicon{visibility:visible}@media (max-width:464px){.win-menu{max-width:calc(100% - 10px)}}.win-overlay{-ms-touch-select:none}.win-overlay [contenteditable=true],.win-overlay input:not([type=file]),.win-overlay input:not([type=radio]),.win-overlay input:not([type=checkbox]),.win-overlay input:not([type=button]),.win-overlay input:not([type=range]),.win-overlay input:not([type=image]),.win-overlay input:not([type=reset]),.win-overlay input:not([type=hidden]),.win-overlay input:not([type=submit]),.win-overlay textarea{-ms-touch-select:grippers}.win-visualviewport-space{position:fixed;position:-ms-device-fixed;height:100%;width:100%;visibility:hidden}.win-settingsflyout{border-left:1px solid;position:fixed;top:0;right:0;height:100%;width:319px}.win-settingsflyout:lang(ar),.win-settingsflyout:lang(dv),.win-settingsflyout:lang(fa),.win-settingsflyout:lang(he),.win-settingsflyout:lang(ku-Arab),.win-settingsflyout:lang(pa-Arab),.win-settingsflyout:lang(prs),.win-settingsflyout:lang(ps),.win-settingsflyout:lang(qps-plocm),.win-settingsflyout:lang(sd-Arab),.win-settingsflyout:lang(syr),.win-settingsflyout:lang(ug),.win-settingsflyout:lang(ur){border-left:none;border-right:1px solid}.win-settingsflyout.win-wide{width:645px}.win-settingsflyout .win-back,.win-settingsflyout .win-backbutton{width:32px;height:32px;font-size:20px;line-height:32px}.win-settingsflyout .win-header{height:32px;position:relative;padding:6px 12px 10px 52px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayfull .win-commandingsurface-actionarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-actionarea{height:auto}.win-settingsflyout .win-header .win-label{display:inline-block;font-size:24px;font-weight:300;line-height:32px;white-space:nowrap}.win-settingsflyout .win-header .win-backbutton,.win-settingsflyout .win-header .win-navigation-backbutton{position:absolute;left:12px}.win-settingsflyout .win-content{overflow:auto;padding:0 12px}.win-settingsflyout .win-content .win-label{font-size:20px;font-weight:400;line-height:1.2}.win-settingsflyout .win-content .win-settings-section{margin:0;padding-top:0;padding-bottom:20px}.win-settingsflyout .win-content .win-settings-section p{margin:0;padding-top:0;padding-bottom:25px}.win-settingsflyout .win-content .win-settings-section a{margin:0;padding-top:0;padding-bottom:25px;display:inline-block}.win-settingsflyout .win-content .win-settings-section label{display:block;padding-bottom:7px}.win-settingsflyout .win-content .win-settings-section button,.win-settingsflyout .win-content .win-settings-section input[type=button],.win-settingsflyout .win-content .win-settings-section input[type=text],.win-settingsflyout .win-content .win-settings-section select{margin-bottom:25px;margin-left:0;margin-right:20px}.win-settingsflyout .win-content .win-settings-section button:lang(ar),.win-settingsflyout .win-content .win-settings-section button:lang(dv),.win-settingsflyout .win-content .win-settings-section button:lang(fa),.win-settingsflyout .win-content .win-settings-section button:lang(he),.win-settingsflyout .win-content .win-settings-section button:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(prs),.win-settingsflyout .win-content .win-settings-section button:lang(ps),.win-settingsflyout .win-content .win-settings-section button:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section button:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(syr),.win-settingsflyout .win-content .win-settings-section button:lang(ug),.win-settingsflyout .win-content .win-settings-section button:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ur),.win-settingsflyout .win-content .win-settings-section select:lang(ar),.win-settingsflyout .win-content .win-settings-section select:lang(dv),.win-settingsflyout .win-content .win-settings-section select:lang(fa),.win-settingsflyout .win-content .win-settings-section select:lang(he),.win-settingsflyout .win-content .win-settings-section select:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(prs),.win-settingsflyout .win-content .win-settings-section select:lang(ps),.win-settingsflyout .win-content .win-settings-section select:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section select:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(syr),.win-settingsflyout .win-content .win-settings-section select:lang(ug),.win-settingsflyout .win-content .win-settings-section select:lang(ur){margin-bottom:25px;margin-left:20px;margin-right:0}.win-settingsflyout .win-content .win-settings-section input[type=radio]{margin-top:0;margin-bottom:0;padding-bottom:15px}@keyframes WinJS-showFlyoutTop{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-showFlyoutBottom{from{transform:translateY(-50px)}to{transform:none}}@keyframes WinJS-showFlyoutLeft{from{transform:translateX(50px)}to{transform:none}}@keyframes WinJS-showFlyoutRight{from{transform:translateX(-50px)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutTop{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutBottom{from{-webkit-transform:translateY(-50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutLeft{from{-webkit-transform:translateX(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutRight{from{-webkit-transform:translateX(-50px)}to{-webkit-transform:none}}.win-commandingsurface{outline:0;min-width:32px;position:relative}.win-commandingsurface.win-commandingsurface-overflowbottom .win-commandingsurface-overflowareacontainer{top:100%}.win-commandingsurface.win-commandingsurface-overflowtop .win-commandingsurface-overflowareacontainer{bottom:100%}.win-commandingsurface .win-commandingsurface-actionarea{min-height:24px;vertical-align:top;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-spacer{visibility:hidden;min-height:48px;width:0}.win-commandingsurface .win-commandingsurface-actionarea .win-command,.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{touch-action:manipulation;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{width:32px;margin:0;padding:0;border-width:1px;border-style:dotted;min-width:0;min-height:0;outline:0;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch;box-sizing:border-box;background-clip:border-box}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis{font-size:16px}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis::before{content:"\E10C"}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowareacontainer{display:block}.win-commandingsurface .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowareacontainer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea .win-command .win-label,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-command,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-commandingsurface-spacer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaynone{display:none}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea{height:48px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea{height:24px}.win-commandingsurface .win-commandingsurface-overflowareacontainer{position:absolute;overflow:hidden;right:0;left:auto}.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ar),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(dv),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(fa),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(he),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ku-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(pa-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(prs),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ps),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(qps-plocm),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(sd-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(syr),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ug),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ur){left:0;right:auto}.win-commandingsurface .win-commandingsurface-overflowarea,.win-commandingsurface .win-commandingsurface-overflowareacontainer{min-width:160px;min-height:0;max-height:50vh;padding:0}.win-commandingsurface .win-commandingsurface-overflowarea{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{max-width:480px}.win-commandingsurface .win-commandingsurface-overflowarea .win-commandingsurface-spacer{visibility:hidden;height:24px}.win-commandingsurface .win-commandingsurface-overflowarea button.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;min-height:44px;border:1px dotted transparent;padding:10px 11px 12px;font-size:15px;font-weight:400;line-height:1.333;white-space:nowrap;overflow:hidden}.win-commandingsurface .win-commandingsurface-overflowarea hr.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;height:2px;margin:6px 12px 4px}.win-commandingsurface .win-commandingsurface-actionareacontainer{overflow:hidden;position:relative}.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaycompact .win-command .win-label,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplayminimal .win-command,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaynone .win-command{opacity:0}.win-commandingsurface .win-command.win-command-hidden{display:inline-block}.win-commandingsurface .win-command.win-commandingsurface-command-hidden,.win-commandingsurface .win-command.win-commandingsurface-command-primary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-secondary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-separator-hidden{display:none}@media (max-width:480px){.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{width:100vw}}.win-toolbar{min-width:32px}.win-toolbar.win-toolbar-opened{position:fixed}.win-autosuggestbox{white-space:normal;position:relative;width:266px;min-width:265px;min-height:28px}.win-autosuggestbox-flyout{position:absolute;top:100%;width:100%;z-index:100;max-height:374px;min-height:44px;overflow:auto;-ms-scroll-chaining:none;touch-action:none;font-size:15px;font-weight:400;line-height:1.333}.win-autosuggestbox-suggestion-result div,.win-autosuggestbox-suggestion-result-text{line-height:20px;overflow:hidden;white-space:nowrap}.win-autosuggestbox-flyout-above{bottom:100%;top:auto}.win-autosuggestbox-flyout-above .win-repeater{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.win-autosuggestbox .win-autosuggestbox-input{-ms-ime-align:after;margin:0;width:100%}.win-autosuggestbox-suggestion-selected{outline-style:dotted;outline-width:1px}.win-autosuggestbox-suggestion-result{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:60px;font-size:11pt;outline:0}.win-autosuggestbox-suggestion-result-text{padding-top:9px;padding-bottom:11px;height:60px;width:179px}.win-autosuggestbox-suggestion-result-detailed-text{display:inline-block;overflow:hidden;line-height:22px;margin-top:-1px;width:100%}.win-autosuggestbox-suggestion-result img{width:40px;height:40px;margin-left:0;padding-right:10px;padding-top:10px;padding-bottom:10px}.win-autosuggestbox-suggestion-result img:lang(ar),.win-autosuggestbox-suggestion-result img:lang(dv),.win-autosuggestbox-suggestion-result img:lang(fa),.win-autosuggestbox-suggestion-result img:lang(he),.win-autosuggestbox-suggestion-result img:lang(ku-Arab),.win-autosuggestbox-suggestion-result img:lang(pa-Arab),.win-autosuggestbox-suggestion-result img:lang(prs),.win-autosuggestbox-suggestion-result img:lang(ps),.win-autosuggestbox-suggestion-result img:lang(qps-plocm),.win-autosuggestbox-suggestion-result img:lang(sd-Arab),.win-autosuggestbox-suggestion-result img:lang(syr),.win-autosuggestbox-suggestion-result img:lang(ug),.win-autosuggestbox-suggestion-result img:lang(ur){margin-right:0;margin-left:auto;padding-left:10px;padding-right:0}.win-autosuggestbox-suggestion-query{height:20px;padding:11px 0 13px 12px;outline:0;white-space:nowrap;overflow:hidden;line-height:20px}.win-autosuggestbox-suggestion-separator{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:40px;font-size:11pt}.win-autosuggestbox-suggestion-separator hr{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;margin-top:18px;border-style:solid;border-width:1px 0 0}.win-autosuggestbox-suggestion-separator hr:lang(ar),.win-autosuggestbox-suggestion-separator hr:lang(dv),.win-autosuggestbox-suggestion-separator hr:lang(fa),.win-autosuggestbox-suggestion-separator hr:lang(he),.win-autosuggestbox-suggestion-separator hr:lang(ku-Arab),.win-autosuggestbox-suggestion-separator hr:lang(pa-Arab),.win-autosuggestbox-suggestion-separator hr:lang(prs),.win-autosuggestbox-suggestion-separator hr:lang(ps),.win-autosuggestbox-suggestion-separator hr:lang(qps-plocm),.win-autosuggestbox-suggestion-separator hr:lang(sd-Arab),.win-autosuggestbox-suggestion-separator hr:lang(syr),.win-autosuggestbox-suggestion-separator hr:lang(ug),.win-autosuggestbox-suggestion-separator hr:lang(ur){margin-right:10px;margin-left:auto}.win-autosuggestbox-suggestion-separator div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-top:9px;padding-bottom:11px;line-height:20px;margin-right:10px}.win-autosuggestbox-suggestion-separator div:lang(ar),.win-autosuggestbox-suggestion-separator div:lang(dv),.win-autosuggestbox-suggestion-separator div:lang(fa),.win-autosuggestbox-suggestion-separator div:lang(he),.win-autosuggestbox-suggestion-separator div:lang(ku-Arab),.win-autosuggestbox-suggestion-separator div:lang(pa-Arab),.win-autosuggestbox-suggestion-separator div:lang(prs),.win-autosuggestbox-suggestion-separator div:lang(ps),.win-autosuggestbox-suggestion-separator div:lang(qps-plocm),.win-autosuggestbox-suggestion-separator div:lang(sd-Arab),.win-autosuggestbox-suggestion-separator div:lang(syr),.win-autosuggestbox-suggestion-separator div:lang(ug),.win-autosuggestbox-suggestion-separator div:lang(ur){margin-left:10px;margin-right:auto}@keyframes WinJS-flyoutBelowASB-showPopup{from{transform:translateY(0)}to{transform:none}}@keyframes WinJS-flyoutAboveASB-showPopup{from{transform:translateY(0)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutBelowASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutAboveASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}.win-searchbox input[type=search]::-ms-clear{display:none}.win-searchbox input[type=search]::-webkit-search-cancel-button{display:none}.win-searchbox-button{position:absolute;right:0;top:0;width:32px;font-size:15px;border-style:none;height:100%;text-align:center}.win-searchbox-button:lang(ar),.win-searchbox-button:lang(dv),.win-searchbox-button:lang(fa),.win-searchbox-button:lang(he),.win-searchbox-button:lang(ku-Arab),.win-searchbox-button:lang(pa-Arab),.win-searchbox-button:lang(prs),.win-searchbox-button:lang(ps),.win-searchbox-button:lang(qps-plocm),.win-searchbox-button:lang(sd-Arab),.win-searchbox-button:lang(syr),.win-searchbox-button:lang(ug),.win-searchbox-button:lang(ur){right:auto;left:0}.win-searchbox-button.win-searchbox-button:before{content:"\E094";position:absolute;left:8px;top:8px;line-height:100%}.win-splitviewcommand{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;touch-action:manipulation}.win-splitviewcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-splitviewcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-splitviewcommand-button:focus{z-index:1;outline:0}.win-splitviewcommand-icon{height:16px;width:16px;font-size:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-splitviewcommand-icon:lang(ar),.win-splitviewcommand-icon:lang(dv),.win-splitviewcommand-icon:lang(fa),.win-splitviewcommand-icon:lang(he),.win-splitviewcommand-icon:lang(ku-Arab),.win-splitviewcommand-icon:lang(pa-Arab),.win-splitviewcommand-icon:lang(prs),.win-splitviewcommand-icon:lang(ps),.win-splitviewcommand-icon:lang(qps-plocm),.win-splitviewcommand-icon:lang(sd-Arab),.win-splitviewcommand-icon:lang(syr),.win-splitviewcommand-icon:lang(ug),.win-splitviewcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-splitviewcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-icon,.win-navbarcontainer-navarrow{font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}@media (-ms-high-contrast){.win-autosuggestbox{border-color:ButtonText;background-color:ButtonFace;color:ButtonText}.win-autosuggestbox-disabled,.win-autosuggestbox-disabled input[disabled]{border-color:GrayText;background-color:ButtonFace}.win-autosuggestbox-disabled input[disabled]{color:GrayText}.win-autosuggestbox-disabled div{color:GrayText;background-color:ButtonFace}.win-autosuggestbox:-ms-input-placeholder,.win-autosuggestbox::-moz-input-placeholder,.win-autosuggestbox::-webkit-input-placeholder{color:GrayText}.win-autosuggestbox-flyout{border-color:ButtonText;background-color:ButtonFace}.win-autosuggestbox-flyout-highlighttext{color:ButtonText}html.win-hoverable .win-autosuggestbox-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover{background-color:Highlight;color:HighlightText}html.win-hoverable .win-autosuggestbox-suggestion-query:hover .win-autosuggestbox-flyout-highlighttext,html.win-hoverable .win-autosuggestbox-suggestion-result:hover .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-autosuggestbox-suggestion-query,.win-autosuggestbox-suggestion-result{color:ButtonText}.win-autosuggestbox-suggestion-selected{background-color:Highlight;color:HighlightText}.win-autosuggestbox-suggestion-separator{color:ButtonText}.win-autosuggestbox-suggestion-separator hr{border-color:ButtonText}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-searchbox-button{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-searchbox-button[disabled=false]:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button-input-focus{background-color:ButtonText;color:ButtonFace}html.win-hoverable .win-searchbox-button-input-focus:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button:active{background-color:ButtonText;color:ButtonFace}.win-splitviewcommand-button{background-color:ButtonFace;color:ButtonText}.win-splitviewcommand-button:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px);pointer-events:none}html.win-hoverable .win-splitviewcommand-button:hover{background-color:Highlight;color:HighlightText}.win-splitviewcommand-button.win-pressed,html.win-hoverable .win-splitviewcommand-button.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-navbar{z-index:999}.win-navbar.win-navbar-hiding,.win-navbar.win-navbar-showing,.win-navbar.win-navbar-shown{min-height:60px}.win-navbar .win-navbar-invokebutton{width:32px;min-height:0;height:24px}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{width:32px}.win-navbar.win-top .win-navbar-invokebutton{bottom:0}.win-navbar.win-top .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-bottom .win-navbar-invokebutton,.win-navbar.win-bottom .win-navbar-invokebutton .win-navbar-ellipsis{top:0}.win-navbarcontainer{width:100%;position:relative}.win-navbarcontainer-pageindicator-box{position:absolute;width:100%;text-align:center;pointer-events:none}.win-navbarcontainer-vertical .win-navbarcontainer-pageindicator-box{display:none}.win-navbarcontainer-pageindicator{display:inline-block;width:40px;height:4px;margin:4px 2px 16px}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport::-webkit-scrollbar{width:0;height:0}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport{padding:20px 0;overflow-x:auto;overflow-y:hidden;overflow:-moz-scrollbars-none;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;touch-action:pan-x}.win-navbarcontainer-vertical .win-navbarcontainer-viewport{overflow-x:hidden;overflow-y:auto;max-height:216px;-ms-overflow-style:-ms-autohiding-scrollbar;touch-action:pan-y;-webkit-overflow-scrolling:touch}.win-navbarcontainer-horizontal .win-navbarcontainer-surface{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-navbarcommand,.win-navbarcontainer-navarrow{display:-ms-flexbox;display:-webkit-flex;touch-action:manipulation}.win-navbarcontainer-vertical .win-navbarcontainer-surface{padding:12px 0}.win-navbarcontainer-navarrow{position:absolute;z-index:2;top:24px;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;height:calc(100% - 48px);width:20px;overflow:hidden}.win-navbarcontainer-vertical .win-navbarcontainer-navarrow{display:none}.win-navbarcontainer-navleft{left:0;margin-right:2px}.win-navbarcontainer-navleft::before{content:'\E0E2'}.win-navbarcontainer-navright{right:0;margin-left:2px}.win-navbarcontainer-navright::before{content:'\E0E3'}.win-navbarcommand{display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcontainer-horizontal .win-navbarcommand{margin:4px;width:192px}.win-navbarcontainer-vertical .win-navbarcommand{margin:4px 24px}.win-navbarcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-navbarcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-navbarcommand-button:focus{z-index:1;outline:0}.win-navbarcommand-icon{height:16px;width:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcommand-icon:lang(ar),.win-navbarcommand-icon:lang(dv),.win-navbarcommand-icon:lang(fa),.win-navbarcommand-icon:lang(he),.win-navbarcommand-icon:lang(ku-Arab),.win-navbarcommand-icon:lang(pa-Arab),.win-navbarcommand-icon:lang(prs),.win-navbarcommand-icon:lang(ps),.win-navbarcommand-icon:lang(qps-plocm),.win-navbarcommand-icon:lang(sd-Arab),.win-navbarcommand-icon:lang(syr),.win-navbarcommand-icon:lang(ug),.win-navbarcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-navbarcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-splitbutton{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;width:48px;font-family:"Segoe MDL2 Assets",Symbols;font-size:16px;margin-right:0;margin-left:2px;position:relative}.win-navbarcommand-splitbutton:lang(ar),.win-navbarcommand-splitbutton:lang(dv),.win-navbarcommand-splitbutton:lang(fa),.win-navbarcommand-splitbutton:lang(he),.win-navbarcommand-splitbutton:lang(ku-Arab),.win-navbarcommand-splitbutton:lang(pa-Arab),.win-navbarcommand-splitbutton:lang(prs),.win-navbarcommand-splitbutton:lang(ps),.win-navbarcommand-splitbutton:lang(qps-plocm),.win-navbarcommand-splitbutton:lang(sd-Arab),.win-navbarcommand-splitbutton:lang(syr),.win-navbarcommand-splitbutton:lang(ug),.win-navbarcommand-splitbutton:lang(ur){margin-left:0;margin-right:2px}.win-navbarcommand-splitbutton::before{content:'\E019';pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;text-align:center;line-height:46px;border:1px dotted transparent}.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened::before{content:'\E018'}.win-navbarcommand-splitbutton:focus{outline:0}@media (-ms-high-contrast){.win-navbarcontainer-pageindicator{background-color:ButtonFace}.win-navbarcontainer-pageindicator:after{display:block;border:1px solid ButtonText;content:"";width:calc(100% - 2px);height:calc(100% - 2px)}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after,.win-navbarcontainer-navarrow:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px)}.win-navbarcontainer-pageindicator-current{background-color:ButtonText}html.win-hoverable .win-navbarcontainer-pageindicator:hover{background-color:Highlight}.win-navbarcontainer-pageindicator:hover:active,html.win-hoverable .win-navbarcontainer-pageindicator-current:hover{background-color:ButtonText}.win-navbarcontainer-navarrow{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:Highlight;color:HighlightText}.win-navbarcontainer-navarrow:hover:active{background-color:ButtonText;color:ButtonFace}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:ButtonFace;color:ButtonText}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after{pointer-events:none}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:Highlight;color:HighlightText}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened,.win-navbarcommand-splitbutton.win-pressed,html.win-hoverable .win-navbarcommand-button.win-pressed:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-viewbox{width:100%;height:100%;position:relative}.win-contentdialog.win-contentdialog-verticalalignment{position:fixed;top:0;left:0;right:0;height:100vh;overflow:hidden;display:none;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-devicefixedsupported{position:-ms-device-fixed;height:auto;bottom:0}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.win-contentdialog .win-contentdialog-backgroundoverlay{position:absolute;top:0;left:0;width:100%;height:100%}.win-contentdialog .win-contentdialog-dialog{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;z-index:1;outline-style:solid;outline-width:1px;box-sizing:border-box;padding:18px 24px 24px;width:100%;min-width:320px;max-width:456px;min-height:184px;max-height:758px;margin-left:auto;margin-right:auto}.win-contentdialog .win-contentdialog-column0or1{-ms-flex:10000 0 50%;-webkit-flex:10000 0 50%;flex:10000 0 50%;width:0}@media (min-height:640px){.win-contentdialog .win-contentdialog-dialog{-ms-flex:0 1 auto;-webkit-flex:0 1 auto;flex:0 1 auto}.win-contentdialog .win-contentdialog-column0or1{display:none}}.win-contentdialog .win-contentdialog-scroller{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow:auto}.win-contentdialog .win-contentdialog-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-size:20px;font-weight:400;line-height:1.2;margin:0}.win-contentdialog .win-contentdialog-content{-ms-flex:1 0 auto;-webkit-flex:1 0 auto;flex:1 0 auto;font-size:15px;font-weight:400;line-height:1.333}.win-contentdialog .win-contentdialog-commands{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:24px;margin-right:-4px}.win-contentdialog .win-contentdialog-commandspacer{visibility:hidden}.win-contentdialog .win-contentdialog-commands>button{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;width:0;margin-right:4px;white-space:nowrap}.win-splitview{position:relative;width:100%;height:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden}.win-splitview.win-splitview-placementbottom,.win-splitview.win-splitview-placementbottom .win-splitview-panewrapper,.win-splitview.win-splitview-placementtop,.win-splitview.win-splitview-placementtop .win-splitview-panewrapper{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-splitview .win-splitview-panewrapper{position:relative;z-index:1;outline:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-appbar.win-appbar-closed.win-appbar-closeddisplaynone,.win-splitview.win-splitview-openeddisplayinline .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed.win-splitview-closeddisplaynone .win-splitview-pane{display:none}.win-splitview .win-splitview-paneoutline{display:none;pointer-events:none;position:absolute;top:0;left:0;border:1px solid transparent;width:calc(100% - 2px);height:calc(100% - 2px);z-index:1}.win-splitview .win-splitview-pane{outline:0}.win-splitview .win-splitview-pane,.win-splitview .win-splitview-paneplaceholder{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden}.win-splitview .win-splitview-contentwrapper{position:relative;z-index:0;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.win-splitview .win-splitview-content{position:absolute;width:100%;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementright .win-splitview-pane{width:320px}.win-splitview.win-splitview-pane-opened.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementtop .win-splitview-pane{height:60px}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementtop .win-splitview-panewrapper{position:absolute;top:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementbottom .win-splitview-panewrapper{position:absolute;bottom:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ur) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright .win-splitview-panewrapper{position:absolute;top:0;left:auto;right:0;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ur) .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-closed.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementtop .win-splitview-pane{height:24px}.win-splitview.win-splitview-pane-closed.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementright .win-splitview-pane{width:48px}button.win-splitviewpanetoggle{touch-action:manipulation;box-sizing:border-box;height:48px;width:48px;min-height:0;min-width:0;padding:0;border:none;margin:0;outline:0}button.win-splitviewpanetoggle:after{font-size:24px;font-family:'Segoe MDL2 Assets',Symbols;font-weight:400;line-height:1.333;content:"\E700"}.win-appbar{width:100%;min-width:32px;position:fixed;position:-ms-device-fixed;z-index:999}.win-appbar.win-appbar-top{top:0}.win-appbar.win-appbar-bottom{bottom:0}.win-ui-light,body{background-color:#fff;color:#000}.win-ui-dark{background-color:#000;color:#fff}::selection{color:#fff}.win-link:hover{color:rgba(0,0,0,.6)}.win-link:active{color:rgba(0,0,0,.4)}.win-link[disabled]{color:rgba(0,0,0,.2)}.win-checkbox::-ms-check{color:#000;border-color:rgba(0,0,0,.8);background-color:transparent}.win-checkbox:indeterminate::-ms-check{color:rgba(0,0,0,.8)}.win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-checkbox:hover::-ms-check{border-color:#000}.win-checkbox:hover:indeterminate::-ms-check{color:#000}.win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-checkbox:indeterminate:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.8);background-color:transparent}.win-checkbox:disabled::-ms-check,.win-checkbox:indeterminate:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent}.win-radio::-ms-check{color:rgba(0,0,0,.8);border-color:rgba(0,0,0,.8);background-color:transparent}.win-radio:hover::-ms-check{border-color:#000;color:#000}.win-radio:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.6)}.win-radio:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){background-color:rgba(0,0,0,.2)}.win-progress-bar::-webkit-progress-bar,.win-progress-ring::-webkit-progress-bar,.win-ring::-webkit-progress-bar{background-color:transparent}.win-progress-ring,.win-ring{background-color:transparent}.win-button{color:#000;background-color:rgba(0,0,0,.2);border-color:transparent}.win-button.win-button-primary{color:#fff}.win-button.win-button-primary:hover,.win-button:hover{border-color:rgba(0,0,0,.4)}.win-button.win-button-primary:active,.win-button:active{background-color:rgba(0,0,0,.4)}.win-button.win-button-primary:disabled,.win-button:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2);border-color:transparent}.win-dropdown{color:#000;background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}.win-dropdown::-ms-expand{color:rgba(0,0,0,.8);background-color:transparent}.win-dropdown:hover{background-color:#f2f2f2;border-color:rgba(0,0,0,.6)}.win-dropdown:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2)}.win-dropdown:disabled::-ms-expand{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-dropdown option{color:#000;background-color:#f2f2f2}.win-dropdown option:checked{color:#fff}.win-dropdown option:active,.win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#000}.win-dropdown optgroup{color:#000;background-color:#f2f2f2}.win-dropdown optgroup:disabled{color:rgba(0,0,0,.2)}select[multiple].win-dropdown{border:none;background-color:#f2f2f2}select[multiple].win-dropdown option,select[multiple].win-dropdown option:hover{color:#000}select[multiple].win-dropdown option:checked{color:#fff}.win-slider{background-color:transparent}.win-slider:hover::-ms-thumb{background:#1f1f1f}.win-slider:hover::-webkit-slider-thumb{background:#1f1f1f}.win-slider:hover::-moz-range-thumb{background:#1f1f1f}.win-slider:active::-ms-thumb{background:#ccc}.win-slider:active::-webkit-slider-thumb{background:#ccc}.win-slider:active::-moz-range-thumb{background:#ccc}.win-slider:disabled::-ms-thumb{background:#ccc}.win-slider:disabled::-webkit-slider-thumb{background:#ccc}.win-slider:disabled::-moz-range-thumb{background:#ccc}.win-slider:disabled::-ms-fill-lower{background:rgba(0,0,0,.2)}.win-slider::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-slider::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-slider::-moz-range-track{background:rgba(0,0,0,.4)}.win-slider:active::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-slider:active::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-slider:active::-moz-range-track{background:rgba(0,0,0,.4)}.win-slider:disabled::-ms-fill-upper{background:rgba(0,0,0,.2)}.win-slider:disabled::-webkit-slider-runnable-track{background:rgba(0,0,0,.2)}.win-slider:disabled::-moz-range-track{background:rgba(0,0,0,.2)}.win-slider::-ms-track{color:transparent;background-color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:rgba(0,0,0,.4)}.win-textarea,.win-textbox{color:#000;background-color:rgba(255,255,255,.4);border-color:rgba(0,0,0,.4)}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea::-webkit-input-placeholder,.win-textbox::-webkit-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea::-moz-input-placeholder,.win-textbox::-moz-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea:hover,.win-textbox:hover{background-color:rgba(255,255,255,.6);border-color:rgba(0,0,0,.6)}.win-textarea:focus,.win-textbox:focus{color:#000;background-color:#fff}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected,.win-listview.win-selectionstylefilled .win-selected,.win-selectioncheckmark{color:#000}.win-xbox :focus{outline:#fff solid 2px}.win-backbutton:focus,.win-listview .win-groupheader,.win-navigation-backbutton:focus .win-back{outline-color:#000}.win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#000;background-color:#e6e6e6}.win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(0,0,0,.2)}.win-itemcontainer .win-itembox,.win-listview .win-itembox{background-color:#fff}.win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{outline:#000 dashed 2px}.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.4}.win-flipview .win-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-flipview .win-navbutton:hover:active{background-color:rgba(0,0,0,.8)}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(0,0,0,.6)}.win-back,.win-backbutton,.win-navigation-backbutton{background-color:transparent;border:none;color:#000}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{position:absolute;height:100%;width:100%;opacity:.4;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px}.win-backbutton:hover,.win-navigation-backbutton:hover .win-back{background-color:rgba(0,0,0,.1)}.win-backbutton:active,.win-navigation-backbutton:active .win-back{background-color:rgba(0,0,0,.2)}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{color:rgba(0,0,0,.4);background-color:transparent}.win-tooltip{color:#000;border-color:#ccc;background-color:#f2f2f2}.win-rating .win-star.win-tentative.win-full{color:rgba(0,0,0,.8)}.win-rating .win-star.win-average.win-full,.win-rating .win-star.win-average.win-full.win-disabled{color:rgba(0,0,0,.4)}.win-rating .win-star.win-empty{color:rgba(0,0,0,.2)}.win-toggleswitch-header,.win-toggleswitch-value{color:#000}.win-toggleswitch-thumb{background-color:rgba(0,0,0,.8)}.win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(0,0,0,.8)}.win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(0,0,0,.2)}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(0,0,0,.2)}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(0,0,0,.2)}.win-semanticzoom-button,.win-toggleswitch-on .win-toggleswitch-track,button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(0,0,0,.6)}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(0,0,0,.2)}.win-semanticzoom-button{background-color:rgba(216,216,216,.33)}button.win-semanticzoom-button.win-semanticzoom-button:active,button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#000}.win-pivot .win-pivot-title{color:#000}.win-pivot .win-pivot-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(0,0,0,.8)}.win-pivot button.win-pivot-header{color:rgba(0,0,0,.6);background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:rgba(0,0,0,.8)}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:#000;background-color:transparent}.win-pivot-header[disabled]{color:rgba(0,0,0,.4)}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active{color:#000}button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#000 dotted 1px}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#000}button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(0,0,0,.4)}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(0,0,0,.4)}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:#000}.win-overlay{outline:0}hr.win-command{background-color:rgba(0,0,0,.4)}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:#000}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:rgba(0,0,0,.2)}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#000}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#000}button.win-command:enabled:-ms-keyboard-active{background-color:rgba(0,0,0,.2);color:#000}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:rgba(0,0,0,.2)}.win-navbar{background-color:#e6e6e6;border-color:#e6e6e6}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#000}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#000}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(0,0,0,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(0,0,0,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#000}.win-flyout,.win-settingsflyout{background-color:#fff}.win-menu button{background-color:transparent;color:#000}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}html.win-hoverable .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:.6}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:rgba(0,0,0,.2)}.win-commandingsurface .win-commandingsurface-actionarea{background-color:#e6e6e6}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#000}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#000}.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#f2f2f2}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(0,0,0,.2)}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#000;background-color:rgba(0,0,0,.2)}.win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-navbarcommand-button.win-keyboard:focus::before,.win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #000}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-autosuggestbox-flyout{background-color:#f2f2f2;color:#000}.win-autosuggestbox-suggestion-query:hover:active,.win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(0,0,0,.2)}.win-searchbox-button,.win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-splitviewcommand-button{background-color:transparent;color:#000}.win-navbarcontainer-pageindicator,.win-splitviewcommand-button.win-pressed{background-color:rgba(0,0,0,.2)}.win-navbarcontainer-pageindicator-current{background-color:rgba(0,0,0,.6)}.win-navbarcontainer-navarrow{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(0,0,0,.8)}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:rgba(0,0,0,.1);color:#000}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-pressed{background-color:rgba(0,0,0,.28)}.win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#000}.win-contentdialog-dialog{background-color:#f2f2f2}.win-contentdialog-content,.win-contentdialog-title{color:#000}.win-contentdialog-backgroundoverlay{background-color:#fff;opacity:.6}.win-splitview-pane{background-color:#f2f2f2}button.win-splitviewpanetoggle{color:#000;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:#000;background-color:rgba(0,0,0,.2)}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #000}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before,html.win-hoverable .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#000}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:rgba(0,0,0,.2);background-color:transparent}html.win-hoverable .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#000}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{color:rgba(0,0,0,.6)}html.win-hoverable .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable button.win-hub-section-header-tabstop:hover{color:#000}html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(0,0,0,.8)}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-splitviewcommand-button:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.7}html.win-hoverable .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(0,0,0,.2)}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:rgba(0,0,0,.6)}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:rgba(0,0,0,.19)}html.win-hoverable .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(0,0,0,.28)}html.win-hoverable button.win-splitviewpanetoggle:hover{color:#000;background-color:rgba(0,0,0,.1)}.win-ui-dark .win-ui-dark,.win-ui-dark body{background-color:#000;color:#fff}.win-ui-dark .win-ui-light{background-color:#fff;color:#000}.win-ui-dark winjs-themedetection-tag{opacity:0}.win-ui-dark ::selection{color:#fff}.win-ui-dark .win-link:hover{color:rgba(255,255,255,.6)}.win-ui-dark .win-link:active{color:rgba(255,255,255,.4)}.win-ui-dark .win-link[disabled]{color:rgba(255,255,255,.2)}.win-ui-dark .win-checkbox::-ms-check{color:#fff;border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-checkbox:indeterminate::-ms-check{color:rgba(255,255,255,.8)}.win-ui-dark .win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-ui-dark .win-checkbox:hover::-ms-check{border-color:#fff}.win-ui-dark .win-checkbox:hover:indeterminate::-ms-check{color:#fff}.win-ui-dark .win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-ui-dark .win-checkbox:indeterminate:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-checkbox:disabled::-ms-check,.win-ui-dark .win-checkbox:indeterminate:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2);background-color:transparent}.win-ui-dark .win-radio::-ms-check{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-radio:hover::-ms-check{border-color:#fff;color:#fff}.win-ui-dark .win-radio:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.6)}.win-ui-dark .win-radio:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-ui-dark .win-progress-bar:not(:indeterminate),.win-ui-dark .win-progress-ring:not(:indeterminate),.win-ui-dark .win-ring:not(:indeterminate){background-color:rgba(255,255,255,.2)}.win-ui-dark .win-progress-bar::-webkit-progress-bar,.win-ui-dark .win-progress-ring::-webkit-progress-bar,.win-ui-dark .win-ring::-webkit-progress-bar{background-color:transparent}.win-ui-dark .win-progress-ring,.win-ui-dark .win-ring{background-color:transparent}.win-ui-dark .win-button{color:#fff;background-color:rgba(255,255,255,.2);border-color:transparent}.win-ui-dark .win-button.win-button-primary{color:#fff}.win-ui-dark .win-button.win-button-primary:hover,.win-ui-dark .win-button:hover{border-color:rgba(255,255,255,.4)}.win-ui-dark .win-button.win-button-primary:active,.win-ui-dark .win-button:active{background-color:rgba(255,255,255,.4)}.win-ui-dark .win-button.win-button-primary:disabled,.win-ui-dark .win-button:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2);border-color:transparent}.win-ui-dark .win-dropdown{color:#fff;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}.win-ui-dark .win-dropdown::-ms-expand{color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-dropdown:hover{background-color:#2b2b2b;border-color:rgba(255,255,255,.6)}.win-ui-dark .win-dropdown:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2)}.win-ui-dark .win-dropdown:disabled::-ms-expand{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-ui-dark .win-dropdown option{color:#fff;background-color:#2b2b2b}.win-ui-dark .win-dropdown option:checked{color:#fff}.win-ui-dark .win-dropdown option:active,.win-ui-dark .win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#fff}.win-ui-dark .win-dropdown optgroup{color:#fff;background-color:#2b2b2b}.win-ui-dark .win-dropdown optgroup:disabled{color:rgba(255,255,255,.2)}.win-ui-dark select[multiple].win-dropdown{border:none;background-color:#2b2b2b}.win-ui-dark select[multiple].win-dropdown option,.win-ui-dark select[multiple].win-dropdown option:checked,.win-ui-dark select[multiple].win-dropdown option:hover{color:#fff}.win-ui-dark .win-slider{background-color:transparent}.win-ui-dark .win-slider:hover::-ms-thumb{background:#f9f9f9}.win-ui-dark .win-slider:hover::-webkit-slider-thumb{background:#f9f9f9}.win-ui-dark .win-slider:hover::-moz-range-thumb{background:#f9f9f9}.win-ui-dark .win-slider:active::-ms-thumb{background:#767676}.win-ui-dark .win-slider:active::-webkit-slider-thumb{background:#767676}.win-ui-dark .win-slider:active::-moz-range-thumb{background:#767676}.win-ui-dark .win-slider:disabled::-ms-thumb{background:#333}.win-ui-dark .win-slider:disabled::-webkit-slider-thumb{background:#333}.win-ui-dark .win-slider:disabled::-moz-range-thumb{background:#333}.win-ui-dark .win-slider:disabled::-ms-fill-lower{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider::-moz-range-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-moz-range-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:disabled::-ms-fill-upper{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider:disabled::-webkit-slider-runnable-track{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider:disabled::-moz-range-track{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider::-ms-track{color:transparent;background-color:transparent}.win-ui-dark .win-slider::-ms-ticks-after,.win-ui-dark .win-slider::-ms-ticks-before{color:rgba(255,255,255,.4)}.win-ui-dark .win-textarea,.win-ui-dark .win-textbox{color:#fff;background-color:rgba(0,0,0,.4);border-color:rgba(255,255,255,.4)}.win-ui-dark .win-textarea:-ms-input-placeholder,.win-ui-dark .win-textbox:-ms-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea::-webkit-input-placeholder,.win-ui-dark .win-textbox::-webkit-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea::-moz-input-placeholder,.win-ui-dark .win-textbox::-moz-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea:hover,.win-ui-dark .win-textbox:hover{background-color:rgba(0,0,0,.6);border-color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea:focus,.win-ui-dark .win-textbox:focus{color:#000;background-color:#fff}.win-ui-dark .win-textbox::-ms-clear,.win-ui-dark .win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected,.win-ui-dark .win-listview.win-selectionstylefilled .win-selected,.win-ui-dark .win-selectioncheckmark{color:#fff}.win-ui-dark .win-textbox::-ms-clear:active,.win-ui-dark .win-textbox::-ms-reveal:active{color:#fff}.win-ui-dark .win-xbox :focus{outline:#fff solid 2px}.win-ui-dark .win-backbutton:focus,.win-ui-dark .win-listview .win-groupheader,.win-ui-dark .win-navigation-backbutton:focus .win-back{outline-color:#fff}.win-ui-dark .win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-ui-dark .win-listview .win-surface.win-selectionmode .win-itembox::after,.win-ui-dark .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#fff;background-color:#393939}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-dark .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-dark .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,.win-ui-dark html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-dark html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-dark html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-itemcontainer .win-itembox,.win-ui-dark .win-listview .win-itembox{background-color:#1d1d1d}.win-ui-dark .win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-ui-dark .win-itemcontainer .win-focusedoutline,.win-ui-dark .win-listview .win-focusedoutline{outline:#fff dashed 2px}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-ui-dark .win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.6}.win-ui-dark .win-flipview .win-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-flipview .win-navbutton:hover:active{background-color:rgba(255,255,255,.8)}.win-ui-dark html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-back,.win-ui-dark .win-backbutton,.win-ui-dark .win-navigation-backbutton{background-color:transparent;border:none;color:#fff}.win-ui-dark .win-menu-containsflyoutcommand button.win-command-flyout-activated:before,.win-ui-dark button[aria-checked=true].win-command:before,.win-ui-dark.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{position:absolute;height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;opacity:.6}.win-ui-dark .win-backbutton:hover,.win-ui-dark .win-navigation-backbutton:hover .win-back{background-color:rgba(255,255,255,.1)}.win-ui-dark .win-backbutton:active,.win-ui-dark .win-navigation-backbutton:active .win-back{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-backbutton:disabled,.win-ui-dark .win-backbutton:disabled:active,.win-ui-dark .win-navigation-backbutton:disabled,.win-ui-dark .win-navigation-backbutton:disabled .win-back,.win-ui-dark .win-navigation-backbutton:disabled:active .win-back{color:rgba(255,255,255,.4);background-color:transparent}.win-ui-dark .win-tooltip{color:#fff;border-color:#767676;background-color:#2b2b2b}.win-ui-dark .win-rating .win-star.win-tentative.win-full{color:rgba(255,255,255,.8)}.win-ui-dark .win-rating .win-star.win-average.win-full,.win-ui-dark .win-rating .win-star.win-average.win-full.win-disabled{color:rgba(255,255,255,.4)}.win-ui-dark .win-rating .win-star.win-empty{color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-header,.win-ui-dark .win-toggleswitch-value{color:#fff}.win-ui-dark .win-toggleswitch-thumb{background-color:rgba(255,255,255,.8)}.win-ui-dark .win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(255,255,255,.8)}.win-ui-dark .win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-ui-dark .win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-header,.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(255,255,255,.2)}.win-ui-dark .win-semanticzoom-button,.win-ui-dark .win-toggleswitch-on .win-toggleswitch-track,.win-ui-dark button.win-command:hover:active,.win-ui-dark div.win-command:hover:active{border-color:transparent}.win-ui-dark .win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-ui-dark .win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-ui-dark .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-semanticzoom-button{background-color:rgba(216,216,216,.33)}.win-ui-dark button.win-semanticzoom-button.win-semanticzoom-button:active,.win-ui-dark button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#fff}.win-ui-dark .win-pivot .win-pivot-title{color:#fff}.win-ui-dark .win-pivot .win-pivot-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(255,255,255,.8)}.win-ui-dark .win-pivot button.win-pivot-header{color:rgba(255,255,255,.6);background-color:transparent}.win-ui-dark .win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-ui-dark .win-pivot button.win-pivot-header:focus{color:rgba(255,255,255,.8)}.win-ui-dark .win-pivot button.win-pivot-header.win-pivot-header-selected{color:#fff;background-color:transparent}.win-ui-dark .win-pivot-header[disabled]{color:rgba(255,255,255,.4)}.win-ui-dark button.win-hub-section-header-tabstop,.win-ui-dark button.win-hub-section-header-tabstop:hover:active{color:#fff}.win-ui-dark button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#fff dotted 1px}.win-ui-dark button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#fff}.win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(255,255,255,.4)}.win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(255,255,255,.4)}.win-ui-dark .win-commandimage,.win-ui-dark button:enabled:active .win-commandimage,.win-ui-dark button:enabled:hover:active .win-commandimage{color:#fff}.win-ui-dark .win-overlay{outline:0}.win-ui-dark hr.win-command{background-color:rgba(255,255,255,.4)}.win-ui-dark button.win-command,.win-ui-dark div.win-command{border-color:transparent;background-color:transparent}.win-ui-dark button:enabled.win-command.win-command.win-keyboard:hover:focus,.win-ui-dark button:enabled.win-command.win-keyboard:focus,.win-ui-dark div.win-command.win-command.win-keyboard:hover:focus,.win-ui-dark div.win-command.win-keyboard:focus{border-color:#fff}.win-ui-dark button.win-command.win-command:enabled:active,.win-ui-dark button.win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark button:disabled .win-commandimage,.win-ui-dark button:disabled:active .win-commandimage{color:rgba(255,255,255,.2)}.win-ui-dark button .win-label,.win-ui-dark button[aria-checked=true]:enabled .win-commandimage,.win-ui-dark button[aria-checked=true]:enabled .win-label,.win-ui-dark button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#fff}.win-ui-dark button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#fff}.win-ui-dark button.win-command:enabled:-ms-keyboard-active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}.win-ui-dark button.win-command:disabled,.win-ui-dark button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}.win-ui-dark button.win-command:disabled .win-label,.win-ui-dark button.win-command:disabled:active .win-label{color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar,.win-ui-dark.win-navbar{background-color:#393939;border-color:#393939}.win-ui-dark .win-navbar.win-menulayout .win-navbar-menu,.win-ui-dark .win-navbar.win-menulayout .win-toolbar,.win-ui-dark.win-navbar.win-menulayout .win-navbar-menu,.win-ui-dark.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#fff}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#fff}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#fff}.win-ui-dark .win-flyout,.win-ui-dark .win-settingsflyout,.win-ui-dark.win-flyout{background-color:#000}.win-ui-dark .win-menu button,.win-ui-dark.win-menu button{background-color:transparent;color:#fff}.win-ui-dark .win-menu button.win-command.win-command:enabled:hover:active,.win-ui-dark .win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark .win-menu button[aria-checked=true].win-command:before,.win-ui-dark.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-ui-dark .win-menu button:disabled,.win-ui-dark .win-menu button:disabled:active,.win-ui-dark.win-menu button:disabled,.win-ui-dark.win-menu button:disabled:active{background-color:transparent;color:rgba(255,255,255,.2)}.win-ui-dark .win-commandingsurface .win-commandingsurface-actionarea,.win-ui-dark.win-commandingsurface .win-commandingsurface-actionarea{background-color:#393939}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#fff}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#fff}.win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea,.win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#2b2b2b}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active,.win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-ui-dark .win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-ui-dark .win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-ui-dark .win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-ui-dark .win-navbarcommand-button.win-keyboard:focus::before,.win-ui-dark .win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #fff}.win-ui-dark .win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-ui-dark .win-autosuggestbox-flyout{background-color:#2b2b2b;color:#fff}.win-ui-dark .win-autosuggestbox-suggestion-query:hover:active,.win-ui-dark .win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-searchbox-button{color:rgba(255,255,255,.4)}.win-ui-dark .win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-ui-dark .win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-ui-dark .win-splitviewcommand-button{background-color:transparent;color:#fff}.win-ui-dark .win-navbarcontainer-pageindicator,.win-ui-dark .win-splitviewcommand-button.win-pressed{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-navbarcontainer-pageindicator-current{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-navbarcontainer-navarrow{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(255,255,255,.8)}.win-ui-dark .win-navbarcommand-button,.win-ui-dark .win-navbarcommand-splitbutton{background-color:rgba(255,255,255,.1);color:#fff}.win-ui-dark .win-navbarcommand-button.win-pressed,.win-ui-dark .win-navbarcommand-splitbutton.win-pressed{background-color:rgba(255,255,255,.28)}.win-ui-dark .win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#fff}.win-ui-dark .win-contentdialog-dialog{background-color:#2b2b2b}.win-ui-dark .win-contentdialog-content,.win-ui-dark .win-contentdialog-title{color:#fff}.win-ui-dark .win-contentdialog-backgroundoverlay{background-color:#000;opacity:.6}html.win-hoverable .win-ui-dark .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-dark .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-dark .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-dark button:enabled[aria-checked=true].win-command:hover:before{opacity:.8}.win-ui-dark .win-splitview-pane{background-color:#171717}.win-ui-dark button.win-splitviewpanetoggle{color:#fff;background-color:transparent}.win-ui-dark button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,.win-ui-dark button.win-splitviewpanetoggle:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-ui-dark button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #fff}html.win-hoverable .win-ui-dark .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-ui-dark .win-listview .win-itembox:hover::before,html.win-hoverable .win-ui-dark .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#fff}.win-ui-dark button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,.win-ui-dark button.win-splitviewpanetoggle:disabled,.win-ui-dark button.win-splitviewpanetoggle:disabled:active{color:rgba(255,255,255,.2);background-color:transparent}html.win-hoverable .win-ui-dark .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-ui-dark .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,html.win-hoverable .win-ui-dark .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable .win-ui-dark button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-ui-dark .win-pivot .win-pivot-navbutton:hover{color:rgba(255,255,255,.6)}html.win-hoverable .win-ui-dark .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable .win-ui-dark button.win-hub-section-header-tabstop:hover{color:#fff}html.win-hoverable .win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(255,255,255,.8)}html.win-hoverable .win-ui-dark .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-dark .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-dark.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark button.win-command:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark button.win-command:enabled:hover,html.win-hoverable .win-ui-dark button.win-command:enabled:hover .win-commandglyph,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-menu button.win-command:enabled:hover{background-color:rgba(255,255,255,.1);color:#fff}html.win-hoverable .win-ui-dark button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-ui-dark .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-ui-dark .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.9}html.win-hoverable .win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-ui-dark .win-splitviewcommand-button:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-dark .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(0,0,0,.2)}html.win-hoverable .win-ui-dark .win-navbarcontainer-navarrow:hover{background-color:rgba(255,255,255,.6)}html.win-hoverable .win-ui-dark .win-navbarcommand-button:hover,html.win-hoverable .win-ui-dark .win-navbarcommand-splitbutton:hover{background-color:rgba(0,0,0,.19)}html.win-hoverable .win-ui-dark .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-ui-dark .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(0,0,0,.28)}html.win-hoverable .win-ui-dark button.win-splitviewpanetoggle:hover{color:#fff;background-color:rgba(255,255,255,.1)}@media (-ms-high-contrast){::selection{background-color:Highlight;color:HighlightText}.win-link{color:-ms-hotlight}.win-link:active{color:Highlight}.win-link[disabled]{color:GrayText}.win-checkbox::-ms-check,.win-radio::-ms-check{background-color:ButtonFace;border-color:ButtonText;color:HighlightText}.win-checkbox:indeterminate::-ms-check,.win-radio:indeterminate::-ms-check{background-color:Highlight;border-color:ButtonText;color:ButtonText}.win-checkbox:checked::-ms-check,.win-radio:checked::-ms-check{background-color:Highlight;border-color:HighlightText}.win-checkbox:hover::-ms-check,.win-radio:hover::-ms-check{border-color:Highlight}.win-checkbox:-ms-keyboard-active::-ms-check,.win-checkbox:hover:active::-ms-check,.win-radio:-ms-keyboard-active::-ms-check,.win-radio:hover:active::-ms-check{border-color:Highlight}.win-checkbox:disabled::-ms-check,.win-checkbox:disabled:active::-ms-check,.win-radio:disabled::-ms-check,.win-radio:disabled:active::-ms-check{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-progress-bar,.win-progress-ring,.win-ring{background-color:ButtonFace;color:Highlight}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{background-color:Highlight}.win-progress-bar.win-paused:not(:indeterminate)::-ms-fill,.win-progress-ring.win-paused:not(:indeterminate)::-ms-fill,.win-ring.win-paused:not(:indeterminate)::-ms-fill{background-color:GrayText}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:none;opacity:1}.win-button{border-color:ButtonText;color:ButtonText}.win-button:active,.win-button:hover{border-color:Highlight;color:Highlight}.win-button:disabled{border-color:GrayText;color:GrayText}.win-dropdown{background-color:ButtonFace;border-color:ButtonText;color:WindowText}.win-dropdown:active,.win-dropdown:hover{border-color:Highlight}.win-dropdown:disabled{border-color:GrayText;color:GrayText}.win-dropdown::-ms-expand{color:ButtonText}.win-dropdown:disabled::-ms-expand{color:GrayText}.win-dropdown option{background-color:ButtonFace;color:ButtonText}.win-dropdown option:active,.win-dropdown option:checked,.win-dropdown option:hover{background-color:Highlight;color:HighlightText}.win-dropdown option:disabled,select[multiple].win-dropdown:disabled option{background-color:ButtonFace;color:GrayText}select[multiple].win-dropdown{border:none}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;position:absolute}select[multiple].win-dropdown:disabled option:checked{background-color:GrayText;color:ButtonFace}.win-slider::-ms-track{color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:ButtonText}.win-slider::-ms-fill-lower{background-color:Highlight}.win-slider::-ms-fill-upper{background-color:ButtonText}.win-slider::-ms-thumb{background-color:ButtonText}.win-slider:hover::-ms-thumb{background-color:Highlight}.win-slider:active::-ms-thumb{background-color:Highlight}.win-slider:disabled::-ms-fill-lower,.win-slider:disabled::-ms-fill-upper,.win-slider:disabled::-ms-thumb{background-color:GrayText}.win-textarea,.win-textbox{border-color:ButtonText;color:ButtonText}.win-textarea:active,.win-textarea:focus,.win-textarea:hover,.win-textbox:active,.win-textbox:focus,.win-textbox:hover{border-color:Highlight}.win-textarea:disabled,.win-textbox:disabled{border-color:GrayText;color:GrayText}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:WindowText}.win-textarea::-ms-input-placeholder,.win-textbox::-ms-input-placeholder{color:WindowText}.win-textarea:disabled:-ms-input-placeholder,.win-textbox:disabled:-ms-input-placeholder{color:GrayText}.win-textarea:disabled::-ms-input-placeholder,.win-textbox:disabled::-ms-input-placeholder{color:GrayText}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{background-color:ButtonFace;color:ButtonText}.win-textbox::-ms-clear:hover,.win-textbox::-ms-reveal:hover{color:Highlight}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{background-color:Highlight;color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-thumb,.win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-header,.win-toggleswitch-value{color:HighlightText}.win-toggleswitch-off .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:Highlight;background-color:Highlight}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:GrayText}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-on .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:Background}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:GrayText;border-color:GrayText}.win-toggleswitch-off.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-enabled .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:Highlight}.win-pivot .win-pivot-title{color:WindowText}.win-pivot .win-pivot-navbutton{background-color:Highlight;color:HighlightText}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:HighlightText}.win-pivot button.win-pivot-header{color:HighlightText;background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:HighlightText}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:HighlightText;background-color:Highlight}.win-pivot-header[disabled]{color:GrayText}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:ButtonText}.win-overlay{outline:0}hr.win-command{background-color:ButtonText}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:ButtonText}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:GrayText}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:ButtonText}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:ButtonText}button[aria-checked=true].win-command:before{opacity:1}button.win-command:enabled:-ms-keyboard-active{background-color:Highlight;color:ButtonText}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:GrayText}.win-navbar{background-color:ButtonFace;border-color:Highlight}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:GrayText}.win-menu button,.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:ButtonText}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:Highlight}.win-flyout,.win-settingsflyout{background-color:ButtonFace}.win-menu button{background-color:transparent}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{opacity:.4}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:GrayText}button[aria-checked=true].win-command:before{border-color:Highlight;background-color:Highlight}.win-commandingsurface .win-commandingsurface-actionarea,.win-commandingsurface .win-commandingsurface-overflowarea{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:ButtonFace;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:Highlight}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:ButtonText;background-color:Highlight}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-insetoutline{display:block;border:1px solid ButtonText;pointer-events:none;background-color:transparent;z-index:1;position:absolute;top:0;left:0;height:calc(100% - 2px);width:calc(100% - 2px)}.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closing .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-opening .win-commandingsurface-insetoutline{display:none}.win-contentdialog-dialog{background-color:Window}.win-contentdialog-content,.win-contentdialog-title{color:WindowText}.win-contentdialog-backgroundoverlay{background-color:Window;opacity:.6}.win-splitview-pane{background-color:ButtonFace}.win-splitview.win-splitview-pane-opened .win-splitview-paneoutline{display:block;border-color:ButtonText}.win-splitview.win-splitview-animating .win-splitview-paneoutline{display:none}button.win-splitviewpanetoggle{color:ButtonText;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:ButtonText;background-color:Highlight}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted ButtonText}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:GrayText;background-color:transparent}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:HighlightText}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:Highlight}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:Highlight;color:HighlightText}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:1}html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:Highlight}html.win-hoverable button.win-splitviewpanetoggle:hover{color:ButtonText;background-color:Highlight}} \ No newline at end of file +.win-button,.win-slider{-webkit-appearance:none}.win-button,.win-link{touch-action:manipulation}@keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@keyframes WinJS-opacity-in{from{opacity:0}to{opacity:1}}@keyframes WinJS-opacity-out{from{opacity:1}to{opacity:0}}@keyframes WinJS-scale-up{from{transform:scale(.85)}to{transform:scale(1)}}@keyframes WinJS-scale-down{from{transform:scale(1)}to{transform:scale(.85)}}@keyframes WinJS-default-remove{from{transform:translateX(11px)}to{transform:none}}@keyframes WinJS-default-remove-rtl{from{transform:translateX(-11px)}to{transform:none}}@keyframes WinJS-default-apply{from{transform:none}to{transform:translateX(11px)}}@keyframes WinJS-default-apply-rtl{from{transform:none}to{transform:translateX(-11px)}}@keyframes WinJS-showEdgeUI{from{transform:translateY(-70px)}to{transform:none}}@keyframes WinJS-showPanel{from{transform:translateX(364px)}to{transform:none}}@keyframes WinJS-showPanel-rtl{from{transform:translateX(-364px)}to{transform:none}}@keyframes WinJS-hideEdgeUI{from{transform:none}to{transform:translateY(-70px)}}@keyframes WinJS-hidePanel{from{transform:none}to{transform:translateX(364px)}}@keyframes WinJS-hidePanel-rtl{from{transform:none}to{transform:translateX(-364px)}}@keyframes WinJS-showPopup{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-dragSourceEnd{from{transform:translateX(11px) scale(1.05)}to{transform:none}}@keyframes WinJS-dragSourceEnd-rtl{from{transform:translateX(-11px) scale(1.05)}to{transform:none}}@keyframes WinJS-enterContent{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-exit{from,to{transform:none}}@keyframes WinJS-enterPage{from{transform:translateY(28px)}to{transform:none}}@keyframes WinJS-updateBadge{from{transform:translateY(24px)}to{transform:none}}@-webkit-keyframes WinJS-node-inserted{from{outline-color:#000}to{outline-color:#001}}@-webkit-keyframes -webkit-WinJS-opacity-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes -webkit-WinJS-opacity-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes -webkit-WinJS-scale-up{from{-webkit-transform:scale(.85)}to{-webkit-transform:scale(1)}}@-webkit-keyframes -webkit-WinJS-scale-down{from{-webkit-transform:scale(1)}to{-webkit-transform:scale(.85)}}@-webkit-keyframes -webkit-WinJS-default-remove{from{-webkit-transform:translateX(11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-remove-rtl{from{-webkit-transform:translateX(-11px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-default-apply{from{-webkit-transform:none}to{-webkit-transform:translateX(11px)}}@-webkit-keyframes -webkit-WinJS-default-apply-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-11px)}}@-webkit-keyframes -webkit-WinJS-showEdgeUI{from{-webkit-transform:translateY(-70px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel{from{-webkit-transform:translateX(364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showPanel-rtl{from{-webkit-transform:translateX(-364px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-hideEdgeUI{from{-webkit-transform:none}to{-webkit-transform:translateY(-70px)}}@-webkit-keyframes -webkit-WinJS-hidePanel{from{-webkit-transform:none}to{-webkit-transform:translateX(364px)}}@-webkit-keyframes -webkit-WinJS-hidePanel-rtl{from{-webkit-transform:none}to{-webkit-transform:translateX(-364px)}}@-webkit-keyframes -webkit-WinJS-showPopup{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd{from{-webkit-transform:translateX(11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-dragSourceEnd-rtl{from{-webkit-transform:translateX(-11px) scale(1.05)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterContent{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-exit{from,to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-enterPage{from{-webkit-transform:translateY(28px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-updateBadge{from{-webkit-transform:translateY(24px)}to{-webkit-transform:none}}@font-face{font-family:"Segoe UI Command";src:local("Segoe MDL2 Assets");font-weight:400;font-style:normal}@font-face{font-family:Symbols;src:url(../fonts/Symbols.ttf)}.win-h1,.win-type-header{font-size:46px;font-weight:200;line-height:1.216;letter-spacing:0}.win-h2,.win-type-subheader{font-size:34px;font-weight:200;line-height:1.176}.win-h3,.win-type-title{font-size:24px;font-weight:300;line-height:1.167}.win-h4,.win-type-subtitle{font-size:20px;font-weight:400;line-height:1.2}.win-h6,.win-type-body{font-size:15px;font-weight:400;line-height:1.333}.win-h5,.win-type-base{font-size:15px;font-weight:500;line-height:1.333}.win-type-caption{font-size:12px;font-weight:400;line-height:1.167}@font-face{font-family:"Segoe UI";font-weight:200;src:local("Segoe UI Light")}@font-face{font-family:"Segoe UI";font-weight:300;src:local("Segoe UI Semilight")}@font-face{font-family:"Segoe UI";font-weight:400;src:local("Segoe UI")}@font-face{font-family:"Segoe UI";font-weight:500;src:local("Segoe UI Semibold")}@font-face{font-family:"Segoe UI";font-weight:600;src:local("Segoe UI Bold")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:400;src:local("Segoe UI Italic")}@font-face{font-family:"Segoe UI";font-style:italic;font-weight:700;src:local("Segoe UI Bold Italic")}@font-face{font-family:"Microsoft Yahei UI";font-weight:200;src:local("Microsoft Yahei UI Light")}@font-face{font-family:"Microsoft Yahei UI";font-weight:300;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:500;src:local("Microsoft Yahei UI")}@font-face{font-family:"Microsoft Yahei UI";font-weight:600;src:local("Microsoft Yahei UI Bold")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:200;src:local("Microsoft JhengHei UI Light")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:300;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:500;src:local("Microsoft JhengHei UI")}@font-face{font-family:"Microsoft JhengHei UI";font-weight:600;src:local("Microsoft JhengHei UI Bold")}.win-button:-ms-lang(am,ti),.win-dropdown:-ms-lang(am,ti),.win-h1:-ms-lang(am,ti),.win-h2:-ms-lang(am,ti),.win-h3:-ms-lang(am,ti),.win-h4:-ms-lang(am,ti),.win-h5:-ms-lang(am,ti),.win-h6:-ms-lang(am,ti),.win-link:-ms-lang(am,ti),.win-textarea:-ms-lang(am,ti),.win-textbox:-ms-lang(am,ti),.win-type-base:-ms-lang(am,ti),.win-type-body:-ms-lang(am,ti),.win-type-caption:-ms-lang(am,ti),.win-type-header:-ms-lang(am,ti),.win-type-subheader:-ms-lang(am,ti),.win-type-subtitle:-ms-lang(am,ti),.win-type-title:-ms-lang(am,ti){font-family:Ebrima,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-dropdown:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h1:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h2:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h3:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h4:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h5:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-h6:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-link:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textarea:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-textbox:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-base:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-body:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-caption:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-header:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subheader:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-subtitle:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te),.win-type-title:-ms-lang(as,bn,gu,hi,kn,kok,ml,mr,ne,or,pa,sat-Olck,si,srb-Sora,ta,te){font-family:"Nirmala UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(chr-CHER-US),.win-dropdown:-ms-lang(chr-CHER-US),.win-h1:-ms-lang(chr-CHER-US),.win-h2:-ms-lang(chr-CHER-US),.win-h3:-ms-lang(chr-CHER-US),.win-h4:-ms-lang(chr-CHER-US),.win-h5:-ms-lang(chr-CHER-US),.win-h6:-ms-lang(chr-CHER-US),.win-link:-ms-lang(chr-CHER-US),.win-textarea:-ms-lang(chr-CHER-US),.win-textbox:-ms-lang(chr-CHER-US),.win-type-base:-ms-lang(chr-CHER-US),.win-type-body:-ms-lang(chr-CHER-US),.win-type-caption:-ms-lang(chr-CHER-US),.win-type-header:-ms-lang(chr-CHER-US),.win-type-subheader:-ms-lang(chr-CHER-US),.win-type-subtitle:-ms-lang(chr-CHER-US),.win-type-title:-ms-lang(chr-CHER-US){font-family:Gadugi,Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ja),.win-dropdown:-ms-lang(ja),.win-h1:-ms-lang(ja),.win-h2:-ms-lang(ja),.win-h3:-ms-lang(ja),.win-h4:-ms-lang(ja),.win-h5:-ms-lang(ja),.win-h6:-ms-lang(ja),.win-link:-ms-lang(ja),.win-textarea:-ms-lang(ja),.win-textbox:-ms-lang(ja),.win-type-base:-ms-lang(ja),.win-type-body:-ms-lang(ja),.win-type-caption:-ms-lang(ja),.win-type-header:-ms-lang(ja),.win-type-subheader:-ms-lang(ja),.win-type-subtitle:-ms-lang(ja),.win-type-title:-ms-lang(ja){font-family:"Yu Gothic UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(km,lo,th,bug-Bugi),.win-dropdown:-ms-lang(km,lo,th,bug-Bugi),.win-h1:-ms-lang(km,lo,th,bug-Bugi),.win-h2:-ms-lang(km,lo,th,bug-Bugi),.win-h3:-ms-lang(km,lo,th,bug-Bugi),.win-h4:-ms-lang(km,lo,th,bug-Bugi),.win-h5:-ms-lang(km,lo,th,bug-Bugi),.win-h6:-ms-lang(km,lo,th,bug-Bugi),.win-link:-ms-lang(km,lo,th,bug-Bugi),.win-textarea:-ms-lang(km,lo,th,bug-Bugi),.win-textbox:-ms-lang(km,lo,th,bug-Bugi),.win-type-base:-ms-lang(km,lo,th,bug-Bugi),.win-type-body:-ms-lang(km,lo,th,bug-Bugi),.win-type-caption:-ms-lang(km,lo,th,bug-Bugi),.win-type-header:-ms-lang(km,lo,th,bug-Bugi),.win-type-subheader:-ms-lang(km,lo,th,bug-Bugi),.win-type-subtitle:-ms-lang(km,lo,th,bug-Bugi),.win-type-title:-ms-lang(km,lo,th,bug-Bugi){font-family:"Leelawadee UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(ko),.win-dropdown:-ms-lang(ko),.win-h1:-ms-lang(ko),.win-h2:-ms-lang(ko),.win-h3:-ms-lang(ko),.win-h4:-ms-lang(ko),.win-h5:-ms-lang(ko),.win-h6:-ms-lang(ko),.win-link:-ms-lang(ko),.win-textarea:-ms-lang(ko),.win-textbox:-ms-lang(ko),.win-type-base:-ms-lang(ko),.win-type-body:-ms-lang(ko),.win-type-caption:-ms-lang(ko),.win-type-header:-ms-lang(ko),.win-type-subheader:-ms-lang(ko),.win-type-subtitle:-ms-lang(ko),.win-type-title:-ms-lang(ko){font-family:"Malgun Gothic",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(jv-Java),.win-dropdown:-ms-lang(jv-Java),.win-h1:-ms-lang(jv-Java),.win-h2:-ms-lang(jv-Java),.win-h3:-ms-lang(jv-Java),.win-h4:-ms-lang(jv-Java),.win-h5:-ms-lang(jv-Java),.win-h6:-ms-lang(jv-Java),.win-link:-ms-lang(jv-Java),.win-textarea:-ms-lang(jv-Java),.win-textbox:-ms-lang(jv-Java),.win-type-base:-ms-lang(jv-Java),.win-type-body:-ms-lang(jv-Java),.win-type-caption:-ms-lang(jv-Java),.win-type-header:-ms-lang(jv-Java),.win-type-subheader:-ms-lang(jv-Java),.win-type-subtitle:-ms-lang(jv-Java),.win-type-title:-ms-lang(jv-Java){font-family:"Javanese Text",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(cop-Copt),.win-dropdown:-ms-lang(cop-Copt),.win-h1:-ms-lang(cop-Copt),.win-h2:-ms-lang(cop-Copt),.win-h3:-ms-lang(cop-Copt),.win-h4:-ms-lang(cop-Copt),.win-h5:-ms-lang(cop-Copt),.win-h6:-ms-lang(cop-Copt),.win-link:-ms-lang(cop-Copt),.win-textarea:-ms-lang(cop-Copt),.win-textbox:-ms-lang(cop-Copt),.win-type-base:-ms-lang(cop-Copt),.win-type-body:-ms-lang(cop-Copt),.win-type-caption:-ms-lang(cop-Copt),.win-type-header:-ms-lang(cop-Copt),.win-type-subheader:-ms-lang(cop-Copt),.win-type-subtitle:-ms-lang(cop-Copt),.win-type-title:-ms-lang(cop-Copt){font-family:"Segoe MDL2 Assets",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-dropdown:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h1:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h2:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h3:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h4:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h5:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-h6:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-link:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textarea:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-textbox:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-base:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-body:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-caption:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-header:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subheader:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-subtitle:-ms-lang(zh-CN,zh-Hans,zh-SG),.win-type-title:-ms-lang(zh-CN,zh-Hans,zh-SG){font-family:"Microsoft YaHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}.win-button:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-dropdown:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h1:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h2:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h3:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h4:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h5:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-h6:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-link:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textarea:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-textbox:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-base:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-body:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-caption:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-header:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subheader:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-subtitle:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO),.win-type-title:-ms-lang(zh-HK,zh-TW,zh-Hant,zh-MO){font-family:"Microsoft JhengHei UI",Ebrima,"Nirmala UI",Gadugi,"Segoe UI Emoji","Segoe MDL2 Assets",Symbols,"Yu Gothic UI","Yu Gothic","Meiryo UI","Leelawadee UI","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Segoe UI Historic","Estrangelo Edessa","Microsoft Himalaya","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Yi Baiti","Mongolian Baiti","MV Boli","Myanmar Text","Javanese Text","Cambria Math"}body,html{width:100%;height:100%;margin:0;cursor:default;-webkit-touch-callout:none;-ms-scroll-translation:vertical-to-horizontal;-webkit-tap-highlight-color:transparent}html{overflow:hidden;direction:ltr}.win-toggleswitch:lang(ar),.win-toggleswitch:lang(dv),.win-toggleswitch:lang(fa),.win-toggleswitch:lang(he),.win-toggleswitch:lang(ku-Arab),.win-toggleswitch:lang(pa-Arab),.win-toggleswitch:lang(prs),.win-toggleswitch:lang(ps),.win-toggleswitch:lang(qps-plocm),.win-toggleswitch:lang(sd-Arab),.win-toggleswitch:lang(syr),.win-toggleswitch:lang(ug),.win-toggleswitch:lang(ur),html:lang(ar),html:lang(dv),html:lang(fa),html:lang(he),html:lang(ku-Arab),html:lang(pa-Arab),html:lang(prs),html:lang(ps),html:lang(qps-plocm),html:lang(sd-Arab),html:lang(syr),html:lang(ug),html:lang(ur){direction:rtl}body{-ms-content-zooming:none}iframe{border:0}.win-button,.win-textarea,.win-textbox{border-style:solid;border-width:2px;background-clip:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-button,.win-dropdown,.win-h1,.win-h2,.win-h3,.win-h4,.win-h5,.win-h6,.win-link,.win-textarea,.win-textbox,.win-type-base,.win-type-body,.win-type-caption,.win-type-header,.win-type-subheader,.win-type-subtitle,.win-type-title{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji"}.win-textarea,.win-textbox{-ms-user-select:element;margin:8px 0;width:296px;min-width:64px;min-height:28px;box-sizing:border-box;padding:3px 6px 5px 10px;outline:0}.win-textbox::-ms-value{margin:0;padding:0}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{padding-right:2px;width:30px;height:32px;margin:-8px -8px -8px 2px}.win-textbox:lang(ar)::-ms-clear,.win-textbox:lang(ar)::-ms-reveal,.win-textbox:lang(dv)::-ms-clear,.win-textbox:lang(dv)::-ms-reveal,.win-textbox:lang(fa)::-ms-clear,.win-textbox:lang(fa)::-ms-reveal,.win-textbox:lang(he)::-ms-clear,.win-textbox:lang(he)::-ms-reveal,.win-textbox:lang(ku-Arab)::-ms-clear,.win-textbox:lang(ku-Arab)::-ms-reveal,.win-textbox:lang(pa-Arab)::-ms-clear,.win-textbox:lang(pa-Arab)::-ms-reveal,.win-textbox:lang(prs)::-ms-clear,.win-textbox:lang(prs)::-ms-reveal,.win-textbox:lang(ps)::-ms-clear,.win-textbox:lang(ps)::-ms-reveal,.win-textbox:lang(qps-plocm)::-ms-clear,.win-textbox:lang(qps-plocm)::-ms-reveal,.win-textbox:lang(sd-Arab)::-ms-clear,.win-textbox:lang(sd-Arab)::-ms-reveal,.win-textbox:lang(syr)::-ms-clear,.win-textbox:lang(syr)::-ms-reveal,.win-textbox:lang(ug)::-ms-clear,.win-textbox:lang(ug)::-ms-reveal,.win-textbox:lang(ur)::-ms-clear,.win-textbox:lang(ur)::-ms-reveal{margin-left:-8px;margin-right:2px}.win-textarea{resize:none;overflow-y:auto}.win-checkbox,.win-radio{width:20px;height:20px;margin-right:8px;margin-top:12px;margin-bottom:12px}.win-checkbox:lang(ar),.win-checkbox:lang(dv),.win-checkbox:lang(fa),.win-checkbox:lang(he),.win-checkbox:lang(ku-Arab),.win-checkbox:lang(pa-Arab),.win-checkbox:lang(prs),.win-checkbox:lang(ps),.win-checkbox:lang(qps-plocm),.win-checkbox:lang(sd-Arab),.win-checkbox:lang(syr),.win-checkbox:lang(ug),.win-checkbox:lang(ur),.win-radio:lang(ar),.win-radio:lang(dv),.win-radio:lang(fa),.win-radio:lang(he),.win-radio:lang(ku-Arab),.win-radio:lang(pa-Arab),.win-radio:lang(prs),.win-radio:lang(ps),.win-radio:lang(qps-plocm),.win-radio:lang(sd-Arab),.win-radio:lang(syr),.win-radio:lang(ug),.win-radio:lang(ur){margin-left:8px;margin-right:0}.win-checkbox::-ms-check,.win-radio::-ms-check{border-style:solid;display:inline-block;border-width:2px;background-clip:border-box}.win-button{margin:0;min-height:32px;min-width:120px;padding:4px 8px}.win-button.win-button-file{border:none;min-width:100px;min-height:20px;width:340px;height:32px;padding:0;margin:7px 8px 21px;background-clip:padding-box}.win-button.win-button-file::-ms-value{margin:0;border-width:2px;border-style:solid none solid solid;border-radius:0;background-clip:border-box;font-size:15px;font-weight:400;line-height:1.333}.win-button.win-button-file:lang(ar)::-ms-value,.win-button.win-button-file:lang(dv)::-ms-value,.win-button.win-button-file:lang(fa)::-ms-value,.win-button.win-button-file:lang(he)::-ms-value,.win-button.win-button-file:lang(ku-Arab)::-ms-value,.win-button.win-button-file:lang(pa-Arab)::-ms-value,.win-button.win-button-file:lang(prs)::-ms-value,.win-button.win-button-file:lang(ps)::-ms-value,.win-button.win-button-file:lang(qps-plocm)::-ms-value,.win-button.win-button-file:lang(sd-Arab)::-ms-value,.win-button.win-button-file:lang(syr)::-ms-value,.win-button.win-button-file:lang(ug)::-ms-value,.win-button.win-button-file:lang(ur)::-ms-value{border-left-style:none;border-right-style:solid}.win-button.win-button-file::-ms-browse{margin:0;padding:0 18px;border-width:2px;border-style:solid;background-clip:padding-box;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown{min-width:56px;max-width:368px;min-height:32px;margin:8px 0;border-style:solid;border-width:2px;background-clip:border-box;background-image:none;box-sizing:border-box;border-radius:0;font-size:15px;font-weight:400;line-height:1.333}.win-dropdown::-ms-value{padding:5px 12px 7px;margin:0}.win-dropdown::-ms-expand{border:none;margin-right:5px;margin-left:3px;margin-bottom:-2px;font-size:20px}.win-code,.win-dropdown option{font-size:15px;font-weight:400;line-height:1.333}select[multiple].win-dropdown{padding:0 0 0 12px;vertical-align:bottom}.win-progress-bar,.win-progress-ring,.win-ring{width:180px;height:4px;-webkit-appearance:none}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){border-style:none}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{border-style:none}.win-progress-bar.win-medium,.win-progress-ring.win-medium,.win-ring.win-medium{width:296px}.win-progress-bar.win-large,.win-progress-ring.win-large,.win-ring.win-large{width:100%}.win-progress-bar:indeterminate::-webkit-progress-value,.win-progress-ring:indeterminate::-webkit-progress-value,.win-ring:indeterminate::-webkit-progress-value{position:relative;-webkit-animation:win-progress-indeterminate 3s linear infinite}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:win-progress-fade-out;animation-duration:3s;animation-timing-function:cubic-bezier(.03,.76,.31,1);opacity:.5}.win-progress-bar.win-error::-ms-fill,.win-progress-ring.win-error::-ms-fill,.win-ring.win-error::-ms-fill{opacity:0}.win-progress-ring,.win-ring{width:20px;height:20px}.win-progress-ring:indeterminate::-ms-fill,.win-ring:indeterminate::-ms-fill{animation-name:-ms-ring}.win-progress-ring.win-medium,.win-ring.win-medium{width:40px;height:40px}.win-progress-ring.win-large,.win-ring.win-large{width:60px;height:60px}@-webkit-keyframes win-progress-indeterminate{0%{left:0;width:25%}50%{left:calc(75%);width:25%}75%{left:calc(100%);width:0}75.1%{left:0;width:0}100%{left:0;width:25%}}@keyframes win-progress-fade-out{from{opacity:1}to{opacity:.5}}.win-slider{width:280px;height:44px}.win-slider::-ms-track{height:2px;border-style:none}.win-slider::-webkit-slider-runnable-track{height:2px;border-style:none}.win-slider::-moz-range-track{height:2px;border-style:none}.win-slider::-moz-range-thumb{width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-11px;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider::-ms-thumb{margin-top:inherit;width:8px;height:24px;border-radius:4px;border-style:none}.win-slider.win-vertical{writing-mode:bt-lr;width:44px;height:280px}.win-slider.win-vertical::-ms-track{width:2px;height:auto}.win-slider.win-vertical::-ms-thumb{width:24px;height:8px}.win-slider.win-vertical:lang(ar),.win-slider.win-vertical:lang(dv),.win-slider.win-vertical:lang(fa),.win-slider.win-vertical:lang(he),.win-slider.win-vertical:lang(ku-Arab),.win-slider.win-vertical:lang(pa-Arab),.win-slider.win-vertical:lang(prs),.win-slider.win-vertical:lang(ps),.win-slider.win-vertical:lang(qps-plocm),.win-slider.win-vertical:lang(sd-Arab),.win-slider.win-vertical:lang(syr),.win-slider.win-vertical:lang(ug),.win-slider.win-vertical:lang(ur){writing-mode:bt-rl}.win-link{text-decoration:underline;cursor:pointer}.win-code{font-family:Consolas,Menlo,Monaco,"Courier New",monospace}.win-back::before,.win-backbutton::before,.win-flipview .win-navbutton,.win-pivot .win-pivot-navbutton,.win-rating .win-star,.win-selectioncheckmark,.win-semanticzoom-button::before{font-family:"Segoe MDL2 Assets",Symbols}.win-type-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.win-h1.win-type-ellipsis,.win-type-header.win-type-ellipsis,h1.win-type-ellipsis{line-height:1.4286}.win-h2.win-type-ellipsis,.win-type-subheader.win-type-ellipsis,h2.win-type-ellipsis{line-height:1.5}.win-scrollview{overflow-x:auto;overflow-y:hidden;height:400px;width:100%}h1.win-h1,h1.win-type-header,h2.win-h2,h2.win-type-subheader,h3.win-h3,h3.win-type-title,h4.win-h4,h4.win-type-subtitle,h5.win-h5,h5.win-type-base,h6.win-h6,h6.win-type-body{margin-top:0;margin-bottom:0}.win-type-body p,p.win-type-body{font-weight:300}.win-listview{overflow:hidden;height:400px}.win-listview .win-surface{overflow:visible}.win-listview>.win-viewport.win-horizontal .win-surface{height:100%}.win-listview>.win-viewport.win-vertical .win-surface{width:100%}.win-listview>.win-viewport{position:relative;width:100%;height:100%;z-index:0;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;white-space:nowrap}.win-listview>.win-viewport.win-horizontal{overflow-x:auto;overflow-y:hidden}.win-listview>.win-viewport.win-vertical{overflow-x:hidden;overflow-y:auto}.win-listview .win-itemscontainer{overflow:hidden}.win-listview .win-itemscontainer-padder{width:0;height:0;margin:0;padding:0;border:0;overflow:hidden}.win-listview>.win-horizontal .win-container{margin:10px 5px 0}.win-listview>.win-vertical .win-container{margin:10px 24px 0 7px}.win-listview.win-rtl>.win-vertical .win-container{margin:10px 7px 0 24px}.win-itemcontainer .win-itembox,.win-itemcontainer.win-container,.win-listview .win-container,.win-listview .win-itembox{cursor:default;z-index:0}.win-listview .win-container{touch-action:pan-x pan-y pinch-zoom}.win-semanticzoom .win-listview>.win-viewport.win-zooming-x{overflow-x:visible}.win-semanticzoom .win-listview>.win-viewport.win-zooming-y{overflow-y:visible}.win-itemcontainer .win-itembox,.win-listview .win-itembox{width:100%;height:100%}.win-itemcontainer .win-item,.win-listview .win-item{z-index:1;overflow:hidden;position:relative}.win-listview>.win-vertical .win-item{width:100%}.win-itemcontainer .win-item:focus,.win-listview .win-item:focus{outline-style:none}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{width:calc(100% - 4px);height:calc(100% - 4px);left:2px;top:2px;position:absolute;z-index:5;pointer-events:none}.win-container.win-selected .win-selectionborder,html.win-hoverable .win-container.win-selected:hover .win-selectionborder{border-width:2px;border-style:solid}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{position:absolute;left:0;top:0;content:"";width:calc(100% - 4px);height:calc(100% - 4px);pointer-events:none;border-style:solid;border-width:2px;z-index:3}html.win-hoverable .win-itemcontainer.win-itembox.win-selected:hover::before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox.win-selected:hover::before,html.win-hoverable .win-listview.win-selectionstylefilled .win-itembox:hover::before{display:none}.win-listview .win-groupheader{padding:10px 10px 10px 2px;overflow:hidden;outline-width:.01px;outline-style:none;float:left;font-size:34px;font-weight:200;line-height:1.176}.win-listview .win-groupheadercontainer{z-index:1;touch-action:pan-x pan-y pinch-zoom;overflow:hidden}.win-listview .win-horizontal .win-footercontainer,.win-listview .win-horizontal .win-headercontainer{height:100%;display:inline-block;overflow:hidden;white-space:normal}.win-listview .win-vertical .win-footercontainer,.win-listview .win-vertical .win-headercontainer{width:100%;display:block;overflow:hidden;white-space:normal}.win-listview .win-groupheader.win-focused{outline-style:dotted}.win-listview .win-viewport,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover,html.win-hoverable .win-listview.win-dragover .win-container:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover,html.win-hoverable .win-selectionstylefilled .win-itemcontainer.win-container:hover{outline:0}.win-listview.win-rtl .win-groupheader{padding-left:10px;padding-right:2px;float:right}.win-listview.win-groups .win-horizontal .win-groupleader{margin-left:70px}.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader{margin-left:0;margin-right:70px}.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader,.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader{margin-top:70px}.win-listview.win-groups>.win-vertical .win-surface.win-gridlayout,.win-listview.win-groups>.win-vertical .win-surface.win-listlayout{margin-top:-65px}.win-listview.win-groups>.win-horizontal .win-surface{margin-left:-70px}.win-listview.win-groups.win-rtl>.win-horizontal .win-surface{margin-left:0;margin-right:-70px}.win-listview .win-surface{-webkit-margin-collapse:separate;white-space:normal}.win-surface ._win-proxy{position:relative;overflow:hidden;width:0;height:0;touch-action:none}.win-selectionborder{position:absolute;opacity:inherit;z-index:2;pointer-events:none}.win-container.win-selected .win-selectionborder{top:0;left:0;right:0;bottom:0}.win-selectionbackground{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}.win-selectioncheckmarkbackground{position:absolute;top:2px;right:2px;width:14px;height:11px;margin:0;padding:0;border-style:solid;z-index:3;display:none;border-width:4px 2px 3px}.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground,.win-listview.win-rtl .win-selectioncheckmarkbackground{left:2px;right:auto}.win-listview .win-selectionmode .win-selectioncheckmark,.win-listview .win-selectionmode .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode .win-itemcontainer.win-selectionmode .win-selectioncheckmark,.win-selectionmode.win-itemcontainer .win-selectioncheckmarkbackground,.win-selectionmode.win-itemcontainer.win-selectionmode .win-selectioncheckmark{display:block}.win-selectioncheckmark{position:absolute;margin:0;padding:2px;right:1px;top:1px;font-size:14px;z-index:4;line-height:1;display:none}.win-rtl .win-selectioncheckmark{right:auto;left:0}.win-selectionstylefilled .win-container,.win-selectionstylefilled.win-container{overflow:hidden}.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after,.win-selectionmode.win-itemcontainer.win-container .win-itembox::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none;right:2px;top:2px;z-index:3}.win-itemcontainer.win-rtl.win-selectionmode.win-container .win-itembox::after,.win-listview.win-rtl .win-surface.win-selectionmode .win-itembox::after,.win-rtl .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{right:auto;left:2px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(40px,0);-webkit-transform:translate(40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-selectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:translate(-40px,0);-webkit-transform:translate(-40px,0)}.win-listview.win-rtl.win-selectionstylefilled .win-surface.win-hideselectionmode .win-item,.win-listview.win-selectionstylefilled .win-surface.win-hidingselectionmode .win-item{transition:transform 250ms cubic-bezier(.17,.79,.215,1.0025);-webkit-transition:-webkit-transform 250ms cubic-bezier(.17,.79,.215,1.0025);transform:none;-webkit-transform:none}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox::after{left:12px;right:auto;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px;background-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-itembox::after{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:12px;top:50%;margin-top:-9px;display:block;border:2px solid;width:16px;height:16px}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmarkbackground{left:auto;right:12px}.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-selectioncheckmark{left:13px;top:50%;margin-top:-8px;display:block;width:14px;height:14px}.win-listview.win-selectionstylefilled.win-rtl .win-surface.win-selectionmode .win-selectioncheckmark{left:0;right:10px}.win-itemcontainer.win-selectionmode.win-selectionstylefilled.win-container .win-itembox.win-selected::after,.win-listview .win-surface.win-selectionmode .win-itembox.win-selected::after,.win-listview.win-selectionstylefilled .win-surface.win-selectionmode .win-itembox.win-nonselectable::after,.win-selectionmode .win-itemcontainer.win-selectionstylefilled.win-container .win-itembox.win-selected::after{display:none}.win-listview .win-progress{left:50%;top:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;z-index:1;position:absolute}.win-flipview,.win-itemcontainer .win-itembox,.win-itemcontainer.win-container{position:relative}.win-listview .win-progress::-ms-fill{animation-name:-ms-ring}.win-listview .win-itemsblock{overflow:hidden}.win-listview .win-horizontal .win-nocssgrid.win-listlayout,.win-listview .win-surface.win-nocssgrid.win-gridlayout,.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;vertical-align:top}.win-listview .win-horizontal .win-surface.win-nocssgrid{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-surface.win-nocssgrid{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout{display:block}.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-horizontal .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout .win-itemscontainer-padder,.win-listview .win-vertical .win-structuralnodes.win-single-itemsblock.win-listlayout .win-itemscontainer.win-laidout .win-itemscontainer-padder{height:0;width:0}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{display:none}.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout{display:block}.win-listview .win-listlayout .win-itemscontainer{overflow:visible}.win-listview .win-listlayout .win-itemsblock{padding-bottom:4px;margin-bottom:-4px}.win-listview>.win-vertical .win-listlayout.win-headerpositiontop .win-groupheader{float:none}.win-listview>.win-vertical .win-surface.win-listlayout{margin-bottom:5px}.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface{display:-ms-inline-grid;-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer{-ms-grid-column:1}.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer,.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-column:1}.win-listview>.win-horizontal .win-surface.win-listlayout{display:-ms-inline-grid;-ms-grid-columns:auto;-ms-grid-rows:auto;vertical-align:top}.win-listview .win-horizontal .win-listlayout .win-itemsblock{height:100%}.win-listview .win-horizontal .win-listlayout .win-itemscontainer{margin-bottom:24px}.win-listview .win-horizontal .win-listlayout .win-container{height:calc(100% - 10px)}.win-listview>.win-horizontal .win-surface.win-listlayout.win-headerpositiontop{-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-gridlayout.win-surface{display:-ms-inline-grid;vertical-align:top}.win-listview .win-gridlayout .win-container{margin:5px}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer,.win-listview.win-groups .win-gridlayout .win-itemscontainer{display:none}.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout{display:block}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto 1fr}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer{-ms-grid-row:1}.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer{-ms-grid-row:2}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-row:1}.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface{-ms-grid-columns:auto;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface{-ms-grid-columns:auto 1fr;-ms-grid-rows:auto}.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer{-ms-grid-column:2}.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,.win-listview .win-horizontal .win-listlayout .win-itemsblock,.win-listview .win-horizontal .win-listlayout .win-itemscontainer,.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-horizontal .win-itemscontainer-padder{height:100%}.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout{display:-ms-grid}.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock,.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock{width:100%}.win-listview .win-cellspanninggridlayout .win-container.win-laidout{display:block}.win-listview .win-cellspanninggridlayout .win-container{display:none}.win-listview.win-dragover .win-itembox{transform:scale(.86);-webkit-transform:scale(.86)}.win-itemcontainer .win-itembox.win-dragsource,.win-listview .win-itembox.win-dragsource{opacity:.5;transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:opacity cubic-bezier(.1,.9,.2,1) 167ms,transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-dragover .win-itembox.win-dragsource{opacity:0;transition:none;-webkit-transition:none}.win-listview .win-itembox{position:relative;transition:transform cubic-bezier(.1,.9,.2,1) 220ms;-webkit-transition:-webkit-transform cubic-bezier(.1,.9,.2,1) 220ms}.win-listview.win-groups>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:70px}.win-listview.win-groups.win-rtl>.win-vertical .win-surface.win-listlayout.win-headerpositionleft{margin-left:0;margin-right:70px}.win-listview>.win-horizontal .win-surface.win-listlayout{margin-left:70px}.win-listview.win-rtl>.win-horizontal .win-surface.win-listlayout{margin-left:0;margin-right:70px}.win-listview .win-vertical .win-gridlayout.win-surface{margin-left:20px}.win-listview.win-rtl .win-vertical .win-gridlayout.win-surface{margin-left:0;margin-right:20px}.win-itemcontainer{touch-action:pan-x pan-y pinch-zoom}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before{opacity:.4}html.win-hoverable .win-itemcontainer.win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed .win-itembox:hover::before,html.win-hoverable .win-listview .win-pressed.win-itembox:hover::before{opacity:.6}.win-listview.win-selectionstylefilled .win-itembox,.win-selectionstylefilled .win-itemcontainer .win-itembox,.win-selectionstylefilled.win-itemcontainer .win-itembox{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected.win-selected a:hover:active,.win-listview.win-selectionstylefilled .win-selected.win-selected a:hover:active{color:rgba(255,255,255,.6)}html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected a:hover,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected a:hover{color:rgba(255,255,255,.8)}.win-itemcontainer.win-selectionstylefilled.win-selected .win-textarea,.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input[type=button],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=email],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=number],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=password],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=reset],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=search],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=tel],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=text],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=url],.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected .win-textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input[type=button],.win-listview.win-selectionstylefilled .win-selected input[type=email],.win-listview.win-selectionstylefilled .win-selected input[type=number],.win-listview.win-selectionstylefilled .win-selected input[type=password],.win-listview.win-selectionstylefilled .win-selected input[type=reset],.win-listview.win-selectionstylefilled .win-selected input[type=search],.win-listview.win-selectionstylefilled .win-selected input[type=tel],.win-listview.win-selectionstylefilled .win-selected input[type=text],.win-listview.win-selectionstylefilled .win-selected input[type=url],.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea{background-clip:border-box;background-color:rgba(255,255,255,.8);border-color:transparent;color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected button[type=submit],.win-itemcontainer.win-selectionstylefilled.win-selected input[type=submit],.win-listview.win-selectionstylefilled .win-selected button[type=submit],.win-listview.win-selectionstylefilled .win-selected input[type=submit]{border-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower{background-color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-thumb,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-thumb{background-color:#000}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress{background-color:rgba(255,255,255,.16)}.win-itemcontainer.win-selectionstylefilled.win-selected progress:indeterminate,.win-listview.win-selectionstylefilled .win-selected progress:indeterminate{background-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty{color:rgba(255,255,255,.16)}@media (-ms-high-contrast){.win-listview .win-groupheader{color:WindowText}.win-selectioncheckmark{color:HighlightText}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline,.win-listview .win-groupheader{outline-color:WindowText}.win-itemcontainer.win-selectionstylefilled .win-itembox,.win-listview.win-selectionstylefilled .win-itembox{background-color:Window;color:WindowText}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-itembox,.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-container.win-selected .win-itembox,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-selected:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-selected:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground{background-color:Highlight;color:HighlightText}.win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected .win-selectionborder,.win-listview:not(.win-selectionstylefilled) .win-container.win-selected .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-container.win-selected .win-selectionborder,.win-listview.win-selectionstylefilled .win-container.win-selected .win-selectionborder{border-color:transparent}html.win-hoverable .win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview:not(.win-selectionstylefilled) .win-container.win-selected:hover .win-selectionborder{border-color:Highlight}.win-itemcontainer.win-selectionstylefilled .win-selectioncheckmarkbackground,.win-listview.win-selectionstylefilled .win-selectioncheckmarkbackground{border-color:transparent}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star:after,.win-itemcontainer.win-selectionstylefilled.win-selected a,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star:after,.win-listview.win-selectionstylefilled .win-selected a,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star:after,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover a,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star:after,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover a,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected button,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-check,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-track,.win-itemcontainer.win-selectionstylefilled.win-selected input::-ms-value,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-itemcontainer.win-selectionstylefilled.win-selected select,.win-itemcontainer.win-selectionstylefilled.win-selected textarea,.win-listview.win-selectionstylefilled .win-selected button,.win-listview.win-selectionstylefilled .win-selected input,.win-listview.win-selectionstylefilled .win-selected input::-ms-check,.win-listview.win-selectionstylefilled .win-selected input::-ms-track,.win-listview.win-selectionstylefilled .win-selected input::-ms-value,.win-listview.win-selectionstylefilled .win-selected progress,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected select,.win-listview.win-selectionstylefilled .win-selected textarea,.win-listview.win-selectionstylefilled.win-selected input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover button,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-check,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-track,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input::-ms-value,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover select,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover textarea,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover button,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-check,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-track,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input::-ms-value,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover select,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover textarea{border-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-lower,.win-itemcontainer.win-selectionstylefilled.win-selected progress::-ms-fill,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-lower,.win-listview.win-selectionstylefilled .win-selected progress::-ms-fill,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress::-ms-fill,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-lower,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress::-ms-fill{background-color:HighlightText}.win-itemcontainer.win-selectionstylefilled.win-selected input[type=range]::-ms-fill-upper,.win-itemcontainer.win-selectionstylefilled.win-selected progress,.win-listview.win-selectionstylefilled .win-selected input[type=range]::-ms-fill-upper,.win-listview.win-selectionstylefilled .win-selected progress,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover progress,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover input[type=range]::-ms-fill-upper,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover progress{background-color:Highlight}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-full:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-full:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-full:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-full:before{color:ButtonFace}.win-itemcontainer.win-selectionstylefilled.win-selected .win-rating .win-star.win-empty:before,.win-listview.win-selectionstylefilled .win-selected .win-rating .win-star.win-empty:before,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container:hover .win-rating .win-star.win-empty:before,html.win-hoverable .win-listview.win-selectionstylefilled .win-container:hover .win-rating .win-star.win-empty:before{color:Highlight}html.win-hoverable .win-itemcontainer.win-container:hover,html.win-hoverable .win-listview .win-container:hover{outline:Highlight solid 3px}}.win-flipview{overflow:hidden;height:400px}.win-flipview .win-surface{-ms-scroll-chaining:none}.win-flipview .win-navleft{left:0;top:50%;margin-top:-19px}.win-flipview .win-navright{left:100%;top:50%;margin-left:-20px;margin-top:-19px}.win-flipview .win-navtop{left:50%;top:0;margin-left:-35px}.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-36px}.win-flipview .win-navbutton{touch-action:manipulation;border:none;width:20px;height:36px;z-index:1;position:absolute;font-size:16px;padding:0;min-width:0}.win-flipview .win-item,.win-flipview .win-item>.win-template{height:100%;width:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}@media (-ms-high-contrast){.win-flipview .win-navbottom{left:50%;top:100%;margin-left:-35px;margin-top:-35px}.win-flipview .win-navbutton{background-color:ButtonFace;color:ButtonText;border:2px solid ButtonText;width:65px;height:35px}.win-flipview .win-navbutton.win-navbutton:active,.win-flipview .win-navbutton.win-navbutton:hover:active{background-color:ButtonText;color:ButtonFace}.win-flipview .win-navright{margin-left:-65px}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:Highlight;color:HighlightText}}.win-datepicker select,.win-timepicker select{min-width:80px;margin-top:4px;margin-bottom:4px}.win-datepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-datepicker .win-datepicker-date.win-order0,.win-datepicker .win-datepicker-date.win-order1,.win-datepicker .win-datepicker-month,.win-datepicker .win-datepicker-year.win-order0{margin-right:20px}.win-datepicker .win-datepicker-date.win-order0:lang(ar),.win-datepicker .win-datepicker-date.win-order0:lang(dv),.win-datepicker .win-datepicker-date.win-order0:lang(fa),.win-datepicker .win-datepicker-date.win-order0:lang(he),.win-datepicker .win-datepicker-date.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(prs),.win-datepicker .win-datepicker-date.win-order0:lang(ps),.win-datepicker .win-datepicker-date.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order0:lang(syr),.win-datepicker .win-datepicker-date.win-order0:lang(ug),.win-datepicker .win-datepicker-date.win-order0:lang(ur),.win-datepicker .win-datepicker-date.win-order1:lang(ar),.win-datepicker .win-datepicker-date.win-order1:lang(dv),.win-datepicker .win-datepicker-date.win-order1:lang(fa),.win-datepicker .win-datepicker-date.win-order1:lang(he),.win-datepicker .win-datepicker-date.win-order1:lang(ku-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(pa-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(prs),.win-datepicker .win-datepicker-date.win-order1:lang(ps),.win-datepicker .win-datepicker-date.win-order1:lang(qps-plocm),.win-datepicker .win-datepicker-date.win-order1:lang(sd-Arab),.win-datepicker .win-datepicker-date.win-order1:lang(syr),.win-datepicker .win-datepicker-date.win-order1:lang(ug),.win-datepicker .win-datepicker-date.win-order1:lang(ur),.win-datepicker .win-datepicker-month:lang(ar),.win-datepicker .win-datepicker-month:lang(dv),.win-datepicker .win-datepicker-month:lang(fa),.win-datepicker .win-datepicker-month:lang(he),.win-datepicker .win-datepicker-month:lang(ku-Arab),.win-datepicker .win-datepicker-month:lang(pa-Arab),.win-datepicker .win-datepicker-month:lang(prs),.win-datepicker .win-datepicker-month:lang(ps),.win-datepicker .win-datepicker-month:lang(qps-plocm),.win-datepicker .win-datepicker-month:lang(sd-Arab),.win-datepicker .win-datepicker-month:lang(syr),.win-datepicker .win-datepicker-month:lang(ug),.win-datepicker .win-datepicker-month:lang(ur),.win-datepicker .win-datepicker-year.win-order0:lang(ar),.win-datepicker .win-datepicker-year.win-order0:lang(dv),.win-datepicker .win-datepicker-year.win-order0:lang(fa),.win-datepicker .win-datepicker-year.win-order0:lang(he),.win-datepicker .win-datepicker-year.win-order0:lang(ku-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(pa-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(prs),.win-datepicker .win-datepicker-year.win-order0:lang(ps),.win-datepicker .win-datepicker-year.win-order0:lang(qps-plocm),.win-datepicker .win-datepicker-year.win-order0:lang(sd-Arab),.win-datepicker .win-datepicker-year.win-order0:lang(syr),.win-datepicker .win-datepicker-year.win-order0:lang(ug),.win-datepicker .win-datepicker-year.win-order0:lang(ur){margin-right:0;margin-left:20px}.win-timepicker{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;height:auto;width:auto}.win-timepicker .win-timepicker-hour,.win-timepicker .win-timepicker-minute.win-order1,.win-timepicker .win-timepicker-period.win-order0{margin-right:20px}.win-timepicker .win-timepicker-hour:lang(ar),.win-timepicker .win-timepicker-hour:lang(dv),.win-timepicker .win-timepicker-hour:lang(fa),.win-timepicker .win-timepicker-hour:lang(he),.win-timepicker .win-timepicker-hour:lang(ku-Arab),.win-timepicker .win-timepicker-hour:lang(pa-Arab),.win-timepicker .win-timepicker-hour:lang(prs),.win-timepicker .win-timepicker-hour:lang(ps),.win-timepicker .win-timepicker-hour:lang(qps-plocm),.win-timepicker .win-timepicker-hour:lang(sd-Arab),.win-timepicker .win-timepicker-hour:lang(syr),.win-timepicker .win-timepicker-hour:lang(ug),.win-timepicker .win-timepicker-hour:lang(ur),.win-timepicker .win-timepicker-minute.win-order0:lang(ar),.win-timepicker .win-timepicker-minute.win-order0:lang(dv),.win-timepicker .win-timepicker-minute.win-order0:lang(fa),.win-timepicker .win-timepicker-minute.win-order0:lang(he),.win-timepicker .win-timepicker-minute.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(prs),.win-timepicker .win-timepicker-minute.win-order0:lang(ps),.win-timepicker .win-timepicker-minute.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order0:lang(syr),.win-timepicker .win-timepicker-minute.win-order0:lang(ug),.win-timepicker .win-timepicker-minute.win-order0:lang(ur),.win-timepicker .win-timepicker-minute.win-order1:lang(ar),.win-timepicker .win-timepicker-minute.win-order1:lang(dv),.win-timepicker .win-timepicker-minute.win-order1:lang(fa),.win-timepicker .win-timepicker-minute.win-order1:lang(he),.win-timepicker .win-timepicker-minute.win-order1:lang(ku-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(pa-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(prs),.win-timepicker .win-timepicker-minute.win-order1:lang(ps),.win-timepicker .win-timepicker-minute.win-order1:lang(qps-plocm),.win-timepicker .win-timepicker-minute.win-order1:lang(sd-Arab),.win-timepicker .win-timepicker-minute.win-order1:lang(syr),.win-timepicker .win-timepicker-minute.win-order1:lang(ug),.win-timepicker .win-timepicker-minute.win-order1:lang(ur),.win-timepicker .win-timepicker-period.win-order0:lang(ar),.win-timepicker .win-timepicker-period.win-order0:lang(dv),.win-timepicker .win-timepicker-period.win-order0:lang(fa),.win-timepicker .win-timepicker-period.win-order0:lang(he),.win-timepicker .win-timepicker-period.win-order0:lang(ku-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(pa-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(prs),.win-timepicker .win-timepicker-period.win-order0:lang(ps),.win-timepicker .win-timepicker-period.win-order0:lang(qps-plocm),.win-timepicker .win-timepicker-period.win-order0:lang(sd-Arab),.win-timepicker .win-timepicker-period.win-order0:lang(syr),.win-timepicker .win-timepicker-period.win-order0:lang(ug),.win-timepicker .win-timepicker-period.win-order0:lang(ur){margin-left:20px;margin-right:0}body>.win-navigation-backbutton{position:absolute;top:50px;left:20px}.win-back,.win-backbutton,.win-navigation-backbutton{touch-action:manipulation;display:inline-block;min-width:0;min-height:0;padding:0;text-align:center;width:41px;height:41px;font-size:24px;line-height:41px;vertical-align:baseline}.win-tooltip,.win-tooltip-phantom{display:block;position:fixed;top:30px;left:30px;margin:0}.win-back::before,.win-backbutton::before{font-weight:400;content:"\E0D5";vertical-align:50%}.win-back:lang(ar)::before,.win-back:lang(dv)::before,.win-back:lang(fa)::before,.win-back:lang(he)::before,.win-back:lang(ku-Arab)::before,.win-back:lang(pa-Arab)::before,.win-back:lang(prs)::before,.win-back:lang(ps)::before,.win-back:lang(qps-plocm)::before,.win-back:lang(sd-Arab)::before,.win-back:lang(syr)::before,.win-back:lang(ug)::before,.win-back:lang(ur)::before,.win-backbutton:lang(ar)::before,.win-backbutton:lang(dv)::before,.win-backbutton:lang(fa)::before,.win-backbutton:lang(he)::before,.win-backbutton:lang(ku-Arab)::before,.win-backbutton:lang(pa-Arab)::before,.win-backbutton:lang(prs)::before,.win-backbutton:lang(ps)::before,.win-backbutton:lang(qps-plocm)::before,.win-backbutton:lang(sd-Arab)::before,.win-backbutton:lang(syr)::before,.win-backbutton:lang(ug)::before,.win-backbutton:lang(ur)::before{content:"\E0AE"}button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}@media (-ms-high-contrast){button.win-navigation-backbutton,button.win-navigation-backbutton:active,button.win-navigation-backbutton:enabled:hover:active,html.win-hoverable button.win-navigation-backbutton:enabled:hover{background-color:transparent;border:none}.win-back,.win-backbutton{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-backbutton.win-backbutton:enabled:hover:active,.win-navigation-backbutton.win-navigation-backbutton:enabled:hover:active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-backbutton:-ms-keyboard-active,.win-navigation-backbutton:-ms-keyboard-active .win-back{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-backbutton:enabled:hover,html.win-hoverable .win-navigation-backbutton:enabled:hover .win-back{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-tooltip{max-width:320px;box-sizing:border-box;padding:4px 7px 6px;border-style:solid;border-width:1px;z-index:9999;word-wrap:break-word;animation-fill-mode:both;font-size:12px;font-weight:400;line-height:1.167}.win-tooltip-phantom{background-color:transparent;border-width:0;padding:0}.win-rating{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-pack:self;-webkit-justify-content:self;justify-content:self;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;height:auto;width:auto;white-space:normal;outline:0}.win-rating .win-star{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;height:24px;width:24px;padding:9px 10px 11px;font-size:24px;overflow:hidden;text-indent:0;line-height:1;cursor:default;position:relative;letter-spacing:0;-ms-touch-action:none;touch-action:none}.win-rating.win-small .win-star{width:12px;height:12px;font-size:12px;padding:3px 4px 5px}.win-rating .win-star:before{content:"\E082"}.win-rating .win-star.win-disabled{cursor:default;-ms-touch-action:auto;touch-action:auto}@media (-ms-high-contrast){.win-tooltip{background-color:Window;border-color:WindowText;color:WindowText}.win-rating .win-star:before{content:"\E082"!important}.win-rating .win-star.win-full{color:HighLight}.win-rating .win-star.win-tentative.win-full{color:ButtonText}.win-rating .win-star.win-empty{color:ButtonFace}.win-rating .win-star:after{content:"\E224"!important;position:relative;top:-100%;color:ButtonText}.win-semanticzoom-button{background-color:ButtonFace;border-color:ButtonText;color:ButtonText}.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}.win-semanticzoom-button:-ms-keyboard-active{background-clip:border-box;background-color:ButtonText;border-color:transparent;color:ButtonFace}html.win-hoverable .win-semanticzoom-button:hover{background-color:Highlight;border-color:ButtonText;color:HighlightText}}.win-toggleswitch{outline:0}.win-toggleswitch .win-toggleswitch-header{max-width:470px;margin-bottom:14px;margin-top:22px;font-size:15px;font-weight:400;line-height:1.333}.win-toggleswitch .win-toggleswitch-values{display:inline-block;vertical-align:top}.win-toggleswitch .win-toggleswitch-value{margin-left:12px;height:20px;vertical-align:top;font-size:15px;font-weight:400;line-height:20px}.win-toggleswitch .win-toggleswitch-description{font-size:12px;width:22em;margin-top:28px;display:none}.win-toggleswitch .win-toggleswitch-clickregion{display:inline-block;touch-action:none;-ms-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:5px}.win-toggleswitch .win-toggleswitch-track{position:relative;display:inline-block;width:44px;height:20px;border-style:solid;border-width:2px;border-radius:10px;box-sizing:border-box}.win-toggleswitch .win-toggleswitch-thumb{position:absolute;top:3px;display:inline-block;width:10px;height:10px;border-radius:5px;-webkit-transition:left .1s;transition:left .1s}.win-toggleswitch:focus .win-toggleswitch-clickregion{outline-width:1px;outline-style:dotted}.win-toggleswitch.win-toggleswitch-dragging .win-toggleswitch-thumb{-webkit-transition:none;transition:none}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-value-on,.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-value-off{visibility:hidden;height:0;font-size:0;line-height:0}.win-toggleswitch.win-toggleswitch-on .win-toggleswitch-thumb{left:27px}.win-toggleswitch.win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ar).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-on .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-on .win-toggleswitch-thumb{left:3px}.win-toggleswitch:lang(ar).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(dv).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(fa).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(he).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ku-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(pa-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(prs).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ps).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(qps-plocm).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(sd-Arab).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(syr).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ug).win-toggleswitch-off .win-toggleswitch-thumb,.win-toggleswitch:lang(ur).win-toggleswitch-off .win-toggleswitch-thumb{left:27px}.win-semanticzoom{touch-action:pan-x pan-y double-tap-zoom;height:400px;position:relative}.win-semanticzoom .win-listview>.win-viewport *{touch-action:auto}.win-semanticzoom *{touch-action:inherit}.win-semanticzoom-button{z-index:100;position:absolute;min-width:25px;min-height:25px;width:25px;height:25px;padding:0;bottom:21px;touch-action:none}.win-semanticzoom-button::before{font-weight:400;font-size:11px;content:"\E0B8"}.win-semanticzoom-button-location{left:auto;right:4px}.win-semanticzoom-button-location:lang(ar),.win-semanticzoom-button-location:lang(dv),.win-semanticzoom-button-location:lang(fa),.win-semanticzoom-button-location:lang(he),.win-semanticzoom-button-location:lang(ku-Arab),.win-semanticzoom-button-location:lang(pa-Arab),.win-semanticzoom-button-location:lang(prs),.win-semanticzoom-button-location:lang(ps),.win-semanticzoom-button-location:lang(qps-plocm),.win-semanticzoom-button-location:lang(sd-Arab),.win-semanticzoom-button-location:lang(syr),.win-semanticzoom-button-location:lang(ug),.win-semanticzoom-button-location:lang(ur){left:4px;right:auto}.win-pivot{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;width:100%;overflow:hidden;-ms-scroll-limit-x-max:0;touch-action:manipulation;position:relative}.win-pivot .win-pivot-navbutton{touch-action:manipulation;position:absolute;width:20px;height:36px;padding:0;margin:0;top:10px;min-width:0;border-width:0;cursor:pointer;opacity:0}.win-pivot .win-pivot-headers.win-pivot-shownavbuttons .win-pivot-navbutton{opacity:1}.win-pivot .win-pivot-headers .win-pivot-navbutton-prev:before{content:"\E096"}.win-pivot .win-pivot-headers .win-pivot-navbutton-next:before{content:"\E09B"}.win-pivot .win-pivot-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji";font-size:15px;font-weight:700;white-space:nowrap;margin:14px 0 13px 24px}.win-pivot .win-pivot-title:lang(ar),.win-pivot .win-pivot-title:lang(dv),.win-pivot .win-pivot-title:lang(fa),.win-pivot .win-pivot-title:lang(he),.win-pivot .win-pivot-title:lang(ku-Arab),.win-pivot .win-pivot-title:lang(pa-Arab),.win-pivot .win-pivot-title:lang(prs),.win-pivot .win-pivot-title:lang(ps),.win-pivot .win-pivot-title:lang(qps-plocm),.win-pivot .win-pivot-title:lang(sd-Arab),.win-pivot .win-pivot-title:lang(syr),.win-pivot .win-pivot-title:lang(ug),.win-pivot .win-pivot-title:lang(ur){margin:14px 24px 13px 0}.win-pivot>.win-pivot-item{display:none}.win-pivot .win-pivot-header-area{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.win-hub-section,.win-hub-surface{display:inline-block}.win-pivot .win-pivot-header-leftcustom,.win-pivot .win-pivot-header-rightcustom{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;margin-top:13px}.win-pivot .win-pivot-header-items{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow-x:hidden;padding:1px}.win-pivot .win-pivot-headers{white-space:nowrap;position:relative;overflow-y:visible;height:48px;touch-action:none;-ms-touch-action:none;outline:0}.win-pivot .win-pivot-headers.win-keyboard:focus{outline-style:dotted;outline-width:1px}.win-pivot .win-pivot-header,.win-pivot .win-pivot-header.win-pivot-header:hover:active{touch-action:manipulation;font-size:24px;font-weight:300;line-height:1.167;display:inline-block;transition:opacity linear 167ms;-webkit-transition:opacity linear 167ms;overflow:hidden;height:30px;border:0;padding:0;outline:0;margin:12px 12px 0;min-height:0;min-width:0}.win-pivot.win-pivot-locked .win-pivot-header{opacity:0;visibility:hidden}.win-pivot .win-pivot-header.win-pivot-header-selected,.win-pivot.win-pivot-locked .win-pivot-header.win-pivot-header-selected{opacity:1;visibility:inherit}.win-pivot .win-pivot-viewport{height:100%;overflow-x:auto;overflow-y:hidden;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;position:relative;padding-top:48px;margin-top:-48px}.win-pivot.win-pivot-customheaders .win-pivot-viewport{padding-top:inherit;margin-top:inherit}.win-pivot.win-pivot-mouse .win-pivot-viewport{padding-top:0;margin-top:0}.win-pivot.win-pivot-locked .win-pivot-viewport{overflow:hidden}.win-pivot .win-pivot-surface{width:300%;height:100%;position:relative}html.win-hoverable .win-pivot button.win-pivot-header:hover{background-color:transparent;border:0;padding:0;letter-spacing:0;margin:12px 12px 0;min-height:0;min-width:0}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{margin:0;padding:0;border-width:0;cursor:pointer;font-family:"Segoe MDL2 Assets",Symbols}.win-pivot-item{position:absolute;top:0;bottom:0;width:33.3%;left:33.3%}.win-pivot-item:lang(ar),.win-pivot-item:lang(dv),.win-pivot-item:lang(fa),.win-pivot-item:lang(he),.win-pivot-item:lang(ku-Arab),.win-pivot-item:lang(pa-Arab),.win-pivot-item:lang(prs),.win-pivot-item:lang(ps),.win-pivot-item:lang(qps-plocm),.win-pivot-item:lang(sd-Arab),.win-pivot-item:lang(syr),.win-pivot-item:lang(ug),.win-pivot-item:lang(ur){left:auto;right:33.3%}.win-pivot-item .win-pivot-item-content{height:100%;overflow-y:auto;-ms-overflow-style:-ms-autohiding-scrollbar;padding:0 24px}.win-pivot.win-pivot-nosnap .win-pivot-viewport{padding-top:0;margin-top:0;overflow:hidden}.win-pivot.win-pivot-nosnap .win-pivot-item,.win-pivot.win-pivot-nosnap .win-pivot-surface{width:100%;position:static}.win-hub{height:100%;width:100%;position:relative}.win-hub-progress{position:absolute;top:10px;width:100%;z-index:1}.win-hub-viewport{height:100%;width:100%;-ms-scroll-snap-type:proximity;-webkit-overflow-scrolling:touch}.win-hub-horizontal .win-hub-viewport{overflow-x:auto;overflow-y:hidden;white-space:nowrap}.win-hub-vertical .win-hub-viewport{position:relative;overflow-y:auto;overflow-x:hidden}.win-hub-vertical .win-hub-surface{width:calc(100% - 24px);padding:0 12px 8px;margin-top:-24px}.win-hub-horizontal .win-hub-surface{height:100%;padding-left:12px}.win-hub-horizontal .win-hub-surface:lang(ar),.win-hub-horizontal .win-hub-surface:lang(dv),.win-hub-horizontal .win-hub-surface:lang(fa),.win-hub-horizontal .win-hub-surface:lang(he),.win-hub-horizontal .win-hub-surface:lang(ku-Arab),.win-hub-horizontal .win-hub-surface:lang(pa-Arab),.win-hub-horizontal .win-hub-surface:lang(prs),.win-hub-horizontal .win-hub-surface:lang(ps),.win-hub-horizontal .win-hub-surface:lang(qps-plocm),.win-hub-horizontal .win-hub-surface:lang(sd-Arab),.win-hub-horizontal .win-hub-surface:lang(syr),.win-hub-horizontal .win-hub-surface:lang(ug),.win-hub-horizontal .win-hub-surface:lang(ur){padding-left:0;padding-right:12px}.win-hub-section{vertical-align:top;white-space:normal}.win-hub-horizontal .win-hub-section{height:100%;padding-right:24px}.win-hub-horizontal .win-hub-section:lang(ar),.win-hub-horizontal .win-hub-section:lang(dv),.win-hub-horizontal .win-hub-section:lang(fa),.win-hub-horizontal .win-hub-section:lang(he),.win-hub-horizontal .win-hub-section:lang(ku-Arab),.win-hub-horizontal .win-hub-section:lang(pa-Arab),.win-hub-horizontal .win-hub-section:lang(prs),.win-hub-horizontal .win-hub-section:lang(ps),.win-hub-horizontal .win-hub-section:lang(qps-plocm),.win-hub-horizontal .win-hub-section:lang(sd-Arab),.win-hub-horizontal .win-hub-section:lang(syr),.win-hub-horizontal .win-hub-section:lang(ug),.win-hub-horizontal .win-hub-section:lang(ur){padding-right:0;padding-left:24px}.win-hub-horizontal .win-hub-section-header{margin-top:62px}.win-hub-vertical .win-hub-section{width:100%;padding-top:24px}.win-hub-section-header{margin-bottom:9px;height:28px}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{touch-action:manipulation;width:100%;background-color:transparent;border:0;min-height:0;min-width:0;max-width:100%;padding:0}button.win-hub-section-header-tabstop:focus{outline:0}button.win-hub-section-header-tabstop:-ms-keyboard-active{background-color:transparent}.win-hub-section-header-wrapper{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch;width:100%;outline:0}.win-hub-section-header-content{font-size:20px;font-weight:400;line-height:1.5;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:bottom;overflow:hidden;text-overflow:clip;white-space:nowrap}.win-hub-section-header-content:lang(ar),.win-hub-section-header-content:lang(dv),.win-hub-section-header-content:lang(fa),.win-hub-section-header-content:lang(he),.win-hub-section-header-content:lang(ku-Arab),.win-hub-section-header-content:lang(pa-Arab),.win-hub-section-header-content:lang(prs),.win-hub-section-header-content:lang(ps),.win-hub-section-header-content:lang(qps-plocm),.win-hub-section-header-content:lang(sd-Arab),.win-hub-section-header-content:lang(syr),.win-hub-section-header-content:lang(ug),.win-hub-section-header-content:lang(ur){text-align:right}.win-hub-section-header-chevron{display:none}.win-hub-section-header-interactive .win-hub-section-header-chevron{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:24px;line-height:1.5;padding-top:7px;text-align:right;vertical-align:bottom}.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ar),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(dv),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(fa),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(he),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ku-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(pa-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(prs),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ps),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(qps-plocm),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(sd-Arab),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(syr),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ug),.win-hub-section-header-interactive .win-hub-section-header-chevron:lang(ur){text-align:left;margin-left:0;margin-right:24px}.win-hub-horizontal .win-hub-section-content{height:calc(100% - 99px)}.win-hub-vertical .win-hub-section-content{width:100%}@media (-ms-high-contrast){button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active,html.win-hoverable button.win-hub-section-header-tabstop:hover{background-color:transparent;color:WindowText}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:WindowText}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover:active,html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:-ms-hotlight}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:-ms-hotlight}}.win-clickeater{background-color:transparent;width:110%;height:110%;left:-5%;top:-5%;position:fixed;touch-action:none;outline:Purple solid 1px;-ms-high-contrast-adjust:none}button.win-command{touch-action:manipulation;background:0 0;background-clip:border-box;height:auto;padding:0;margin:0;border:1px dotted;min-width:40px;min-height:48px;text-align:center;font-size:12px;line-height:16px;font-weight:400;overflow:visible;writing-mode:lr-tb;position:relative;z-index:0;outline:0}button.win-command::-moz-focus-inner{padding:0;border:0}button:lang(ar),button:lang(dv),button:lang(fa),button:lang(he),button:lang(ku-Arab),button:lang(pa-Arab),button:lang(prs),button:lang(ps),button:lang(qps-plocm),button:lang(sd-Arab),button:lang(syr),button:lang(ug),button:lang(ur){writing-mode:rl-tb}.win-commandicon{display:block;margin:11px 21px;min-width:0;min-height:0;padding:0;width:24px;height:24px;box-sizing:border-box;-moz-box-sizing:border-box;cursor:default;position:relative;outline:0}.win-commandimage{font-family:"Segoe UI Command",Symbols;letter-spacing:0;vertical-align:middle;font-size:20px;margin:0;line-height:24px;background-position:0 0;background-origin:border-box;display:inline-block;width:24px;height:24px;background-size:96px 48px;outline:0}.win-commandimage.win-commandglyph{position:absolute;left:0}button.win-command .win-label,div.win-command{font-size:12px;line-height:16px;position:relative;font-weight:400}button:active .win-commandimage,html.win-hoverable button:enabled:hover .win-commandimage{background-position:-24px 0}button:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px 0}button:-ms-keyboard-active .win-commandimage{background-position:-48px 0}button:disabled .win-commandimage,button:disabled:active .win-commandimage{background-position:-72px 0}button[aria-checked=true] .win-commandimage{background-position:0 -24px}button[aria-checked=true]:active .win-commandimage,html.win-hoverable button[aria-checked=true]:enabled:hover .win-commandimage{background-position:-24px -24px}button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{background-position:-48px -24px}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{background-position:-48px -24px}button[aria-checked=true]:disabled .win-commandimage,button[aria-checked=true]:disabled:active .win-commandimage{background-position:-72px -24px}button.win-command .win-label{font-family:"Segoe UI",sans-serif,"Segoe MDL2 Assets",Symbols,"Segoe UI Emoji";display:block;max-width:66px;margin-top:-10px;margin-bottom:6px;padding:0;overflow:hidden;word-wrap:break-word;word-break:keep-all;outline:0}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis,.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis,.win-searchbox-button,.win-splitviewcommand-icon{font-family:"Segoe MDL2 Assets",Symbols}div.win-command,hr.win-command{display:inline-block;vertical-align:top}hr.win-command{padding:0;margin:12px 16px;width:2px;height:24px;border:0}div.win-command{min-width:0;min-height:0;padding:0 31px;border:1px dotted;text-align:center;writing-mode:lr-tb}div.win-command:lang(ar),div.win-command:lang(dv),div.win-command:lang(fa),div.win-command:lang(he),div.win-command:lang(ku-Arab),div.win-command:lang(pa-Arab),div.win-command:lang(prs),div.win-command:lang(ps),div.win-command:lang(qps-plocm),div.win-command:lang(sd-Arab),div.win-command:lang(syr),div.win-command:lang(ug),div.win-command:lang(ur){writing-mode:rl-tb}div.win-command:focus{outline:0}.win-command.win-command-hidden{display:none}.win-navbar{border-width:0;width:100%;height:auto;left:0;position:fixed;position:-ms-device-fixed;min-height:48px}.win-navbar.win-navbar-minimal{min-height:25px}.win-navbar.win-navbar-minimal.win-navbar-closed .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-navbar-closing.win-navbar-minimal>:not(.win-navbar-invokebutton){opacity:0}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-menu{opacity:1}.win-navbar.win-navbar-closed.win-navbar-minimal>:not(.win-navbar-invokebutton){display:none!important}.win-navbar.win-navbar-closed.win-navbar-minimal .win-navbar-invokebutton,.win-navbar.win-navbar-closing.win-navbar-minimal .win-navbar-invokebutton{width:100%}.win-navbar.win-menulayout.win-navbar-closing .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opened .win-navbar-invokebutton,.win-navbar.win-menulayout.win-navbar-opening .win-navbar-invokebutton{visibility:hidden}.win-navbar.win-menulayout.win-navbar-closing .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opened .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton,.win-navbar.win-menulayout.win-navbar-opening .win-toolbar.win-toolbar-showndisplayfull .win-toolbar-overflowbutton{visibility:visible}.win-navbar .win-navbar-invokebutton{touch-action:manipulation;position:absolute;right:0;margin:0;padding:0;border:1px dotted;min-width:0;background-clip:border-box;display:none;z-index:1}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{height:100%;right:0;top:15px;position:absolute;display:inline-block;font-size:14px;text-align:center}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis::before{content:"\E10C";position:relative}.win-navbar:lang(ar) .win-navbar-invokebutton,.win-navbar:lang(ar) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(dv) .win-navbar-invokebutton,.win-navbar:lang(dv) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(fa) .win-navbar-invokebutton,.win-navbar:lang(fa) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(he) .win-navbar-invokebutton,.win-navbar:lang(he) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton,.win-navbar:lang(ku-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton,.win-navbar:lang(pa-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(prs) .win-navbar-invokebutton,.win-navbar:lang(prs) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ps) .win-navbar-invokebutton,.win-navbar:lang(ps) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton,.win-navbar:lang(qps-plocm) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton,.win-navbar:lang(sd-Arab) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(syr) .win-navbar-invokebutton,.win-navbar:lang(syr) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ug) .win-navbar-invokebutton,.win-navbar:lang(ug) .win-navbar-invokebutton .win-navbar-ellipsis,.win-navbar:lang(ur) .win-navbar-invokebutton,.win-navbar:lang(ur) .win-navbar-invokebutton .win-navbar-ellipsis{right:auto;left:0}.win-navbar.win-navbar-compact .win-navbar-invokebutton,.win-navbar.win-navbar-minimal .win-navbar-invokebutton{display:block}.win-commandlayout{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-primarygroup{-ms-flex-order:2;flex-order:2;-webkit-order:2;order:2;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-secondarygroup{-ms-flex-order:1;flex-order:1;-webkit-order:1;order:1;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandlayout .win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}.win-commandlayout.win-navbar-closing.win-navbar-compact,.win-commandlayout.win-navbar-opened.win-navbar-compact,.win-commandlayout.win-navbar-opening.win-navbar-compact{min-height:48px}.win-commandlayout.win-navbar-compact,.win-commandlayout.win-navbar-minimal{padding-right:32px;width:calc(100% - 32px)}.win-commandlayout.win-navbar-compact button.win-command .win-label{display:none}.win-commandlayout.win-navbar-compact.win-navbar-closing button.win-command .win-label{display:block;visibility:hidden}.win-commandlayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-commandlayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-commandlayout:lang(ar).win-navbar-compact,.win-commandlayout:lang(ar).win-navbar-minimal,.win-commandlayout:lang(dv).win-navbar-compact,.win-commandlayout:lang(dv).win-navbar-minimal,.win-commandlayout:lang(fa).win-navbar-compact,.win-commandlayout:lang(fa).win-navbar-minimal,.win-commandlayout:lang(he).win-navbar-compact,.win-commandlayout:lang(he).win-navbar-minimal,.win-commandlayout:lang(ku-Arab).win-navbar-compact,.win-commandlayout:lang(ku-Arab).win-navbar-minimal,.win-commandlayout:lang(pa-Arab).win-navbar-compact,.win-commandlayout:lang(pa-Arab).win-navbar-minimal,.win-commandlayout:lang(prs).win-navbar-compact,.win-commandlayout:lang(prs).win-navbar-minimal,.win-commandlayout:lang(ps).win-navbar-compact,.win-commandlayout:lang(ps).win-navbar-minimal,.win-commandlayout:lang(qps-plocm).win-navbar-compact,.win-commandlayout:lang(qps-plocm).win-navbar-minimal,.win-commandlayout:lang(sd-Arab).win-navbar-compact,.win-commandlayout:lang(sd-Arab).win-navbar-minimal,.win-commandlayout:lang(syr).win-navbar-compact,.win-commandlayout:lang(syr).win-navbar-minimal,.win-commandlayout:lang(ug).win-navbar-compact,.win-commandlayout:lang(ug).win-navbar-minimal,.win-commandlayout:lang(ur).win-navbar-compact,.win-commandlayout:lang(ur).win-navbar-minimal{padding-right:0;padding-left:32px}.win-menulayout .win-navbar-menu{position:absolute;right:0;top:0;overflow:hidden}.win-menulayout .win-navbar-menu:lang(ar),.win-menulayout .win-navbar-menu:lang(dv),.win-menulayout .win-navbar-menu:lang(fa),.win-menulayout .win-navbar-menu:lang(he),.win-menulayout .win-navbar-menu:lang(ku-Arab),.win-menulayout .win-navbar-menu:lang(pa-Arab),.win-menulayout .win-navbar-menu:lang(prs),.win-menulayout .win-navbar-menu:lang(ps),.win-menulayout .win-navbar-menu:lang(qps-plocm),.win-menulayout .win-navbar-menu:lang(sd-Arab),.win-menulayout .win-navbar-menu:lang(syr),.win-menulayout .win-navbar-menu:lang(ug),.win-menulayout .win-navbar-menu:lang(ur){left:0;right:auto}.win-menulayout.win-bottom .win-navbar-menu{overflow:visible}.win-menulayout .win-toolbar{max-width:100vw}.win-menulayout.win-navbar-compact button.win-command .win-label{display:none;visibility:hidden}.win-menulayout.win-navbar-compact.win-navbar-closing button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opened button.win-command .win-label,.win-menulayout.win-navbar-compact.win-navbar-opening button.win-command .win-label{display:block;visibility:visible}.win-menulayout.win-navbar-compact.win-navbar-closed{overflow:hidden}.win-flyout,.win-flyout.win-scrolls{overflow:auto}.win-menulayout.win-navbar-compact.win-navbar-closed .win-toolbar-overflowarea{visibility:hidden}@media (-ms-high-contrast){.win-navbar{border:2px solid}.win-navbar.win-top{border-top:none;border-left:none;border-right:none}.win-navbar.win-bottom{border-bottom:none;border-left:none;border-right:none}.win-navbar.win-top button.win-command,.win-navbar.win-top div.win-command{padding-bottom:7px}.win-navbar.win-bottom button.win-command,.win-navbar.win-bottom div.win-command{padding-top:7px}.win-navbar.win-top hr.win-command{margin-bottom:28px}.win-navbar.win-bottom hr.win-command{margin-top:8px}.win-commandlayout.win-navbar-closing,.win-commandlayout.win-navbar-opened,.win-commandlayout.win-navbar-opening{min-height:62px}}.win-flyout{position:fixed;position:-ms-device-fixed;padding:12px;border-style:solid;border-width:1px;margin:4px;min-width:70px;max-width:430px;min-height:16px;max-height:730px;width:auto;height:auto;word-wrap:break-word;font-size:15px;font-weight:400;line-height:1.333}.win-flyout.win-leftalign{margin-left:0}.win-flyout.win-rightalign{margin-right:0}@media (max-width:464px){.win-flyout{max-width:calc(100% - 34px)}}.win-menu{padding:0;line-height:33px;text-align:left;min-height:42px;max-height:calc(100% - 26px);min-width:134px;max-width:454px}.win-menu button.win-command{display:block;margin-left:0;margin-right:0;text-align:left;width:100%;font-size:15px;font-weight:400;line-height:1.333}.win-menu button.win-command:focus{outline:0}.win-menu button.win-command .win-menucommand-liner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;position:relative}.win-menu button.win-command .win-menucommand-liner .win-flyouticon,.win-menu button.win-command .win-menucommand-liner .win-toggleicon{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:none;visibility:hidden;font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}.win-menu button.win-command .win-menucommand-liner .win-toggleicon{margin-left:12px}.win-menu button.win-command .win-menucommand-liner .win-toggleicon::before{content:"\E0E7"}.win-menu button.win-command .win-menucommand-liner .win-flyouticon{margin-left:12px;margin-right:16px}.win-menu button.win-command .win-menucommand-liner .win-flyouticon::before{content:"\E26B"}.win-menu button.win-command .win-menucommand-liner .win-label{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;font-size:15px;line-height:inherit;min-width:112px;max-width:none;white-space:nowrap;text-overflow:clip;margin:0;padding:0 12px}.win-menu button.win-command .win-menucommand-liner:lang(ar),.win-menu button.win-command .win-menucommand-liner:lang(dv),.win-menu button.win-command .win-menucommand-liner:lang(fa),.win-menu button.win-command .win-menucommand-liner:lang(he),.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab),.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab),.win-menu button.win-command .win-menucommand-liner:lang(prs),.win-menu button.win-command .win-menucommand-liner:lang(ps),.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm),.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab),.win-menu button.win-command .win-menucommand-liner:lang(syr),.win-menu button.win-command .win-menucommand-liner:lang(ug),.win-menu button.win-command .win-menucommand-liner:lang(ur){text-align:right}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-toggleicon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-toggleicon{margin-left:0;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon{margin-left:16px;margin-right:12px}.win-menu button.win-command .win-menucommand-liner:lang(ar) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(dv) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(fa) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(he) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ku-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(pa-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(prs) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ps) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(qps-plocm) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(sd-Arab) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(syr) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ug) .win-flyouticon::before,.win-menu button.win-command .win-menucommand-liner:lang(ur) .win-flyouticon::before{content:"\E26C"}.win-menu.win-menu-mousespacing button.win-command{padding-top:5px;padding-bottom:7px;min-height:32px}.win-menu.win-menu-touchspacing button.win-command{padding-top:11px;padding-bottom:13px;min-height:44px}.win-menu hr.win-command{display:block;height:1px;width:auto;border:0;padding:0;margin:9px 20px 10px}.win-menu-containsflyoutcommand button.win-command .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command .win-menucommand-liner .win-toggleicon{display:inline-block}.win-menu-containsflyoutcommand button.win-command-flyout .win-menucommand-liner .win-flyouticon,.win-menu-containstogglecommand button.win-command-toggle[aria-checked=true] .win-menucommand-liner .win-toggleicon{visibility:visible}@media (max-width:464px){.win-menu{max-width:calc(100% - 10px)}}.win-overlay{-ms-touch-select:none}.win-overlay [contenteditable=true],.win-overlay input:not([type=file]),.win-overlay input:not([type=radio]),.win-overlay input:not([type=checkbox]),.win-overlay input:not([type=button]),.win-overlay input:not([type=range]),.win-overlay input:not([type=image]),.win-overlay input:not([type=reset]),.win-overlay input:not([type=hidden]),.win-overlay input:not([type=submit]),.win-overlay textarea{-ms-touch-select:grippers}.win-visualviewport-space{position:fixed;position:-ms-device-fixed;height:100%;width:100%;visibility:hidden}.win-settingsflyout{border-left:1px solid;position:fixed;top:0;right:0;height:100%;width:319px}.win-settingsflyout:lang(ar),.win-settingsflyout:lang(dv),.win-settingsflyout:lang(fa),.win-settingsflyout:lang(he),.win-settingsflyout:lang(ku-Arab),.win-settingsflyout:lang(pa-Arab),.win-settingsflyout:lang(prs),.win-settingsflyout:lang(ps),.win-settingsflyout:lang(qps-plocm),.win-settingsflyout:lang(sd-Arab),.win-settingsflyout:lang(syr),.win-settingsflyout:lang(ug),.win-settingsflyout:lang(ur){border-left:none;border-right:1px solid}.win-settingsflyout.win-wide{width:645px}.win-settingsflyout .win-back,.win-settingsflyout .win-backbutton{width:32px;height:32px;font-size:20px;line-height:32px}.win-settingsflyout .win-header{height:32px;position:relative;padding:6px 12px 10px 52px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayfull .win-commandingsurface-actionarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-actionarea{height:auto}.win-settingsflyout .win-header .win-label{display:inline-block;font-size:24px;font-weight:300;line-height:32px;white-space:nowrap}.win-settingsflyout .win-header .win-backbutton,.win-settingsflyout .win-header .win-navigation-backbutton{position:absolute;left:12px}.win-settingsflyout .win-content{overflow:auto;padding:0 12px}.win-settingsflyout .win-content .win-label{font-size:20px;font-weight:400;line-height:1.2}.win-settingsflyout .win-content .win-settings-section{margin:0;padding-top:0;padding-bottom:20px}.win-settingsflyout .win-content .win-settings-section p{margin:0;padding-top:0;padding-bottom:25px}.win-settingsflyout .win-content .win-settings-section a{margin:0;padding-top:0;padding-bottom:25px;display:inline-block}.win-settingsflyout .win-content .win-settings-section label{display:block;padding-bottom:7px}.win-settingsflyout .win-content .win-settings-section button,.win-settingsflyout .win-content .win-settings-section input[type=button],.win-settingsflyout .win-content .win-settings-section input[type=text],.win-settingsflyout .win-content .win-settings-section select{margin-bottom:25px;margin-left:0;margin-right:20px}.win-settingsflyout .win-content .win-settings-section button:lang(ar),.win-settingsflyout .win-content .win-settings-section button:lang(dv),.win-settingsflyout .win-content .win-settings-section button:lang(fa),.win-settingsflyout .win-content .win-settings-section button:lang(he),.win-settingsflyout .win-content .win-settings-section button:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(prs),.win-settingsflyout .win-content .win-settings-section button:lang(ps),.win-settingsflyout .win-content .win-settings-section button:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section button:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section button:lang(syr),.win-settingsflyout .win-content .win-settings-section button:lang(ug),.win-settingsflyout .win-content .win-settings-section button:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=button]:lang(ur),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ar),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(dv),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(fa),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(he),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(prs),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ps),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(syr),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ug),.win-settingsflyout .win-content .win-settings-section input[type=text]:lang(ur),.win-settingsflyout .win-content .win-settings-section select:lang(ar),.win-settingsflyout .win-content .win-settings-section select:lang(dv),.win-settingsflyout .win-content .win-settings-section select:lang(fa),.win-settingsflyout .win-content .win-settings-section select:lang(he),.win-settingsflyout .win-content .win-settings-section select:lang(ku-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(pa-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(prs),.win-settingsflyout .win-content .win-settings-section select:lang(ps),.win-settingsflyout .win-content .win-settings-section select:lang(qps-plocm),.win-settingsflyout .win-content .win-settings-section select:lang(sd-Arab),.win-settingsflyout .win-content .win-settings-section select:lang(syr),.win-settingsflyout .win-content .win-settings-section select:lang(ug),.win-settingsflyout .win-content .win-settings-section select:lang(ur){margin-bottom:25px;margin-left:20px;margin-right:0}.win-settingsflyout .win-content .win-settings-section input[type=radio]{margin-top:0;margin-bottom:0;padding-bottom:15px}@keyframes WinJS-showFlyoutTop{from{transform:translateY(50px)}to{transform:none}}@keyframes WinJS-showFlyoutBottom{from{transform:translateY(-50px)}to{transform:none}}@keyframes WinJS-showFlyoutLeft{from{transform:translateX(50px)}to{transform:none}}@keyframes WinJS-showFlyoutRight{from{transform:translateX(-50px)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutTop{from{-webkit-transform:translateY(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutBottom{from{-webkit-transform:translateY(-50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutLeft{from{-webkit-transform:translateX(50px)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-showFlyoutRight{from{-webkit-transform:translateX(-50px)}to{-webkit-transform:none}}.win-commandingsurface{outline:0;min-width:32px;position:relative}.win-commandingsurface.win-commandingsurface-overflowbottom .win-commandingsurface-overflowareacontainer{top:100%}.win-commandingsurface.win-commandingsurface-overflowtop .win-commandingsurface-overflowareacontainer{bottom:100%}.win-commandingsurface .win-commandingsurface-actionarea{min-height:24px;vertical-align:top;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-spacer{visibility:hidden;min-height:48px;width:0}.win-commandingsurface .win-commandingsurface-actionarea .win-command,.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{touch-action:manipulation;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton{width:32px;margin:0;padding:0;border-width:1px;border-style:dotted;min-width:0;min-height:0;outline:0;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch;box-sizing:border-box;background-clip:border-box}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis{font-size:16px}.win-commandingsurface .win-commandingsurface-actionarea .win-commandingsurface-overflowbutton .win-commandingsurface-ellipsis::before{content:"\E10C"}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-overflowareacontainer{display:block}.win-commandingsurface .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowarea,.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-overflowareacontainer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea .win-command .win-label,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-command,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea .win-commandingsurface-spacer,.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaynone{display:none}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplaycompact .win-commandingsurface-actionarea{height:48px}.win-commandingsurface.win-commandingsurface-closed.win-commandingsurface-closeddisplayminimal .win-commandingsurface-actionarea{height:24px}.win-commandingsurface .win-commandingsurface-overflowareacontainer{position:absolute;overflow:hidden;right:0;left:auto}.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ar),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(dv),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(fa),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(he),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ku-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(pa-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(prs),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ps),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(qps-plocm),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(sd-Arab),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(syr),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ug),.win-commandingsurface .win-commandingsurface-overflowareacontainer:lang(ur){left:0;right:auto}.win-commandingsurface .win-commandingsurface-overflowarea,.win-commandingsurface .win-commandingsurface-overflowareacontainer{min-width:160px;min-height:0;max-height:50vh;padding:0}.win-commandingsurface .win-commandingsurface-overflowarea{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{max-width:480px}.win-commandingsurface .win-commandingsurface-overflowarea .win-commandingsurface-spacer{visibility:hidden;height:24px}.win-commandingsurface .win-commandingsurface-overflowarea button.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;min-height:44px;border:1px dotted transparent;padding:10px 11px 12px;font-size:15px;font-weight:400;line-height:1.333;white-space:nowrap;overflow:hidden}.win-commandingsurface .win-commandingsurface-overflowarea hr.win-command{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;height:2px;margin:6px 12px 4px}.win-commandingsurface .win-commandingsurface-actionareacontainer{overflow:hidden;position:relative}.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaycompact .win-command .win-label,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplayminimal .win-command,.win-commandingsurface.win-commandingsurface-closing.win-commandingsurface-closeddisplaynone .win-command{opacity:0}.win-commandingsurface .win-command.win-command-hidden{display:inline-block}.win-commandingsurface .win-command.win-commandingsurface-command-hidden,.win-commandingsurface .win-command.win-commandingsurface-command-primary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-secondary-overflown,.win-commandingsurface .win-command.win-commandingsurface-command-separator-hidden{display:none}@media (max-width:480px){.win-commandingsurface .win-commandingsurface-overflowarea.win-menu{width:100vw}}.win-toolbar{min-width:32px}.win-toolbar.win-toolbar-opened{position:fixed}.win-autosuggestbox{white-space:normal;position:relative;width:266px;min-width:265px;min-height:28px}.win-autosuggestbox-flyout{position:absolute;top:100%;width:100%;z-index:100;max-height:374px;min-height:44px;overflow:auto;-ms-scroll-chaining:none;touch-action:none;font-size:15px;font-weight:400;line-height:1.333}.win-autosuggestbox-suggestion-result div,.win-autosuggestbox-suggestion-result-text{line-height:20px;overflow:hidden;white-space:nowrap}.win-autosuggestbox-flyout-above{bottom:100%;top:auto}.win-autosuggestbox-flyout-above .win-repeater{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.win-autosuggestbox .win-autosuggestbox-input{-ms-ime-align:after;margin:0;width:100%}.win-autosuggestbox-suggestion-selected{outline-style:dotted;outline-width:1px}.win-autosuggestbox-suggestion-result{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:60px;font-size:11pt;outline:0}.win-autosuggestbox-suggestion-result-text{padding-top:9px;padding-bottom:11px;height:60px;width:179px}.win-autosuggestbox-suggestion-result-detailed-text{display:inline-block;overflow:hidden;line-height:22px;margin-top:-1px;width:100%}.win-autosuggestbox-suggestion-result img{width:40px;height:40px;margin-left:0;padding-right:10px;padding-top:10px;padding-bottom:10px}.win-autosuggestbox-suggestion-result img:lang(ar),.win-autosuggestbox-suggestion-result img:lang(dv),.win-autosuggestbox-suggestion-result img:lang(fa),.win-autosuggestbox-suggestion-result img:lang(he),.win-autosuggestbox-suggestion-result img:lang(ku-Arab),.win-autosuggestbox-suggestion-result img:lang(pa-Arab),.win-autosuggestbox-suggestion-result img:lang(prs),.win-autosuggestbox-suggestion-result img:lang(ps),.win-autosuggestbox-suggestion-result img:lang(qps-plocm),.win-autosuggestbox-suggestion-result img:lang(sd-Arab),.win-autosuggestbox-suggestion-result img:lang(syr),.win-autosuggestbox-suggestion-result img:lang(ug),.win-autosuggestbox-suggestion-result img:lang(ur){margin-right:0;margin-left:auto;padding-left:10px;padding-right:0}.win-autosuggestbox-suggestion-query{height:20px;padding:11px 0 13px 12px;outline:0;white-space:nowrap;overflow:hidden;line-height:20px}.win-autosuggestbox-suggestion-separator{display:-ms-flexbox;display:-webkit-flex;display:flex;padding:0 18px;height:40px;font-size:11pt}.win-autosuggestbox-suggestion-separator hr{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;margin-top:18px;border-style:solid;border-width:1px 0 0}.win-autosuggestbox-suggestion-separator hr:lang(ar),.win-autosuggestbox-suggestion-separator hr:lang(dv),.win-autosuggestbox-suggestion-separator hr:lang(fa),.win-autosuggestbox-suggestion-separator hr:lang(he),.win-autosuggestbox-suggestion-separator hr:lang(ku-Arab),.win-autosuggestbox-suggestion-separator hr:lang(pa-Arab),.win-autosuggestbox-suggestion-separator hr:lang(prs),.win-autosuggestbox-suggestion-separator hr:lang(ps),.win-autosuggestbox-suggestion-separator hr:lang(qps-plocm),.win-autosuggestbox-suggestion-separator hr:lang(sd-Arab),.win-autosuggestbox-suggestion-separator hr:lang(syr),.win-autosuggestbox-suggestion-separator hr:lang(ug),.win-autosuggestbox-suggestion-separator hr:lang(ur){margin-right:10px;margin-left:auto}.win-autosuggestbox-suggestion-separator div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-top:9px;padding-bottom:11px;line-height:20px;margin-right:10px}.win-autosuggestbox-suggestion-separator div:lang(ar),.win-autosuggestbox-suggestion-separator div:lang(dv),.win-autosuggestbox-suggestion-separator div:lang(fa),.win-autosuggestbox-suggestion-separator div:lang(he),.win-autosuggestbox-suggestion-separator div:lang(ku-Arab),.win-autosuggestbox-suggestion-separator div:lang(pa-Arab),.win-autosuggestbox-suggestion-separator div:lang(prs),.win-autosuggestbox-suggestion-separator div:lang(ps),.win-autosuggestbox-suggestion-separator div:lang(qps-plocm),.win-autosuggestbox-suggestion-separator div:lang(sd-Arab),.win-autosuggestbox-suggestion-separator div:lang(syr),.win-autosuggestbox-suggestion-separator div:lang(ug),.win-autosuggestbox-suggestion-separator div:lang(ur){margin-left:10px;margin-right:auto}@keyframes WinJS-flyoutBelowASB-showPopup{from{transform:translateY(0)}to{transform:none}}@keyframes WinJS-flyoutAboveASB-showPopup{from{transform:translateY(0)}to{transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutBelowASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}@-webkit-keyframes -webkit-WinJS-flyoutAboveASB-showPopup{from{-webkit-transform:translateY(0)}to{-webkit-transform:none}}.win-searchbox input[type=search]::-ms-clear{display:none}.win-searchbox input[type=search]::-webkit-search-cancel-button{display:none}.win-searchbox-button{position:absolute;right:0;top:0;width:32px;font-size:15px;border-style:none;height:100%;text-align:center}.win-searchbox-button:lang(ar),.win-searchbox-button:lang(dv),.win-searchbox-button:lang(fa),.win-searchbox-button:lang(he),.win-searchbox-button:lang(ku-Arab),.win-searchbox-button:lang(pa-Arab),.win-searchbox-button:lang(prs),.win-searchbox-button:lang(ps),.win-searchbox-button:lang(qps-plocm),.win-searchbox-button:lang(sd-Arab),.win-searchbox-button:lang(syr),.win-searchbox-button:lang(ug),.win-searchbox-button:lang(ur){right:auto;left:0}.win-searchbox-button.win-searchbox-button:before{content:"\E094";position:absolute;left:8px;top:8px;line-height:100%}.win-splitviewcommand{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;touch-action:manipulation}.win-splitviewcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-splitviewcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-splitviewcommand-button:focus{z-index:1;outline:0}.win-splitviewcommand-icon{height:16px;width:16px;font-size:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-splitviewcommand-icon:lang(ar),.win-splitviewcommand-icon:lang(dv),.win-splitviewcommand-icon:lang(fa),.win-splitviewcommand-icon:lang(he),.win-splitviewcommand-icon:lang(ku-Arab),.win-splitviewcommand-icon:lang(pa-Arab),.win-splitviewcommand-icon:lang(prs),.win-splitviewcommand-icon:lang(ps),.win-splitviewcommand-icon:lang(qps-plocm),.win-splitviewcommand-icon:lang(sd-Arab),.win-splitviewcommand-icon:lang(syr),.win-splitviewcommand-icon:lang(ug),.win-splitviewcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-splitviewcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-icon,.win-navbarcontainer-navarrow{font-size:16px;font-family:"Segoe MDL2 Assets",Symbols}@media (-ms-high-contrast){.win-autosuggestbox{border-color:ButtonText;background-color:ButtonFace;color:ButtonText}.win-autosuggestbox-disabled,.win-autosuggestbox-disabled input[disabled]{border-color:GrayText;background-color:ButtonFace}.win-autosuggestbox-disabled input[disabled]{color:GrayText}.win-autosuggestbox-disabled div{color:GrayText;background-color:ButtonFace}.win-autosuggestbox:-ms-input-placeholder,.win-autosuggestbox::-moz-input-placeholder,.win-autosuggestbox::-webkit-input-placeholder{color:GrayText}.win-autosuggestbox-flyout{border-color:ButtonText;background-color:ButtonFace}.win-autosuggestbox-flyout-highlighttext{color:ButtonText}html.win-hoverable .win-autosuggestbox-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover{background-color:Highlight;color:HighlightText}html.win-hoverable .win-autosuggestbox-suggestion-query:hover .win-autosuggestbox-flyout-highlighttext,html.win-hoverable .win-autosuggestbox-suggestion-result:hover .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-autosuggestbox-suggestion-query,.win-autosuggestbox-suggestion-result{color:ButtonText}.win-autosuggestbox-suggestion-selected{background-color:Highlight;color:HighlightText}.win-autosuggestbox-suggestion-separator{color:ButtonText}.win-autosuggestbox-suggestion-separator hr{border-color:ButtonText}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:HighlightText}.win-searchbox-button{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-searchbox-button[disabled=false]:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button-input-focus{background-color:ButtonText;color:ButtonFace}html.win-hoverable .win-searchbox-button-input-focus:hover{border-color:ButtonText;background-color:HighLight;color:HighLightText}.win-searchbox-button:active{background-color:ButtonText;color:ButtonFace}.win-splitviewcommand-button{background-color:ButtonFace;color:ButtonText}.win-splitviewcommand-button:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px);pointer-events:none}html.win-hoverable .win-splitviewcommand-button:hover{background-color:Highlight;color:HighlightText}.win-splitviewcommand-button.win-pressed,html.win-hoverable .win-splitviewcommand-button.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-navbar{z-index:999}.win-navbar.win-navbar-hiding,.win-navbar.win-navbar-showing,.win-navbar.win-navbar-shown{min-height:60px}.win-navbar .win-navbar-invokebutton{width:32px;min-height:0;height:24px}.win-navbar .win-navbar-invokebutton .win-navbar-ellipsis{width:32px}.win-navbar.win-top .win-navbar-invokebutton{bottom:0}.win-navbar.win-top .win-navbar-invokebutton .win-navbar-ellipsis{top:5px}.win-navbar.win-bottom .win-navbar-invokebutton,.win-navbar.win-bottom .win-navbar-invokebutton .win-navbar-ellipsis{top:0}.win-navbarcontainer{width:100%;position:relative}.win-navbarcontainer-pageindicator-box{position:absolute;width:100%;text-align:center;pointer-events:none}.win-navbarcontainer-vertical .win-navbarcontainer-pageindicator-box{display:none}.win-navbarcontainer-pageindicator{display:inline-block;width:40px;height:4px;margin:4px 2px 16px}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport::-webkit-scrollbar{width:0;height:0}.win-navbarcontainer-horizontal .win-navbarcontainer-viewport{padding:20px 0;overflow-x:auto;overflow-y:hidden;overflow:-moz-scrollbars-none;-ms-scroll-snap-type:mandatory;-ms-scroll-snap-points-x:snapInterval(0,100%);-ms-overflow-style:none;touch-action:pan-x}.win-navbarcontainer-vertical .win-navbarcontainer-viewport{overflow-x:hidden;overflow-y:auto;max-height:216px;-ms-overflow-style:-ms-autohiding-scrollbar;touch-action:pan-y;-webkit-overflow-scrolling:touch}.win-navbarcontainer-horizontal .win-navbarcontainer-surface{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.win-navbarcommand,.win-navbarcontainer-navarrow{display:-ms-flexbox;display:-webkit-flex;touch-action:manipulation}.win-navbarcontainer-vertical .win-navbarcontainer-surface{padding:12px 0}.win-navbarcontainer-navarrow{position:absolute;z-index:2;top:24px;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;height:calc(100% - 48px);width:20px;overflow:hidden}.win-navbarcontainer-vertical .win-navbarcontainer-navarrow{display:none}.win-navbarcontainer-navleft{left:0;margin-right:2px}.win-navbarcontainer-navleft::before{content:'\E0E2'}.win-navbarcontainer-navright{right:0;margin-left:2px}.win-navbarcontainer-navright::before{content:'\E0E3'}.win-navbarcommand{display:flex;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcontainer-horizontal .win-navbarcommand{margin:4px;width:192px}.win-navbarcontainer-vertical .win-navbarcommand{margin:4px 24px}.win-navbarcommand-button{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;position:relative}.win-navbarcommand-button-content{position:relative;height:48px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-navbarcommand-button:focus{z-index:1;outline:0}.win-navbarcommand-icon{height:16px;width:16px;margin-left:0;margin-right:16px;margin-top:14px;line-height:1;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.win-navbarcommand-icon:lang(ar),.win-navbarcommand-icon:lang(dv),.win-navbarcommand-icon:lang(fa),.win-navbarcommand-icon:lang(he),.win-navbarcommand-icon:lang(ku-Arab),.win-navbarcommand-icon:lang(pa-Arab),.win-navbarcommand-icon:lang(prs),.win-navbarcommand-icon:lang(ps),.win-navbarcommand-icon:lang(qps-plocm),.win-navbarcommand-icon:lang(sd-Arab),.win-navbarcommand-icon:lang(syr),.win-navbarcommand-icon:lang(ug),.win-navbarcommand-icon:lang(ur){margin-right:0;margin-left:16px}.win-navbarcommand-label{-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:400;line-height:1.333;margin-top:13px;margin-bottom:15px}.win-navbarcommand-splitbutton{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;width:48px;font-family:"Segoe MDL2 Assets",Symbols;font-size:16px;margin-right:0;margin-left:2px;position:relative}.win-navbarcommand-splitbutton:lang(ar),.win-navbarcommand-splitbutton:lang(dv),.win-navbarcommand-splitbutton:lang(fa),.win-navbarcommand-splitbutton:lang(he),.win-navbarcommand-splitbutton:lang(ku-Arab),.win-navbarcommand-splitbutton:lang(pa-Arab),.win-navbarcommand-splitbutton:lang(prs),.win-navbarcommand-splitbutton:lang(ps),.win-navbarcommand-splitbutton:lang(qps-plocm),.win-navbarcommand-splitbutton:lang(sd-Arab),.win-navbarcommand-splitbutton:lang(syr),.win-navbarcommand-splitbutton:lang(ug),.win-navbarcommand-splitbutton:lang(ur){margin-left:0;margin-right:2px}.win-navbarcommand-splitbutton::before{content:'\E019';pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;text-align:center;line-height:46px;border:1px dotted transparent}.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened::before{content:'\E018'}.win-navbarcommand-splitbutton:focus{outline:0}@media (-ms-high-contrast){.win-navbarcontainer-pageindicator{background-color:ButtonFace}.win-navbarcontainer-pageindicator:after{display:block;border:1px solid ButtonText;content:"";width:calc(100% - 2px);height:calc(100% - 2px)}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after,.win-navbarcontainer-navarrow:after{position:absolute;top:0;left:0;border:2px solid ButtonText;content:"";width:calc(100% - 3px);height:calc(100% - 3px)}.win-navbarcontainer-pageindicator-current{background-color:ButtonText}html.win-hoverable .win-navbarcontainer-pageindicator:hover{background-color:Highlight}.win-navbarcontainer-pageindicator:hover:active,html.win-hoverable .win-navbarcontainer-pageindicator-current:hover{background-color:ButtonText}.win-navbarcontainer-navarrow{background-color:ButtonFace;color:ButtonText}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:Highlight;color:HighlightText}.win-navbarcontainer-navarrow:hover:active{background-color:ButtonText;color:ButtonFace}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:ButtonFace;color:ButtonText}.win-navbarcommand-button:after,.win-navbarcommand-splitbutton:after{pointer-events:none}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:Highlight;color:HighlightText}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened,.win-navbarcommand-splitbutton.win-pressed,html.win-hoverable .win-navbarcommand-button.win-pressed:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-navbarcommand-splitbutton-opened:hover,html.win-hoverable .win-navbarcommand-splitbutton.win-pressed:hover{background-color:ButtonText;color:ButtonFace}}.win-viewbox{width:100%;height:100%;position:relative}.win-contentdialog.win-contentdialog-verticalalignment{position:fixed;top:0;left:0;right:0;height:100vh;overflow:hidden;display:none;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-devicefixedsupported{position:-ms-device-fixed;height:auto;bottom:0}.win-contentdialog.win-contentdialog-verticalalignment.win-contentdialog-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.win-contentdialog .win-contentdialog-backgroundoverlay{position:absolute;top:0;left:0;width:100%;height:100%}.win-contentdialog .win-contentdialog-dialog{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;z-index:1;outline-style:solid;outline-width:1px;box-sizing:border-box;padding:18px 24px 24px;width:100%;min-width:320px;max-width:456px;min-height:184px;max-height:758px;margin-left:auto;margin-right:auto}.win-contentdialog .win-contentdialog-column0or1{-ms-flex:10000 0 50%;-webkit-flex:10000 0 50%;flex:10000 0 50%;width:0}@media (min-height:640px){.win-contentdialog .win-contentdialog-dialog{-ms-flex:0 1 auto;-webkit-flex:0 1 auto;flex:0 1 auto}.win-contentdialog .win-contentdialog-column0or1{display:none}}.win-contentdialog .win-contentdialog-scroller{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;overflow:auto}.win-contentdialog .win-contentdialog-title{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;font-size:20px;font-weight:400;line-height:1.2;margin:0}.win-contentdialog .win-contentdialog-content{-ms-flex:1 0 auto;-webkit-flex:1 0 auto;flex:1 0 auto;font-size:15px;font-weight:400;line-height:1.333}.win-contentdialog .win-contentdialog-commands{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:24px;margin-right:-4px}.win-contentdialog .win-contentdialog-commandspacer{visibility:hidden}.win-contentdialog .win-contentdialog-commands>button{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;width:0;margin-right:4px;white-space:nowrap}.win-splitview{position:relative;width:100%;height:100%;display:-ms-flexbox;display:-webkit-flex;display:flex;overflow:hidden}.win-splitview.win-splitview-placementbottom,.win-splitview.win-splitview-placementbottom .win-splitview-panewrapper,.win-splitview.win-splitview-placementtop,.win-splitview.win-splitview-placementtop .win-splitview-panewrapper{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.win-splitview .win-splitview-panewrapper{position:relative;z-index:1;outline:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden;display:-ms-flexbox;display:-webkit-flex;display:flex}.win-appbar.win-appbar-closed.win-appbar-closeddisplaynone,.win-splitview.win-splitview-openeddisplayinline .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed .win-splitview-paneplaceholder,.win-splitview.win-splitview-pane-closed.win-splitview-closeddisplaynone .win-splitview-pane{display:none}.win-splitview .win-splitview-paneoutline{display:none;pointer-events:none;position:absolute;top:0;left:0;border:1px solid transparent;width:calc(100% - 2px);height:calc(100% - 2px);z-index:1}.win-splitview .win-splitview-pane{outline:0}.win-splitview .win-splitview-pane,.win-splitview .win-splitview-paneplaceholder{-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto;overflow:hidden}.win-splitview .win-splitview-contentwrapper{position:relative;z-index:0;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.win-splitview .win-splitview-content{position:absolute;width:100%;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementright .win-splitview-pane{width:320px}.win-splitview.win-splitview-pane-opened.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-opened.win-splitview-placementtop .win-splitview-pane{height:60px}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementtop .win-splitview-panewrapper{position:absolute;top:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementbottom .win-splitview-panewrapper{position:absolute;bottom:0;left:0;width:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft{position:static}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementleft:lang(ur) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright .win-splitview-panewrapper{position:absolute;top:0;left:auto;right:0;height:100%}.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ar) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(dv) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(fa) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(he) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ku-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(pa-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(prs) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ps) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(qps-plocm) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(sd-Arab) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(syr) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ug) .win-splitview-panewrapper,.win-splitview.win-splitview-pane-opened.win-splitview-openeddisplayoverlay.win-splitview-placementright:lang(ur) .win-splitview-panewrapper{position:absolute;top:0;left:0;right:auto;height:100%}.win-splitview.win-splitview-pane-closed.win-splitview-placementbottom .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementtop .win-splitview-pane{height:24px}.win-splitview.win-splitview-pane-closed.win-splitview-placementleft .win-splitview-pane,.win-splitview.win-splitview-pane-closed.win-splitview-placementright .win-splitview-pane{width:48px}button.win-splitviewpanetoggle{touch-action:manipulation;box-sizing:border-box;height:48px;width:48px;min-height:0;min-width:0;padding:0;border:none;margin:0;outline:0}button.win-splitviewpanetoggle:after{font-size:24px;font-family:'Segoe MDL2 Assets',Symbols;font-weight:400;line-height:1.333;content:"\E700"}.win-appbar{width:100%;min-width:32px;position:fixed;position:-ms-device-fixed;z-index:999}.win-appbar.win-appbar-top{top:0}.win-appbar.win-appbar-bottom{bottom:0}.win-ui-light,body{background-color:#fff;color:#000}.win-ui-dark{background-color:#000;color:#fff}::selection{color:#fff}.win-link:hover{color:rgba(0,0,0,.6)}.win-link:active{color:rgba(0,0,0,.4)}.win-link[disabled]{color:rgba(0,0,0,.2)}.win-checkbox::-ms-check{color:#000;border-color:rgba(0,0,0,.8);background-color:transparent}.win-checkbox:indeterminate::-ms-check{color:rgba(0,0,0,.8)}.win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-checkbox:hover::-ms-check{border-color:#000}.win-checkbox:hover:indeterminate::-ms-check{color:#000}.win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-checkbox:indeterminate:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.8);background-color:transparent}.win-checkbox:disabled::-ms-check,.win-checkbox:indeterminate:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent}.win-radio::-ms-check{color:rgba(0,0,0,.8);border-color:rgba(0,0,0,.8);background-color:transparent}.win-radio:hover::-ms-check{border-color:#000;color:#000}.win-radio:active::-ms-check{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.6)}.win-radio:disabled::-ms-check{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-progress-bar:not(:indeterminate),.win-progress-ring:not(:indeterminate),.win-ring:not(:indeterminate){background-color:rgba(0,0,0,.2)}.win-progress-bar::-webkit-progress-bar,.win-progress-ring::-webkit-progress-bar,.win-ring::-webkit-progress-bar{background-color:transparent}.win-progress-ring,.win-ring{background-color:transparent}.win-button{color:#000;background-color:rgba(0,0,0,.2);border-color:transparent}.win-button.win-button-primary{color:#fff}.win-button.win-button-primary:hover,.win-button:hover{border-color:rgba(0,0,0,.4)}.win-button.win-button-primary:active,.win-button:active{background-color:rgba(0,0,0,.4)}.win-button.win-button-primary:disabled,.win-button:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2);border-color:transparent}.win-dropdown{color:#000;background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}.win-dropdown::-ms-expand{color:rgba(0,0,0,.8);background-color:transparent}.win-dropdown:hover{background-color:#f2f2f2;border-color:rgba(0,0,0,.6)}.win-dropdown:disabled{color:rgba(0,0,0,.2);background-color:rgba(0,0,0,.2)}.win-dropdown:disabled::-ms-expand{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}.win-dropdown option{color:#000;background-color:#f2f2f2}.win-dropdown option:checked{color:#fff}.win-dropdown option:active,.win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#000}.win-dropdown optgroup{color:#000;background-color:#f2f2f2}.win-dropdown optgroup:disabled{color:rgba(0,0,0,.2)}select[multiple].win-dropdown{border:none;background-color:#f2f2f2}select[multiple].win-dropdown option,select[multiple].win-dropdown option:hover{color:#000}select[multiple].win-dropdown option:checked{color:#fff}.win-slider{background-color:transparent}.win-slider:hover::-ms-thumb{background:#1f1f1f}.win-slider:hover::-webkit-slider-thumb{background:#1f1f1f}.win-slider:hover::-moz-range-thumb{background:#1f1f1f}.win-slider:active::-ms-thumb{background:#ccc}.win-slider:active::-webkit-slider-thumb{background:#ccc}.win-slider:active::-moz-range-thumb{background:#ccc}.win-slider:disabled::-ms-thumb{background:#ccc}.win-slider:disabled::-webkit-slider-thumb{background:#ccc}.win-slider:disabled::-moz-range-thumb{background:#ccc}.win-slider:disabled::-ms-fill-lower{background:rgba(0,0,0,.2)}.win-slider::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-slider::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-slider::-moz-range-track{background:rgba(0,0,0,.4)}.win-slider:active::-ms-fill-upper{background:rgba(0,0,0,.4)}.win-slider:active::-webkit-slider-runnable-track{background:rgba(0,0,0,.4)}.win-slider:active::-moz-range-track{background:rgba(0,0,0,.4)}.win-slider:disabled::-ms-fill-upper{background:rgba(0,0,0,.2)}.win-slider:disabled::-webkit-slider-runnable-track{background:rgba(0,0,0,.2)}.win-slider:disabled::-moz-range-track{background:rgba(0,0,0,.2)}.win-slider::-ms-track{color:transparent;background-color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:rgba(0,0,0,.4)}.win-textarea,.win-textbox{color:#000;background-color:rgba(255,255,255,.4);border-color:rgba(0,0,0,.4)}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea::-webkit-input-placeholder,.win-textbox::-webkit-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea::-moz-input-placeholder,.win-textbox::-moz-input-placeholder{color:rgba(0,0,0,.6)}.win-textarea:hover,.win-textbox:hover{background-color:rgba(255,255,255,.6);border-color:rgba(0,0,0,.6)}.win-textarea:focus,.win-textbox:focus{color:#000;background-color:#fff}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{color:#fff}.win-itemcontainer.win-selectionstylefilled.win-selected,.win-listview.win-selectionstylefilled .win-selected,.win-selectioncheckmark{color:#000}.win-xbox :focus{outline:#fff solid 2px}.win-backbutton:focus,.win-listview .win-groupheader,.win-navigation-backbutton:focus .win-back{outline-color:#000}.win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-listview .win-surface.win-selectionmode .win-itembox::after,.win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#000;background-color:#e6e6e6}.win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(0,0,0,.2)}.win-itemcontainer .win-itembox,.win-listview .win-itembox{background-color:#fff}.win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-itemcontainer .win-focusedoutline,.win-listview .win-focusedoutline{outline:#000 dashed 2px}.win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.4}.win-flipview .win-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-flipview .win-navbutton:hover:active{background-color:rgba(0,0,0,.8)}html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(0,0,0,.6)}.win-back,.win-backbutton,.win-navigation-backbutton{background-color:transparent;border:none;color:#000}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{position:absolute;height:100%;width:100%;opacity:.4;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px}.win-backbutton:hover,.win-navigation-backbutton:hover .win-back{background-color:rgba(0,0,0,.1)}.win-backbutton:active,.win-navigation-backbutton:active .win-back{background-color:rgba(0,0,0,.2)}.win-backbutton:disabled,.win-backbutton:disabled:active,.win-navigation-backbutton:disabled,.win-navigation-backbutton:disabled .win-back,.win-navigation-backbutton:disabled:active .win-back{color:rgba(0,0,0,.4);background-color:transparent}.win-tooltip{color:#000;border-color:#ccc;background-color:#f2f2f2}.win-rating .win-star.win-tentative.win-full{color:rgba(0,0,0,.8)}.win-rating .win-star.win-average.win-full,.win-rating .win-star.win-average.win-full.win-disabled{color:rgba(0,0,0,.4)}.win-rating .win-star.win-empty{color:rgba(0,0,0,.2)}.win-toggleswitch-header,.win-toggleswitch-value{color:#000}.win-toggleswitch-thumb{background-color:rgba(0,0,0,.8)}.win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(0,0,0,.8)}.win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(0,0,0,.6)}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(0,0,0,.2)}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(0,0,0,.2)}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(0,0,0,.2)}.win-semanticzoom-button,.win-toggleswitch-on .win-toggleswitch-track,button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(0,0,0,.6)}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(0,0,0,.2)}.win-semanticzoom-button{background-color:rgba(216,216,216,.33)}button.win-semanticzoom-button.win-semanticzoom-button:active,button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#000}.win-pivot .win-pivot-title{color:#000}.win-pivot .win-pivot-navbutton{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(0,0,0,.8)}.win-pivot button.win-pivot-header{color:rgba(0,0,0,.6);background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:rgba(0,0,0,.8)}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:#000;background-color:transparent}.win-pivot-header[disabled]{color:rgba(0,0,0,.4)}button.win-hub-section-header-tabstop,button.win-hub-section-header-tabstop:hover:active{color:#000}button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#000 dotted 1px}button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#000}button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(0,0,0,.4)}button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(0,0,0,.4)}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:#000}.win-overlay{outline:0}hr.win-command{background-color:rgba(0,0,0,.4)}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:#000}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:rgba(0,0,0,.2)}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#000}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#000}button.win-command:enabled:-ms-keyboard-active{background-color:rgba(0,0,0,.2);color:#000}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:rgba(0,0,0,.2)}.win-navbar{background-color:#e6e6e6;border-color:#e6e6e6}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#000}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#000}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(0,0,0,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(0,0,0,.2)}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#000}.win-flyout,.win-settingsflyout{background-color:#fff}.win-menu button{background-color:transparent;color:#000}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(0,0,0,.2);color:#000}html.win-hoverable .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:.6}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:rgba(0,0,0,.2)}.win-commandingsurface .win-commandingsurface-actionarea{background-color:#e6e6e6}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#000}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#000}.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#f2f2f2}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(0,0,0,.2)}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#000;background-color:rgba(0,0,0,.2)}.win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-navbarcommand-button.win-keyboard:focus::before,.win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #000}.win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-autosuggestbox-flyout{background-color:#f2f2f2;color:#000}.win-autosuggestbox-suggestion-query:hover:active,.win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(0,0,0,.2)}.win-searchbox-button,.win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-splitviewcommand-button{background-color:transparent;color:#000}.win-navbarcontainer-pageindicator,.win-splitviewcommand-button.win-pressed{background-color:rgba(0,0,0,.2)}.win-navbarcontainer-pageindicator-current{background-color:rgba(0,0,0,.6)}.win-navbarcontainer-navarrow{background-color:rgba(0,0,0,.4);color:rgba(255,255,255,.8)}.win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(0,0,0,.8)}.win-navbarcommand-button,.win-navbarcommand-splitbutton{background-color:rgba(0,0,0,.1);color:#000}.win-navbarcommand-button.win-pressed,.win-navbarcommand-splitbutton.win-pressed{background-color:rgba(0,0,0,.28)}.win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#000}.win-contentdialog-dialog{background-color:#f2f2f2}.win-contentdialog-content,.win-contentdialog-title{color:#000}.win-contentdialog-backgroundoverlay{background-color:#fff;opacity:.6}.win-splitview-pane{background-color:#f2f2f2}button.win-splitviewpanetoggle{color:#000;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:#000;background-color:rgba(0,0,0,.2)}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #000}html.win-hoverable .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-listview .win-itembox:hover::before,html.win-hoverable .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#000}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:rgba(0,0,0,.2);background-color:transparent}html.win-hoverable .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#000}html.win-hoverable .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-pivot .win-pivot-navbutton:hover{color:rgba(0,0,0,.6)}html.win-hoverable .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable button.win-hub-section-header-tabstop:hover{color:#000}html.win-hoverable button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(0,0,0,.8)}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#000}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:rgba(0,0,0,.1);color:#000}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-splitviewcommand-button:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.7}html.win-hoverable .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(0,0,0,.2)}html.win-hoverable .win-navbarcontainer-navarrow:hover{background-color:rgba(0,0,0,.6)}html.win-hoverable .win-navbarcommand-button:hover,html.win-hoverable .win-navbarcommand-splitbutton:hover{background-color:rgba(0,0,0,.19)}html.win-hoverable .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(0,0,0,.28)}html.win-hoverable button.win-splitviewpanetoggle:hover{color:#000;background-color:rgba(0,0,0,.1)}.win-ui-dark .win-ui-dark,.win-ui-dark body{background-color:#000;color:#fff}.win-ui-dark .win-ui-light{background-color:#fff;color:#000}.win-ui-dark winjs-themedetection-tag{opacity:0}.win-ui-dark ::selection{color:#fff}.win-ui-dark .win-link:hover{color:rgba(255,255,255,.6)}.win-ui-dark .win-link:active{color:rgba(255,255,255,.4)}.win-ui-dark .win-link[disabled]{color:rgba(255,255,255,.2)}.win-ui-dark .win-checkbox::-ms-check{color:#fff;border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-checkbox:indeterminate::-ms-check{color:rgba(255,255,255,.8)}.win-ui-dark .win-checkbox:checked::-ms-check{color:#fff;border-color:transparent}.win-ui-dark .win-checkbox:hover::-ms-check{border-color:#fff}.win-ui-dark .win-checkbox:hover:indeterminate::-ms-check{color:#fff}.win-ui-dark .win-checkbox:active::-ms-check{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-ui-dark .win-checkbox:indeterminate:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-checkbox:disabled::-ms-check,.win-ui-dark .win-checkbox:indeterminate:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2);background-color:transparent}.win-ui-dark .win-radio::-ms-check{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-radio:hover::-ms-check{border-color:#fff;color:#fff}.win-ui-dark .win-radio:active::-ms-check{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.6)}.win-ui-dark .win-radio:disabled::-ms-check{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-ui-dark .win-progress-bar:not(:indeterminate),.win-ui-dark .win-progress-ring:not(:indeterminate),.win-ui-dark .win-ring:not(:indeterminate){background-color:rgba(255,255,255,.2)}.win-ui-dark .win-progress-bar::-webkit-progress-bar,.win-ui-dark .win-progress-ring::-webkit-progress-bar,.win-ui-dark .win-ring::-webkit-progress-bar{background-color:transparent}.win-ui-dark .win-progress-ring,.win-ui-dark .win-ring{background-color:transparent}.win-ui-dark .win-button{color:#fff;background-color:rgba(255,255,255,.2);border-color:transparent}.win-ui-dark .win-button.win-button-primary{color:#fff}.win-ui-dark .win-button.win-button-primary:hover,.win-ui-dark .win-button:hover{border-color:rgba(255,255,255,.4)}.win-ui-dark .win-button.win-button-primary:active,.win-ui-dark .win-button:active{background-color:rgba(255,255,255,.4)}.win-ui-dark .win-button.win-button-primary:disabled,.win-ui-dark .win-button:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2);border-color:transparent}.win-ui-dark .win-dropdown{color:#fff;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}.win-ui-dark .win-dropdown::-ms-expand{color:rgba(255,255,255,.8);background-color:transparent}.win-ui-dark .win-dropdown:hover{background-color:#2b2b2b;border-color:rgba(255,255,255,.6)}.win-ui-dark .win-dropdown:disabled{color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.2)}.win-ui-dark .win-dropdown:disabled::-ms-expand{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}.win-ui-dark .win-dropdown option{color:#fff;background-color:#2b2b2b}.win-ui-dark .win-dropdown option:checked{color:#fff}.win-ui-dark .win-dropdown option:active,.win-ui-dark .win-dropdown option:hover{background-color:rgba(0,0,0,.2);color:#fff}.win-ui-dark .win-dropdown optgroup{color:#fff;background-color:#2b2b2b}.win-ui-dark .win-dropdown optgroup:disabled{color:rgba(255,255,255,.2)}.win-ui-dark select[multiple].win-dropdown{border:none;background-color:#2b2b2b}.win-ui-dark select[multiple].win-dropdown option,.win-ui-dark select[multiple].win-dropdown option:checked,.win-ui-dark select[multiple].win-dropdown option:hover{color:#fff}.win-ui-dark .win-slider{background-color:transparent}.win-ui-dark .win-slider:hover::-ms-thumb{background:#f9f9f9}.win-ui-dark .win-slider:hover::-webkit-slider-thumb{background:#f9f9f9}.win-ui-dark .win-slider:hover::-moz-range-thumb{background:#f9f9f9}.win-ui-dark .win-slider:active::-ms-thumb{background:#767676}.win-ui-dark .win-slider:active::-webkit-slider-thumb{background:#767676}.win-ui-dark .win-slider:active::-moz-range-thumb{background:#767676}.win-ui-dark .win-slider:disabled::-ms-thumb{background:#333}.win-ui-dark .win-slider:disabled::-webkit-slider-thumb{background:#333}.win-ui-dark .win-slider:disabled::-moz-range-thumb{background:#333}.win-ui-dark .win-slider:disabled::-ms-fill-lower{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider::-moz-range-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-ms-fill-upper{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-webkit-slider-runnable-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:active::-moz-range-track{background:rgba(255,255,255,.4)}.win-ui-dark .win-slider:disabled::-ms-fill-upper{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider:disabled::-webkit-slider-runnable-track{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider:disabled::-moz-range-track{background:rgba(255,255,255,.2)}.win-ui-dark .win-slider::-ms-track{color:transparent;background-color:transparent}.win-ui-dark .win-slider::-ms-ticks-after,.win-ui-dark .win-slider::-ms-ticks-before{color:rgba(255,255,255,.4)}.win-ui-dark .win-textarea,.win-ui-dark .win-textbox{color:#fff;background-color:rgba(0,0,0,.4);border-color:rgba(255,255,255,.4)}.win-ui-dark .win-textarea:-ms-input-placeholder,.win-ui-dark .win-textbox:-ms-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea::-webkit-input-placeholder,.win-ui-dark .win-textbox::-webkit-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea::-moz-input-placeholder,.win-ui-dark .win-textbox::-moz-input-placeholder{color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea:hover,.win-ui-dark .win-textbox:hover{background-color:rgba(0,0,0,.6);border-color:rgba(255,255,255,.6)}.win-ui-dark .win-textarea:focus,.win-ui-dark .win-textbox:focus{color:#000;background-color:#fff}.win-ui-dark .win-textbox::-ms-clear,.win-ui-dark .win-textbox::-ms-reveal{display:block;color:rgba(0,0,0,.6)}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected,.win-ui-dark .win-listview.win-selectionstylefilled .win-selected,.win-ui-dark .win-selectioncheckmark{color:#fff}.win-ui-dark .win-textbox::-ms-clear:active,.win-ui-dark .win-textbox::-ms-reveal:active{color:#fff}.win-ui-dark .win-xbox :focus{outline:#fff solid 2px}.win-ui-dark .win-backbutton:focus,.win-ui-dark .win-listview .win-groupheader,.win-ui-dark .win-navigation-backbutton:focus .win-back{outline-color:#fff}.win-ui-dark .win-itemcontainer.win-selectionmode.win-container .win-itembox::after,.win-ui-dark .win-listview .win-surface.win-selectionmode .win-itembox::after,.win-ui-dark .win-selectionmode .win-itemcontainer.win-container .win-itembox::after{border-color:#fff;background-color:#393939}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-dark .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-dark .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox,.win-ui-dark html.win-hoverable .win-itemcontainer.win-selectionstylefilled.win-container.win-pressed .win-itembox,.win-ui-dark html.win-hoverable .win-listview.win-selectionstylefilled .win-container .win-itembox.win-pressed,.win-ui-dark html.win-hoverable .win-listview.win-selectionstylefilled .win-container.win-pressed .win-itembox{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-itemcontainer .win-itembox,.win-ui-dark .win-listview .win-itembox{background-color:#1d1d1d}.win-ui-dark .win-listview .win-container.win-backdrop{background-color:rgba(155,155,155,.23)}.win-ui-dark .win-itemcontainer .win-focusedoutline,.win-ui-dark .win-listview .win-focusedoutline{outline:#fff dashed 2px}.win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground,.win-ui-dark .win-listview.win-selectionstylefilled .win-selected .win-selectionbackground{opacity:.6}.win-ui-dark .win-flipview .win-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-flipview .win-navbutton:hover:active{background-color:rgba(255,255,255,.8)}.win-ui-dark html.win-hoverable .win-flipview .win-navbutton:hover{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-back,.win-ui-dark .win-backbutton,.win-ui-dark .win-navigation-backbutton{background-color:transparent;border:none;color:#fff}.win-ui-dark .win-menu-containsflyoutcommand button.win-command-flyout-activated:before,.win-ui-dark button[aria-checked=true].win-command:before,.win-ui-dark.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{position:absolute;height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;opacity:.6}.win-ui-dark .win-backbutton:hover,.win-ui-dark .win-navigation-backbutton:hover .win-back{background-color:rgba(255,255,255,.1)}.win-ui-dark .win-backbutton:active,.win-ui-dark .win-navigation-backbutton:active .win-back{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-backbutton:disabled,.win-ui-dark .win-backbutton:disabled:active,.win-ui-dark .win-navigation-backbutton:disabled,.win-ui-dark .win-navigation-backbutton:disabled .win-back,.win-ui-dark .win-navigation-backbutton:disabled:active .win-back{color:rgba(255,255,255,.4);background-color:transparent}.win-ui-dark .win-tooltip{color:#fff;border-color:#767676;background-color:#2b2b2b}.win-ui-dark .win-rating .win-star.win-tentative.win-full{color:rgba(255,255,255,.8)}.win-ui-dark .win-rating .win-star.win-average.win-full,.win-ui-dark .win-rating .win-star.win-average.win-full.win-disabled{color:rgba(255,255,255,.4)}.win-ui-dark .win-rating .win-star.win-empty{color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-header,.win-ui-dark .win-toggleswitch-value{color:#fff}.win-ui-dark .win-toggleswitch-thumb{background-color:rgba(255,255,255,.8)}.win-ui-dark .win-toggleswitch-off .win-toggleswitch-track{border-color:rgba(255,255,255,.8)}.win-ui-dark .win-toggleswitch-pressed .win-toggleswitch-thumb{background-color:#fff}.win-ui-dark .win-toggleswitch-pressed .win-toggleswitch-track{border-color:transparent;background-color:rgba(255,255,255,.6)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-header,.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-value{color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-toggleswitch-disabled .win-toggleswitch-track{border-color:rgba(255,255,255,.2)}.win-ui-dark .win-semanticzoom-button,.win-ui-dark .win-toggleswitch-on .win-toggleswitch-track,.win-ui-dark button.win-command:hover:active,.win-ui-dark div.win-command:hover:active{border-color:transparent}.win-ui-dark .win-toggleswitch-on .win-toggleswitch-thumb{background-color:#fff}.win-ui-dark .win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb,.win-ui-dark .win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-semanticzoom-button{background-color:rgba(216,216,216,.33)}.win-ui-dark button.win-semanticzoom-button.win-semanticzoom-button:active,.win-ui-dark button.win-semanticzoom-button.win-semanticzoom-button:hover:active{background-color:#fff}.win-ui-dark .win-pivot .win-pivot-title{color:#fff}.win-ui-dark .win-pivot .win-pivot-navbutton{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:rgba(255,255,255,.8)}.win-ui-dark .win-pivot button.win-pivot-header{color:rgba(255,255,255,.6);background-color:transparent}.win-ui-dark .win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-ui-dark .win-pivot button.win-pivot-header:focus{color:rgba(255,255,255,.8)}.win-ui-dark .win-pivot button.win-pivot-header.win-pivot-header-selected{color:#fff;background-color:transparent}.win-ui-dark .win-pivot-header[disabled]{color:rgba(255,255,255,.4)}.win-ui-dark button.win-hub-section-header-tabstop,.win-ui-dark button.win-hub-section-header-tabstop:hover:active{color:#fff}.win-ui-dark button.win-hub-section-header-tabstop.win-keyboard:focus{outline:#fff dotted 1px}.win-ui-dark button.win-hub-section-header-tabstop:-ms-keyboard-active{color:#fff}.win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive.win-hub-section-header-interactive:hover:active{color:rgba(255,255,255,.4)}.win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive:-ms-keyboard-active{color:rgba(255,255,255,.4)}.win-ui-dark .win-commandimage,.win-ui-dark button:enabled:active .win-commandimage,.win-ui-dark button:enabled:hover:active .win-commandimage{color:#fff}.win-ui-dark .win-overlay{outline:0}.win-ui-dark hr.win-command{background-color:rgba(255,255,255,.4)}.win-ui-dark button.win-command,.win-ui-dark div.win-command{border-color:transparent;background-color:transparent}.win-ui-dark button:enabled.win-command.win-command.win-keyboard:hover:focus,.win-ui-dark button:enabled.win-command.win-keyboard:focus,.win-ui-dark div.win-command.win-command.win-keyboard:hover:focus,.win-ui-dark div.win-command.win-keyboard:focus{border-color:#fff}.win-ui-dark button.win-command.win-command:enabled:active,.win-ui-dark button.win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark button:disabled .win-commandimage,.win-ui-dark button:disabled:active .win-commandimage{color:rgba(255,255,255,.2)}.win-ui-dark button .win-label,.win-ui-dark button[aria-checked=true]:enabled .win-commandimage,.win-ui-dark button[aria-checked=true]:enabled .win-label,.win-ui-dark button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:#fff}.win-ui-dark button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:#fff}.win-ui-dark button.win-command:enabled:-ms-keyboard-active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}.win-ui-dark button.win-command:disabled,.win-ui-dark button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}.win-ui-dark button.win-command:disabled .win-label,.win-ui-dark button.win-command:disabled:active .win-label{color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar,.win-ui-dark.win-navbar{background-color:#393939;border-color:#393939}.win-ui-dark .win-navbar.win-menulayout .win-navbar-menu,.win-ui-dark .win-navbar.win-menulayout .win-toolbar,.win-ui-dark.win-navbar.win-menulayout .win-navbar-menu,.win-ui-dark.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:#fff}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:#fff}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-ui-dark .win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis,.win-ui-dark.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:#fff}.win-ui-dark .win-flyout,.win-ui-dark .win-settingsflyout,.win-ui-dark.win-flyout{background-color:#000}.win-ui-dark .win-menu button,.win-ui-dark.win-menu button{background-color:transparent;color:#fff}.win-ui-dark .win-menu button.win-command.win-command:enabled:hover:active,.win-ui-dark .win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:rgba(255,255,255,.2);color:#fff}.win-ui-dark .win-menu button[aria-checked=true].win-command:before,.win-ui-dark.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-ui-dark .win-menu button:disabled,.win-ui-dark .win-menu button:disabled:active,.win-ui-dark.win-menu button:disabled,.win-ui-dark.win-menu button:disabled:active{background-color:transparent;color:rgba(255,255,255,.2)}.win-ui-dark .win-commandingsurface .win-commandingsurface-actionarea,.win-ui-dark.win-commandingsurface .win-commandingsurface-actionarea{background-color:#393939}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:transparent;border-color:transparent}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:transparent}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:#fff}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:#fff}.win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea,.win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea{background-color:#2b2b2b}.win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active,.win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active,.win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-ui-dark .win-autosuggestbox-flyout-highlighttext{color:#4617b4}.win-ui-dark .win-autosuggestbox-suggestion-separator{color:#7a7a7a}.win-ui-dark .win-autosuggestbox-suggestion-separator hr{border-color:#7a7a7a}.win-ui-dark .win-navbarcommand-button.win-keyboard:focus::before,.win-ui-dark .win-splitviewcommand-button.win-keyboard:focus::before{content:"";pointer-events:none;position:absolute;box-sizing:border-box;top:0;left:0;height:100%;width:100%;border:1px dotted #fff}.win-ui-dark .win-autosuggestbox-suggestion-selected .win-autosuggestbox-flyout-highlighttext{color:#a38bda}.win-ui-dark .win-autosuggestbox-flyout{background-color:#2b2b2b;color:#fff}.win-ui-dark .win-autosuggestbox-suggestion-query:hover:active,.win-ui-dark .win-autosuggestbox-suggestion-result:hover:active{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-searchbox-button{color:rgba(255,255,255,.4)}.win-ui-dark .win-searchbox-button-input-focus{color:rgba(0,0,0,.4)}.win-ui-dark .win-searchbox-button.win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}.win-ui-dark .win-splitviewcommand-button{background-color:transparent;color:#fff}.win-ui-dark .win-navbarcontainer-pageindicator,.win-ui-dark .win-splitviewcommand-button.win-pressed{background-color:rgba(255,255,255,.2)}.win-ui-dark .win-navbarcontainer-pageindicator-current{background-color:rgba(255,255,255,.6)}.win-ui-dark .win-navbarcontainer-navarrow{background-color:rgba(255,255,255,.4);color:rgba(0,0,0,.8)}.win-ui-dark .win-navbarcontainer-navarrow.win-navbarcontainer-navarrow:hover:active{background-color:rgba(255,255,255,.8)}.win-ui-dark .win-navbarcommand-button,.win-ui-dark .win-navbarcommand-splitbutton{background-color:rgba(255,255,255,.1);color:#fff}.win-ui-dark .win-navbarcommand-button.win-pressed,.win-ui-dark .win-navbarcommand-splitbutton.win-pressed{background-color:rgba(255,255,255,.28)}.win-ui-dark .win-navbarcommand-splitbutton.win-keyboard:focus::before{border-color:#fff}.win-ui-dark .win-contentdialog-dialog{background-color:#2b2b2b}.win-ui-dark .win-contentdialog-content,.win-ui-dark .win-contentdialog-title{color:#fff}.win-ui-dark .win-contentdialog-backgroundoverlay{background-color:#000;opacity:.6}html.win-hoverable .win-ui-dark .win-itemcontainer.win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-dark .win-itemcontainer.win-selectionstylefilled.win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-dark .win-listview .win-container.win-selected:hover .win-selectionborder,html.win-hoverable .win-ui-dark .win-listview.win-selectionstylefilled .win-selected:hover .win-selectionbackground,html.win-hoverable .win-ui-dark button:enabled[aria-checked=true].win-command:hover:before{opacity:.8}.win-ui-dark .win-splitview-pane{background-color:#171717}.win-ui-dark button.win-splitviewpanetoggle{color:#fff;background-color:transparent}.win-ui-dark button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,.win-ui-dark button.win-splitviewpanetoggle:active{color:#fff;background-color:rgba(255,255,255,.2)}.win-ui-dark button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted #fff}html.win-hoverable .win-ui-dark .win-itemcontainer .win-itembox:hover::before,html.win-hoverable .win-ui-dark .win-listview .win-itembox:hover::before,html.win-hoverable .win-ui-dark .win-toggleswitch-off:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:#fff}.win-ui-dark button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,.win-ui-dark button.win-splitviewpanetoggle:disabled,.win-ui-dark button.win-splitviewpanetoggle:disabled:active{color:rgba(255,255,255,.2);background-color:transparent}html.win-hoverable .win-ui-dark .win-selectionstylefilled .win-container:hover .win-itembox,html.win-hoverable .win-ui-dark .win-selectionstylefilled.win-container:hover .win-itembox{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,html.win-hoverable .win-ui-dark .win-toggleswitch:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed).win-toggleswitch-on .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb{background-color:#fff}html.win-hoverable .win-ui-dark button:hover.win-semanticzoom-button{background-color:#d8d8d8}html.win-hoverable .win-ui-dark .win-pivot .win-pivot-navbutton:hover{color:rgba(255,255,255,.6)}html.win-hoverable .win-ui-dark .win-pivot button.win-pivot-header:hover{color:baseMediumHigh}html.win-hoverable .win-ui-dark button.win-hub-section-header-tabstop:hover{color:#fff}html.win-hoverable .win-ui-dark button.win-hub-section-header-tabstop.win-hub-section-header-interactive:hover{color:rgba(255,255,255,.8)}html.win-hoverable .win-ui-dark .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-dark .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-ui-dark.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark button.win-command:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark button.win-command:enabled:hover,html.win-hoverable .win-ui-dark button.win-command:enabled:hover .win-commandglyph,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-ui-dark.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-menu button.win-command:enabled:hover{background-color:rgba(255,255,255,.1);color:#fff}html.win-hoverable .win-ui-dark button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable .win-ui-dark .win-autosuggestbox-suggestion-query:hover,html.win-hoverable .win-ui-dark .win-autosuggestbox-suggestion-result:hover,html.win-hoverable .win-ui-dark .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable .win-ui-dark.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:rgba(255,255,255,.1)}html.win-hoverable .win-ui-dark button:enabled[aria-checked=true].win-command:hover:active:before{opacity:.9}html.win-hoverable .win-ui-dark .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-ui-dark.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis{color:#fff}html.win-hoverable .win-ui-dark .win-searchbox-button:not(.win-searchbox-button-disabled):hover:active{color:#fff}html.win-hoverable .win-ui-dark .win-splitviewcommand-button:hover{background-color:rgba(0,0,0,.1)}html.win-hoverable .win-ui-dark .win-splitviewcommand-button:hover.win-pressed{background-color:rgba(0,0,0,.2)}html.win-hoverable .win-ui-dark .win-navbarcontainer-navarrow:hover{background-color:rgba(255,255,255,.6)}html.win-hoverable .win-ui-dark .win-navbarcommand-button:hover,html.win-hoverable .win-ui-dark .win-navbarcommand-splitbutton:hover{background-color:rgba(0,0,0,.19)}html.win-hoverable .win-ui-dark .win-navbarcommand-button:hover.win-pressed,html.win-hoverable .win-ui-dark .win-navbarcommand-splitbutton:hover.win-pressed{background-color:rgba(0,0,0,.28)}html.win-hoverable .win-ui-dark button.win-splitviewpanetoggle:hover{color:#fff;background-color:rgba(255,255,255,.1)}@media (-ms-high-contrast){::selection{background-color:Highlight;color:HighlightText}.win-link{color:-ms-hotlight}.win-link:active{color:Highlight}.win-link[disabled]{color:GrayText}.win-checkbox::-ms-check,.win-radio::-ms-check{background-color:ButtonFace;border-color:ButtonText;color:HighlightText}.win-checkbox:indeterminate::-ms-check,.win-radio:indeterminate::-ms-check{background-color:Highlight;border-color:ButtonText;color:ButtonText}.win-checkbox:checked::-ms-check,.win-radio:checked::-ms-check{background-color:Highlight;border-color:HighlightText}.win-checkbox:hover::-ms-check,.win-radio:hover::-ms-check{border-color:Highlight}.win-checkbox:-ms-keyboard-active::-ms-check,.win-checkbox:hover:active::-ms-check,.win-radio:-ms-keyboard-active::-ms-check,.win-radio:hover:active::-ms-check{border-color:Highlight}.win-checkbox:disabled::-ms-check,.win-checkbox:disabled:active::-ms-check,.win-radio:disabled::-ms-check,.win-radio:disabled:active::-ms-check{background-color:ButtonFace;border-color:GrayText;color:GrayText}.win-progress-bar,.win-progress-ring,.win-ring{background-color:ButtonFace;color:Highlight}.win-progress-bar::-ms-fill,.win-progress-ring::-ms-fill,.win-ring::-ms-fill{background-color:Highlight}.win-progress-bar.win-paused:not(:indeterminate)::-ms-fill,.win-progress-ring.win-paused:not(:indeterminate)::-ms-fill,.win-ring.win-paused:not(:indeterminate)::-ms-fill{background-color:GrayText}.win-progress-bar.win-paused:not(:indeterminate),.win-progress-ring.win-paused:not(:indeterminate),.win-ring.win-paused:not(:indeterminate){animation-name:none;opacity:1}.win-button{border-color:ButtonText;color:ButtonText}.win-button:active,.win-button:hover{border-color:Highlight;color:Highlight}.win-button:disabled{border-color:GrayText;color:GrayText}.win-dropdown{background-color:ButtonFace;border-color:ButtonText;color:WindowText}.win-dropdown:active,.win-dropdown:hover{border-color:Highlight}.win-dropdown:disabled{border-color:GrayText;color:GrayText}.win-dropdown::-ms-expand{color:ButtonText}.win-dropdown:disabled::-ms-expand{color:GrayText}.win-dropdown option{background-color:ButtonFace;color:ButtonText}.win-dropdown option:active,.win-dropdown option:checked,.win-dropdown option:hover{background-color:Highlight;color:HighlightText}.win-dropdown option:disabled,select[multiple].win-dropdown:disabled option{background-color:ButtonFace;color:GrayText}select[multiple].win-dropdown{border:none}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before,button[aria-checked=true].win-command:before{height:100%;width:100%;content:"";box-sizing:content-box;border-width:1px;border-style:solid;top:-1px;left:-1px;position:absolute}select[multiple].win-dropdown:disabled option:checked{background-color:GrayText;color:ButtonFace}.win-slider::-ms-track{color:transparent}.win-slider::-ms-ticks-after,.win-slider::-ms-ticks-before{color:ButtonText}.win-slider::-ms-fill-lower{background-color:Highlight}.win-slider::-ms-fill-upper{background-color:ButtonText}.win-slider::-ms-thumb{background-color:ButtonText}.win-slider:hover::-ms-thumb{background-color:Highlight}.win-slider:active::-ms-thumb{background-color:Highlight}.win-slider:disabled::-ms-fill-lower,.win-slider:disabled::-ms-fill-upper,.win-slider:disabled::-ms-thumb{background-color:GrayText}.win-textarea,.win-textbox{border-color:ButtonText;color:ButtonText}.win-textarea:active,.win-textarea:focus,.win-textarea:hover,.win-textbox:active,.win-textbox:focus,.win-textbox:hover{border-color:Highlight}.win-textarea:disabled,.win-textbox:disabled{border-color:GrayText;color:GrayText}.win-textarea:-ms-input-placeholder,.win-textbox:-ms-input-placeholder{color:WindowText}.win-textarea::-ms-input-placeholder,.win-textbox::-ms-input-placeholder{color:WindowText}.win-textarea:disabled:-ms-input-placeholder,.win-textbox:disabled:-ms-input-placeholder{color:GrayText}.win-textarea:disabled::-ms-input-placeholder,.win-textbox:disabled::-ms-input-placeholder{color:GrayText}.win-textbox::-ms-clear,.win-textbox::-ms-reveal{background-color:ButtonFace;color:ButtonText}.win-textbox::-ms-clear:hover,.win-textbox::-ms-reveal:hover{color:Highlight}.win-textbox::-ms-clear:active,.win-textbox::-ms-reveal:active{background-color:Highlight;color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-thumb,.win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-header,.win-toggleswitch-value{color:HighlightText}.win-toggleswitch-off .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-pressed .win-toggleswitch-track{border-color:Highlight;background-color:Highlight}.win-toggleswitch-disabled .win-toggleswitch-header,.win-toggleswitch-disabled .win-toggleswitch-value{color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:GrayText}.win-toggleswitch-disabled .win-toggleswitch-track{border-color:GrayText}.win-toggleswitch-on .win-toggleswitch-thumb{background-color:HighlightText}.win-toggleswitch-on .win-toggleswitch-track{border-color:HighlightText}.win-toggleswitch-on.win-toggleswitch-pressed .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-thumb{background-color:Background}.win-toggleswitch-on.win-toggleswitch-disabled .win-toggleswitch-track{background-color:GrayText;border-color:GrayText}.win-toggleswitch-off.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-thumb,.win-toggleswitch-on.win-toggleswitch-enabled:not(.win-toggleswitch-pressed) .win-toggleswitch-track{background-color:Highlight}.win-toggleswitch-enabled .win-toggleswitch-clickregion:hover .win-toggleswitch-track{border-color:Highlight}.win-pivot .win-pivot-title{color:WindowText}.win-pivot .win-pivot-navbutton{background-color:Highlight;color:HighlightText}.win-pivot .win-pivot-navbutton.win-pivot-navbutton:hover:active{color:HighlightText}.win-pivot button.win-pivot-header{color:HighlightText;background-color:transparent}.win-pivot button.win-pivot-header.win-pivot-header:hover:active,.win-pivot button.win-pivot-header:focus{color:HighlightText}.win-pivot button.win-pivot-header.win-pivot-header-selected{color:HighlightText;background-color:Highlight}.win-pivot-header[disabled]{color:GrayText}.win-commandimage,button:enabled:active .win-commandimage,button:enabled:hover:active .win-commandimage{color:ButtonText}.win-overlay{outline:0}hr.win-command{background-color:ButtonText}button.win-command,div.win-command{border-color:transparent;background-color:transparent}button.win-command:hover:active,div.win-command:hover:active{border-color:transparent}button:enabled.win-command.win-command.win-keyboard:hover:focus,button:enabled.win-command.win-keyboard:focus,div.win-command.win-command.win-keyboard:hover:focus,div.win-command.win-keyboard:focus{border-color:ButtonText}button.win-command.win-command:enabled:active,button.win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}button:disabled .win-commandimage,button:disabled:active .win-commandimage{color:GrayText}button .win-label,button[aria-checked=true]:enabled .win-commandimage,button[aria-checked=true]:enabled .win-label,button[aria-checked=true]:enabled:hover:active .win-commandimage.win-commandimage{color:ButtonText}button[aria-checked=true]:-ms-keyboard-active .win-commandimage{color:ButtonText}button[aria-checked=true].win-command:before{opacity:1}button.win-command:enabled:-ms-keyboard-active{background-color:Highlight;color:ButtonText}button[aria-checked=true].win-command:enabled:hover:active{background-color:transparent}button.win-command:disabled,button.win-command:disabled:hover:active{background-color:transparent;border-color:transparent}button.win-command:disabled .win-label,button.win-command:disabled:active .win-label{color:GrayText}.win-navbar{background-color:ButtonFace;border-color:Highlight}.win-navbar.win-menulayout .win-navbar-menu,.win-navbar.win-menulayout .win-toolbar{background-color:inherit}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton{background-color:transparent;outline:0;border-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:-ms-keyboard-active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled .win-navbar-ellipsis{color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:enabled.win-keyboard:focus{border-color:ButtonText}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:active,.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled:hover:active{background-color:transparent}.win-navbar button.win-navbar-invokebutton.win-navbar-invokebutton:disabled .win-navbar-ellipsis{color:GrayText}.win-menu button,.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active .win-navbar-ellipsis{color:ButtonText}.win-navbar.win-navbar-closed button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-closing button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opened button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active,.win-navbar.win-navbar-opening button.win-navbar-invokebutton.win-navbar-invokebutton:enabled:hover:active{background-color:Highlight}.win-flyout,.win-settingsflyout{background-color:ButtonFace}.win-menu button{background-color:transparent}.win-menu button.win-command.win-command:enabled:hover:active,.win-menu button[aria-checked=true].win-command.win-command:enabled:hover:active{background-color:Highlight;color:ButtonText}.win-menu-containsflyoutcommand button.win-command-flyout-activated:before{opacity:.4}.win-menu button[aria-checked=true].win-command:before{background-color:transparent;border-color:transparent}.win-menu button:disabled,.win-menu button:disabled:active{background-color:transparent;color:GrayText}button[aria-checked=true].win-command:before{border-color:Highlight;background-color:Highlight}.win-commandingsurface .win-commandingsurface-actionarea,.win-commandingsurface .win-commandingsurface-overflowarea{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton{background-color:ButtonFace;border-color:transparent}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled:-ms-keyboard-active{background-color:ButtonFace}.win-commandingsurface button.win-commandingsurface-overflowbutton:enabled .win-commandingsurface-ellipsis{color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-keyboard:focus{border-color:ButtonText}.win-commandingsurface button.win-commandingsurface-overflowbutton.win-commandingsurface-overflowbutton:hover:active{background-color:Highlight}.win-commandingsurface .win-commandingsurface-overflowarea button:enabled.win-command:hover:active{color:ButtonText;background-color:Highlight}.win-commandingsurface.win-commandingsurface-opened .win-commandingsurface-insetoutline{display:block;border:1px solid ButtonText;pointer-events:none;background-color:transparent;z-index:1;position:absolute;top:0;left:0;height:calc(100% - 2px);width:calc(100% - 2px)}.win-commandingsurface.win-commandingsurface-closed .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-closing .win-commandingsurface-insetoutline,.win-commandingsurface.win-commandingsurface-opening .win-commandingsurface-insetoutline{display:none}.win-contentdialog-dialog{background-color:Window}.win-contentdialog-content,.win-contentdialog-title{color:WindowText}.win-contentdialog-backgroundoverlay{background-color:Window;opacity:.6}.win-splitview-pane{background-color:ButtonFace}.win-splitview.win-splitview-pane-opened .win-splitview-paneoutline{display:block;border-color:ButtonText}.win-splitview.win-splitview-animating .win-splitview-paneoutline{display:none}button.win-splitviewpanetoggle{color:ButtonText;background-color:transparent}button.win-splitviewpanetoggle.win-splitviewpanetoggle:active:hover,button.win-splitviewpanetoggle:active{color:ButtonText;background-color:Highlight}button.win-splitviewpanetoggle.win-keyboard:focus{border:1px dotted ButtonText}button.win-splitviewpanetoggle.win-splitviewpanetoggle:disabled:hover,button.win-splitviewpanetoggle:disabled,button.win-splitviewpanetoggle:disabled:active{color:GrayText;background-color:transparent}html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable button.win-command:enabled:hover .win-commandglyph,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover .win-commandingsurface-ellipsis,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover .win-navbar-ellipsis{color:HighlightText}html.win-hoverable .win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable .win-navbar button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:disabled:hover,html.win-hoverable.win-navbar button.win-navbar-invokebutton:enabled:hover{background-color:transparent}html.win-hoverable .win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable .win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover,html.win-hoverable button.win-command:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closed button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-closing button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opened button.win-navbar-invokebutton:enabled:hover,html.win-hoverable.win-navbar.win-navbar-opening button.win-navbar-invokebutton:enabled:hover{background-color:Highlight}html.win-hoverable .win-menu button.win-command:enabled:hover{background-color:Highlight;color:HighlightText}html.win-hoverable button[aria-checked=true].win-command:hover{background-color:transparent}html.win-hoverable button:enabled[aria-checked=true].win-command:hover:active:before,html.win-hoverable button:enabled[aria-checked=true].win-command:hover:before{opacity:1}html.win-hoverable .win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable .win-commandingsurface button.win-commandingsurface-overflowbutton:hover,html.win-hoverable.win-commandingsurface .win-commandingsurface-overflowarea button.win-command:hover,html.win-hoverable.win-commandingsurface button.win-commandingsurface-overflowbutton:hover{background-color:Highlight}html.win-hoverable button.win-splitviewpanetoggle:hover{color:ButtonText;background-color:Highlight}} \ No newline at end of file diff --git a/js/base.js b/js/base.js index 9e44f5b..dc19ce4 100644 --- a/js/base.js +++ b/js/base.js @@ -12,7 +12,7 @@ // amd define([], factory); } else { - globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.0.winjs.2015.10.2 base.js,StartTM'); + globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.2.winjs.2017.3.14 base.js,StartTM'); if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { // CommonJS factory(); @@ -20,7 +20,7 @@ // No module system factory(globalObject.WinJS); } - globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.0.winjs.2015.10.2 base.js,StopTM'); + globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.2.winjs.2017.3.14 base.js,StopTM'); } }(function (WinJS) { @@ -1235,6 +1235,10 @@ define('require-json!strings/en-us/Microsoft.WinJS.resjson',{ "_ui/appBarIcons/fontsize.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/cellphone": "\uE1C9", // group:Communications "_ui/appBarIcons/cellphone.comment": "{Locked=qps-ploc,qps-plocm}", + "ui/appBarIcons/print": "\uE749", // group:Communications + "_ui/appBarIcons/print.comment": "{Locked=qps-ploc,qps-plocm}", + "ui/appBarIcons/share": "\uE72D", // group:Communications + "_ui/appBarIcons/share.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/reshare": "\uE1CA", // group:Communications "_ui/appBarIcons/reshare.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/tag": "\uE1CB", // group:Data @@ -5198,7 +5202,7 @@ define('WinJS/Core/_BaseUtils',[ _traceAsyncCallbackStarting: _Trace._traceAsyncCallbackStarting, _traceAsyncCallbackCompleted: _Trace._traceAsyncCallbackCompleted, - _version: "4.4.0" + _version: "4.4.2" }); _Base.Namespace._moduleDefine(exports, "WinJS", { @@ -6219,7 +6223,7 @@ define('WinJS/Utilities/_ElementUtilities',[ _resizeEvent: { get: function () { return 'WinJSElementResize'; } } } ); - + // - object: The object on which GenericListener will listen for events. // - objectName: A string representing the name of *object*. This will be // incorporated into the names of the events and classNames created by @@ -7523,18 +7527,9 @@ define('WinJS/Utilities/_ElementUtilities',[ return 0; } - var left = element.offsetLeft; - var e = element.parentNode; - while (e) { - left -= e.offsetLeft; - - if (e === parent) { - break; - } - e = e.parentNode; - } - - return left; + var elementPosition = exports._getPositionRelativeTo(element, null); + var parentPosition = exports._getPositionRelativeTo(parent, null); + return elementPosition.left - parentPosition.left; }, getRelativeTop: function (element, parent) { @@ -7556,18 +7551,9 @@ define('WinJS/Utilities/_ElementUtilities',[ return 0; } - var top = element.offsetTop; - var e = element.parentNode; - while (e) { - top -= e.offsetTop; - - if (e === parent) { - break; - } - e = e.parentNode; - } - - return top; + var elementPosition = exports._getPositionRelativeTo(element, null); + var parentPosition = exports._getPositionRelativeTo(parent, null); + return elementPosition.top - parentPosition.top; }, getScrollPosition: getScrollPosition, @@ -12704,6 +12690,7 @@ define('WinJS/Utilities',[ //wrapper module }); +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. define('WinJS/XYFocus',["require", "exports", "./Core/_Global", "./Core/_Base", "./Core/_BaseUtils", "./Utilities/_ElementUtilities", "./Core/_Events", "./ControlProcessor/_OptionsParser"], function (require, exports, _Global, _Base, _BaseUtils, _ElementUtilities, _Events, _OptionsParser) { "use strict"; var Keys = _ElementUtilities.Key; @@ -13149,6 +13136,9 @@ define('WinJS/XYFocus',["require", "exports", "./Core/_Global", "./Core/_Base", return container && !_ElementUtilities.hasClass(container, ClassNames.toggleModeActive); } function _isToggleMode(element) { + if (_ElementUtilities.hasClass(_Global.document.body, ClassNames.xboxPlatform)) { + return false; + } if (_ElementUtilities.hasClass(element, ClassNames.toggleMode)) { return true; } diff --git a/js/base.min.js b/js/base.min.js index 58ab33f..60f2e36 100644 --- a/js/base.min.js +++ b/js/base.min.js @@ -1,13 +1,13 @@ /*! Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ -!function(){var globalObject="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};!function(a){"function"==typeof define&&define.amd?define([],a):(globalObject.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.0.winjs.2015.10.2 base.js,StartTM"),"object"==typeof exports&&"string"!=typeof exports.nodeName?a():a(globalObject.WinJS),globalObject.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.0.winjs.2015.10.2 base.js,StopTM"))}(function(WinJS){var require,define;return function(){"use strict";function a(a,b){a=a||"";var c=a.split("/");return c.pop(),b.map(function(a){if("."===a[0]){var b=a.split("/"),d=c.slice(0);return b.forEach(function(a){".."===a?d.pop():"."!==a&&d.push(a)}),d.join("/")}return a})}function b(b,e,f){return b.map(function(b){if("exports"===b)return f;if("require"===b)return function(b,c){require(a(e,b),c)};var g=d[b];if(!g)throw new Error("Undefined dependency: "+b);return g.resolved||(g.resolved=c(g.dependencies,g.factory,b,g.exports),"undefined"==typeof g.resolved&&(g.resolved=g.exports)),g.resolved})}function c(a,c,d,e){var f=b(a,d,e);return c&&c.apply?c.apply(null,f):c}var d={};define=function(b,c,e){Array.isArray(c)||(e=c,c=[]);var f={dependencies:a(b,c),factory:e};-1!==c.indexOf("exports")&&(f.exports={}),d[b]=f},require=function(a,b){Array.isArray(a)||(a=[a]),c(a,b)}}(),define("amd",function(){}),define("WinJS/Core/_WinJS",{}),define("WinJS/Core/_Global",[],function(){"use strict";var a="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};return a}),define("WinJS/Core/_BaseCoreUtils",["./_Global"],function(a){"use strict";function b(a){return a.supportedForProcessing=!0,a}var c=!!a.Windows;return{hasWinRT:c,markSupportedForProcessing:b,_setImmediate:a.setImmediate?a.setImmediate.bind(a):function(b){a.setTimeout(b,0)}}}),define("WinJS/Core/_WriteProfilerMark",["./_Global"],function(a){"use strict";return a.msWriteProfilerMark||function(){}}),define("WinJS/Core/_Base",["./_WinJS","./_Global","./_BaseCoreUtils","./_WriteProfilerMark"],function(a,b,c,d){"use strict";function e(a,b,c){var d,e,f,g=Object.keys(b),h=Array.isArray(a);for(e=0,f=g.length;f>e;e++){var i=g[e],j=95!==i.charCodeAt(0),k=b[i];!k||"object"!=typeof k||void 0===k.value&&"function"!=typeof k.get&&"function"!=typeof k.set?j?h?a.forEach(function(a){a[i]=k}):a[i]=k:(d=d||{},d[i]={value:k,enumerable:j,configurable:!0,writable:!0}):(void 0===k.enumerable&&(k.enumerable=j),c&&k.setName&&"function"==typeof k.setName&&k.setName(c+"."+i),d=d||{},d[i]=k)}d&&(h?a.forEach(function(a){Object.defineProperties(a,d)}):Object.defineProperties(a,d))}return function(){function c(c,d){var e=c||{};if(d){var f=d.split(".");e===b&&"WinJS"===f[0]&&(e=a,f.splice(0,1));for(var g=0,h=f.length;h>g;g++){var i=f[g];e[i]||Object.defineProperty(e,i,{value:{},writable:!1,enumerable:!0,configurable:!0}),e=e[i]}}return e}function f(a,b,d){var f=c(a,b);return d&&e(f,d,b||""),f}function g(a,c){return f(b,a,c)}function h(a){var b,c,e=k.uninitialized;return{setName:function(a){b=a},get:function(){switch(e){case k.initialized:return c;case k.uninitialized:e=k.working;try{d("WinJS.Namespace._lazy:"+b+",StartTM"),c=a()}finally{d("WinJS.Namespace._lazy:"+b+",StopTM"),e=k.uninitialized}return a=null,e=k.initialized,c;case k.working:throw"Illegal: reentrancy on initialization";default:throw"Illegal"}},set:function(a){switch(e){case k.working:throw"Illegal: reentrancy on initialization";default:e=k.initialized,c=a}},enumerable:!0,configurable:!0}}function i(a,d,f){var g=[a],h=null;return d&&(h=c(b,d),g.push(h)),e(g,f,d||""),h}var j=a;j.Namespace||(j.Namespace=Object.create(Object.prototype));var k={uninitialized:1,working:2,initialized:3};Object.defineProperties(j.Namespace,{defineWithParent:{value:f,writable:!0,enumerable:!0,configurable:!0},define:{value:g,writable:!0,enumerable:!0,configurable:!0},_lazy:{value:h,writable:!0,enumerable:!0,configurable:!0},_moduleDefine:{value:i,writable:!0,enumerable:!0,configurable:!0}})}(),function(){function b(a,b,d){return a=a||function(){},c.markSupportedForProcessing(a),b&&e(a.prototype,b),d&&e(a,d),a}function d(a,d,f,g){if(a){d=d||function(){};var h=a.prototype;return d.prototype=Object.create(h),c.markSupportedForProcessing(d),Object.defineProperty(d.prototype,"constructor",{value:d,writable:!0,configurable:!0,enumerable:!0}),f&&e(d.prototype,f),g&&e(d,g),d}return b(d,f,g)}function f(a){a=a||function(){};var b,c;for(b=1,c=arguments.length;c>b;b++)e(a.prototype,arguments[b]);return a}a.Namespace.define("WinJS.Class",{define:b,derive:d,mix:f})}(),{Namespace:a.Namespace,Class:a.Class}}),define("WinJS/Core/_ErrorFromName",["./_Base"],function(a){"use strict";var b=a.Class.derive(Error,function(a,b){this.name=a,this.message=b||a},{},{supportedForProcessing:!1});return a.Namespace.define("WinJS",{ErrorFromName:b}),b}),define("WinJS/Core/_WinRT",["exports","./_Global","./_Base"],function(a,b,c){"use strict";a.msGetWeakWinRTProperty=b.msGetWeakWinRTProperty,a.msSetWeakWinRTProperty=b.msSetWeakWinRTProperty;var d=["Windows.ApplicationModel.DesignMode.designModeEnabled","Windows.ApplicationModel.Resources.Core.ResourceContext","Windows.ApplicationModel.Resources.Core.ResourceManager","Windows.ApplicationModel.Search.SearchQueryLinguisticDetails","Windows.Data.Text.SemanticTextQuery","Windows.Foundation.Collections.CollectionChange","Windows.Foundation.Diagnostics","Windows.Foundation.Uri","Windows.Globalization.ApplicationLanguages","Windows.Globalization.Calendar","Windows.Globalization.DateTimeFormatting","Windows.Globalization.Language","Windows.Phone.UI.Input.HardwareButtons","Windows.Storage.ApplicationData","Windows.Storage.CreationCollisionOption","Windows.Storage.BulkAccess.FileInformationFactory","Windows.Storage.FileIO","Windows.Storage.FileProperties.ThumbnailType","Windows.Storage.FileProperties.ThumbnailMode","Windows.Storage.FileProperties.ThumbnailOptions","Windows.Storage.KnownFolders","Windows.Storage.Search.FolderDepth","Windows.Storage.Search.IndexerOption","Windows.Storage.Streams.RandomAccessStreamReference","Windows.UI.ApplicationSettings.SettingsEdgeLocation","Windows.UI.ApplicationSettings.SettingsCommand","Windows.UI.ApplicationSettings.SettingsPane","Windows.UI.Core.AnimationMetrics","Windows.UI.Core.SystemNavigationManager","Windows.UI.Input.EdgeGesture","Windows.UI.Input.EdgeGestureKind","Windows.UI.Input.PointerPoint","Windows.UI.ViewManagement.HandPreference","Windows.UI.ViewManagement.InputPane","Windows.UI.ViewManagement.UIColorType","Windows.UI.ViewManagement.UISettings","Windows.UI.WebUI.Core.WebUICommandBar","Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon","Windows.UI.WebUI.Core.WebUICommandBarClosedDisplayMode","Windows.UI.WebUI.Core.WebUICommandBarIconButton","Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon","Windows.UI.WebUI.WebUIApplication"],e=!1;try{b.Windows.UI.ViewManagement.InputPane.getForCurrentView(),e=!0}catch(f){}d.forEach(function(d){var f=d.split("."),g={};g[f[f.length-1]]={get:function(){return e?f.reduce(function(a,b){return a?a[b]:null},b):null}},c.Namespace.defineWithParent(a,f.slice(0,-1).join("."),g)})}),define("WinJS/Core/_Events",["exports","./_Base"],function(a,b){"use strict";function c(a){var b="_on"+a+"state";return{get:function(){var a=this[b];return a&&a.userHandler},set:function(c){var d=this[b];c?(d||(d={wrapper:function(a){return d.userHandler(a)},userHandler:c},Object.defineProperty(this,b,{value:d,enumerable:!1,writable:!0,configurable:!0}),this.addEventListener(a,d.wrapper,!1)),d.userHandler=c):d&&(this.removeEventListener(a,d.wrapper,!1),this[b]=null)},enumerable:!0}}function d(){for(var a={},b=0,d=arguments.length;d>b;b++){var e=arguments[b];a["on"+e]=c(e)}return a}var e=b.Class.define(function(a,b,c){this.detail=b,this.target=c,this.timeStamp=Date.now(),this.type=a},{bubbles:{value:!1,writable:!1},cancelable:{value:!1,writable:!1},currentTarget:{get:function(){return this.target}},defaultPrevented:{get:function(){return this._preventDefaultCalled}},trusted:{value:!1,writable:!1},eventPhase:{value:0,writable:!1},target:null,timeStamp:null,type:null,preventDefault:function(){this._preventDefaultCalled=!0},stopImmediatePropagation:function(){this._stopImmediatePropagationCalled=!0},stopPropagation:function(){}},{supportedForProcessing:!1}),f={_listeners:null,addEventListener:function(a,b,c){c=c||!1,this._listeners=this._listeners||{};for(var d=this._listeners[a]=this._listeners[a]||[],e=0,f=d.length;f>e;e++){var g=d[e];if(g.useCapture===c&&g.listener===b)return}d.push({listener:b,useCapture:c})},dispatchEvent:function(a,b){var c=this._listeners&&this._listeners[a];if(c){var d=new e(a,b,this);c=c.slice(0,c.length);for(var f=0,g=c.length;g>f&&!d._stopImmediatePropagationCalled;f++)c[f].listener(d);return d.defaultPrevented||!1}return!1},removeEventListener:function(a,b,c){c=c||!1;var d=this._listeners&&this._listeners[a];if(d)for(var e=0,f=d.length;f>e;e++){var g=d[e];if(g.listener===b&&g.useCapture===c){d.splice(e,1),0===d.length&&delete this._listeners[a];break}}}};b.Namespace._moduleDefine(a,"WinJS.Utilities",{_createEventProperty:c,createEventProperties:d,eventMixin:f})}),define("require-json",{load:function(a){throw new Error("Dynamic load not allowed: "+a)}}),define("require-json!strings/en-us/Microsoft.WinJS.resjson",{"tv/scrollViewerPageDown":"Page Down","tv/scrollViewerPageUp":"Page Up","ui/appBarAriaLabel":"App Bar","ui/appBarCommandAriaLabel":"App Bar Item","ui/appBarOverflowButtonAriaLabel":"View more","ui/autoSuggestBoxAriaLabel":"Autosuggestbox","ui/autoSuggestBoxAriaLabelInputNoPlaceHolder":"Autosuggestbox, enter to submit query, esc to clear text","ui/autoSuggestBoxAriaLabelInputPlaceHolder":"Autosuggestbox, {0}, enter to submit query, esc to clear text","ui/autoSuggestBoxAriaLabelQuery":"Suggestion: {0}","_ui/autoSuggestBoxAriaLabelQuery.comment":"Suggestion: query text (example: Suggestion: contoso)","ui/autoSuggestBoxAriaLabelSeparator":"Separator: {0}","_ui/autoSuggestBoxAriaLabelSeparator.comment":"Separator: separator text (example: Separator: People or Separator: Apps)","ui/autoSuggestBoxAriaLabelResult":"Result: {0}, {1}","_ui/autoSuggestBoxAriaLabelResult.comment":"Result: text, detailed text (example: Result: contoso, www.contoso.com)","ui/averageRating":"Average Rating","ui/backbuttonarialabel":"Back","ui/chapterSkipBackMediaCommandDisplayText":"Chapter back","ui/chapterSkipForwardMediaCommandDisplayText":"Chapter forward","ui/clearYourRating":"Clear your rating","ui/closedCaptionsLabelNone":"Off","ui/closedCaptionsMediaCommandDisplayText":"Closed captioning","ui/closeOverlay":"Close","ui/commandingSurfaceAriaLabel":"CommandingSurface","ui/commandingSurfaceOverflowButtonAriaLabel":"View more","ui/datePicker":"Date Picker","ui/fastForwardMediaCommandDisplayText":"Fast forward","ui/fastForwardFeedbackDisplayText":" {0}X","ui/fastForwardFeedbackSlowMotionDisplayText":"0.5X","ui/flipViewPanningContainerAriaLabel":"Scrolling Container","ui/flyoutAriaLabel":"Flyout","ui/goToFullScreenButtonLabel":"Go full screen","ui/goToLiveMediaCommandDisplayText":"LIVE","ui/hubViewportAriaLabel":"Scrolling Container","ui/listViewViewportAriaLabel":"Scrolling Container","ui/mediaErrorAborted":"Playback was interrupted. Please try again.","ui/mediaErrorNetwork":"There was a network connection error.","ui/mediaErrorDecode":"The content could not be decoded","ui/mediaErrorSourceNotSupported":"This content type is not supported.","ui/mediaErrorUnknown":"There was an unknown error.","ui/mediaPlayerAudioTracksButtonLabel":"Audio tracks","ui/mediaPlayerCastButtonLabel":"Cast","ui/mediaPlayerChapterSkipBackButtonLabel":"Previous","ui/mediaPlayerChapterSkipForwardButtonLabel":"Next","ui/mediaPlayerClosedCaptionsButtonLabel":"Closed captions","ui/mediaPlayerFastForwardButtonLabel":"Fast forward","ui/mediaPlayerFullscreenButtonLabel":"Fullscreen","ui/mediaPlayerLiveButtonLabel":"LIVE","ui/mediaPlayerNextTrackButtonLabel":"Next","ui/mediaPlayerOverlayActiveOptionIndicator":"(On)","ui/mediaPlayerPauseButtonLabel":"Pause","ui/mediaPlayerPlayButtonLabel":"Play","ui/mediaPlayerPlayFromBeginningButtonLabel":"Replay","ui/mediaPlayerPlayRateButtonLabel":"Playback rate","ui/mediaPlayerPreviousTrackButtonLabel":"Previous","ui/mediaPlayerRewindButtonLabel":"Rewind","ui/mediaPlayerStopButtonLabel":"Stop","ui/mediaPlayerTimeSkipBackButtonLabel":"8 second replay","ui/mediaPlayerTimeSkipForwardButtonLabel":"30 second skip","ui/mediaPlayerToggleSnapButtonLabel":"Snap","ui/mediaPlayerVolumeButtonLabel":"Volume","ui/mediaPlayerZoomButtonLabel":"Zoom","ui/menuCommandAriaLabel":"Menu Item","ui/menuAriaLabel":"Menu","ui/navBarContainerViewportAriaLabel":"Scrolling Container","ui/nextTrackMediaCommandDisplayText":"Next track","ui/off":"Off","ui/on":"On","ui/pauseMediaCommandDisplayText":"Pause","ui/playFromBeginningMediaCommandDisplayText":"Play again","ui/playbackRateHalfSpeedLabel":"0.5x","ui/playbackRateNormalSpeedLabel":"Normal","ui/playbackRateOneAndHalfSpeedLabel":"1.5x","ui/playbackRateDoubleSpeedLabel":"2x","ui/playMediaCommandDisplayText":"Play","ui/pivotAriaLabel":"Pivot","ui/pivotViewportAriaLabel":"Scrolling Container","ui/replayMediaCommandDisplayText":"Play again","ui/rewindMediaCommandDisplayText":"Rewind","ui/rewindFeedbackDisplayText":" {0}X","ui/rewindFeedbackSlowMotionDisplayText":"0.5X","ui/searchBoxAriaLabel":"Searchbox","ui/searchBoxAriaLabelInputNoPlaceHolder":"Searchbox, enter to submit query, esc to clear text","ui/searchBoxAriaLabelInputPlaceHolder":"Searchbox, {0}, enter to submit query, esc to clear text","ui/searchBoxAriaLabelButton":"Click to submit query","ui/seeMore":"See more","ui/selectAMPM":"Select A.M P.M","ui/selectDay":"Select Day","ui/selectHour":"Select Hour","ui/selectMinute":"Select Minute","ui/selectMonth":"Select Month","ui/selectYear":"Select Year","ui/settingsFlyoutAriaLabel":"Settings Flyout","ui/stopMediaCommandDisplayText":"Stop","ui/tentativeRating":"Tentative Rating","ui/timePicker":"Time Picker","ui/timeSeparator":":","ui/timeSkipBackMediaCommandDisplayText":"Skip back","ui/timeSkipForwardMediaCommandDisplayText":"Skip forward","ui/toolbarAriaLabel":"ToolBar","ui/toolbarOverflowButtonAriaLabel":"View more","ui/unrated":"Unrated","ui/userRating":"User Rating","ui/zoomMediaCommandDisplayText":"Zoom","ui/appBarIcons/previous":"","_ui/appBarIcons/previous.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/next":"","_ui/appBarIcons/next.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/play":"","_ui/appBarIcons/play.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pause":"","_ui/appBarIcons/pause.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/edit":"","_ui/appBarIcons/edit.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/save":"","_ui/appBarIcons/save.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clear":"","_ui/appBarIcons/clear.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/delete":"","_ui/appBarIcons/delete.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/remove":"","_ui/appBarIcons/remove.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/add":"","_ui/appBarIcons/add.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cancel":"","_ui/appBarIcons/cancel.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/accept":"","_ui/appBarIcons/accept.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/more":"","_ui/appBarIcons/more.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/redo":"","_ui/appBarIcons/redo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/undo":"","_ui/appBarIcons/undo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/home":"","_ui/appBarIcons/home.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/up":"","_ui/appBarIcons/up.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/forward":"","_ui/appBarIcons/forward.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/right":"","_ui/appBarIcons/right.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/back":"","_ui/appBarIcons/back.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/left":"","_ui/appBarIcons/left.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/favorite":"","_ui/appBarIcons/favorite.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/camera":"","_ui/appBarIcons/camera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/settings":"","_ui/appBarIcons/settings.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/video":"","_ui/appBarIcons/video.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/sync":"","_ui/appBarIcons/sync.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/download":"","_ui/appBarIcons/download.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mail":"","_ui/appBarIcons/mail.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/find":"","_ui/appBarIcons/find.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/help":"","_ui/appBarIcons/help.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/upload":"","_ui/appBarIcons/upload.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/emoji":"","_ui/appBarIcons/emoji.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/twopage":"","_ui/appBarIcons/twopage.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/leavechat":"","_ui/appBarIcons/leavechat.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailforward":"","_ui/appBarIcons/mailforward.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clock":"","_ui/appBarIcons/clock.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/send":"","_ui/appBarIcons/send.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/crop":"","_ui/appBarIcons/crop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rotatecamera":"","_ui/appBarIcons/rotatecamera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/people":"","_ui/appBarIcons/people.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/closepane":"","_ui/appBarIcons/closepane.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openpane":"","_ui/appBarIcons/openpane.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/world":"","_ui/appBarIcons/world.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/flag":"","_ui/appBarIcons/flag.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/previewlink":"","_ui/appBarIcons/previewlink.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/globe":"","_ui/appBarIcons/globe.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/trim":"","_ui/appBarIcons/trim.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/attachcamera":"","_ui/appBarIcons/attachcamera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoomin":"","_ui/appBarIcons/zoomin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bookmarks":"","_ui/appBarIcons/bookmarks.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/document":"","_ui/appBarIcons/document.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/protecteddocument":"","_ui/appBarIcons/protecteddocument.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/page":"","_ui/appBarIcons/page.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bullets":"","_ui/appBarIcons/bullets.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/comment":"","_ui/appBarIcons/comment.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mail2":"","_ui/appBarIcons/mail2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contactinfo":"","_ui/appBarIcons/contactinfo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hangup":"","_ui/appBarIcons/hangup.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/viewall":"","_ui/appBarIcons/viewall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mappin":"","_ui/appBarIcons/mappin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/phone":"","_ui/appBarIcons/phone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/videochat":"","_ui/appBarIcons/videochat.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/switch":"","_ui/appBarIcons/switch.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contact":"","_ui/appBarIcons/contact.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rename":"","_ui/appBarIcons/rename.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pin":"","_ui/appBarIcons/pin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/musicinfo":"","_ui/appBarIcons/musicinfo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/go":"","_ui/appBarIcons/go.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/keyboard":"","_ui/appBarIcons/keyboard.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockleft":"","_ui/appBarIcons/dockleft.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockright":"","_ui/appBarIcons/dockright.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockbottom":"","_ui/appBarIcons/dockbottom.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/remote":"","_ui/appBarIcons/remote.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/refresh":"","_ui/appBarIcons/refresh.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rotate":"","_ui/appBarIcons/rotate.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/shuffle":"","_ui/appBarIcons/shuffle.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/list":"","_ui/appBarIcons/list.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/shop":"","_ui/appBarIcons/shop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/selectall":"","_ui/appBarIcons/selectall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/orientation":"","_ui/appBarIcons/orientation.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/import":"","_ui/appBarIcons/import.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/importall":"","_ui/appBarIcons/importall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/browsephotos":"","_ui/appBarIcons/browsephotos.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/webcam":"","_ui/appBarIcons/webcam.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pictures":"","_ui/appBarIcons/pictures.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/savelocal":"","_ui/appBarIcons/savelocal.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/caption":"","_ui/appBarIcons/caption.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/stop":"","_ui/appBarIcons/stop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/showresults":"","_ui/appBarIcons/showresults.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/volume":"","_ui/appBarIcons/volume.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repair":"","_ui/appBarIcons/repair.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/message":"","_ui/appBarIcons/message.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/page2":"","_ui/appBarIcons/page2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarday":"","_ui/appBarIcons/calendarday.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarweek":"","_ui/appBarIcons/calendarweek.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendar":"","_ui/appBarIcons/calendar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/characters":"","_ui/appBarIcons/characters.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailreplyall":"","_ui/appBarIcons/mailreplyall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/read":"","_ui/appBarIcons/read.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/link":"","_ui/appBarIcons/link.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/accounts":"","_ui/appBarIcons/accounts.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/showbcc":"","_ui/appBarIcons/showbcc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hidebcc":"","_ui/appBarIcons/hidebcc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cut":"","_ui/appBarIcons/cut.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/attach":"","_ui/appBarIcons/attach.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/paste":"","_ui/appBarIcons/paste.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/filter":"","_ui/appBarIcons/filter.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/copy":"","_ui/appBarIcons/copy.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/emoji2":"","_ui/appBarIcons/emoji2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/important":"","_ui/appBarIcons/important.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailreply":"","_ui/appBarIcons/mailreply.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/slideshow":"","_ui/appBarIcons/slideshow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/sort":"","_ui/appBarIcons/sort.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/manage":"","_ui/appBarIcons/manage.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/allapps":"","_ui/appBarIcons/allapps.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/disconnectdrive":"","_ui/appBarIcons/disconnectdrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mapdrive":"","_ui/appBarIcons/mapdrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/newwindow":"","_ui/appBarIcons/newwindow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openwith":"","_ui/appBarIcons/openwith.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contactpresence":"","_ui/appBarIcons/contactpresence.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/priority":"","_ui/appBarIcons/priority.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/uploadskydrive":"","_ui/appBarIcons/uploadskydrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/gototoday":"","_ui/appBarIcons/gototoday.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/font":"","_ui/appBarIcons/font.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontcolor":"","_ui/appBarIcons/fontcolor.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contact2":"","_ui/appBarIcons/contact2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/folder":"","_ui/appBarIcons/folder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/audio":"","_ui/appBarIcons/audio.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/placeholder":"","_ui/appBarIcons/placeholder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/view":"","_ui/appBarIcons/view.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/setlockscreen":"","_ui/appBarIcons/setlockscreen.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/settile":"","_ui/appBarIcons/settile.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cc":"","_ui/appBarIcons/cc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/stopslideshow":"","_ui/appBarIcons/stopslideshow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/permissions":"","_ui/appBarIcons/permissions.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/highlight":"","_ui/appBarIcons/highlight.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/disableupdates":"","_ui/appBarIcons/disableupdates.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unfavorite":"","_ui/appBarIcons/unfavorite.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unpin":"","_ui/appBarIcons/unpin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openlocal":"","_ui/appBarIcons/openlocal.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mute":"","_ui/appBarIcons/mute.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/italic":"","_ui/appBarIcons/italic.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/underline":"","_ui/appBarIcons/underline.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bold":"","_ui/appBarIcons/bold.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/movetofolder":"","_ui/appBarIcons/movetofolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/likedislike":"","_ui/appBarIcons/likedislike.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dislike":"","_ui/appBarIcons/dislike.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/like":"","_ui/appBarIcons/like.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/alignright":"","_ui/appBarIcons/alignright.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/aligncenter":"","_ui/appBarIcons/aligncenter.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/alignleft":"","_ui/appBarIcons/alignleft.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoom":"","_ui/appBarIcons/zoom.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoomout":"","_ui/appBarIcons/zoomout.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openfile":"","_ui/appBarIcons/openfile.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/otheruser":"","_ui/appBarIcons/otheruser.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/admin":"","_ui/appBarIcons/admin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/street":"","_ui/appBarIcons/street.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/map":"","_ui/appBarIcons/map.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clearselection":"","_ui/appBarIcons/clearselection.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontdecrease":"","_ui/appBarIcons/fontdecrease.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontincrease":"","_ui/appBarIcons/fontincrease.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontsize":"","_ui/appBarIcons/fontsize.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cellphone":"","_ui/appBarIcons/cellphone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/reshare":"","_ui/appBarIcons/reshare.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/tag":"","_ui/appBarIcons/tag.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repeatone":"","_ui/appBarIcons/repeatone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repeatall":"","_ui/appBarIcons/repeatall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/outlinestar":"","_ui/appBarIcons/outlinestar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/solidstar":"","_ui/appBarIcons/solidstar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calculator":"","_ui/appBarIcons/calculator.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/directions":"","_ui/appBarIcons/directions.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/target":"","_ui/appBarIcons/target.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/library":"","_ui/appBarIcons/library.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/phonebook":"","_ui/appBarIcons/phonebook.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/memo":"","_ui/appBarIcons/memo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/microphone":"","_ui/appBarIcons/microphone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/postupdate":"","_ui/appBarIcons/postupdate.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/backtowindow":"","_ui/appBarIcons/backtowindow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fullscreen":"","_ui/appBarIcons/fullscreen.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/newfolder":"","_ui/appBarIcons/newfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarreply":"","_ui/appBarIcons/calendarreply.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unsyncfolder":"","_ui/appBarIcons/unsyncfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/reporthacked":"","_ui/appBarIcons/reporthacked.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/syncfolder":"","_ui/appBarIcons/syncfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/blockcontact":"","_ui/appBarIcons/blockcontact.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/switchapps":"","_ui/appBarIcons/switchapps.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/addfriend":"","_ui/appBarIcons/addfriend.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/touchpointer":"","_ui/appBarIcons/touchpointer.comment":"{Locked=qps-ploc,qps-plocm}", -"ui/appBarIcons/gotostart":"","_ui/appBarIcons/gotostart.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zerobars":"","_ui/appBarIcons/zerobars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/onebar":"","_ui/appBarIcons/onebar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/twobars":"","_ui/appBarIcons/twobars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/threebars":"","_ui/appBarIcons/threebars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fourbars":"","_ui/appBarIcons/fourbars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/scan":"","_ui/appBarIcons/scan.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/preview":"","_ui/appBarIcons/preview.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hamburger":"","_ui/appBarIcons/hamburger.comment":"{Locked=qps-ploc,qps-plocm}"}),define("WinJS/Core/_Resources",["exports","./_Global","./_WinRT","./_Base","./_Events","require-json!strings/en-us/Microsoft.WinJS.resjson"],function(a,b,c,d,e,f){"use strict";function g(a){var b=s("ms-resource:///Microsoft.WinJS/"+a);return b.empty&&(b=h(a)),b}function h(a){var b=f[a];return"string"==typeof b&&(b={value:b}),b||{value:a,empty:!0}}function i(a){var b=arguments;return b.length>1&&(a=a.replace(/({{)|(}})|{(\d+)}|({)|(})/g,function(a,c,d,e,f,g){if(f||g)throw i(q.malformedFormatStringInput,f||g);return c&&"{"||d&&"}"||b[(0|e)+1]})),a}var j,k,l=!1,m="contextchanged",n=d.Class.mix(d.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),o=new n,p=e._createEventProperty,q={get malformedFormatStringInput(){return"Malformed, did you mean to escape your '{0}'?"}};d.Namespace.define("WinJS.Resources",{_getWinJSString:g}),d.Namespace._moduleDefine(a,"WinJS.Resources",{addEventListener:function(b,d,e){if(c.Windows.ApplicationModel.Resources.Core.ResourceManager&&!l&&b===m)try{var f=a._getResourceContext();f?f.qualifierValues.addEventListener("mapchanged",function(b){a.dispatchEvent(m,{qualifier:b.key,changed:b.target[b.key]})},!1):c.Windows.ApplicationModel.Resources.Core.ResourceManager.current.defaultContext.qualifierValues.addEventListener("mapchanged",function(b){a.dispatchEvent(m,{qualifier:b.key,changed:b.target[b.key]})},!1),l=!0}catch(g){}o.addEventListener(b,d,e)},removeEventListener:o.removeEventListener.bind(o),dispatchEvent:o.dispatchEvent.bind(o),_formatString:i,_getStringWinRT:function(b){if(!j){var d=c.Windows.ApplicationModel.Resources.Core.ResourceManager.current.mainResourceMap;try{j=d.getSubtree("Resources")}catch(e){}j||(j=d)}var f,g,h;try{var i=a._getResourceContext();h=i?j.getValue(b,i):j.getValue(b),h&&(f=h.valueAsString,void 0===f&&(f=h.toString()))}catch(e){}if(!f)return a._getStringJS(b);try{g=h.getQualifierValue("Language")}catch(e){return{value:f}}return{value:f,lang:g}},_getStringJS:function(a){var c=b.strings&&b.strings[a];return"string"==typeof c&&(c={value:c}),c||{value:a,empty:!0}},_getResourceContext:function(){if(b.document&&"undefined"==typeof k){var a=c.Windows.ApplicationModel.Resources.Core.ResourceContext;k=a.getForCurrentView?a.getForCurrentView():null}return k},oncontextchanged:p(m)});var r=c.Windows.ApplicationModel.Resources.Core.ResourceManager?a._getStringWinRT:a._getStringJS,s=function(a){return r(a)};d.Namespace._moduleDefine(a,null,{_formatString:i,_getWinJSString:g}),d.Namespace._moduleDefine(a,"WinJS.Resources",{getString:{get:function(){return s},set:function(a){s=a}}})}),define("WinJS/Core/_Trace",["./_Global"],function(a){"use strict";function b(a){return a}return{_traceAsyncOperationStarting:a.Debug&&a.Debug.msTraceAsyncOperationStarting&&a.Debug.msTraceAsyncOperationStarting.bind(a.Debug)||b,_traceAsyncOperationCompleted:a.Debug&&a.Debug.msTraceAsyncOperationCompleted&&a.Debug.msTraceAsyncOperationCompleted.bind(a.Debug)||b,_traceAsyncCallbackStarting:a.Debug&&a.Debug.msTraceAsyncCallbackStarting&&a.Debug.msTraceAsyncCallbackStarting.bind(a.Debug)||b,_traceAsyncCallbackCompleted:a.Debug&&a.Debug.msTraceAsyncCallbackCompleted&&a.Debug.msTraceAsyncCallbackCompleted.bind(a.Debug)||b}}),define("WinJS/Promise/_StateMachine",["../Core/_Global","../Core/_BaseCoreUtils","../Core/_Base","../Core/_ErrorFromName","../Core/_Events","../Core/_Trace"],function(a,b,c,d,e,f){"use strict";function g(){}function h(a,b){var c;c=b&&"object"==typeof b&&"function"==typeof b.then?I:M,a._value=b,a._setState(c)}function i(a,b,c,d,e,f){return{exception:a,error:b,promise:c,handler:f,id:d,parent:e}}function j(a,b,c,d){var e=c._isException,f=c._errorId;return i(e?b:null,e?null:b,a,f,c,d)}function k(a,b,c){var d=c._isException,e=c._errorId;return u(a,e,d),i(d?b:null,d?null:b,a,e,c)}function l(a,b){var c=++Q;return u(a,c),i(null,b,a,c)}function m(a,b){var c=++Q;return u(a,c,!0),i(b,null,a,c)}function n(a,b,c,d){var e=f._traceAsyncOperationStarting("WinJS.Promise.done");t(a,{c:b,e:c,p:d,asyncOpID:e})}function o(a,b,c,d){a._value=b,r(a,b,c,d),a._setState(O)}function p(b,c){var d=b._value,e=b._listeners;if(e){b._listeners=null;var g,h;for(g=0,h=Array.isArray(e)?e.length:1;h>g;g++){var i=1===h?e:e[g],j=i.c,k=i.promise;if(f._traceAsyncOperationCompleted(i.asyncOpID,a.Debug&&a.Debug.MS_ASYNC_OP_STATUS_SUCCESS),k){f._traceAsyncCallbackStarting(i.asyncOpID);try{k._setCompleteValue(j?j(d):d)}catch(l){k._setExceptionValue(l)}finally{f._traceAsyncCallbackCompleted()}k._state!==I&&k._listeners&&c.push(k)}else W.prototype.done.call(b,j)}}}function q(b,c){var d=b._value,e=b._listeners;if(e){b._listeners=null;var g,h;for(g=0,h=Array.isArray(e)?e.length:1;h>g;g++){var i=1===h?e:e[g],k=i.e,l=i.promise,m=a.Debug&&(d&&d.name===D?a.Debug.MS_ASYNC_OP_STATUS_CANCELED:a.Debug.MS_ASYNC_OP_STATUS_ERROR);if(f._traceAsyncOperationCompleted(i.asyncOpID,m),l){var n=!1;try{k?(f._traceAsyncCallbackStarting(i.asyncOpID),n=!0,k.handlesOnError||r(l,d,j,b,k),l._setCompleteValue(k(d))):l._setChainedErrorValue(d,b)}catch(o){l._setExceptionValue(o)}finally{n&&f._traceAsyncCallbackCompleted()}l._state!==I&&l._listeners&&c.push(l)}else U.prototype.done.call(b,null,k)}}}function r(a,b,c,d,e){if(B._listeners[C]){if(b instanceof Error&&b.message===D)return;B.dispatchEvent(C,c(a,b,d,e))}}function s(a,b){var c=a._listeners;if(c){var d,e;for(d=0,e=Array.isArray(c)?c.length:1;e>d;d++){var f=1===e?c:c[d],g=f.p;if(g)try{g(b)}catch(h){}f.c||f.e||!f.promise||f.promise._progress(b)}}}function t(a,b){var c=a._listeners;c?(c=Array.isArray(c)?c:[c],c.push(b)):c=b,a._listeners=c}function u(a,b,c){a._isException=c||!1,a._errorId=b}function v(a,b,c,d){a._value=b,r(a,b,c,d),a._setState(P)}function w(a,b){var c;c=b&&"object"==typeof b&&"function"==typeof b.then?I:N,a._value=b,a._setState(c)}function x(a,b,c,d){var e=new T(a),g=f._traceAsyncOperationStarting("WinJS.Promise.then");return t(a,{promise:e,c:b,e:c,p:d,asyncOpID:g}),e}function y(c){var d;return new X(function(e){c?d=a.setTimeout(e,c):b._setImmediate(e)},function(){d&&a.clearTimeout(d)})}function z(a,b){var c=function(){b.cancel()},d=function(){a.cancel()};return a.then(c),b.then(d,d),b}a.Debug&&(a.Debug.setNonUserCodeExceptions=!0);var A=c.Class.mix(c.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),B=new A;B._listeners={};var C="error",D="Canceled",E=!1,F={promise:1,thenPromise:2,errorPromise:4,exceptionPromise:8,completePromise:16};F.all=F.promise|F.thenPromise|F.errorPromise|F.exceptionPromise|F.completePromise;var G,H,I,J,K,L,M,N,O,P,Q=1;G={name:"created",enter:function(a){a._setState(H)},cancel:g,done:g,then:g,_completed:g,_error:g,_notify:g,_progress:g,_setCompleteValue:g,_setErrorValue:g},H={name:"working",enter:g,cancel:function(a){a._setState(K)},done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},I={name:"waiting",enter:function(a){var b=a._value;if(b instanceof T&&b._state!==P&&b._state!==N)t(b,{promise:a});else{var c=function(d){b._errorId?a._chainedError(d,b):(r(a,d,j,b,c),a._error(d))};c.handlesOnError=!0,b.then(a._completed.bind(a),c,a._progress.bind(a))}},cancel:function(a){a._setState(J)},done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},J={name:"waiting_canceled",enter:function(a){a._setState(L);var b=a._value;b.cancel&&b.cancel()},cancel:g,done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},K={name:"canceled",enter:function(a){a._setState(L),a._cancelAction()},cancel:g,done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},L={name:"canceling",enter:function(a){var b=new Error(D);b.name=b.message,a._value=b,a._setState(O)},cancel:g,done:g,then:g,_completed:g,_error:g,_notify:g,_progress:g,_setCompleteValue:g,_setErrorValue:g},M={name:"complete_notify",enter:function(a){if(a.done=W.prototype.done,a.then=W.prototype.then,a._listeners)for(var b,c=[a];c.length;)b=c.shift(),b._state._notify(b,c);a._setState(N)},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:p,_progress:g,_setCompleteValue:g,_setErrorValue:g},N={name:"success",enter:function(a){a.done=W.prototype.done,a.then=W.prototype.then,a._cleanupAction()},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:p,_progress:g,_setCompleteValue:g,_setErrorValue:g},O={name:"error_notify",enter:function(a){if(a.done=U.prototype.done,a.then=U.prototype.then,a._listeners)for(var b,c=[a];c.length;)b=c.shift(),b._state._notify(b,c);a._setState(P)},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:q,_progress:g,_setCompleteValue:g,_setErrorValue:g},P={name:"error",enter:function(a){a.done=U.prototype.done,a.then=U.prototype.then,a._cleanupAction()},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:q,_progress:g,_setCompleteValue:g,_setErrorValue:g};var R,S=c.Class.define(null,{_listeners:null,_nextState:null,_state:null,_value:null,cancel:function(){this._state.cancel(this),this._run()},done:function(a,b,c){this._state.done(this,a,b,c)},then:function(a,b,c){return this._state.then(this,a,b,c)},_chainedError:function(a,b){var c=this._state._error(this,a,k,b);return this._run(),c},_completed:function(a){var b=this._state._completed(this,a);return this._run(),b},_error:function(a){var b=this._state._error(this,a,l);return this._run(),b},_progress:function(a){this._state._progress(this,a)},_setState:function(a){this._nextState=a},_setCompleteValue:function(a){this._state._setCompleteValue(this,a),this._run()},_setChainedErrorValue:function(a,b){var c=this._state._setErrorValue(this,a,k,b);return this._run(),c},_setExceptionValue:function(a){var b=this._state._setErrorValue(this,a,m);return this._run(),b},_run:function(){for(;this._nextState;)this._state=this._nextState,this._nextState=null,this._state.enter(this)}},{supportedForProcessing:!1}),T=c.Class.derive(S,function(a){E&&(E===!0||E&F.thenPromise)&&(this._stack=X._getStack()),this._creator=a,this._setState(G),this._run()},{_creator:null,_cancelAction:function(){this._creator&&this._creator.cancel()},_cleanupAction:function(){this._creator=null}},{supportedForProcessing:!1}),U=c.Class.define(function(a){E&&(E===!0||E&F.errorPromise)&&(this._stack=X._getStack()),this._value=a,r(this,a,l)},{cancel:function(){},done:function(a,b){var c=this._value;if(b)try{b.handlesOnError||r(null,c,j,this,b);var d=b(c);return void(d&&"object"==typeof d&&"function"==typeof d.done&&d.done())}catch(e){c=e}c instanceof Error&&c.message===D||X._doneHandler(c)},then:function(a,b){if(!b)return this;var c,d=this._value;try{b.handlesOnError||r(null,d,j,this,b),c=new W(b(d))}catch(e){c=e===d?this:new V(e)}return c}},{supportedForProcessing:!1}),V=c.Class.derive(U,function(a){E&&(E===!0||E&F.exceptionPromise)&&(this._stack=X._getStack()),this._value=a,r(this,a,m)},{},{supportedForProcessing:!1}),W=c.Class.define(function(a){if(E&&(E===!0||E&F.completePromise)&&(this._stack=X._getStack()),a&&"object"==typeof a&&"function"==typeof a.then){var b=new T(null);return b._setCompleteValue(a),b}this._value=a},{cancel:function(){},done:function(a){if(a)try{var b=a(this._value);b&&"object"==typeof b&&"function"==typeof b.done&&b.done()}catch(c){X._doneHandler(c)}},then:function(a){try{var b=a?a(this._value):this._value;return b===this._value?this:new W(b)}catch(c){return new V(c)}}},{supportedForProcessing:!1}),X=c.Class.derive(S,function(a,b){E&&(E===!0||E&F.promise)&&(this._stack=X._getStack()),this._oncancel=b,this._setState(G),this._run();try{var c=this._completed.bind(this),d=this._error.bind(this),e=this._progress.bind(this);a(c,d,e)}catch(f){this._setExceptionValue(f)}},{_oncancel:null,_cancelAction:function(){if(this._oncancel)try{this._oncancel()}catch(a){}},_cleanupAction:function(){this._oncancel=null}},{addEventListener:function(a,b,c){B.addEventListener(a,b,c)},any:function(a){return new X(function(b,c){var d=Object.keys(a);0===d.length&&b();var e=0;d.forEach(function(f){X.as(a[f]).then(function(){b({key:f,value:a[f]})},function(g){return g instanceof Error&&g.name===D?void(++e===d.length&&b(X.cancel)):void c({key:f,value:a[f]})})})},function(){var b=Object.keys(a);b.forEach(function(b){var c=X.as(a[b]);"function"==typeof c.cancel&&c.cancel()})})},as:function(a){return a&&"object"==typeof a&&"function"==typeof a.then?a:new W(a)},cancel:{get:function(){return R=R||new U(new d(D))}},dispatchEvent:function(a,b){return B.dispatchEvent(a,b)},is:function(a){return a&&"object"==typeof a&&"function"==typeof a.then},join:function(a){return new X(function(b,c,d){var e=Object.keys(a),f=Array.isArray(a)?[]:{},g=Array.isArray(a)?[]:{},h=0,i=e.length,j=function(a){if(0===--i){var h=Object.keys(f).length;if(0===h)b(g);else{var j=0;e.forEach(function(a){var b=f[a];b instanceof Error&&b.name===D&&j++}),j===h?b(X.cancel):c(f)}}else d({Key:a,Done:!0})};return e.forEach(function(b){var c=a[b];void 0===c?h++:X.then(c,function(a){g[b]=a,j(b)},function(a){f[b]=a,j(b)})}),i-=h,0===i?void b(g):void 0},function(){Object.keys(a).forEach(function(b){var c=X.as(a[b]);"function"==typeof c.cancel&&c.cancel()})})},removeEventListener:function(a,b,c){B.removeEventListener(a,b,c)},supportedForProcessing:!1,then:function(a,b,c,d){return X.as(a).then(b,c,d)},thenEach:function(a,b,c,d){var e=Array.isArray(a)?[]:{};return Object.keys(a).forEach(function(f){e[f]=X.as(a[f]).then(b,c,d)}),X.join(e)},timeout:function(a,b){var c=y(a);return b?z(c,b):c},wrap:function(a){return new W(a)},wrapError:function(a){return new U(a)},_veryExpensiveTagWithStack:{get:function(){return E},set:function(a){E=a}},_veryExpensiveTagWithStack_tag:F,_getStack:function(){if(a.Debug&&a.Debug.debuggerEnabled)try{throw new Error}catch(b){return b.stack}},_cancelBlocker:function(a,b){if(!X.is(a))return X.wrap(a);var c,d,e=new X(function(a,b){c=a,d=b},function(){c=null,d=null,b&&b()});return a.then(function(a){c&&c(a)},function(a){d&&d(a)}),e}});return Object.defineProperties(X,e.createEventProperties(C)),X._doneHandler=function(a){b._setImmediate(function(){throw a})},{PromiseStateMachine:S,Promise:X,state_created:G}}),define("WinJS/Promise",["./Core/_Base","./Promise/_StateMachine"],function(a,b){"use strict";return a.Namespace.define("WinJS",{Promise:b.Promise}),b.Promise}),define("WinJS/Core/_Log",["exports","./_Global","./_Base"],function(a,b,c){"use strict";function d(a,b,c){var d=a;return"function"==typeof d&&(d=d()),(c&&h.test(c)?"":c?c+": ":"")+(b?b.replace(g,":")+": ":"")+d}function e(c,d,e){var f=a.formatLog(c,d,e);b.console&&b.console[e&&h.test(e)?e:"log"](f)}function f(a){return a.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}var g=/\s+/g,h=/^(error|warn|info|log)$/,i=null;c.Namespace._moduleDefine(a,"WinJS.Utilities",{startLog:function(b){b=b||{},"string"==typeof b&&(b={tags:b});var c=b.type&&new RegExp("^("+f(b.type).replace(g," ").split(" ").join("|")+")$"),d=b.excludeTags&&new RegExp("(^|\\s)("+f(b.excludeTags).replace(g," ").split(" ").join("|")+")(\\s|$)","i"),h=b.tags&&new RegExp("(^|\\s)("+f(b.tags).replace(g," ").split(" ").join("|")+")(\\s|$)","i"),i=b.action||e;if(!(c||d||h||a.log))return void(a.log=i);var j=function(a,b,e){c&&!c.test(e)||d&&d.test(b)||h&&!h.test(b)||i(a,b,e),j.next&&j.next(a,b,e)};j.next=a.log,a.log=j},stopLog:function(){a.log=null},formatLog:d}),c.Namespace._moduleDefine(a,"WinJS",{log:{get:function(){return i},set:function(a){i=a}}})}),define("WinJS/Scheduler",["exports","./Core/_Global","./Core/_Base","./Core/_ErrorFromName","./Core/_Log","./Core/_Resources","./Core/_Trace","./Core/_WriteProfilerMark","./Promise"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){var b={},c="_prev"+a,d="_next"+a;return b["_remove"+a]=function(){var a=this[c],b=this[d];b&&(b[c]=a),a&&(a[d]=b),this[c]=null,this[d]=null},b["_insert"+a+"Before"]=function(a){var b=this[c];return b&&(b[d]=a),a[d]=this,a[c]=b,this[c]=a,a},b["_insert"+a+"After"]=function(a){var b=this[d];return this[d]=a,a[d]=b,a[c]=this,b&&(b[c]=a),a},b}function k(a,b,c){return void 0!==c?"("+a+";"+b+";"+c+")":void 0!==b?"("+a+";"+b+")":void 0!==a?"("+a+")":""}function l(a,b,c,d){h("WinJS.Scheduler:"+a+k(c,d)+","+b)}function m(a,b,c,d,e){var f=a.name||void 0!==d||void 0!==e;h("WinJS.Scheduler:"+b+":"+a.id+(f?k(a.name,d,e):"")+","+c)}function n(){return!1}function o(a){throw"Illegal call by job("+a.id+") in state: "+this.name}function p(a){return function(b,c,d){b._setState(a,c,d)}}function q(a,b){a._setPriority(b)}function r(a,b){function c(a,b){e.log&&e.log(b+": MARKER: "+a.name,"winjs scheduler","log")}function d(a,b){e.log&&e.log(b+": JOB("+a.id+"): state: "+(a._state?a._state.name:"")+(a.name?", name: "+a.name:""),"winjs scheduler","log")}e.log&&e.log("highWaterMark: "+Ba,"winjs scheduler","log");var f=0,g=b?va[va.length-1]:va[0],h=g;do h instanceof ma&&c(h,f),h instanceof S&&d(h,f),f++,h=b?h["_prev"+a]:h["_next"+a];while(h)}function s(){function a(a,c){b+=" "+(c?"*":" ")+"id: "+a.id+", priority: "+I(a.priority).name+(a.name?", name: "+a.name:"")+"\n"}var b="";b+="Jobs:\n";var c=I(Ba),d=0;for(xa&&(a(xa,!0),d++);c.priority>=ua.min;)c instanceof S&&(a(c,!1),d++),c=c._nextJob;0===d&&(b+=" None\n"),b+="Drain requests:\n";for(var e=0,f=za.length;f>e;e++)b+=" "+(0===e?"*":" ")+"priority: "+I(za[e].priority).name+", name: "+za[e].name+"\n";return 0===za.length&&(b+=" None\n"),b}function t(){var a=va[0];do{if(a instanceof S)return!1;a=a._nextJob}while(a);return!0}function u(){return 0===za.length?null:za[0].priority}function v(a){l("drain","StartTM",a.name,I(a.priority).name)}function w(a,b){b&&l("drain-canceled","info",a.name,I(a.priority).name),l("drain","StopTM",a.name,I(a.priority).name)}function x(a,b,c){za.push({priority:a,complete:b,name:c}),1===za.length&&(v(za[0]),a>Ba&&(Ba=a,pa=!0))}function y(a,b){var c,d=za.length;for(c=0;d>c;c++)if(za[c].complete===a){0===c&&(w(za[0],b),za[1]&&v(za[1])),za.splice(c,1);break}}function z(){var a=za.shift();a&&(w(a),za[0]&&v(za[0]),a.complete())}function A(){var a=!1;if(za.length)for(var b=u();+b===b&&b>Ba;)oa=b,z(),a=!0,b=u();return a}function B(a){return a>=ua.aboveNormal+1?Ea.HIGH:a>=ua.belowNormal?Ea.NORMAL:Ea.IDLE}function C(a,b){return Fa[a]>=Fa[b]}function D(a,b){return Fa[a]>Fa[b]}function E(a){switch(a){case Ea.HIGH:return!1;case Ea.NORMAL:return Ea.isTaskScheduledAtPriorityOrHigher(Ea.HIGH);case Ea.IDLE:return Ea.isTaskScheduledAtPriorityOrHigher(Ea.NORMAL)}}function F(a,b){var c=I(b);c.priority>Ba&&(Ba=c.priority,pa=!0),c._insertJobAfter(a)}function G(a,b){var c=I(b);c.priority>Ba&&(Ba=c.priority,pa=!0),c._nextMarker._insertJobBefore(a)}function H(a){return a=0|a,a=Math.max(a,sa),a=Math.min(a,ta)}function I(a){return a=H(a),va[-1*(a-ta)]}function J(a){na=!0,l("timeslice","StartTM");var b,c,d,e=!0,f=!1,g=!1;pa=!1;try{for(var h=Ga(),i=h+Aa,j=function(){return f=!1,pa?!0:E(B(Ba))?!0:za.length?!1:Ga()>i?(f=!0,!0):!1};Ba>=ua.min&&!j()&&!g;){b=!1,c=I(Ba)._nextJob;do{if(oa=c.priority,c instanceof S)d!==c.priority&&(+d===d&&l("priority","StopTM",I(d).name),l("priority","StartTM",I(c.priority).name),d=c.priority),b=!0,e=!1,xa=c,m(xa,"job-running","StartTM",I(oa).name),c._execute(j),m(xa,"job-running","StopTM",I(oa).name),xa=null,e=!0;else{var k=B(Ba);Ba=c.priority,b=A();var n=B(Ba);!D(k,n)||ya&&!Ea.isTaskScheduledAtPriorityOrHigher(n)||(g=!0)}c=c._nextJob}while(c&&!b&&!g&&!E(B(Ba)));pa=!1}}finally{xa=null,e||(m(c,"job-error","info"),m(c,"job-running","StopTM",I(oa).name),c.cancel()),+d===d&&l("priority","StopTM",I(d).name);for(var o=!1;Ba>=ua.min&&!o;){b=!1,c=I(Ba)._nextJob;do c instanceof S?o=!0:(Ba=c.priority,b=A()),c=c._nextJob;while(c&&!b&&!o)}var p;p=e?f?"timeslice exhausted":Ba=ua.min&&K(),l("yielding","info",p),l("timeslice","StopTM")}}function K(a){+a!==a&&(a=Ba);var b=B(a);if(!na&&(!wa||ya&&!C(wa,b))){var c=++Ha,d=function(){c>Ia&&(Ia=Ha,J(!0))};Ea.execAsyncAtPriority(d,b),wa=b}}function L(a,b){var c=ra++;void 0===b&&(b="Drain Request "+c),a=+a===a?a:ua.min,a=H(a);var d,e=new i(function(c){d=c,x(a,d,b)},function(){y(d,!0)});return na||K(),e}function M(a){return Ea.execAtPriority(a,Ea.HIGH)}function N(){return new V}function O(a,b,c,d){b=b||ua.normal,c=c||null;var e=++qa,f=g._traceAsyncOperationStarting("WinJS.Utilities.Scheduler.schedule: "+e+k(d));return d=d||"",new S(e,a,b,c,d,f)}function P(){if(na)return oa;switch(Ea.getCurrentPriority()){case Ea.HIGH:return ua.high;case Ea.NORMAL:return ua.normal;case Ea.IDLE:return ua.idle}}function Q(a){return function(b,c){var d;return new i(function(e){d=O(function(){e(b)},a,null,c)},function(){d.cancel()})}}c.Namespace.define("WinJS.Utilities",{_linkedListMixin:j});var R={get jobInfoIsNoLongerValid(){return"The job info object can only be used while the job is running"}},S=c.Class.define(function(a,b,c,d,e,f){this._id=a,this._work=b,this._context=d,this._name=e,this._asyncOpID=f,this._setPriority(c),this._setState(X),m(this,"job-scheduled","info")},{completed:{get:function(){return!!this._state.completed}},id:{get:function(){return this._id}},name:{get:function(){return this._name},set:function(a){this._name=a}},owner:{get:function(){return this._owner},set:function(a){this._owner&&this._owner._remove(this),this._owner=a,this._owner&&this._owner._add(this)}},priority:{get:function(){return this._priority},set:function(a){a=H(a),this._state.setPriority(this,a)}},cancel:function(){this._state.cancel(this)},pause:function(){this._state.pause(this)},resume:function(){this._state.resume(this)},_execute:function(a){this._state.execute(this,a)},_executeDone:function(a){return this._state.executeDone(this,a)},_blockedDone:function(a){return this._state.blockedDone(this,a)},_setPriority:function(a){+this._priority===this._priority&&this._priority!==a&&m(this,"job-priority-changed","info",I(this._priority).name,I(a).name),this._priority=a},_setState:function(a,b,c){this._state&&e.log&&e.log("Transitioning job ("+this.id+") from: "+this._state.name+" to: "+a.name,"winjs scheduler","log"),this._state=a,this._state.enter(this,b,c)}});c.Class.mix(S,j("Job"));var T={complete:1,"continue":2,block:3},U=c.Class.define(function(a,b){this._job=b,this._result=null,this._yieldPolicy=T.complete,this._shouldYield=a},{job:{get:function(){return this._throwIfDisabled(),this._job}},shouldYield:{get:function(){return this._throwIfDisabled(),this._shouldYield()}},setPromise:function(a){this._throwIfDisabled(),this._result=a,this._yieldPolicy=T.block},setWork:function(a){this._throwIfDisabled(),this._result=a,this._yieldPolicy=T["continue"]},_disablePublicApi:function(){this._publicApiDisabled=!0},_throwIfDisabled:function(){if(this._publicApiDisabled)throw new d("WinJS.Utilities.Scheduler.JobInfoIsNoLongerValid",R.jobInfoIsNoLongerValid)}}),V=c.Class.define(function(){this._jobs={}},{cancelAll:function(){var a=this._jobs,b=Object.keys(a);this._jobs={};for(var c=0,d=b.length;d>c;c++)a[b[c]].cancel()},_add:function(a){this._jobs[a.id]=a},_remove:function(a){delete this._jobs[a.id]}}),W=c.Class.define(function(a){this.name=a,this.enter=o,this.execute=o,this.executeDone=o,this.blockedDone=o,this.cancel=o,this.pause=o,this.resume=o,this.setPriority=o}),X=new W("created"),Y=new W("scheduled"),Z=new W("paused"),$=new W("canceled"),_=new W("running"),aa=new W("running_paused"),ba=new W("running_resumed"),ca=new W("running_canceled"),da=new W("running_canceled_blocked"),ea=new W("cooperative_yield"),fa=new W("cooperative_yield_paused"),ga=new W("blocked"),ha=new W("blocked_waiting"),ia=new W("blocked_paused"),ja=new W("blocked_paused_waiting"),ka=new W("blocked_canceled"),la=new W("complete");X.enter=function(a){G(a,a.priority),a._setState(Y)},Y.enter=function(){K()},Y.execute=p(_),Y.cancel=p($),Y.pause=p(Z),Y.resume=n,Y.setPriority=function(a,b){a.priority!==b&&(a._setPriority(b),a.pause(),a.resume())},Z.enter=function(a){m(a,"job-paused","info"),a._removeJob()},Z.cancel=p($),Z.pause=n,Z.resume=function(a){m(a,"job-resumed","info"),G(a,a.priority),a._setState(Y)},Z.setPriority=q,$.enter=function(a){m(a,"job-canceled","info"),g._traceAsyncOperationCompleted(a._asyncOpID,b.Debug&&b.Debug.MS_ASYNC_OP_STATUS_CANCELED),a._removeJob(),a._work=null,a._context=null,a.owner=null},$.cancel=n,$.pause=n,$.resume=n,$.setPriority=n,_.enter=function(a,b){a._removeJob();var c=a.priority,d=a._work,e=a._context;a._work=null,a._context=null;var f=new U(b,a);g._traceAsyncCallbackStarting(a._asyncOpID);try{Ea.execAtPriority(function(){d.call(e,f)},B(c))}finally{g._traceAsyncCallbackCompleted(),f._disablePublicApi()}a._context=e;var h=a._executeDone(f._yieldPolicy);a._setState(h,f._result,c)},_.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return ea;case T.block:return ga}},_.cancel=function(a){pa=!0,a._setState(ca)},_.pause=function(a){pa=!0,a._setState(aa)},_.resume=n,_.setPriority=q,aa.enter=n,aa.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return fa;case T.block:return ia}},aa.cancel=p(ca),aa.pause=n,aa.resume=p(ba),aa.setPriority=q,ba.enter=n,ba.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return ea;case T.block:return ga}},ba.cancel=p(ca),ba.pause=p(aa),ba.resume=n,ba.setPriority=q,ca.enter=n,ca.executeDone=function(a,b){switch(b){case T.complete:case T["continue"]:return $;case T.block:return da}},ca.cancel=n,ca.pause=n,ca.resume=n,ca.setPriority=n,da.enter=function(a,b){b.cancel(),a._setState($)},ea.enter=function(a,b,c){m(a,"job-yielded","info"),c===a.priority?F(a,a.priority):G(a,a.priority),a._work=b,a._setState(Y)},fa.enter=function(a,b){m(a,"job-yielded","info"),a._work=b,a._setState(Z)},ga.enter=function(a,b,c){m(a,"job-blocked","StartTM"),a._work=b,a._setState(ha),b.done(function(b){m(a,"job-blocked","StopTM");var d=a._blockedDone(b);a._setState(d,b,c)},function(b){return b&&"Canceled"===b.name||m(a,"job-error","info"),m(a,"job-blocked","StopTM"),a._setState($),i.wrapError(b)})},ha.enter=n,ha.blockedDone=function(a,b){return"function"==typeof b?ea:la},ha.cancel=p(ka),ha.pause=p(ja),ha.resume=n,ha.setPriority=q,ia.enter=function(a,b,c){m(a,"job-blocked","StartTM"),a._work=b,a._setState(ja),b.done(function(b){m(a,"job-blocked","StopTM");var d=a._blockedDone(b);a._setState(d,b,c)},function(b){return b&&"Canceled"===b.name||m(a,"job-error","info"),m(a,"job-blocked","StopTM"),a._setState($),i.wrapError(b)})},ja.enter=n,ja.blockedDone=function(a,b){return"function"==typeof b?fa:la},ja.cancel=p(ka),ja.pause=n,ja.resume=p(ha),ja.setPriority=q,ka.enter=function(a){a._work.cancel(),a._work=null},ka.blockedDone=function(){return $},ka.cancel=n,ka.pause=n,ka.resume=n,ka.setPriority=n,la.completed=!0,la.enter=function(a){g._traceAsyncOperationCompleted(a._asyncOpID,b.Debug&&b.Debug.MS_ASYNC_OP_STATUS_SUCCESS),a._work=null,a._context=null,a.owner=null,m(a,"job-completed","info")},la.cancel=n,la.pause=n,la.resume=n,la.setPriority=n;var ma=c.Class.define(function(a,b){this.priority=a,this.name=b},{});c.Class.mix(ma,j("Job"),j("Marker"));var na,oa,pa,qa=0,ra=0,sa=-15,ta=15,ua={max:15,high:13,aboveNormal:9,normal:0,belowNormal:-9,idle:-13,min:-15},va=[new ma(15,"max"),new ma(14,"14"),new ma(13,"high"),new ma(12,"12"),new ma(11,"11"),new ma(10,"10"),new ma(9,"aboveNormal"),new ma(8,"8"),new ma(7,"7"),new ma(6,"6"),new ma(5,"5"),new ma(4,"4"),new ma(3,"3"),new ma(2,"2"),new ma(1,"1"),new ma(0,"normal"),new ma(-1,"-1"),new ma(-2,"-2"),new ma(-3,"-3"),new ma(-4,"-4"),new ma(-5,"-5"),new ma(-6,"-6"),new ma(-7,"-7"),new ma(-8,"-8"),new ma(-9,"belowNormal"),new ma(-10,"-10"),new ma(-11,"-11"),new ma(-12,"-12"),new ma(-13,"idle"),new ma(-14,"-14"),new ma(-15,"min"),new ma(-16,"")],wa=null,xa=null,ya=!(!b.MSApp||!b.MSApp.execAtPriority),za=[],Aa=30,Ba=ua.min;va.reduce(function(a,b){return a&&(a._insertJobAfter(b),a._insertMarkerAfter(b)),b});var Ca=b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,16)},Da={execAsyncAtPriority:function(a,c){c===Ea.HIGH&&b.setTimeout(a,0),Ca(a)},execAtPriority:function(a){return a()},getCurrentPriority:function(){return Da.NORMAL},isTaskScheduledAtPriorityOrHigher:function(){return!1},HIGH:"high",NORMAL:"normal",IDLE:"idle"},Ea=ya?b.MSApp:Da,Fa={};Fa[Ea.IDLE]=1,Fa[Ea.NORMAL]=2,Fa[Ea.HIGH]=3;var Ga=b.performance&&b.performance.now&&b.performance.now.bind(b.performance)||Date.now.bind(Date),Ha=0,Ia=0;c.Namespace._moduleDefine(a,"WinJS.Utilities.Scheduler",{Priority:ua,schedule:O,createOwnerToken:N,execHigh:M,requestDrain:L,currentPriority:{get:P},schedulePromiseHigh:Q(ua.high),schedulePromiseAboveNormal:Q(ua.aboveNormal),schedulePromiseNormal:Q(ua.normal),schedulePromiseBelowNormal:Q(ua.belowNormal),schedulePromiseIdle:Q(ua.idle),retrieveState:s,_JobNode:S,_JobInfo:U,_OwnerToken:V,_dumpList:r,_isEmpty:{get:t},_usingWwaScheduler:{get:function(){return ya},set:function(a){ya=a,Ea=ya?b.MSApp:Da}},_MSApp:{get:function(){return Ea},set:function(a){Ea=a}},_TIME_SLICE:Aa})}),define("WinJS/Core/_BaseUtils",["exports","./_Global","./_Base","./_BaseCoreUtils","./_ErrorFromName","./_Resources","./_Trace","../Promise","../Scheduler"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){return a}function k(a,b,c){return a.split(".").reduce(function(a,b){return a?c(a[b]):null},b)}function l(a,c){return a?k(a,c||b,j):null}function m(a){return a.length>0&&0!==a.indexOf("-moz")&&"-"===a.charAt(0)&&(a=a.slice(1)),a.replace(/\-[a-z]/g,function(a){return a[1].toUpperCase()})}function n(a,b){return""===a?b:a+b.charAt(0).toUpperCase()+b.slice(1)}function o(a,b){return(""!==a?"-"+a.toLowerCase()+"-":"")+b}function p(){if(!b.document)return{};for(var a={},c=b.document.documentElement.style,d=["","webkit","ms","Moz"],e=["animation","transition","transform","animation-name","animation-duration","animation-delay","animation-timing-function","animation-iteration-count","animation-direction","animation-fill-mode","grid-column","grid-columns","grid-column-span","grid-row","grid-rows","grid-row-span","transform-origin","transition-property","transition-duration","transition-delay","transition-timing-function","scroll-snap-points-x","scroll-snap-points-y","scroll-chaining","scroll-limit","scroll-limit-x-max","scroll-limit-x-min","scroll-limit-y-max","scroll-limit-y-min","scroll-snap-type","scroll-snap-x","scroll-snap-y","touch-action","overflow-style","user-select"],f={},g=0,h=e.length;h>g;g++)for(var i=e[g],j=m(i),k=0,l=d.length;l>k;k++){var p=d[k],q=n(p,j);if(q in c){var r=o(p,i);a[i]={cssName:r,scriptName:q},f[i]=p;break}}return a.animationPrefix=o(f.animation,""),a.keyframes=o(f.animation,"keyframes"),a}function q(){for(var a={},c=["","WebKit"],d=[{eventObject:"TransitionEvent",events:["transitionStart","transitionEnd"]},{eventObject:"AnimationEvent",events:["animationStart","animationEnd"]}],e=0,f=d.length;f>e;e++){for(var g=d[e],h="",i=0,j=c.length;j>i;i++){var k=c[i];if(k+g.eventObject in b){h=k.toLowerCase();break}}for(var i=0,l=g.events.length;l>i;i++){var m=g.events[i];a[m]=n(h,m),""===h&&(a[m]=a[m].toLowerCase())}}return a.manipulationStateChanged="MSManipulationEvent"in b?"ManipulationEvent":null,a}function r(a,b){function c(){return h.timeout(a).then(function(){d=null})}var d=null,e=null,f=null,g=null;return function(){ -e?(f=this,g=[].slice.call(arguments,0)):d?(f=this,g=[].slice.call(arguments,0),e=d.then(function(){var a=f;f=null;var h=g;g=null,d=c(),e=null,b.apply(a,h)})):(d=c(),b.apply(this,arguments))}}var s,t={get notSupportedForProcessing(){return"Value is not supported within a declarative processing context, if you want it to be supported mark it using WinJS.Utilities.markSupportedForProcessing. The value was: '{0}'"}},u=0,v={},w=!1,x=b.navigator.platform,y="iPhone"===x||"iPad"===x||"iPod"===x;c.Namespace._moduleDefine(a,"WinJS.Utilities",{_setHasWinRT:{value:function(a){d.hasWinRT=a},configurable:!1,writable:!1,enumerable:!1},hasWinRT:{get:function(){return d.hasWinRT},configurable:!1,enumerable:!0},_setIsiOS:{value:function(a){y=a},configurable:!1,writable:!1,enumerable:!1},_isiOS:{get:function(){return y},configurable:!1,enumerable:!0},_getMemberFiltered:k,getMember:l,_browserStyleEquivalents:p(),_browserEventEquivalents:q(),_getCamelCasedName:m,ready:function z(a,c){return new h(function(d,e){function f(){if(a)try{a(),d()}catch(b){e(b)}else d()}var g=z._testReadyState;g||(g=b.document?b.document.readyState:"complete"),"complete"===g||b.document&&null!==b.document.body?c?i.schedule(function(){f()},i.Priority.normal,null,"WinJS.Utilities.ready"):f():b.addEventListener("DOMContentLoaded",f,!1)})},strictProcessing:{get:function(){return!0},configurable:!1,enumerable:!0},markSupportedForProcessing:{value:d.markSupportedForProcessing,configurable:!1,writable:!1,enumerable:!0},requireSupportedForProcessing:{value:function(a){var c=!0;switch(c=c&&a!==b,c=c&&a!==b.location,c=c&&!(a instanceof b.HTMLIFrameElement),c=c&&!("function"==typeof a&&!a.supportedForProcessing),b.frames.length){case 0:break;case 1:c=c&&a!==b.frames[0];break;default:for(var d=0,g=b.frames.length;c&&g>d;d++)c=c&&a!==b.frames[d]}if(c)return a;throw new e("WinJS.Utilities.requireSupportedForProcessing",f._formatString(t.notSupportedForProcessing,a))},configurable:!1,writable:!1,enumerable:!0},_setImmediate:d._setImmediate,_requestAnimationFrame:b.requestAnimationFrame?b.requestAnimationFrame.bind(b):function(a){var c=++u;return v[c]=a,s=s||b.setTimeout(function(){var a=v,b=Date.now();v={},s=null,Object.keys(a).forEach(function(c){a[c](b)})},16),c},_cancelAnimationFrame:b.cancelAnimationFrame?b.cancelAnimationFrame.bind(b):function(a){delete v[a]},_yieldForEvents:b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,0)},_yieldForDomModification:b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,0)},_throttledFunction:r,_shallowCopy:function(a){return this._mergeAll([a])},_merge:function(a,b){return this._mergeAll([a,b])},_mergeAll:function(a){var b={};return a.forEach(function(a){Object.keys(a).forEach(function(c){b[c]=a[c]})}),b},_getProfilerMarkIdentifier:function(a){var b="";return a.id&&(b+=" id='"+a.id+"'"),a.className&&(b+=" class='"+a.className+"'"),b},_now:function(){return b.performance&&b.performance.now&&b.performance.now()||Date.now()},_traceAsyncOperationStarting:g._traceAsyncOperationStarting,_traceAsyncOperationCompleted:g._traceAsyncOperationCompleted,_traceAsyncCallbackStarting:g._traceAsyncCallbackStarting,_traceAsyncCallbackCompleted:g._traceAsyncCallbackCompleted,_version:"4.4.0"}),c.Namespace._moduleDefine(a,"WinJS",{validation:{get:function(){return w},set:function(a){w=a}}}),c.Namespace.define("WinJS",{strictProcessing:{value:function(){},configurable:!1,writable:!1,enumerable:!1}})}),define("WinJS/Core",["./Core/_Base","./Core/_BaseCoreUtils","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Events","./Core/_Global","./Core/_Log","./Core/_Resources","./Core/_Trace","./Core/_WinRT","./Core/_WriteProfilerMark"],function(){}),define("WinJS/_Signal",["./Core/_Base","./Promise/_StateMachine"],function(a,b){"use strict";var c=a.Class.derive(b.PromiseStateMachine,function(a){this._oncancel=a,this._setState(b.state_created),this._run()},{_cancelAction:function(){this._oncancel&&this._oncancel()},_cleanupAction:function(){this._oncancel=null}},{supportedForProcessing:!1}),d=a.Class.define(function(a){this._promise=new c(a)},{promise:{get:function(){return this._promise}},cancel:function(){this._promise.cancel()},complete:function(a){this._promise._completed(a)},error:function(a){this._promise._error(a)},progress:function(a){this._promise._progress(a)}},{supportedForProcessing:!1});return a.Namespace.define("WinJS",{_Signal:d}),d}),define("WinJS/Utilities/_Control",["exports","../Core/_Global","../Core/_Base"],function(a,b,c){"use strict";function d(a,b){e(a,b)}function e(a,b,c){if("object"==typeof b)for(var d=Object.keys(b),e=0,f=d.length;f>e;e++){var g=d[e],h=b[g];if(g.length>2){var i=g[0],j=g[1];if(!("o"!==i&&"O"!==i||"n"!==j&&"N"!==j)&&"function"==typeof h&&a.addEventListener){a.addEventListener(g.substr(2),h);continue}}c||(a[g]=h)}}b.document&&c.Namespace._moduleDefine(a,"WinJS.UI",{DOMEventMixin:c.Namespace._lazy(function(){return{_domElement:null,addEventListener:function(a,b,c){(this.element||this._domElement).addEventListener(a,b,c||!1)},dispatchEvent:function(a,c){var d=b.document.createEvent("Event");return d.initEvent(a,!1,!1),d.detail=c,"object"==typeof c&&Object.keys(c).forEach(function(a){d[a]=c[a]}),(this.element||this._domElement).dispatchEvent(d)},removeEventListener:function(a,b,c){(this.element||this._domElement).removeEventListener(a,b,c||!1)}}}),setOptions:d,_setOptions:e})}),define("WinJS/Utilities/_ElementUtilities",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_WinRT","../Promise","../Scheduler"],function(a,b,c,d,e,f,g){"use strict";function h(){return R||(R={},Object.keys(b.CSS2Properties.prototype).forEach(function(a){R[a]=""})),R}function i(a,c){return b.getComputedStyle(a,c)||h()}function j(a){for(var b=a.length,c=b-1;c>=0;c--)a[c]||(a.splice(c,1),b--);return b}function k(a){var b=a.className||"";return"string"==typeof b?b:b.baseVal||""}function l(a,b){var c=a.className||"";return"string"==typeof c?a.className=b:a.className.baseVal=b,a}function m(a,b){if(a.classList){if(b.indexOf(" ")<0)a.classList.add(b);else{var c=b.split(" ");j(c);for(var d=0,e=c.length;e>d;d++)a.classList.add(c[d])}return a}var f,g=k(a),h=g.split(" "),i=j(h);if(b.indexOf(" ")>=0){var c=b.split(" ");j(c);for(var d=0;i>d;d++){var m=c.indexOf(h[d]);m>=0&&c.splice(m,1)}c.length>0&&(f=c.join(" "))}else{for(var n=!1,d=0;i>d;d++)if(h[d]===b){n=!0;break}n||(f=b)}return f&&(i>0&&h[0].length>0?l(a,g+" "+f):l(a,f)),a}function n(a,b){if(a.classList){if(0===a.classList.length)return a;var c=b.split(" ");j(c);for(var d=0,e=c.length;e>d;d++)a.classList.remove(c[d]);return a}var c,f,g=k(a);if(b.indexOf(" ")>=0)c=b.split(" "),f=j(c);else{if(g.indexOf(b)<0)return a;c=[b],f=1}for(var h,i=g.split(" "),m=j(i),d=m-1;d>=0;d--)c.indexOf(i[d])>=0&&(i.splice(d,1),h=!0);return h&&l(a,i.join(" ")),a}function o(a,b){if(a.classList)return a.classList.toggle(b),a;for(var c=k(a),d=c.trim().split(" "),e=d.length,f=!1,g=0;e>g;g++)d[g]===b&&(f=!0);return f?l(a,d.reduce(function(a,c){return c===b?a:a&&a.length>0?a+" "+c:c},"")):e>0&&d[0].length>0?l(a,c+" "+b):l(a,c+b),a}function p(a,b,c){a.getAttribute(b)!==""+c&&a.setAttribute(b,c)}function q(a,b,c,d){var e=Math.max(b,Math.min(c,+a));return 0===e?0:e||Math.max(b,Math.min(c,d))}function r(a,b){if(!S.test(b)&&T.test(b)){var c=a.style.left;return a.style.left=b,b=a.style.pixelLeft,a.style.left=c,b}return Math.round(parseFloat(b))||0}function s(a,b){return r(a,i(a,null)[b])}function t(a){return parseFloat(a)||0}function u(a,b){return t(i(a,null)[b])}function v(a){var b=i(a);return{top:t(b.marginTop),right:t(b.marginRight),bottom:t(b.marginBottom),left:t(b.marginLeft)}}function w(a,b,c,d,e){var f=b.toLowerCase();a._eventsMap||(a._eventsMap={}),a._eventsMap[f]||(a._eventsMap[f]=[]),a._eventsMap[f].push({listener:c,useCapture:d,data:e})}function x(a,b,c,d){var e=b.toLowerCase(),f=a._eventsMap&&a._eventsMap[e];if(f)for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.listener===c&&!!d==!!h.useCapture)return f.splice(g,1),h}return null}function y(a,b){var c=b.toLowerCase();return a._eventsMap&&a._eventsMap[c]&&a._eventsMap[c].slice(0)||[]}function z(a,b,c){for(;a;){for(var d=y(a,b),e=0,f=d.length;f>e;e++)d[e].listener.call(a,c);a=a.parentNode}}function A(a){return(a.relatedTarget&&"IFRAME"===a.relatedTarget.tagName||a.target&&"IFRAME"===a.target.tagName)&&(a.relatedTarget=null),a}function B(a,b,c,d){if(d)throw"This custom WinJS event only supports bubbling";w(a,b,c,d)}function C(a,b){var c=b.changedTouches,d=null;if(!c)return d;for(var e=0,f=c.length;f>e;e++){var g=c[e],h=new Z(b,{pointerType:W.MSPOINTER_TYPE_TOUCH,pointerId:g.identifier,isPrimary:0===e,screenX:g.screenX,screenY:g.screenY,clientX:g.clientX,clientY:g.clientY,pageX:g.pageX,pageY:g.pageY,radiusX:g.radiusX,radiusY:g.radiusY,rotationAngle:g.rotationAngle,force:g.force,_currentTouch:g}),i=a(h);d=d||i}return d}function D(a,b){return b.pointerType=W.MSPOINTER_TYPE_MOUSE,b.pointerId=-1,b.isPrimary=!0,a(b)}function E(a,b){return a(b)}function F(a,c,d,e){var f,g,h,i,j=c.toLowerCase(),k=$[j];b.MSPointerEvent?(h=function(a){return a._normalizedType=j,i=!0,E(d,a)},a.addEventListener(k.mspointer,h,e)):(k.mouse&&(f=function(a){return a._normalizedType=j,i?void(i=!1):D(d,a)},a.addEventListener(k.mouse,f,e)),k.touch&&(g=function(a){return a._normalizedType=j,i=!0,C(d,a)},a.addEventListener(k.touch,g,e))),w(a,c,d,e,{mouseWrapper:f,touchWrapper:g,mspointerWrapper:h})}function G(a,b,c,d){var e=b.toLowerCase(),f=x(a,b,c,d);if(f){var g=$[e];f.data.mouseWrapper&&a.removeEventListener(g.mouse,f.data.mouseWrapper,d),f.data.touchWrapper&&a.removeEventListener(g.touch,f.data.touchWrapper,d),f.data.mspointerWrapper&&a.removeEventListener(g.mspointer,f.data.mspointerWrapper,d)}}function H(){var a=b.document.createElement("div");a.style.direction="rtl",a.innerHTML="
",b.document.body.appendChild(a);var c=a.firstChild;c.scrollLeft>0&&(ha=!0),c.scrollLeft+=100,0===c.scrollLeft&&(ia=!0),b.document.body.removeChild(a),ga=!0}function I(a){var b=i(a),c=a.scrollLeft;return"rtl"===b.direction&&(ga||H(),ha&&(c=a.scrollWidth-a.clientWidth-c),c=Math.abs(c)),{scrollLeft:c,scrollTop:a.scrollTop}}function J(a,b,c){if(void 0!==b){var d=i(a);"rtl"===d.direction&&(ga||H(),ia?b=-b:ha&&(b=a.scrollWidth-a.clientWidth-b)),a.scrollLeft=b}void 0!==c&&(a.scrollTop=c)}function K(a){return I(a)}function L(a,b){b=b||{},J(a,b.scrollLeft,b.scrollTop)}function M(a){return a.uniqueID||a._uniqueID||(a._uniqueID="element__"+ ++la),a.uniqueID||a._uniqueID}function N(a){a.id||(a.id=M(a))}function O(a){var c=b.document.documentElement,d=K(c);return{left:a.clientX+("rtl"===b.document.body.dir?-d.scrollLeft:d.scrollLeft),top:a.clientY+c.scrollTop}}function P(a,b){for(var c=[],d=0,e=b.length;e>d;d++){var f=a.querySelector("."+b[d]);f&&c.push(f)}return c}if(b.document){var Q=167,R=null,S=/^-?\d+\.?\d*(px)?$/i,T=/^-?\d+/i,U=b.MSGestureEvent||{MSGESTURE_FLAG_BEGIN:1,MSGESTURE_FLAG_CANCEL:4,MSGESTURE_FLAG_END:2,MSGESTURE_FLAG_INERTIA:8,MSGESTURE_FLAG_NONE:0},V=b.MSManipulationEvent||{MS_MANIPULATION_STATE_ACTIVE:1,MS_MANIPULATION_STATE_CANCELLED:6,MS_MANIPULATION_STATE_COMMITTED:7,MS_MANIPULATION_STATE_DRAGGING:5,MS_MANIPULATION_STATE_INERTIA:2,MS_MANIPULATION_STATE_PRESELECT:3,MS_MANIPULATION_STATE_SELECTING:4,MS_MANIPULATION_STATE_STOPPED:0},W=b.MSPointerEvent||{MSPOINTER_TYPE_TOUCH:"touch",MSPOINTER_TYPE_PEN:"pen",MSPOINTER_TYPE_MOUSE:"mouse"},X="onfocusin"in b.document.documentElement,Y=null;b.addEventListener(X?"focusout":"blur",function(a){if(a.target===b){var c=Y;c&&z(c,"focusout",A({type:"focusout",target:c,relatedTarget:null})),Y=null}}),b.document.documentElement.addEventListener(X?"focusin":"focus",function(a){var b=Y;Y=a.target,b&&z(b,"focusout",A({type:"focusout",target:b,relatedTarget:Y})),Y&&z(Y,"focusin",A({type:"focusin",target:Y,relatedTarget:b}))},!0);var Z=function(a,b){b=b||{},this.__eventObject=a;var c=this;Object.keys(b).forEach(function(a){Object.defineProperty(c,a,{value:b[a]})})};["altKey","AT_TARGET","bubbles","BUBBLING_PHASE","button","buttons","cancelable","cancelBubble","CAPTURING_PHASE","clientX","clientY","ctrlKey","currentTarget","defaultPrevented","detail","eventPhase","fromElement","getModifierState","height","hwTimestamp","initEvent","initMouseEvent","initPointerEvent","initUIEvent","isPrimary","isTrusted","layerX","layerY","metaKey","offsetX","offsetY","pageX","pageY","pointerId","pointerType","pressure","preventDefault","relatedTarget","rotation","screenX","screenY","shiftKey","srcElement","stopImmediatePropagation","stopPropagation","target","tiltX","tiltY","timeStamp","toElement","type","view","which","width","x","y","_normalizedType","_fakedBySemanticZoom"].forEach(function(a){Object.defineProperty(Z.prototype,a,{get:function(){var b=this.__eventObject[a];return"function"==typeof b?b.bind(this.__eventObject):b},configurable:!0})});var $={pointerdown:{touch:"touchstart",mspointer:"MSPointerDown",mouse:"mousedown"},pointerup:{touch:"touchend",mspointer:"MSPointerUp",mouse:"mouseup"},pointermove:{touch:"touchmove",mspointer:"MSPointerMove",mouse:"mousemove"},pointerenter:{touch:"touchenter",mspointer:"MSPointerEnter",mouse:"mouseenter"},pointerover:{touch:null,mspointer:"MSPointerOver",mouse:"mouseover"},pointerout:{touch:"touchleave",mspointer:"MSPointerOut",mouse:"mouseout"},pointercancel:{touch:"touchcancel",mspointer:"MSPointerCancel",mouse:null}},_={focusout:{register:B,unregister:x},focusin:{register:B,unregister:x}};if(!b.PointerEvent){var aa={register:F,unregister:G};_.pointerdown=aa,_.pointerup=aa,_.pointermove=aa,_.pointerenter=aa,_.pointerover=aa,_.pointerout=aa,_.pointercancel=aa}var ba=c.Class.define(function(a){this._callback=a,this._toDispose=[],this._attributeFilter=[],this._scheduled=!1,this._pendingChanges=[],this._observerCount=0,this._handleCallback=this._handleCallback.bind(this),this._targetElements=[]},{observe:function(a,b){-1===this._targetElements.indexOf(a)&&this._targetElements.push(a),this._observerCount++,b.attributes&&this._addRemovableListener(a,"DOMAttrModified",this._handleCallback),b.attributeFilter&&(this._attributeFilter=b.attributeFilter)},disconnect:function(){this._observerCount=0,this._targetElements=[],this._toDispose.forEach(function(a){a()})},_addRemovableListener:function(a,b,c){a.addEventListener(b,c),this._toDispose.push(function(){a.removeEventListener(b,c)})},_handleCallback:function(a){a.stopPropagation();var b=a.attrName;if((!this._attributeFilter.length||-1!==this._attributeFilter.indexOf(b))&&-1!==this._targetElements.indexOf(a.target)){var c=b.indexOf("aria")>=0;"tabindex"===b&&(b="tabIndex"),this._pendingChanges.push({type:"attributes",target:a.target,attributeName:b}),1!==this._observerCount||c?this._scheduled===!1&&(this._scheduled=!0,d._setImmediate(this._dispatchEvent.bind(this))):this._dispatchEvent()}},_dispatchEvent:function(){try{this._callback(this._pendingChanges)}finally{this._pendingChanges=[],this._scheduled=!1}}},{_isShim:!0}),ca=b.MutationObserver||ba,da=null,ea=c.Class.define(function(){b.addEventListener("resize",this._handleResize.bind(this))},{subscribe:function(a,b){a.addEventListener(this._resizeEvent,b),m(a,this._resizeClass)},unsubscribe:function(a,b){n(a,this._resizeClass),a.removeEventListener(this._resizeEvent,b)},_handleResize:function(){for(var a=b.document.querySelectorAll("."+this._resizeClass),c=a.length,d=0;c>d;d++){var e=b.document.createEvent("Event");e.initEvent(this._resizeEvent,!1,!0),a[d].dispatchEvent(e)}},_resizeClass:{get:function(){return"win-element-resize"}},_resizeEvent:{get:function(){return"WinJSElementResize"}}}),fa=c.Class.define(function(a,b,c){c=c||{},this.registerThruWinJSCustomEvents=!!c.registerThruWinJSCustomEvents,this.objectName=a,this.object=b,this.capture={},this.bubble={}},{addEventListener:function(b,c,d,e){c=c.toLowerCase();var f=this._getHandlers(e),g=f[c];g||(g=this._getListener(c,e),g.refCount=0,f[c]=g,this.registerThruWinJSCustomEvents?a._addEventListener(this.object,c,g,e):this.object.addEventListener(c,g,e)),g.refCount++,b.addEventListener(this._getEventName(c,e),d),m(b,this._getClassName(c,e))},removeEventListener:function(b,c,d,e){c=c.toLowerCase();var f=this._getHandlers(e),g=f[c];g&&(g.refCount--,0===g.refCount&&(this.registerThruWinJSCustomEvents?a._removeEventListener(this.object,c,g,e):this.object.removeEventListener(c,g,e),delete f[c])),n(b,this._getClassName(c,e)),b.removeEventListener(this._getEventName(c,e),d)},_getHandlers:function(a){return a?this.capture:this.bubble},_getClassName:function(a,b){var c=b?"capture":"bubble";return"win-"+this.objectName.toLowerCase()+"-event-"+a+c},_getEventName:function(a,b){var c=b?"capture":"bubble";return"WinJS"+this.objectName+"Event-"+a+c},_getListener:function(a,c){var d=function(d){for(var e=b.document.querySelectorAll("."+this._getClassName(a,c)),f=e.length,g=!1,h=0;f>h;h++){var i=b.document.createEvent("Event");i.initEvent(this._getEventName(a,c),!1,!0),i.detail={originalEvent:d};var j=e[h].dispatchEvent(i);g=g||!j}return g};return d.bind(this)}}),ga=!1,ha=!1,ia=!1,ja=b.navigator.msManipulationViewsEnabled||b.navigator.userAgent.indexOf("MSAppHost")>=0,ka=!(!b.MSPointerEvent&&!b.TouchEvent),la=0,ma=".win-selectionborder, .win-selectionbackground, .win-selectioncheckmark, .win-selectioncheckmarkbackground",na="_msDataKey";c.Namespace._moduleDefine(a,"WinJS.Utilities",{_dataKey:na,_supportsSnapPoints:{get:function(){return ja}},_supportsTouchDetection:{get:function(){return ka}},_uniqueID:M,_ensureId:N,_clamp:q,_getCursorPos:O,_getElementsByClasses:P,_createGestureRecognizer:function(){if(b.MSGesture)return new b.MSGesture;var a=function(){};return{addEventListener:a,removeEventListener:a,addPointer:a,stop:a}},_MSGestureEvent:U,_MSManipulationEvent:V,_elementsFromPoint:function(a,c){if(b.document.msElementsFromPoint)return b.document.msElementsFromPoint(a,c);var d=b.document.elementFromPoint(a,c);return d?[d]:null},_matchesSelector:function(a,b){var c=a.matches||a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector;return c.call(a,b)},_selectionPartsSelector:ma,_isSelectionRendered:function(a){return a.querySelectorAll(ma).length>0},_addEventListener:function(a,b,c,e){var f=b&&b.toLowerCase(),g=_[f],h=d._browserEventEquivalents[b];g?g.register(a,b,c,e):h?a.addEventListener(h,c,e):a.addEventListener(b,c,e)},_removeEventListener:function(a,b,c,e){var f=b&&b.toLowerCase(),g=_[f],h=d._browserEventEquivalents[b];g?g.unregister(a,b,c,e):h?a.removeEventListener(h,c,e):a.removeEventListener(b,c,e)},_initEventImpl:function(a,c,d){d=d.toLowerCase();var e=$[d];if(e)switch(a.toLowerCase()){case"pointer":b.PointerEvent||(arguments[2]=e.mspointer);break;default:arguments[2]=e[a.toLowerCase()]}c["init"+a+"Event"].apply(c,Array.prototype.slice.call(arguments,2))},_initMouseEvent:function(a){this._initEventImpl.apply(this,["Mouse",a].concat(Array.prototype.slice.call(arguments,1)))},_initPointerEvent:function(a){this._initEventImpl.apply(this,["Pointer",a].concat(Array.prototype.slice.call(arguments,1)))},_PointerEventProxy:Z,_bubbleEvent:z,_setPointerCapture:function(a,b){a.setPointerCapture&&a.setPointerCapture(b)},_releasePointerCapture:function(a,b){a.releasePointerCapture&&a.releasePointerCapture(b)},_MSPointerEvent:W,_getComputedStyle:i,_zoomToDuration:Q,_zoomTo:function(a,b){this._supportsSnapPoints&&a.msZoomTo?a.msZoomTo(b):g.schedule(function(){var c=I(a),e="number"==typeof a._zoomToDestX?a._zoomToDestX:c.scrollLeft,f="number"==typeof a._zoomToDestY?a._zoomToDestY:c.scrollTop,g=i(a),h=a.scrollWidth-parseInt(g.width,10)-parseInt(g.paddingLeft,10)-parseInt(g.paddingRight,10),j=a.scrollHeight-parseInt(g.height,10)-parseInt(g.paddingTop,10)-parseInt(g.paddingBottom,10);"number"!=typeof b.contentX&&(b.contentX=e),"number"!=typeof b.contentY&&(b.contentY=f);var k=q(b.contentX,0,h),l=q(b.contentY,0,j);if(k!==e||l!==f){a._zoomToId=a._zoomToId||0,a._zoomToId++,a._zoomToDestX=k,a._zoomToDestY=l;var m=a._zoomToId,n=d._now(),o=(a._zoomToDestX-c.scrollLeft)/Q,p=(a._zoomToDestY-c.scrollTop)/Q,r=function(){var b=d._now()-n;a._zoomToId===m&&(b>Q?(J(a,a._zoomToDestX,a._zoomToDestY),a._zoomToDestX=null,a._zoomToDestY=null):(J(a,c.scrollLeft+b*o,c.scrollTop+b*p),d._requestAnimationFrame(r)))};d._requestAnimationFrame(r)}},g.Priority.high,null,"WinJS.Utilities._zoomTo")},_setActive:function(a,c){var d=!0;try{if(b.HTMLElement&&b.HTMLElement.prototype.setActive)a.setActive();else{var e,f;c&&(e=c.scrollLeft,f=c.scrollTop),a.focus(),c&&(c.scrollLeft=e,c.scrollTop=f)}}catch(g){d=!1}return d},_MutationObserver:ca,_resizeNotifier:{get:function(){return da||(da=new ea),da}},_GenericListener:fa,_globalListener:new fa("Global",b,{registerThruWinJSCustomEvents:!0}),_documentElementListener:new fa("DocumentElement",b.document.documentElement,{registerThruWinJSCustomEvents:!0}),_inputPaneListener:e.Windows.UI.ViewManagement.InputPane?new fa("InputPane",e.Windows.UI.ViewManagement.InputPane.getForCurrentView()):{addEventListener:function(){},removeEventListener:function(){}},_addInsertedNotifier:function(c){var e=b.document.createElement("div");return e.style[d._browserStyleEquivalents["animation-name"].scriptName]="WinJS-node-inserted",e.style[d._browserStyleEquivalents["animation-duration"].scriptName]="0.01s",e.style.position="absolute",c.appendChild(e),a._addEventListener(e,"animationStart",function(a){if("WinJS-node-inserted"===a.animationName){var a=b.document.createEvent("Event");a.initEvent("WinJSNodeInserted",!1,!0),c.dispatchEvent(a)}},!1),e},_inDom:function(c){return new f(function(d){if(b.document.body.contains(c))d();else{var e=function(){c.removeEventListener("WinJSNodeInserted",e,!1),d()};a._addInsertedNotifier(c),c.addEventListener("WinJSNodeInserted",e,!1)}})},_setFlexStyle:function(a,b){var c=a.style;"undefined"!=typeof b.grow&&(c.msFlexPositive=b.grow,c.webkitFlexGrow=b.grow,c.flexGrow=b.grow),"undefined"!=typeof b.shrink&&(c.msFlexNegative=b.shrink,c.webkitFlexShrink=b.shrink,c.flexShrink=b.shrink),"undefined"!=typeof b.basis&&(c.msFlexPreferredSize=b.basis,c.webkitFlexBasis=b.basis,c.flexBasis=b.basis)},Key:{backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pause:19,capsLock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40,insert:45,deleteKey:46,num0:48,num1:49,num2:50,num3:51,num4:52,num5:53,num6:54,num7:55,num8:56,num9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindows:91,rightWindows:92,menu:93,numPad0:96,numPad1:97,numPad2:98,numPad3:99,numPad4:100,numPad5:101,numPad6:102,numPad7:103,numPad8:104,numPad9:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NavigationView:136,NavigationMenu:137,NavigationUp:138,NavigationDown:139,NavigationLeft:140,NavigationRight:141,NavigationAccept:142,NavigationCancel:143,numLock:144,scrollLock:145,browserBack:166,browserForward:167,semicolon:186,equal:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,GamepadA:195,GamepadB:196,GamepadX:197,GamepadY:198,GamepadRightShoulder:199,GamepadLeftShoulder:200,GamepadLeftTrigger:201,GamepadRightTrigger:202,GamepadDPadUp:203,GamepadDPadDown:204,GamepadDPadLeft:205,GamepadDPadRight:206,GamepadMenu:207,GamepadView:208,GamepadLeftThumbstick:209,GamepadRightThumbstick:210,GamepadLeftThumbstickUp:211,GamepadLeftThumbstickDown:212,GamepadLeftThumbstickRight:213,GamepadLeftThumbstickLeft:214,GamepadRightThumbstickUp:215,GamepadRightThumbstickDown:216,GamepadRightThumbstickRight:217,GamepadRightThumbstickLeft:218,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222,IME:229},data:function(a){return a[na]||(a[na]={}),a[na]},hasClass:function(a,b){if(a.classList)return a.classList.contains(b);for(var c=k(a),d=c.trim().split(" "),e=d.length,f=0;e>f;f++)if(d[f]===b)return!0;return!1},addClass:m,removeClass:n,toggleClass:o,_setAttribute:p,getRelativeLeft:function(a,b){if(!a)return 0;for(var c=a.offsetLeft,d=a.parentNode;d&&(c-=d.offsetLeft,d!==b);)d=d.parentNode;return c},getRelativeTop:function(a,b){if(!a)return 0;for(var c=a.offsetTop,d=a.parentNode;d&&(c-=d.offsetTop,d!==b);)d=d.parentNode;return c},getScrollPosition:K,setScrollPosition:L,empty:function(a){if(a.childNodes&&a.childNodes.length>0)for(var b=a.childNodes.length-1;b>=0;b--)a.removeChild(a.childNodes.item(b));return a},_isDOMElement:function(a){return a&&"object"==typeof a&&"string"==typeof a.tagName},getContentWidth:function(a){var b=s(a,"borderLeftWidth")+s(a,"borderRightWidth"),c=s(a,"paddingLeft")+s(a,"paddingRight");return a.offsetWidth-b-c},_getPreciseContentWidth:function(a){var b=u(a,"borderLeftWidth")+u(a,"borderRightWidth"),c=u(a,"paddingLeft")+u(a,"paddingRight");return a.offsetWidth-b-c},getTotalWidth:function(a){var b=s(a,"marginLeft")+s(a,"marginRight");return a.offsetWidth+b},_getPreciseTotalWidth:function(a){var b=u(a,"marginLeft")+u(a,"marginRight");return a.offsetWidth+b},getContentHeight:function(a){var b=s(a,"borderTopWidth")+s(a,"borderBottomWidth"),c=s(a,"paddingTop")+s(a,"paddingBottom");return a.offsetHeight-b-c},_getPreciseContentHeight:function(a){var b=u(a,"borderTopWidth")+u(a,"borderBottomWidth"),c=u(a,"paddingTop")+u(a,"paddingBottom");return a.offsetHeight-b-c},getTotalHeight:function(a){var b=s(a,"marginTop")+s(a,"marginBottom");return a.offsetHeight+b},_getPreciseTotalHeight:function(a){var b=u(a,"marginTop")+u(a,"marginBottom");return a.offsetHeight+b},getPosition:function(b){return a._getPositionRelativeTo(b,null)},getTabIndex:function(a){var b=/BUTTON|COMMAND|MENUITEM|OBJECT|SELECT|TEXTAREA/;if(a.disabled)return-1;var c=a.getAttribute("tabindex");if(null===c||void 0===c){var d=a.tagName;return b.test(d)||a.href&&("A"===d||"AREA"===d||"LINK"===d)||"INPUT"===d&&"hidden"!==a.type||"TH"===d&&a.sorted?0:-1}return parseInt(c,10)},convertToPixels:r,_convertToPrecisePixels:t,_getPreciseMargins:v,eventWithinElement:function(a,b){var c=b.relatedTarget;return c&&c!==a?a.contains(c):!1},_deprecated:function(a){b.console&&b.console.warn(a)},_syncRenderer:function(a,c){if(c=c||"div","function"==typeof a)return function(b,c){return c?(c.appendChild(a(b)),c):a(b)};var d;return"function"==typeof a.render?d=a:a.winControl&&"function"==typeof a.winControl.render&&(d=a.winControl),function(a,e){var f=e||b.document.createElement(c);if(d.render(a,f),e)return e;var g=f.firstElementChild;if(g&&f.dispose){var h=g.dispose;g.dispose=function(){g.dispose=h,f.appendChild(g),f.dispose()}}return g}},_getPositionRelativeTo:function(a,c){for(var d=a,e=a.offsetParent,f=a.offsetTop,g=a.offsetLeft;(a=a.parentNode)&&a!==c&&a!==b.document.body&&a!==b.document.documentElement;){f-=a.scrollTop;var h=i(a,null).direction;g-="rtl"!==h?a.scrollLeft:-I(a).scrollLeft,a===e&&(f+=a.offsetTop,g+=a.offsetLeft,e=a.offsetParent)}return{left:g,top:f,width:d.offsetWidth,height:d.offsetHeight}},_getHighAndLowTabIndices:function(a){for(var b=a.getElementsByTagName("*"),c=0,d=0,e=!1,f=0,g=b.length;g>f;f++){var h=b[f].getAttribute("tabIndex");if(null!==h&&void 0!==h){var i=parseInt(h,10);i>0&&(c>i||0===c)&&(c=i),e||(0===i?(e=!0,d=0):i>d&&(d=i))}}return{highest:d,lowest:c}},_getLowestTabIndexInList:function(a){for(var b,c=0,d=0;d0&&(c>b||!c)&&(c=b);return c},_getHighestTabIndexInList:function(a){for(var b,c=0,d=0;dc&&(c=b)}return c},_hasCursorKeysBehaviors:function(a){return"SELECT"===a.tagName||"TEXTAREA"===a.tagName?!0:"INPUT"===a.tagName?""===a.type||"date"===a.type||"datetime"===a.type||"datetime-local"===a.type||"email"===a.type||"month"===a.type||"number"===a.type||"password"===a.type||"range"===a.type||"search"===a.type||"tel"===a.type||"text"===a.type||"time"===a.type||"url"===a.type||"week"===a.type:!1},_reparentChildren:function(a,b){for(var c=a.firstChild;c;){var d=c.nextSibling;b.appendChild(c),c=d}},_maintainFocus:function(c){var d=b.document.activeElement;c(),a._trySetActiveOnAnyElement(d)},_trySetActiveOnAnyElement:function(b,c){return a._tryFocusOnAnyElement(b,!0,c)},_tryFocusOnAnyElement:function(c,d,e){var f=b.document.activeElement;return c===f?!0:(d?a._setActive(c,e):c.focus(),f!==b.document.activeElement)},_trySetActive:function(a,b){return this._tryFocus(a,!0,b)},_tryFocus:function(c,d,e){var f=b.document.activeElement;if(c===f)return!0;var g=a.getTabIndex(c)>=0;return g?(d?a._setActive(c,e):c.focus(),f!==b.document.activeElement?!0:!1):!1},_setActiveFirstFocusableElement:function(a,b){return this._focusFirstFocusableElement(a,!0,b)},_focusFirstFocusableElement:function(a,b,c){for(var d,e=a.getElementsByTagName("*"),f=this._getLowestTabIndexInList(e),g=0;f;){for(d=0;d=0;d--)if(e[d].tabIndex===f){if(this._tryFocus(e[d],b,c))return!0}else g=0;d--)if(e[d].tabIndex===f){if(this._tryFocus(e[d],b,c))return!0}else g0;d--)if(this._tryFocus(e[d],b,c))return!0;return!1}})}}),define("WinJS/Utilities/_Dispose",["exports","../Core/_Base","../Core/_WriteProfilerMark","./_ElementUtilities"],function(a,b,c,d){"use strict";function e(a,b){var c=!1;d.addClass(a,"win-disposable");var e=a.winControl||a;e.dispose=function(){c||(c=!0,f(a),b&&b())}}function f(a){if(a){c("WinJS.Utilities.disposeSubTree,StartTM");for(var b=a.querySelectorAll(".win-disposable"),d=0,e=b.length;e>d;){var f=b[d];f.winControl&&f.winControl.dispose&&f.winControl.dispose(),f.dispose&&f.dispose(),d+=f.querySelectorAll(".win-disposable").length+1}c("WinJS.Utilities.disposeSubTree,StopTM")}}function g(a){if(a){var b=!1;a.winControl&&a.winControl.dispose&&(a.winControl.dispose(),b=!0),a.dispose&&(a.dispose(),b=!0),b||f(a)}}b.Namespace._moduleDefine(a,"WinJS.Utilities",{markDisposable:e,disposeSubTree:f,_disposeElement:g})}),define("WinJS/ControlProcessor/_OptionsLexer",["exports","../Core/_Base"],function optionsLexerInit(exports,_Base){"use strict";_Base.Namespace._moduleDefine(exports,"WinJS.UI",{_optionsLexer:_Base.Namespace._lazy(function(){function reservedWord(a){return{type:tokenType.reservedWord,value:a,length:a.length,keyword:!0}}function reservedWordLookup(a){switch(a.charCodeAt(0)){case 98:switch(a){case"break":return reservedWord(a)}break;case 99:switch(a){case"case":case"catch":case"class":case"const":case"continue":return reservedWord(a)}break;case 100:switch(a){case"debugger":case"default":case"delete":case"do":return reservedWord(a)}break;case 101:switch(a){case"else":case"enum":case"export":case"extends":return reservedWord(a)}break;case 102:switch(a){case"false":return tokens.falseLiteral;case"finally":case"for":case"function":return reservedWord(a)}break;case 105:switch(a){case"if":case"import":case"in":case"instanceof":return reservedWord(a)}break;case 110:switch(a){case"null":return tokens.nullLiteral;case"new":return reservedWord(a)}break;case 114:switch(a){case"return":return reservedWord(a)}break;case 115:switch(a){case"super":case"switch":return reservedWord(a)}break;case 116:switch(a){case"true":return tokens.trueLiteral;case"this":return tokens.thisKeyword;case"throw":case"try":case"typeof":return reservedWord(a)}break;case 118:switch(a){case"var":case"void":return reservedWord(a)}break;case 119:switch(a){case"while": -case"with":return reservedWord(a)}}}var tokenType={leftBrace:1,rightBrace:2,leftBracket:3,rightBracket:4,separator:5,colon:6,semicolon:7,comma:8,dot:9,nullLiteral:10,trueLiteral:11,falseLiteral:12,numberLiteral:13,stringLiteral:14,identifier:15,reservedWord:16,thisKeyword:17,leftParentheses:18,rightParentheses:19,eof:20,error:21},tokens={leftBrace:{type:tokenType.leftBrace,length:1},rightBrace:{type:tokenType.rightBrace,length:1},leftBracket:{type:tokenType.leftBracket,length:1},rightBracket:{type:tokenType.rightBracket,length:1},colon:{type:tokenType.colon,length:1},semicolon:{type:tokenType.semicolon,length:1},comma:{type:tokenType.comma,length:1},dot:{type:tokenType.dot,length:1},nullLiteral:{type:tokenType.nullLiteral,length:4,value:null,keyword:!0},trueLiteral:{type:tokenType.trueLiteral,length:4,value:!0,keyword:!0},falseLiteral:{type:tokenType.falseLiteral,length:5,value:!1,keyword:!0},thisKeyword:{type:tokenType.thisKeyword,length:4,value:"this",keyword:!0},leftParentheses:{type:tokenType.leftParentheses,length:1},rightParentheses:{type:tokenType.rightParentheses,length:1},eof:{type:tokenType.eof,length:0}},lexer=function(){function isIdentifierStartCharacter(a,b,c,d){switch(a){case a>=97&&122>=a&&a:case a>=65&&90>=a&&a:case 36:case 95:return!0;case isWhitespace(a)&&a:case isLineTerminator(a)&&a:return!1;case a>127&&a:return!0;case 92:return d>c+4&&117===b.charCodeAt(c)&&isHexDigit(b.charCodeAt(c+1))&&isHexDigit(b.charCodeAt(c+2))&&isHexDigit(b.charCodeAt(c+3))&&isHexDigit(b.charCodeAt(c+4))?!0:!1;default:return!1}}function readIdentifierPart(a,b,c){for(var d=!1;c>b;){var e=a.charCodeAt(b);switch(e){case e>=97&&122>=e&&e:case e>=65&&90>=e&&e:case 36:case 95:break;case isWhitespace(e)&&e:case isLineTerminator(e)&&e:return d?-b:b;case e>127&&e:break;case e>=48&&57>=e&&e:break;case 92:if(c>b+5&&117===a.charCodeAt(b+1)&&isHexDigit(a.charCodeAt(b+2))&&isHexDigit(a.charCodeAt(b+3))&&isHexDigit(a.charCodeAt(b+4))&&isHexDigit(a.charCodeAt(b+5))){b+=5,d=!0;break}return d?-b:b;default:return d?-b:b}b++}return d?-b:b}function readIdentifierToken(a,b,c){var d=b;b=readIdentifierPart(a,b,c);var e=!1;0>b&&(b=-b,e=!0);var f=a.substr(d,b-d);e&&(f=""+JSON.parse('"'+f+'"'));var g=reservedWordLookup(f);return g?g:{type:tokenType.identifier,length:b-d,value:f}}function isHexDigit(a){switch(a){case a>=48&&57>=a&&a:case a>=97&&102>=a&&a:case a>=65&&70>=a&&a:return!0;default:return!1}}function readHexIntegerLiteral(a,b,c){for(;c>b&&isHexDigit(a.charCodeAt(b));)b++;return b}function isDecimalDigit(a){switch(a){case a>=48&&57>=a&&a:return!0;default:return!1}}function readDecimalDigits(a,b,c){for(;c>b&&isDecimalDigit(a.charCodeAt(b));)b++;return b}function readDecimalLiteral(a,b,c){if(b=readDecimalDigits(a,b,c),c>b&&46===a.charCodeAt(b)&&c>b+1&&isDecimalDigit(a.charCodeAt(b+1))&&(b=readDecimalDigits(a,b+2,c)),c>b){var d=a.charCodeAt(b);if(101===d||69===d){var e=b+1;c>e&&(d=a.charCodeAt(e),(43===d||45===d)&&e++,b=readDecimalDigits(a,e,c))}}return b}function readDecimalLiteralToken(a,b,c,d){var c=readDecimalLiteral(a,c,d),e=c-b;return{type:tokenType.numberLiteral,length:e,value:+a.substr(b,e)}}function isLineTerminator(a){switch(a){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function readStringLiteralToken(text,offset,limit){var startOffset=offset,quoteCharCode=text.charCodeAt(offset),hasEscape=!1;for(offset++;limit>offset&&!isLineTerminator(text.charCodeAt(offset));){if(limit>offset+1&&92===text.charCodeAt(offset))switch(hasEscape=!0,text.charCodeAt(offset+1)){case quoteCharCode:case 92:case 10:case 8232:case 8233:offset+=2;continue;case 13:offset+=limit>offset+2&&10===text.charCodeAt(offset+2)?3:2;continue}if(offset++,text.charCodeAt(offset-1)===quoteCharCode)break}var length=offset-startOffset;hasEscape=hasEscape||1===length||text.charCodeAt(offset-1)!==quoteCharCode;var stringValue;return stringValue=hasEscape?eval(text.substr(startOffset,length)):text.substr(startOffset+1,length-2),{type:tokenType.stringLiteral,length:length,value:stringValue}}function isWhitespace(a){switch(a){case 9:case 11:case 12:case 32:case 160:case 65279:return!0;case 5760>a&&a:return!1;case 5760:case 6158:case a>=8192&&8202>=a&&a:case 8239:case 8287:case 12288:return!0;default:return!1}}function readWhitespace(a,b,c){for(;c>b;){var d=a.charCodeAt(b);switch(d){case 9:case 11:case 12:case 32:case 160:case 65279:break;case 5760>d&&d:return b;case 5760:case 6158:case d>=8192&&8202>=d&&d:case 8239:case 8287:case 12288:break;default:return b}b++}return b}function lex(a,b,c,d){for(;d>c;){var e,f=c,g=b.charCodeAt(c++);switch(g){case isWhitespace(g)&&g:case isLineTerminator(g)&&g:c=readWhitespace(b,c,d),e={type:tokenType.separator,length:c-f};continue;case 34:case 39:e=readStringLiteralToken(b,c-1,d);break;case 40:e=tokens.leftParentheses;break;case 41:e=tokens.rightParentheses;break;case 43:case 45:if(d>c){var h=b.charCodeAt(c);if(46===h){var i=c+1;if(d>i&&isDecimalDigit(b.charCodeAt(i))){e=readDecimalLiteralToken(b,f,i,d);break}}else if(isDecimalDigit(h)){e=readDecimalLiteralToken(b,f,c,d);break}}e={type:tokenType.error,length:c-f,value:b.substring(f,c)};break;case 44:e=tokens.comma;break;case 46:e=tokens.dot,d>c&&isDecimalDigit(b.charCodeAt(c))&&(e=readDecimalLiteralToken(b,f,c,d));break;case 48:var j=d>c?b.charCodeAt(c):0;if(120===j||88===j){var k=readHexIntegerLiteral(b,c+1,d);e={type:tokenType.numberLiteral,length:k-f,value:+b.substr(f,k-f)}}else e=readDecimalLiteralToken(b,f,c,d);break;case g>=49&&57>=g&&g:e=readDecimalLiteralToken(b,f,c,d);break;case 58:e=tokens.colon;break;case 59:e=tokens.semicolon;break;case 91:e=tokens.leftBracket;break;case 93:e=tokens.rightBracket;break;case 123:e=tokens.leftBrace;break;case 125:e=tokens.rightBrace;break;default:if(isIdentifierStartCharacter(g,b,c,d)){e=readIdentifierToken(b,c-1,d);break}e={type:tokenType.error,length:c-f,value:b.substring(f,c)}}c+=e.length-1,a.push(e)}}return function(a){var b=[];return lex(b,a,0,a.length),b.push(tokens.eof),b}}();return lexer.tokenType=tokenType,lexer})})}),define("WinJS/ControlProcessor/_OptionsParser",["exports","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Resources","./_OptionsLexer"],function(a,b,c,d,e,f){"use strict";function g(){throw"Illegal"}function h(a){for(var b=Object.keys(j.tokenType),c=0,d=b.length;d>c;c++)if(a===j.tokenType[b[c]])return b[c];return""}var i={get invalidOptionsRecord(){return"Invalid options record: '{0}', expected to be in the format of an object literal. {1}"},get unexpectedTokenExpectedToken(){return"Unexpected token: {0}, expected token: {1}, at offset {2}"},get unexpectedTokenExpectedTokens(){return"Unexpected token: {0}, expected one of: {1}, at offset {2}"},get unexpectedTokenGeneric(){return"Unexpected token: {0}, at offset {1}"}},j=b.Namespace.defineWithParent(null,null,{lexer:b.Namespace._lazy(function(){return f._optionsLexer}),tokenType:b.Namespace._lazy(function(){return f._optionsLexer.tokenType})}),k=c.requireSupportedForProcessing,l=b.Namespace.defineWithParent(null,null,{BaseInterpreter:b.Namespace._lazy(function(){return b.Class.define(null,{_error:function(a){throw new d("WinJS.UI.ParseError",a)},_currentOffset:function(){for(var a=this._pos,b=0,c=0;a>c;c++)b+=this._tokens[c].length;return b},_evaluateAccessExpression:function(a){switch(this._current.type){case j.tokenType.dot:switch(this._read(),this._current.type){case j.tokenType.identifier:case this._current.keyword&&this._current.type:var b=this._current.value;return this._read(),a[b];default:this._unexpectedToken(j.tokenType.identifier,j.tokenType.reservedWord)}return;case j.tokenType.leftBracket:this._read();var c=this._evaluateValue();return this._read(j.tokenType.rightBracket),a[c]}},_evaluateAccessExpressions:function(a){for(;;)switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:a=this._evaluateAccessExpression(a);break;default:return a}},_evaluateIdentifier:function(a,b){var c=this._readIdentifier();return b=a?b[c]:this._context[c]},_evaluateIdentifierExpression:function(){var a=this._evaluateIdentifier(!1);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:return this._evaluateAccessExpressions(a);default:return a}},_initialize:function(a,b,c,d){this._originalSource=b,this._tokens=a,this._context=c,this._functionContext=d,this._pos=0,this._current=this._tokens[0]},_read:function(a){a&&this._current.type!==a&&this._unexpectedToken(a),this._current!==j.tokenType.eof&&(this._current=this._tokens[++this._pos])},_peek:function(a){return a&&this._current.type!==a?void 0:this._current!==j.tokenType.eof?this._tokens[this._pos+1]:void 0},_readAccessExpression:function(a){switch(this._current.type){case j.tokenType.dot:switch(this._read(),this._current.type){case j.tokenType.identifier:case this._current.keyword&&this._current.type:a.push(this._current.value),this._read();break;default:this._unexpectedToken(j.tokenType.identifier,j.tokenType.reservedWord)}return;case j.tokenType.leftBracket:return this._read(),a.push(this._evaluateValue()),void this._read(j.tokenType.rightBracket)}},_readAccessExpressions:function(a){for(;;)switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:this._readAccessExpression(a);break;default:return}},_readIdentifier:function(){var a=this._current.value;return this._read(j.tokenType.identifier),a},_readIdentifierExpression:function(){var a=[];switch(this._peek(j.tokenType.thisKeyword)&&0===a.length?this._read():a.push(this._readIdentifier()),this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:this._readAccessExpressions(a)}return a},_unexpectedToken:function(a){var b=this._current.type===j.tokenType.error?"'"+this._current.value+"'":h(this._current.type);if(a)if(1===arguments.length)a=h(a),this._error(e._formatString(i.unexpectedTokenExpectedToken,b,a,this._currentOffset()));else{for(var c=[],d=0,f=arguments.length;f>d;d++)c.push(h(arguments[d]));a=c.join(", "),this._error(e._formatString(i.unexpectedTokenExpectedTokens,b,a,this._currentOffset()))}else this._error(e._formatString(i.unexpectedTokenGeneric,b,this._currentOffset()))}},{supportedForProcessing:!1})}),OptionsInterpreter:b.Namespace._lazy(function(){return b.Class.derive(l.BaseInterpreter,function(a,b,c,d){this._initialize(a,b,c,d)},{_error:function(a){throw new d("WinJS.UI.ParseError",e._formatString(i.invalidOptionsRecord,this._originalSource,a))},_evaluateArrayLiteral:function(){var a=[];return this._read(j.tokenType.leftBracket),this._readArrayElements(a),this._read(j.tokenType.rightBracket),a},_evaluateObjectLiteral:function(){var a={};return this._read(j.tokenType.leftBrace),this._readObjectProperties(a),this._tryReadComma(),this._read(j.tokenType.rightBrace),a},_evaluateOptionsLiteral:function(){var a=this._evaluateValue();return this._current.type!==j.tokenType.eof&&this._unexpectedToken(j.tokenType.eof),a},_peekValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:case j.tokenType.leftBrace:case j.tokenType.leftBracket:case j.tokenType.identifier:return!0;default:return!1}},_evaluateValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;case j.tokenType.leftBrace:return this._evaluateObjectLiteral();case j.tokenType.leftBracket:return this._evaluateArrayLiteral();case j.tokenType.identifier:return k(this._peek(j.tokenType.identifier).type===j.tokenType.leftParentheses?this._evaluateObjectQueryExpression():this._evaluateIdentifierExpression());default:this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier)}},_tryReadElement:function(a){return this._peekValue()?(a.push(this._evaluateValue()),!0):!1},_tryReadComma:function(){return this._peek(j.tokenType.comma)?(this._read(),!0):!1},_tryReadElision:function(a){for(var b=!1;this._tryReadComma();)a.push(void 0),b=!0;return b},_readArrayElements:function(a){for(;!this._peek(j.tokenType.rightBracket);){var b=this._tryReadElision(a),c=this._tryReadElement(a),d=this._peek(j.tokenType.comma);if(!c||!d){if(c||b)break;this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier);break}this._read()}},_readObjectProperties:function(a){for(;!this._peek(j.tokenType.rightBrace);){var b=this._tryReadObjectProperty(a),c=this._peek(j.tokenType.comma);if(!b||!c){if(b)break;this._unexpectedToken(j.tokenType.numberLiteral,j.tokenType.stringLiteral,j.tokenType.identifier);break}this._read()}},_tryReadObjectProperty:function(a){switch(this._current.type){case j.tokenType.numberLiteral:case j.tokenType.stringLiteral:case j.tokenType.identifier:case this._current.keyword&&this._current.type:var b=this._current.value;return this._read(),this._read(j.tokenType.colon),a[b]=this._evaluateValue(),!0;default:return!1}},_failReadObjectProperty:function(){this._unexpectedToken(j.tokenType.numberLiteral,j.tokenType.stringLiteral,j.tokenType.identifier,j.tokenType.reservedWord)},_evaluateObjectQueryExpression:function(){var a=this._current.value;this._read(j.tokenType.identifier),this._read(j.tokenType.leftParentheses);var b=this._current.value;this._read(j.tokenType.stringLiteral),this._read(j.tokenType.rightParentheses);var c=k(this._functionContext[a])(b);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:return this._evaluateAccessExpressions(c);default:return c}},run:function(){return this._evaluateOptionsLiteral()}},{supportedForProcessing:!1})}),OptionsParser:b.Namespace._lazy(function(){return b.Class.derive(l.OptionsInterpreter,function(a,b){this._initialize(a,b)},{_evaluateAccessExpression:g,_evaluateAccessExpressions:g,_evaluateIdentifier:g,_evaluateIdentifierExpression:g,_evaluateObjectQueryExpression:g,_evaluateValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;case j.tokenType.leftBrace:return this._evaluateObjectLiteral();case j.tokenType.leftBracket:return this._evaluateArrayLiteral();case j.tokenType.identifier:return this._peek(j.tokenType.identifier).type===j.tokenType.leftParentheses?this._readObjectQueryExpression():this._readIdentifierExpression();default:this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier)}},_readIdentifierExpression:function(){var a=l.BaseInterpreter.prototype._readIdentifierExpression.call(this);return new p(a)},_readObjectQueryExpression:function(){var a=this._current.value;this._read(j.tokenType.identifier),this._read(j.tokenType.leftParentheses);var b=this._current.value;this._read(j.tokenType.stringLiteral),this._read(j.tokenType.rightParentheses);var c=new o(a,b);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:var d=[c];return this._readAccessExpressions(d),new p(d);default:return c}}},{supportedForProcessing:!1})})}),m=function(a,b,c){var d=j.lexer(a),e=new l.OptionsInterpreter(d,a,b||{},c||{});return e.run()};Object.defineProperty(m,"_BaseInterpreter",{get:function(){return l.BaseInterpreter}});var n=function(a){var b=j.lexer(a),c=new l.OptionsParser(b,a);return c.run()},o=b.Class.define(function(a,b){this.target=a,this.arg0Value=b});o.supportedForProcessing=!1;var p=b.Class.define(function(a){this.parts=a});p.supportedForProcessing=!1,b.Namespace._moduleDefine(a,"WinJS.UI",{optionsParser:m,_optionsParser:n,_CallExpression:o,_IdentifierExpression:p})}),define("WinJS/ControlProcessor",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_Log","./Core/_Resources","./Core/_WriteProfilerMark","./ControlProcessor/_OptionsParser","./Promise","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j){"use strict";function k(a){var c=function(c){for(var d,e=a;e;){if(e.msParentSelectorScope){var f=e.parentNode;if(f&&(d=j._matchesSelector(f,c)?f:f.querySelector(c)))break}e=e.parentNode}return d||b.document.querySelector(c)};return s(c)}function l(a,c){return new i(function(d,g){try{var i,j=a.getAttribute("data-win-options");j&&(i=h.optionsParser(j,b,{select:k(a)}));var l,m=1;c.length>2&&m++;var n=function(){m--,0===m&&(a.winControl=a.winControl||l,d(l))};l=new c(a,i,n),n()}catch(o){e.log&&e.log(f._formatString(r.errorActivatingControl,o&&o.message),"winjs controls","error"),g(o)}})}function m(a,c){return new i(function(d,e){g("WinJS.UI:processAll,StartTM"),a=a||b.document.body;var f=0,h="[data-win-control]",i=a.querySelectorAll(h),j=[];!c&&n(a)&&j.push(a);for(var k=0,m=i.length;m>k;k++)j.push(i[k]);if(0===j.length)return g("WinJS.UI:processAll,StopTM"),void d(a);for(var o=function(){f-=1,0>f&&(g("WinJS.UI:processAll,StopTM"),d(a))},q=new Array(j.length),k=0,m=j.length;m>k;k++){var r,s=j[k],u=s.winControl;u?r=u.constructor:q[k]=r=n(s),r&&r.isDeclarativeControlContainer&&(k+=s.querySelectorAll(h).length)}g("WinJS.UI:processAllActivateControls,StartTM");for(var k=0,m=j.length;m>k;k++){var v=q[k],s=j[k];if(v&&!s.winControl&&(f++,l(s,v).then(o,function(a){g("WinJS.UI:processAll,StopTM"),e(a)}),v.isDeclarativeControlContainer&&"function"==typeof v.isDeclarativeControlContainer)){var w=t(v.isDeclarativeControlContainer);w(s.winControl,p)}}g("WinJS.UI:processAllActivateControls,StopTM"),o()})}function n(a){if(a.getAttribute){var c=a.getAttribute("data-win-control");if(c)return d._getMemberFiltered(c.trim(),b,t)}}function o(a,b){return k(b)(a)}function p(a,b){return u?m(a,b):d.ready().then(function(){return u=!0,m(a,b)})}function q(a){if(a&&a.winControl)return i.as(a.winControl);var b=n(a);return b?l(a,b):i.as()}if(b.document){var r={get errorActivatingControl(){return"Error activating control: {0}"}},s=d.markSupportedForProcessing,t=d.requireSupportedForProcessing,u=!1;c.Namespace._moduleDefine(a,"WinJS.UI",{scopedSelect:o,processAll:p,process:q})}}),define("WinJS/Utilities/_ElementListUtilities",["exports","../Core/_Global","../Core/_Base","../ControlProcessor","../Promise","../Utilities/_Control","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g){"use strict";b.document&&c.Namespace._moduleDefine(a,"WinJS.Utilities",{QueryCollection:c.Class.derive(Array,function(a){a&&this.include(a)},{forEach:function(a,b){return Array.prototype.forEach.apply(this,[a,b]),this},get:function(a){return this[a]},setAttribute:function(a,b){return this.forEach(function(c){c.setAttribute(a,b)}),this},getAttribute:function(a){return this.length>0?this[0].getAttribute(a):void 0},addClass:function(a){return this.forEach(function(b){g.addClass(b,a)}),this},hasClass:function(a){return this.length>0?g.hasClass(this[0],a):!1},removeClass:function(a){return this.forEach(function(b){g.removeClass(b,a)}),this},toggleClass:function(a){return this.forEach(function(b){g.toggleClass(b,a)}),this},listen:function(a,b,c){return this.forEach(function(d){d.addEventListener(a,b,c)}),this},removeEventListener:function(a,b,c){return this.forEach(function(d){d.removeEventListener(a,b,c)}),this},setStyle:function(a,b){return this.forEach(function(c){c.style[a]=b}),this},clearStyle:function(a){return this.forEach(function(b){b.style[a]=""}),this},query:function(b){var c=new a.QueryCollection;return this.forEach(function(a){c.include(a.querySelectorAll(b))}),c},include:function(a){if("number"==typeof a.length)for(var b=0;bj;j++){var c,d;do c=i.shift(),d=c&&h[c];while(c&&!d);if(!d)break;delete h[c];try{d().then(b,b)}catch(e){b()}}k--}function f(a,b,d){var f,j="w"+g++;return new c(function(c,g,k){var l=function(){return f=a().then(c,g,k)};l.data=b,h[j]=l,d?i.unshift(j):i.push(j),e()},function(){delete h[j],f&&f.cancel()})}var g=0,h={},i=[];a=a||3;var j=0,k=0;this.sort=function(a){i.sort(function(b,c){return b=h[b],c=h[c],void 0===b&&void 0===c?0:void 0===b?1:void 0===c?-1:a(b.data,c.data)})},this.queue=f},{},{supportedForProcessing:!1})})})}),define("WinJS/Utilities/_VersionManager",["exports","../Core/_Base","../_Signal"],function(a,b,c){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_VersionManager:b.Namespace._lazy(function(){return b.Class.define(function(){this._unlocked=new c,this._unlocked.complete()},{_cancelCount:0,_notificationCount:0,_updateCount:0,_version:0,locked:{get:function(){return 0!==this._notificationCount||0!==this._updateCount}},noOutstandingNotifications:{get:function(){return 0===this._notificationCount}},version:{get:function(){return this._version}},unlocked:{get:function(){return this._unlocked.promise}},_dispose:function(){this._unlocked&&(this._unlocked.cancel(),this._unlocked=null)},beginUpdating:function(){this._checkLocked(),this._updateCount++},endUpdating:function(){this._updateCount--,this._checkUnlocked()},beginNotifications:function(){this._checkLocked(),this._notificationCount++},endNotifications:function(){this._notificationCount--,this._checkUnlocked()},_checkLocked:function(){this.locked||(this._dispose(),this._unlocked=new c)},_checkUnlocked:function(){this.locked||this._unlocked.complete()},receivedNotification:function(){if(this._version++,this._cancel){var a=this._cancel;this._cancel=null,a.forEach(function(a){a&&a.cancel()})}},cancelOnNotification:function(a){return this._cancel||(this._cancel=[],this._cancelCount=0),this._cancel[this._cancelCount++]=a,this._cancelCount-1},clearCancelOnNotification:function(a){this._cancel&&delete this._cancel[a]}},{supportedForProcessing:!1})})})}),define("WinJS/Utilities/_ItemsManager",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../_Signal","../Scheduler","../Utilities/_ElementUtilities","./_ParallelWorkQueue","./_VersionManager"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";function n(a){return t(function(b,c){return b.then(function(b){return b?a(b,c):null})})}function o(a,b){var c=!1,d=!1;return a.isOnScreen().then(function(a){c=a}),b.isOnScreen().then(function(a){d=a}),(c?0:1)-(d?0:1)}function p(a){if(!/^blob:/i.test(a)&&(B[a]=!0,C.push(a),C.length>E)){var b=C;B={},C=[];for(var c=0,d=b.length-1;d>=0&&D>c;d--){var e=b[d];B[e]||(B[e]=!0,c++)}}}function q(a,c,d){var e=A++;return w=w||new l._ParallelWorkQueue(6),w.queue(function(){return new h(function(d,f){j.schedule(function(e){c||(c=b.document.createElement("img"));var g=B[a];g?(p(a),c.src=a,d(c)):e.setPromise(new h(function(e){var g=b.document.createElement("img"),h=function(){g.removeEventListener("load",i,!1),g.removeEventListener("error",j,!1),c.src=a;var b=new Date;b-y>z&&(y=b,w.sort(o))},i=function(){e(k)},j=function(){e(l)},k=function(){p(a),h(),d(c)},l=function(){h(),f(c)};g.addEventListener("load",i,!1),g.addEventListener("error",j,!1),g.src=a}))},j.Priority.normal,null,"WinJS.UI._ImageLoader._image"+e)})},d)}function r(a){return B[a]}function s(){return b.document.createElement("div")}var t=d.markSupportedForProcessing,u=k._uniqueID,v=n(function(a){if(k._isDOMElement(a.data))return a.data;var c=a.data;void 0===c?c="undefined":null===c?c="null":"object"==typeof c&&(c=JSON.stringify(c));var d=b.document.createElement("span");return d.textContent=c.toString(),d});c.Namespace._moduleDefine(a,"WinJS.UI",{_normalizeRendererReturn:function(a){if(a){if("object"==typeof a&&a.element){var b=h.as(a.element);return b.then(function(b){return{element:b,renderComplete:h.as(a.renderComplete)}})}var b=h.as(a);return b.then(function(a){return{element:a,renderComplete:h.as()}})}return{element:null,renderComplete:h.as()}},simpleItemRenderer:n,_trivialHtmlRenderer:v});var w,x={get listDataSourceIsInvalid(){return"Invalid argument: dataSource must be an object."},get itemRendererIsInvalid(){return"Invalid argument: itemRenderer must be a function."},get itemIsInvalid(){return"Invalid argument: item must be a DOM element that was returned by the Items Manager, and has not been replaced or released."}},y=new Date,z=64,A=0,B={},C=[],D=250,E=1e3;c.Namespace._moduleDefine(a,"WinJS.UI",{_seenUrl:p,_getSeenUrls:function(){return B},_getSeenUrlsMRU:function(){return C},_seenUrlsMaxSize:D,_seenUrlsMRUMaxSize:E}),c.Namespace._moduleDefine(a,"WinJS.UI",{_createItemsManager:c.Namespace._lazy(function(){var b=c.Class.define(function(a){this._itemsManager=a},{beginNotifications:function(){this._itemsManager._versionManager.beginNotifications(),this._itemsManager._beginNotifications()},inserted:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._inserted(a,b,c)},changed:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._changed(a,b)},moved:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._moved(a,b,c)},removed:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._removed(a,b)},countChanged:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._countChanged(a,b)},indexChanged:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._indexChanged(a,b,c)},affectedRange:function(a){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._affectedRange(a)},endNotifications:function(){this._itemsManager._versionManager.endNotifications(),this._itemsManager._endNotifications()},reload:function(){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._reload()}},{supportedForProcessing:!1}),d=c.Class.define(function(a,c,d,f){if(!a)throw new e("WinJS.UI.ItemsManager.ListDataSourceIsInvalid",x.listDataSourceIsInvalid);if(!c)throw new e("WinJS.UI.ItemsManager.ItemRendererIsInvalid",x.itemRendererIsInvalid);this.$pipeline_callbacksMap={},this._listDataSource=a,this.dataSource=this._listDataSource,this._elementNotificationHandler=d,this._listBinding=this._listDataSource.createListBinding(new b(this)),f&&(f.ownerElement&&(this._ownerElement=f.ownerElement),this._profilerId=f.profilerId,this._versionManager=f.versionManager||new m._VersionManager),this._indexInView=f&&f.indexInView,this._itemRenderer=c,this._viewCallsReady=f&&f.viewCallsReady,this._elementMap={},this._handleMap={},this._jobOwner=j.createOwnerToken(),this._notificationsSent=!1,this._listBinding.last&&(this.lastItem=function(){return this._elementForItem(this._listBinding.last())})},{_itemFromItemPromise:function(a){return this._waitForElement(this._elementForItem(a))},_itemFromItemPromiseThrottled:function(a){return this._waitForElement(this._elementForItem(a,!0))},_itemAtIndex:function(a){var b=this._itemPromiseAtIndex(a);this._itemFromItemPromise(b).then(null,function(a){return b.cancel(),h.wrapError(a)})},_itemPromiseAtIndex:function(a){return this._listBinding.fromIndex(a)},_waitForElement:function(a){var b=this;return new h(function(c){if(a)if(b.isPlaceholder(a)){var d=u(a),e=b.$pipeline_callbacksMap[d];e?e.push(c):b.$pipeline_callbacksMap[d]=[c]}else c(a);else c(a)})},_updateElement:function(a,b){var c=u(b),d=this.$pipeline_callbacksMap[c];d&&(delete this.$pipeline_callbacksMap[c],d.forEach(function(b){b(a)}))},_firstItem:function(){return this._waitForElement(this._elementForItem(this._listBinding.first()))},_lastItem:function(){return this._waitForElement(this._elementForItem(this._listBinding.last()))},_previousItem:function(a){return this._listBinding.jumpToItem(this._itemFromElement(a)),this._waitForElement(this._elementForItem(this._listBinding.previous()))},_nextItem:function(a){return this._listBinding.jumpToItem(this._itemFromElement(a)),this._waitForElement(this._elementForItem(this._listBinding.next()))},_itemFromPromise:function(a){return this._waitForElement(this._elementForItem(a))},isPlaceholder:function(a){return!!this._recordFromElement(a).elementIsPlaceholder},itemObject:function(a){return this._itemFromElement(a)},release:function(){this._listBinding.release(),this._elementNotificationHandler=null,this._listBinding=null,this._jobOwner.cancelAll(),this._released=!0},releaseItemPromise:function(a){var b=a.handle,c=this._handleMap[b];c?this._releaseRecord(c):a.cancel()},releaseItem:function(a){var b=this._elementMap[u(a)];this._releaseRecord(b)},_releaseRecord:function(a){a&&(a.renderPromise&&a.renderPromise.cancel(),a.itemPromise&&a.itemPromise.cancel(),a.imagePromises&&a.imagePromises.forEach(function(a){a.cancel()}),a.itemReadyPromise&&a.itemReadyPromise.cancel(),a.renderComplete&&a.renderComplete.cancel(),this._removeEntryFromElementMap(a.element),this._removeEntryFromHandleMap(a.itemPromise.handle,a),a.item&&this._listBinding.releaseItem(a.item))},refresh:function(){return this._listDataSource.invalidateAll()},_handlerToNotifyCaresAboutItemAvailable:function(){return!(!this._elementNotificationHandler||!this._elementNotificationHandler.itemAvailable)},_handlerToNotify:function(){return this._notificationsSent||(this._notificationsSent=!0,this._elementNotificationHandler&&this._elementNotificationHandler.beginNotifications&&this._elementNotificationHandler.beginNotifications()),this._elementNotificationHandler},_defineIndexProperty:function(a,b,c){c.indexObserved=!1,Object.defineProperty(a,"index",{get:function(){return c.indexObserved=!0,b.index}})},_renderPlaceholder:function(a){var b={},c=s(b);return a.elementIsPlaceholder=!0,c},_renderItem:function(b,c,d){function e(){b.then(function(a){f._writeProfilerMark(m+",StartTM"),k.complete(a),f._writeProfilerMark(m+",StopTM")})}var f=this,g=f._indexInView||function(){return!0},k=new i,l=new i,m="_renderItem("+c.item.index+"):itemPromise",n=!0,o=!1;b.then(function(a){o=!0,n&&k.complete(a)}),n=!1;var p=k.promise.then(function(a){if(a){var b=Object.create(a);return f._defineIndexProperty(b,a,c),b.ready=l.promise,b.isOnScreen=function(){return h.wrap(g(a.index))},b.loadImage=function(a,d){var e=q(a,d,b);return c.imagePromises?c.imagePromises.push(e):c.imagePromises=[e], -e},b.isImageCached=r,b}return h.cancel});o||(d?(c.stage0=b,c.startStage1=function(){c.startStage1=null,e()}):e()),p.handle=b.handle,c.itemPromise=p,c.itemReadyPromise=l.promise,c.readyComplete=!1;var s="_renderItem("+c.item.index+(o?"):syncItemPromise":"):placeholder"),t="_renderItem("+c.item.index+"):itemReady";this._writeProfilerMark(s+",StartTM");var u=h.as(f._itemRenderer(p,c.element)).then(a._normalizeRendererReturn).then(function(a){return f._released?h.cancel:(p.then(function(a){if(c.pendingReady=function(){c.pendingReady&&(c.pendingReady=null,c.readyComplete=!0,f._writeProfilerMark(t+",StartTM"),l.complete(a),f._writeProfilerMark(t+",StopTM"))},!f._viewCallsReady){var b=j.schedule(c.pendingReady,j.Priority.normal,c,"WinJS.UI._ItemsManager._pendingReady");b.owner=f._jobOwner}}),a)});return this._writeProfilerMark(s+",StopTM"),u},_replaceElement:function(a,b){this._removeEntryFromElementMap(a.element),a.element=b,this._addEntryToElementMap(b,a)},_changeElement:function(a,b,c){a.renderPromise=null;var d=a.element,e=a.item;a.newItem&&(a.item=a.newItem,a.newItem=null),this._replaceElement(a,b),a.item&&a.elementIsPlaceholder&&!c?(a.elementDelayed=null,a.elementIsPlaceholder=!1,this._updateElement(a.element,d),this._handlerToNotifyCaresAboutItemAvailable()&&this._handlerToNotify().itemAvailable(a.element,d)):this._handlerToNotify().changed(b,d,e)},_elementForItem:function(a,b){var c,d=a.handle,e=this._recordFromHandle(d,!0);if(!d)return null;if(e)c=e.element;else{e={item:a,itemPromise:a},this._addEntryToHandleMap(d,e);var f=this,g=!1,h=!1,i=f._renderItem(a,e,b).then(function(b){var d=b.element;e.renderComplete=b.renderComplete,a.then(function(a){e.item=a,a||(g=!0,c=null)}),h=!0,e.renderPromise=null,d&&(c?f._presentElements(e,d):c=d)});g||(h||(e.renderPromise=i),c||(c=this._renderPlaceholder(e)),e.element=c,this._addEntryToElementMap(c,e),a.retain())}return c},_addEntryToElementMap:function(a,b){this._elementMap[u(a)]=b},_removeEntryFromElementMap:function(a){delete this._elementMap[u(a)]},_recordFromElement:function(a){var b=this._elementMap[u(a)];if(!b)throw this._writeProfilerMark("_recordFromElement:ItemIsInvalidError,info"),new e("WinJS.UI.ItemsManager.ItemIsInvalid",x.itemIsInvalid);return b},_addEntryToHandleMap:function(a,b){this._handleMap[a]=b},_removeEntryFromHandleMap:function(a){delete this._handleMap[a]},_handleInHandleMap:function(a){return!!this._handleMap[a]},_recordFromHandle:function(a,b){var c=this._handleMap[a];if(!c&&!b)throw new e("WinJS.UI.ItemsManager.ItemIsInvalid",x.itemIsInvalid);return c},_foreachRecord:function(a){var b=this._handleMap;for(var c in b){var d=b[c];a(d)}},_itemFromElement:function(a){return this._recordFromElement(a).item},_elementFromHandle:function(a){if(a){var b=this._recordFromHandle(a,!0);if(b&&b.element)return b.element}return null},_inserted:function(a,b,c){this._handlerToNotify().inserted(a,b,c)},_changed:function(a,b){if(this._handleInHandleMap(b.handle)){var c=this._recordFromHandle(b.handle);c.renderPromise&&c.renderPromise.cancel(),c.itemPromise&&c.itemPromise.cancel(),c.imagePromises&&c.imagePromises.forEach(function(a){a.cancel()}),c.itemReadyPromise&&c.itemReadyPromise.cancel(),c.renderComplete&&c.renderComplete.cancel(),c.newItem=a;var d=this,e=h.as(a);e.handle=c.itemPromise.handle,c.renderPromise=this._renderItem(e,c).then(function(a){c.renderComplete=a.renderComplete,d._changeElement(c,a.element,!1),d._presentElements(c)})}},_moved:function(a,b,c){var d=this._elementFromHandle(a.handle),e=this._elementFromHandle(b),f=this._elementFromHandle(c);this._handlerToNotify().moved(d,e,f,a),this._presentAllElements()},_removed:function(a,b){if(this._handleInHandleMap(a)){var c=this._elementFromHandle(a);this._handlerToNotify().removed(c,b,a),this.releaseItem(c),this._presentAllElements()}else this._handlerToNotify().removed(null,b,a)},_countChanged:function(a,b){this._elementNotificationHandler&&this._elementNotificationHandler.countChanged&&this._handlerToNotify().countChanged(a,b)},_indexChanged:function(a,b,c){var d;if(this._handleInHandleMap(a)){var e=this._recordFromHandle(a);if(e.indexObserved)if(e.elementIsPlaceholder)this._changeElement(e,this._renderPlaceholder(e),!0);else if(e.item.index!==b){e.renderPromise&&e.renderPromise.cancel(),e.renderComplete&&e.renderComplete.cancel();var f=e.newItem||e.item;f.index=b;var g=h.as(f);g.handle=e.itemPromise.handle;var i=this;e.renderPromise=this._renderItem(g,e).then(function(a){e.renderComplete=a.renderComplete,i._changeElement(e,a.element,!1),i._presentElements(e)})}d=e.element}this._elementNotificationHandler&&this._elementNotificationHandler.indexChanged&&this._handlerToNotify().indexChanged(d,b,c)},_affectedRange:function(a){this._elementNotificationHandler&&this._elementNotificationHandler.updateAffectedRange&&this._handlerToNotify().updateAffectedRange(a)},_beginNotifications:function(){this._externalBegin=!0,this._handlerToNotify()},_endNotifications:function(){this._notificationsSent&&(this._notificationsSent=!1,this._externalBegin=!1,this._elementNotificationHandler&&this._elementNotificationHandler.endNotifications&&this._elementNotificationHandler.endNotifications())},_reload:function(){this._elementNotificationHandler&&this._elementNotificationHandler.reload&&this._elementNotificationHandler.reload()},_postEndNotifications:function(){if(this._notificationsSent&&!this._externalBegin&&!this._endNotificationsPosted){this._endNotificationsPosted=!0;var a=this;j.schedule(function(){a._endNotificationsPosted=!1,a._endNotifications()},j.Priority.high,null,"WinJS.UI._ItemsManager._postEndNotifications")}},_presentElement:function(a){var b=a.element;this._replaceElement(a,a.elementDelayed),a.elementDelayed=null,a.elementIsPlaceholder=!1,this._updateElement(a.element,b),this._handlerToNotifyCaresAboutItemAvailable()&&this._handlerToNotify().itemAvailable(a.element,b)},_presentElements:function(a,b){b&&(a.elementDelayed=b),this._listBinding.jumpToItem(a.item),a.elementDelayed&&this._presentElement(a),this._postEndNotifications()},_presentAllElements:function(){var a=this;this._foreachRecord(function(b){b.elementDelayed&&a._presentElement(b)})},_writeProfilerMark:function(a){var b="WinJS.UI._ItemsManager:"+(this._profilerId?this._profilerId+":":":")+a;g(b)}},{supportedForProcessing:!1});return function(a,b,c,e){return new d(a,b,c,e)}})})}),define("WinJS/Utilities/_TabContainer",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","./_ElementUtilities"],function(a,b,c,d,e){"use strict";function f(a,c,d,e){var f=b.document.createEvent("UIEvent");return f.initUIEvent(c,!1,!!e,b,d?1:0),!a.dispatchEvent(f)}function g(a){var c=e._getComputedStyle(a);if("none"===c.display||"hidden"===c.visibility)return b.NodeFilter.FILTER_REJECT;if(a._tabContainer)return b.NodeFilter.FILTER_ACCEPT;if(a.parentNode&&a.parentNode._tabContainer){var d=a.parentNode._tabContainer.childFocus;return d&&a.contains(d)?j(a)>=0?b.NodeFilter.FILTER_ACCEPT:b.NodeFilter.FILTER_SKIP:b.NodeFilter.FILTER_REJECT}var f=j(a);return f>=0?b.NodeFilter.FILTER_ACCEPT:b.NodeFilter.FILTER_SKIP}function h(a){function b(){if(a.currentNode._tabContainer)e=e.concat(h(a));else if(j(a.currentNode)>=0&&e.push(a.currentNode),a.firstChild()){do b();while(a.nextSibling());a.parentNode()}}var c=a.currentNode,d=c._tabContainer.childFocus,e=[];return d?(a.currentNode=d,b(),a.currentNode=c,e):[]}function i(a,c){function d(){var a=b.document.createElement("DIV");return a.tabIndex=c?c:0,a.setAttribute("aria-hidden",!0),a}var e=a.parentNode,g=d();e.insertBefore(g,a);var h=d();e.insertBefore(h,a.nextSibling),g.addEventListener("focus",function(){f(a,"onTabEnter",!0)},!0),h.addEventListener("focus",function(){f(a,"onTabEnter",!1)},!0),this._catcherBegin=g,this._catcherEnd=h;var i=1;this.addRef=function(){i++},this.release=function(){return 0===--i&&(g.parentElement&&e.removeChild(g),h.parentElement&&e.removeChild(h)),i},this.updateTabIndex=function(a){g.tabIndex=a,h.tabIndex=a}}if(b.document){var j=e.getTabIndex,k={attach:function(a,b){return a["win-trackTabHelperObject"]?a["win-trackTabHelperObject"].addRef():a["win-trackTabHelperObject"]=new i(a,b),a["win-trackTabHelperObject"]},detach:function(a){a["win-trackTabHelperObject"].release()||delete a["win-trackTabHelperObject"]}};c.Namespace._moduleDefine(a,"WinJS.UI",{TrackTabBehavior:k,TabContainer:c.Class.define(function(a){this._element=a,this._tabIndex=0,a._tabContainer=this,null===a.getAttribute("tabindex")&&(a.tabIndex=-1);var b=this;a.addEventListener("onTabEnter",function(c){var d=f(b._element,"onTabEntered",c.detail,!0);d||(b.childFocus?b.childFocus.focus():a.focus())}),a.addEventListener("keydown",function(a){var c=a.target;if(a.keyCode===e.Key.tab){var g=!a.shiftKey,h=b._hasMoreElementsInTabOrder(c,g);if(!h){var i=f(b._element,"onTabExiting",g,!0);if(i)return a.stopPropagation(),void a.preventDefault();for(var j=b._element.querySelectorAll("a[href],area[href],button,command,input,link,menuitem,object,select,textarea,th[sorted],[tabindex]"),k=j.length,l=[],m=0;k>m;m++){var n=j[m];l.push(n.tabIndex),n.tabIndex=-1}b._elementTabHelper[g?"_catcherEnd":"_catcherBegin"].tabIndex=-1;var o=function(){c.removeEventListener("blur",o,!1);for(var a=0;k>a;a++)-1!==l[a]&&(j[a].tabIndex=l[a]);b._elementTabHelper._catcherBegin.tabIndex=b._tabIndex,b._elementTabHelper._catcherEnd.tabIndex=b._tabIndex};c.addEventListener("blur",o,!1),d._yieldForEvents(function(){f(b._element,"onTabExit",g)})}}}),this._elementTabHelper=k.attach(a,this._tabIndex),this._elementTabHelper._catcherBegin.tabIndex=0,this._elementTabHelper._catcherEnd.tabIndex=0},{dispose:function(){k.detach(this._element,this._tabIndex)},childFocus:{set:function(a){a!==this._focusElement&&(a&&a.parentNode?this._focusElement=a:this._focusElement=null)},get:function(){return this._focusElement}},tabIndex:{set:function(a){this._tabIndex=a,this._elementTabHelper.updateTabIndex(a)},get:function(){return this._tabIndex}},_element:null,_skipper:function(a){a.stopPropagation(),a.preventDefault()},_hasMoreElementsInTabOrder:function(a,c){if(!this.childFocus)return!1;for(var d=b.document.createTreeWalker(this._element,b.NodeFilter.SHOW_ELEMENT,g,!1),e=h(d),f=0;f0;return!1},_focusElement:null},{supportedForProcessing:!1})})}}),define("WinJS/Utilities/_KeyboardBehavior",["exports","../Core/_Global","../Core/_Base","./_Control","./_ElementUtilities","./_TabContainer"],function(a,b,c,d,e,f){"use strict";if(b.document){var g={touch:"touch",pen:"pen",mouse:"mouse",keyboard:"keyboard"},h=g.mouse,i={2:g.touch,3:g.pen,4:g.mouse,touch:g.touch,pen:g.pen,mouse:g.mouse};e._addEventListener(b,"pointerdown",function(a){h=i[a.pointerType]||g.mouse},!0),b.addEventListener("keydown",function(){h=g.keyboard},!0),c.Namespace._moduleDefine(a,"WinJS.UI",{_keyboardSeenLast:{get:function(){return h===g.keyboard},set:function(a){h=a?g.keyboard:g.mouse}},_lastInputType:{get:function(){return h},set:function(a){g[a]&&(h=a)}},_InputTypes:g,_WinKeyboard:function(b){e._addEventListener(b,"pointerdown",function(a){e.removeClass(a.target,"win-keyboard")},!0),b.addEventListener("keydown",function(a){e.addClass(a.target,"win-keyboard")},!0),e._addEventListener(b,"focusin",function(b){a._keyboardSeenLast&&e.addClass(b.target,"win-keyboard")},!1),e._addEventListener(b,"focusout",function(a){e.removeClass(a.target,"win-keyboard")},!1)},_KeyboardBehavior:c.Namespace._lazy(function(){var a=e.Key,g=c.Class.define(function(a,c){a=a||b.document.createElement("DIV"),c=c||{},a._keyboardBehavior=this,this._element=a,this._fixedDirection=g.FixedDirection.width,this._fixedSize=1,this._currentIndex=0,d.setOptions(this,c),this._tabContainer=new f.TabContainer(this.scroller||this._element),this._tabContainer.tabIndex=0,this._element.children.length>0&&(this._tabContainer.childFocus=this._getFocusInto(this._element.children[0])),this._element.addEventListener("keydown",this._keyDownHandler.bind(this)),e._addEventListener(this._element,"pointerdown",this._MSPointerDownHandler.bind(this))},{element:{get:function(){return this._element}},fixedDirection:{get:function(){return this._fixedDirection},set:function(a){this._fixedDirection=a}},fixedSize:{get:function(){return this._fixedSize},set:function(a){+a===a&&(a=Math.max(1,a),this._fixedSize=a)}},currentIndex:{get:function(){return this._element.children.length>0?this._currentIndex:-1},set:function(a){if(+a===a){var b=this._element.children.length;a=Math.max(0,Math.min(b-1,a)),this._currentIndex=a,this._tabContainer.childFocus=this._getFocusInto(this._element.children[a])}}},getAdjacent:{get:function(){return this._getAdjacent},set:function(a){this._getAdjacent=a}},scroller:{get:function(){return this._scroller},set:function(a){this._scroller=a}},_keyDownHandler:function(b){if(!b.altKey){if(e._matchesSelector(b.target,".win-interactive, .win-interactive *"))return;var c=this.currentIndex,d=this._element.children.length-1,f="rtl"===e._getComputedStyle(this._element).direction,h=f?a.rightArrow:a.leftArrow,i=f?a.leftArrow:a.rightArrow,j=this.getAdjacent&&this.getAdjacent(c,b.keyCode);if(+j===j)c=j;else{var k=c%this.fixedSize;b.keyCode===h?this.fixedDirection===g.FixedDirection.width?0!==k&&c--:c>=this.fixedSize&&(c-=this.fixedSize):b.keyCode===i?this.fixedDirection===g.FixedDirection.width?k!==this.fixedSize-1&&c++:c+this.fixedSize-k<=d&&(c+=this.fixedSize):b.keyCode===a.upArrow?this.fixedDirection===g.FixedDirection.height?0!==k&&c--:c>=this.fixedSize&&(c-=this.fixedSize):b.keyCode===a.downArrow?this.fixedDirection===g.FixedDirection.height?k!==this.fixedSize-1&&c++:c+this.fixedSize-k<=d&&(c+=this.fixedSize):b.keyCode===a.home?c=0:b.keyCode===a.end&&(c=this._element.children.length-1)}c=Math.max(0,Math.min(this._element.children.length-1,c)),c!==this.currentIndex&&(this._focus(c,b.keyCode),(b.keyCode===h||b.keyCode===i||b.keyCode===a.upArrow||b.keyCode===a.downArrow)&&b.stopPropagation(),b.preventDefault())}},_getFocusInto:function(a,b){return a&&a.winControl&&a.winControl._getFocusInto?a.winControl._getFocusInto(b):a},_focus:function(a,b){a=+a===a?a:this.currentIndex;var c=this._element.children[a];c&&(c=this._getFocusInto(c,b),this.currentIndex=a,e._setActive(c,this.scroller))},_MSPointerDownHandler:function(a){var b=a.target;if(b!==this.element){for(;b.parentNode!==this.element;)b=b.parentNode;for(var c=-1;b;)c++,b=b.previousElementSibling;this.currentIndex=c}}},{FixedDirection:{height:"height",width:"width"}});return g})})}}),define("WinJS/Utilities/_SafeHtml",["exports","../Core/_WinJS","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_Resources"],function(a,b,c,d,e,f){"use strict";var g,h,i,j,k,l,m={get nonStaticHTML(){return"Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property or the document.write method to add a script element will generate this exception. If the content is safe and from a trusted source, use a method to explicitly manipulate elements and attributes, such as createElement, or use setInnerHTMLUnsafe (or other unsafe method)."}};g=h=function(a,b){a.innerHTML=b},i=j=function(a,b){a.outerHTML=b},k=l=function(a,b,c){a.insertAdjacentHTML(b,c)};var n=c.MSApp;if(n&&n.execUnsafeLocalFunction)h=function(a,c){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.innerHTML=c}finally{b._execUnsafe=!1}})},j=function(a,c){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.outerHTML=c}finally{b._execUnsafe=!1}})},l=function(a,c,d){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.insertAdjacentHTML(c,d)}finally{b._execUnsafe=!1}})};else if(c.msIsStaticHTML){var o=function(a){if(!c.msIsStaticHTML(a))throw new e("WinJS.Utitilies.NonStaticHTML",m.nonStaticHTML)};g=function(a,b){o(b),a.innerHTML=b},i=function(a,b){o(b),a.outerHTML=b},k=function(a,b,c){o(c),a.insertAdjacentHTML(b,c)}}d.Namespace._moduleDefine(a,"WinJS.Utilities",{setInnerHTML:g,setInnerHTMLUnsafe:h,setOuterHTML:i,setOuterHTMLUnsafe:j,insertAdjacentHTML:k,insertAdjacentHTMLUnsafe:l})}),define("WinJS/Utilities/_Select",["exports","../Core/_Base","./_SafeHtml"],function(a,b,c){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_Select:b.Namespace._lazy(function(){function a(a){return a.replace(h,function(a){return i[a]||""})}function d(a){return a.replace(j,"")}function e(a){return this[a]}function f(){return this.length}function g(a){return a.getValue||(a.getValue=e),a.getLength||(a.getLength=f),a}var h=/[&<>'"]/g,i={"&":"&","<":"<",">":">","'":"'",'"':"""},j=/[\u200e\u200f]/g;return b.Class.define(function(a,b){this._dataSource=g(b.dataSource),this._index=b.index||0,this._domElement=a,this._domElement.tabIndex=0,b.disabled&&this.setDisabled(b.disabled);var c=this;this._domElement.addEventListener("change",function(){c._index=c._domElement.selectedIndex},!1),this._createSelectElement()},{_index:0,_dataSource:null,dataSource:{get:function(){return this._dataSource},set:function(a){this._dataSource=g(a),this._domElement&&this._createSelectElement()}},setDisabled:function(a){a?this._domElement.setAttribute("disabled","disabled"):this._domElement.removeAttribute("disabled")},_createSelectElement:function(){for(var b=this._dataSource.getLength(),e="",f=0;b>f;f++){var g=""+this._dataSource.getValue(f),h=a(g),i=d(h);e+=""}c.setInnerHTMLUnsafe(this._domElement,e),this._domElement.selectedIndex=this._index},index:{get:function(){return Math.max(0,Math.min(this._index,this._dataSource.getLength()-1))},set:function(a){if(this._index!==a){this._index=a;var b=this._domElement;b&&b.selectedIndex!==a&&(b.selectedIndex=a)}}},value:{get:function(){return this._dataSource.getValue(this.index)}}})})})}),define("WinJS/Utilities/_Telemetry",["exports"],function(a){"use strict";a.send=function(a,b){}}),define("WinJS/Utilities/_UI",["exports","../Core/_BaseCoreUtils","../Core/_Base"],function(a,b,c){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{eventHandler:function(a){return b.markSupportedForProcessing(a)},Orientation:{horizontal:"horizontal",vertical:"vertical"},CountResult:{unknown:"unknown"},CountError:{noResponse:"noResponse"},DataSourceStatus:{ready:"ready",waiting:"waiting",failure:"failure"},FetchError:{noResponse:"noResponse",doesNotExist:"doesNotExist"},EditError:{noResponse:"noResponse",canceled:"canceled",notPermitted:"notPermitted",noLongerMeaningful:"noLongerMeaningful"},ObjectType:{item:"item",groupHeader:"groupHeader",header:"header",footer:"footer"},SelectionMode:{none:"none",single:"single",multi:"multi"},TapBehavior:{directSelect:"directSelect",toggleSelect:"toggleSelect",invokeOnly:"invokeOnly",none:"none"},SwipeBehavior:{select:"select",none:"none"},GroupHeaderTapBehavior:{invoke:"invoke",none:"none"}})}),define("WinJS/Utilities/_Xhr",["../Core/_Global","../Core/_Base","../Promise","../Scheduler"],function(a,b,c,d){"use strict";function e(a,b,c){d.schedule(function(){a(b)},c,null,"WinJS.xhr")}function f(){}function g(b){var g;return new c(function(c,i,j){var k=d.currentPriority;g=new a.XMLHttpRequest;var l=!1,m=h.exec(b.url.toLowerCase());m?"file"===m[1]&&(l=!0):"file:"===a.location.protocol&&(l=!0),g.onreadystatechange=function(){return g._canceled?void(g.onreadystatechange=f):void(4===g.readyState?(g.status>=200&&g.status<300||l&&0===g.status?e(c,g,k):e(i,g,k),g.onreadystatechange=f):e(j,g,k))},g.open(b.type||"GET",b.url,!0,b.user,b.password),g.responseType=b.responseType||"",Object.keys(b.headers||{}).forEach(function(a){g.setRequestHeader(a,b.headers[a])}),b.customRequestInitializer&&b.customRequestInitializer(g),void 0===b.data?g.send():g.send(b.data)},function(){g.onreadystatechange=f,g._canceled=!0,g.abort()})}var h=/^(\w+)\:\/\//;return b.Namespace.define("WinJS",{xhr:g}),g}),define("WinJS/Utilities",["./Utilities/_Control","./Utilities/_Dispose","./Utilities/_ElementListUtilities","./Utilities/_ElementUtilities","./Utilities/_Hoverable","./Utilities/_ItemsManager","./Utilities/_KeyboardBehavior","./Utilities/_ParallelWorkQueue","./Utilities/_SafeHtml","./Utilities/_Select","./Utilities/_TabContainer","./Utilities/_Telemetry","./Utilities/_UI","./Utilities/_VersionManager","./Utilities/_Xhr"],function(){}),define("WinJS/XYFocus",["require","exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Utilities/_ElementUtilities","./Core/_Events","./ControlProcessor/_OptionsParser"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){var c=l(a,b);return c?c.target:null}function j(a,b){var d=i(a,b);if(d){var e=c.document.activeElement;if(o(d,-1))return K.dispatchEvent(B.focusChanged,{previousFocusElement:e,keyCode:-1}),d}return null}function k(a,d,e,g){function h(a,b){var c=m();a===A.left||a===A.right?(c.top=Math.max(b.targetRect.top,b.referenceRect.top,G?G.top:Number.MIN_VALUE),c.bottom=Math.min(b.targetRect.bottom,b.referenceRect.bottom,G?G.bottom:Number.MAX_VALUE),c.bottom<=c.top&&(c.top=b.targetRect.top,c.bottom=b.targetRect.bottom),c.height=c.bottom-c.top,c.width=Number.MAX_VALUE,c.left=Number.MIN_VALUE,c.right=Number.MAX_VALUE):(c.left=Math.max(b.targetRect.left,b.referenceRect.left,G?G.left:Number.MIN_VALUE),c.right=Math.min(b.targetRect.right,b.referenceRect.right,G?G.right:Number.MAX_VALUE),c.right<=c.left&&(c.left=b.targetRect.left,c.right=b.targetRect.right),c.width=c.right-c.left,c.height=Number.MAX_VALUE,c.top=Number.MIN_VALUE,c.bottom=Number.MAX_VALUE),G=c}if(e||c.document.activeElement!==E)G=null,E=null,F=null;else if(E&&F){var i=n(E.getBoundingClientRect());(i.left!==F.left||i.top!==F.top)&&(G=null,E=null,F=null)}var j=c.document.activeElement,k=l(a,{focusRoot:b.focusRoot,historyRect:G,referenceElement:E,referenceRect:e});if(k&&o(k.target,d)){if(h(a,k),E=k.target,F=k.targetRect,f.hasClass(k.target,y.toggleMode)&&f.removeClass(k.target,y.toggleModeActive),"IFRAME"===k.target.tagName){var p=k.target;if(I.isXYFocusEnabled(p)){var q=n({left:k.referenceRect.left-k.targetRect.left,top:k.referenceRect.top-k.targetRect.top,width:k.referenceRect.width,height:k.referenceRect.height}),r={};r[z.messageDataProperty]={type:z.dFocusEnter,direction:a,referenceRect:q},p.contentWindow.postMessage(r,"*")}}return K.dispatchEvent(B.focusChanged,{previousFocusElement:j,keyCode:d}),!0}if(!g&&top!==window){var q=e;q||(q=c.document.activeElement?n(c.document.activeElement.getBoundingClientRect()):m());var r={};return r[z.messageDataProperty]={type:z.dFocusExit,direction:a,referenceRect:q},c.parent.postMessage(r,"*"),!0}return!1}function l(a,d){function e(a,b,c,d){if(a>=d||c>=b)return 0;var e=Math.min(b,d)-Math.max(a,c),f=Math.min(d-c,b-a);return 0===f?0:e/f}function f(a,b,c,d,f){var g,h,i=0,j=0,k=0;switch(a){case A.left:if(f.left>=d.left)break;g=e(d.top,d.bottom,f.top,f.bottom),h=d.left-f.right,g>0?k=e(c.top,c.bottom,f.top,f.bottom):j=d.bottom<=f.top?f.top-d.bottom:d.top-f.bottom;break;case A.right:if(f.right<=d.right)break;g=e(d.top,d.bottom,f.top,f.bottom),h=f.left-d.right,g>0?k=e(c.top,c.bottom,f.top,f.bottom):j=d.bottom<=f.top?f.top-d.bottom:d.top-f.bottom;break;case A.up:if(f.top>=d.top)break;g=e(d.left,d.right,f.left,f.right),h=d.top-f.bottom,g>0?k=e(c.left,c.right,f.left,f.right):j=d.right<=f.left?f.left-d.right:d.left-f.right;break;case A.down:if(f.bottom<=d.bottom)break;g=e(d.left,d.right,f.left,f.right),h=f.top-d.bottom,g>0?k=e(c.left,c.right,f.left,f.right):j=d.right<=f.left?f.left-d.right:d.left-f.right}return h>=0&&(h=b-h,j=b-j,h>=0&&j>=0&&(h+=h*g,i=h*D.primaryAxisDistanceWeight+j*D.secondaryAxisDistanceWeight+k*D.percentInHistoryShadowWeight)),i}function g(a,b){var d,e;return(!a&&!b||a&&!a.parentNode)&&c.document.activeElement!==c.document.body&&(a=c.document.activeElement),a?(d=a,e=n(d.getBoundingClientRect())):e=b?n(b):m(),{element:d,rect:e}}d=d||{},d.focusRoot=d.focusRoot||b.focusRoot||c.document.body,d.historyRect=d.historyRect||m();var i=Math.max(c.screen.availHeight,c.screen.availWidth),j=g(d.referenceElement,d.referenceRect);if(j.element){var k=j.element.getAttribute(x.focusOverride)||j.element.getAttribute(x.focusOverrideLegacy);if(k){var l=h.optionsParser(k),o=l[a]||l[a[0].toUpperCase()+a.substr(1)];if(o){for(var q,s=j.element;!q&&s;)q=s.querySelector(o),s=s.parentElement;if(q)return q===c.document.activeElement?null:{target:q,targetRect:n(q.getBoundingClientRect()),referenceRect:j.rect,usedOverride:!0}}}}for(var t={element:null,rect:null,score:0},u=d.focusRoot.querySelectorAll("*"),v=0,w=u.length;w>v;v++){var y=u[v];if(j.element!==y&&p(y)&&!r(y)){var z=n(y.getBoundingClientRect());if(0!==z.width&&0!==z.height){var B=f(a,i,d.historyRect,j.rect,z);B>t.score&&(t.element=y,t.rect=z,t.score=B)}}}return t.element?{target:t.element,targetRect:t.rect,referenceRect:j.rect,usedOverride:!1}:null}function m(){return{top:-1,bottom:-1,right:-1,left:-1,height:0,width:0}}function n(a){return{top:Math.floor(a.top),bottom:Math.floor(a.top+a.height),right:Math.floor(a.left+a.width),left:Math.floor(a.left),height:Math.floor(a.height),width:Math.floor(a.width)}}function o(a,b){var d=K.dispatchEvent(B.focusChanging,{nextFocusElement:a,keyCode:b});return d||a.focus(),c.document.activeElement===a}function p(a){var b=a.tagName;if(!a.hasAttribute("tabindex")&&-1===C.indexOf(b)&&!f.hasClass(a,y.focusable))return!1;if("IFRAME"===b&&!I.isXYFocusEnabled(a))return!1;if("DIV"===b&&a.winControl&&a.winControl.disabled)return!1;var c=f._getComputedStyle(a);return"-1"===a.getAttribute("tabIndex")||"none"===c.display||"hidden"===c.visibility||a.disabled?!1:!0}function q(a){for(var b=a.parentElement;b&&!s(b);)b=b.parentElement;return b}function r(a){var b=q(a);return b&&!f.hasClass(b,y.toggleModeActive)}function s(a){if(f.hasClass(a,y.toggleMode))return!0;if("INPUT"===a.tagName){var b=a.type.toLowerCase();if("date"===b||"datetime"===b||"datetime-local"===b||"email"===b||"month"===b||"number"===b||"password"===b||"range"===b||"search"===b||"tel"===b||"text"===b||"time"===b||"url"===b||"week"===b)return!0}else if("TEXTAREA"===a.tagName)return!0;return!1}function t(a){var b=!1,c=!1,d=!1;a&&(b=f._matchesSelector(a,"."+y.suspended+", ."+y.suspended+" *"),c=s(a),d=f.hasClass(a,y.toggleModeActive));var e=H.RestState;return b?e=H.SuspendedState:c&&(e=d?H.ToggleModeActiveState:H.ToggleModeRestState),e}function u(a){if(!a.defaultPrevented){var c=t(document.activeElement),d="";if(-1!==b.keyCodeMap.up.indexOf(a.keyCode)?d="up":-1!==b.keyCodeMap.down.indexOf(a.keyCode)?d="down":-1!==b.keyCodeMap.left.indexOf(a.keyCode)?d="left":-1!==b.keyCodeMap.right.indexOf(a.keyCode)&&(d="right"),d){var e=c.xyFocus(d,a.keyCode);e&&a.preventDefault()}}}function v(a){if(!a.defaultPrevented){var c=document.activeElement,d=!1,e=t(document.activeElement);-1!==b.keyCodeMap.accept.indexOf(a.keyCode)?d=e.accept(c):-1!==b.keyCodeMap.cancel.indexOf(a.keyCode)&&(d=e.cancel(c)),d&&a.preventDefault()}}var w=f.Key,x={focusOverride:"data-win-xyfocus",focusOverrideLegacy:"data-win-focus"},y={focusable:"win-focusable",suspended:"win-xyfocus-suspended",toggleMode:"win-xyfocus-togglemode",toggleModeActive:"win-xyfocus-togglemode-active",xboxPlatform:"win-xbox"},z={messageDataProperty:"msWinJSXYFocusControlMessage",register:"register",unregister:"unregister",dFocusEnter:"dFocusEnter",dFocusExit:"dFocusExit"},A={left:"left",right:"right",up:"up",down:"down"},B={focusChanging:"focuschanging",focusChanged:"focuschanged"},C=["A","BUTTON","IFRAME","INPUT","SELECT","TEXTAREA"],D={primaryAxisDistanceWeight:30,secondaryAxisDistanceWeight:20,percentInHistoryShadowWeight:1e5};b.keyCodeMap={left:[],right:[],up:[],down:[],accept:[],cancel:[]},b.focusRoot,b.findNextFocusElement=i,b.moveFocus=j;var E,F,G,H;!function(a){function b(a){return a&&a.click&&a.click(),!1}function c(){for(var a=[],b=0;b=0;b--)try{var c=i[b];c.contentWindow?a(c,b):i.splice(b,1)}catch(d){i.splice(b,1)}}var i=[];a.count=b,a.getIFrameFromWindow=d,a.isXYFocusEnabled=e,a.registerIFrame=f,a.unregisterIFrame=g}(I||(I={})),c.document){b.keyCodeMap.left.push(w.GamepadLeftThumbstickLeft,w.GamepadDPadLeft,w.NavigationLeft),b.keyCodeMap.right.push(w.GamepadLeftThumbstickRight,w.GamepadDPadRight,w.NavigationRight),b.keyCodeMap.up.push(w.GamepadLeftThumbstickUp,w.GamepadDPadUp,w.NavigationUp),b.keyCodeMap.down.push(w.GamepadLeftThumbstickDown,w.GamepadDPadDown,w.NavigationDown),b.keyCodeMap.accept.push(w.GamepadA,w.NavigationAccept),b.keyCodeMap.cancel.push(w.GamepadB,w.NavigationCancel),c.addEventListener("message",function(a){var b=null;try{if(b=a.source,!b)return}catch(a){return}if(a.data&&a.data[z.messageDataProperty]){var d=a.data[z.messageDataProperty];switch(d.type){case z.register:var e=I.getIFrameFromWindow(b);e&&I.registerIFrame(e);break;case z.unregister:var e=I.getIFrameFromWindow(b);e&&I.unregisterIFrame(e);break;case z.dFocusEnter:var f=k(d.direction,-1,d.referenceRect,!0);f||(p(c.document.body)?c.document.body.focus():k(d.direction,-1));break;case z.dFocusExit:var e=I.getIFrameFromWindow(b);if(c.document.activeElement!==e)break;var g=d.referenceRect,h=e.getBoundingClientRect();g.left+=h.left,g.top+=h.top,"number"==typeof g.right&&(g.right+=h.left),"number"==typeof g.bottom&&(g.bottom+=h.top),k(d.direction,-1,g)}}}),e.ready().then(function(){if(f.hasWinRT&&c.Windows&&c.Windows.Xbox&&f.addClass(c.document.body,y.xboxPlatform),c.document.addEventListener("keydown",v,!0),c.document.addEventListener("keydown",u),c.top!==c.window){var a={};a[z.messageDataProperty]={type:z.register,version:1},c.parent.postMessage(a,"*")}});var J={focusRoot:{get:function(){return b.focusRoot},set:function(a){b.focusRoot=a}},findNextFocusElement:i,keyCodeMap:b.keyCodeMap,moveFocus:j,onfocuschanged:g._createEventProperty(B.focusChanged),onfocuschanging:g._createEventProperty(B.focusChanging),_xyFocus:k,_iframeHelper:I};J=e._merge(J,g.eventMixin),J._listeners={};var K=J;d.Namespace.define("WinJS.UI.XYFocus",J)}}),define("WinJS/Fragments",["exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Resources","./Core/_WriteProfilerMark","./Promise","./Utilities/_ElementUtilities","./Utilities/_SafeHtml","./Utilities/_Xhr"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";function m(a,c,d,e){var f=a.src,g=!f;if(g&&(f=c+"script["+d+"]"),f=f.toLowerCase(),!(f in D)){var h=null;D[f]=!0;var j=b.document.createElement("script");if(a.language&&j.setAttribute("language","javascript"),j.setAttribute("type",a.type),j.setAttribute("async","false"),a.id&&j.setAttribute("id",a.id),g){var k=a.text;h=e.then(function(){j.text=k}).then(null,function(){})}else h=new i(function(b){j.onload=j.onerror=function(){b()},j.setAttribute("src",a.src)});return C.appendChild(j),{promise:h,inline:g}}}function n(a,b,c){var d=(b+"script["+c+"]").toLowerCase();d in E||(E[d]=!0,C.appendChild(a.cloneNode(!0)))}function o(a){var b=a.href.toLowerCase();if(!(b in F)){F[b]=!0;var c=a.cloneNode(!1);c.href=a.href,C.appendChild(c)}}function p(a,c){if("string"==typeof a)return r(a,c);var d={docfrag:j.data(a).docFragment};if(!d.docfrag){ -for(var e=b.document.createDocumentFragment();a.childNodes.length>0;)e.appendChild(a.childNodes[0]);d.docfrag=j.data(a).docFragment=e,a.setAttribute("data-win-hasfragment","")}return c&&y(a),i.as(d)}function q(a,b){return z(a,b).then(function(){return a.document?s(b,a):a}).then(function(){return a.document&&delete a.document,a})}function r(a,b){var c=a.toLowerCase(),d=H[c];if(d)return b&&delete H[c],d.promise?d.promise:i.as(d);d={},b||(H[c]=d);var e=d.promise=q(d,a);return d.promise.then(function(){delete d.promise}),e}function s(a,c){var d=c.document,e=d.body,f=[];B(d.querySelectorAll('link[rel="stylesheet"], link[type="text/css"]'),o),B(d.getElementsByTagName("style"),function(b,c){n(b,a,c)});var g=i.as();B(d.getElementsByTagName("script"),function(b,c){var d=m(b,a,c,g);d&&(d.inline||(g=d.promise),f.push(d.promise))}),B(e.getElementsByTagName("img"),function(a){a.src=a.src}),B(e.getElementsByTagName("a"),function(a){if(""!==a.href){var b=a.getAttribute("href");b&&"#"!==b[0]&&(a.href=a.href)}});for(var h=e.getElementsByTagName("script");h.length>0;){var j=h[0];j.parentNode.removeChild(j)}return i.join(f).then(function(){for(var a=b.document.createDocumentFragment(),e=b.document.importNode(d.body,!0);e.childNodes.length>0;)a.appendChild(e.childNodes[0]);return c.docfrag=a,c})}function t(){G||(G=!0,B(C.querySelectorAll("script"),function(a){D[a.src.toLowerCase()]=!0}),B(C.querySelectorAll('link[rel="stylesheet"], link[type="text/css"]'),function(a){F[a.href.toLowerCase()]=!0}))}function u(a,b){return v(a,b,!0)}function v(a,c,d){var f=(a instanceof b.HTMLElement?e._getProfilerMarkIdentifier(a):" href='"+a+"'")+"["+ ++I+"]";return J("WinJS.UI.Fragments:render"+f+",StartTM"),t(),p(a,!d).then(function(a){var b=a.docfrag;d&&(b=b.cloneNode(!0));for(var e=b.firstChild;e;)1===e.nodeType&&(e.msParentSelectorScope=!0),e=e.nextSibling;var g;return c?(c.appendChild(b),g=c):g=b,J("WinJS.UI.Fragments:render"+f+",StopTM"),g})}function w(a,b){return v(a,b,!1)}function x(a){return t(),p(a).then(function(a){return a.docfrag})}function y(a){a?"string"==typeof a?delete H[a.toLowerCase()]:(delete j.data(a).docFragment,a.removeAttribute("data-win-hasfragment")):H={}}function z(a,c){var d=b.document.implementation.createHTMLDocument("frag"),e=d.createElement("base");d.head.appendChild(e);var f=d.createElement("a");return d.body.appendChild(f),e.href=b.document.location.href,f.setAttribute("href",c),e.href=f.href,a.document=d,K(c).then(function(a){k.setInnerHTMLUnsafe(d.documentElement,a),d.head.appendChild(e)})}function A(a){return l({url:a}).then(function(a){return a.responseText})}if(b.document){var B=function(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)},C=b.document.head||b.document.getElementsByTagName("head")[0],D={},E={},F={},G=!1,H={},I=1,J=h,K=A;d.Namespace._moduleDefine(a,"WinJS.UI.Fragments",{renderCopy:u,render:w,cache:x,clearCache:y,_cacheStore:{get:function(){return H}},_getFragmentContents:{get:function(){return K},set:function(a){K=a}},_writeProfilerMark:{get:function(){return J},set:function(a){J=a}}})}}),define("WinJS/Application/_State",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Promise"],function(a,b,c,d,e,f){"use strict";function g(){var b,e,f,g=d.Class.define(function(a){this.folder=a,this._path=a.path,a.tryGetItemAsync&&(this._tryGetItemAsync=a.tryGetItemAsync.bind(a))},{_tryGetItemAsync:function(a){return this.folder.getFileAsync(a).then(null,function(){return!1})},exists:function(a){return this._tryGetItemAsync(a).then(function(a){return a?!0:!1})},remove:function(a){return this._tryGetItemAsync(a).then(function(a){return a?a.deleteAsync():!1}).then(null,function(){return!1})},writeText:function(a,b){var d=c.Windows.Storage,e=this;return e.folder.createFileAsync(a,d.CreationCollisionOption.openIfExists).then(function(a){return d.FileIO.writeTextAsync(a,b)})},readText:function(a,b){var d=c.Windows.Storage;return this._tryGetItemAsync(a).then(function(a){return a?d.FileIO.readTextAsync(a):b}).then(null,function(){return b})}},{supportedForProcessing:!1});d.Namespace._moduleDefine(a,"WinJS.Application",{local:{get:function(){return b||(b=new g(c.Windows.Storage.ApplicationData.current.localFolder)),b}},temp:{get:function(){return e||(e=new g(c.Windows.Storage.ApplicationData.current.temporaryFolder)),e}},roaming:{get:function(){return f||(f=new g(c.Windows.Storage.ApplicationData.current.roamingFolder)),f}}})}function h(){var b=d.Class.define(function(){this.storage={}},{exists:function(a){return f.as(void 0!==this.storage[a])},remove:function(a){return delete this.storage[a],f.as()},writeText:function(a,b){return this.storage[a]=b,f.as(b.length)},readText:function(a,b){var c=this.storage[a];return f.as("string"==typeof c?c:b)}},{supportedForProcessing:!1});d.Namespace._moduleDefine(a,"WinJS.Application",{local:new b,temp:new b,roaming:new b})}c.Windows.Storage.FileIO&&c.Windows.Storage.ApplicationData&&c.Windows.Storage.CreationCollisionOption?g():h();var i={};d.Namespace._moduleDefine(a,"WinJS.Application",{sessionState:{get:function(){return i},set:function(a){i=a}},_loadState:function(b){return 3===b.previousExecutionState?a.local.readText("_sessionState.json","{}").then(function(b){var c=JSON.parse(b);c&&Object.keys(c).length>0&&(a._sessionStateLoaded=!0),a.sessionState=c}).then(null,function(){a.sessionState={}}):f.as()},_oncheckpoint:function(c,d){if(!(b.MSApp&&b.MSApp.getViewOpener&&b.MSApp.getViewOpener())){var e=a.sessionState;if(e&&Object.keys(e).length>0||a._sessionStateLoaded){var f;try{f=JSON.stringify(e)}catch(g){f="",d.queueEvent({type:"error",detail:g})}c.setPromise(a.local.writeText("_sessionState.json",f).then(null,function(a){d.queueEvent({type:"error",detail:a})}))}}}})}),define("WinJS/Navigation",["exports","./Core/_Base","./Core/_Events","./Core/_WriteProfilerMark","./Promise"],function(a,b,c,d,e){"use strict";var f="navigated",g="navigating",h="beforenavigate",i=b.Class.mix(b.Class.define(null,{},{supportedForProcessing:!1}),c.eventMixin),j=new i,k={backStack:[],current:{location:"",initialPlaceholder:!0},forwardStack:[]},l=c._createEventProperty,m=function(a){return d("WinJS.Navigation:navigation,StartTM"),e.as().then(function(){var b=e.as(),c=j.dispatchEvent(h,{setPromise:function(a){b=b.then(function(){return a})},location:a.location,state:a.state});return b.then(function(a){return c||a})})},n=function(a){return e.as().then(function(){var b=e.as();return j.dispatchEvent(g,{setPromise:function(a){b=b.then(function(){return a})},location:k.current.location,state:k.current.state,delta:a}),b})},o=function(a,b){d("WinJS.Navigation:navigation,StopTM");var c=e.as(),g={value:a,location:k.current.location,state:k.current.state,setPromise:function(a){c=c.then(function(){return a})}};return!a&&b&&(g.error=b),j.dispatchEvent(f,g),c},p=function(a,b,c,d){return a=Math.min(a,b.length),a>0?m(b[b.length-a]).then(function(e){if(e)return!1;for(c.push(k.current);a-1>0;)a--,c.push(b.pop());return k.current=b.pop(),n(d).then(o,function(a){throw o(void 0,a||!0),a}).then(function(){return!0})}):e.wrap(!1)};b.Namespace._moduleDefine(a,"WinJS.Navigation",{canGoForward:{get:function(){return k.forwardStack.length>0}},canGoBack:{get:function(){return k.backStack.length>0}},location:{get:function(){return k.current.location}},state:{get:function(){return k.current.state},set:function(a){k.current.state=a}},history:{get:function(){return k},set:function(a){k=a,k.backStack=k.backStack||[],k.forwardStack=k.forwardStack||[],k.current=k.current||{location:"",initialPlaceholder:!0},k.current.location=k.current.location||""}},forward:function(a){return a=a||1,p(a,k.forwardStack,k.backStack,a)},back:function(a){return a=a||1,p(a,k.backStack,k.forwardStack,-a)},navigate:function(a,b){var c={location:a,state:b};return m(c).then(function(a){return a?!1:(k.current.initialPlaceholder||k.backStack.push(k.current),k.forwardStack=[],k.current=c,n().then(o,function(a){throw o(void 0,a||!0),a}).then(function(){return!0}))})},addEventListener:function(a,b,c){j.addEventListener(a,b,c)},removeEventListener:function(a,b,c){j.removeEventListener(a,b,c)},onnavigated:l(f),onnavigating:l(g),onbeforenavigate:l(h)})}),define("WinJS/Application",["exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_Events","./Core/_Log","./Core/_WriteProfilerMark","./Application/_State","./Navigation","./Promise","./_Signal","./Scheduler","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";function n(a){var c;try{var d=[];c=JSON.stringify(a,function(a,c){return c===b?"[window]":c instanceof b.HTMLElement?"[HTMLElement]":"function"==typeof c?"[function]":"object"==typeof c?null===c?c:-1===d.indexOf(c)?(d.push(c),c):"[circular]":c})}catch(e){c=JSON.stringify("[object]")}return c}function o(c){if(f.log&&f.log(n(c),"winjs","error"),b.document&&a._terminateApp){var d=c.detail,e=d&&(d.number||d.exception&&(d.exception.number||d.exception.code)||d.error&&d.error.number||d.errorCode||0),g={description:n(d),stack:d&&(d.stack||d.exception&&(d.exception.stack||d.exception.message)||d.error&&d.error.stack||null),errorNumber:e,number:e};a._terminateApp(g,c)}}function p(a,c){b.MSApp&&b.MSApp.terminateApp(a)}function q(a){var b="def"+ma++;return{deferral:la[b]=a.getDeferral(),id:b}}function r(a,b){b&&(a=la[b],delete la[b]),a&&a.complete()}function s(){la&&(Object.keys(la).forEach(function(a){la[a].complete()}),la={})}function t(a){function b(b){return g("WinJS.Application:Event_"+a.type+",StopTM"),a._deferral&&r(a._deferral,a._deferralID),b}g("WinJS.Application:Event_"+a.type+",StartTM");var c=j.as();a.setPromise=function(a){c=c.then(function(){return a})},a._stoppedImmediatePropagation=!1,a.stopImmediatePropagation=function(){a._stoppedImmediatePropagation=!0},a.detail=a.detail||{},"object"==typeof a.detail&&(a.detail.setPromise=a.setPromise);try{if(ja._listeners){var d=!1;if(h=ja._listeners[a.type])for(var e=0,f=h.length;f>e&&!a._stoppedImmediatePropagation;e++)d=h[e].listener(a)||d}var h=pa[a.type];h&&h.forEach(function(b){b(a,d)})}catch(i){a.type===V?o(a):y({type:V,detail:i})}return c.then(b,function(a){return a=b(a),a&&"Canceled"===a.name?void 0:j.wrapError(a)})}function u(){return da||(da=new k,da.promise.done(function(){da=null},function(){da=null})),da}function v(a){function b(a){y({type:V,detail:a})}return 0===a.length?u().promise:t(a.shift()).then(null,b)}function w(a){function b(){return w}var c=a.job._queue;0===c.length&&ba.length>0&&(c=a.job._queue=z()),a.setPromise(v(c).then(b,b))}function x(){function a(){d=!0}for(var b,c=[],d=!0;d;)0===c.length&&ba.length>0&&(c=z()),d=!1,b=v(c),b.done(a,a);ca=l.schedule(function(a){function c(){return w}a.setPromise(b.then(c,c))},l.Priority.high,null,"WinJS.Application._pumpEventQueue"),ca._queue=c}function y(a){g("WinJS.Application:Event_"+a.type+" queued,Info"),ba.push(a),ea&&da&&da.complete(w)}function z(){var a=ba;return ba=[],a}function A(a){var b=q(a.activatedOperation);h._loadState(a).then(function(){y({type:S,detail:a,_deferral:b.deferral,_deferralID:b.id})})}function B(a){var b=q(a.suspendingOperation);y({type:Q,_deferral:b.deferral,_deferralID:b.id})}function C(){if(y({type:T}),!b.document||!c.Windows.UI.WebUI.WebUIApplication){var a={arguments:"",kind:"Windows.Launch",previousExecutionState:0};h._loadState(a).then(function(){y({type:S,detail:a})})}}function D(){s(),y({type:R})}function E(b){var c={};for(var d in b)c[d]=b[d];var e,f=!0,g=a._terminateApp;try{a._terminateApp=function(a,b){f=!1,e=a,g!==p&&g(a,b)},t({type:V,detail:{error:c,errorLine:b.lineno,errorCharacter:b.colno,errorUrl:b.filename,errorMessage:b.message}})}finally{a._terminateApp=g}return f}function F(a){var b=a.detail,c=b.id;if(b.parent)return void(b.handler&&P&&delete P[c]);if(b.exception instanceof Error){var d={stack:b.exception.stack,message:b.exception.message};b.exception=d}var e=!P;P=P||[],P[c]=b,e&&l.schedule(function(){var a=P;P=null,a.forEach(function(a){y({type:V,detail:a})})},l.Priority.high,null,"WinJS.Application._queuePromiseErrors")}function G(a){var b={e:a,applicationcommands:void 0};ja.dispatchEvent(W,b)}function H(a){var b={type:X};Object.defineProperty(b,"_winRTBackPressedEvent",{value:a,enumerable:!1}),t(b)}function I(){t({type:Y})}function J(a){t({type:$,kind:a.kind})}function K(a){t({type:_,kind:a.kind})}function L(a){t({type:aa,kind:a.kind})}function M(){var a=c.Windows.UI.Core.SystemNavigationManager;return ha&&a?a.getForCurrentView():null}function N(){if(!fa){if(fa=!0,b.addEventListener("beforeunload",D,!1),b.document){if(b.addEventListener("error",E,!1),c.Windows.UI.WebUI.WebUIApplication){var a=c.Windows.UI.WebUI.WebUIApplication;a.addEventListener("activated",A,!1),a.addEventListener("suspending",B,!1)}if(c.Windows.UI.ApplicationSettings.SettingsPane){var d=c.Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();d.addEventListener("commandsrequested",G)}var e=M();if(e?e.addEventListener("backrequested",H):c.Windows.Phone.UI.Input.HardwareButtons&&c.Windows.Phone.UI.Input.HardwareButtons.addEventListener("backpressed",H),c.Windows.UI.Input.EdgeGesture){var f=c.Windows.UI.Input.EdgeGesture.getForCurrentView();f.addEventListener("starting",J),f.addEventListener("completed",K),f.addEventListener("canceled",L)}}j.addEventListener("error",F)}}function O(){if(fa){if(fa=!1,b.removeEventListener("beforeunload",D,!1),b.document){if(c.Windows.UI.WebUI.WebUIApplication){b.removeEventListener("error",E,!1);var a=c.Windows.UI.WebUI.WebUIApplication;a.removeEventListener("activated",A,!1),a.removeEventListener("suspending",B,!1)}if(c.Windows.UI.ApplicationSettings.SettingsPane){var d=c.Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();d.removeEventListener("commandsrequested",G)}var e=M();if(e?e.removeEventListener("backrequested",H):c.Windows.Phone.UI.Input.HardwareButtons&&c.Windows.Phone.UI.Input.HardwareButtons.removeEventListener("backpressed",H),c.Windows.UI.Input.EdgeGesture){var f=c.Windows.UI.Input.EdgeGesture.getForCurrentView();f.removeEventListener("starting",J),f.removeEventListener("completed",K),f.removeEventListener("canceled",L)}}j.removeEventListener("error",F)}}b.Debug&&(b.Debug.setNonUserCodeExceptions=!0);var P,Q="checkpoint",R="unload",S="activated",T="loaded",U="ready",V="error",W="settings",X="backclick",Y="beforerequestingfocusonkeyboardinput",Z="requestingfocusonkeyboardinput",$="edgystarting",_="edgycompleted",aa="edgycanceled",ba=[],ca=null,da=null,ea=!1,fa=!1,ga=b.Symbol,ha=!!ga&&"symbol"==typeof ga.iterator,ia=d.Class.mix(d.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),ja=new ia,ka=e._createEventProperty,la={},ma=0,na={_registered:!1,updateRegistration:function(){var a=ja._listeners&&ja._listeners[Z]||[];!na._registered&&a.length>0&&(na._updateKeydownCaptureListeners(b.top,!0),na._registered=!0),na._registered&&0===a.length&&(na._updateKeydownCaptureListeners(b.top,!1),na._registered=!1)},_keydownCaptureHandler:function(a){na._registered&&na._shouldKeyTriggerTypeToSearch(a)&&I()},_frameLoadCaptureHandler:function(a){na._registered&&na._updateKeydownCaptureListeners(a.target.contentWindow,!0)},_updateKeydownCaptureListeners:function(a,b){if(a){try{b?a.document.addEventListener("keydown",na._keydownCaptureHandler,!0):a.document.removeEventListener("keydown",na._keydownCaptureHandler,!0)}catch(c){}if(a.frames)for(var d=0,e=a.frames.length;e>d;d++){var f=a.frames[d];na._updateKeydownCaptureListeners(f,b);try{b?f.frameElement&&f.frameElement.addEventListener("load",na._frameLoadCaptureHandler,!0):f.frameElement&&f.frameElement.removeEventListener("load",na._frameLoadCaptureHandler,!0)}catch(c){}}}},_shouldKeyTriggerTypeToSearch:function(a){var b=!1;if(!a.metaKey&&(!a.ctrlKey&&!a.altKey||a.getModifierState&&a.getModifierState("AltGraph")))switch(a.keyCode){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 219:case 220:case 221:case 222:case 223:case 226:case 229:case 231:b=!0}return b}},oa=p,pa={activated:[function(){y({type:U})}],checkpoint:[function(b){h._oncheckpoint(b,a)}],error:[function(a,b){b||o(a)}],backclick:[function(a,b){b?a._winRTBackPressedEvent.handled=!0:i.canGoBack&&(i.back(),a._winRTBackPressedEvent.handled=!0)}],beforerequestingfocusonkeyboardinput:[function(a,b){b||t({type:Z})}]};b.document&&b.document.addEventListener("DOMContentLoaded",C,!1);var qa=d.Namespace._moduleDefine(a,"WinJS.Application",{stop:function(){qa.onactivated=null,qa.oncheckpoint=null,qa.onerror=null,qa.onloaded=null,qa.onready=null,qa.onsettings=null,qa.onunload=null,qa.onbackclick=null,ja=new ia,h.sessionState={},ea=!1,z(),ca&&ca.cancel(),ca=null,da=null,O(),na.updateRegistration(),s()},addEventListener:function(a,b,c){ja.addEventListener(a,b,c),a===Z&&na.updateRegistration()},removeEventListener:function(a,b,c){ja.removeEventListener(a,b,c),a===Z&&na.updateRegistration()},checkpoint:function(){y({type:Q})},start:function(){N(),ea=!0,x()},queueEvent:y,_dispatchEvent:t,_terminateApp:{get:function(){return oa},set:function(a){oa=a}},_applicationListener:d.Namespace._lazy(function(){return new m._GenericListener("Application",qa)}),oncheckpoint:ka(Q),onunload:ka(R),onactivated:ka(S),onloaded:ka(T),onready:ka(U),onsettings:ka(W),onerror:ka(V),onbackclick:ka(X)})}),define("WinJS/Animations/_Constants",["exports","../Core/_Base"],function(a,b){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{PageNavigationAnimation:{turnstile:"turnstile",slide:"slide",enterPage:"enterPage",continuum:"continuum"}})}),define("WinJS/Animations/_TransitionAnimation",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Promise","../Scheduler","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){return Array.isArray(a)||a instanceof b.NodeList||a instanceof b.HTMLCollection?a:a?[a]:[]}function j(){return++B,"WinJSUIAnimation"+B}function k(a){return"WinJSUIAnimation"===a.substring(0,16)}function l(a){h._getComputedStyle(a,null).opacity}function m(b,c){return function(d){var e={};for(var f in d){var g=d[f];"function"==typeof g&&(g=g(b,c)),e[f]=g}return e.exactTiming||(e.delay+=a._libraryDelay),e}}function n(a,b){var c=a+"|"+b,d=C[c];d&&d(D)}function o(a,b,c){C[a+"|"+b]=c}function p(a,b){delete C[a+"|"+b]}function q(a,b,c,d,e){var f=e.styleCaches[b]||new F(b,e,c);f.cref+=d.length,d.forEach(function(a){n(b,a.property)}),(e.isTransition||d.some(function(a){return f.removed[a[e.nameField]]}))&&(l(a),f.removed={});var g=d.map(function(a){return a[e.nameField]+" "+e.props.map(function(b){return(b[1]?a[b[1]]:"")+b[2]}).join(" ")}).join(", "),h=d.map(function(a){return a[e.nameField]}).join(", ");return""!==f.names&&(g=f.names+", "+g,h=f.names+", "+h),c[e.shorthandProp]=g,f.names=h,f}function r(a,b){b?a():g.schedule(function(){a()},g.Priority.normal,null,"WinJS.UI._Animation._completeAnimationPromise")}function s(a,c,d,g,i){if(d.length>0){var j=a.style,k=h._uniqueID(a);if(y||(y=b.document.createElement("DIV").style),d=d.map(m(c,a)),d.forEach(function(a){var b=e._getCamelCasedName(a.property);a.hasOwnProperty("from")&&(j[b]=a.from),y[b]=a.to,a.to=y[b],a.propertyScriptName=b}),i){var l=q(a,k,j,d,G),n=a.disabled?b.document:a;d.forEach(function(c){var d;g.push(new f(function(f){d=function(d){g&&(n.removeEventListener(e._browserEventEquivalents.transitionEnd,g,!1),p(k,c.property),l.removeName(j,c.propertyScriptName,d?a:null,c.skipStylesReset),b.clearTimeout(i),g=null),r(f,d===E)};var g=function(b){b.target===a&&b.propertyName===c.property&&d()};o(k,c.property,d),n.addEventListener(e._browserEventEquivalents.transitionEnd,g,!1);var h=0;j[c.propertyScriptName]!==c.to&&(j[c.propertyScriptName]=c.to,h=50);var i=b.setTimeout(function(){i=b.setTimeout(d,c.delay+c.duration)},h)},function(){d(E)}))})}else d.forEach(function(a){j[a.propertyScriptName]=a.to})}}function t(a,c,d,g,i){if(i&&d.length>0){var k=a.style,l=h._uniqueID(a);d=d.map(m(c,a));var n,s=a.disabled?b.document:a;d.forEach(function(a){if(a.keyframe)a.keyframe=A.animationPrefix+a.keyframe;else{n||(n=b.document.createElement("STYLE"),b.document.documentElement.appendChild(n)),a.keyframe=j();var c="@"+A.keyframes+" "+a.keyframe+" { from {"+a.property+":"+a.from+";} to {"+a.property+":"+a.to+";}}";n.sheet.insertRule(c,0)}});var t=q(a,l,k,d,H),u=[],v=[];d.forEach(function(c){var d;v.push(new f(function(f){d=function(a){g&&(s.removeEventListener(e._browserEventEquivalents.animationEnd,g,!1),b.clearTimeout(h),g=null),r(f,a===E)};var g=function(b){b.target===a&&b.animationName===c.keyframe&&d()};o(l,c.property,d),u.push({id:l,property:c.property,style:k,keyframe:c.keyframe});var h=b.setTimeout(function(){h=b.setTimeout(d,c.delay+c.duration)},50);s.addEventListener(e._browserEventEquivalents.animationEnd,g,!1)},function(){d(E)}))}),n&&b.setTimeout(function(){var a=n.parentElement;a&&a.removeChild(n)},50);var w=function(){for(var a=0;a=0&&(f.splice(g,1),this.names=e=f.join(", "),""===e&&this.desc.isTransition&&(e="none")),--this.cref?(a[this.desc.nameProp]=e,k(b)||(this.removed[b]=!0)):(c&&"none"===e&&(a[this.desc.nameProp]=e,l(c)),this.destroy(a,d))}}),G={shorthandProp:A.transition.scriptName,nameProp:A["transition-property"].scriptName,nameField:"property",props:[[A["transition-duration"].scriptName,"duration","ms"],[A["transition-timing-function"].scriptName,"timing",""],[A["transition-delay"].scriptName,"delay","ms"]],isTransition:!0,styleCaches:[]},H={shorthandProp:A.animation.scriptName,nameProp:A["animation-name"].scriptName,nameField:"keyframe",props:[[A["animation-duration"].scriptName,"duration","ms"],[A["animation-timing-function"].scriptName,"timing",""],[A["animation-delay"].scriptName,"delay","ms"],[A["animation-iteration-count"].scriptName,"","1"],[A["animation-direction"].scriptName,"","normal"],[A["animation-fill-mode"].scriptName,"","both"]],isTransition:!1,styleCaches:[]},I=0,J=function(){return u(),I+z.animationsEnabled>0},K=function(a){return a*L},L=1,M=0;d.Namespace._moduleDefine(a,"WinJS.UI",{disableAnimations:function(){I--},enableAnimations:function(){I++},isAnimationEnabled:{get:function(){return J},set:function(a){J=a}},_libraryDelay:{get:function(){return M},set:function(a){M=a}},executeAnimation:function(a,b){return v(a,x(b),t)},executeTransition:function(a,b){return v(a,x(b),s)},_animationTimeAdjustment:{get:function(){return K},set:function(a){K=a}}}),d.Namespace._moduleDefine(a,"WinJS.Utilities",{_fastAnimations:{get:function(){return.05===L},set:function(a){L=a?.05:1}},_slowAnimations:{get:function(){return 3===L},set:function(a){L=a?3:1}},_animationFactor:{get:function(){return L},set:function(a){L=a}}})}}),define("WinJS/Animations",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_WriteProfilerMark","./Utilities/_ElementUtilities","./Animations/_Constants","./Animations/_TransitionAnimation","./Promise"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b,c){return a.keyframe?a.keyframe:!c||a.left!==b.left||a.top!==b.top||a.rtlflip&&!b.rtlflip?null:a.rtlflip?l(c):c}function k(a,b){return b&&a.rtlflip?l(b):b}function l(a){var b=a+"-rtl";return function(c,d){return"ltr"===f._getComputedStyle(d).direction?a:b}}function m(a){return Array.isArray(a)||a instanceof b.NodeList||a instanceof b.HTMLCollection?a:a?[a]:[]}function n(a){for(var b=[],c=0;cg;g++)b*=c,f+=b;return d&&(f=Math.min(f,d)),f}}function p(a,b){for(var c=0;cf;f++)k.push(a[f]),l.push(d),m.push(e);else k.push(a),l.push(d),m.push(e)}}var k=[],l=[],m=[],n=200,o=0!==b?0>b?-n:n:0,p=0!==c?0>c?-n:n:0;return j(e,b,c),j(f,o,p),j(g,2*o,2*p),j(i,3*o,3*p),l=new F(l),m=new F(m),h.executeTransition(k,[{property:D.cssName,delay:0,duration:350,timing:a,from:u(l),to:u(m)},{property:"opacity",delay:0,duration:350,timing:d?"steps(1, start)":"steps(1, end)",from:d?0:1,to:d?1:0}])}function s(a,b,c){function e(){t(a)}a=m(a),b=m(b);for(var g=0,i=a.length;i>g;g++){var j="rtl"===f._getComputedStyle(a[g]).direction;a[g].style[d._browserStyleEquivalents["transform-origin"].scriptName]=b[Math.min(b.length-1,g)][j?"rtl":"ltr"]}return h.executeTransition(a,c).then(e,e)}function t(a){for(var b=0,c=a.length;c>b;b++)a[b].style[d._browserStyleEquivalents["transform-origin"].scriptName]="",a[b].style[D.scriptName]="",a[b].style.opacity=""}function u(a,b){return b=b||"",function(c,d){var e=a.getOffset(c),g=e.left;return e.rtlflip&&"rtl"===f._getComputedStyle(d).direction&&(g=g.toString(),g="-"===g.charAt(0)?g.substring(1):"-"+g),b+"translate("+g+", "+e.top+")"}}function v(a,b){return b=b||"",function(c){var d=a[c];return"translate("+d.left+"px, "+d.top+"px) "+b}}function w(a,b){return function(c){var d=a[c];return 0===d.left&&0===d.top?b:null}}function x(a,b,c,d){var e=m(b),f=m(c),g=n(f);return new a(e,f,g,d)}function y(a){for(var c=[],d=0,e=a.length;e>d;d++){var f=a[d].getBoundingClientRect(),g=-(40+f.left),h=40+(b.innerWidth-f.right),i=b.innerHeight/2-f.top;c.push({ltr:g+"px "+i+"px",rtl:h+"px "+i+"px"})}return c}function z(a){e("WinJS.UI.Animation:"+a)}function A(a,c){var e=c.duration*h._animationFactor,f=d._browserStyleEquivalents.transition.scriptName;a.style[f]=e+"ms "+D.cssName+" "+c.timing,a.style[D.scriptName]=c.to;var g;return new i(function(c){var h=function(b){b.target===a&&b.propertyName===D.cssName&&g()},i=!1;g=function(){i||(b.clearTimeout(j),a.removeEventListener(d._browserEventEquivalents.transitionEnd,h),a.style[f]="",i=!0),c()};var j=b.setTimeout(function(){j=b.setTimeout(g,e)},50);a.addEventListener(d._browserEventEquivalents.transitionEnd,h)},function(){g()})}function B(){return{defaultResizeGrowTransition:{duration:350,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)"},defaultResizeShrinkTransition:{duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)"}}}function C(a,b,c){var e=B()[c.to>c.from?"defaultResizeGrowTransition":"defaultResizeShrinkTransition"];c=d._merge(c,{duration:void 0===c.duration?e.duration:c.duration,timing:void 0===c.timing?e.timing:c.timing});var g=c.actualSize-c.from,h=c.actualSize-c.to;c.anchorTrailingEdge||(g=-g,h=-h);var i="width"===c.dimension?"translateX":"translateY",j={duration:c.duration,timing:c.timing};a.style[D.scriptName]=i+"("+g+"px)",b.style[D.scriptName]=i+"("+-g+"px)",f._getComputedStyle(a).opacity,f._getComputedStyle(b).opacity;var k=d._merge(j,{to:i+"("+h+"px)"}),l=d._merge(j,{to:i+"("+-h+"px)"});return[{element:a,transition:k},{element:b,transition:l}]}var D=d._browserStyleEquivalents.transform,E=[{top:"0px",left:"11px",rtlflip:!0}],F=c.Class.define(function(a,b,c){c=c||E,Array.isArray(a)&&a.length>0?(this.offsetArray=a,1===a.length&&(this.keyframe=j(a[0],c[0],b))):a&&a.hasOwnProperty("top")&&a.hasOwnProperty("left")?(this.offsetArray=[a],this.keyframe=j(a,c[0],b)):(this.offsetArray=c,this.keyframe=k(c[0],b))},{getOffset:function(a){return a>=this.offsetArray.length&&(a=this.offsetArray.length-1),this.offsetArray[a]}},{supportedForProcessing:!1}),G=c.Class.define(function(a,b,c){this.revealedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("expandAnimation,StartTM");var a=h.executeAnimation(this.revealedArray,{keyframe:"WinJS-opacity-in",property:"opacity",delay:this.affectedArray.length>0?200:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("expandAnimation,StopTM")})}},{supportedForProcessing:!1}),H=c.Class.define(function(a,b,c){this.hiddenArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("collapseAnimation,StartTM");var a=h.executeAnimation(this.hiddenArray,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:1,to:0}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:this.hiddenArray.length>0?167:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("collapseAnimation,StopTM")})}},{supportedForProcessing:!1}),I=c.Class.define(function(a,b,c){this.elementArray=b,this.offsetArray=c},{execute:function(){return z("repositionAnimation,StartTM"),q(this.elementArray,this.offsetArray,{property:D.cssName,delay:o(0,33,1,250),duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("repositionAnimation,StopTM")})}},{supportedForProcessing:!1}),J=c.Class.define(function(a,b,c){this.addedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("addToListAnimation,StartTM");var a=this.affectedArray.length>0?240:0,b=h.executeAnimation(this.addedArray,[{keyframe:"WinJS-scale-up",property:D.cssName,delay:a,duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"scale(0.85)",to:"none"},{keyframe:"WinJS-opacity-in",property:"opacity",delay:a,duration:120,timing:"linear",from:0,to:1}]),c=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([b,c]).then(function(){z("addToListAnimation,StopTM")})}},{supportedForProcessing:!1}),K=c.Class.define(function(a,b,c){this.deletedArray=a,this.remainingArray=b,this.offsetArray=c},{execute:function(){z("deleteFromListAnimation,StartTM");var a=h.executeAnimation(this.deletedArray,[{keyframe:"WinJS-scale-down",property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.11, 0.5, 0.24, .96)",from:"none",to:"scale(0.85)"},{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:120,timing:"linear",from:1,to:0}]),b=q(this.remainingArray,this.offsetArray,{property:D.cssName,delay:this.deletedArray.length>0?60:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)", -to:""});return i.join([a,b]).then(function(){z("deleteFromListAnimation,StopTM")})}},{supportedForProcessing:!1}),L=c.Class.define(function(a,b,c,d){this.addedArray=a,this.affectedArray=b,this.offsetArray=c;var e=m(d);this.deletedArray=e,this.deletedOffsetArray=n(e)},{execute:function(){z("_updateListAnimation,StartTM"),p(this.deletedArray,this.deletedOffsetArray);var a=0,b=h.executeAnimation(this.deletedArray,[{keyframe:w(this.deletedOffsetArray,"WinJS-scale-down"),property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.11, 0.5, 0.24, .96)",from:v(this.deletedOffsetArray),to:v(this.deletedOffsetArray,"scale(0.85)")},{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:120,timing:"linear",from:1,to:0}]);this.deletedArray.length>0&&(a+=60);var c=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:a,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});this.affectedArray.length>0?a+=240:a&&(a+=60);var d=h.executeAnimation(this.addedArray,[{keyframe:"WinJS-scale-up",property:D.cssName,delay:a,duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"scale(0.85)",to:"none"},{keyframe:"WinJS-opacity-in",property:"opacity",delay:a,duration:120,timing:"linear",from:0,to:1}]);return i.join([b,c,d]).then(function(){z("_updateListAnimation,StopTM")})}},{supportedForProcessing:!1}),M=c.Class.define(function(a,b,c){this.addedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("addToSearchListAnimation,StartTM");var a=h.executeAnimation(this.addedArray,{keyframe:"WinJS-opacity-in",property:"opacity",delay:this.affectedArray.length>0?240:0,duration:117,timing:"linear",from:0,to:1}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("addToSearchListAnimation,StopTM")})}},{supportedForProcessing:!1}),N=c.Class.define(function(a,b,c){this.deletedArray=a,this.remainingArray=b,this.offsetArray=c},{execute:function(){z("deleteFromSearchListAnimation,StartTM");var a=h.executeAnimation(this.deletedArray,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:93,timing:"linear",from:1,to:0}),b=q(this.remainingArray,this.offsetArray,{property:D.cssName,delay:this.deletedArray.length>0?60:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("deleteFromSearchListAnimation,StopTM")})}},{supportedForProcessing:!1}),O=c.Class.define(function(a,b,c){this.elementArray=b,this.offsetArray=c},{execute:function(){return z("peekAnimation,StartTM"),q(this.elementArray,this.offsetArray,{property:D.cssName,delay:0,duration:2e3,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("peekAnimation,StopTM")})}},{supportedForProcessing:!1});c.Namespace._moduleDefine(a,"WinJS.UI.Animation",{createExpandAnimation:function(a,b){return x(G,a,b)},createCollapseAnimation:function(a,b){return x(H,a,b)},createRepositionAnimation:function(a){return x(I,null,a)},fadeIn:function(a){return z("fadeIn,StartTM"),h.executeTransition(a,{property:"opacity",delay:0,duration:250,timing:"linear",from:0,to:1}).then(function(){z("fadeIn,StopTM")})},fadeOut:function(a){return z("fadeOut,StartTM"),h.executeTransition(a,{property:"opacity",delay:0,duration:167,timing:"linear",to:0}).then(function(){z("fadeOut,StopTM")})},createAddToListAnimation:function(a,b){return x(J,a,b)},createDeleteFromListAnimation:function(a,b){return x(K,a,b)},_createUpdateListAnimation:function(a,b,c){return x(L,a,c,b)},createAddToSearchListAnimation:function(a,b){return x(M,a,b)},createDeleteFromSearchListAnimation:function(a,b){return x(N,a,b)},showEdgeUI:function(a,b,c){z("showEdgeUI,StartTM");var d=c&&"transition"===c.mechanism,e=new F(b,"WinJS-showEdgeUI",[{top:"-70px",left:"0px"}]);return h[d?"executeTransition":"executeAnimation"](a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:d?u(e):e.keyframe||u(e),to:"none"}).then(function(){z("showEdgeUI,StopTM")})},showPanel:function(a,b){z("showPanel,StartTM");var c=new F(b,"WinJS-showPanel",[{top:"0px",left:"364px",rtlflip:!0}]);return h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}).then(function(){z("showPanel,StopTM")})},hideEdgeUI:function(a,b,c){z("hideEdgeUI,StartTM");var d=c&&"transition"===c.mechanism,e=new F(b,"WinJS-hideEdgeUI",[{top:"-70px",left:"0px"}]);return h[d?"executeTransition":"executeAnimation"](a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"none",to:d?u(e):e.keyframe||u(e)}).then(function(){z("hideEdgeUI,StopTM")})},hidePanel:function(a,b){z("hidePanel,StartTM");var c=new F(b,"WinJS-hidePanel",[{top:"0px",left:"364px",rtlflip:!0}]);return h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"none",to:c.keyframe||u(c)}).then(function(){z("hidePanel,StopTM")})},showPopup:function(a,b){z("showPopup,StartTM");var c=new F(b,"WinJS-showPopup",[{top:"50px",left:"0px"}]);return h.executeAnimation(a,[{keyframe:"WinJS-opacity-in",property:"opacity",delay:83,duration:83,timing:"linear",from:0,to:1},{keyframe:c.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}]).then(function(){z("showPopup,StopTM")})},hidePopup:function(a){return z("hidePopup,StartTM"),h.executeAnimation(a,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:83,timing:"linear",from:1,to:0}).then(function(){z("hidePopup,StopTM")})},pointerDown:function(a){return z("pointerDown,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.975, 0.975)"}).then(function(){z("pointerDown,StopTM")})},pointerUp:function(a){return z("pointerUp,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("pointerUp,StopTM")})},dragSourceStart:function(a,b){z("dragSourceStart,StartTM");var c=h.executeTransition(a,[{property:D.cssName,delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(1.05)"},{property:"opacity",delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:.65}]),d=h.executeTransition(b,{property:D.cssName,delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.95)"});return i.join([c,d]).then(function(){z("dragSourceStart,StopTM")})},dragSourceEnd:function(a,b,c){z("dragSourceEnd,StartTM");var d=new F(b,"WinJS-dragSourceEnd"),e=h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:1}]),f=h.executeAnimation(a,{keyframe:d.keyframe,property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:d.keyframe||u(d,"scale(1.05) "),to:"none"}),g=h.executeTransition(c,{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([e,f,g]).then(function(){z("dragSourceEnd,StopTM")})},enterContent:function(a,b,c){z("enterContent,StartTM");var d,e=new F(b,"WinJS-enterContent",[{top:"28px",left:"0px",rtlflip:!1}]);if(c&&"transition"===c.mechanism)d=h.executeTransition(a,[{property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:u(e),to:"none"},{property:"opacity",delay:0,duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1}]);else{var f=h.executeAnimation(a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:e.keyframe||u(e),to:"none"}),g=h.executeTransition(a,{property:"opacity",delay:0,duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});d=i.join([f,g])}return d.then(function(){z("enterContent,StopTM")})},exitContent:function(a,b){z("exitContent,StartTM");var c=new F(b,"WinJS-exit",[{top:"0px",left:"0px"}]),d=h.executeAnimation(a,b&&{keyframe:c.keyframe,property:D.cssName,delay:0,duration:117,timing:"linear",from:"none",to:c.keyframe||u(c)}),e=h.executeTransition(a,{property:"opacity",delay:0,duration:117,timing:"linear",to:0});return i.join([d,e]).then(function(){z("exitContent,StopTM")})},dragBetweenEnter:function(a,b){z("dragBetweenEnter,StartTM");var c=new F(b,null,[{top:"-40px",left:"0px"},{top:"40px",left:"0px"}]);return h.executeTransition(a,{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:u(c,"scale(0.95) ")}).then(function(){z("dragBetweenEnter,StopTM")})},dragBetweenLeave:function(a){return z("dragBetweenLeave,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.95)"}).then(function(){z("dragBetweenLeave,StopTM")})},swipeSelect:function(a,b){z("swipeSelect,StartTM");var c=h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}),d=h.executeAnimation(b,{keyframe:"WinJS-opacity-in",property:"opacity",delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});return i.join([c,d]).then(function(){z("swipeSelect,StopTM")})},swipeDeselect:function(a,b){z("swipeDeselect,StartTM");var c=h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}),d=h.executeAnimation(b,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:1,to:0});return i.join([c,d]).then(function(){z("swipeDeselect,StopTM")})},swipeReveal:function(a,b){z("swipeReveal,StartTM");var c=new F(b,null,[{top:"25px",left:"0px"}]);return h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:u(c)}).then(function(){z("swipeReveal,StopTM")})},enterPage:function(a,b){z("enterPage,StartTM");var c=new F(b,"WinJS-enterPage",[{top:"28px",left:"0px",rtlflip:!1}]),d=h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:o(0,83,1,333),duration:1e3,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}),e=h.executeTransition(a,{property:"opacity",delay:o(0,83,1,333),duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});return i.join([d,e]).then(function(){z("enterPage,StopTM")})},exitPage:function(a,b){z("exitPage,StartTM");var c=new F(b,"WinJS-exit",[{top:"0px",left:"0px"}]),d=h.executeAnimation(a,b&&{keyframe:c.keyframe,property:D.cssName,delay:0,duration:117,timing:"linear",from:"none",to:c.keyframe||u(c)}),e=h.executeTransition(a,{property:"opacity",delay:0,duration:117,timing:"linear",to:0});return i.join([d,e]).then(function(){z("exitPage,StopTM")})},crossFade:function(a,b){z("crossFade,StartTM");var c=h.executeTransition(a,{property:"opacity",delay:0,duration:167,timing:"linear",to:1}),d=h.executeTransition(b,{property:"opacity",delay:0,duration:167,timing:"linear",to:0});return i.join([c,d]).then(function(){z("crossFade,StopTM")})},createPeekAnimation:function(a){return x(O,null,a)},updateBadge:function(a,b){z("updateBadge,StartTM");var c=new F(b,"WinJS-updateBadge",[{top:"24px",left:"0px"}]);return h.executeAnimation(a,[{keyframe:"WinJS-opacity-in",property:"opacity",delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1},{keyframe:c.keyframe,property:D.cssName,delay:0,duration:1333,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}]).then(function(){z("updateBadge,StopTM")})},turnstileForwardIn:function(a){z("turnstileForwardIn,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0.01,0.975,0.4775,0.9775)",from:"perspective(600px) rotateY(80deg)",to:"perspective(600px) rotateY(0deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("turnstileForwardIn,StopTM")})},turnstileForwardOut:function(a){z("turnstileForwardOut,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(0.4925,0.01,0.7675,-0.01)",from:"perspective(600px) rotateY(0deg)",to:"perspective(600px) rotateY(-50deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("turnstileForwardOut,StopTM")})},turnstileBackwardIn:function(a){z("turnstileBackwardIn,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0.01,0.975,0.4775,0.9775)",from:"perspective(600px) rotateY(-50deg)",to:"perspective(600px) rotateY(0deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("turnstileBackwardIn,StopTM")})},turnstileBackwardOut:function(a){z("turnstileBackwardOut,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(0.4925,0.01,0.7675,-0.01)",from:"perspective(800px) rotateY(0deg)",to:"perspective(800px) rotateY(80deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("turnstileBackwardOut,StopTM")})},slideDown:function(a){return z("slideDown,StartTM"),s(a,{ltr:"",rtl:""},[{property:D.cssName,delay:0,duration:250,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"translate(0px, 0px)",to:"translate(0px, 200px)"},{property:"opacity",delay:0,duration:250,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("slideDown,StopTM")})},slideUp:function(a){return z("slideUp,StartTM"),s(a,{ltr:"",rtl:""},[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.17,0.79,0.215,1.0025)",from:"translate(0px, 200px)",to:"translate(0px, 0px)"},{property:"opacity",delay:o(0,34,1,1e3),duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("slideUp,StopTM")})},slideRightIn:function(a,c,d,e){return z("slideRightIn,StartTM"),r("cubic-bezier(0.17,0.79,0.215,1.0025)",-b.innerWidth,0,!0,a,c,d,e).then(function(){z("slideRightIn,StopTM")})},slideRightOut:function(a,c,d,e){return z("slideRightOut,StartTM"),r("cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",0,b.innerWidth,!1,a,c,d,e).then(function(){z("slideRightOut,StopTM")})},slideLeftIn:function(a,c,d,e){return z("slideLeftIn,StartTM"),r("cubic-bezier(0.17,0.79,0.215,1.0025)",b.innerWidth,0,!0,a,c,d,e).then(function(){z("slideLeftIn,StopTM")})},slideLeftOut:function(a,c,d,e){return z("slideLeftOut,StartTM"),r("cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",0,-b.innerWidth,!1,a,c,d,e).then(function(){z("slideLeftOut,StopTM")})},continuumForwardIn:function(a,b,c){return z("continuumForwardIn,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.33, 0.18, 0.11, 1)",from:"scale(0.5, 0.5)",to:"scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),h.executeTransition(b,[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.24,1.15,0.11,1.1575)",from:"translate(0px, 225px)",to:"translate(0px, 0px)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),s(c,{ltr:"0px 50%",rtl:"100% 50%"},[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0,0.62,0.8225,0.9625)",from:"rotateX(80deg) scale(1.5, 1.5)",to:"rotateX(0deg) scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}])]).then(function(){z("continuumForwardIn,StopTM")})},continuumForwardOut:function(a,b){return z("continuumForwardOut,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"scale(1.0, 1.0)",to:"scale(1.1, 1.1)"},{property:"opacity",delay:0,duration:120,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]),s(b,{ltr:"0px 100%",rtl:"100% 100%"},[{property:D.cssName,delay:0,duration:152,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"rotateX(0deg) scale(1.0, 1.0) translate(0px, 0px)",to:"rotateX(80deg) scale(1.5, 1.5) translate(0px, 150px)"},{property:"opacity",delay:0,duration:152,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}])]).then(function(){z("continuumForwardOut,StopTM")})},continuumBackwardIn:function(a,b){return z("continuumBackwardIn,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.33, 0.18, 0.11, 1)",from:"scale(1.25, 1.25)",to:"scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:200,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),s(b,{ltr:"0px 50%",rtl:"100% 50%"},[{property:D.cssName,delay:0,duration:250,timing:"cubic-bezier(0.2975, 0.7325, 0.4725, 0.99)",from:"rotateX(80deg) translate(0px, -100px)",to:"rotateX(0deg) translate(0px, 0px)"},{property:"opacity",delay:0,duration:250,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}])]).then(function(){z("continuumBackwardIn,StopTM")})},continuumBackwardOut:function(a){return z("continuumBackwardOut,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"scale(1.0, 1.0)",to:"scale(0.5, 0.5)"},{property:"opacity",delay:0,duration:167,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("continuumBackwardOut,StopTM")})},drillInIncoming:function(a){return z("drillInIncoming,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(0.84)",to:"scale(1.0)"},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:0,to:1}]).then(function(){z("drillInIncoming,StopTM")})},drillInOutgoing:function(a){return z("drillInOutgoing,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.0)",to:"scale(1.29)"},{property:"opacity",delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:1,to:0}]).then(function(){z("drillInOutgoing,StopTM")})},drillOutIncoming:function(a){return z("drillOutIncoming,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.29)",to:"scale(1.0)"},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:0,to:1}]).then(function(){z("drillOutIncoming,StopTM")})},drillOutOutgoing:function(a){return z("drillOutOutgoing,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.0)",to:"scale(0.84)"},{property:"opacity",delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:1,to:0}]).then(function(){z("drillOutOutgoing,StopTM")})},createPageNavigationAnimations:function(b,c,d){function e(){return i.wrap()}return{exit:e,entrance:a.enterPage}},_resizeTransition:function(a,b,c){if(c.to!==c.from&&h.isAnimationEnabled()){for(var d=C(a,b,c),e=[],f=0,g=d.length;g>f;f++)e.push(A(d[f].element,d[f].transition));return i.join(e)}return i.as()},_commandingSurfaceOpenAnimation:function(a){if(!h.isAnimationEnabled())return i.as();var b=a.actionAreaClipper,c=a.actionArea,e=a.overflowAreaClipper,g=a.overflowArea,j=a.oldHeight,k=a.newHeight,l=a.overflowAreaHeight,m=a.menuPositionedAbove,n=k-j,o=[],p=B().defaultResizeGrowTransition;if(m){c.style[D.scriptName]="translateY("+n+"px)",f._getComputedStyle(c).opacity;var q=d._merge(p,{to:"translateY(0px)"});o.push({element:c,transition:q})}else o=C(b,c,{from:j,to:k,actualSize:k,dimension:"height",anchorTrailingEdge:!1});e.style[D.scriptName]="translateY("+(m?n:-n)+"px)",g.style[D.scriptName]="translateY("+(m?l:-l)+"px)",f._getComputedStyle(e).opacity,f._getComputedStyle(g).opacity;for(var r=[],s=0,t=o.length;t>s;s++)r.push(A(o[s].element,o[s].transition));var u=d._merge(p,{to:"translateY(0px)"});return r.push(A(e,u)),r.push(A(g,u)),i.join(r)},_commandingSurfaceCloseAnimation:function(a){if(!h.isAnimationEnabled())return i.as();var b=a.actionAreaClipper,c=a.actionArea,e=a.overflowAreaClipper,g=a.overflowArea,j=a.oldHeight,k=a.newHeight,l=a.overflowAreaHeight,m=a.menuPositionedAbove,n=k-j,o=[],p=B().defaultResizeShrinkTransition;if(m){c.style[D.scriptName]="translateY(0px)",f._getComputedStyle(c).opacity;var q=d._merge(p,{to:"translateY("+-n+"px)"});o.push({element:c,transition:q})}else o=C(b,c,{from:j,to:k,actualSize:j,dimension:"height",anchorTrailingEdge:!1});e.style[D.scriptName]="translateY(0px)",g.style[D.scriptName]="translateY(0px)",f._getComputedStyle(e).opacity,f._getComputedStyle(g).opacity;for(var r=[],s=0,t=o.length;t>s;s++)r.push(A(o[s].element,o[s].transition));var u=d._merge(p,{to:"translateY("+(m?-n:n)+"px)"}),v=d._merge(p,{to:"translateY("+(m?l:-l)+"px)"});return r.push(A(e,u)),r.push(A(g,v)),i.join(r)}})}),define("WinJS/Binding/_BindingParser",["exports","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../ControlProcessor/_OptionsLexer","../ControlProcessor/_OptionsParser"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b){g("WinJS.Binding:bindingParser,StartTM");var c=m.lexer(a),d=new o.BindingInterpreter(c,a,b||{}),e=d.run();return g("WinJS.Binding:bindingParser,StopTM"),e}function k(a){g("WinJS.Binding:bindingParser,StartTM");var b=m.lexer(a),c=new o.BindingParser(b,a),d=c.run();return g("WinJS.Binding:bindingParser,StopTM"),d}var l={get invalidBinding(){return"Invalid binding:'{0}'. Expected to be ':;'. {1}"},get bindingInitializerNotFound(){return"Initializer not found:'{0}'"}},m=b.Namespace.defineWithParent(null,null,{lexer:b.Namespace._lazy(function(){return h._optionsLexer}),tokenType:b.Namespace._lazy(function(){return h._optionsLexer.tokenType})}),n=c.requireSupportedForProcessing,o=b.Namespace.defineWithParent(null,null,{BindingInterpreter:b.Namespace._lazy(function(){return b.Class.derive(i.optionsParser._BaseInterpreter,function(a,b,c){this._initialize(a,b,c)},{_error:function(a){throw new d("WinJS.Binding.ParseError",f._formatString(l.invalidBinding,this._originalSource,a))},_evaluateInitializerName:function(){if(this._current.type===m.tokenType.identifier){var a=this._evaluateIdentifierExpression();return e.log&&!a&&e.log(f._formatString(l.bindingInitializerNotFound,this._originalSource),"winjs binding","error"),n(a)}},_evaluateValue:function(){switch(this._current.type){case m.tokenType.stringLiteral:case m.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;default:return void this._unexpectedToken(m.tokenType.stringLiteral,m.tokenType.numberLiteral)}},_readBindDeclarations:function(){for(var a=[];;)switch(this._current.type){case m.tokenType.identifier:case m.tokenType.thisKeyword:a.push(this._readBindDeclaration());break;case m.tokenType.semicolon:this._read();break;case m.tokenType.eof:return a;default:return void this._unexpectedToken(m.tokenType.identifier,m.tokenType.semicolon,m.tokenType.eof)}},_readBindDeclaration:function(){var a=this._readDestinationPropertyName();this._read(m.tokenType.colon);var b=this._readSourcePropertyName(),c=this._evaluateInitializerName();return{destination:a,source:b,initializer:c}},_readDestinationPropertyName:function(){return this._readIdentifierExpression()},_readSourcePropertyName:function(){return this._readIdentifierExpression()},run:function(){return this._readBindDeclarations()}},{supportedForProcessing:!1})}),BindingParser:b.Namespace._lazy(function(){return b.Class.derive(o.BindingInterpreter,function(a,b){this._initialize(a,b,{})},{_readInitializerName:function(){return this._current.type===m.tokenType.identifier?this._readIdentifierExpression():void 0},_readBindDeclaration:function(){var a=this._readDestinationPropertyName();this._read(m.tokenType.colon);var b=this._readSourcePropertyName(),c=this._readInitializerName();return{destination:a,source:b,initializer:c}}},{supportedForProcessing:!1})})});b.Namespace._moduleDefine(a,"WinJS.Binding",{_bindingParser:j,_bindingParser2:k})}),define("WinJS/Binding/_DomWeakRefTable",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Scheduler"],function(a,b,c,d,e,f){"use strict";function g(){0===n&&(m=0);var a,b,c=Object.keys(p),d=Date.now()-o;for(a=0,b=c.length;b>a;a++){var e=c[a];p[e].time=0;e--){var f=b[d[e]];f.target===a&&(f.promise&&(f.promise.cancel(),f.promise=null),delete b[d[e]],c=!0)}return c},notify:function(a,b,c){var d=this._listeners&&this._listeners[a];if(d){var e=this;e._cancel(a),e._pendingNotifications=e._pendingNotifications||{};var j=e._notifyId++,l=e._pendingNotifications[j]={target:a},m=function(){delete e._pendingNotifications[j]};return l.promise=i.schedulePromiseNormal(null,"WinJS.Binding.observableMixin.notify").then(function(){for(var a=0,e=d.length;e>a&&l.promise;a++)try{d[a](b,c)}catch(h){f.log&&f.log(g._formatString(k.exceptionFromBindingInitializer,h.toString()),"winjs binding","error")}return m(),b}),l.promise}return h.as()},bind:function(a,b){this._listeners=this._listeners||{};for(var c=this._listeners[a]=this._listeners[a]||[],d=!1,e=0,f=c.length;f>e;e++)if(c[e]===b){d=!0;break}return d||(c.push(b),b(w(this[a]))),this},unbind:function(a,b){if(this._listeners=this._listeners||{},a&&b){var c=this._listeners[a];if(c){for(var d,e=0,f=c.length;f>e;e++)c[e]!==b&&(d=d||[]).push(c[e]);this._listeners[a]=d}}else if(a)this._cancel(a),delete this._listeners[a];else{var g=this;if(g._pendingNotifications){var h=g._pendingNotifications;g._pendingNotifications={},Object.keys(h).forEach(function(a){var b=h[a];b.promise&&b.promise.cancel()})}this._listeners={}}return this}},m={_backingData:null,_initObservable:function(a){this._backingData=a||{}},getProperty:function(a){var b=this._backingData[a];return f.log&&void 0===b&&f.log(g._formatString(k.propertyIsUndefined,a),"winjs binding","warn"),v(b)},setProperty:function(a,b){return this.updateProperty(a,b),this},addProperty:function(a,b){return this[a]||Object.defineProperty(this,a,{get:function(){return this.getProperty(a)},set:function(b){this.setProperty(a,b)},enumerable:!0,configurable:!0}),this.setProperty(a,b)},updateProperty:function(a,b){var c=this._backingData[a],d=w(b);return c!==d&&(this._backingData[a]=d,this._backingData[a]===d)?this.notify(a,d,c):h.as()},removeProperty:function(a){var b,c=this._backingData[a];try{delete this._backingData[a]}catch(d){}try{delete this[a]}catch(d){}return this.notify(a,b,c),this}};Object.keys(l).forEach(function(a){m[a]=l[a]});var n=function(a,b){return r(a,b)},o=0,p=function(){return"bindHandler"+o++},q=function(a,c){if(!b.msGetWeakWinRTProperty)return a;var d=p();return j._getWeakRefElement(c)[d]=a,function(a,b){var e=j._getWeakRefElement(c);e&&e[d](a,b)}},r=function(a,b,c){function d(){h&&h.forEach(function(a){a.source.unbind(a.prop,a.listener)}),h=null}function e(a){g[a]&&(g[a].complexBind.cancel(),delete g[a])}if(a=v(a),!a)return{cancel:function(){},empty:!0};var f;c||(c=p(),f={},j._createWeakRef(f,c));var g={},h=null;return Object.keys(b).forEach(function(d){var i=b[d];if(i instanceof Function)i=q(i,c),i.bindState=f,h=h||[],h.push({source:a,prop:d,listener:i}),a.bind(d,i);else{var j=function(a){e(d);var b=r(v(a),i,c);if(b.empty){var f=function(a){Object.keys(a).forEach(function(b){var c=a[b];c instanceof Function?c(void 0,void 0):f(c)})};f(i)}g[d]={source:a,complexBind:b}};j=q(j,c),j.bindState=f,h=h||[],h.push({source:a,prop:d,listener:j}),a.bind(d,j)}}),{cancel:function(){d(),Object.keys(g).forEach(function(a){e(a)})}}},s=c.Class.mix(function(a){this._initObservable(a),Object.defineProperties(this,t(a))},m),t=function(a){function b(a){c[a]={get:function(){return this.getProperty(a)},set:function(b){this.setProperty(a,b)},enumerable:!0,configurable:!0}}for(var c={};a&&a!==Object.prototype;)Object.keys(a).forEach(b),a=Object.getPrototypeOf(a);return c},u=function(a){if(!(!a||"object"!=typeof a||a instanceof Date||Array.isArray(a)))return c.Class.mix(function(b){this._initObservable(b||Object.create(a))},m,t(a));if(d.validation)throw new e("WinJS.Binding.UnsupportedDataType",g._formatString(k.unsupportedDataTypeForBinding))},v=function(a){if(!a)return a;var b=typeof a;if("object"!==b||a instanceof Date||Array.isArray(a))return a;if(a._getObservable)return a._getObservable();var c=new s(a);return c.backingData=a,Object.defineProperty(a,"_getObservable",{value:function(){return c},enumerable:!1,writable:!1}),c},w=function(a){return a&&a.backingData?a.backingData:a};c.Namespace._moduleDefine(a,"WinJS.Binding",{mixin:{value:m,enumerable:!0,writable:!0,configurable:!0},dynamicObservableMixin:{value:m,enumerable:!0,writable:!0,configurable:!0},observableMixin:{value:l,enumerable:!0,writable:!0,configurable:!0},expandProperties:t,define:u,as:v,unwrap:w,bind:n})}),define("WinJS/Binding/_Declarative",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../Utilities/_ElementUtilities","./_BindingParser","./_Data","./_DomWeakRefTable"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";function o(a,b){var c=a._autoDispose;c&&c.push(b)}function p(a){a._autoDispose=(a._autoDispose||[]).filter(function(a){return a()})}function q(a,b){return a?a.winBindingToken===b?a:void(g.log&&g.log(h._formatString(N.duplicateBindingDetected,a.id),"winjs binding","error")):a}function r(a){if(a.winBindingToken)return a.winBindingToken;var b="_win_bind"+L++;return Object.defineProperty(a,"winBindingToken",{configurable:!1,writable:!1,enumerable:!1,value:b}),b}function s(a,b,c,d,e,f,g){var h=a.initializer;if(h&&(h=h.winControl||h["data-win-control"]||h), -h instanceof Function){var i=h(d,a.source,e,a.destination);return g&&(i&&i.cancel?g.bindings.push(function(){i.cancel()}):g.nocache=!0),i}h&&h.render&&(f.count++,g&&(g.nocache=!0),P(h.render).call(h,A(d,a.source),e).then(function(){f.checkComplete()}))}function t(a,b,c,d,e,f){var i,j=!0,k=!1;p(d);var l=function(){if(!k){var c=q(n._getWeakRefElement(a),b);return c||(g.log&&g.log(h._formatString(N.elementNotFound,a),"winjs binding","info"),i&&i.cancel()),c}},m=function(a){var b=l();b&&B(b,e.destination,a),j&&(c.checkComplete(),j=!1)};if(o(d,l),i=H(d,e.source,m)){var r=i.cancel;i.cancel=function(){return k=!0,r.call(i)},f&&f.bindings.push(function(){i.cancel()})}return i}function u(a,c,d,e,f,g,h){var i;return e!==b&&(e=m.as(e)),e._getObservable&&(i=e._getObservable()),i?(g.count++,t(c,d,g,i,a,h)):void B(f,a.destination,A(e,a.source))}function v(a,b){for(var c=a.length-1;c>=0;c--){var d=a[c],i=d.destination;if(1===i.length&&"id"===i[0]){if(e.validation)throw new f("WinJS.Binding.IdBindingNotSupported",h._formatString(N.idBindingNotSupported,b));g.log&&g.log(h._formatString(N.idBindingNotSupported,b),"winjs binding","error"),a.splice(c,1)}}return a}function w(a,c){if(c){var d,e=c.expressions[a];return e||(d=v(l._bindingParser(a,b),a),c.expressions[a]=d),d||(d=e),d}return v(l._bindingParser(a,b),a)}function x(a,c,d,e,f,g){i("WinJS.Binding:processAll,StartTM");var h,j={count:0,checkComplete:function(){this.count--,0===this.count&&(i("WinJS.Binding:processAll,StopTM"),g())}},l=a||b.document.body,m="[data-win-bind],[data-win-control]",o=l.querySelectorAll(m);d||!l.getAttribute("data-win-bind")&&!l.winControl||(h=l),j.count++;var p=c||b;n._DOMWeakRefTable_fastLoadPath=!0;try{var q=k.data(l);q.winBindings=q.winBindings||[];for(var t=h?-1:0,v=o.length;v>t;t++){var x=0>t?h:o[t];if(x.winControl&&x.winControl.constructor&&x.winControl.constructor.isDeclarativeControlContainer){t+=x.querySelectorAll(m).length;var z=x.winControl.constructor.isDeclarativeControlContainer;"function"==typeof z&&(z=P(z))(x.winControl,function(a){return y(a,c,!1,e,f)})}if(x.hasAttribute("data-win-bind")){var A=x.getAttribute("data-win-bind"),B=w(A,e);if(!B.implemented){for(var C=0,D=B.length;D>C;C++){var E=B[C];E.initializer=E.initializer||f,E.initializer?E.implementation=s:E.implementation=u}B.implemented=!0}j.count++;var F=r(x),G=M?F:x.id;G||(x.id=G=F),n._createWeakRef(x,G);var H=k.data(x);H.winBindings=null;var I;e&&e.elements&&(I=e.elements[G],I||(e.elements[G]=I={bindings:[]}));for(var J=0,K=B.length;K>J;J++){var L=B[J],N=L.implementation(L,G,F,p,x,j,I);N&&(H.winBindings=H.winBindings||[],H.winBindings.push(N),q.winBindings.push(N))}j.count--}}}finally{n._DOMWeakRefTable_fastLoadPath=!1}j.checkComplete()}function y(a,b,c,d,e){return new j(function(f,g,h){x(a,b,c,d,e,f,g,h)}).then(null,function(a){return g.log&&g.log(h._formatString(N.errorInitializingBindings,a&&a.message),"winjs binding","error"),j.wrapError(a)})}function z(a){var c=function(c,d,e,f,i){var j=r(e),k=M?j:e.id;k||(e.id=k=j),n._createWeakRef(e,k);var l;if(c!==b&&(c=m.as(c)),c._getObservable&&(l=c._getObservable()),l){var o=H(m.as(c),d,function(b){var c=q(n._getWeakRefElement(k),j);c?B(c,f,a(P(b))):o&&(g.log&&g.log(h._formatString(N.elementNotFound,k),"winjs binding","info"),o.cancel())});return o}var p=A(c,d);p!==i&&B(e,f,a(p))};return O(c)}function A(a,c){if(a!==b&&(a=P(a)),c)for(var d=0,e=c.length;e>d&&null!==a&&void 0!==a;d++)a=P(a[c[d]]);return a}function B(a,c,d){P(d),a=P(a);for(var e=0,f=c.length-1;f>e;e++){if(a=P(a[c[e]]),!a)return void(g.log&&g.log(h._formatString(N.propertyDoesNotExist,c[e],c.join(".")),"winjs binding","error"));if(a instanceof b.Node)return void(g.log&&g.log(h._formatString(N.nestedDOMElementBindingNotSupported,c[e],c.join(".")),"winjs binding","error"))}if(0===c.length)return void(g.log&&g.log(N.cannotBindToThis,"winjs binding","error"));var i=c[c.length-1];g.log&&void 0===a[i]&&g.log(h._formatString(N.creatingNewProperty,i,c.join(".")),"winjs binding","warn"),a[i]=d}function C(a,b,c){return a=P(a),b&&1===b.length&&b[0]?void a.setAttribute(b[0],c):void(g.log&&g.log(N.attributeBindingSingleProperty,"winjs binding","error"))}function D(a,c,d,e,f){var i=r(d),j=M?i:d.id;j||(d.id=j=i),n._createWeakRef(d,j);var k;if(a!==b&&(a=m.as(a)),a._getObservable&&(k=a._getObservable()),k){var l=0,o=H(k,c,function(a){if(1!==++l||a!==f){var b=q(n._getWeakRefElement(j),i);b?C(b,e,P(a)):o&&(g.log&&g.log(h._formatString(N.elementNotFound,j),"winjs binding","info"),o.cancel())}});return o}var p=A(a,c);p!==f&&C(d,e,p)}function E(a,b,c,d){return C(c,d,A(a,b))}function F(a,b,c){c=P(c);var d=A(a,b);Array.isArray(d)?d.forEach(function(a){k.addClass(c,a)}):d&&k.addClass(c,d)}function G(a,b,c,d,e){return Q(a,b,c,d,e)}function H(a,b,c){if(b.length>1){for(var d={},e=d,f=0,g=b.length-1;g>f;f++)e=e[b[f]]={};return e[b[b.length-1]]=c,m.bind(a,d,!0)}return 1===b.length?(a.bind(b[0],c,!0),{cancel:function(){a.unbind(b[0],c),this.cancel=I}}):void c(a)}function I(){}function J(a,b,c,d){return B(c,d,A(a,b)),{cancel:I}}function K(a){return O(a)}var L=1e3*Math.random()>>0,M=c.msSetWeakWinRTProperty&&c.msGetWeakWinRTProperty,N={get attributeBindingSingleProperty(){return'Attribute binding requires a single destination attribute name, often in the form "this[\'aria-label\']" or "width".'},get cannotBindToThis(){return"Can't bind to 'this'."},get creatingNewProperty(){return"Creating new property {0}. Full path:{1}"},get duplicateBindingDetected(){return"Binding against element with id {0} failed because a duplicate id was detected."},get elementNotFound(){return"Element not found:{0}"},get errorInitializingBindings(){return"Error initializing bindings: {0}"},get propertyDoesNotExist(){return"{0} doesn't exist. Full path:{1}"},get idBindingNotSupported(){return"Declarative binding to ID field is not supported. Initializer: {0}"},get nestedDOMElementBindingNotSupported(){return"Binding through a property {0} of type HTMLElement is not supported, Full path:{1}."}},O=e.markSupportedForProcessing,P=e.requireSupportedForProcessing,Q=z(function(a){return a});d.Namespace._moduleDefine(a,"WinJS.Binding",{processAll:y,oneTime:K(J),defaultBind:K(G),converter:z,initializer:K,getValue:A,setAttribute:K(D),setAttributeOneTime:K(E),addClassOneTime:K(F)})}),define("WinJS/Binding",["./Binding/_BindingParser","./Binding/_Data","./Binding/_Declarative","./Binding/_DomWeakRefTable"],function(){}),define("WinJS/BindingTemplate/_DataTemplateCompiler",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Binding/_BindingParser","../Binding/_Declarative","../ControlProcessor","../ControlProcessor/_OptionsParser","../Fragments","../Promise","../_Signal","../Utilities/_Dispose","../Utilities/_SafeHtml","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){"use strict";if(b.document){var s={get attributeBindingSingleProperty(){return'Attribute binding requires a single destination attribute name, often in the form "this[\'aria-label\']" or "width".'},get cannotBindToThis(){return"Can't bind to 'this'."},get idBindingNotSupported(){return"Declarative binding to ID field is not supported. Initializer: {0}"}};c.Namespace._moduleDefine(a,"WinJS.Binding",{_TemplateCompiler:c.Namespace._lazy(function(){function a(a,b,c){var d=r.data(a).bindTokens;d&&d.forEach(function(a){a&&a.cancel&&a.cancel()}),b&&b.cancel(),c&&c.cancel()}function t(a,b){return function(c){return j.processAll(c,a,!1,null,b)}}function u(a){return a=Z(a),a instanceof b.Node?null:a}function v(a,b){var c=-1!==a.indexOf("\n"),d=arguments,f=a.replace(na,function(f,g,h,i,j,k,l){if(j||k)throw new e("Format:MalformedInputString","Did you forget to escape a: "+(j||k)+" at: "+l);if(g)return"{";if(h)return"}";var m,n=+i;if(m=n===+n?d[n+1]:b[i],void 0===m)throw new e("Format:MissingPart","Missing part '"+i+"'");if(c){for(var o=l;o>0&&" "===a[--o];);o>=0&&"\n"===a[o]&&(m=w(l-o-1,m))}return m});return f}function w(a,b){for(var c="",d=0;a>d;d++)c+=" ";return b.split("\n").map(function(a,b){return b?c+a:a}).join("\n")}function x(a){return a.trim()}function y(a){return a.join(";\n")}function z(a){return a.join(", ")||"empty"}function A(a){return a.map(function(a){return a.match(ja)?"."+a:+a===a?v("[{0}]",a):v("[{0}]",C(a))}).join("")}function B(a,b,c,d){var b=b.map(function(a){return a.match(ja)?"."+a:(+a===a&&(a=+a),G(C(a)))}).map(function(a){return v("{filter}({temp} = {temp}{part})",{filter:d,temp:c,part:a})});return b.unshift(F(E(c,a))),b.push(c),F(b.join(" && "))}function C(a){return JSON.stringify(a)}function D(a){return a?"new Array("+ +a+")":"[]"}function E(a,b){return""+a+" = "+b}function F(a){return"("+a+")"}function G(a){return"["+a+"]"}function H(a){return a.match(ja)?a:+a===a?+a:C(a)}function I(a){return a=""+a,a.replace(la,function(a){return ma[a]||" "})}function J(a,b,c){return c?new String(""+a+b+"_"+c):new String(""+a+b)}function K(a){return a.replace(/\\n/g,"\\n\\\n")}function L(a){return Object.keys(a)}function M(a){return Object.keys(a).map(function(b){return a[b]})}function N(a,b){return O([a,b])}function O(a){for(var b={},c=0,d=a.length;d>c;c++)for(var e=a[c],f=Object.keys(e),g=0,h=f.length;h>g;g++){var i=f[g];b[i]=e[i]}return b}function P(a){return a.reduce(function(a,b){return a?Z(a[b]):null},b)}function Q(a,b,c,d){var e=a.children;if(e){var f=Object.keys(e);b&&c&&c(a,b,f.length);for(var g=0,h=f.length;h>g;g++){var i=f[g],j=e[i];Q(j,i,c,d)}b&&d&&d(a,b,Object.keys(e).length)}else b&&c&&c(a,b,0),b&&d&&d(a,b,0)}function R(a){return a.replace(/^\s*$/gm,"").replace(/^(.*[^\s])( *)$/gm,function(a,b){return b})}var S=n._cancelBlocker,T=j.defaultBind,U=j.oneTime,V=j.setAttribute,W=j.setAttributeOneTime,X=j.addClassOneTime,Y=n.as,Z=d.requireSupportedForProcessing,$=q.insertAdjacentHTMLUnsafe,_=r.data,aa=p.markDisposable,ba=k.processAll,ca=j.processAll,da=l._optionsParser,ea=l._CallExpression,fa=l._IdentifierExpression,ga=i._bindingParser2,ha=k.scopedSelect,ia=h,ja=/^[A-Za-z]\w*$/,ka=/[^A-Za-z\w$]/g,la=/[&<>'"]/g,ma={"&":"&","<":"<",">":">","'":"'",'"':"""},na=/({{)|(}})|{(\w+)}|({)|(})/g,oa=/^\s*;\s*$/,pa=/[A-Z]/g,qa=c.Class.define(function(a,b,c,d,e){var f=this;this.compiler=a,this.kind=c,this.base=new String(b),this.tree={children:{},parent:this.base,reference:function(){return f.base}},this.accessExpression=d,this.filter=e||""},{createPathExpression:function(a,b){if(a.length){var c=this,d=a.reduce(function(a,b){return a.children=a.children||{},a.children[b]=a.children[b]||{parent:a},a.children[b]},this.tree);return d.name=d.name||c.compiler.defineInstance(c.kind,b||"",function(){return c.accessExpression(d.parent.name?d.parent.name:d.parent.reference(),a.slice(-1)[0],d.parent.parent===c.base,c.filter,!0)}),d.name}return this.base},lower:function(){var a=this,b=[],c=function(b,c,d){return a.accessExpression(b.parent.name?b.parent.name:b.parent.reference(),c,b.parent.parent===a.base,a.filter,d)};Q(this.tree,"",function(d,e,f){b.push(e),f>1?(d.name=d.name||a.compiler.defineInstance(a.kind,b.join("_"),c.bind(null,d,e,!0)),d.reference=function(){return d.name}):1===f&&(d.reference=c.bind(null,d,e))},function(){b.pop()})},deadNodeElimination:function(){Q(this.tree,"",null,function(a,b,c){(!a.name||a.name.dead)&&0===c&&a.parent&&a.parent.children&&delete a.parent.children[b]})},definitions:function(){var a=[];return Q(this.tree,"",function(b){b.name&&a.push(b)}),a.map(function(a){return a.name.definition()})}}),ra={capture:"capture",temporary:"temporary",variable:"variable",data:"data",global:"global"},sa={capture:"c",temporary:"t",variable:"iv",data:"d",global:"g"},ta={imported:"import",variable:"variable"},ua={imported:"i",variable:"sv"},va={tree:"tree",text:"text",initializer:"initializer",template:"template",error:"error"},wa={attribute:"attribute",booleanAttribute:"booleanAttribute",inlineStyle:"inlineStyle",textContent:"textContent"},xa="imports",ya={initial:0,analyze:1,optimze:2,lower:3,compile:4,link:5,done:6},za=c.Class.define(function(a,c){if(this._stage=ya.initial,this._staticVariables={},this._staticVariablesCount=0,this._instanceVariables={},this._instanceVariablesCount={},this._debugBreak=c.debugBreakOnRender,this._defaultInitializer=Z(c.defaultInitializer||T),this._optimizeTextBindings=!c.disableTextBindingOptimization,this._templateElement=a,this._templateContent=b.document.createElement(a.tagName),this._extractChild=c.extractChild||!1,this._controls=null,this._bindings=null,this._bindTokens=null,this._textBindingPrefix=null,this._textBindingId=0,this._suffix=[],this._htmlProcessors=[],this._profilerMarkIdentifier=c.profilerMarkIdentifier,this._captureCSE=new qa(this,"container",ra.capture,this.generateElementCaptureAccess.bind(this)),this._dataCSE=new qa(this,"data",ra.data,this.generateNormalAccess.bind(this),this.importFunctionSafe("dataSecurityCheck",Z)),this._globalCSE=new qa(this,this.importFunctionSafe("global",b),ra.global,this.generateNormalAccess.bind(this),this.importFunctionSafe("globalSecurityCheck",Z)),m.renderCopy(this._templateElement,this._templateContent),this._extractChild)for(;this._templateContent.childElementCount>1;)this._templateContent.removeChild(this._templateContent.lastElementChild)},{addClassOneTimeTextBinding:function(a){var b=this,c=this.createTextBindingHole(a.elementCapture.element.tagName,"class",++this._textBindingId);a.textBindingId=c,a.kind=va.text,a.elementCapture.element.classList.add(c),a.elementCapture.refCount--,a.definition=function(){return b.formatCode("{htmlEscape}({value})",{htmlEscape:b._staticVariables.htmlEscape,value:a.value()})}},addClassOneTimeTreeBinding:function(a){var b=this;a.pathExpression=this.bindingExpression(a),a.value=function(){return a.pathExpression},a.kind=va.tree,a.definition=function(){return b.formatCode("{element}.classList.add({value})",{element:a.elementCapture,value:a.value()})}},analyze:function(){if(this._stage>ya.analyze)throw"Illegal: once we have moved past analyze we cannot revist it";this._stage=ya.analyze,this._controls=this.gatherControls(),this._bindings=this.gatherBindings(),this._children=this.gatherChildren(),this.cleanControlAndBindingAttributes(),this.async&&this.createAsyncParts(),this.nullableIdentifierAccessTemporary=this.defineInstance(ra.temporary);var a=this._templateContent.innerHTML;this._html=function(){return K(C(a))},this._html.text=a},bindingExpression:function(a){return this._dataCSE.createPathExpression(a.source,a.source.join("_"))},capture:function(a){var b=a._capture;if(b)return b.refCount++,b;for(var c=[a],d=a.parentNode,e=a.tagName;d!==this._templateContent;)e=d.tagName+"_"+e,c.unshift(d),d=d.parentNode;for(var f=0,g=c.length;g>f;f++){var h=c[f];c[f]=Array.prototype.indexOf.call(d.children,h),d=h}return b=this._captureCSE.createPathExpression(c,e.toLowerCase()),b.element=a,b.element._capture=b,b.refCount=1,b},cleanControlAndBindingAttributes:function(){for(var a="[data-win-bind],[data-win-control]",b=this._templateContent.querySelectorAll(a),c=0,d=b.length;d>c;c++){var e=b[c];e.isDeclarativeControlContainer&&(c+=e.querySelectorAll("[data-win-bind],[data-win-control]").length),e.removeAttribute("data-win-bind"),e.removeAttribute("data-win-control"),e.removeAttribute("data-win-options")}},compile:function(a,b,c){if(this._stage>ya.compile)throw"Illegal: once we have moved past compile we cannot revist it";this._stage=ya.compile;var d=this;this._returnedElement=this._extractChild?"container.firstElementChild":"container";var e,f,g=this._controls.map(function(a){var b;b=a.async?"{target}.winControl = {target}.winControl || new {SafeConstructor}({target}, {options}, controlDone)":"{target}.winControl = {target}.winControl || new {SafeConstructor}({target}, {options})";var c=d.formatCode(b,{target:a.elementCapture,SafeConstructor:a.SafeConstructor,options:d.generateOptionsLiteral(a.optionsParsed,a.elementCapture)});if(a.isDeclarativeControlContainer&&"function"==typeof a.isDeclarativeControlContainer.imported){var e=[c];return e.push(d.formatCode("{isDeclarativeControlContainer}({target}.winControl, {delayedControlProcessing})",{target:a.elementCapture,isDeclarativeControlContainer:a.isDeclarativeControlContainer,delayedControlProcessing:d._staticVariables.ui_processAll})),e.push(d.formatCode("{isDeclarativeControlContainer}({target}.winControl, {delayedBindingProcessing}(data, {templateDefaultInitializer}))",{target:a.elementCapture,isDeclarativeControlContainer:a.isDeclarativeControlContainer,delayedBindingProcessing:d._staticVariables.delayedBindingProcessing,templateDefaultInitializer:d._staticVariables.templateDefaultInitializer||C(null)})),e.join(";\n")}return c}),h=this._bindings.map(function(a){switch(a.kind){case va.template:return d.formatCode("({nestedTemplates}[{nestedTemplate}] = {template}.render({path}, {dest}))",{nestedTemplates:d._nestedTemplates,nestedTemplate:C(a.nestedTemplate),template:a.template,path:a.pathExpression,dest:a.elementCapture});case va.initializer:var b;return b=a.initialValue?"({bindTokens}[{bindToken}] = {initializer}(data, {sourceProperties}, {dest}, {destProperties}, {initialValue}))":"({bindTokens}[{bindToken}] = {initializer}(data, {sourceProperties}, {dest}, {destProperties}))",d.formatCode(b,{bindTokens:d._bindTokens,bindToken:C(a.bindToken),initializer:a.initializer,sourceProperties:C(a.source),destProperties:C(a.destination),dest:a.elementCapture,initialValue:a.initialValue});case va.tree:return a.definition();case va.text:break;case va.error:break;default:throw"NYI"}});c?(e=h.filter(function(a,b){return!d._bindings[b].delayable}),f=h.filter(function(a,b){return d._bindings[b].delayable})):(e=h,f=[]);var i=M(this._instanceVariables),j=i.filter(function(a){return a.kind===ra.variable}).map(function(a){return a.definition()}),k=this._captureCSE.definitions(),l=this._globalCSE.definitions(),m=this._dataCSE.definitions(),n=this._children.map(function(a){return d.formatCodeN("{0}.msParentSelectorScope = true",a)}),o=this._suffix.map(function(a){return a()}),p="";c&&f.length&&(p=d.formatCode(Ia,{delayed_binding_processing:y(f)}));var q=d.formatCode(a,O([this._staticVariables,b||{},{profilerMarkIdentifierStart:C("WinJS.Binding.Template:render"+this._profilerMarkIdentifier+",StartTM"),profilerMarkIdentifierStop:C("WinJS.Binding.Template:render"+this._profilerMarkIdentifier+",StopTM"),html:this._html(),tagName:C(this._templateElement.tagName),instance_variable_declarations:z(i),global_definitions:y(l),data_definitions:y(m),instance_variable_definitions:y(j),capture_definitions:y(k),set_msParentSelectorScope:y(n),debug_break:this.generateDebugBreak(),control_processing:y(g),control_counter:this._controlCounter,binding_processing:y(e),renderComplete:p,suffix_statements:y(o),nestedTemplates:this._nestedTemplates,returnedElement:this._returnedElement}]));return this.prettify(q)},createAsyncParts:function(){this._nestedTemplates=this._nestedTemplates||this.defineInstance(ra.variable,"nestedTemplates",function(){return D(0)}),this._controlCounter=this._controlCounter||this.defineInstance(ra.variable,"controlCounter",function(){return C(1)})},createTextBindingHole:function(a,b,c){if(!this._textBindingPrefix){for(var d="";-1!==this._html.text.indexOf("textbinding"+d);)d=d||0,d++;this._textBindingPrefix="textbinding"+d,this._textBindingRegex=new RegExp("(#?"+this._textBindingPrefix+"_\\d+)")}var e=this._textBindingPrefix+"_"+c;return"IMG"===a&&"src"===b&&(e="#"+e),e},deadCodeElimination:function(){var a=this;Object.keys(this._instanceVariables).forEach(function(b){var c=a._instanceVariables[b];c.kind===ra.capture&&(a._templateContent.contains(c.element)||(c.dead=!0),0===c.refCount&&(c.dead=!0),c.dead&&(c.definition=function(){},c.name=null,delete a._instanceVariables[b]))}),this._controls=this._controls.filter(function(a){return!a.elementCapture.dead}),this._bindings=this._bindings.filter(function(a){return!a.elementCapture.dead}),this._captureCSE.deadNodeElimination()},defineInstance:function(a,b,c){if(this._stage>=ya.compile)throw"Illegal: define instance variable after compilation stage has started";var d=this._instanceVariablesCount[a]||0,e=b?b.replace(ka,"_"):"",f=J(sa[a],d,e);return f.definition=function(){return E(f,c())},f.kind=a,this._instanceVariables[f]=f,this._instanceVariablesCount[a]=d+1,f},defineStatic:function(a,b,c){if(this._stage>=ya.link)throw"Illegal: define static variable after link stage has started";if(b){var d=this._staticVariables[b];if(d)return d}var e=b?b.replace(ka,"_"):"",f=J(ua[a],this._staticVariablesCount,e);return f.definition=function(){return E(f,c())},f.kind=a,this._staticVariables[b||f]=f,this._staticVariablesCount++,f},done:function(){if(this._stage>ya.done)throw"Illegal: once we have moved past done we cannot revist it";this._stage=ya.done},emitScopedSelect:function(a,b){return this.formatCode("{scopedSelect}({selector}, {element})",{scopedSelect:this._staticVariables.scopedSelect,selector:C(a),element:b})},emitOptionsNode:function(a,b,c){var d=this;if(a)switch(typeof a){case"object":if(Array.isArray(a)){b.push("[");for(var e=0,f=a.length;f>e;e++)this.emitOptionsNode(a[e],b,c),b.push(",");b.push("]")}else if(a instanceof ea)b.push("select"===a.target?this.emitScopedSelect(a.arg0Value,c):C(null));else if(a instanceof fa&&a.parts[0]instanceof ea){var g=a.parts[0];b.push(B("select"===g.target?this.emitScopedSelect(g.arg0Value,c):C(null),a.parts.slice(1),this.nullableIdentifierAccessTemporary,this.importFunctionSafe("requireSupportedForProcessing",Z)))}else a instanceof fa?b.push(a.pathExpression):(b.push("{"),Object.keys(a).forEach(function(e){b.push(H(e)),b.push(":"),d.emitOptionsNode(a[e],b,c),b.push(",")}),b.push("}"));break;default:b.push(C(a))}else b.push(C(null))},findGlobalIdentifierExpressions:function(a,b){b=b||[];var c=this;return Object.keys(a).forEach(function(d){var e=a[d];"object"==typeof e&&(e instanceof fa?e.parts[0]instanceof ea||b.push(e):c.findGlobalIdentifierExpressions(e,b))}),b},formatCodeN:function(){if(this._stageh;h++){var j=g[h];if(j.isDeclarativeControlContainer&&(h+=j.querySelectorAll(f).length),j.hasAttribute("data-win-bind")){var k=j.getAttribute("data-win-bind"),l=ga(k,b);l.forEach(function(b){if(b.initializer){var e=b.initializer.join("."),f=P(b.initializer);f.render?(Z(f.render),b.template=c.importFunctionSafe(e,f),b.pathExpression=c.bindingExpression(b),b.nestedTemplate=++d,b.kind=va.template):f.winControl&&f.winControl.render?(Z(f.winControl.render),b.template=c.importFunctionSafe(e,f.winControl),b.pathExpression=c.bindingExpression(b),b.nestedTemplate=++d,b.kind=va.template):(b.initializer=c.importFunction(e,f),b.bindToken=++a,b.kind=va.initializer)}else b.initializer=c.importFunctionSafe("templateDefaultInitializer",c._defaultInitializer),b.bindToken=++a,b.kind=va.initializer;b.elementCapture=c.capture(j),b.bindingText=k}),e.push.apply(e,l)}}var m=d+1;m>0&&(this.async=!0,this._nestedTemplates=this.defineInstance(ra.variable,"nestedTemplates",function(){return D(m)}));var n=a+1;return n>0&&(this._bindTokens=this.defineInstance(ra.variable,"bindTokens",function(){return D(n)}),this._suffix.push(function(){return c.formatCode("{utilities_data}(returnedElement).bindTokens = {bindTokens}",{utilities_data:c._staticVariables.utilities_data,bindTokens:c._bindTokens})})),e},gatherChildren:function(){var a=this;return Array.prototype.map.call(this._templateContent.children,function(b){return a.capture(b)})},gatherControls:function(){for(var a=this,c=0,e=[],f="[data-win-control]",g=this._templateContent.querySelectorAll(f),h=0,i=g.length;i>h;h++){var j=g[h],k=j.getAttribute("data-win-control"),l=d._getMemberFiltered(k.trim(),b,Z);if(l){var m=j.getAttribute("data-win-options")||C({}),n=l.length>2;n&&(c++,this.async=!0);var o=l.isDeclarativeControlContainer;o&&("function"==typeof o&&(o=this.importFunction(k+"_isDeclarativeControlContainer",o)),j.isDeclarativeControlContainer=o,h+=j.querySelectorAll(f).length);var p={elementCapture:this.capture(j),name:k,SafeConstructor:this.importFunctionSafe(k,l),async:n,optionsText:C(m),optionsParsed:da(m),isDeclarativeControlContainer:o};e.push(p);var q=this.findGlobalIdentifierExpressions(p.optionsParsed);q.forEach(function(b){b.pathExpression=a.globalExpression(b.parts)})}}return c>0&&(this._controlCounter=this.defineInstance(ra.variable,"controlCounter",function(){return C(c+1)})),e},generateElementCaptureAccess:function(a,b,c){if(c){var d=""+b=="0"?"":" + "+b;return this.formatCodeN("{0}.children[startIndex{1}]",a,d)}return this.formatCodeN("{0}.children[{1}]",a,b)},generateNormalAccess:function(a,b,c,d,e){if(a.indexOf(this.nullableIdentifierAccessTemporary)>=0){var f;return f=e?"{left} && {filter}({temp}{right})":"{left} && ({temp} = {filter}({temp}{right}))",this.formatCode(f,{temp:this.nullableIdentifierAccessTemporary,left:a,right:A([b]),filter:d})}var f;return f=e?"({temp} = {left}) && {filter}({temp}{right})":"({temp} = {left}) && ({temp} = {filter}({temp}{right}))",this.formatCode(f,{temp:this.nullableIdentifierAccessTemporary,left:a,right:A([b]),filter:d})},generateOptionsLiteral:function(a,b){var c=[];return this.emitOptionsNode(a,c,b),c.join(" ")},generateDebugBreak:function(){if(this._debugBreak){var a=this.defineStatic(ta.variable,"debugCounter",function(){return C(0)});return this.formatCodeN("if (++{0} === 1) {{ debugger; }}",a)}return""},globalExpression:function(a){return this._globalCSE.createPathExpression(a,a.join("_"))},importFunction:function(a,b){return this.importFunctionSafe(a,Z(b))},importFunctionSafe:function(a,b){var c=this,d=this.defineStatic(ta.imported,a,function(){return c.formatCodeN("({0}{1})",xa,A([a]))});if(d.imported&&d.imported!==b)throw"Duplicate import: '"+a+"'";return d.imported=b,d},importAll:function(a){return Object.keys(a).forEach(function(b){Z(a[b])}),this.importAllSafe(a)},importAllSafe:function(a){var b=this,c=Object.keys(a).reduce(function(c,d){return c[d]=b.importFunctionSafe(d,a[d]),c},{});return c},link:function(a){if(this._stage>ya.link)throw"Illegal: once we have moved past link we cannot revist it";this._stage=ya.link;var b=this,c=L(this._staticVariables).filter(function(a){return b._staticVariables[a].kind===ta.imported}).reduce(function(a,c){return a[c]=b._staticVariables[c].imported,a},{}),d=M(this._staticVariables);return new Function(xa,this.formatCode(Ka,{static_variable_declarations:z(d),static_variable_definitions:y(d.map(function(a){return a.definition()})),body:a.trim()}))(c)},lower:function(){if(this._stage>ya.lower)throw"Illegal: once we have moved past lower we cannot revist it";this._stage=ya.lower,this._captureCSE.lower(),this._dataCSE.lower(),this._globalCSE.lower()},markBindingAsError:function(a){a&&(a.kind=va.error,this.markBindingAsError(a.original))},oneTimeTextBinding:function(a){var b=this,c=this.oneTimeTextBindingAnalyze(a);if(c){var d;a.original&&(d=a.original.initialValue);var e=this.createTextBindingHole(a.elementCapture.element.tagName,c.attribute,++this._textBindingId);switch(a.textBindingId=e,a.kind=va.text,a.elementCapture.refCount--,a.definition=function(){var c;return c=d?"{htmlEscape}({initialValue})":"{htmlEscape}({getter})",b.formatCode(c,{htmlEscape:b._staticVariables.htmlEscape,getter:a.value(),initialValue:d})},c.kind){case wa.attribute:a.elementCapture.element.setAttribute(c.attribute,e);break;case wa.booleanAttribute:a.elementCapture.element.setAttribute(c.attribute,e),a.definition=function(){var e;return e=d?'({initialValue} ? {attribute} : "")':'({value} ? {attribute} : "")',b.formatCode(e,{value:a.value(),attribute:C(c.attribute),initialValue:d})},this._htmlProcessors.push(function(a){return a.replace(new RegExp(c.attribute+'="'+e+'"',"i"),e)});break;case wa.textContent:a.elementCapture.element.textContent=e;break;case wa.inlineStyle:var f=a.elementCapture.element;if(!f.msReplaceStyle){f.msReplaceStyle=f.getAttribute("style")||"",""!==f.msReplaceStyle&&";"!==f.msReplaceStyle[f.msReplaceStyle.length-1]&&(f.msReplaceStyle=f.msReplaceStyle+";"),f.setAttribute("style","msReplaceStyle:'"+e+"'");var g=f.getAttribute("style");this._htmlProcessors.push(function(a){return a.replace(g,f.msReplaceStyle)})}f.msReplaceStyle=f.msReplaceStyle+c.property+":"+e+";";break;default:throw"NYI"}}},oneTimeTextBindingAnalyze:function(a){var b=a.elementCapture.element,c=b.tagName,d=a.destination[0];switch(c){case"A":switch(d){case"href":return{kind:wa.attribute,attribute:d}}break;case"IMG":switch(d){case"alt":case"src":case"width":case"height":return{kind:wa.attribute,attribute:d}}break;case"SELECT":switch(d){case"disabled":case"multiple":case"required":return{kind:wa.booleanAttribute,attribute:d};case"size":return{kind:wa.attribute,attribute:d}}break;case"OPTION":switch(d){case"label":case"value":return{kind:wa.attribute,attribute:d};case"disabled":case"selected":return{kind:wa.booleanAttribute,attribute:d}}break;case"INPUT":switch(d){case"checked":switch(b.type){case"checkbox":case"radio":return{kind:wa.booleanAttribute,attribute:d}}break;case"disabled":return{kind:wa.booleanAttribute,attribute:d};case"max":case"maxLength":case"min":case"step":case"value":return{kind:wa.attribute,attribute:d};case"size":switch(b.type){case"text":case"search":case"tel":case"url":case"email":case"password":return{kind:wa.attribute,attribute:d}}break;case"readOnly":switch(b.type){case"hidden":case"range":case"color":case"checkbox":case"radio":case"file":case"button":break;default:return{kind:wa.booleanAttribute,attribute:d}}}break;case"BUTTON":switch(d){case"disabled":return{kind:wa.booleanAttribute,attribute:d};case"value":return{kind:wa.attribute,attribute:d}}break;case"TEXTAREA":switch(d){case"disabled":case"readOnly":case"required":return{kind:wa.booleanAttribute,attribute:d};case"cols":case"maxLength":case"placeholder":case"rows":case"wrap":return{kind:wa.attribute,attribute:d}}}switch(d){case"className":return{kind:wa.attribute,attribute:"class"};case"dir":case"lang":case"name":case"title":case"tabIndex":return{kind:wa.attribute,attribute:d};case"style":if(a.destination.length>1){var e=a.destination[1];if("cssText"===e)return;var f="string"==typeof b.style[e];if(f)return("m"===e[0]&&"s"===e[1]||"webkit"===e.substring(0,6))&&(e="-"+e),e=e.replace(pa,function(a){return"-"+a.toLowerCase()}),{kind:wa.inlineStyle,property:e,attribute:"style"}}break;case"innerText":case"textContent":return{kind:wa.textContent,attribute:"textContent"}}},oneTimeTreeBinding:function(a){if(1===a.destination.length&&"id"===a.destination[0]){if(d.validation)throw new e("WinJS.Binding.IdBindingNotSupported",g._formatString(s.idBindingNotSupported,a.bindingText));return f.log&&f.log(g._formatString(s.idBindingNotSupported,a.bindingText),"winjs binding","error"),void this.markBindingAsError(a)}if(0===a.destination.length)return f.log&&f.log(s.cannotBindToThis,"winjs binding","error"),void this.markBindingAsError(a);var b,c=this;a.pathExpression=this.bindingExpression(a),a.value=function(){return a.pathExpression},a.original&&(b=a.pathExpression,a.original.initialValue=b),a.kind=va.tree,a.definition=function(){var d;return d=b?"({targetPath} || {{}}){prop} = {initialValue}":"({targetPath} || {{}}){prop} = {sourcePath}",c.formatCode(d,{targetPath:B(a.elementCapture,a.destination.slice(0,-1),c.nullableIdentifierAccessTemporary,c.importFunctionSafe("targetSecurityCheck",u)),prop:A(a.destination.slice(-1)),sourcePath:a.value(),initialValue:b})}},optimize:function(){if(this._stage>ya.optimze)throw"Illegal: once we have moved past link we cannot revist it";this._stage=ya.optimze;for(var a=0;ag;g++)e.push(d[g]);b=function(a,b,c,d){var f=[];return e.forEach(function(e){f.push(a(e,b,c,d))}),l.join(f)}}}for(var m=i.firstElementChild;m;)m.msParentSelectorScope=!0,m=m.nextElementSibling;var n=s.processTimeout;return n?(0>n&&(n=0),l.timeout(n).then(function(){return f=a()})):f=a()}).then(e,function(a){return e(),l.wrapError(a)});return{element:q,renderComplete:v}}var p=d.Class.define(function(a,c){this._element=a||b.document.createElement("div"),this._element.winControl=this,this._profilerMarkIdentifier=e._getProfilerMarkIdentifier(this._element),g("WinJS.Binding:newTemplate"+this._profilerMarkIdentifier+",StartTM");var d=this;this._element.renderItem=function(a,b){return d._renderItemImpl(a,b)},c=c||{},this.href=c.href,this.enableRecycling=!!c.enableRecycling,this.processTimeout=c.processTimeout||0,this.bindingInitializer=c.bindingInitializer,this.debugBreakOnRender=c.debugBreakOnRender,this.disableOptimizedProcessing=c.disableOptimizedProcessing,this.extractChild=c.extractChild,this._counter=0,this._compile=!!c._compile,this.href||(this.element.style.display="none"),this.bindingCache={expressions:{}},g("WinJS.Binding:newTemplate"+this._profilerMarkIdentifier+",StopTM")},{_shouldCompile:{get:function(){var a=!0;return a=a&&!p._interpretAll,a=a&&!this.disableOptimizedProcessing,a&&(a=a&&0===this.processTimeout,a=a&&(!this.href||this.href instanceof b.HTMLElement),a||f.log&&f.log("Cannot compile templates which use processTimeout or href properties","winjs binding","warn")),a}},bindingInitializer:{get:function(){return this._bindingInitializer},set:function(a){this._bindingInitializer=a,this._reset()}},debugBreakOnRender:{get:function(){return this._debugBreakOnRender},set:function(a){this._debugBreakOnRender=!!a,this._reset()}},disableOptimizedProcessing:{get:function(){return this._disableOptimizedProcessing},set:function(a){this._disableOptimizedProcessing=!!a,this._reset()}},element:{get:function(){return this._element}},extractChild:{get:function(){return this._extractChild},set:function(a){this._extractChild=!!a,this._reset()}},processTimeout:{get:function(){return this._processTimeout||0},set:function(a){this._processTimeout=a,this._reset()}},render:e.markSupportedForProcessing(function(a,b){return this._renderImpl(a,b)}),_renderImpl:function(b,c){if(this._shouldCompile)try{return this._renderImpl=this._compileTemplate({target:"render"}),this._renderImpl(b,c)}catch(d){return l.wrapError(d)}var e=a(this,b,c);return e.element.then(function(){return e.renderComplete})},_renderInterpreted:function(b,c){return a(this,b,c)},renderItem:function(a,b){return this._renderItemImpl(a,b)},_renderItemImpl:function(b,c){if(this._shouldCompile)try{return this._renderItemImpl=this._compileTemplate({target:"renderItem"}),this._renderItemImpl(b)}catch(d){return{element:l.wrapError(d),renderComplete:l.wrapError(d)}}var e=this;if(this.enableRecycling&&!this.bindingCache.elements&&(this.bindingCache.elements={}),this.enableRecycling&&c&&c.msOriginalTemplate===this){var f=this.bindingCache.elements[c.id],g=!0;if(f&&(f.bindings.forEach(function(a){a()}),f.bindings=[],g=!f.nocache),g)return{element:c,renderComplete:b.then(function(a){return h.processAll(c,a.data,!0,e.bindingCache)})}}var i=a(this,b.then(function(a){return a.data}));return i.element=i.element.then(function(a){return a.msOriginalTemplate=e,a}),i},_compileTemplate:function(a){var b=this,d=i._TemplateCompiler.compile(this,this.href||this.element,{debugBreakOnRender:this.debugBreakOnRender||p._debugBreakOnRender,defaultInitializer:this.bindingInitializer||a.defaultInitializer,disableTextBindingOptimization:a.disableTextBindingOptimization||!1,target:a.target,extractChild:this.extractChild,profilerMarkIdentifier:this._profilerMarkIdentifier}),e=a.resetOnFragmentChange||c.Windows.ApplicationModel.DesignMode.designModeEnabled;if(e){var f=new n._MutationObserver(function(){b._reset(),f.disconnect()});f.observe(n.data(this.element).docFragment,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}return d},_reset:function(){delete this._renderImpl,delete this._renderItemImpl}},{isDeclarativeControlContainer:{value:!0,writable:!1,configurable:!1},render:{value:function(a,b,c){return new p(null,{href:a -}).render(b,c)}}});return p})})}}),define("WinJS/BindingList/_BindingListDataSource",["exports","../Core/_WinRT","../Core/_Base","../Core/_ErrorFromName","../Binding/_DomWeakRefTable","../Promise","../Scheduler","../Utilities/_UI"],function(a,b,c,d,e,f,g,h){"use strict";c.Namespace._moduleDefine(a,"WinJS.Binding",{_BindingListDataSource:c.Namespace._lazy(function(){function a(a,b){for(var c=a.length;c-1>b;){var d=a.getItem(++b);if(d)return d.key}return null}function i(a,b){for(;b>0;){var c=a.getItem(--b);if(c)return c.key}return null}function j(a,b){Object.keys(b).forEach(function(c){a.addEventListener(c,b[c])})}function k(a,b){Object.keys(b).forEach(function(c){a.removeEventListener(c,b[c])})}function l(a,b){return b?new B(a,b):new A}function m(a,b,c){return b?new C(a,b,c):new A}function n(a,b,c){return b&&a._annotateWithIndex(b,c)}function o(a,b){return this._list.unshift(b),this.itemFromIndex(0)}function p(a,b,c){var d=this._list.indexOfKey(c);return-1===d?y.noLongerMeaningful:(this._list.splice(d,0,b),this.itemFromIndex(d))}function q(a,b,c){var d=this._list.indexOfKey(c);return-1===d?y.noLongerMeaningful:(d+=1,this._list.splice(d,0,b),this.itemFromIndex(d))}function r(a,b){return this._list.push(b),this.itemFromIndex(this._list.length-1)}function s(a,b){var c=this._list.indexOfKey(a);return-1===c?y.noLongerMeaningful:(this._list.setAt(c,b),this.itemFromIndex(c))}function t(a){var b=this._list.indexOfKey(a);if(-1===b)return y.noLongerMeaningful;var c=0;return this._list.move(b,c),this.itemFromIndex(c)}function u(a,b){var c=this._list.indexOfKey(a),d=this._list.indexOfKey(b);return-1===c||-1===d?y.noLongerMeaningful:(d=d>c?d-1:d,this._list.move(c,d),this.itemFromIndex(d))}function v(a,b){var c=this._list.indexOfKey(a),d=this._list.indexOfKey(b);return-1===c||-1===d?y.noLongerMeaningful:(d=d>=c?d:d+1,this._list.move(c,d),this.itemFromIndex(d))}function w(a){var b=this._list.indexOfKey(a);if(-1===b)return y.noLongerMeaningful;var c=this._list.length-1;return this._list.move(b,c),this.itemFromIndex(c)}function x(a){var b=this._list.indexOfKey(a);return-1===b?y.noLongerMeaningful:(this._list.splice(b,1),f.wrap())}var y={get noLongerMeaningful(){return f.wrapError(new d(h.EditError.noLongerMeaningful))}},z=f.wrap().constructor,A=c.Class.derive(z,function(){this._value=null},{release:function(){},retain:function(){return this}},{supportedForProcessing:!1}),B=c.Class.derive(z,function(a,b){this._value=b,this._listBinding=a},{handle:{get:function(){return this._value.key}},index:{get:function(){return this._value.index}},release:function(){this._listBinding._release(this._value,this._listBinding._list.indexOfKey(this._value.key))},retain:function(){return this._listBinding._addRef(this._value,this._listBinding._list.indexOfKey(this._value.key)),this}},{supportedForProcessing:!1}),C=c.Class.derive(f,function(a,b,c){var d=this;this._item=b,this._listBinding=a,f.call(this,function(e){g.schedule(function(){return a._released?void d.cancel():void e(b)},g.Priority.normal,null,"WinJS.Binding.List."+c)})},{handle:{get:function(){return this._item.key}},index:{get:function(){return this._item.index}},release:function(){this._listBinding._release(this._item,this._listBinding._list.indexOfKey(this._item.key))},retain:function(){return this._listBinding._addRef(this._item,this._listBinding._list.indexOfKey(this._item.key)),this}},{supportedForProcessing:!1}),D=c.Class.define(function(a,c,d,f){this._dataSource=a,this._list=c,this._editsCount=0,this._notificationHandler=d,this._pos=-1,this._retained=[],this._retained.length=c.length,this._retainedKeys={},this._affectedRange=null;var g=null;if(b.msSetWeakWinRTProperty&&b.msGetWeakWinRTProperty||(g=this),d){var h=function(a,b){var c=e._getWeakRefElement(f)||g;return c?(c["_"+a](b),!0):!1};this._handlers={itemchanged:function i(a){h("itemchanged",a)||c.removeEventListener("itemchanged",i)},iteminserted:function k(a){h("iteminserted",a)||c.removeEventListener("iteminserted",k)},itemmoved:function l(a){h("itemmoved",a)||c.removeEventListener("itemmoved",l)},itemremoved:function m(a){h("itemremoved",a)||c.removeEventListener("itemremoved",m)},reload:function n(){h("reload")||c.removeEventListener("reload",n)}},j(this._list,this._handlers)}},{_itemchanged:function(a){var b=a.detail.key,c=a.detail.index;this._updateAffectedRange(c,"changed");var d=a.detail.newItem,e=this._retained[c];if(e){var f=this._notificationHandler;if(e.index!==c){var g=e.index;e.index=c,f&&f.indexChanged&&f.indexChanged(d.key,c,g)}d=n(this._list,d,c),d._retainedCount=e._retainedCount,this._retained[c]=d,this._retainedKeys[b]=d,this._beginEdits(this._list.length),f&&f.changed&&f.changed(d,e),this._endEdits()}else this._beginEdits(this._list.length),this._endEdits()},_iteminserted:function(b){var c=b.detail.index;this._updateAffectedRange(c,"inserted"),this._beginEdits(this._list.length-1),c<=this._pos&&(this._pos=Math.min(this._pos+1,this._list.length));var d=this._retained;if(d.splice(c,0,0),delete d[c],this._shouldNotify(c)||1===this._list.length){var e=this._notificationHandler;e&&e.inserted&&e.inserted(l(this,n(this._list,this._list.getItem(c),c)),i(this._list,c),a(this._list,c))}this._endEdits()},_itemmoved:function(a){var b=a.detail.oldIndex,c=a.detail.newIndex;this._updateAffectedRange(b,"moved"),this._updateAffectedRange(c,"moved"),this._beginEdits(this._list.length),(bthis._pos?this._pos=Math.max(-1,this._pos-1):b>this._pos&&(this._pos=Math.min(this._pos+1,this._list.length)));var d=this._retained,e=d.splice(b,1)[0];d.splice(c,0,e),e||(delete d[c],e=n(this._list,this._list.getItem(c),c)),e._moved=!0,this._addRef(e,c),this._endEdits()},_itemremoved:function(a){var b=a.detail.key,c=a.detail.index;this._updateAffectedRange(c,"removed"),this._beginEdits(this._list.length+1),cb;b++){var d=a[b];if(d&&d.index!==b){var e=b,f=d.index;d.index=e;var g=this._notificationHandler;g&&g.indexChanged&&g.indexChanged(d.key,e,f)}}},_notifyMoved:function(){for(var b=this._retained,c=0,d=b.length;d>c;c++){var e=b[c];if(e&&e._moved&&(e._moved=!1,this._release(e,c),this._shouldNotify(c))){var f=this._notificationHandler;f&&f.moved&&f.moved(l(this,e),i(this._list,c),a(this._list,c))}}},_beginEdits:function(a,b){this._editsCount++;var c=this._notificationHandler;if(1===this._editsCount&&c){if(!b){this._editsCount++;var d=this;g.schedule(function(){d._endEdits()},g.Priority.high,null,"WinJS.Binding.List._endEdits")}c.beginNotifications&&c.beginNotifications(),this._countAtBeginEdits=a}},_endEdits:function(){this._editsCount--;var a=this._notificationHandler;0===this._editsCount&&a&&(this._notifyIndicesChanged(),this._notifyMoved(),this._notifyCountChanged(),this._notifyAffectedRange(),a.endNotifications&&a.endNotifications())},jumpToItem:function(a){var b=this._list.indexOfKey(a.handle);return-1===b?f.wrap(null):(this._pos=b,this.current())},current:function(){return this.fromIndex(this._pos)},previous:function(){return this._pos=Math.max(-1,this._pos-1),this._fromIndex(this._pos,!0,"previous")},next:function(){return this._pos=Math.min(this._pos+1,this._list.length),this._fromIndex(this._pos,!0,"next")},releaseItem:function(a){a.release?a.release():this._release(a,this._list.indexOfKey(a.key))},release:function(){this._notificationHandler&&k(this._list,this._handlers),this._notificationHandler=null,this._dataSource._releaseBinding(this),this._released=!0},first:function(){return this.fromIndex(0)},last:function(){return this.fromIndex(this._list.length-1)},fromKey:function(a){var b,c=this._retainedKeys;return b=a in c?c[a]:n(this._list,this._list.getItemFromKey(a),this._list.indexOfKey(a)),l(this,b)},fromIndex:function(a){return this._fromIndex(a,!1,"fromIndex")},_fromIndex:function(a,b,c){var d,e=this._retained;return d=a in e?e[a]:n(this._list,this._list.getItem(a),a),b?m(this,d,c):l(this,d)}},{supportedForProcessing:!1}),E=0,F=c.Class.define(function(a){this._usingWeakRef=b.msSetWeakWinRTProperty&&b.msGetWeakWinRTProperty,this._bindings={},this._list=a,a.unshift&&(this.insertAtStart=o),a.push&&(this.insertAtEnd=r),a.setAt&&(this.change=s),a.splice&&(this.insertAfter=q,this.insertBefore=p,this.remove=x),a.move&&(this.moveAfter=v,this.moveBefore=u,this.moveToEnd=w,this.moveToStart=t)},{_releaseBinding:function(a){delete this._bindings[a._id]},addEventListener:function(){},removeEventListener:function(){},createListBinding:function(a){var b="ds_"+ ++E,c=new D(this,this._list,a,b);return c._id=b,this._usingWeakRef?(e._createWeakRef(c,b),this._bindings[b]=b):this._bindings[b]=c,c},getCount:function(){return f.wrap(this._list.length)},itemFromKey:function(a){var b=this._list,c=n(b,b.getItemFromKey(a),-1);return Object.defineProperty(c,"index",{get:function(){return b.indexOfKey(a)},enumerable:!1,configurable:!0}),f.wrap(c)},itemFromIndex:function(a){return f.wrap(n(this._list,this._list.getItem(a),a))},list:{get:function(){return this._list}},beginEdits:function(){var a=this._list.length;this._forEachBinding(function(b){b._beginEdits(a,!0)})},endEdits:function(){this._forEachBinding(function(a){a._endEdits()})},_forEachBinding:function(a){if(this._usingWeakRef){var b=[];Object.keys(this._bindings).forEach(function(c){var d=e._getWeakRefElement(c);d?a(d):b.push(c)});for(var c=0,d=b.length;d>c;c++)delete this._bindings[b[c]]}else{var f=this;Object.keys(this._bindings).forEach(function(b){a(f._bindings[b])})}},invalidateAll:function(){return f.wrap()},moveAfter:void 0,moveBefore:void 0,moveToEnd:void 0,moveToStart:void 0},{supportedForProcessing:!1});return F})})}),define("WinJS/BindingList",["exports","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Events","./Core/_Resources","./Binding/_Data","./BindingList/_BindingListDataSource"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){return Array.prototype.slice.call(a,0)}function j(a){return{handle:a.handle,key:a.key,data:a.data,groupKey:a.groupKey,groupSize:a.groupSize,firstItemKey:a.firstItemKey,firstItemIndexHint:a.firstItemIndexHint}}function k(a){return void 0===a?void 0:+a}function l(a,b){function c(b,c){for(;c>b;b++)a[b]=f[b]}function d(a,b){if(!(2>b-a)){var f=Math.floor((b+a)/2);d(a,f),d(f,b),e(a,f,b),c(a,b)}}function e(c,d,e){for(var g=c,h=d,i=c;e>i;i++)d>g&&(h>=e||b(a[g],a[h])<=0)?(f[i]=a[g],g++):(f[i]=a[h],h++)}var f=new Array(a.length);return d(0,a.length),a}var m={get sparseArrayNotSupported(){return"Sparse arrays are not supported with proxy: true"},get illegalListLength(){return"List length must be assigned a finite positive number"}},n=e._createEventProperty,o={},p=b.Namespace.defineWithParent(null,null,{ListBase:b.Namespace._lazy(function(){var a=b.Class.define(null,{_annotateWithIndex:function(a,b){var c=j(a);return c.index=b,c},onitemchanged:n("itemchanged"),oniteminserted:n("iteminserted"),onitemmoved:n("itemmoved"),onitemmutated:n("itemmutated"),onitemremoved:n("itemremoved"),onreload:n("reload"),_notifyItemChanged:function(a,b,c,d,e,f){this._listeners&&this._listeners.itemchanged&&this.dispatchEvent("itemchanged",{key:a,index:b,oldValue:c,newValue:d,oldItem:e,newItem:f})},_notifyItemInserted:function(a,b,c){this._listeners&&this._listeners.iteminserted&&this.dispatchEvent("iteminserted",{key:a,index:b,value:c});var d=this.length;d!==this._lastNotifyLength&&(this.notify("length",d,this._lastNotifyLength),this._lastNotifyLength=d)},_notifyItemMoved:function(a,b,c,d){this._listeners&&this._listeners.itemmoved&&this.dispatchEvent("itemmoved",{key:a,oldIndex:b,newIndex:c,value:d})},_notifyItemMutated:function(a,b,c){this._listeners&&this._listeners.itemmutated&&this.dispatchEvent("itemmutated",{key:a,value:b,item:c})},_notifyItemRemoved:function(a,b,c,d){this._listeners&&this._listeners.itemremoved&&this.dispatchEvent("itemremoved",{key:a,index:b,value:c,item:d});var e=this.length;e!==this._lastNotifyLength&&(this.notify("length",e,this._lastNotifyLength),this._lastNotifyLength=e)},_notifyReload:function(){if(this._listeners&&this._listeners.reload&&this.dispatchEvent("reload"),a!==this._lastNotifyLength){var a=this.length;this.notify("length",a,this._lastNotifyLength),this._lastNotifyLength=a}},_normalizeIndex:function(a){return a=k(a),0>a?this.length+a:a},_notifyMutatedFromKey:function(a){var b=this.getItemFromKey(a);this._notifyItemMutated(a,b.data,b)},notifyReload:function(){this._notifyReload()},getAt:function(a){a=k(a);var b=this.getItem(a);return b&&b.data},_getArray:function(){for(var a=new Array(this.length),b=0,c=this.length;c>b;b++){var d=this.getItem(b);d&&(a[b]=d.data)}return a},_getFromKey:function(a){var b=this.getItemFromKey(a);return b&&b.data},_getKey:function(a){a=k(a);var b=this.getItem(a);return b&&b.key},concat:function(){var a=this._getArray();return a.concat.apply(a,arguments)},join:function(a){return this._getArray().join(a||",")},slice:function(a,b){return this._getArray().slice(a,b)},indexOf:function(a,b){b=k(b),b=Math.max(0,this._normalizeIndex(b)||0);for(var c=b,d=this.length;d>c;c++){var e=this.getItem(c);if(e&&e.data===a)return c}return-1},lastIndexOf:function(a,b){b=k(b);var c=this.length;b=Math.min(this._normalizeIndex(void 0!==b?b:c),c-1);var d;for(d=b;d>=0;d--){var e=this.getItem(d);if(e&&e.data===a)return d}return-1},every:function(a,b){return this._getArray().every(a,b)},filter:function(a,b){return this._getArray().filter(a,b)},forEach:function(a,b){this._getArray().forEach(a,b)},map:function(a,b){return this._getArray().map(a,b)},some:function(a,b){return this._getArray().some(a,b)},reduce:function(a,b){return arguments.length>1?this._getArray().reduce(a,b):this._getArray().reduce(a)},reduceRight:function(a,b){return arguments.length>1?this._getArray().reduceRight(a,b):this._getArray().reduceRight(a)},createFiltered:function(a){return new p.FilteredListProjection(this,a)},createGrouped:function(a,b,c){return new p.GroupedSortedListProjection(this,a,b,c)},createSorted:function(a){return new p.SortedListProjection(this,a)},dataSource:{get:function(){return this._dataSource=this._dataSource||new h._BindingListDataSource(this)}}},{supportedForProcessing:!1});return b.Class.mix(a,g.observableMixin),b.Class.mix(a,e.eventMixin),a}),ListBaseWithMutators:b.Namespace._lazy(function(){return b.Class.derive(p.ListBase,null,{pop:function(){return this.splice(-1,1)[0]},push:function(a){if(1===arguments.length)return this.splice(this.length,0,a),this.length;var b=i(arguments);return b.splice(0,0,this.length,0),this.splice.apply(this,b),this.length},shift:function(){return this.splice(0,1)[0]},unshift:function(a){if(1===arguments.length)this.splice(0,0,a);else{var b=i(arguments);b.splice(0,0,0,0),this.splice.apply(this,b)}return this.length}},{supportedForProcessing:!1})}),ListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListBaseWithMutators,null,{_list:null,_myListeners:null,_addListListener:function(a,b){var c={name:a,handler:b.bind(this)};this._myListeners=this._myListeners||[],this._myListeners.push(c),this._list.addEventListener(a,c.handler)},dispose:function(){var b=this._list,c=this._myListeners;this._myListeners=[];for(var d=0,e=c.length;e>d;d++){var f=c[d];b.removeEventListener(f.name,f.handler)}this._list=new a.List,this._listReload()},getItemFromKey:function(a){return this._list.getItemFromKey(a)},move:function(a,b){a=k(a),b=k(b),a===b||0>a||0>b||a>=this.length||b>=this.length||(a=this._list.indexOfKey(this._getKey(a)),b=this._list.indexOfKey(this._getKey(b)),this._list.move(a,b))},_notifyMutatedFromKey:function(a){this._list._notifyMutatedFromKey(a)},splice:function(a,b,c){a=k(a),a=Math.max(0,this._normalizeIndex(a));var d=i(arguments);return a===this.length?(d[0]=this._list.length,this._list.splice.apply(this._list,d)):(d[0]=this._getKey(a),this._spliceFromKey.apply(this,d))},_setAtKey:function(a,b){this._list._setAtKey(a,b)}},{supportedForProcessing:!1})}),FilteredListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListProjection,function(a,b){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmutated",this._listItemMutated),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._filter=b,this._initFilteredKeys()},{_filter:null,_filteredKeys:null,_initFilteredKeys:function(){for(var a=this._filter,b=this._list,c=[],d=0,e=b.length;e>d;d++){var f=b.getItem(d);f&&a(f.data)&&c.push(f.key)}this._filteredKeys=c},_findInsertionPosition:function(a,b){for(var c,d=this._filter;--b>=0;){var e=this._list.getItem(b);if(e&&d(e.data)){c=e.key;break}}var f=this._filteredKeys,g=c?f.indexOf(c)+1:0;return g},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.oldValue,e=a.detail.newValue,f=a.detail.oldItem,g=a.detail.newItem,h=this._filter,i=h(d),j=h(e);if(i&&j){var k=this._filteredKeys,l=k.indexOf(b);this._notifyItemChanged(b,l,d,e,f,g)}else i&&!j?this._listItemRemoved({detail:{key:b,index:c,value:d,item:f}}):!i&&j&&this._listItemInserted({detail:{key:b,index:c,value:e}})},_listItemInserted:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.value,e=this._filter;if(e(d)){var f=this._findInsertionPosition(b,c),g=this._filteredKeys;g.splice(f,0,b),this._notifyItemInserted(b,f,d)}},_listItemMoved:function(a){var b=a.detail.key,c=a.detail.newIndex,d=a.detail.value,e=this._filteredKeys,f=e.indexOf(b);if(-1!==f){e.splice(f,1);var g=this._findInsertionPosition(b,c);e.splice(g,0,b),this._notifyItemMoved(b,f,g,d)}},_listItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._filter,f=this._filteredKeys,g=f.indexOf(b),h=-1!==g,i=e(c);h&&i?this._notifyItemMutated(b,c,d):h&&!i?(f.splice(g,1),this._notifyItemRemoved(b,g,c,d)):!h&&i&&this._listItemInserted({detail:{key:b,index:this._list.indexOfKey(b),value:c}})},_listItemRemoved:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._filteredKeys,f=e.indexOf(b);-1!==f&&(e.splice(f,1),this._notifyItemRemoved(b,f,c,d))},_listReload:function(){this._initFilteredKeys(),this._notifyReload()},length:{get:function(){return this._filteredKeys.length},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);var b=this.length;b>a&&this.splice(a,b-a)}},getItem:function(a){return a=k(a),this.getItemFromKey(this._filteredKeys[a])},indexOfKey:function(a){return this._filteredKeys.indexOf(a)},notifyMutated:function(a){return a=k(a),this._notifyMutatedFromKey(this._filteredKeys[a])},setAt:function(a,b){a=k(a),this._setAtKey(this._filteredKeys[a],b)},_spliceFromKey:function(a,b){if(arguments.length>2){var c=i(arguments);c[1]=0,this._list._spliceFromKey.apply(this._list,c)}var d=[];if(b){for(var e=[],f=this._filteredKeys,g=f.indexOf(a),h=g,j=f.length;j>h&&b>h-g;h++){var a=f[h];e.push(a)}var k=this;e.forEach(function(a){d.push(k._list._spliceFromKey(a,1)[0])})}return d}},{supportedForProcessing:!1})}),SortedListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListProjection,function(a,b){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemmutated",this._listItemMutated),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._sortFunction=b,this._initSortedKeys()},{_sortFunction:null,_sortedKeys:null,_initSortedKeys:function(){for(var a=this._list,b=[],c=0,d=a.length;d>c;c++){var e=a.getItem(c);e&&(b[c]=e.key)}var f=this._sortFunction,g=l(b,function(b,c){return b=a.getItemFromKey(b).data,c=a.getItemFromKey(c).data,f(b,c)});this._sortedKeys=g},_findInsertionPos:function(a,b,c,d,e){for(var f=this._sortFunction,g=this._sortedKeys,h=Math.max(0,d||-1),i=Math.min(g.length,e||Number.MAX_VALUE),j=h;i>=h;){j=(h+i)/2>>>0;var k=g[j];if(!k)break;var l=this.getItemFromKey(k),m=f(l.data,c);if(0>m)h=j+1;else{if(0===m)return this._findStableInsertionPos(a,b,h,i,j,c);i=j-1}}return h},_findBeginningOfGroup:function(a,b,c,d,e){for(var f=0,g=a;g>=f;){a=(f+g)/2>>>0;var h=d[a],i=c.getItemFromKey(h),j=b(i.data,e);0>j?f=a+1:g=a-1}return f},_findEndOfGroup:function(a,b,c,d,e){for(var f=a,g=d.length;g>=f;){a=(f+g)/2>>>0;var h=d[a];if(!h)return d.length;var i=c.getItemFromKey(h),j=b(i.data,e);0>=j?f=a+1:g=a-1}return f},_findStableInsertionPos:function(a,b,c,d,e,f){var g=this._list,h=g.length,i=this._sortFunction,j=this._sortedKeys;if(h/2>b){for(var k=b-1;k>=0;k--){var l=g.getItem(k);if(0===i(l.data,f))return h-c>d?j.indexOf(l.key,c)+1:j.lastIndexOf(l.key,d)+1}return this._findBeginningOfGroup(e,i,g,j,f)}for(var k=b+1;h>k;k++){var l=g.getItem(k);if(0===i(l.data,f))return h-c>d?j.indexOf(l.key,c):j.lastIndexOf(l.key,d)}return this._findEndOfGroup(e,i,g,j,f)},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.newValue,d=a.detail.oldValue,e=this._sortFunction;if(0===e(d,c)){var f=this.indexOfKey(b);this._notifyItemChanged(b,f,d,c,a.detail.oldItem,a.detail.newItem)}else this._listItemRemoved({detail:{key:b,index:a.detail.index,value:a.detail.oldValue,item:a.detail.oldItem}}),this._listItemInserted({detail:{key:b,index:a.detail.index,value:a.detail.newValue}})},_listItemInserted:function(a,b,c){var d=a.detail.key,e=a.detail.index,f=a.detail.value,g=this._findInsertionPos(d,e,f,b,c);this._sortedKeys.splice(g,0,d),this._notifyItemInserted(d,g,f)},_listItemMoved:function(a,b,c){var d=a.detail.key,e=a.detail.newIndex,f=a.detail.value,g=this._sortedKeys,h=g.indexOf(d,b);g.splice(h,1);var i=this._findInsertionPos(d,e,f,b,c);g.splice(i,0,d),i!==h&&this._notifyItemMoved(d,h,i,f)},_listItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._list.indexOfKey(b),f=this._sortedKeys.indexOf(b);this._sortedKeys.splice(f,1);var g=this._findInsertionPos(b,e,c);return this._sortedKeys.splice(f,0,b),f===g?void this._notifyItemMutated(b,c,d):(this._listItemRemoved({detail:{key:b,index:e,value:c,item:d}}),void this._listItemInserted({detail:{key:b,index:e,value:c}}))},_listItemRemoved:function(a,b){var c=a.detail.key,d=a.detail.value,e=a.detail.item,f=this._sortedKeys,g=f.indexOf(c,b);f.splice(g,1),this._notifyItemRemoved(c,g,d,e)},_listReload:function(){this._initSortedKeys(),this._notifyReload()},length:{get:function(){return this._sortedKeys.length},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);var b=this.length;b>a&&this.splice(a,b-a)}},getItem:function(a){return a=k(a),this.getItemFromKey(this._sortedKeys[a])},indexOfKey:function(a){return this._sortedKeys.indexOf(a)},notifyMutated:function(a){a=k(a),this._notifyMutatedFromKey(this._sortedKeys[a])},setAt:function(a,b){a=k(a),this._setAtKey(this._sortedKeys[a],b)},_spliceFromKey:function(a,b){if(arguments.length>2){var c=i(arguments);c[1]=0,this._list._spliceFromKey.apply(this._list,c)}var d=[];if(b){for(var e=[],f=this._sortedKeys,g=f.indexOf(a),h=g,j=f.length;j>h&&b>h-g;h++)e.push(f[h]);var k=this;e.forEach(function(a){d.push(k._list._spliceFromKey(a,1)[0])})}return d}},{supportedForProcessing:!1})}),GroupedSortedListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.SortedListProjection,function(a,b,c,d){this._list=a,this._addListListener("itemchanged",this._listGroupedItemChanged),this._addListListener("iteminserted",this._listGroupedItemInserted),this._addListListener("itemmoved",this._listGroupedItemMoved),this._addListListener("itemmutated",this._listGroupedItemMutated),this._addListListener("itemremoved",this._listGroupedItemRemoved),this._addListListener("reload",this._listReload),this._sortFunction=function(a,c){return a=b(a),c=b(c),d?d(a,c):c>a?-1:a===c?0:1},this._groupKeyOf=b,this._groupDataOf=c,this._initSortedKeys(),this._initGroupedItems()},{_groupKeyOf:null,_groupDataOf:null,_groupedItems:null,_initGroupedItems:function(){for(var a={},b=this._list,c=this._groupKeyOf,d=0,e=b.length;e>d;d++){var f=j(b.getItem(d));f.groupKey=c(f.data),a[f.key]=f}this._groupedItems=a},_groupsProjection:null,_listGroupedItemChanged:function(a){var b=a.detail.key,c=a.detail.oldValue,d=a.detail.newValue,e=this._groupedItems,f=e[b],g=j(f);g.data=d,g.groupKey=this._groupKeyOf(d),e[b]=g;var h;f.groupKey===g.groupKey?(h=this.indexOfKey(b),this._notifyItemChanged(b,h,c,d,f,g)):(h=a.detail.index,this._listItemChanged({detail:{key:b,index:h,oldValue:c,newValue:d,oldItem:f,newItem:g}}))},_listGroupedItemInserted:function(a){var b=a.detail.key,c=a.detail.value,d=this._groupKeyOf(c);this._groupedItems[b]={handle:b,key:b,data:c,groupKey:d};var e,f;if(this._groupsProjection){var g=this._groupsProjection._groupItems[d];g&&(e=g.firstItemIndexHint,f=e+g.groupSize)}this._listItemInserted(a,e,f)},_listGroupedItemMoved:function(a){var b,c,d=this._groupedItems[a.detail.key].groupKey;if(this._groupsProjection){var e=this._groupsProjection._groupItems[d];b=e.firstItemIndexHint,c=b+e.groupSize}this._listItemMoved(a,b,c)},_listGroupedItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=this._groupedItems,e=d[b],f=this._groupKeyOf(c);if(e.groupKey===f)this._notifyItemMutated(b,c,e);else{var g=j(e);g.groupKey=f,d[b]=g;var h=this._list.indexOfKey(b);this._listItemRemoved({detail:{key:b,index:h,value:c,item:e}}),this._listItemInserted({detail:{key:b,index:h,value:c}})}},_listGroupedItemRemoved:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.value,e=this._groupedItems,f=e[b];delete e[b];var g,h;if(this._groupsProjection){var i=this._groupsProjection._groupItems[f.groupKey];g=i.firstItemIndexHint,h=g+i.groupSize}this._listItemRemoved({detail:{key:b,index:c,value:d,item:f}},g,h)},_listReload:function(){this._initGroupedItems(),p.SortedListProjection.prototype._listReload.call(this)},groups:{get:function(){return null===this._groupsProjection&&(this._groupsProjection=new p.GroupsListProjection(this,this._groupKeyOf,this._groupDataOf)),this._groupsProjection}},getItemFromKey:function(a){return this._groupedItems[a]}},{supportedForProcessing:!1})}),GroupsListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListBase,function(a,b,c){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._groupKeyOf=b,this._groupDataOf=c,this._initGroupKeysAndItems()},{_list:null,_addListListener:function(a,b){this._list.addEventListener(a,b.bind(this))},_groupDataOf:null,_groupKeyOf:null,_groupOf:function(a){return this.getItemFromKey(this._groupKeyOf(a.data))},_groupKeys:null,_groupItems:null,_initGroupKeysAndItems:function(){for(var a,b=this._groupDataOf,c=this._list,d={},e=[],f=null,g=null,h=0,i=c.length;i>h;h++){var j=c.getItem(h),k=j.groupKey;k!==f?(g&&(g.groupSize=a),a=1,f=k,g={handle:k,key:k,data:b(j.data),firstItemKey:j.key,firstItemIndexHint:h},d[k]=g,e.push(k)):a++}g&&(g.groupSize=a),this._groupKeys=e,this._groupItems=d},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.newValue,e=this._list,f=e.getItemFromKey(b).groupKey,g=this._groupItems,h=g[f];if(h.firstItemIndexHint===c){var i=j(h);i.data=this._groupDataOf(d),i.firstItemKey=b,g[f]=i,this._notifyItemChanged(f,this._groupKeys.indexOf(f),h.data,i.data,h,i)}},_listItemInserted:function(a){var b,c,d,e,f,g=a.detail.key,h=a.detail.index,i=a.detail.value,k=this._list,l=k.getItemFromKey(g).groupKey,m=this._groupItems,n=this._groupKeys,o=m[l];if(o)c=o,d=j(c),d.groupSize++,c.firstItemIndexHint===h&&(d.groupData=this._groupDataOf(i),d.firstItemKey=g,d.firstItemIndexHint=h),m[l]=d,b=n.indexOf(l),this._notifyItemChanged(l,b,c.data,d.data,c,d);else{for(e=0,f=n.length;f>e&&(o=m[n[e]],!(o.firstItemIndexHint>=h));e++);b=e,o={handle:l,key:l,data:this._groupDataOf(i),groupSize:1,firstItemKey:g,firstItemIndexHint:h},n.splice(b,0,l),m[l]=o,this._notifyItemInserted(l,b,o.data)}for(e=b+1,f=n.length;f>e;e++)c=m[n[e]],d=j(c),d.firstItemIndexHint++,m[d.key]=d,this._notifyItemChanged(d.key,e,c.data,d.data,c,d)},_listItemMoved:function(a){var b=a.detail.key,c=a.detail.oldIndex,d=a.detail.newIndex,e=this._list,f=e.getItemFromKey(b).groupKey,g=this._groupItems,h=g[f];if(h.firstItemIndexHint===d||h.firstItemIndexHint===c){var i=e.getItem(h.firstItemIndexHint),k=j(h);k.data=this._groupDataOf(i.data),k.firstItemKey=i.key,g[f]=k,this._notifyItemChanged(f,this._groupKeys.indexOf(f),h.data,k.data,h,k)}},_listItemRemoved:function(a){var b,c,d=a.detail.index,e=a.detail.item,f=this._groupItems,g=this._groupKeys,h=e.groupKey,i=f[h],k=g.indexOf(h);if(1===i.groupSize)g.splice(k,1),delete f[h],this._notifyItemRemoved(h,k,i.data,i),k--;else{if(b=i,c=j(b),c.groupSize--,b.firstItemIndexHint===d){var l=this._list.getItem(d);c.data=this._groupDataOf(l.data),c.firstItemKey=l.key}f[h]=c,this._notifyItemChanged(h,k,b.data,c.data,b,c)}for(var m=k+1,n=g.length;n>m;m++)b=f[g[m]],c=j(b),c.firstItemIndexHint--,f[c.key]=c,this._notifyItemChanged(c.key,m,b.data,c.data,b,c)},_listReload:function(){this._initGroupKeysAndItems(),this._notifyReload()},length:{get:function(){return this._groupKeys.length}},getItem:function(a){return a=k(a),this._groupItems[this._groupKeys[a]]},getItemFromKey:function(a){return this._groupItems[a]},indexOfKey:function(a){return this._groupKeys.indexOf(a)}},{supportedForProcessing:!1})})});b.Namespace._moduleDefine(a,"WinJS.Binding",{List:b.Namespace._lazy(function(){return b.Class.derive(p.ListBaseWithMutators,function(a,b){if(this._currentKey=0,this._keys=null,this._keyMap={},b=b||o,this._proxy=b.proxy,this._binding=b.binding,this._proxy){if(Object.keys(a).length!==a.length)throw new d("WinJS.Binding.List.NotSupported",m.sparseArrayNotSupported);this._data=a,this._currentKey=a.length}else if(a){for(var c=this._keyMap,e=0,f=0,h=a.length;h>f;f++)if(f in a){var i=a[f];this._binding&&(i=g.as(i));var j=e.toString();e++,c[j]={handle:j,key:j,data:i}}e!==f&&this._initializeKeys(),this._currentKey=e}},{_currentKey:0,_keys:null,_keyMap:null,_modifyingData:0,_initializeKeys:function(){if(!this._keys){var a=[];if(this._data){for(var b=this._keyMap,c=this._data,d=0,e=c.length;e>d;d++)if(d in c){var f=d.toString();if(a[d]=f,!(f in b)){var h=c[d];this._binding&&(h=g.as(h)), -b[f]={handle:f,key:f,data:h}}}}else Object.keys(this._keyMap).forEach(function(b){a[b>>>0]=b});this._keys=a}},_lazyPopulateEntry:function(a){if(this._data&&a in this._data){var b=this._data[a];this._binding&&(b=g.as(b));var c=a.toString(),d={handle:c,key:c,data:b};return this._keyMap[d.key]=d,d}},_assignKey:function(){return(++this._currentKey).toString()},length:{get:function(){return this._data?this._data.length:this._keys?this._keys.length:this._currentKey},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);this._initializeKeys();var b=this.length;if(b>a?this.splice(a,b-a):a=b,this._data){this._modifyingData++;try{this._data.length=a}finally{this._modifyingData--}}this._keys&&(this._keys.length=a)}},getItem:function(a){var b,c;return a=k(a),this._keys?(c=this._keys[a],b=c&&this._keyMap[c]):(c=a.toString(),b=this._keyMap[c]||this._lazyPopulateEntry(a)),b},getItemFromKey:function(a){var b;return b=this._keys||!this._data?this._keyMap[a]:this.getItem(a>>>0)},indexOfKey:function(a){var b=-1;if(this._keys)b=this._keys.indexOf(a);else{var c=a>>>0;ca||0>b||a>=this.length||b>=this.length)){if(this._data){this._modifyingData++;try{var c=this._data.splice(a,1)[0];this._data.splice(b,0,c)}finally{this._modifyingData--}}var d=this._keys.splice(a,1)[0];this._keys.splice(b,0,d),this._notifyItemMoved(d,a,b,this.getItemFromKey(d).data)}},notifyMutated:function(a){a=k(a);var b=this._keys?this._keys[a]:a.toString();this._notifyMutatedFromKey(b)},setAt:function(a,b){a=k(a),this._initializeKeys();var c=this.length;if(a===c)this.push(b);else if(c>a){if(this._data){this._modifyingData++;try{this._data[a]=b}finally{this._modifyingData--}}if(this._binding&&(b=g.as(b)),a in this._keys){var d=this._keys[a],e=this._keyMap[d],f=j(e);f.data=b,this._keyMap[d]=f,this._notifyItemChanged(d,a,e.data,b,e,f)}}},_setAtKey:function(a,b){this.setAt(this.indexOfKey(a),b)},reverse:function(){if(this._initializeKeys(),this._data){this._modifyingData++;try{this._data.reverse()}finally{this._modifyingData--}}return this._keys.reverse(),this._notifyReload(),this},sort:function(a){if(this._initializeKeys(),this._data){this._modifyingData++;try{this._data.sort(a)}finally{this._modifyingData--}}var b=this;return this._keys.sort(function(c,d){return c=b._keyMap[c],d=b._keyMap[d],a?a(c.data,d.data):(c=(c&&c.data||"").toString(),d=(c&&d.data||"").toString(),d>c?-1:c===d?0:1)}),this._notifyReload(),this},pop:function(){if(0!==this.length){this._initializeKeys();var a=this._keys.pop(),b=this._keyMap[a],c=b&&b.data;if(this._data){this._modifyingData++;try{this._data.pop()}finally{this._modifyingData--}}return delete this._keyMap[a],this._notifyItemRemoved(a,this._keys.length,c,b),c}},push:function(){this._initializeKeys();for(var a=arguments.length,b=0;a>b;b++){var c=arguments[b];this._binding&&(c=g.as(c));var d=this._assignKey();if(this._keys.push(d),this._data){this._modifyingData++;try{this._data.push(arguments[b])}finally{this._modifyingData--}}this._keyMap[d]={handle:d,key:d,data:c},this._notifyItemInserted(d,this._keys.length-1,c)}return this.length},shift:function(){if(0!==this.length){this._initializeKeys();var a=this._keys.shift(),b=this._keyMap[a],c=b&&b.data;if(this._data){this._modifyingData++;try{this._data.shift()}finally{this._modifyingData--}}return delete this._keyMap[a],this._notifyItemRemoved(a,0,c,b),c}},unshift:function(){this._initializeKeys();for(var a=arguments.length,b=a-1;b>=0;b--){var c=arguments[b];this._binding&&(c=g.as(c));var d=this._assignKey();if(this._keys.unshift(d),this._data){this._modifyingData++;try{this._data.unshift(arguments[b])}finally{this._modifyingData--}}this._keyMap[d]={handle:d,key:d,data:c},this._notifyItemInserted(d,0,c)}return this.length},splice:function(a,b,c){a=k(a),this._initializeKeys(),a=Math.max(0,this._normalizeIndex(a)),b=Math.max(0,Math.min(b||0,this.length-a));for(var d=[];b;){var e=this._keys[a],f=this._keyMap[e],h=f&&f.data;if(d.push(h),this._keys.splice(a,1),this._data){this._modifyingData++;try{this._data.splice(a,1)}finally{this._modifyingData--}}delete this._keyMap[e],this._notifyItemRemoved(e,a,h,f),--b}if(arguments.length>2)for(var i=2,j=arguments.length;j>i;i++){var l=arguments[i];this._binding&&(l=g.as(l));var m=Math.min(a+i-2,this.length),n=this._assignKey();if(this._keys.splice(m,0,n),this._data){this._modifyingData++;try{this._data.splice(m,0,arguments[i])}finally{this._modifyingData--}}this._keyMap[n]={handle:n,key:n,data:l},this._notifyItemInserted(n,m,l)}return d},_spliceFromKey:function(a){this._initializeKeys();var b=i(arguments);return b[0]=this._keys.indexOf(a),this.splice.apply(this,b)}},{supportedForProcessing:!1})})})}),define("WinJS/Res",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Resources","./ControlProcessor/_OptionsParser","./Promise"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,c){a=a||b.document.body;var c=c||0;if(4>c){if(0===c&&a.getAttribute){var f=a.getAttribute("data-win-res");if(f){var i=g.optionsParser(f);l(a,a,i,c)}}var j="[data-win-res],[data-win-control]",k=a.querySelectorAll(j);if(0===k.length)return h.as(a);for(var n=0,p=k.length;p>n;n++){var q=k[n];if(q.winControl&&q.winControl.constructor&&q.winControl.constructor.isDeclarativeControlContainer){var r=q.winControl.constructor.isDeclarativeControlContainer;"function"==typeof r&&(r=o(r),r(q.winControl,m),n+=q.querySelectorAll(j).length)}if(q.hasAttribute("data-win-res")){var i=g.optionsParser(q.getAttribute("data-win-res"));l(q,q,i,c)}}}else if(d.validation)throw new e("WinJS.Res.NestingExceeded","NestingExceeded");return h.as(a)}function j(a,b){for(var c=Object.keys(b),e=0,g=c.length;g>e;e++){var h=c[e],i=b[h],j=f.getString(i);j&&j.empty?d.validation&&k(i):(a.setAttribute(h,j.value),void 0!==j.lang&&void 0!==a.lang&&a.lang!==j.lang&&(a.lang=j.lang))}}function k(a){throw new e("WinJS.Res.NotFound",f._formatString("NotFound: {0}",a))}function l(a,b,c,e){var g=Object.keys(c);b=o(b);for(var h=0,m=g.length;m>h;h++){var n=g[h],p=c[n];if("string"==typeof p){var q=f.getString(p);q&&q.empty?d.validation&&k(p):(b[n]=q.value,void 0!==q.lang&&void 0!==a.lang&&a.lang!==q.lang&&(a.lang=q.lang),"innerHTML"===n&&i(b,e+1))}else a===b&&"attributes"===n?j(a,p):l(a,b[n],p,e)}}function m(a){if(!n)return d.ready().then(function(){return n=!0,i(a)});try{return i(a)}catch(b){return h.wrapError(b)}}var n=!1,o=d.requireSupportedForProcessing;c.Namespace._moduleDefine(a,"WinJS.Resources",{processAll:m})}),define("WinJS/Pages/_BasePage",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_WriteProfilerMark","../Promise","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){var c=b.document.createElement("a");return c.href=a,c.href}function k(a){return b.document.location.href.toLowerCase()===a.toLowerCase()}function l(a,h){var l=m(a);return a=j(a),l||(l=c.Class.define(function(c,g,h,j){var l=this;this._disposed=!1,this.element=c=c||b.document.createElement("div"),i.addClass(c,"win-disposable"),c.msSourceLocation=a,this.uri=a,this.selfhost=k(a),c.winControl=this,i.addClass(c,"pagecontrol");var m=" uri='"+a+"'"+d._getProfilerMarkIdentifier(this.element);e("WinJS.UI.Pages:createPage"+m+",StartTM");var n=f.wrap().then(function(){return l.load(a)}),o=n.then(function(a){return f.join({loadResult:a,initResult:l.init(c,g)})}).then(function(a){return l.render(c,g,a.loadResult)});this.elementReady=o.then(function(){return c}),this.renderComplete=o.then(function(){return l.process(c,g)}).then(function(){return l.processed(c,g)}).then(function(){return l});var p=function(){h&&h(l),e("WinJS.UI.Pages:createPage"+m+",StopTM")};this.renderComplete.then(p,p),this.readyComplete=this.renderComplete.then(function(){return j}).then(function(){return l.ready(c,g),l}).then(null,function(a){return l.error(a)})},p),l=c.Class.mix(l,g.DOMEventMixin),o[a.toLowerCase()]=l),h&&(l=c.Class.mix(l,h)),l.selfhost=k(a),l}function m(a){return a=j(a),o[a.toLowerCase()]}function n(a){a=j(a),delete o[a.toLowerCase()]}if(b.document){var o={},p={dispose:function(){this._disposed||(this._disposed=!0,h.disposeSubTree(this.element),this.element=null)},load:function(a){},init:function(a,b){},process:function(a,b){},processed:function(a,b){},render:function(a,b,c){},ready:function(a,b){},error:function(a){return f.wrapError(a)}};c.Namespace._moduleDefine(a,null,{abs:j,define:l,get:m,remove:n,viewMap:o})}}),define("WinJS/Pages",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./ControlProcessor","./Fragments","./Pages/_BasePage","./Promise"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,e){var f=g.get(a);return f||(f=g.define(a,m)),e&&(f=c.Class.mix(f,e)),f.selfhost&&d.ready(function(){l(g.abs(a),b.document.body)},!0),f}function j(a){var b=g.get(a);return b||(b=i(a)),b}function k(a){f.clearCache(g.abs(a)),g.remove(a)}function l(a,b,c,d){var e=j(a),f=new e(b,c,null,d);return f.renderComplete.then(null,function(a){return h.wrapError({error:a,page:f})})}if(b.document){var m={load:function(a){return this.selfhost?void 0:f.renderCopy(g.abs(a))},process:function(a,b){return e.processAll(a)},render:function(a,b,c){return this.selfhost||a.appendChild(c),a}};c.Namespace._moduleDefine(a,"WinJS.UI.Pages",{define:i,get:j,_remove:k,render:l,_viewMap:g.viewMap})}}),define("WinJS/Controls/HtmlControl",["exports","../Core/_Global","../Core/_Base","../Pages"],function(a,b,c,d){"use strict";b.document&&c.Namespace._moduleDefine(a,"WinJS.UI",{HtmlControl:c.Class.define(function(a,b,c){d.render(b.uri,a,b).then(c,function(){c()})})})}),define("base",["WinJS/Core/_WinJS","WinJS/Core","WinJS/Promise","WinJS/_Signal","WinJS/Scheduler","WinJS/Utilities","WinJS/XYFocus","WinJS/Fragments","WinJS/Application","WinJS/Navigation","WinJS/Animations","WinJS/Binding","WinJS/BindingTemplate","WinJS/BindingList","WinJS/Res","WinJS/Pages","WinJS/ControlProcessor","WinJS/Controls/HtmlControl"],function(a){"use strict";return a.Namespace.define("WinJS.Utilities",{_require:require,_define:define}),a}),require(["WinJS/Core/_WinJS","base"],function(a){globalObject.WinJS=a,"undefined"!=typeof module&&(module.exports=a)}),globalObject.WinJS})}(); +!function(){var globalObject="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};!function(a){"function"==typeof define&&define.amd?define([],a):(globalObject.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.2.winjs.2017.3.14 base.js,StartTM"),"object"==typeof exports&&"string"!=typeof exports.nodeName?a():a(globalObject.WinJS),globalObject.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.2.winjs.2017.3.14 base.js,StopTM"))}(function(WinJS){var require,define;return function(){"use strict";function a(a,b){a=a||"";var c=a.split("/");return c.pop(),b.map(function(a){if("."===a[0]){var b=a.split("/"),d=c.slice(0);return b.forEach(function(a){".."===a?d.pop():"."!==a&&d.push(a)}),d.join("/")}return a})}function b(b,e,f){return b.map(function(b){if("exports"===b)return f;if("require"===b)return function(b,c){require(a(e,b),c)};var g=d[b];if(!g)throw new Error("Undefined dependency: "+b);return g.resolved||(g.resolved=c(g.dependencies,g.factory,b,g.exports),"undefined"==typeof g.resolved&&(g.resolved=g.exports)),g.resolved})}function c(a,c,d,e){var f=b(a,d,e);return c&&c.apply?c.apply(null,f):c}var d={};define=function(b,c,e){Array.isArray(c)||(e=c,c=[]);var f={dependencies:a(b,c),factory:e};-1!==c.indexOf("exports")&&(f.exports={}),d[b]=f},require=function(a,b){Array.isArray(a)||(a=[a]),c(a,b)}}(),define("amd",function(){}),define("WinJS/Core/_WinJS",{}),define("WinJS/Core/_Global",[],function(){"use strict";var a="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};return a}),define("WinJS/Core/_BaseCoreUtils",["./_Global"],function(a){"use strict";function b(a){return a.supportedForProcessing=!0,a}var c=!!a.Windows;return{hasWinRT:c,markSupportedForProcessing:b,_setImmediate:a.setImmediate?a.setImmediate.bind(a):function(b){a.setTimeout(b,0)}}}),define("WinJS/Core/_WriteProfilerMark",["./_Global"],function(a){"use strict";return a.msWriteProfilerMark||function(){}}),define("WinJS/Core/_Base",["./_WinJS","./_Global","./_BaseCoreUtils","./_WriteProfilerMark"],function(a,b,c,d){"use strict";function e(a,b,c){var d,e,f,g=Object.keys(b),h=Array.isArray(a);for(e=0,f=g.length;f>e;e++){var i=g[e],j=95!==i.charCodeAt(0),k=b[i];!k||"object"!=typeof k||void 0===k.value&&"function"!=typeof k.get&&"function"!=typeof k.set?j?h?a.forEach(function(a){a[i]=k}):a[i]=k:(d=d||{},d[i]={value:k,enumerable:j,configurable:!0,writable:!0}):(void 0===k.enumerable&&(k.enumerable=j),c&&k.setName&&"function"==typeof k.setName&&k.setName(c+"."+i),d=d||{},d[i]=k)}d&&(h?a.forEach(function(a){Object.defineProperties(a,d)}):Object.defineProperties(a,d))}return function(){function c(c,d){var e=c||{};if(d){var f=d.split(".");e===b&&"WinJS"===f[0]&&(e=a,f.splice(0,1));for(var g=0,h=f.length;h>g;g++){var i=f[g];e[i]||Object.defineProperty(e,i,{value:{},writable:!1,enumerable:!0,configurable:!0}),e=e[i]}}return e}function f(a,b,d){var f=c(a,b);return d&&e(f,d,b||""),f}function g(a,c){return f(b,a,c)}function h(a){var b,c,e=k.uninitialized;return{setName:function(a){b=a},get:function(){switch(e){case k.initialized:return c;case k.uninitialized:e=k.working;try{d("WinJS.Namespace._lazy:"+b+",StartTM"),c=a()}finally{d("WinJS.Namespace._lazy:"+b+",StopTM"),e=k.uninitialized}return a=null,e=k.initialized,c;case k.working:throw"Illegal: reentrancy on initialization";default:throw"Illegal"}},set:function(a){switch(e){case k.working:throw"Illegal: reentrancy on initialization";default:e=k.initialized,c=a}},enumerable:!0,configurable:!0}}function i(a,d,f){var g=[a],h=null;return d&&(h=c(b,d),g.push(h)),e(g,f,d||""),h}var j=a;j.Namespace||(j.Namespace=Object.create(Object.prototype));var k={uninitialized:1,working:2,initialized:3};Object.defineProperties(j.Namespace,{defineWithParent:{value:f,writable:!0,enumerable:!0,configurable:!0},define:{value:g,writable:!0,enumerable:!0,configurable:!0},_lazy:{value:h,writable:!0,enumerable:!0,configurable:!0},_moduleDefine:{value:i,writable:!0,enumerable:!0,configurable:!0}})}(),function(){function b(a,b,d){return a=a||function(){},c.markSupportedForProcessing(a),b&&e(a.prototype,b),d&&e(a,d),a}function d(a,d,f,g){if(a){d=d||function(){};var h=a.prototype;return d.prototype=Object.create(h),c.markSupportedForProcessing(d),Object.defineProperty(d.prototype,"constructor",{value:d,writable:!0,configurable:!0,enumerable:!0}),f&&e(d.prototype,f),g&&e(d,g),d}return b(d,f,g)}function f(a){a=a||function(){};var b,c;for(b=1,c=arguments.length;c>b;b++)e(a.prototype,arguments[b]);return a}a.Namespace.define("WinJS.Class",{define:b,derive:d,mix:f})}(),{Namespace:a.Namespace,Class:a.Class}}),define("WinJS/Core/_ErrorFromName",["./_Base"],function(a){"use strict";var b=a.Class.derive(Error,function(a,b){this.name=a,this.message=b||a},{},{supportedForProcessing:!1});return a.Namespace.define("WinJS",{ErrorFromName:b}),b}),define("WinJS/Core/_WinRT",["exports","./_Global","./_Base"],function(a,b,c){"use strict";a.msGetWeakWinRTProperty=b.msGetWeakWinRTProperty,a.msSetWeakWinRTProperty=b.msSetWeakWinRTProperty;var d=["Windows.ApplicationModel.DesignMode.designModeEnabled","Windows.ApplicationModel.Resources.Core.ResourceContext","Windows.ApplicationModel.Resources.Core.ResourceManager","Windows.ApplicationModel.Search.SearchQueryLinguisticDetails","Windows.Data.Text.SemanticTextQuery","Windows.Foundation.Collections.CollectionChange","Windows.Foundation.Diagnostics","Windows.Foundation.Uri","Windows.Globalization.ApplicationLanguages","Windows.Globalization.Calendar","Windows.Globalization.DateTimeFormatting","Windows.Globalization.Language","Windows.Phone.UI.Input.HardwareButtons","Windows.Storage.ApplicationData","Windows.Storage.CreationCollisionOption","Windows.Storage.BulkAccess.FileInformationFactory","Windows.Storage.FileIO","Windows.Storage.FileProperties.ThumbnailType","Windows.Storage.FileProperties.ThumbnailMode","Windows.Storage.FileProperties.ThumbnailOptions","Windows.Storage.KnownFolders","Windows.Storage.Search.FolderDepth","Windows.Storage.Search.IndexerOption","Windows.Storage.Streams.RandomAccessStreamReference","Windows.UI.ApplicationSettings.SettingsEdgeLocation","Windows.UI.ApplicationSettings.SettingsCommand","Windows.UI.ApplicationSettings.SettingsPane","Windows.UI.Core.AnimationMetrics","Windows.UI.Core.SystemNavigationManager","Windows.UI.Input.EdgeGesture","Windows.UI.Input.EdgeGestureKind","Windows.UI.Input.PointerPoint","Windows.UI.ViewManagement.HandPreference","Windows.UI.ViewManagement.InputPane","Windows.UI.ViewManagement.UIColorType","Windows.UI.ViewManagement.UISettings","Windows.UI.WebUI.Core.WebUICommandBar","Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon","Windows.UI.WebUI.Core.WebUICommandBarClosedDisplayMode","Windows.UI.WebUI.Core.WebUICommandBarIconButton","Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon","Windows.UI.WebUI.WebUIApplication"],e=!1;try{b.Windows.UI.ViewManagement.InputPane.getForCurrentView(),e=!0}catch(f){}d.forEach(function(d){var f=d.split("."),g={};g[f[f.length-1]]={get:function(){return e?f.reduce(function(a,b){return a?a[b]:null},b):null}},c.Namespace.defineWithParent(a,f.slice(0,-1).join("."),g)})}),define("WinJS/Core/_Events",["exports","./_Base"],function(a,b){"use strict";function c(a){var b="_on"+a+"state";return{get:function(){var a=this[b];return a&&a.userHandler},set:function(c){var d=this[b];c?(d||(d={wrapper:function(a){return d.userHandler(a)},userHandler:c},Object.defineProperty(this,b,{value:d,enumerable:!1,writable:!0,configurable:!0}),this.addEventListener(a,d.wrapper,!1)),d.userHandler=c):d&&(this.removeEventListener(a,d.wrapper,!1),this[b]=null)},enumerable:!0}}function d(){for(var a={},b=0,d=arguments.length;d>b;b++){var e=arguments[b];a["on"+e]=c(e)}return a}var e=b.Class.define(function(a,b,c){this.detail=b,this.target=c,this.timeStamp=Date.now(),this.type=a},{bubbles:{value:!1,writable:!1},cancelable:{value:!1,writable:!1},currentTarget:{get:function(){return this.target}},defaultPrevented:{get:function(){return this._preventDefaultCalled}},trusted:{value:!1,writable:!1},eventPhase:{value:0,writable:!1},target:null,timeStamp:null,type:null,preventDefault:function(){this._preventDefaultCalled=!0},stopImmediatePropagation:function(){this._stopImmediatePropagationCalled=!0},stopPropagation:function(){}},{supportedForProcessing:!1}),f={_listeners:null,addEventListener:function(a,b,c){c=c||!1,this._listeners=this._listeners||{};for(var d=this._listeners[a]=this._listeners[a]||[],e=0,f=d.length;f>e;e++){var g=d[e];if(g.useCapture===c&&g.listener===b)return}d.push({listener:b,useCapture:c})},dispatchEvent:function(a,b){var c=this._listeners&&this._listeners[a];if(c){var d=new e(a,b,this);c=c.slice(0,c.length);for(var f=0,g=c.length;g>f&&!d._stopImmediatePropagationCalled;f++)c[f].listener(d);return d.defaultPrevented||!1}return!1},removeEventListener:function(a,b,c){c=c||!1;var d=this._listeners&&this._listeners[a];if(d)for(var e=0,f=d.length;f>e;e++){var g=d[e];if(g.listener===b&&g.useCapture===c){d.splice(e,1),0===d.length&&delete this._listeners[a];break}}}};b.Namespace._moduleDefine(a,"WinJS.Utilities",{_createEventProperty:c,createEventProperties:d,eventMixin:f})}),define("require-json",{load:function(a){throw new Error("Dynamic load not allowed: "+a)}}),define("require-json!strings/en-us/Microsoft.WinJS.resjson",{"tv/scrollViewerPageDown":"Page Down","tv/scrollViewerPageUp":"Page Up","ui/appBarAriaLabel":"App Bar","ui/appBarCommandAriaLabel":"App Bar Item","ui/appBarOverflowButtonAriaLabel":"View more","ui/autoSuggestBoxAriaLabel":"Autosuggestbox","ui/autoSuggestBoxAriaLabelInputNoPlaceHolder":"Autosuggestbox, enter to submit query, esc to clear text","ui/autoSuggestBoxAriaLabelInputPlaceHolder":"Autosuggestbox, {0}, enter to submit query, esc to clear text","ui/autoSuggestBoxAriaLabelQuery":"Suggestion: {0}","_ui/autoSuggestBoxAriaLabelQuery.comment":"Suggestion: query text (example: Suggestion: contoso)","ui/autoSuggestBoxAriaLabelSeparator":"Separator: {0}","_ui/autoSuggestBoxAriaLabelSeparator.comment":"Separator: separator text (example: Separator: People or Separator: Apps)","ui/autoSuggestBoxAriaLabelResult":"Result: {0}, {1}","_ui/autoSuggestBoxAriaLabelResult.comment":"Result: text, detailed text (example: Result: contoso, www.contoso.com)","ui/averageRating":"Average Rating","ui/backbuttonarialabel":"Back","ui/chapterSkipBackMediaCommandDisplayText":"Chapter back","ui/chapterSkipForwardMediaCommandDisplayText":"Chapter forward","ui/clearYourRating":"Clear your rating","ui/closedCaptionsLabelNone":"Off","ui/closedCaptionsMediaCommandDisplayText":"Closed captioning","ui/closeOverlay":"Close","ui/commandingSurfaceAriaLabel":"CommandingSurface","ui/commandingSurfaceOverflowButtonAriaLabel":"View more","ui/datePicker":"Date Picker","ui/fastForwardMediaCommandDisplayText":"Fast forward","ui/fastForwardFeedbackDisplayText":" {0}X","ui/fastForwardFeedbackSlowMotionDisplayText":"0.5X","ui/flipViewPanningContainerAriaLabel":"Scrolling Container","ui/flyoutAriaLabel":"Flyout","ui/goToFullScreenButtonLabel":"Go full screen","ui/goToLiveMediaCommandDisplayText":"LIVE","ui/hubViewportAriaLabel":"Scrolling Container","ui/listViewViewportAriaLabel":"Scrolling Container","ui/mediaErrorAborted":"Playback was interrupted. Please try again.","ui/mediaErrorNetwork":"There was a network connection error.","ui/mediaErrorDecode":"The content could not be decoded","ui/mediaErrorSourceNotSupported":"This content type is not supported.","ui/mediaErrorUnknown":"There was an unknown error.","ui/mediaPlayerAudioTracksButtonLabel":"Audio tracks","ui/mediaPlayerCastButtonLabel":"Cast","ui/mediaPlayerChapterSkipBackButtonLabel":"Previous","ui/mediaPlayerChapterSkipForwardButtonLabel":"Next","ui/mediaPlayerClosedCaptionsButtonLabel":"Closed captions","ui/mediaPlayerFastForwardButtonLabel":"Fast forward","ui/mediaPlayerFullscreenButtonLabel":"Fullscreen","ui/mediaPlayerLiveButtonLabel":"LIVE","ui/mediaPlayerNextTrackButtonLabel":"Next","ui/mediaPlayerOverlayActiveOptionIndicator":"(On)","ui/mediaPlayerPauseButtonLabel":"Pause","ui/mediaPlayerPlayButtonLabel":"Play","ui/mediaPlayerPlayFromBeginningButtonLabel":"Replay","ui/mediaPlayerPlayRateButtonLabel":"Playback rate","ui/mediaPlayerPreviousTrackButtonLabel":"Previous","ui/mediaPlayerRewindButtonLabel":"Rewind","ui/mediaPlayerStopButtonLabel":"Stop","ui/mediaPlayerTimeSkipBackButtonLabel":"8 second replay","ui/mediaPlayerTimeSkipForwardButtonLabel":"30 second skip","ui/mediaPlayerToggleSnapButtonLabel":"Snap","ui/mediaPlayerVolumeButtonLabel":"Volume","ui/mediaPlayerZoomButtonLabel":"Zoom","ui/menuCommandAriaLabel":"Menu Item","ui/menuAriaLabel":"Menu","ui/navBarContainerViewportAriaLabel":"Scrolling Container","ui/nextTrackMediaCommandDisplayText":"Next track","ui/off":"Off","ui/on":"On","ui/pauseMediaCommandDisplayText":"Pause","ui/playFromBeginningMediaCommandDisplayText":"Play again","ui/playbackRateHalfSpeedLabel":"0.5x","ui/playbackRateNormalSpeedLabel":"Normal","ui/playbackRateOneAndHalfSpeedLabel":"1.5x","ui/playbackRateDoubleSpeedLabel":"2x","ui/playMediaCommandDisplayText":"Play","ui/pivotAriaLabel":"Pivot","ui/pivotViewportAriaLabel":"Scrolling Container","ui/replayMediaCommandDisplayText":"Play again","ui/rewindMediaCommandDisplayText":"Rewind","ui/rewindFeedbackDisplayText":" {0}X","ui/rewindFeedbackSlowMotionDisplayText":"0.5X","ui/searchBoxAriaLabel":"Searchbox","ui/searchBoxAriaLabelInputNoPlaceHolder":"Searchbox, enter to submit query, esc to clear text","ui/searchBoxAriaLabelInputPlaceHolder":"Searchbox, {0}, enter to submit query, esc to clear text","ui/searchBoxAriaLabelButton":"Click to submit query","ui/seeMore":"See more","ui/selectAMPM":"Select A.M P.M","ui/selectDay":"Select Day","ui/selectHour":"Select Hour","ui/selectMinute":"Select Minute","ui/selectMonth":"Select Month","ui/selectYear":"Select Year","ui/settingsFlyoutAriaLabel":"Settings Flyout","ui/stopMediaCommandDisplayText":"Stop","ui/tentativeRating":"Tentative Rating","ui/timePicker":"Time Picker","ui/timeSeparator":":","ui/timeSkipBackMediaCommandDisplayText":"Skip back","ui/timeSkipForwardMediaCommandDisplayText":"Skip forward","ui/toolbarAriaLabel":"ToolBar","ui/toolbarOverflowButtonAriaLabel":"View more","ui/unrated":"Unrated","ui/userRating":"User Rating","ui/zoomMediaCommandDisplayText":"Zoom","ui/appBarIcons/previous":"","_ui/appBarIcons/previous.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/next":"","_ui/appBarIcons/next.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/play":"","_ui/appBarIcons/play.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pause":"","_ui/appBarIcons/pause.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/edit":"","_ui/appBarIcons/edit.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/save":"","_ui/appBarIcons/save.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clear":"","_ui/appBarIcons/clear.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/delete":"","_ui/appBarIcons/delete.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/remove":"","_ui/appBarIcons/remove.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/add":"","_ui/appBarIcons/add.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cancel":"","_ui/appBarIcons/cancel.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/accept":"","_ui/appBarIcons/accept.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/more":"","_ui/appBarIcons/more.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/redo":"","_ui/appBarIcons/redo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/undo":"","_ui/appBarIcons/undo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/home":"","_ui/appBarIcons/home.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/up":"","_ui/appBarIcons/up.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/forward":"","_ui/appBarIcons/forward.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/right":"","_ui/appBarIcons/right.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/back":"","_ui/appBarIcons/back.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/left":"","_ui/appBarIcons/left.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/favorite":"","_ui/appBarIcons/favorite.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/camera":"","_ui/appBarIcons/camera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/settings":"","_ui/appBarIcons/settings.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/video":"","_ui/appBarIcons/video.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/sync":"","_ui/appBarIcons/sync.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/download":"","_ui/appBarIcons/download.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mail":"","_ui/appBarIcons/mail.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/find":"","_ui/appBarIcons/find.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/help":"","_ui/appBarIcons/help.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/upload":"","_ui/appBarIcons/upload.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/emoji":"","_ui/appBarIcons/emoji.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/twopage":"","_ui/appBarIcons/twopage.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/leavechat":"","_ui/appBarIcons/leavechat.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailforward":"","_ui/appBarIcons/mailforward.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clock":"","_ui/appBarIcons/clock.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/send":"","_ui/appBarIcons/send.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/crop":"","_ui/appBarIcons/crop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rotatecamera":"","_ui/appBarIcons/rotatecamera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/people":"","_ui/appBarIcons/people.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/closepane":"","_ui/appBarIcons/closepane.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openpane":"","_ui/appBarIcons/openpane.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/world":"","_ui/appBarIcons/world.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/flag":"","_ui/appBarIcons/flag.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/previewlink":"","_ui/appBarIcons/previewlink.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/globe":"","_ui/appBarIcons/globe.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/trim":"","_ui/appBarIcons/trim.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/attachcamera":"","_ui/appBarIcons/attachcamera.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoomin":"","_ui/appBarIcons/zoomin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bookmarks":"","_ui/appBarIcons/bookmarks.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/document":"","_ui/appBarIcons/document.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/protecteddocument":"","_ui/appBarIcons/protecteddocument.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/page":"","_ui/appBarIcons/page.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bullets":"","_ui/appBarIcons/bullets.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/comment":"","_ui/appBarIcons/comment.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mail2":"","_ui/appBarIcons/mail2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contactinfo":"","_ui/appBarIcons/contactinfo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hangup":"","_ui/appBarIcons/hangup.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/viewall":"","_ui/appBarIcons/viewall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mappin":"","_ui/appBarIcons/mappin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/phone":"","_ui/appBarIcons/phone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/videochat":"","_ui/appBarIcons/videochat.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/switch":"","_ui/appBarIcons/switch.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contact":"","_ui/appBarIcons/contact.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rename":"","_ui/appBarIcons/rename.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pin":"","_ui/appBarIcons/pin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/musicinfo":"","_ui/appBarIcons/musicinfo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/go":"","_ui/appBarIcons/go.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/keyboard":"","_ui/appBarIcons/keyboard.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockleft":"","_ui/appBarIcons/dockleft.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockright":"","_ui/appBarIcons/dockright.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dockbottom":"","_ui/appBarIcons/dockbottom.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/remote":"","_ui/appBarIcons/remote.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/refresh":"","_ui/appBarIcons/refresh.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/rotate":"","_ui/appBarIcons/rotate.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/shuffle":"","_ui/appBarIcons/shuffle.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/list":"","_ui/appBarIcons/list.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/shop":"","_ui/appBarIcons/shop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/selectall":"","_ui/appBarIcons/selectall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/orientation":"","_ui/appBarIcons/orientation.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/import":"","_ui/appBarIcons/import.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/importall":"","_ui/appBarIcons/importall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/browsephotos":"","_ui/appBarIcons/browsephotos.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/webcam":"","_ui/appBarIcons/webcam.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/pictures":"","_ui/appBarIcons/pictures.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/savelocal":"","_ui/appBarIcons/savelocal.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/caption":"","_ui/appBarIcons/caption.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/stop":"","_ui/appBarIcons/stop.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/showresults":"","_ui/appBarIcons/showresults.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/volume":"","_ui/appBarIcons/volume.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repair":"","_ui/appBarIcons/repair.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/message":"","_ui/appBarIcons/message.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/page2":"","_ui/appBarIcons/page2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarday":"","_ui/appBarIcons/calendarday.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarweek":"","_ui/appBarIcons/calendarweek.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendar":"","_ui/appBarIcons/calendar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/characters":"","_ui/appBarIcons/characters.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailreplyall":"","_ui/appBarIcons/mailreplyall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/read":"","_ui/appBarIcons/read.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/link":"","_ui/appBarIcons/link.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/accounts":"","_ui/appBarIcons/accounts.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/showbcc":"","_ui/appBarIcons/showbcc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hidebcc":"","_ui/appBarIcons/hidebcc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cut":"","_ui/appBarIcons/cut.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/attach":"","_ui/appBarIcons/attach.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/paste":"","_ui/appBarIcons/paste.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/filter":"","_ui/appBarIcons/filter.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/copy":"","_ui/appBarIcons/copy.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/emoji2":"","_ui/appBarIcons/emoji2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/important":"","_ui/appBarIcons/important.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mailreply":"","_ui/appBarIcons/mailreply.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/slideshow":"","_ui/appBarIcons/slideshow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/sort":"","_ui/appBarIcons/sort.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/manage":"","_ui/appBarIcons/manage.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/allapps":"","_ui/appBarIcons/allapps.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/disconnectdrive":"","_ui/appBarIcons/disconnectdrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mapdrive":"","_ui/appBarIcons/mapdrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/newwindow":"","_ui/appBarIcons/newwindow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openwith":"","_ui/appBarIcons/openwith.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contactpresence":"","_ui/appBarIcons/contactpresence.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/priority":"","_ui/appBarIcons/priority.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/uploadskydrive":"","_ui/appBarIcons/uploadskydrive.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/gototoday":"","_ui/appBarIcons/gototoday.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/font":"","_ui/appBarIcons/font.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontcolor":"","_ui/appBarIcons/fontcolor.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/contact2":"","_ui/appBarIcons/contact2.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/folder":"","_ui/appBarIcons/folder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/audio":"","_ui/appBarIcons/audio.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/placeholder":"","_ui/appBarIcons/placeholder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/view":"","_ui/appBarIcons/view.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/setlockscreen":"","_ui/appBarIcons/setlockscreen.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/settile":"","_ui/appBarIcons/settile.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cc":"","_ui/appBarIcons/cc.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/stopslideshow":"","_ui/appBarIcons/stopslideshow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/permissions":"","_ui/appBarIcons/permissions.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/highlight":"","_ui/appBarIcons/highlight.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/disableupdates":"","_ui/appBarIcons/disableupdates.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unfavorite":"","_ui/appBarIcons/unfavorite.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unpin":"","_ui/appBarIcons/unpin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openlocal":"","_ui/appBarIcons/openlocal.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/mute":"","_ui/appBarIcons/mute.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/italic":"","_ui/appBarIcons/italic.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/underline":"","_ui/appBarIcons/underline.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/bold":"","_ui/appBarIcons/bold.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/movetofolder":"","_ui/appBarIcons/movetofolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/likedislike":"","_ui/appBarIcons/likedislike.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/dislike":"","_ui/appBarIcons/dislike.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/like":"","_ui/appBarIcons/like.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/alignright":"","_ui/appBarIcons/alignright.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/aligncenter":"","_ui/appBarIcons/aligncenter.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/alignleft":"","_ui/appBarIcons/alignleft.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoom":"","_ui/appBarIcons/zoom.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zoomout":"","_ui/appBarIcons/zoomout.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/openfile":"","_ui/appBarIcons/openfile.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/otheruser":"","_ui/appBarIcons/otheruser.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/admin":"","_ui/appBarIcons/admin.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/street":"","_ui/appBarIcons/street.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/map":"","_ui/appBarIcons/map.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/clearselection":"","_ui/appBarIcons/clearselection.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontdecrease":"","_ui/appBarIcons/fontdecrease.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontincrease":"","_ui/appBarIcons/fontincrease.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fontsize":"","_ui/appBarIcons/fontsize.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/cellphone":"","_ui/appBarIcons/cellphone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/print":"","_ui/appBarIcons/print.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/share":"","_ui/appBarIcons/share.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/reshare":"","_ui/appBarIcons/reshare.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/tag":"","_ui/appBarIcons/tag.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repeatone":"","_ui/appBarIcons/repeatone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/repeatall":"","_ui/appBarIcons/repeatall.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/outlinestar":"","_ui/appBarIcons/outlinestar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/solidstar":"","_ui/appBarIcons/solidstar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calculator":"","_ui/appBarIcons/calculator.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/directions":"","_ui/appBarIcons/directions.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/target":"","_ui/appBarIcons/target.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/library":"","_ui/appBarIcons/library.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/phonebook":"","_ui/appBarIcons/phonebook.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/memo":"","_ui/appBarIcons/memo.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/microphone":"","_ui/appBarIcons/microphone.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/postupdate":"","_ui/appBarIcons/postupdate.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/backtowindow":"","_ui/appBarIcons/backtowindow.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fullscreen":"","_ui/appBarIcons/fullscreen.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/newfolder":"","_ui/appBarIcons/newfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/calendarreply":"","_ui/appBarIcons/calendarreply.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/unsyncfolder":"","_ui/appBarIcons/unsyncfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/reporthacked":"","_ui/appBarIcons/reporthacked.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/syncfolder":"","_ui/appBarIcons/syncfolder.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/blockcontact":"","_ui/appBarIcons/blockcontact.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/switchapps":"","_ui/appBarIcons/switchapps.comment":"{Locked=qps-ploc,qps-plocm}", +"ui/appBarIcons/addfriend":"","_ui/appBarIcons/addfriend.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/touchpointer":"","_ui/appBarIcons/touchpointer.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/gotostart":"","_ui/appBarIcons/gotostart.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/zerobars":"","_ui/appBarIcons/zerobars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/onebar":"","_ui/appBarIcons/onebar.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/twobars":"","_ui/appBarIcons/twobars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/threebars":"","_ui/appBarIcons/threebars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/fourbars":"","_ui/appBarIcons/fourbars.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/scan":"","_ui/appBarIcons/scan.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/preview":"","_ui/appBarIcons/preview.comment":"{Locked=qps-ploc,qps-plocm}","ui/appBarIcons/hamburger":"","_ui/appBarIcons/hamburger.comment":"{Locked=qps-ploc,qps-plocm}"}),define("WinJS/Core/_Resources",["exports","./_Global","./_WinRT","./_Base","./_Events","require-json!strings/en-us/Microsoft.WinJS.resjson"],function(a,b,c,d,e,f){"use strict";function g(a){var b=s("ms-resource:///Microsoft.WinJS/"+a);return b.empty&&(b=h(a)),b}function h(a){var b=f[a];return"string"==typeof b&&(b={value:b}),b||{value:a,empty:!0}}function i(a){var b=arguments;return b.length>1&&(a=a.replace(/({{)|(}})|{(\d+)}|({)|(})/g,function(a,c,d,e,f,g){if(f||g)throw i(q.malformedFormatStringInput,f||g);return c&&"{"||d&&"}"||b[(0|e)+1]})),a}var j,k,l=!1,m="contextchanged",n=d.Class.mix(d.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),o=new n,p=e._createEventProperty,q={get malformedFormatStringInput(){return"Malformed, did you mean to escape your '{0}'?"}};d.Namespace.define("WinJS.Resources",{_getWinJSString:g}),d.Namespace._moduleDefine(a,"WinJS.Resources",{addEventListener:function(b,d,e){if(c.Windows.ApplicationModel.Resources.Core.ResourceManager&&!l&&b===m)try{var f=a._getResourceContext();f?f.qualifierValues.addEventListener("mapchanged",function(b){a.dispatchEvent(m,{qualifier:b.key,changed:b.target[b.key]})},!1):c.Windows.ApplicationModel.Resources.Core.ResourceManager.current.defaultContext.qualifierValues.addEventListener("mapchanged",function(b){a.dispatchEvent(m,{qualifier:b.key,changed:b.target[b.key]})},!1),l=!0}catch(g){}o.addEventListener(b,d,e)},removeEventListener:o.removeEventListener.bind(o),dispatchEvent:o.dispatchEvent.bind(o),_formatString:i,_getStringWinRT:function(b){if(!j){var d=c.Windows.ApplicationModel.Resources.Core.ResourceManager.current.mainResourceMap;try{j=d.getSubtree("Resources")}catch(e){}j||(j=d)}var f,g,h;try{var i=a._getResourceContext();h=i?j.getValue(b,i):j.getValue(b),h&&(f=h.valueAsString,void 0===f&&(f=h.toString()))}catch(e){}if(!f)return a._getStringJS(b);try{g=h.getQualifierValue("Language")}catch(e){return{value:f}}return{value:f,lang:g}},_getStringJS:function(a){var c=b.strings&&b.strings[a];return"string"==typeof c&&(c={value:c}),c||{value:a,empty:!0}},_getResourceContext:function(){if(b.document&&"undefined"==typeof k){var a=c.Windows.ApplicationModel.Resources.Core.ResourceContext;k=a.getForCurrentView?a.getForCurrentView():null}return k},oncontextchanged:p(m)});var r=c.Windows.ApplicationModel.Resources.Core.ResourceManager?a._getStringWinRT:a._getStringJS,s=function(a){return r(a)};d.Namespace._moduleDefine(a,null,{_formatString:i,_getWinJSString:g}),d.Namespace._moduleDefine(a,"WinJS.Resources",{getString:{get:function(){return s},set:function(a){s=a}}})}),define("WinJS/Core/_Trace",["./_Global"],function(a){"use strict";function b(a){return a}return{_traceAsyncOperationStarting:a.Debug&&a.Debug.msTraceAsyncOperationStarting&&a.Debug.msTraceAsyncOperationStarting.bind(a.Debug)||b,_traceAsyncOperationCompleted:a.Debug&&a.Debug.msTraceAsyncOperationCompleted&&a.Debug.msTraceAsyncOperationCompleted.bind(a.Debug)||b,_traceAsyncCallbackStarting:a.Debug&&a.Debug.msTraceAsyncCallbackStarting&&a.Debug.msTraceAsyncCallbackStarting.bind(a.Debug)||b,_traceAsyncCallbackCompleted:a.Debug&&a.Debug.msTraceAsyncCallbackCompleted&&a.Debug.msTraceAsyncCallbackCompleted.bind(a.Debug)||b}}),define("WinJS/Promise/_StateMachine",["../Core/_Global","../Core/_BaseCoreUtils","../Core/_Base","../Core/_ErrorFromName","../Core/_Events","../Core/_Trace"],function(a,b,c,d,e,f){"use strict";function g(){}function h(a,b){var c;c=b&&"object"==typeof b&&"function"==typeof b.then?I:M,a._value=b,a._setState(c)}function i(a,b,c,d,e,f){return{exception:a,error:b,promise:c,handler:f,id:d,parent:e}}function j(a,b,c,d){var e=c._isException,f=c._errorId;return i(e?b:null,e?null:b,a,f,c,d)}function k(a,b,c){var d=c._isException,e=c._errorId;return u(a,e,d),i(d?b:null,d?null:b,a,e,c)}function l(a,b){var c=++Q;return u(a,c),i(null,b,a,c)}function m(a,b){var c=++Q;return u(a,c,!0),i(b,null,a,c)}function n(a,b,c,d){var e=f._traceAsyncOperationStarting("WinJS.Promise.done");t(a,{c:b,e:c,p:d,asyncOpID:e})}function o(a,b,c,d){a._value=b,r(a,b,c,d),a._setState(O)}function p(b,c){var d=b._value,e=b._listeners;if(e){b._listeners=null;var g,h;for(g=0,h=Array.isArray(e)?e.length:1;h>g;g++){var i=1===h?e:e[g],j=i.c,k=i.promise;if(f._traceAsyncOperationCompleted(i.asyncOpID,a.Debug&&a.Debug.MS_ASYNC_OP_STATUS_SUCCESS),k){f._traceAsyncCallbackStarting(i.asyncOpID);try{k._setCompleteValue(j?j(d):d)}catch(l){k._setExceptionValue(l)}finally{f._traceAsyncCallbackCompleted()}k._state!==I&&k._listeners&&c.push(k)}else W.prototype.done.call(b,j)}}}function q(b,c){var d=b._value,e=b._listeners;if(e){b._listeners=null;var g,h;for(g=0,h=Array.isArray(e)?e.length:1;h>g;g++){var i=1===h?e:e[g],k=i.e,l=i.promise,m=a.Debug&&(d&&d.name===D?a.Debug.MS_ASYNC_OP_STATUS_CANCELED:a.Debug.MS_ASYNC_OP_STATUS_ERROR);if(f._traceAsyncOperationCompleted(i.asyncOpID,m),l){var n=!1;try{k?(f._traceAsyncCallbackStarting(i.asyncOpID),n=!0,k.handlesOnError||r(l,d,j,b,k),l._setCompleteValue(k(d))):l._setChainedErrorValue(d,b)}catch(o){l._setExceptionValue(o)}finally{n&&f._traceAsyncCallbackCompleted()}l._state!==I&&l._listeners&&c.push(l)}else U.prototype.done.call(b,null,k)}}}function r(a,b,c,d,e){if(B._listeners[C]){if(b instanceof Error&&b.message===D)return;B.dispatchEvent(C,c(a,b,d,e))}}function s(a,b){var c=a._listeners;if(c){var d,e;for(d=0,e=Array.isArray(c)?c.length:1;e>d;d++){var f=1===e?c:c[d],g=f.p;if(g)try{g(b)}catch(h){}f.c||f.e||!f.promise||f.promise._progress(b)}}}function t(a,b){var c=a._listeners;c?(c=Array.isArray(c)?c:[c],c.push(b)):c=b,a._listeners=c}function u(a,b,c){a._isException=c||!1,a._errorId=b}function v(a,b,c,d){a._value=b,r(a,b,c,d),a._setState(P)}function w(a,b){var c;c=b&&"object"==typeof b&&"function"==typeof b.then?I:N,a._value=b,a._setState(c)}function x(a,b,c,d){var e=new T(a),g=f._traceAsyncOperationStarting("WinJS.Promise.then");return t(a,{promise:e,c:b,e:c,p:d,asyncOpID:g}),e}function y(c){var d;return new X(function(e){c?d=a.setTimeout(e,c):b._setImmediate(e)},function(){d&&a.clearTimeout(d)})}function z(a,b){var c=function(){b.cancel()},d=function(){a.cancel()};return a.then(c),b.then(d,d),b}a.Debug&&(a.Debug.setNonUserCodeExceptions=!0);var A=c.Class.mix(c.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),B=new A;B._listeners={};var C="error",D="Canceled",E=!1,F={promise:1,thenPromise:2,errorPromise:4,exceptionPromise:8,completePromise:16};F.all=F.promise|F.thenPromise|F.errorPromise|F.exceptionPromise|F.completePromise;var G,H,I,J,K,L,M,N,O,P,Q=1;G={name:"created",enter:function(a){a._setState(H)},cancel:g,done:g,then:g,_completed:g,_error:g,_notify:g,_progress:g,_setCompleteValue:g,_setErrorValue:g},H={name:"working",enter:g,cancel:function(a){a._setState(K)},done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},I={name:"waiting",enter:function(a){var b=a._value;if(b instanceof T&&b._state!==P&&b._state!==N)t(b,{promise:a});else{var c=function(d){b._errorId?a._chainedError(d,b):(r(a,d,j,b,c),a._error(d))};c.handlesOnError=!0,b.then(a._completed.bind(a),c,a._progress.bind(a))}},cancel:function(a){a._setState(J)},done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},J={name:"waiting_canceled",enter:function(a){a._setState(L);var b=a._value;b.cancel&&b.cancel()},cancel:g,done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},K={name:"canceled",enter:function(a){a._setState(L),a._cancelAction()},cancel:g,done:n,then:x,_completed:h,_error:o,_notify:g,_progress:s,_setCompleteValue:w,_setErrorValue:v},L={name:"canceling",enter:function(a){var b=new Error(D);b.name=b.message,a._value=b,a._setState(O)},cancel:g,done:g,then:g,_completed:g,_error:g,_notify:g,_progress:g,_setCompleteValue:g,_setErrorValue:g},M={name:"complete_notify",enter:function(a){if(a.done=W.prototype.done,a.then=W.prototype.then,a._listeners)for(var b,c=[a];c.length;)b=c.shift(),b._state._notify(b,c);a._setState(N)},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:p,_progress:g,_setCompleteValue:g,_setErrorValue:g},N={name:"success",enter:function(a){a.done=W.prototype.done,a.then=W.prototype.then,a._cleanupAction()},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:p,_progress:g,_setCompleteValue:g,_setErrorValue:g},O={name:"error_notify",enter:function(a){if(a.done=U.prototype.done,a.then=U.prototype.then,a._listeners)for(var b,c=[a];c.length;)b=c.shift(),b._state._notify(b,c);a._setState(P)},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:q,_progress:g,_setCompleteValue:g,_setErrorValue:g},P={name:"error",enter:function(a){a.done=U.prototype.done,a.then=U.prototype.then,a._cleanupAction()},cancel:g,done:null,then:null,_completed:g,_error:g,_notify:q,_progress:g,_setCompleteValue:g,_setErrorValue:g};var R,S=c.Class.define(null,{_listeners:null,_nextState:null,_state:null,_value:null,cancel:function(){this._state.cancel(this),this._run()},done:function(a,b,c){this._state.done(this,a,b,c)},then:function(a,b,c){return this._state.then(this,a,b,c)},_chainedError:function(a,b){var c=this._state._error(this,a,k,b);return this._run(),c},_completed:function(a){var b=this._state._completed(this,a);return this._run(),b},_error:function(a){var b=this._state._error(this,a,l);return this._run(),b},_progress:function(a){this._state._progress(this,a)},_setState:function(a){this._nextState=a},_setCompleteValue:function(a){this._state._setCompleteValue(this,a),this._run()},_setChainedErrorValue:function(a,b){var c=this._state._setErrorValue(this,a,k,b);return this._run(),c},_setExceptionValue:function(a){var b=this._state._setErrorValue(this,a,m);return this._run(),b},_run:function(){for(;this._nextState;)this._state=this._nextState,this._nextState=null,this._state.enter(this)}},{supportedForProcessing:!1}),T=c.Class.derive(S,function(a){E&&(E===!0||E&F.thenPromise)&&(this._stack=X._getStack()),this._creator=a,this._setState(G),this._run()},{_creator:null,_cancelAction:function(){this._creator&&this._creator.cancel()},_cleanupAction:function(){this._creator=null}},{supportedForProcessing:!1}),U=c.Class.define(function(a){E&&(E===!0||E&F.errorPromise)&&(this._stack=X._getStack()),this._value=a,r(this,a,l)},{cancel:function(){},done:function(a,b){var c=this._value;if(b)try{b.handlesOnError||r(null,c,j,this,b);var d=b(c);return void(d&&"object"==typeof d&&"function"==typeof d.done&&d.done())}catch(e){c=e}c instanceof Error&&c.message===D||X._doneHandler(c)},then:function(a,b){if(!b)return this;var c,d=this._value;try{b.handlesOnError||r(null,d,j,this,b),c=new W(b(d))}catch(e){c=e===d?this:new V(e)}return c}},{supportedForProcessing:!1}),V=c.Class.derive(U,function(a){E&&(E===!0||E&F.exceptionPromise)&&(this._stack=X._getStack()),this._value=a,r(this,a,m)},{},{supportedForProcessing:!1}),W=c.Class.define(function(a){if(E&&(E===!0||E&F.completePromise)&&(this._stack=X._getStack()),a&&"object"==typeof a&&"function"==typeof a.then){var b=new T(null);return b._setCompleteValue(a),b}this._value=a},{cancel:function(){},done:function(a){if(a)try{var b=a(this._value);b&&"object"==typeof b&&"function"==typeof b.done&&b.done()}catch(c){X._doneHandler(c)}},then:function(a){try{var b=a?a(this._value):this._value;return b===this._value?this:new W(b)}catch(c){return new V(c)}}},{supportedForProcessing:!1}),X=c.Class.derive(S,function(a,b){E&&(E===!0||E&F.promise)&&(this._stack=X._getStack()),this._oncancel=b,this._setState(G),this._run();try{var c=this._completed.bind(this),d=this._error.bind(this),e=this._progress.bind(this);a(c,d,e)}catch(f){this._setExceptionValue(f)}},{_oncancel:null,_cancelAction:function(){if(this._oncancel)try{this._oncancel()}catch(a){}},_cleanupAction:function(){this._oncancel=null}},{addEventListener:function(a,b,c){B.addEventListener(a,b,c)},any:function(a){return new X(function(b,c){var d=Object.keys(a);0===d.length&&b();var e=0;d.forEach(function(f){X.as(a[f]).then(function(){b({key:f,value:a[f]})},function(g){return g instanceof Error&&g.name===D?void(++e===d.length&&b(X.cancel)):void c({key:f,value:a[f]})})})},function(){var b=Object.keys(a);b.forEach(function(b){var c=X.as(a[b]);"function"==typeof c.cancel&&c.cancel()})})},as:function(a){return a&&"object"==typeof a&&"function"==typeof a.then?a:new W(a)},cancel:{get:function(){return R=R||new U(new d(D))}},dispatchEvent:function(a,b){return B.dispatchEvent(a,b)},is:function(a){return a&&"object"==typeof a&&"function"==typeof a.then},join:function(a){return new X(function(b,c,d){var e=Object.keys(a),f=Array.isArray(a)?[]:{},g=Array.isArray(a)?[]:{},h=0,i=e.length,j=function(a){if(0===--i){var h=Object.keys(f).length;if(0===h)b(g);else{var j=0;e.forEach(function(a){var b=f[a];b instanceof Error&&b.name===D&&j++}),j===h?b(X.cancel):c(f)}}else d({Key:a,Done:!0})};return e.forEach(function(b){var c=a[b];void 0===c?h++:X.then(c,function(a){g[b]=a,j(b)},function(a){f[b]=a,j(b)})}),i-=h,0===i?void b(g):void 0},function(){Object.keys(a).forEach(function(b){var c=X.as(a[b]);"function"==typeof c.cancel&&c.cancel()})})},removeEventListener:function(a,b,c){B.removeEventListener(a,b,c)},supportedForProcessing:!1,then:function(a,b,c,d){return X.as(a).then(b,c,d)},thenEach:function(a,b,c,d){var e=Array.isArray(a)?[]:{};return Object.keys(a).forEach(function(f){e[f]=X.as(a[f]).then(b,c,d)}),X.join(e)},timeout:function(a,b){var c=y(a);return b?z(c,b):c},wrap:function(a){return new W(a)},wrapError:function(a){return new U(a)},_veryExpensiveTagWithStack:{get:function(){return E},set:function(a){E=a}},_veryExpensiveTagWithStack_tag:F,_getStack:function(){if(a.Debug&&a.Debug.debuggerEnabled)try{throw new Error}catch(b){return b.stack}},_cancelBlocker:function(a,b){if(!X.is(a))return X.wrap(a);var c,d,e=new X(function(a,b){c=a,d=b},function(){c=null,d=null,b&&b()});return a.then(function(a){c&&c(a)},function(a){d&&d(a)}),e}});return Object.defineProperties(X,e.createEventProperties(C)),X._doneHandler=function(a){b._setImmediate(function(){throw a})},{PromiseStateMachine:S,Promise:X,state_created:G}}),define("WinJS/Promise",["./Core/_Base","./Promise/_StateMachine"],function(a,b){"use strict";return a.Namespace.define("WinJS",{Promise:b.Promise}),b.Promise}),define("WinJS/Core/_Log",["exports","./_Global","./_Base"],function(a,b,c){"use strict";function d(a,b,c){var d=a;return"function"==typeof d&&(d=d()),(c&&h.test(c)?"":c?c+": ":"")+(b?b.replace(g,":")+": ":"")+d}function e(c,d,e){var f=a.formatLog(c,d,e);b.console&&b.console[e&&h.test(e)?e:"log"](f)}function f(a){return a.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}var g=/\s+/g,h=/^(error|warn|info|log)$/,i=null;c.Namespace._moduleDefine(a,"WinJS.Utilities",{startLog:function(b){b=b||{},"string"==typeof b&&(b={tags:b});var c=b.type&&new RegExp("^("+f(b.type).replace(g," ").split(" ").join("|")+")$"),d=b.excludeTags&&new RegExp("(^|\\s)("+f(b.excludeTags).replace(g," ").split(" ").join("|")+")(\\s|$)","i"),h=b.tags&&new RegExp("(^|\\s)("+f(b.tags).replace(g," ").split(" ").join("|")+")(\\s|$)","i"),i=b.action||e;if(!(c||d||h||a.log))return void(a.log=i);var j=function(a,b,e){c&&!c.test(e)||d&&d.test(b)||h&&!h.test(b)||i(a,b,e),j.next&&j.next(a,b,e)};j.next=a.log,a.log=j},stopLog:function(){a.log=null},formatLog:d}),c.Namespace._moduleDefine(a,"WinJS",{log:{get:function(){return i},set:function(a){i=a}}})}),define("WinJS/Scheduler",["exports","./Core/_Global","./Core/_Base","./Core/_ErrorFromName","./Core/_Log","./Core/_Resources","./Core/_Trace","./Core/_WriteProfilerMark","./Promise"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){var b={},c="_prev"+a,d="_next"+a;return b["_remove"+a]=function(){var a=this[c],b=this[d];b&&(b[c]=a),a&&(a[d]=b),this[c]=null,this[d]=null},b["_insert"+a+"Before"]=function(a){var b=this[c];return b&&(b[d]=a),a[d]=this,a[c]=b,this[c]=a,a},b["_insert"+a+"After"]=function(a){var b=this[d];return this[d]=a,a[d]=b,a[c]=this,b&&(b[c]=a),a},b}function k(a,b,c){return void 0!==c?"("+a+";"+b+";"+c+")":void 0!==b?"("+a+";"+b+")":void 0!==a?"("+a+")":""}function l(a,b,c,d){h("WinJS.Scheduler:"+a+k(c,d)+","+b)}function m(a,b,c,d,e){var f=a.name||void 0!==d||void 0!==e;h("WinJS.Scheduler:"+b+":"+a.id+(f?k(a.name,d,e):"")+","+c)}function n(){return!1}function o(a){throw"Illegal call by job("+a.id+") in state: "+this.name}function p(a){return function(b,c,d){b._setState(a,c,d)}}function q(a,b){a._setPriority(b)}function r(a,b){function c(a,b){e.log&&e.log(b+": MARKER: "+a.name,"winjs scheduler","log")}function d(a,b){e.log&&e.log(b+": JOB("+a.id+"): state: "+(a._state?a._state.name:"")+(a.name?", name: "+a.name:""),"winjs scheduler","log")}e.log&&e.log("highWaterMark: "+Ba,"winjs scheduler","log");var f=0,g=b?va[va.length-1]:va[0],h=g;do h instanceof ma&&c(h,f),h instanceof S&&d(h,f),f++,h=b?h["_prev"+a]:h["_next"+a];while(h)}function s(){function a(a,c){b+=" "+(c?"*":" ")+"id: "+a.id+", priority: "+I(a.priority).name+(a.name?", name: "+a.name:"")+"\n"}var b="";b+="Jobs:\n";var c=I(Ba),d=0;for(xa&&(a(xa,!0),d++);c.priority>=ua.min;)c instanceof S&&(a(c,!1),d++),c=c._nextJob;0===d&&(b+=" None\n"),b+="Drain requests:\n";for(var e=0,f=za.length;f>e;e++)b+=" "+(0===e?"*":" ")+"priority: "+I(za[e].priority).name+", name: "+za[e].name+"\n";return 0===za.length&&(b+=" None\n"),b}function t(){var a=va[0];do{if(a instanceof S)return!1;a=a._nextJob}while(a);return!0}function u(){return 0===za.length?null:za[0].priority}function v(a){l("drain","StartTM",a.name,I(a.priority).name)}function w(a,b){b&&l("drain-canceled","info",a.name,I(a.priority).name),l("drain","StopTM",a.name,I(a.priority).name)}function x(a,b,c){za.push({priority:a,complete:b,name:c}),1===za.length&&(v(za[0]),a>Ba&&(Ba=a,pa=!0))}function y(a,b){var c,d=za.length;for(c=0;d>c;c++)if(za[c].complete===a){0===c&&(w(za[0],b),za[1]&&v(za[1])),za.splice(c,1);break}}function z(){var a=za.shift();a&&(w(a),za[0]&&v(za[0]),a.complete())}function A(){var a=!1;if(za.length)for(var b=u();+b===b&&b>Ba;)oa=b,z(),a=!0,b=u();return a}function B(a){return a>=ua.aboveNormal+1?Ea.HIGH:a>=ua.belowNormal?Ea.NORMAL:Ea.IDLE}function C(a,b){return Fa[a]>=Fa[b]}function D(a,b){return Fa[a]>Fa[b]}function E(a){switch(a){case Ea.HIGH:return!1;case Ea.NORMAL:return Ea.isTaskScheduledAtPriorityOrHigher(Ea.HIGH);case Ea.IDLE:return Ea.isTaskScheduledAtPriorityOrHigher(Ea.NORMAL)}}function F(a,b){var c=I(b);c.priority>Ba&&(Ba=c.priority,pa=!0),c._insertJobAfter(a)}function G(a,b){var c=I(b);c.priority>Ba&&(Ba=c.priority,pa=!0),c._nextMarker._insertJobBefore(a)}function H(a){return a=0|a,a=Math.max(a,sa),a=Math.min(a,ta)}function I(a){return a=H(a),va[-1*(a-ta)]}function J(a){na=!0,l("timeslice","StartTM");var b,c,d,e=!0,f=!1,g=!1;pa=!1;try{for(var h=Ga(),i=h+Aa,j=function(){return f=!1,pa?!0:E(B(Ba))?!0:za.length?!1:Ga()>i?(f=!0,!0):!1};Ba>=ua.min&&!j()&&!g;){b=!1,c=I(Ba)._nextJob;do{if(oa=c.priority,c instanceof S)d!==c.priority&&(+d===d&&l("priority","StopTM",I(d).name),l("priority","StartTM",I(c.priority).name),d=c.priority),b=!0,e=!1,xa=c,m(xa,"job-running","StartTM",I(oa).name),c._execute(j),m(xa,"job-running","StopTM",I(oa).name),xa=null,e=!0;else{var k=B(Ba);Ba=c.priority,b=A();var n=B(Ba);!D(k,n)||ya&&!Ea.isTaskScheduledAtPriorityOrHigher(n)||(g=!0)}c=c._nextJob}while(c&&!b&&!g&&!E(B(Ba)));pa=!1}}finally{xa=null,e||(m(c,"job-error","info"),m(c,"job-running","StopTM",I(oa).name),c.cancel()),+d===d&&l("priority","StopTM",I(d).name);for(var o=!1;Ba>=ua.min&&!o;){b=!1,c=I(Ba)._nextJob;do c instanceof S?o=!0:(Ba=c.priority,b=A()),c=c._nextJob;while(c&&!b&&!o)}var p;p=e?f?"timeslice exhausted":Ba=ua.min&&K(),l("yielding","info",p),l("timeslice","StopTM")}}function K(a){+a!==a&&(a=Ba);var b=B(a);if(!na&&(!wa||ya&&!C(wa,b))){var c=++Ha,d=function(){c>Ia&&(Ia=Ha,J(!0))};Ea.execAsyncAtPriority(d,b),wa=b}}function L(a,b){var c=ra++;void 0===b&&(b="Drain Request "+c),a=+a===a?a:ua.min,a=H(a);var d,e=new i(function(c){d=c,x(a,d,b)},function(){y(d,!0)});return na||K(),e}function M(a){return Ea.execAtPriority(a,Ea.HIGH)}function N(){return new V}function O(a,b,c,d){b=b||ua.normal,c=c||null;var e=++qa,f=g._traceAsyncOperationStarting("WinJS.Utilities.Scheduler.schedule: "+e+k(d));return d=d||"",new S(e,a,b,c,d,f)}function P(){if(na)return oa;switch(Ea.getCurrentPriority()){case Ea.HIGH:return ua.high;case Ea.NORMAL:return ua.normal;case Ea.IDLE:return ua.idle}}function Q(a){return function(b,c){var d;return new i(function(e){d=O(function(){e(b)},a,null,c)},function(){d.cancel()})}}c.Namespace.define("WinJS.Utilities",{_linkedListMixin:j});var R={get jobInfoIsNoLongerValid(){return"The job info object can only be used while the job is running"}},S=c.Class.define(function(a,b,c,d,e,f){this._id=a,this._work=b,this._context=d,this._name=e,this._asyncOpID=f,this._setPriority(c),this._setState(X),m(this,"job-scheduled","info")},{completed:{get:function(){return!!this._state.completed}},id:{get:function(){return this._id}},name:{get:function(){return this._name},set:function(a){this._name=a}},owner:{get:function(){return this._owner},set:function(a){this._owner&&this._owner._remove(this),this._owner=a,this._owner&&this._owner._add(this)}},priority:{get:function(){return this._priority},set:function(a){a=H(a),this._state.setPriority(this,a)}},cancel:function(){this._state.cancel(this)},pause:function(){this._state.pause(this)},resume:function(){this._state.resume(this)},_execute:function(a){this._state.execute(this,a)},_executeDone:function(a){return this._state.executeDone(this,a)},_blockedDone:function(a){return this._state.blockedDone(this,a)},_setPriority:function(a){+this._priority===this._priority&&this._priority!==a&&m(this,"job-priority-changed","info",I(this._priority).name,I(a).name),this._priority=a},_setState:function(a,b,c){this._state&&e.log&&e.log("Transitioning job ("+this.id+") from: "+this._state.name+" to: "+a.name,"winjs scheduler","log"),this._state=a,this._state.enter(this,b,c)}});c.Class.mix(S,j("Job"));var T={complete:1,"continue":2,block:3},U=c.Class.define(function(a,b){this._job=b,this._result=null,this._yieldPolicy=T.complete,this._shouldYield=a},{job:{get:function(){return this._throwIfDisabled(),this._job}},shouldYield:{get:function(){return this._throwIfDisabled(),this._shouldYield()}},setPromise:function(a){this._throwIfDisabled(),this._result=a,this._yieldPolicy=T.block},setWork:function(a){this._throwIfDisabled(),this._result=a,this._yieldPolicy=T["continue"]},_disablePublicApi:function(){this._publicApiDisabled=!0},_throwIfDisabled:function(){if(this._publicApiDisabled)throw new d("WinJS.Utilities.Scheduler.JobInfoIsNoLongerValid",R.jobInfoIsNoLongerValid)}}),V=c.Class.define(function(){this._jobs={}},{cancelAll:function(){var a=this._jobs,b=Object.keys(a);this._jobs={};for(var c=0,d=b.length;d>c;c++)a[b[c]].cancel()},_add:function(a){this._jobs[a.id]=a},_remove:function(a){delete this._jobs[a.id]}}),W=c.Class.define(function(a){this.name=a,this.enter=o,this.execute=o,this.executeDone=o,this.blockedDone=o,this.cancel=o,this.pause=o,this.resume=o,this.setPriority=o}),X=new W("created"),Y=new W("scheduled"),Z=new W("paused"),$=new W("canceled"),_=new W("running"),aa=new W("running_paused"),ba=new W("running_resumed"),ca=new W("running_canceled"),da=new W("running_canceled_blocked"),ea=new W("cooperative_yield"),fa=new W("cooperative_yield_paused"),ga=new W("blocked"),ha=new W("blocked_waiting"),ia=new W("blocked_paused"),ja=new W("blocked_paused_waiting"),ka=new W("blocked_canceled"),la=new W("complete");X.enter=function(a){G(a,a.priority),a._setState(Y)},Y.enter=function(){K()},Y.execute=p(_),Y.cancel=p($),Y.pause=p(Z),Y.resume=n,Y.setPriority=function(a,b){a.priority!==b&&(a._setPriority(b),a.pause(),a.resume())},Z.enter=function(a){m(a,"job-paused","info"),a._removeJob()},Z.cancel=p($),Z.pause=n,Z.resume=function(a){m(a,"job-resumed","info"),G(a,a.priority),a._setState(Y)},Z.setPriority=q,$.enter=function(a){m(a,"job-canceled","info"),g._traceAsyncOperationCompleted(a._asyncOpID,b.Debug&&b.Debug.MS_ASYNC_OP_STATUS_CANCELED),a._removeJob(),a._work=null,a._context=null,a.owner=null},$.cancel=n,$.pause=n,$.resume=n,$.setPriority=n,_.enter=function(a,b){a._removeJob();var c=a.priority,d=a._work,e=a._context;a._work=null,a._context=null;var f=new U(b,a);g._traceAsyncCallbackStarting(a._asyncOpID);try{Ea.execAtPriority(function(){d.call(e,f)},B(c))}finally{g._traceAsyncCallbackCompleted(),f._disablePublicApi()}a._context=e;var h=a._executeDone(f._yieldPolicy);a._setState(h,f._result,c)},_.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return ea;case T.block:return ga}},_.cancel=function(a){pa=!0,a._setState(ca)},_.pause=function(a){pa=!0,a._setState(aa)},_.resume=n,_.setPriority=q,aa.enter=n,aa.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return fa;case T.block:return ia}},aa.cancel=p(ca),aa.pause=n,aa.resume=p(ba),aa.setPriority=q,ba.enter=n,ba.executeDone=function(a,b){switch(b){case T.complete:return la;case T["continue"]:return ea;case T.block:return ga}},ba.cancel=p(ca),ba.pause=p(aa),ba.resume=n,ba.setPriority=q,ca.enter=n,ca.executeDone=function(a,b){switch(b){case T.complete:case T["continue"]:return $;case T.block:return da}},ca.cancel=n,ca.pause=n,ca.resume=n,ca.setPriority=n,da.enter=function(a,b){b.cancel(),a._setState($)},ea.enter=function(a,b,c){m(a,"job-yielded","info"),c===a.priority?F(a,a.priority):G(a,a.priority),a._work=b,a._setState(Y)},fa.enter=function(a,b){m(a,"job-yielded","info"),a._work=b,a._setState(Z)},ga.enter=function(a,b,c){m(a,"job-blocked","StartTM"),a._work=b,a._setState(ha),b.done(function(b){m(a,"job-blocked","StopTM");var d=a._blockedDone(b);a._setState(d,b,c)},function(b){return b&&"Canceled"===b.name||m(a,"job-error","info"),m(a,"job-blocked","StopTM"),a._setState($),i.wrapError(b)})},ha.enter=n,ha.blockedDone=function(a,b){return"function"==typeof b?ea:la},ha.cancel=p(ka),ha.pause=p(ja),ha.resume=n,ha.setPriority=q,ia.enter=function(a,b,c){m(a,"job-blocked","StartTM"),a._work=b,a._setState(ja),b.done(function(b){m(a,"job-blocked","StopTM");var d=a._blockedDone(b);a._setState(d,b,c)},function(b){return b&&"Canceled"===b.name||m(a,"job-error","info"),m(a,"job-blocked","StopTM"),a._setState($),i.wrapError(b)})},ja.enter=n,ja.blockedDone=function(a,b){return"function"==typeof b?fa:la},ja.cancel=p(ka),ja.pause=n,ja.resume=p(ha),ja.setPriority=q,ka.enter=function(a){a._work.cancel(),a._work=null},ka.blockedDone=function(){return $},ka.cancel=n,ka.pause=n,ka.resume=n,ka.setPriority=n,la.completed=!0,la.enter=function(a){g._traceAsyncOperationCompleted(a._asyncOpID,b.Debug&&b.Debug.MS_ASYNC_OP_STATUS_SUCCESS),a._work=null,a._context=null,a.owner=null,m(a,"job-completed","info")},la.cancel=n,la.pause=n,la.resume=n,la.setPriority=n;var ma=c.Class.define(function(a,b){this.priority=a,this.name=b},{});c.Class.mix(ma,j("Job"),j("Marker"));var na,oa,pa,qa=0,ra=0,sa=-15,ta=15,ua={max:15,high:13,aboveNormal:9,normal:0,belowNormal:-9,idle:-13,min:-15},va=[new ma(15,"max"),new ma(14,"14"),new ma(13,"high"),new ma(12,"12"),new ma(11,"11"),new ma(10,"10"),new ma(9,"aboveNormal"),new ma(8,"8"),new ma(7,"7"),new ma(6,"6"),new ma(5,"5"),new ma(4,"4"),new ma(3,"3"),new ma(2,"2"),new ma(1,"1"),new ma(0,"normal"),new ma(-1,"-1"),new ma(-2,"-2"),new ma(-3,"-3"),new ma(-4,"-4"),new ma(-5,"-5"),new ma(-6,"-6"),new ma(-7,"-7"),new ma(-8,"-8"),new ma(-9,"belowNormal"),new ma(-10,"-10"),new ma(-11,"-11"),new ma(-12,"-12"),new ma(-13,"idle"),new ma(-14,"-14"),new ma(-15,"min"),new ma(-16,"")],wa=null,xa=null,ya=!(!b.MSApp||!b.MSApp.execAtPriority),za=[],Aa=30,Ba=ua.min;va.reduce(function(a,b){return a&&(a._insertJobAfter(b),a._insertMarkerAfter(b)),b});var Ca=b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,16)},Da={execAsyncAtPriority:function(a,c){c===Ea.HIGH&&b.setTimeout(a,0),Ca(a)},execAtPriority:function(a){return a()},getCurrentPriority:function(){return Da.NORMAL},isTaskScheduledAtPriorityOrHigher:function(){return!1},HIGH:"high",NORMAL:"normal",IDLE:"idle"},Ea=ya?b.MSApp:Da,Fa={};Fa[Ea.IDLE]=1,Fa[Ea.NORMAL]=2,Fa[Ea.HIGH]=3;var Ga=b.performance&&b.performance.now&&b.performance.now.bind(b.performance)||Date.now.bind(Date),Ha=0,Ia=0;c.Namespace._moduleDefine(a,"WinJS.Utilities.Scheduler",{Priority:ua,schedule:O,createOwnerToken:N,execHigh:M,requestDrain:L,currentPriority:{get:P},schedulePromiseHigh:Q(ua.high),schedulePromiseAboveNormal:Q(ua.aboveNormal),schedulePromiseNormal:Q(ua.normal),schedulePromiseBelowNormal:Q(ua.belowNormal),schedulePromiseIdle:Q(ua.idle),retrieveState:s,_JobNode:S,_JobInfo:U,_OwnerToken:V,_dumpList:r,_isEmpty:{get:t},_usingWwaScheduler:{get:function(){return ya},set:function(a){ya=a,Ea=ya?b.MSApp:Da}},_MSApp:{get:function(){return Ea},set:function(a){Ea=a}},_TIME_SLICE:Aa})}),define("WinJS/Core/_BaseUtils",["exports","./_Global","./_Base","./_BaseCoreUtils","./_ErrorFromName","./_Resources","./_Trace","../Promise","../Scheduler"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){return a}function k(a,b,c){return a.split(".").reduce(function(a,b){return a?c(a[b]):null},b)}function l(a,c){return a?k(a,c||b,j):null}function m(a){return a.length>0&&0!==a.indexOf("-moz")&&"-"===a.charAt(0)&&(a=a.slice(1)),a.replace(/\-[a-z]/g,function(a){return a[1].toUpperCase()})}function n(a,b){return""===a?b:a+b.charAt(0).toUpperCase()+b.slice(1)}function o(a,b){return(""!==a?"-"+a.toLowerCase()+"-":"")+b}function p(){if(!b.document)return{};for(var a={},c=b.document.documentElement.style,d=["","webkit","ms","Moz"],e=["animation","transition","transform","animation-name","animation-duration","animation-delay","animation-timing-function","animation-iteration-count","animation-direction","animation-fill-mode","grid-column","grid-columns","grid-column-span","grid-row","grid-rows","grid-row-span","transform-origin","transition-property","transition-duration","transition-delay","transition-timing-function","scroll-snap-points-x","scroll-snap-points-y","scroll-chaining","scroll-limit","scroll-limit-x-max","scroll-limit-x-min","scroll-limit-y-max","scroll-limit-y-min","scroll-snap-type","scroll-snap-x","scroll-snap-y","touch-action","overflow-style","user-select"],f={},g=0,h=e.length;h>g;g++)for(var i=e[g],j=m(i),k=0,l=d.length;l>k;k++){var p=d[k],q=n(p,j);if(q in c){var r=o(p,i);a[i]={cssName:r,scriptName:q},f[i]=p;break}}return a.animationPrefix=o(f.animation,""),a.keyframes=o(f.animation,"keyframes"),a}function q(){for(var a={},c=["","WebKit"],d=[{eventObject:"TransitionEvent",events:["transitionStart","transitionEnd"]},{eventObject:"AnimationEvent",events:["animationStart","animationEnd"]}],e=0,f=d.length;f>e;e++){for(var g=d[e],h="",i=0,j=c.length;j>i;i++){var k=c[i];if(k+g.eventObject in b){h=k.toLowerCase();break}}for(var i=0,l=g.events.length;l>i;i++){var m=g.events[i];a[m]=n(h,m),""===h&&(a[m]=a[m].toLowerCase())}}return a.manipulationStateChanged="MSManipulationEvent"in b?"ManipulationEvent":null, +a}function r(a,b){function c(){return h.timeout(a).then(function(){d=null})}var d=null,e=null,f=null,g=null;return function(){e?(f=this,g=[].slice.call(arguments,0)):d?(f=this,g=[].slice.call(arguments,0),e=d.then(function(){var a=f;f=null;var h=g;g=null,d=c(),e=null,b.apply(a,h)})):(d=c(),b.apply(this,arguments))}}var s,t={get notSupportedForProcessing(){return"Value is not supported within a declarative processing context, if you want it to be supported mark it using WinJS.Utilities.markSupportedForProcessing. The value was: '{0}'"}},u=0,v={},w=!1,x=b.navigator.platform,y="iPhone"===x||"iPad"===x||"iPod"===x;c.Namespace._moduleDefine(a,"WinJS.Utilities",{_setHasWinRT:{value:function(a){d.hasWinRT=a},configurable:!1,writable:!1,enumerable:!1},hasWinRT:{get:function(){return d.hasWinRT},configurable:!1,enumerable:!0},_setIsiOS:{value:function(a){y=a},configurable:!1,writable:!1,enumerable:!1},_isiOS:{get:function(){return y},configurable:!1,enumerable:!0},_getMemberFiltered:k,getMember:l,_browserStyleEquivalents:p(),_browserEventEquivalents:q(),_getCamelCasedName:m,ready:function z(a,c){return new h(function(d,e){function f(){if(a)try{a(),d()}catch(b){e(b)}else d()}var g=z._testReadyState;g||(g=b.document?b.document.readyState:"complete"),"complete"===g||b.document&&null!==b.document.body?c?i.schedule(function(){f()},i.Priority.normal,null,"WinJS.Utilities.ready"):f():b.addEventListener("DOMContentLoaded",f,!1)})},strictProcessing:{get:function(){return!0},configurable:!1,enumerable:!0},markSupportedForProcessing:{value:d.markSupportedForProcessing,configurable:!1,writable:!1,enumerable:!0},requireSupportedForProcessing:{value:function(a){var c=!0;switch(c=c&&a!==b,c=c&&a!==b.location,c=c&&!(a instanceof b.HTMLIFrameElement),c=c&&!("function"==typeof a&&!a.supportedForProcessing),b.frames.length){case 0:break;case 1:c=c&&a!==b.frames[0];break;default:for(var d=0,g=b.frames.length;c&&g>d;d++)c=c&&a!==b.frames[d]}if(c)return a;throw new e("WinJS.Utilities.requireSupportedForProcessing",f._formatString(t.notSupportedForProcessing,a))},configurable:!1,writable:!1,enumerable:!0},_setImmediate:d._setImmediate,_requestAnimationFrame:b.requestAnimationFrame?b.requestAnimationFrame.bind(b):function(a){var c=++u;return v[c]=a,s=s||b.setTimeout(function(){var a=v,b=Date.now();v={},s=null,Object.keys(a).forEach(function(c){a[c](b)})},16),c},_cancelAnimationFrame:b.cancelAnimationFrame?b.cancelAnimationFrame.bind(b):function(a){delete v[a]},_yieldForEvents:b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,0)},_yieldForDomModification:b.setImmediate?b.setImmediate.bind(b):function(a){b.setTimeout(a,0)},_throttledFunction:r,_shallowCopy:function(a){return this._mergeAll([a])},_merge:function(a,b){return this._mergeAll([a,b])},_mergeAll:function(a){var b={};return a.forEach(function(a){Object.keys(a).forEach(function(c){b[c]=a[c]})}),b},_getProfilerMarkIdentifier:function(a){var b="";return a.id&&(b+=" id='"+a.id+"'"),a.className&&(b+=" class='"+a.className+"'"),b},_now:function(){return b.performance&&b.performance.now&&b.performance.now()||Date.now()},_traceAsyncOperationStarting:g._traceAsyncOperationStarting,_traceAsyncOperationCompleted:g._traceAsyncOperationCompleted,_traceAsyncCallbackStarting:g._traceAsyncCallbackStarting,_traceAsyncCallbackCompleted:g._traceAsyncCallbackCompleted,_version:"4.4.2"}),c.Namespace._moduleDefine(a,"WinJS",{validation:{get:function(){return w},set:function(a){w=a}}}),c.Namespace.define("WinJS",{strictProcessing:{value:function(){},configurable:!1,writable:!1,enumerable:!1}})}),define("WinJS/Core",["./Core/_Base","./Core/_BaseCoreUtils","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Events","./Core/_Global","./Core/_Log","./Core/_Resources","./Core/_Trace","./Core/_WinRT","./Core/_WriteProfilerMark"],function(){}),define("WinJS/_Signal",["./Core/_Base","./Promise/_StateMachine"],function(a,b){"use strict";var c=a.Class.derive(b.PromiseStateMachine,function(a){this._oncancel=a,this._setState(b.state_created),this._run()},{_cancelAction:function(){this._oncancel&&this._oncancel()},_cleanupAction:function(){this._oncancel=null}},{supportedForProcessing:!1}),d=a.Class.define(function(a){this._promise=new c(a)},{promise:{get:function(){return this._promise}},cancel:function(){this._promise.cancel()},complete:function(a){this._promise._completed(a)},error:function(a){this._promise._error(a)},progress:function(a){this._promise._progress(a)}},{supportedForProcessing:!1});return a.Namespace.define("WinJS",{_Signal:d}),d}),define("WinJS/Utilities/_Control",["exports","../Core/_Global","../Core/_Base"],function(a,b,c){"use strict";function d(a,b){e(a,b)}function e(a,b,c){if("object"==typeof b)for(var d=Object.keys(b),e=0,f=d.length;f>e;e++){var g=d[e],h=b[g];if(g.length>2){var i=g[0],j=g[1];if(!("o"!==i&&"O"!==i||"n"!==j&&"N"!==j)&&"function"==typeof h&&a.addEventListener){a.addEventListener(g.substr(2),h);continue}}c||(a[g]=h)}}b.document&&c.Namespace._moduleDefine(a,"WinJS.UI",{DOMEventMixin:c.Namespace._lazy(function(){return{_domElement:null,addEventListener:function(a,b,c){(this.element||this._domElement).addEventListener(a,b,c||!1)},dispatchEvent:function(a,c){var d=b.document.createEvent("Event");return d.initEvent(a,!1,!1),d.detail=c,"object"==typeof c&&Object.keys(c).forEach(function(a){d[a]=c[a]}),(this.element||this._domElement).dispatchEvent(d)},removeEventListener:function(a,b,c){(this.element||this._domElement).removeEventListener(a,b,c||!1)}}}),setOptions:d,_setOptions:e})}),define("WinJS/Utilities/_ElementUtilities",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_WinRT","../Promise","../Scheduler"],function(a,b,c,d,e,f,g){"use strict";function h(){return R||(R={},Object.keys(b.CSS2Properties.prototype).forEach(function(a){R[a]=""})),R}function i(a,c){return b.getComputedStyle(a,c)||h()}function j(a){for(var b=a.length,c=b-1;c>=0;c--)a[c]||(a.splice(c,1),b--);return b}function k(a){var b=a.className||"";return"string"==typeof b?b:b.baseVal||""}function l(a,b){var c=a.className||"";return"string"==typeof c?a.className=b:a.className.baseVal=b,a}function m(a,b){if(a.classList){if(b.indexOf(" ")<0)a.classList.add(b);else{var c=b.split(" ");j(c);for(var d=0,e=c.length;e>d;d++)a.classList.add(c[d])}return a}var f,g=k(a),h=g.split(" "),i=j(h);if(b.indexOf(" ")>=0){var c=b.split(" ");j(c);for(var d=0;i>d;d++){var m=c.indexOf(h[d]);m>=0&&c.splice(m,1)}c.length>0&&(f=c.join(" "))}else{for(var n=!1,d=0;i>d;d++)if(h[d]===b){n=!0;break}n||(f=b)}return f&&(i>0&&h[0].length>0?l(a,g+" "+f):l(a,f)),a}function n(a,b){if(a.classList){if(0===a.classList.length)return a;var c=b.split(" ");j(c);for(var d=0,e=c.length;e>d;d++)a.classList.remove(c[d]);return a}var c,f,g=k(a);if(b.indexOf(" ")>=0)c=b.split(" "),f=j(c);else{if(g.indexOf(b)<0)return a;c=[b],f=1}for(var h,i=g.split(" "),m=j(i),d=m-1;d>=0;d--)c.indexOf(i[d])>=0&&(i.splice(d,1),h=!0);return h&&l(a,i.join(" ")),a}function o(a,b){if(a.classList)return a.classList.toggle(b),a;for(var c=k(a),d=c.trim().split(" "),e=d.length,f=!1,g=0;e>g;g++)d[g]===b&&(f=!0);return f?l(a,d.reduce(function(a,c){return c===b?a:a&&a.length>0?a+" "+c:c},"")):e>0&&d[0].length>0?l(a,c+" "+b):l(a,c+b),a}function p(a,b,c){a.getAttribute(b)!==""+c&&a.setAttribute(b,c)}function q(a,b,c,d){var e=Math.max(b,Math.min(c,+a));return 0===e?0:e||Math.max(b,Math.min(c,d))}function r(a,b){if(!S.test(b)&&T.test(b)){var c=a.style.left;return a.style.left=b,b=a.style.pixelLeft,a.style.left=c,b}return Math.round(parseFloat(b))||0}function s(a,b){return r(a,i(a,null)[b])}function t(a){return parseFloat(a)||0}function u(a,b){return t(i(a,null)[b])}function v(a){var b=i(a);return{top:t(b.marginTop),right:t(b.marginRight),bottom:t(b.marginBottom),left:t(b.marginLeft)}}function w(a,b,c,d,e){var f=b.toLowerCase();a._eventsMap||(a._eventsMap={}),a._eventsMap[f]||(a._eventsMap[f]=[]),a._eventsMap[f].push({listener:c,useCapture:d,data:e})}function x(a,b,c,d){var e=b.toLowerCase(),f=a._eventsMap&&a._eventsMap[e];if(f)for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.listener===c&&!!d==!!h.useCapture)return f.splice(g,1),h}return null}function y(a,b){var c=b.toLowerCase();return a._eventsMap&&a._eventsMap[c]&&a._eventsMap[c].slice(0)||[]}function z(a,b,c){for(;a;){for(var d=y(a,b),e=0,f=d.length;f>e;e++)d[e].listener.call(a,c);a=a.parentNode}}function A(a){return(a.relatedTarget&&"IFRAME"===a.relatedTarget.tagName||a.target&&"IFRAME"===a.target.tagName)&&(a.relatedTarget=null),a}function B(a,b,c,d){if(d)throw"This custom WinJS event only supports bubbling";w(a,b,c,d)}function C(a,b){var c=b.changedTouches,d=null;if(!c)return d;for(var e=0,f=c.length;f>e;e++){var g=c[e],h=new Z(b,{pointerType:W.MSPOINTER_TYPE_TOUCH,pointerId:g.identifier,isPrimary:0===e,screenX:g.screenX,screenY:g.screenY,clientX:g.clientX,clientY:g.clientY,pageX:g.pageX,pageY:g.pageY,radiusX:g.radiusX,radiusY:g.radiusY,rotationAngle:g.rotationAngle,force:g.force,_currentTouch:g}),i=a(h);d=d||i}return d}function D(a,b){return b.pointerType=W.MSPOINTER_TYPE_MOUSE,b.pointerId=-1,b.isPrimary=!0,a(b)}function E(a,b){return a(b)}function F(a,c,d,e){var f,g,h,i,j=c.toLowerCase(),k=$[j];b.MSPointerEvent?(h=function(a){return a._normalizedType=j,i=!0,E(d,a)},a.addEventListener(k.mspointer,h,e)):(k.mouse&&(f=function(a){return a._normalizedType=j,i?void(i=!1):D(d,a)},a.addEventListener(k.mouse,f,e)),k.touch&&(g=function(a){return a._normalizedType=j,i=!0,C(d,a)},a.addEventListener(k.touch,g,e))),w(a,c,d,e,{mouseWrapper:f,touchWrapper:g,mspointerWrapper:h})}function G(a,b,c,d){var e=b.toLowerCase(),f=x(a,b,c,d);if(f){var g=$[e];f.data.mouseWrapper&&a.removeEventListener(g.mouse,f.data.mouseWrapper,d),f.data.touchWrapper&&a.removeEventListener(g.touch,f.data.touchWrapper,d),f.data.mspointerWrapper&&a.removeEventListener(g.mspointer,f.data.mspointerWrapper,d)}}function H(){var a=b.document.createElement("div");a.style.direction="rtl",a.innerHTML="
",b.document.body.appendChild(a);var c=a.firstChild;c.scrollLeft>0&&(ha=!0),c.scrollLeft+=100,0===c.scrollLeft&&(ia=!0),b.document.body.removeChild(a),ga=!0}function I(a){var b=i(a),c=a.scrollLeft;return"rtl"===b.direction&&(ga||H(),ha&&(c=a.scrollWidth-a.clientWidth-c),c=Math.abs(c)),{scrollLeft:c,scrollTop:a.scrollTop}}function J(a,b,c){if(void 0!==b){var d=i(a);"rtl"===d.direction&&(ga||H(),ia?b=-b:ha&&(b=a.scrollWidth-a.clientWidth-b)),a.scrollLeft=b}void 0!==c&&(a.scrollTop=c)}function K(a){return I(a)}function L(a,b){b=b||{},J(a,b.scrollLeft,b.scrollTop)}function M(a){return a.uniqueID||a._uniqueID||(a._uniqueID="element__"+ ++la),a.uniqueID||a._uniqueID}function N(a){a.id||(a.id=M(a))}function O(a){var c=b.document.documentElement,d=K(c);return{left:a.clientX+("rtl"===b.document.body.dir?-d.scrollLeft:d.scrollLeft),top:a.clientY+c.scrollTop}}function P(a,b){for(var c=[],d=0,e=b.length;e>d;d++){var f=a.querySelector("."+b[d]);f&&c.push(f)}return c}if(b.document){var Q=167,R=null,S=/^-?\d+\.?\d*(px)?$/i,T=/^-?\d+/i,U=b.MSGestureEvent||{MSGESTURE_FLAG_BEGIN:1,MSGESTURE_FLAG_CANCEL:4,MSGESTURE_FLAG_END:2,MSGESTURE_FLAG_INERTIA:8,MSGESTURE_FLAG_NONE:0},V=b.MSManipulationEvent||{MS_MANIPULATION_STATE_ACTIVE:1,MS_MANIPULATION_STATE_CANCELLED:6,MS_MANIPULATION_STATE_COMMITTED:7,MS_MANIPULATION_STATE_DRAGGING:5,MS_MANIPULATION_STATE_INERTIA:2,MS_MANIPULATION_STATE_PRESELECT:3,MS_MANIPULATION_STATE_SELECTING:4,MS_MANIPULATION_STATE_STOPPED:0},W=b.MSPointerEvent||{MSPOINTER_TYPE_TOUCH:"touch",MSPOINTER_TYPE_PEN:"pen",MSPOINTER_TYPE_MOUSE:"mouse"},X="onfocusin"in b.document.documentElement,Y=null;b.addEventListener(X?"focusout":"blur",function(a){if(a.target===b){var c=Y;c&&z(c,"focusout",A({type:"focusout",target:c,relatedTarget:null})),Y=null}}),b.document.documentElement.addEventListener(X?"focusin":"focus",function(a){var b=Y;Y=a.target,b&&z(b,"focusout",A({type:"focusout",target:b,relatedTarget:Y})),Y&&z(Y,"focusin",A({type:"focusin",target:Y,relatedTarget:b}))},!0);var Z=function(a,b){b=b||{},this.__eventObject=a;var c=this;Object.keys(b).forEach(function(a){Object.defineProperty(c,a,{value:b[a]})})};["altKey","AT_TARGET","bubbles","BUBBLING_PHASE","button","buttons","cancelable","cancelBubble","CAPTURING_PHASE","clientX","clientY","ctrlKey","currentTarget","defaultPrevented","detail","eventPhase","fromElement","getModifierState","height","hwTimestamp","initEvent","initMouseEvent","initPointerEvent","initUIEvent","isPrimary","isTrusted","layerX","layerY","metaKey","offsetX","offsetY","pageX","pageY","pointerId","pointerType","pressure","preventDefault","relatedTarget","rotation","screenX","screenY","shiftKey","srcElement","stopImmediatePropagation","stopPropagation","target","tiltX","tiltY","timeStamp","toElement","type","view","which","width","x","y","_normalizedType","_fakedBySemanticZoom"].forEach(function(a){Object.defineProperty(Z.prototype,a,{get:function(){var b=this.__eventObject[a];return"function"==typeof b?b.bind(this.__eventObject):b},configurable:!0})});var $={pointerdown:{touch:"touchstart",mspointer:"MSPointerDown",mouse:"mousedown"},pointerup:{touch:"touchend",mspointer:"MSPointerUp",mouse:"mouseup"},pointermove:{touch:"touchmove",mspointer:"MSPointerMove",mouse:"mousemove"},pointerenter:{touch:"touchenter",mspointer:"MSPointerEnter",mouse:"mouseenter"},pointerover:{touch:null,mspointer:"MSPointerOver",mouse:"mouseover"},pointerout:{touch:"touchleave",mspointer:"MSPointerOut",mouse:"mouseout"},pointercancel:{touch:"touchcancel",mspointer:"MSPointerCancel",mouse:null}},_={focusout:{register:B,unregister:x},focusin:{register:B,unregister:x}};if(!b.PointerEvent){var aa={register:F,unregister:G};_.pointerdown=aa,_.pointerup=aa,_.pointermove=aa,_.pointerenter=aa,_.pointerover=aa,_.pointerout=aa,_.pointercancel=aa}var ba=c.Class.define(function(a){this._callback=a,this._toDispose=[],this._attributeFilter=[],this._scheduled=!1,this._pendingChanges=[],this._observerCount=0,this._handleCallback=this._handleCallback.bind(this),this._targetElements=[]},{observe:function(a,b){-1===this._targetElements.indexOf(a)&&this._targetElements.push(a),this._observerCount++,b.attributes&&this._addRemovableListener(a,"DOMAttrModified",this._handleCallback),b.attributeFilter&&(this._attributeFilter=b.attributeFilter)},disconnect:function(){this._observerCount=0,this._targetElements=[],this._toDispose.forEach(function(a){a()})},_addRemovableListener:function(a,b,c){a.addEventListener(b,c),this._toDispose.push(function(){a.removeEventListener(b,c)})},_handleCallback:function(a){a.stopPropagation();var b=a.attrName;if((!this._attributeFilter.length||-1!==this._attributeFilter.indexOf(b))&&-1!==this._targetElements.indexOf(a.target)){var c=b.indexOf("aria")>=0;"tabindex"===b&&(b="tabIndex"),this._pendingChanges.push({type:"attributes",target:a.target,attributeName:b}),1!==this._observerCount||c?this._scheduled===!1&&(this._scheduled=!0,d._setImmediate(this._dispatchEvent.bind(this))):this._dispatchEvent()}},_dispatchEvent:function(){try{this._callback(this._pendingChanges)}finally{this._pendingChanges=[],this._scheduled=!1}}},{_isShim:!0}),ca=b.MutationObserver||ba,da=null,ea=c.Class.define(function(){b.addEventListener("resize",this._handleResize.bind(this))},{subscribe:function(a,b){a.addEventListener(this._resizeEvent,b),m(a,this._resizeClass)},unsubscribe:function(a,b){n(a,this._resizeClass),a.removeEventListener(this._resizeEvent,b)},_handleResize:function(){for(var a=b.document.querySelectorAll("."+this._resizeClass),c=a.length,d=0;c>d;d++){var e=b.document.createEvent("Event");e.initEvent(this._resizeEvent,!1,!0),a[d].dispatchEvent(e)}},_resizeClass:{get:function(){return"win-element-resize"}},_resizeEvent:{get:function(){return"WinJSElementResize"}}}),fa=c.Class.define(function(a,b,c){c=c||{},this.registerThruWinJSCustomEvents=!!c.registerThruWinJSCustomEvents,this.objectName=a,this.object=b,this.capture={},this.bubble={}},{addEventListener:function(b,c,d,e){c=c.toLowerCase();var f=this._getHandlers(e),g=f[c];g||(g=this._getListener(c,e),g.refCount=0,f[c]=g,this.registerThruWinJSCustomEvents?a._addEventListener(this.object,c,g,e):this.object.addEventListener(c,g,e)),g.refCount++,b.addEventListener(this._getEventName(c,e),d),m(b,this._getClassName(c,e))},removeEventListener:function(b,c,d,e){c=c.toLowerCase();var f=this._getHandlers(e),g=f[c];g&&(g.refCount--,0===g.refCount&&(this.registerThruWinJSCustomEvents?a._removeEventListener(this.object,c,g,e):this.object.removeEventListener(c,g,e),delete f[c])),n(b,this._getClassName(c,e)),b.removeEventListener(this._getEventName(c,e),d)},_getHandlers:function(a){return a?this.capture:this.bubble},_getClassName:function(a,b){var c=b?"capture":"bubble";return"win-"+this.objectName.toLowerCase()+"-event-"+a+c},_getEventName:function(a,b){var c=b?"capture":"bubble";return"WinJS"+this.objectName+"Event-"+a+c},_getListener:function(a,c){var d=function(d){for(var e=b.document.querySelectorAll("."+this._getClassName(a,c)),f=e.length,g=!1,h=0;f>h;h++){var i=b.document.createEvent("Event");i.initEvent(this._getEventName(a,c),!1,!0),i.detail={originalEvent:d};var j=e[h].dispatchEvent(i);g=g||!j}return g};return d.bind(this)}}),ga=!1,ha=!1,ia=!1,ja=b.navigator.msManipulationViewsEnabled||b.navigator.userAgent.indexOf("MSAppHost")>=0,ka=!(!b.MSPointerEvent&&!b.TouchEvent),la=0,ma=".win-selectionborder, .win-selectionbackground, .win-selectioncheckmark, .win-selectioncheckmarkbackground",na="_msDataKey";c.Namespace._moduleDefine(a,"WinJS.Utilities",{_dataKey:na,_supportsSnapPoints:{get:function(){return ja}},_supportsTouchDetection:{get:function(){return ka}},_uniqueID:M,_ensureId:N,_clamp:q,_getCursorPos:O,_getElementsByClasses:P,_createGestureRecognizer:function(){if(b.MSGesture)return new b.MSGesture;var a=function(){};return{addEventListener:a,removeEventListener:a,addPointer:a,stop:a}},_MSGestureEvent:U,_MSManipulationEvent:V,_elementsFromPoint:function(a,c){if(b.document.msElementsFromPoint)return b.document.msElementsFromPoint(a,c);var d=b.document.elementFromPoint(a,c);return d?[d]:null},_matchesSelector:function(a,b){var c=a.matches||a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector;return c.call(a,b)},_selectionPartsSelector:ma,_isSelectionRendered:function(a){return a.querySelectorAll(ma).length>0},_addEventListener:function(a,b,c,e){var f=b&&b.toLowerCase(),g=_[f],h=d._browserEventEquivalents[b];g?g.register(a,b,c,e):h?a.addEventListener(h,c,e):a.addEventListener(b,c,e)},_removeEventListener:function(a,b,c,e){var f=b&&b.toLowerCase(),g=_[f],h=d._browserEventEquivalents[b];g?g.unregister(a,b,c,e):h?a.removeEventListener(h,c,e):a.removeEventListener(b,c,e)},_initEventImpl:function(a,c,d){d=d.toLowerCase();var e=$[d];if(e)switch(a.toLowerCase()){case"pointer":b.PointerEvent||(arguments[2]=e.mspointer);break;default:arguments[2]=e[a.toLowerCase()]}c["init"+a+"Event"].apply(c,Array.prototype.slice.call(arguments,2))},_initMouseEvent:function(a){this._initEventImpl.apply(this,["Mouse",a].concat(Array.prototype.slice.call(arguments,1)))},_initPointerEvent:function(a){this._initEventImpl.apply(this,["Pointer",a].concat(Array.prototype.slice.call(arguments,1)))},_PointerEventProxy:Z,_bubbleEvent:z,_setPointerCapture:function(a,b){a.setPointerCapture&&a.setPointerCapture(b)},_releasePointerCapture:function(a,b){a.releasePointerCapture&&a.releasePointerCapture(b)},_MSPointerEvent:W,_getComputedStyle:i,_zoomToDuration:Q,_zoomTo:function(a,b){this._supportsSnapPoints&&a.msZoomTo?a.msZoomTo(b):g.schedule(function(){var c=I(a),e="number"==typeof a._zoomToDestX?a._zoomToDestX:c.scrollLeft,f="number"==typeof a._zoomToDestY?a._zoomToDestY:c.scrollTop,g=i(a),h=a.scrollWidth-parseInt(g.width,10)-parseInt(g.paddingLeft,10)-parseInt(g.paddingRight,10),j=a.scrollHeight-parseInt(g.height,10)-parseInt(g.paddingTop,10)-parseInt(g.paddingBottom,10);"number"!=typeof b.contentX&&(b.contentX=e),"number"!=typeof b.contentY&&(b.contentY=f);var k=q(b.contentX,0,h),l=q(b.contentY,0,j);if(k!==e||l!==f){a._zoomToId=a._zoomToId||0,a._zoomToId++,a._zoomToDestX=k,a._zoomToDestY=l;var m=a._zoomToId,n=d._now(),o=(a._zoomToDestX-c.scrollLeft)/Q,p=(a._zoomToDestY-c.scrollTop)/Q,r=function(){var b=d._now()-n;a._zoomToId===m&&(b>Q?(J(a,a._zoomToDestX,a._zoomToDestY),a._zoomToDestX=null,a._zoomToDestY=null):(J(a,c.scrollLeft+b*o,c.scrollTop+b*p),d._requestAnimationFrame(r)))};d._requestAnimationFrame(r)}},g.Priority.high,null,"WinJS.Utilities._zoomTo")},_setActive:function(a,c){var d=!0;try{if(b.HTMLElement&&b.HTMLElement.prototype.setActive)a.setActive();else{var e,f;c&&(e=c.scrollLeft,f=c.scrollTop),a.focus(),c&&(c.scrollLeft=e,c.scrollTop=f)}}catch(g){d=!1}return d},_MutationObserver:ca,_resizeNotifier:{get:function(){return da||(da=new ea),da}},_GenericListener:fa,_globalListener:new fa("Global",b,{registerThruWinJSCustomEvents:!0}),_documentElementListener:new fa("DocumentElement",b.document.documentElement,{registerThruWinJSCustomEvents:!0}),_inputPaneListener:e.Windows.UI.ViewManagement.InputPane?new fa("InputPane",e.Windows.UI.ViewManagement.InputPane.getForCurrentView()):{addEventListener:function(){},removeEventListener:function(){}},_addInsertedNotifier:function(c){var e=b.document.createElement("div");return e.style[d._browserStyleEquivalents["animation-name"].scriptName]="WinJS-node-inserted",e.style[d._browserStyleEquivalents["animation-duration"].scriptName]="0.01s",e.style.position="absolute",c.appendChild(e),a._addEventListener(e,"animationStart",function(a){if("WinJS-node-inserted"===a.animationName){var a=b.document.createEvent("Event");a.initEvent("WinJSNodeInserted",!1,!0),c.dispatchEvent(a)}},!1),e},_inDom:function(c){return new f(function(d){if(b.document.body.contains(c))d();else{var e=function(){c.removeEventListener("WinJSNodeInserted",e,!1),d()};a._addInsertedNotifier(c),c.addEventListener("WinJSNodeInserted",e,!1)}})},_setFlexStyle:function(a,b){var c=a.style;"undefined"!=typeof b.grow&&(c.msFlexPositive=b.grow,c.webkitFlexGrow=b.grow,c.flexGrow=b.grow),"undefined"!=typeof b.shrink&&(c.msFlexNegative=b.shrink,c.webkitFlexShrink=b.shrink,c.flexShrink=b.shrink),"undefined"!=typeof b.basis&&(c.msFlexPreferredSize=b.basis,c.webkitFlexBasis=b.basis,c.flexBasis=b.basis)},Key:{backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pause:19,capsLock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40,insert:45,deleteKey:46,num0:48,num1:49,num2:50,num3:51,num4:52,num5:53,num6:54,num7:55,num8:56,num9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindows:91,rightWindows:92,menu:93,numPad0:96,numPad1:97,numPad2:98,numPad3:99,numPad4:100,numPad5:101,numPad6:102,numPad7:103,numPad8:104,numPad9:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NavigationView:136,NavigationMenu:137,NavigationUp:138,NavigationDown:139,NavigationLeft:140,NavigationRight:141,NavigationAccept:142,NavigationCancel:143,numLock:144,scrollLock:145,browserBack:166,browserForward:167,semicolon:186,equal:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,GamepadA:195,GamepadB:196,GamepadX:197,GamepadY:198,GamepadRightShoulder:199,GamepadLeftShoulder:200,GamepadLeftTrigger:201,GamepadRightTrigger:202,GamepadDPadUp:203,GamepadDPadDown:204,GamepadDPadLeft:205,GamepadDPadRight:206,GamepadMenu:207,GamepadView:208,GamepadLeftThumbstick:209,GamepadRightThumbstick:210,GamepadLeftThumbstickUp:211,GamepadLeftThumbstickDown:212,GamepadLeftThumbstickRight:213,GamepadLeftThumbstickLeft:214,GamepadRightThumbstickUp:215,GamepadRightThumbstickDown:216,GamepadRightThumbstickRight:217,GamepadRightThumbstickLeft:218,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222,IME:229},data:function(a){return a[na]||(a[na]={}),a[na]},hasClass:function(a,b){if(a.classList)return a.classList.contains(b);for(var c=k(a),d=c.trim().split(" "),e=d.length,f=0;e>f;f++)if(d[f]===b)return!0;return!1},addClass:m,removeClass:n,toggleClass:o,_setAttribute:p,getRelativeLeft:function(b,c){if(!b)return 0;var d=a._getPositionRelativeTo(b,null),e=a._getPositionRelativeTo(c,null);return d.left-e.left},getRelativeTop:function(b,c){if(!b)return 0;var d=a._getPositionRelativeTo(b,null),e=a._getPositionRelativeTo(c,null);return d.top-e.top},getScrollPosition:K,setScrollPosition:L,empty:function(a){if(a.childNodes&&a.childNodes.length>0)for(var b=a.childNodes.length-1;b>=0;b--)a.removeChild(a.childNodes.item(b));return a},_isDOMElement:function(a){return a&&"object"==typeof a&&"string"==typeof a.tagName},getContentWidth:function(a){var b=s(a,"borderLeftWidth")+s(a,"borderRightWidth"),c=s(a,"paddingLeft")+s(a,"paddingRight");return a.offsetWidth-b-c},_getPreciseContentWidth:function(a){var b=u(a,"borderLeftWidth")+u(a,"borderRightWidth"),c=u(a,"paddingLeft")+u(a,"paddingRight");return a.offsetWidth-b-c},getTotalWidth:function(a){var b=s(a,"marginLeft")+s(a,"marginRight");return a.offsetWidth+b},_getPreciseTotalWidth:function(a){var b=u(a,"marginLeft")+u(a,"marginRight");return a.offsetWidth+b},getContentHeight:function(a){var b=s(a,"borderTopWidth")+s(a,"borderBottomWidth"),c=s(a,"paddingTop")+s(a,"paddingBottom");return a.offsetHeight-b-c},_getPreciseContentHeight:function(a){var b=u(a,"borderTopWidth")+u(a,"borderBottomWidth"),c=u(a,"paddingTop")+u(a,"paddingBottom");return a.offsetHeight-b-c},getTotalHeight:function(a){var b=s(a,"marginTop")+s(a,"marginBottom");return a.offsetHeight+b},_getPreciseTotalHeight:function(a){var b=u(a,"marginTop")+u(a,"marginBottom");return a.offsetHeight+b},getPosition:function(b){return a._getPositionRelativeTo(b,null)},getTabIndex:function(a){var b=/BUTTON|COMMAND|MENUITEM|OBJECT|SELECT|TEXTAREA/;if(a.disabled)return-1;var c=a.getAttribute("tabindex");if(null===c||void 0===c){var d=a.tagName;return b.test(d)||a.href&&("A"===d||"AREA"===d||"LINK"===d)||"INPUT"===d&&"hidden"!==a.type||"TH"===d&&a.sorted?0:-1}return parseInt(c,10)},convertToPixels:r,_convertToPrecisePixels:t,_getPreciseMargins:v,eventWithinElement:function(a,b){var c=b.relatedTarget;return c&&c!==a?a.contains(c):!1},_deprecated:function(a){b.console&&b.console.warn(a)},_syncRenderer:function(a,c){if(c=c||"div","function"==typeof a)return function(b,c){return c?(c.appendChild(a(b)),c):a(b)};var d;return"function"==typeof a.render?d=a:a.winControl&&"function"==typeof a.winControl.render&&(d=a.winControl),function(a,e){var f=e||b.document.createElement(c);if(d.render(a,f),e)return e;var g=f.firstElementChild;if(g&&f.dispose){var h=g.dispose;g.dispose=function(){g.dispose=h,f.appendChild(g),f.dispose()}}return g}},_getPositionRelativeTo:function(a,c){for(var d=a,e=a.offsetParent,f=a.offsetTop,g=a.offsetLeft;(a=a.parentNode)&&a!==c&&a!==b.document.body&&a!==b.document.documentElement;){f-=a.scrollTop;var h=i(a,null).direction;g-="rtl"!==h?a.scrollLeft:-I(a).scrollLeft,a===e&&(f+=a.offsetTop,g+=a.offsetLeft,e=a.offsetParent)}return{left:g,top:f,width:d.offsetWidth,height:d.offsetHeight}},_getHighAndLowTabIndices:function(a){for(var b=a.getElementsByTagName("*"),c=0,d=0,e=!1,f=0,g=b.length;g>f;f++){var h=b[f].getAttribute("tabIndex");if(null!==h&&void 0!==h){var i=parseInt(h,10);i>0&&(c>i||0===c)&&(c=i),e||(0===i?(e=!0,d=0):i>d&&(d=i))}}return{highest:d,lowest:c}},_getLowestTabIndexInList:function(a){for(var b,c=0,d=0;d0&&(c>b||!c)&&(c=b);return c},_getHighestTabIndexInList:function(a){for(var b,c=0,d=0;dc&&(c=b)}return c},_hasCursorKeysBehaviors:function(a){return"SELECT"===a.tagName||"TEXTAREA"===a.tagName?!0:"INPUT"===a.tagName?""===a.type||"date"===a.type||"datetime"===a.type||"datetime-local"===a.type||"email"===a.type||"month"===a.type||"number"===a.type||"password"===a.type||"range"===a.type||"search"===a.type||"tel"===a.type||"text"===a.type||"time"===a.type||"url"===a.type||"week"===a.type:!1},_reparentChildren:function(a,b){for(var c=a.firstChild;c;){var d=c.nextSibling;b.appendChild(c),c=d}},_maintainFocus:function(c){var d=b.document.activeElement;c(),a._trySetActiveOnAnyElement(d)},_trySetActiveOnAnyElement:function(b,c){return a._tryFocusOnAnyElement(b,!0,c)},_tryFocusOnAnyElement:function(c,d,e){var f=b.document.activeElement;return c===f?!0:(d?a._setActive(c,e):c.focus(),f!==b.document.activeElement)},_trySetActive:function(a,b){return this._tryFocus(a,!0,b)},_tryFocus:function(c,d,e){var f=b.document.activeElement;if(c===f)return!0;var g=a.getTabIndex(c)>=0;return g?(d?a._setActive(c,e):c.focus(),f!==b.document.activeElement):!1},_setActiveFirstFocusableElement:function(a,b){return this._focusFirstFocusableElement(a,!0,b)},_focusFirstFocusableElement:function(a,b,c){for(var d,e=a.getElementsByTagName("*"),f=this._getLowestTabIndexInList(e),g=0;f;){for(d=0;d=0;d--)if(e[d].tabIndex===f){if(this._tryFocus(e[d],b,c))return!0}else g=0;d--)if(e[d].tabIndex===f){if(this._tryFocus(e[d],b,c))return!0}else g0;d--)if(this._tryFocus(e[d],b,c))return!0;return!1}})}}),define("WinJS/Utilities/_Dispose",["exports","../Core/_Base","../Core/_WriteProfilerMark","./_ElementUtilities"],function(a,b,c,d){"use strict";function e(a,b){var c=!1;d.addClass(a,"win-disposable");var e=a.winControl||a;e.dispose=function(){c||(c=!0,f(a),b&&b())}}function f(a){if(a){c("WinJS.Utilities.disposeSubTree,StartTM");for(var b=a.querySelectorAll(".win-disposable"),d=0,e=b.length;e>d;){var f=b[d];f.winControl&&f.winControl.dispose&&f.winControl.dispose(),f.dispose&&f.dispose(),d+=f.querySelectorAll(".win-disposable").length+1}c("WinJS.Utilities.disposeSubTree,StopTM")}}function g(a){if(a){var b=!1;a.winControl&&a.winControl.dispose&&(a.winControl.dispose(),b=!0),a.dispose&&(a.dispose(),b=!0),b||f(a)}}b.Namespace._moduleDefine(a,"WinJS.Utilities",{markDisposable:e,disposeSubTree:f,_disposeElement:g})}),define("WinJS/ControlProcessor/_OptionsLexer",["exports","../Core/_Base"],function optionsLexerInit(exports,_Base){"use strict";_Base.Namespace._moduleDefine(exports,"WinJS.UI",{_optionsLexer:_Base.Namespace._lazy(function(){function reservedWord(a){return{type:tokenType.reservedWord,value:a,length:a.length,keyword:!0}}function reservedWordLookup(a){switch(a.charCodeAt(0)){case 98:switch(a){case"break":return reservedWord(a)}break;case 99:switch(a){case"case":case"catch":case"class":case"const":case"continue":return reservedWord(a)}break;case 100:switch(a){case"debugger":case"default":case"delete":case"do":return reservedWord(a)}break;case 101:switch(a){case"else":case"enum":case"export":case"extends":return reservedWord(a)}break;case 102:switch(a){case"false":return tokens.falseLiteral;case"finally":case"for":case"function":return reservedWord(a)}break;case 105:switch(a){case"if":case"import":case"in":case"instanceof":return reservedWord(a)}break;case 110:switch(a){case"null":return tokens.nullLiteral;case"new":return reservedWord(a)}break;case 114:switch(a){case"return":return reservedWord(a)}break;case 115:switch(a){case"super":case"switch":return reservedWord(a)}break;case 116:switch(a){case"true":return tokens.trueLiteral;case"this":return tokens.thisKeyword;case"throw":case"try":case"typeof": +return reservedWord(a)}break;case 118:switch(a){case"var":case"void":return reservedWord(a)}break;case 119:switch(a){case"while":case"with":return reservedWord(a)}}}var tokenType={leftBrace:1,rightBrace:2,leftBracket:3,rightBracket:4,separator:5,colon:6,semicolon:7,comma:8,dot:9,nullLiteral:10,trueLiteral:11,falseLiteral:12,numberLiteral:13,stringLiteral:14,identifier:15,reservedWord:16,thisKeyword:17,leftParentheses:18,rightParentheses:19,eof:20,error:21},tokens={leftBrace:{type:tokenType.leftBrace,length:1},rightBrace:{type:tokenType.rightBrace,length:1},leftBracket:{type:tokenType.leftBracket,length:1},rightBracket:{type:tokenType.rightBracket,length:1},colon:{type:tokenType.colon,length:1},semicolon:{type:tokenType.semicolon,length:1},comma:{type:tokenType.comma,length:1},dot:{type:tokenType.dot,length:1},nullLiteral:{type:tokenType.nullLiteral,length:4,value:null,keyword:!0},trueLiteral:{type:tokenType.trueLiteral,length:4,value:!0,keyword:!0},falseLiteral:{type:tokenType.falseLiteral,length:5,value:!1,keyword:!0},thisKeyword:{type:tokenType.thisKeyword,length:4,value:"this",keyword:!0},leftParentheses:{type:tokenType.leftParentheses,length:1},rightParentheses:{type:tokenType.rightParentheses,length:1},eof:{type:tokenType.eof,length:0}},lexer=function(){function isIdentifierStartCharacter(a,b,c,d){switch(a){case a>=97&&122>=a&&a:case a>=65&&90>=a&&a:case 36:case 95:return!0;case isWhitespace(a)&&a:case isLineTerminator(a)&&a:return!1;case a>127&&a:return!0;case 92:return!!(d>c+4&&117===b.charCodeAt(c)&&isHexDigit(b.charCodeAt(c+1))&&isHexDigit(b.charCodeAt(c+2))&&isHexDigit(b.charCodeAt(c+3))&&isHexDigit(b.charCodeAt(c+4)));default:return!1}}function readIdentifierPart(a,b,c){for(var d=!1;c>b;){var e=a.charCodeAt(b);switch(e){case e>=97&&122>=e&&e:case e>=65&&90>=e&&e:case 36:case 95:break;case isWhitespace(e)&&e:case isLineTerminator(e)&&e:return d?-b:b;case e>127&&e:break;case e>=48&&57>=e&&e:break;case 92:if(c>b+5&&117===a.charCodeAt(b+1)&&isHexDigit(a.charCodeAt(b+2))&&isHexDigit(a.charCodeAt(b+3))&&isHexDigit(a.charCodeAt(b+4))&&isHexDigit(a.charCodeAt(b+5))){b+=5,d=!0;break}return d?-b:b;default:return d?-b:b}b++}return d?-b:b}function readIdentifierToken(a,b,c){var d=b;b=readIdentifierPart(a,b,c);var e=!1;0>b&&(b=-b,e=!0);var f=a.substr(d,b-d);e&&(f=""+JSON.parse('"'+f+'"'));var g=reservedWordLookup(f);return g?g:{type:tokenType.identifier,length:b-d,value:f}}function isHexDigit(a){switch(a){case a>=48&&57>=a&&a:case a>=97&&102>=a&&a:case a>=65&&70>=a&&a:return!0;default:return!1}}function readHexIntegerLiteral(a,b,c){for(;c>b&&isHexDigit(a.charCodeAt(b));)b++;return b}function isDecimalDigit(a){switch(a){case a>=48&&57>=a&&a:return!0;default:return!1}}function readDecimalDigits(a,b,c){for(;c>b&&isDecimalDigit(a.charCodeAt(b));)b++;return b}function readDecimalLiteral(a,b,c){if(b=readDecimalDigits(a,b,c),c>b&&46===a.charCodeAt(b)&&c>b+1&&isDecimalDigit(a.charCodeAt(b+1))&&(b=readDecimalDigits(a,b+2,c)),c>b){var d=a.charCodeAt(b);if(101===d||69===d){var e=b+1;c>e&&(d=a.charCodeAt(e),43!==d&&45!==d||e++,b=readDecimalDigits(a,e,c))}}return b}function readDecimalLiteralToken(a,b,c,d){var c=readDecimalLiteral(a,c,d),e=c-b;return{type:tokenType.numberLiteral,length:e,value:+a.substr(b,e)}}function isLineTerminator(a){switch(a){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function readStringLiteralToken(text,offset,limit){var startOffset=offset,quoteCharCode=text.charCodeAt(offset),hasEscape=!1;for(offset++;limit>offset&&!isLineTerminator(text.charCodeAt(offset));){if(limit>offset+1&&92===text.charCodeAt(offset))switch(hasEscape=!0,text.charCodeAt(offset+1)){case quoteCharCode:case 92:case 10:case 8232:case 8233:offset+=2;continue;case 13:offset+=limit>offset+2&&10===text.charCodeAt(offset+2)?3:2;continue}if(offset++,text.charCodeAt(offset-1)===quoteCharCode)break}var length=offset-startOffset;hasEscape=hasEscape||1===length||text.charCodeAt(offset-1)!==quoteCharCode;var stringValue;return stringValue=hasEscape?eval(text.substr(startOffset,length)):text.substr(startOffset+1,length-2),{type:tokenType.stringLiteral,length:length,value:stringValue}}function isWhitespace(a){switch(a){case 9:case 11:case 12:case 32:case 160:case 65279:return!0;case 5760>a&&a:return!1;case 5760:case 6158:case a>=8192&&8202>=a&&a:case 8239:case 8287:case 12288:return!0;default:return!1}}function readWhitespace(a,b,c){for(;c>b;){var d=a.charCodeAt(b);switch(d){case 9:case 11:case 12:case 32:case 160:case 65279:break;case 5760>d&&d:return b;case 5760:case 6158:case d>=8192&&8202>=d&&d:case 8239:case 8287:case 12288:break;default:return b}b++}return b}function lex(a,b,c,d){for(;d>c;){var e,f=c,g=b.charCodeAt(c++);switch(g){case isWhitespace(g)&&g:case isLineTerminator(g)&&g:c=readWhitespace(b,c,d),e={type:tokenType.separator,length:c-f};continue;case 34:case 39:e=readStringLiteralToken(b,c-1,d);break;case 40:e=tokens.leftParentheses;break;case 41:e=tokens.rightParentheses;break;case 43:case 45:if(d>c){var h=b.charCodeAt(c);if(46===h){var i=c+1;if(d>i&&isDecimalDigit(b.charCodeAt(i))){e=readDecimalLiteralToken(b,f,i,d);break}}else if(isDecimalDigit(h)){e=readDecimalLiteralToken(b,f,c,d);break}}e={type:tokenType.error,length:c-f,value:b.substring(f,c)};break;case 44:e=tokens.comma;break;case 46:e=tokens.dot,d>c&&isDecimalDigit(b.charCodeAt(c))&&(e=readDecimalLiteralToken(b,f,c,d));break;case 48:var j=d>c?b.charCodeAt(c):0;if(120===j||88===j){var k=readHexIntegerLiteral(b,c+1,d);e={type:tokenType.numberLiteral,length:k-f,value:+b.substr(f,k-f)}}else e=readDecimalLiteralToken(b,f,c,d);break;case g>=49&&57>=g&&g:e=readDecimalLiteralToken(b,f,c,d);break;case 58:e=tokens.colon;break;case 59:e=tokens.semicolon;break;case 91:e=tokens.leftBracket;break;case 93:e=tokens.rightBracket;break;case 123:e=tokens.leftBrace;break;case 125:e=tokens.rightBrace;break;default:if(isIdentifierStartCharacter(g,b,c,d)){e=readIdentifierToken(b,c-1,d);break}e={type:tokenType.error,length:c-f,value:b.substring(f,c)}}c+=e.length-1,a.push(e)}}return function(a){var b=[];return lex(b,a,0,a.length),b.push(tokens.eof),b}}();return lexer.tokenType=tokenType,lexer})})}),define("WinJS/ControlProcessor/_OptionsParser",["exports","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Resources","./_OptionsLexer"],function(a,b,c,d,e,f){"use strict";function g(){throw"Illegal"}function h(a){for(var b=Object.keys(j.tokenType),c=0,d=b.length;d>c;c++)if(a===j.tokenType[b[c]])return b[c];return""}var i={get invalidOptionsRecord(){return"Invalid options record: '{0}', expected to be in the format of an object literal. {1}"},get unexpectedTokenExpectedToken(){return"Unexpected token: {0}, expected token: {1}, at offset {2}"},get unexpectedTokenExpectedTokens(){return"Unexpected token: {0}, expected one of: {1}, at offset {2}"},get unexpectedTokenGeneric(){return"Unexpected token: {0}, at offset {1}"}},j=b.Namespace.defineWithParent(null,null,{lexer:b.Namespace._lazy(function(){return f._optionsLexer}),tokenType:b.Namespace._lazy(function(){return f._optionsLexer.tokenType})}),k=c.requireSupportedForProcessing,l=b.Namespace.defineWithParent(null,null,{BaseInterpreter:b.Namespace._lazy(function(){return b.Class.define(null,{_error:function(a){throw new d("WinJS.UI.ParseError",a)},_currentOffset:function(){for(var a=this._pos,b=0,c=0;a>c;c++)b+=this._tokens[c].length;return b},_evaluateAccessExpression:function(a){switch(this._current.type){case j.tokenType.dot:switch(this._read(),this._current.type){case j.tokenType.identifier:case this._current.keyword&&this._current.type:var b=this._current.value;return this._read(),a[b];default:this._unexpectedToken(j.tokenType.identifier,j.tokenType.reservedWord)}return;case j.tokenType.leftBracket:this._read();var c=this._evaluateValue();return this._read(j.tokenType.rightBracket),a[c]}},_evaluateAccessExpressions:function(a){for(;;)switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:a=this._evaluateAccessExpression(a);break;default:return a}},_evaluateIdentifier:function(a,b){var c=this._readIdentifier();return b=a?b[c]:this._context[c]},_evaluateIdentifierExpression:function(){var a=this._evaluateIdentifier(!1);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:return this._evaluateAccessExpressions(a);default:return a}},_initialize:function(a,b,c,d){this._originalSource=b,this._tokens=a,this._context=c,this._functionContext=d,this._pos=0,this._current=this._tokens[0]},_read:function(a){a&&this._current.type!==a&&this._unexpectedToken(a),this._current!==j.tokenType.eof&&(this._current=this._tokens[++this._pos])},_peek:function(a){return a&&this._current.type!==a?void 0:this._current!==j.tokenType.eof?this._tokens[this._pos+1]:void 0},_readAccessExpression:function(a){switch(this._current.type){case j.tokenType.dot:switch(this._read(),this._current.type){case j.tokenType.identifier:case this._current.keyword&&this._current.type:a.push(this._current.value),this._read();break;default:this._unexpectedToken(j.tokenType.identifier,j.tokenType.reservedWord)}return;case j.tokenType.leftBracket:return this._read(),a.push(this._evaluateValue()),void this._read(j.tokenType.rightBracket)}},_readAccessExpressions:function(a){for(;;)switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:this._readAccessExpression(a);break;default:return}},_readIdentifier:function(){var a=this._current.value;return this._read(j.tokenType.identifier),a},_readIdentifierExpression:function(){var a=[];switch(this._peek(j.tokenType.thisKeyword)&&0===a.length?this._read():a.push(this._readIdentifier()),this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:this._readAccessExpressions(a)}return a},_unexpectedToken:function(a){var b=this._current.type===j.tokenType.error?"'"+this._current.value+"'":h(this._current.type);if(a)if(1===arguments.length)a=h(a),this._error(e._formatString(i.unexpectedTokenExpectedToken,b,a,this._currentOffset()));else{for(var c=[],d=0,f=arguments.length;f>d;d++)c.push(h(arguments[d]));a=c.join(", "),this._error(e._formatString(i.unexpectedTokenExpectedTokens,b,a,this._currentOffset()))}else this._error(e._formatString(i.unexpectedTokenGeneric,b,this._currentOffset()))}},{supportedForProcessing:!1})}),OptionsInterpreter:b.Namespace._lazy(function(){return b.Class.derive(l.BaseInterpreter,function(a,b,c,d){this._initialize(a,b,c,d)},{_error:function(a){throw new d("WinJS.UI.ParseError",e._formatString(i.invalidOptionsRecord,this._originalSource,a))},_evaluateArrayLiteral:function(){var a=[];return this._read(j.tokenType.leftBracket),this._readArrayElements(a),this._read(j.tokenType.rightBracket),a},_evaluateObjectLiteral:function(){var a={};return this._read(j.tokenType.leftBrace),this._readObjectProperties(a),this._tryReadComma(),this._read(j.tokenType.rightBrace),a},_evaluateOptionsLiteral:function(){var a=this._evaluateValue();return this._current.type!==j.tokenType.eof&&this._unexpectedToken(j.tokenType.eof),a},_peekValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:case j.tokenType.leftBrace:case j.tokenType.leftBracket:case j.tokenType.identifier:return!0;default:return!1}},_evaluateValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;case j.tokenType.leftBrace:return this._evaluateObjectLiteral();case j.tokenType.leftBracket:return this._evaluateArrayLiteral();case j.tokenType.identifier:return k(this._peek(j.tokenType.identifier).type===j.tokenType.leftParentheses?this._evaluateObjectQueryExpression():this._evaluateIdentifierExpression());default:this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier)}},_tryReadElement:function(a){return this._peekValue()?(a.push(this._evaluateValue()),!0):!1},_tryReadComma:function(){return this._peek(j.tokenType.comma)?(this._read(),!0):!1},_tryReadElision:function(a){for(var b=!1;this._tryReadComma();)a.push(void 0),b=!0;return b},_readArrayElements:function(a){for(;!this._peek(j.tokenType.rightBracket);){var b=this._tryReadElision(a),c=this._tryReadElement(a),d=this._peek(j.tokenType.comma);if(!c||!d){if(c||b)break;this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier);break}this._read()}},_readObjectProperties:function(a){for(;!this._peek(j.tokenType.rightBrace);){var b=this._tryReadObjectProperty(a),c=this._peek(j.tokenType.comma);if(!b||!c){if(b)break;this._unexpectedToken(j.tokenType.numberLiteral,j.tokenType.stringLiteral,j.tokenType.identifier);break}this._read()}},_tryReadObjectProperty:function(a){switch(this._current.type){case j.tokenType.numberLiteral:case j.tokenType.stringLiteral:case j.tokenType.identifier:case this._current.keyword&&this._current.type:var b=this._current.value;return this._read(),this._read(j.tokenType.colon),a[b]=this._evaluateValue(),!0;default:return!1}},_failReadObjectProperty:function(){this._unexpectedToken(j.tokenType.numberLiteral,j.tokenType.stringLiteral,j.tokenType.identifier,j.tokenType.reservedWord)},_evaluateObjectQueryExpression:function(){var a=this._current.value;this._read(j.tokenType.identifier),this._read(j.tokenType.leftParentheses);var b=this._current.value;this._read(j.tokenType.stringLiteral),this._read(j.tokenType.rightParentheses);var c=k(this._functionContext[a])(b);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:return this._evaluateAccessExpressions(c);default:return c}},run:function(){return this._evaluateOptionsLiteral()}},{supportedForProcessing:!1})}),OptionsParser:b.Namespace._lazy(function(){return b.Class.derive(l.OptionsInterpreter,function(a,b){this._initialize(a,b)},{_evaluateAccessExpression:g,_evaluateAccessExpressions:g,_evaluateIdentifier:g,_evaluateIdentifierExpression:g,_evaluateObjectQueryExpression:g,_evaluateValue:function(){switch(this._current.type){case j.tokenType.falseLiteral:case j.tokenType.nullLiteral:case j.tokenType.stringLiteral:case j.tokenType.trueLiteral:case j.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;case j.tokenType.leftBrace:return this._evaluateObjectLiteral();case j.tokenType.leftBracket:return this._evaluateArrayLiteral();case j.tokenType.identifier:return this._peek(j.tokenType.identifier).type===j.tokenType.leftParentheses?this._readObjectQueryExpression():this._readIdentifierExpression();default:this._unexpectedToken(j.tokenType.falseLiteral,j.tokenType.nullLiteral,j.tokenType.stringLiteral,j.tokenType.trueLiteral,j.tokenType.numberLiteral,j.tokenType.leftBrace,j.tokenType.leftBracket,j.tokenType.identifier)}},_readIdentifierExpression:function(){var a=l.BaseInterpreter.prototype._readIdentifierExpression.call(this);return new p(a)},_readObjectQueryExpression:function(){var a=this._current.value;this._read(j.tokenType.identifier),this._read(j.tokenType.leftParentheses);var b=this._current.value;this._read(j.tokenType.stringLiteral),this._read(j.tokenType.rightParentheses);var c=new o(a,b);switch(this._current.type){case j.tokenType.dot:case j.tokenType.leftBracket:var d=[c];return this._readAccessExpressions(d),new p(d);default:return c}}},{supportedForProcessing:!1})})}),m=function(a,b,c){var d=j.lexer(a),e=new l.OptionsInterpreter(d,a,b||{},c||{});return e.run()};Object.defineProperty(m,"_BaseInterpreter",{get:function(){return l.BaseInterpreter}});var n=function(a){var b=j.lexer(a),c=new l.OptionsParser(b,a);return c.run()},o=b.Class.define(function(a,b){this.target=a,this.arg0Value=b});o.supportedForProcessing=!1;var p=b.Class.define(function(a){this.parts=a});p.supportedForProcessing=!1,b.Namespace._moduleDefine(a,"WinJS.UI",{optionsParser:m,_optionsParser:n,_CallExpression:o,_IdentifierExpression:p})}),define("WinJS/ControlProcessor",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_Log","./Core/_Resources","./Core/_WriteProfilerMark","./ControlProcessor/_OptionsParser","./Promise","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j){"use strict";function k(a){var c=function(c){for(var d,e=a;e;){if(e.msParentSelectorScope){var f=e.parentNode;if(f&&(d=j._matchesSelector(f,c)?f:f.querySelector(c)))break}e=e.parentNode}return d||b.document.querySelector(c)};return s(c)}function l(a,c){return new i(function(d,g){try{var i,j=a.getAttribute("data-win-options");j&&(i=h.optionsParser(j,b,{select:k(a)}));var l,m=1;c.length>2&&m++;var n=function(){m--,0===m&&(a.winControl=a.winControl||l,d(l))};l=new c(a,i,n),n()}catch(o){e.log&&e.log(f._formatString(r.errorActivatingControl,o&&o.message),"winjs controls","error"),g(o)}})}function m(a,c){return new i(function(d,e){g("WinJS.UI:processAll,StartTM"),a=a||b.document.body;var f=0,h="[data-win-control]",i=a.querySelectorAll(h),j=[];!c&&n(a)&&j.push(a);for(var k=0,m=i.length;m>k;k++)j.push(i[k]);if(0===j.length)return g("WinJS.UI:processAll,StopTM"),void d(a);for(var o=function(){f-=1,0>f&&(g("WinJS.UI:processAll,StopTM"),d(a))},q=new Array(j.length),k=0,m=j.length;m>k;k++){var r,s=j[k],u=s.winControl;u?r=u.constructor:q[k]=r=n(s),r&&r.isDeclarativeControlContainer&&(k+=s.querySelectorAll(h).length)}g("WinJS.UI:processAllActivateControls,StartTM");for(var k=0,m=j.length;m>k;k++){var v=q[k],s=j[k];if(v&&!s.winControl&&(f++,l(s,v).then(o,function(a){g("WinJS.UI:processAll,StopTM"),e(a)}),v.isDeclarativeControlContainer&&"function"==typeof v.isDeclarativeControlContainer)){var w=t(v.isDeclarativeControlContainer);w(s.winControl,p)}}g("WinJS.UI:processAllActivateControls,StopTM"),o()})}function n(a){if(a.getAttribute){var c=a.getAttribute("data-win-control");if(c)return d._getMemberFiltered(c.trim(),b,t)}}function o(a,b){return k(b)(a)}function p(a,b){return u?m(a,b):d.ready().then(function(){return u=!0,m(a,b)})}function q(a){if(a&&a.winControl)return i.as(a.winControl);var b=n(a);return b?l(a,b):i.as()}if(b.document){var r={get errorActivatingControl(){return"Error activating control: {0}"}},s=d.markSupportedForProcessing,t=d.requireSupportedForProcessing,u=!1;c.Namespace._moduleDefine(a,"WinJS.UI",{scopedSelect:o,processAll:p,process:q})}}),define("WinJS/Utilities/_ElementListUtilities",["exports","../Core/_Global","../Core/_Base","../ControlProcessor","../Promise","../Utilities/_Control","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g){"use strict";b.document&&c.Namespace._moduleDefine(a,"WinJS.Utilities",{QueryCollection:c.Class.derive(Array,function(a){a&&this.include(a)},{forEach:function(a,b){return Array.prototype.forEach.apply(this,[a,b]),this},get:function(a){return this[a]},setAttribute:function(a,b){return this.forEach(function(c){c.setAttribute(a,b)}),this},getAttribute:function(a){return this.length>0?this[0].getAttribute(a):void 0},addClass:function(a){return this.forEach(function(b){g.addClass(b,a)}),this},hasClass:function(a){return this.length>0?g.hasClass(this[0],a):!1},removeClass:function(a){return this.forEach(function(b){g.removeClass(b,a)}),this},toggleClass:function(a){return this.forEach(function(b){g.toggleClass(b,a)}),this},listen:function(a,b,c){return this.forEach(function(d){d.addEventListener(a,b,c)}),this},removeEventListener:function(a,b,c){return this.forEach(function(d){d.removeEventListener(a,b,c)}),this},setStyle:function(a,b){return this.forEach(function(c){c.style[a]=b}),this},clearStyle:function(a){return this.forEach(function(b){b.style[a]=""}),this},query:function(b){var c=new a.QueryCollection;return this.forEach(function(a){c.include(a.querySelectorAll(b))}),c},include:function(a){if("number"==typeof a.length)for(var b=0;bj;j++){var c,d;do c=i.shift(),d=c&&h[c];while(c&&!d);if(!d)break;delete h[c];try{d().then(b,b)}catch(e){b()}}k--}function f(a,b,d){var f,j="w"+g++;return new c(function(c,g,k){var l=function(){return f=a().then(c,g,k)};l.data=b,h[j]=l,d?i.unshift(j):i.push(j),e()},function(){delete h[j],f&&f.cancel()})}var g=0,h={},i=[];a=a||3;var j=0,k=0;this.sort=function(a){i.sort(function(b,c){return b=h[b],c=h[c],void 0===b&&void 0===c?0:void 0===b?1:void 0===c?-1:a(b.data,c.data)})},this.queue=f},{},{supportedForProcessing:!1})})})}),define("WinJS/Utilities/_VersionManager",["exports","../Core/_Base","../_Signal"],function(a,b,c){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_VersionManager:b.Namespace._lazy(function(){return b.Class.define(function(){this._unlocked=new c,this._unlocked.complete()},{_cancelCount:0,_notificationCount:0,_updateCount:0,_version:0,locked:{get:function(){return 0!==this._notificationCount||0!==this._updateCount}},noOutstandingNotifications:{get:function(){return 0===this._notificationCount}},version:{get:function(){return this._version}},unlocked:{get:function(){return this._unlocked.promise}},_dispose:function(){this._unlocked&&(this._unlocked.cancel(),this._unlocked=null)},beginUpdating:function(){this._checkLocked(),this._updateCount++},endUpdating:function(){this._updateCount--,this._checkUnlocked()},beginNotifications:function(){this._checkLocked(),this._notificationCount++},endNotifications:function(){this._notificationCount--,this._checkUnlocked()},_checkLocked:function(){this.locked||(this._dispose(),this._unlocked=new c)},_checkUnlocked:function(){this.locked||this._unlocked.complete()},receivedNotification:function(){if(this._version++,this._cancel){var a=this._cancel;this._cancel=null,a.forEach(function(a){a&&a.cancel()})}},cancelOnNotification:function(a){return this._cancel||(this._cancel=[],this._cancelCount=0),this._cancel[this._cancelCount++]=a,this._cancelCount-1},clearCancelOnNotification:function(a){this._cancel&&delete this._cancel[a]}},{supportedForProcessing:!1})})})}),define("WinJS/Utilities/_ItemsManager",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../_Signal","../Scheduler","../Utilities/_ElementUtilities","./_ParallelWorkQueue","./_VersionManager"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";function n(a){return t(function(b,c){return b.then(function(b){return b?a(b,c):null})})}function o(a,b){var c=!1,d=!1;return a.isOnScreen().then(function(a){c=a}),b.isOnScreen().then(function(a){d=a}),(c?0:1)-(d?0:1)}function p(a){if(!/^blob:/i.test(a)&&(B[a]=!0,C.push(a),C.length>E)){var b=C;B={},C=[];for(var c=0,d=b.length-1;d>=0&&D>c;d--){var e=b[d];B[e]||(B[e]=!0,c++)}}}function q(a,c,d){var e=A++;return w=w||new l._ParallelWorkQueue(6),w.queue(function(){return new h(function(d,f){j.schedule(function(e){c||(c=b.document.createElement("img"));var g=B[a];g?(p(a),c.src=a,d(c)):e.setPromise(new h(function(e){var g=b.document.createElement("img"),h=function(){g.removeEventListener("load",i,!1),g.removeEventListener("error",j,!1),c.src=a;var b=new Date;b-y>z&&(y=b,w.sort(o))},i=function(){e(k)},j=function(){e(l)},k=function(){p(a),h(),d(c)},l=function(){h(),f(c)};g.addEventListener("load",i,!1),g.addEventListener("error",j,!1),g.src=a}))},j.Priority.normal,null,"WinJS.UI._ImageLoader._image"+e)})},d)}function r(a){return B[a]}function s(){return b.document.createElement("div")}var t=d.markSupportedForProcessing,u=k._uniqueID,v=n(function(a){if(k._isDOMElement(a.data))return a.data;var c=a.data;void 0===c?c="undefined":null===c?c="null":"object"==typeof c&&(c=JSON.stringify(c));var d=b.document.createElement("span");return d.textContent=c.toString(),d});c.Namespace._moduleDefine(a,"WinJS.UI",{_normalizeRendererReturn:function(a){if(a){if("object"==typeof a&&a.element){var b=h.as(a.element);return b.then(function(b){return{element:b,renderComplete:h.as(a.renderComplete)}})}var b=h.as(a);return b.then(function(a){return{element:a,renderComplete:h.as()}})}return{element:null,renderComplete:h.as()}},simpleItemRenderer:n,_trivialHtmlRenderer:v});var w,x={get listDataSourceIsInvalid(){return"Invalid argument: dataSource must be an object."},get itemRendererIsInvalid(){return"Invalid argument: itemRenderer must be a function."},get itemIsInvalid(){return"Invalid argument: item must be a DOM element that was returned by the Items Manager, and has not been replaced or released."}},y=new Date,z=64,A=0,B={},C=[],D=250,E=1e3;c.Namespace._moduleDefine(a,"WinJS.UI",{_seenUrl:p,_getSeenUrls:function(){return B},_getSeenUrlsMRU:function(){return C},_seenUrlsMaxSize:D,_seenUrlsMRUMaxSize:E}),c.Namespace._moduleDefine(a,"WinJS.UI",{_createItemsManager:c.Namespace._lazy(function(){var b=c.Class.define(function(a){this._itemsManager=a},{beginNotifications:function(){this._itemsManager._versionManager.beginNotifications(),this._itemsManager._beginNotifications()},inserted:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._inserted(a,b,c)},changed:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._changed(a,b)},moved:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._moved(a,b,c)},removed:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._removed(a,b)},countChanged:function(a,b){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._countChanged(a,b)},indexChanged:function(a,b,c){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._indexChanged(a,b,c)},affectedRange:function(a){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._affectedRange(a)},endNotifications:function(){this._itemsManager._versionManager.endNotifications(),this._itemsManager._endNotifications()},reload:function(){this._itemsManager._versionManager.receivedNotification(),this._itemsManager._reload()}},{supportedForProcessing:!1}),d=c.Class.define(function(a,c,d,f){if(!a)throw new e("WinJS.UI.ItemsManager.ListDataSourceIsInvalid",x.listDataSourceIsInvalid);if(!c)throw new e("WinJS.UI.ItemsManager.ItemRendererIsInvalid",x.itemRendererIsInvalid);this.$pipeline_callbacksMap={},this._listDataSource=a,this.dataSource=this._listDataSource,this._elementNotificationHandler=d,this._listBinding=this._listDataSource.createListBinding(new b(this)),f&&(f.ownerElement&&(this._ownerElement=f.ownerElement),this._profilerId=f.profilerId,this._versionManager=f.versionManager||new m._VersionManager),this._indexInView=f&&f.indexInView,this._itemRenderer=c,this._viewCallsReady=f&&f.viewCallsReady,this._elementMap={},this._handleMap={},this._jobOwner=j.createOwnerToken(),this._notificationsSent=!1,this._listBinding.last&&(this.lastItem=function(){return this._elementForItem(this._listBinding.last())})},{_itemFromItemPromise:function(a){return this._waitForElement(this._elementForItem(a))},_itemFromItemPromiseThrottled:function(a){return this._waitForElement(this._elementForItem(a,!0))},_itemAtIndex:function(a){var b=this._itemPromiseAtIndex(a);this._itemFromItemPromise(b).then(null,function(a){return b.cancel(),h.wrapError(a)})},_itemPromiseAtIndex:function(a){return this._listBinding.fromIndex(a)},_waitForElement:function(a){var b=this;return new h(function(c){if(a)if(b.isPlaceholder(a)){var d=u(a),e=b.$pipeline_callbacksMap[d];e?e.push(c):b.$pipeline_callbacksMap[d]=[c]}else c(a);else c(a)})},_updateElement:function(a,b){var c=u(b),d=this.$pipeline_callbacksMap[c];d&&(delete this.$pipeline_callbacksMap[c],d.forEach(function(b){b(a)}))},_firstItem:function(){return this._waitForElement(this._elementForItem(this._listBinding.first()))},_lastItem:function(){return this._waitForElement(this._elementForItem(this._listBinding.last()))},_previousItem:function(a){return this._listBinding.jumpToItem(this._itemFromElement(a)),this._waitForElement(this._elementForItem(this._listBinding.previous()))},_nextItem:function(a){return this._listBinding.jumpToItem(this._itemFromElement(a)),this._waitForElement(this._elementForItem(this._listBinding.next()))},_itemFromPromise:function(a){return this._waitForElement(this._elementForItem(a))},isPlaceholder:function(a){return!!this._recordFromElement(a).elementIsPlaceholder},itemObject:function(a){return this._itemFromElement(a)},release:function(){this._listBinding.release(),this._elementNotificationHandler=null,this._listBinding=null,this._jobOwner.cancelAll(),this._released=!0},releaseItemPromise:function(a){var b=a.handle,c=this._handleMap[b];c?this._releaseRecord(c):a.cancel()},releaseItem:function(a){var b=this._elementMap[u(a)];this._releaseRecord(b)},_releaseRecord:function(a){a&&(a.renderPromise&&a.renderPromise.cancel(),a.itemPromise&&a.itemPromise.cancel(),a.imagePromises&&a.imagePromises.forEach(function(a){a.cancel()}),a.itemReadyPromise&&a.itemReadyPromise.cancel(),a.renderComplete&&a.renderComplete.cancel(),this._removeEntryFromElementMap(a.element),this._removeEntryFromHandleMap(a.itemPromise.handle,a),a.item&&this._listBinding.releaseItem(a.item))},refresh:function(){return this._listDataSource.invalidateAll()},_handlerToNotifyCaresAboutItemAvailable:function(){return!(!this._elementNotificationHandler||!this._elementNotificationHandler.itemAvailable)},_handlerToNotify:function(){return this._notificationsSent||(this._notificationsSent=!0,this._elementNotificationHandler&&this._elementNotificationHandler.beginNotifications&&this._elementNotificationHandler.beginNotifications()),this._elementNotificationHandler},_defineIndexProperty:function(a,b,c){c.indexObserved=!1,Object.defineProperty(a,"index",{get:function(){return c.indexObserved=!0,b.index}})},_renderPlaceholder:function(a){var b={},c=s(b);return a.elementIsPlaceholder=!0,c},_renderItem:function(b,c,d){function e(){b.then(function(a){f._writeProfilerMark(m+",StartTM"),k.complete(a),f._writeProfilerMark(m+",StopTM")})}var f=this,g=f._indexInView||function(){return!0},k=new i,l=new i,m="_renderItem("+c.item.index+"):itemPromise",n=!0,o=!1;b.then(function(a){o=!0,n&&k.complete(a)}),n=!1;var p=k.promise.then(function(a){if(a){var b=Object.create(a);return f._defineIndexProperty(b,a,c),b.ready=l.promise, +b.isOnScreen=function(){return h.wrap(g(a.index))},b.loadImage=function(a,d){var e=q(a,d,b);return c.imagePromises?c.imagePromises.push(e):c.imagePromises=[e],e},b.isImageCached=r,b}return h.cancel});o||(d?(c.stage0=b,c.startStage1=function(){c.startStage1=null,e()}):e()),p.handle=b.handle,c.itemPromise=p,c.itemReadyPromise=l.promise,c.readyComplete=!1;var s="_renderItem("+c.item.index+(o?"):syncItemPromise":"):placeholder"),t="_renderItem("+c.item.index+"):itemReady";this._writeProfilerMark(s+",StartTM");var u=h.as(f._itemRenderer(p,c.element)).then(a._normalizeRendererReturn).then(function(a){return f._released?h.cancel:(p.then(function(a){if(c.pendingReady=function(){c.pendingReady&&(c.pendingReady=null,c.readyComplete=!0,f._writeProfilerMark(t+",StartTM"),l.complete(a),f._writeProfilerMark(t+",StopTM"))},!f._viewCallsReady){var b=j.schedule(c.pendingReady,j.Priority.normal,c,"WinJS.UI._ItemsManager._pendingReady");b.owner=f._jobOwner}}),a)});return this._writeProfilerMark(s+",StopTM"),u},_replaceElement:function(a,b){this._removeEntryFromElementMap(a.element),a.element=b,this._addEntryToElementMap(b,a)},_changeElement:function(a,b,c){a.renderPromise=null;var d=a.element,e=a.item;a.newItem&&(a.item=a.newItem,a.newItem=null),this._replaceElement(a,b),a.item&&a.elementIsPlaceholder&&!c?(a.elementDelayed=null,a.elementIsPlaceholder=!1,this._updateElement(a.element,d),this._handlerToNotifyCaresAboutItemAvailable()&&this._handlerToNotify().itemAvailable(a.element,d)):this._handlerToNotify().changed(b,d,e)},_elementForItem:function(a,b){var c,d=a.handle,e=this._recordFromHandle(d,!0);if(!d)return null;if(e)c=e.element;else{e={item:a,itemPromise:a},this._addEntryToHandleMap(d,e);var f=this,g=!1,h=!1,i=f._renderItem(a,e,b).then(function(b){var d=b.element;e.renderComplete=b.renderComplete,a.then(function(a){e.item=a,a||(g=!0,c=null)}),h=!0,e.renderPromise=null,d&&(c?f._presentElements(e,d):c=d)});g||(h||(e.renderPromise=i),c||(c=this._renderPlaceholder(e)),e.element=c,this._addEntryToElementMap(c,e),a.retain())}return c},_addEntryToElementMap:function(a,b){this._elementMap[u(a)]=b},_removeEntryFromElementMap:function(a){delete this._elementMap[u(a)]},_recordFromElement:function(a){var b=this._elementMap[u(a)];if(!b)throw this._writeProfilerMark("_recordFromElement:ItemIsInvalidError,info"),new e("WinJS.UI.ItemsManager.ItemIsInvalid",x.itemIsInvalid);return b},_addEntryToHandleMap:function(a,b){this._handleMap[a]=b},_removeEntryFromHandleMap:function(a){delete this._handleMap[a]},_handleInHandleMap:function(a){return!!this._handleMap[a]},_recordFromHandle:function(a,b){var c=this._handleMap[a];if(!c&&!b)throw new e("WinJS.UI.ItemsManager.ItemIsInvalid",x.itemIsInvalid);return c},_foreachRecord:function(a){var b=this._handleMap;for(var c in b){var d=b[c];a(d)}},_itemFromElement:function(a){return this._recordFromElement(a).item},_elementFromHandle:function(a){if(a){var b=this._recordFromHandle(a,!0);if(b&&b.element)return b.element}return null},_inserted:function(a,b,c){this._handlerToNotify().inserted(a,b,c)},_changed:function(a,b){if(this._handleInHandleMap(b.handle)){var c=this._recordFromHandle(b.handle);c.renderPromise&&c.renderPromise.cancel(),c.itemPromise&&c.itemPromise.cancel(),c.imagePromises&&c.imagePromises.forEach(function(a){a.cancel()}),c.itemReadyPromise&&c.itemReadyPromise.cancel(),c.renderComplete&&c.renderComplete.cancel(),c.newItem=a;var d=this,e=h.as(a);e.handle=c.itemPromise.handle,c.renderPromise=this._renderItem(e,c).then(function(a){c.renderComplete=a.renderComplete,d._changeElement(c,a.element,!1),d._presentElements(c)})}},_moved:function(a,b,c){var d=this._elementFromHandle(a.handle),e=this._elementFromHandle(b),f=this._elementFromHandle(c);this._handlerToNotify().moved(d,e,f,a),this._presentAllElements()},_removed:function(a,b){if(this._handleInHandleMap(a)){var c=this._elementFromHandle(a);this._handlerToNotify().removed(c,b,a),this.releaseItem(c),this._presentAllElements()}else this._handlerToNotify().removed(null,b,a)},_countChanged:function(a,b){this._elementNotificationHandler&&this._elementNotificationHandler.countChanged&&this._handlerToNotify().countChanged(a,b)},_indexChanged:function(a,b,c){var d;if(this._handleInHandleMap(a)){var e=this._recordFromHandle(a);if(e.indexObserved)if(e.elementIsPlaceholder)this._changeElement(e,this._renderPlaceholder(e),!0);else if(e.item.index!==b){e.renderPromise&&e.renderPromise.cancel(),e.renderComplete&&e.renderComplete.cancel();var f=e.newItem||e.item;f.index=b;var g=h.as(f);g.handle=e.itemPromise.handle;var i=this;e.renderPromise=this._renderItem(g,e).then(function(a){e.renderComplete=a.renderComplete,i._changeElement(e,a.element,!1),i._presentElements(e)})}d=e.element}this._elementNotificationHandler&&this._elementNotificationHandler.indexChanged&&this._handlerToNotify().indexChanged(d,b,c)},_affectedRange:function(a){this._elementNotificationHandler&&this._elementNotificationHandler.updateAffectedRange&&this._handlerToNotify().updateAffectedRange(a)},_beginNotifications:function(){this._externalBegin=!0,this._handlerToNotify()},_endNotifications:function(){this._notificationsSent&&(this._notificationsSent=!1,this._externalBegin=!1,this._elementNotificationHandler&&this._elementNotificationHandler.endNotifications&&this._elementNotificationHandler.endNotifications())},_reload:function(){this._elementNotificationHandler&&this._elementNotificationHandler.reload&&this._elementNotificationHandler.reload()},_postEndNotifications:function(){if(this._notificationsSent&&!this._externalBegin&&!this._endNotificationsPosted){this._endNotificationsPosted=!0;var a=this;j.schedule(function(){a._endNotificationsPosted=!1,a._endNotifications()},j.Priority.high,null,"WinJS.UI._ItemsManager._postEndNotifications")}},_presentElement:function(a){var b=a.element;this._replaceElement(a,a.elementDelayed),a.elementDelayed=null,a.elementIsPlaceholder=!1,this._updateElement(a.element,b),this._handlerToNotifyCaresAboutItemAvailable()&&this._handlerToNotify().itemAvailable(a.element,b)},_presentElements:function(a,b){b&&(a.elementDelayed=b),this._listBinding.jumpToItem(a.item),a.elementDelayed&&this._presentElement(a),this._postEndNotifications()},_presentAllElements:function(){var a=this;this._foreachRecord(function(b){b.elementDelayed&&a._presentElement(b)})},_writeProfilerMark:function(a){var b="WinJS.UI._ItemsManager:"+(this._profilerId?this._profilerId+":":":")+a;g(b)}},{supportedForProcessing:!1});return function(a,b,c,e){return new d(a,b,c,e)}})})}),define("WinJS/Utilities/_TabContainer",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","./_ElementUtilities"],function(a,b,c,d,e){"use strict";function f(a,c,d,e){var f=b.document.createEvent("UIEvent");return f.initUIEvent(c,!1,!!e,b,d?1:0),!a.dispatchEvent(f)}function g(a){var c=e._getComputedStyle(a);if("none"===c.display||"hidden"===c.visibility)return b.NodeFilter.FILTER_REJECT;if(a._tabContainer)return b.NodeFilter.FILTER_ACCEPT;if(a.parentNode&&a.parentNode._tabContainer){var d=a.parentNode._tabContainer.childFocus;return d&&a.contains(d)?j(a)>=0?b.NodeFilter.FILTER_ACCEPT:b.NodeFilter.FILTER_SKIP:b.NodeFilter.FILTER_REJECT}var f=j(a);return f>=0?b.NodeFilter.FILTER_ACCEPT:b.NodeFilter.FILTER_SKIP}function h(a){function b(){if(a.currentNode._tabContainer)e=e.concat(h(a));else if(j(a.currentNode)>=0&&e.push(a.currentNode),a.firstChild()){do b();while(a.nextSibling());a.parentNode()}}var c=a.currentNode,d=c._tabContainer.childFocus,e=[];return d?(a.currentNode=d,b(),a.currentNode=c,e):[]}function i(a,c){function d(){var a=b.document.createElement("DIV");return a.tabIndex=c?c:0,a.setAttribute("aria-hidden",!0),a}var e=a.parentNode,g=d();e.insertBefore(g,a);var h=d();e.insertBefore(h,a.nextSibling),g.addEventListener("focus",function(){f(a,"onTabEnter",!0)},!0),h.addEventListener("focus",function(){f(a,"onTabEnter",!1)},!0),this._catcherBegin=g,this._catcherEnd=h;var i=1;this.addRef=function(){i++},this.release=function(){return 0===--i&&(g.parentElement&&e.removeChild(g),h.parentElement&&e.removeChild(h)),i},this.updateTabIndex=function(a){g.tabIndex=a,h.tabIndex=a}}if(b.document){var j=e.getTabIndex,k={attach:function(a,b){return a["win-trackTabHelperObject"]?a["win-trackTabHelperObject"].addRef():a["win-trackTabHelperObject"]=new i(a,b),a["win-trackTabHelperObject"]},detach:function(a){a["win-trackTabHelperObject"].release()||delete a["win-trackTabHelperObject"]}};c.Namespace._moduleDefine(a,"WinJS.UI",{TrackTabBehavior:k,TabContainer:c.Class.define(function(a){this._element=a,this._tabIndex=0,a._tabContainer=this,null===a.getAttribute("tabindex")&&(a.tabIndex=-1);var b=this;a.addEventListener("onTabEnter",function(c){var d=f(b._element,"onTabEntered",c.detail,!0);d||(b.childFocus?b.childFocus.focus():a.focus())}),a.addEventListener("keydown",function(a){var c=a.target;if(a.keyCode===e.Key.tab){var g=!a.shiftKey,h=b._hasMoreElementsInTabOrder(c,g);if(!h){var i=f(b._element,"onTabExiting",g,!0);if(i)return a.stopPropagation(),void a.preventDefault();for(var j=b._element.querySelectorAll("a[href],area[href],button,command,input,link,menuitem,object,select,textarea,th[sorted],[tabindex]"),k=j.length,l=[],m=0;k>m;m++){var n=j[m];l.push(n.tabIndex),n.tabIndex=-1}b._elementTabHelper[g?"_catcherEnd":"_catcherBegin"].tabIndex=-1;var o=function(){c.removeEventListener("blur",o,!1);for(var a=0;k>a;a++)-1!==l[a]&&(j[a].tabIndex=l[a]);b._elementTabHelper._catcherBegin.tabIndex=b._tabIndex,b._elementTabHelper._catcherEnd.tabIndex=b._tabIndex};c.addEventListener("blur",o,!1),d._yieldForEvents(function(){f(b._element,"onTabExit",g)})}}}),this._elementTabHelper=k.attach(a,this._tabIndex),this._elementTabHelper._catcherBegin.tabIndex=0,this._elementTabHelper._catcherEnd.tabIndex=0},{dispose:function(){k.detach(this._element,this._tabIndex)},childFocus:{set:function(a){a!==this._focusElement&&(a&&a.parentNode?this._focusElement=a:this._focusElement=null)},get:function(){return this._focusElement}},tabIndex:{set:function(a){this._tabIndex=a,this._elementTabHelper.updateTabIndex(a)},get:function(){return this._tabIndex}},_element:null,_skipper:function(a){a.stopPropagation(),a.preventDefault()},_hasMoreElementsInTabOrder:function(a,c){if(!this.childFocus)return!1;for(var d=b.document.createTreeWalker(this._element,b.NodeFilter.SHOW_ELEMENT,g,!1),e=h(d),f=0;f0;return!1},_focusElement:null},{supportedForProcessing:!1})})}}),define("WinJS/Utilities/_KeyboardBehavior",["exports","../Core/_Global","../Core/_Base","./_Control","./_ElementUtilities","./_TabContainer"],function(a,b,c,d,e,f){"use strict";if(b.document){var g={touch:"touch",pen:"pen",mouse:"mouse",keyboard:"keyboard"},h=g.mouse,i={2:g.touch,3:g.pen,4:g.mouse,touch:g.touch,pen:g.pen,mouse:g.mouse};e._addEventListener(b,"pointerdown",function(a){h=i[a.pointerType]||g.mouse},!0),b.addEventListener("keydown",function(){h=g.keyboard},!0),c.Namespace._moduleDefine(a,"WinJS.UI",{_keyboardSeenLast:{get:function(){return h===g.keyboard},set:function(a){h=a?g.keyboard:g.mouse}},_lastInputType:{get:function(){return h},set:function(a){g[a]&&(h=a)}},_InputTypes:g,_WinKeyboard:function(b){e._addEventListener(b,"pointerdown",function(a){e.removeClass(a.target,"win-keyboard")},!0),b.addEventListener("keydown",function(a){e.addClass(a.target,"win-keyboard")},!0),e._addEventListener(b,"focusin",function(b){a._keyboardSeenLast&&e.addClass(b.target,"win-keyboard")},!1),e._addEventListener(b,"focusout",function(a){e.removeClass(a.target,"win-keyboard")},!1)},_KeyboardBehavior:c.Namespace._lazy(function(){var a=e.Key,g=c.Class.define(function(a,c){a=a||b.document.createElement("DIV"),c=c||{},a._keyboardBehavior=this,this._element=a,this._fixedDirection=g.FixedDirection.width,this._fixedSize=1,this._currentIndex=0,d.setOptions(this,c),this._tabContainer=new f.TabContainer(this.scroller||this._element),this._tabContainer.tabIndex=0,this._element.children.length>0&&(this._tabContainer.childFocus=this._getFocusInto(this._element.children[0])),this._element.addEventListener("keydown",this._keyDownHandler.bind(this)),e._addEventListener(this._element,"pointerdown",this._MSPointerDownHandler.bind(this))},{element:{get:function(){return this._element}},fixedDirection:{get:function(){return this._fixedDirection},set:function(a){this._fixedDirection=a}},fixedSize:{get:function(){return this._fixedSize},set:function(a){+a===a&&(a=Math.max(1,a),this._fixedSize=a)}},currentIndex:{get:function(){return this._element.children.length>0?this._currentIndex:-1},set:function(a){if(+a===a){var b=this._element.children.length;a=Math.max(0,Math.min(b-1,a)),this._currentIndex=a,this._tabContainer.childFocus=this._getFocusInto(this._element.children[a])}}},getAdjacent:{get:function(){return this._getAdjacent},set:function(a){this._getAdjacent=a}},scroller:{get:function(){return this._scroller},set:function(a){this._scroller=a}},_keyDownHandler:function(b){if(!b.altKey){if(e._matchesSelector(b.target,".win-interactive, .win-interactive *"))return;var c=this.currentIndex,d=this._element.children.length-1,f="rtl"===e._getComputedStyle(this._element).direction,h=f?a.rightArrow:a.leftArrow,i=f?a.leftArrow:a.rightArrow,j=this.getAdjacent&&this.getAdjacent(c,b.keyCode);if(+j===j)c=j;else{var k=c%this.fixedSize;b.keyCode===h?this.fixedDirection===g.FixedDirection.width?0!==k&&c--:c>=this.fixedSize&&(c-=this.fixedSize):b.keyCode===i?this.fixedDirection===g.FixedDirection.width?k!==this.fixedSize-1&&c++:c+this.fixedSize-k<=d&&(c+=this.fixedSize):b.keyCode===a.upArrow?this.fixedDirection===g.FixedDirection.height?0!==k&&c--:c>=this.fixedSize&&(c-=this.fixedSize):b.keyCode===a.downArrow?this.fixedDirection===g.FixedDirection.height?k!==this.fixedSize-1&&c++:c+this.fixedSize-k<=d&&(c+=this.fixedSize):b.keyCode===a.home?c=0:b.keyCode===a.end&&(c=this._element.children.length-1)}c=Math.max(0,Math.min(this._element.children.length-1,c)),c!==this.currentIndex&&(this._focus(c,b.keyCode),b.keyCode!==h&&b.keyCode!==i&&b.keyCode!==a.upArrow&&b.keyCode!==a.downArrow||b.stopPropagation(),b.preventDefault())}},_getFocusInto:function(a,b){return a&&a.winControl&&a.winControl._getFocusInto?a.winControl._getFocusInto(b):a},_focus:function(a,b){a=+a===a?a:this.currentIndex;var c=this._element.children[a];c&&(c=this._getFocusInto(c,b),this.currentIndex=a,e._setActive(c,this.scroller))},_MSPointerDownHandler:function(a){var b=a.target;if(b!==this.element){for(;b.parentNode!==this.element;)b=b.parentNode;for(var c=-1;b;)c++,b=b.previousElementSibling;this.currentIndex=c}}},{FixedDirection:{height:"height",width:"width"}});return g})})}}),define("WinJS/Utilities/_SafeHtml",["exports","../Core/_WinJS","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_Resources"],function(a,b,c,d,e,f){"use strict";var g,h,i,j,k,l,m={get nonStaticHTML(){return"Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property or the document.write method to add a script element will generate this exception. If the content is safe and from a trusted source, use a method to explicitly manipulate elements and attributes, such as createElement, or use setInnerHTMLUnsafe (or other unsafe method)."}};g=h=function(a,b){a.innerHTML=b},i=j=function(a,b){a.outerHTML=b},k=l=function(a,b,c){a.insertAdjacentHTML(b,c)};var n=c.MSApp;if(n&&n.execUnsafeLocalFunction)h=function(a,c){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.innerHTML=c}finally{b._execUnsafe=!1}})},j=function(a,c){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.outerHTML=c}finally{b._execUnsafe=!1}})},l=function(a,c,d){n.execUnsafeLocalFunction(function(){try{b._execUnsafe=!0,a.insertAdjacentHTML(c,d)}finally{b._execUnsafe=!1}})};else if(c.msIsStaticHTML){var o=function(a){if(!c.msIsStaticHTML(a))throw new e("WinJS.Utitilies.NonStaticHTML",m.nonStaticHTML)};g=function(a,b){o(b),a.innerHTML=b},i=function(a,b){o(b),a.outerHTML=b},k=function(a,b,c){o(c),a.insertAdjacentHTML(b,c)}}d.Namespace._moduleDefine(a,"WinJS.Utilities",{setInnerHTML:g,setInnerHTMLUnsafe:h,setOuterHTML:i,setOuterHTMLUnsafe:j,insertAdjacentHTML:k,insertAdjacentHTMLUnsafe:l})}),define("WinJS/Utilities/_Select",["exports","../Core/_Base","./_SafeHtml"],function(a,b,c){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_Select:b.Namespace._lazy(function(){function a(a){return a.replace(h,function(a){return i[a]||""})}function d(a){return a.replace(j,"")}function e(a){return this[a]}function f(){return this.length}function g(a){return a.getValue||(a.getValue=e),a.getLength||(a.getLength=f),a}var h=/[&<>'"]/g,i={"&":"&","<":"<",">":">","'":"'",'"':"""},j=/[\u200e\u200f]/g;return b.Class.define(function(a,b){this._dataSource=g(b.dataSource),this._index=b.index||0,this._domElement=a,this._domElement.tabIndex=0,b.disabled&&this.setDisabled(b.disabled);var c=this;this._domElement.addEventListener("change",function(){c._index=c._domElement.selectedIndex},!1),this._createSelectElement()},{_index:0,_dataSource:null,dataSource:{get:function(){return this._dataSource},set:function(a){this._dataSource=g(a),this._domElement&&this._createSelectElement()}},setDisabled:function(a){a?this._domElement.setAttribute("disabled","disabled"):this._domElement.removeAttribute("disabled")},_createSelectElement:function(){for(var b=this._dataSource.getLength(),e="",f=0;b>f;f++){var g=""+this._dataSource.getValue(f),h=a(g),i=d(h);e+=""}c.setInnerHTMLUnsafe(this._domElement,e),this._domElement.selectedIndex=this._index},index:{get:function(){return Math.max(0,Math.min(this._index,this._dataSource.getLength()-1))},set:function(a){if(this._index!==a){this._index=a;var b=this._domElement;b&&b.selectedIndex!==a&&(b.selectedIndex=a)}}},value:{get:function(){return this._dataSource.getValue(this.index)}}})})})}),define("WinJS/Utilities/_Telemetry",["exports"],function(a){"use strict";a.send=function(a,b){}}),define("WinJS/Utilities/_UI",["exports","../Core/_BaseCoreUtils","../Core/_Base"],function(a,b,c){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{eventHandler:function(a){return b.markSupportedForProcessing(a)},Orientation:{horizontal:"horizontal",vertical:"vertical"},CountResult:{unknown:"unknown"},CountError:{noResponse:"noResponse"},DataSourceStatus:{ready:"ready",waiting:"waiting",failure:"failure"},FetchError:{noResponse:"noResponse",doesNotExist:"doesNotExist"},EditError:{noResponse:"noResponse",canceled:"canceled",notPermitted:"notPermitted",noLongerMeaningful:"noLongerMeaningful"},ObjectType:{item:"item",groupHeader:"groupHeader",header:"header",footer:"footer"},SelectionMode:{none:"none",single:"single",multi:"multi"},TapBehavior:{directSelect:"directSelect",toggleSelect:"toggleSelect",invokeOnly:"invokeOnly",none:"none"},SwipeBehavior:{select:"select",none:"none"},GroupHeaderTapBehavior:{invoke:"invoke",none:"none"}})}),define("WinJS/Utilities/_Xhr",["../Core/_Global","../Core/_Base","../Promise","../Scheduler"],function(a,b,c,d){"use strict";function e(a,b,c){d.schedule(function(){a(b)},c,null,"WinJS.xhr")}function f(){}function g(b){var g;return new c(function(c,i,j){var k=d.currentPriority;g=new a.XMLHttpRequest;var l=!1,m=h.exec(b.url.toLowerCase());m?"file"===m[1]&&(l=!0):"file:"===a.location.protocol&&(l=!0),g.onreadystatechange=function(){return g._canceled?void(g.onreadystatechange=f):void(4===g.readyState?(g.status>=200&&g.status<300||l&&0===g.status?e(c,g,k):e(i,g,k),g.onreadystatechange=f):e(j,g,k))},g.open(b.type||"GET",b.url,!0,b.user,b.password),g.responseType=b.responseType||"",Object.keys(b.headers||{}).forEach(function(a){g.setRequestHeader(a,b.headers[a])}),b.customRequestInitializer&&b.customRequestInitializer(g),void 0===b.data?g.send():g.send(b.data)},function(){g.onreadystatechange=f,g._canceled=!0,g.abort()})}var h=/^(\w+)\:\/\//;return b.Namespace.define("WinJS",{xhr:g}),g}),define("WinJS/Utilities",["./Utilities/_Control","./Utilities/_Dispose","./Utilities/_ElementListUtilities","./Utilities/_ElementUtilities","./Utilities/_Hoverable","./Utilities/_ItemsManager","./Utilities/_KeyboardBehavior","./Utilities/_ParallelWorkQueue","./Utilities/_SafeHtml","./Utilities/_Select","./Utilities/_TabContainer","./Utilities/_Telemetry","./Utilities/_UI","./Utilities/_VersionManager","./Utilities/_Xhr"],function(){}),define("WinJS/XYFocus",["require","exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Utilities/_ElementUtilities","./Core/_Events","./ControlProcessor/_OptionsParser"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){var c=l(a,b);return c?c.target:null}function j(a,b){var d=i(a,b);if(d){var e=c.document.activeElement;if(o(d,-1))return K.dispatchEvent(B.focusChanged,{previousFocusElement:e,keyCode:-1}),d}return null}function k(a,d,e,g){function h(a,b){var c=m();a===A.left||a===A.right?(c.top=Math.max(b.targetRect.top,b.referenceRect.top,G?G.top:Number.MIN_VALUE),c.bottom=Math.min(b.targetRect.bottom,b.referenceRect.bottom,G?G.bottom:Number.MAX_VALUE),c.bottom<=c.top&&(c.top=b.targetRect.top,c.bottom=b.targetRect.bottom),c.height=c.bottom-c.top,c.width=Number.MAX_VALUE,c.left=Number.MIN_VALUE,c.right=Number.MAX_VALUE):(c.left=Math.max(b.targetRect.left,b.referenceRect.left,G?G.left:Number.MIN_VALUE),c.right=Math.min(b.targetRect.right,b.referenceRect.right,G?G.right:Number.MAX_VALUE),c.right<=c.left&&(c.left=b.targetRect.left,c.right=b.targetRect.right),c.width=c.right-c.left,c.height=Number.MAX_VALUE,c.top=Number.MIN_VALUE,c.bottom=Number.MAX_VALUE),G=c}if(e||c.document.activeElement!==E)G=null,E=null,F=null;else if(E&&F){var i=n(E.getBoundingClientRect());i.left===F.left&&i.top===F.top||(G=null,E=null,F=null)}var j=c.document.activeElement,k=l(a,{focusRoot:b.focusRoot,historyRect:G,referenceElement:E,referenceRect:e});if(k&&o(k.target,d)){if(h(a,k),E=k.target,F=k.targetRect,f.hasClass(k.target,y.toggleMode)&&f.removeClass(k.target,y.toggleModeActive),"IFRAME"===k.target.tagName){var p=k.target;if(I.isXYFocusEnabled(p)){var q=n({left:k.referenceRect.left-k.targetRect.left,top:k.referenceRect.top-k.targetRect.top,width:k.referenceRect.width,height:k.referenceRect.height}),r={};r[z.messageDataProperty]={type:z.dFocusEnter,direction:a,referenceRect:q},p.contentWindow.postMessage(r,"*")}}return K.dispatchEvent(B.focusChanged,{previousFocusElement:j,keyCode:d}),!0}if(!g&&top!==window){var q=e;q||(q=c.document.activeElement?n(c.document.activeElement.getBoundingClientRect()):m());var r={};return r[z.messageDataProperty]={type:z.dFocusExit,direction:a,referenceRect:q},c.parent.postMessage(r,"*"),!0}return!1}function l(a,d){function e(a,b,c,d){if(a>=d||c>=b)return 0;var e=Math.min(b,d)-Math.max(a,c),f=Math.min(d-c,b-a);return 0===f?0:e/f}function f(a,b,c,d,f){var g,h,i=0,j=0,k=0;switch(a){case A.left:if(f.left>=d.left)break;g=e(d.top,d.bottom,f.top,f.bottom),h=d.left-f.right,g>0?k=e(c.top,c.bottom,f.top,f.bottom):j=d.bottom<=f.top?f.top-d.bottom:d.top-f.bottom;break;case A.right:if(f.right<=d.right)break;g=e(d.top,d.bottom,f.top,f.bottom),h=f.left-d.right,g>0?k=e(c.top,c.bottom,f.top,f.bottom):j=d.bottom<=f.top?f.top-d.bottom:d.top-f.bottom;break;case A.up:if(f.top>=d.top)break;g=e(d.left,d.right,f.left,f.right),h=d.top-f.bottom,g>0?k=e(c.left,c.right,f.left,f.right):j=d.right<=f.left?f.left-d.right:d.left-f.right;break;case A.down:if(f.bottom<=d.bottom)break;g=e(d.left,d.right,f.left,f.right),h=f.top-d.bottom,g>0?k=e(c.left,c.right,f.left,f.right):j=d.right<=f.left?f.left-d.right:d.left-f.right}return h>=0&&(h=b-h,j=b-j,h>=0&&j>=0&&(h+=h*g,i=h*D.primaryAxisDistanceWeight+j*D.secondaryAxisDistanceWeight+k*D.percentInHistoryShadowWeight)),i}function g(a,b){var d,e;return(!a&&!b||a&&!a.parentNode)&&c.document.activeElement!==c.document.body&&(a=c.document.activeElement),a?(d=a,e=n(d.getBoundingClientRect())):e=b?n(b):m(),{element:d,rect:e}}d=d||{},d.focusRoot=d.focusRoot||b.focusRoot||c.document.body,d.historyRect=d.historyRect||m();var i=Math.max(c.screen.availHeight,c.screen.availWidth),j=g(d.referenceElement,d.referenceRect);if(j.element){var k=j.element.getAttribute(x.focusOverride)||j.element.getAttribute(x.focusOverrideLegacy);if(k){var l=h.optionsParser(k),o=l[a]||l[a[0].toUpperCase()+a.substr(1)];if(o){for(var q,s=j.element;!q&&s;)q=s.querySelector(o),s=s.parentElement;if(q)return q===c.document.activeElement?null:{target:q,targetRect:n(q.getBoundingClientRect()),referenceRect:j.rect,usedOverride:!0}}}}for(var t={element:null,rect:null,score:0},u=d.focusRoot.querySelectorAll("*"),v=0,w=u.length;w>v;v++){var y=u[v];if(j.element!==y&&p(y)&&!r(y)){var z=n(y.getBoundingClientRect());if(0!==z.width&&0!==z.height){var B=f(a,i,d.historyRect,j.rect,z);B>t.score&&(t.element=y,t.rect=z,t.score=B)}}}return t.element?{target:t.element,targetRect:t.rect,referenceRect:j.rect,usedOverride:!1}:null}function m(){return{top:-1,bottom:-1,right:-1,left:-1,height:0,width:0}}function n(a){return{top:Math.floor(a.top),bottom:Math.floor(a.top+a.height),right:Math.floor(a.left+a.width),left:Math.floor(a.left),height:Math.floor(a.height),width:Math.floor(a.width)}}function o(a,b){var d=K.dispatchEvent(B.focusChanging,{nextFocusElement:a,keyCode:b});return d||a.focus(),c.document.activeElement===a}function p(a){var b=a.tagName;if(!a.hasAttribute("tabindex")&&-1===C.indexOf(b)&&!f.hasClass(a,y.focusable))return!1;if("IFRAME"===b&&!I.isXYFocusEnabled(a))return!1;if("DIV"===b&&a.winControl&&a.winControl.disabled)return!1;var c=f._getComputedStyle(a);return"-1"!==a.getAttribute("tabIndex")&&"none"!==c.display&&"hidden"!==c.visibility&&!a.disabled}function q(a){for(var b=a.parentElement;b&&!s(b);)b=b.parentElement;return b}function r(a){var b=q(a);return b&&!f.hasClass(b,y.toggleModeActive)}function s(a){if(f.hasClass(c.document.body,y.xboxPlatform))return!1;if(f.hasClass(a,y.toggleMode))return!0;if("INPUT"===a.tagName){var b=a.type.toLowerCase();if("date"===b||"datetime"===b||"datetime-local"===b||"email"===b||"month"===b||"number"===b||"password"===b||"range"===b||"search"===b||"tel"===b||"text"===b||"time"===b||"url"===b||"week"===b)return!0}else if("TEXTAREA"===a.tagName)return!0;return!1}function t(a){var b=!1,c=!1,d=!1;a&&(b=f._matchesSelector(a,"."+y.suspended+", ."+y.suspended+" *"),c=s(a),d=f.hasClass(a,y.toggleModeActive));var e=H.RestState;return b?e=H.SuspendedState:c&&(e=d?H.ToggleModeActiveState:H.ToggleModeRestState),e}function u(a){if(!a.defaultPrevented){var c=t(document.activeElement),d="";if(-1!==b.keyCodeMap.up.indexOf(a.keyCode)?d="up":-1!==b.keyCodeMap.down.indexOf(a.keyCode)?d="down":-1!==b.keyCodeMap.left.indexOf(a.keyCode)?d="left":-1!==b.keyCodeMap.right.indexOf(a.keyCode)&&(d="right"),d){var e=c.xyFocus(d,a.keyCode);e&&a.preventDefault()}}}function v(a){if(!a.defaultPrevented){var c=document.activeElement,d=!1,e=t(document.activeElement);-1!==b.keyCodeMap.accept.indexOf(a.keyCode)?d=e.accept(c):-1!==b.keyCodeMap.cancel.indexOf(a.keyCode)&&(d=e.cancel(c)),d&&a.preventDefault()}}var w=f.Key,x={focusOverride:"data-win-xyfocus",focusOverrideLegacy:"data-win-focus"},y={focusable:"win-focusable",suspended:"win-xyfocus-suspended",toggleMode:"win-xyfocus-togglemode",toggleModeActive:"win-xyfocus-togglemode-active",xboxPlatform:"win-xbox"},z={messageDataProperty:"msWinJSXYFocusControlMessage",register:"register",unregister:"unregister",dFocusEnter:"dFocusEnter",dFocusExit:"dFocusExit"},A={left:"left",right:"right",up:"up",down:"down"},B={focusChanging:"focuschanging",focusChanged:"focuschanged"},C=["A","BUTTON","IFRAME","INPUT","SELECT","TEXTAREA"],D={primaryAxisDistanceWeight:30,secondaryAxisDistanceWeight:20,percentInHistoryShadowWeight:1e5};b.keyCodeMap={left:[],right:[],up:[],down:[],accept:[],cancel:[]},b.focusRoot,b.findNextFocusElement=i,b.moveFocus=j;var E,F,G,H;!function(a){function b(a){return a&&a.click&&a.click(),!1}function c(){for(var a=[],b=0;b=0;b--)try{var c=i[b];c.contentWindow?a(c,b):i.splice(b,1)}catch(d){i.splice(b,1)}}var i=[];a.count=b,a.getIFrameFromWindow=d,a.isXYFocusEnabled=e,a.registerIFrame=f,a.unregisterIFrame=g}(I||(I={})),c.document){b.keyCodeMap.left.push(w.GamepadLeftThumbstickLeft,w.GamepadDPadLeft,w.NavigationLeft),b.keyCodeMap.right.push(w.GamepadLeftThumbstickRight,w.GamepadDPadRight,w.NavigationRight),b.keyCodeMap.up.push(w.GamepadLeftThumbstickUp,w.GamepadDPadUp,w.NavigationUp),b.keyCodeMap.down.push(w.GamepadLeftThumbstickDown,w.GamepadDPadDown,w.NavigationDown),b.keyCodeMap.accept.push(w.GamepadA,w.NavigationAccept),b.keyCodeMap.cancel.push(w.GamepadB,w.NavigationCancel),c.addEventListener("message",function(a){var b=null;try{if(b=a.source,!b)return}catch(a){return}if(a.data&&a.data[z.messageDataProperty]){var d=a.data[z.messageDataProperty];switch(d.type){case z.register:var e=I.getIFrameFromWindow(b);e&&I.registerIFrame(e);break;case z.unregister:var e=I.getIFrameFromWindow(b);e&&I.unregisterIFrame(e);break;case z.dFocusEnter:var f=k(d.direction,-1,d.referenceRect,!0);f||(p(c.document.body)?c.document.body.focus():k(d.direction,-1));break;case z.dFocusExit:var e=I.getIFrameFromWindow(b);if(c.document.activeElement!==e)break;var g=d.referenceRect,h=e.getBoundingClientRect();g.left+=h.left,g.top+=h.top,"number"==typeof g.right&&(g.right+=h.left),"number"==typeof g.bottom&&(g.bottom+=h.top),k(d.direction,-1,g)}}}),e.ready().then(function(){if(f.hasWinRT&&c.Windows&&c.Windows.Xbox&&f.addClass(c.document.body,y.xboxPlatform),c.document.addEventListener("keydown",v,!0),c.document.addEventListener("keydown",u),c.top!==c.window){var a={};a[z.messageDataProperty]={type:z.register,version:1},c.parent.postMessage(a,"*")}});var J={focusRoot:{get:function(){return b.focusRoot},set:function(a){b.focusRoot=a}},findNextFocusElement:i,keyCodeMap:b.keyCodeMap,moveFocus:j,onfocuschanged:g._createEventProperty(B.focusChanged),onfocuschanging:g._createEventProperty(B.focusChanging),_xyFocus:k,_iframeHelper:I};J=e._merge(J,g.eventMixin),J._listeners={};var K=J;d.Namespace.define("WinJS.UI.XYFocus",J)}}),define("WinJS/Fragments",["exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Resources","./Core/_WriteProfilerMark","./Promise","./Utilities/_ElementUtilities","./Utilities/_SafeHtml","./Utilities/_Xhr"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";function m(a,c,d,e){var f=a.src,g=!f;if(g&&(f=c+"script["+d+"]"),f=f.toLowerCase(),!(f in D)){var h=null;D[f]=!0;var j=b.document.createElement("script");if(a.language&&j.setAttribute("language","javascript"),j.setAttribute("type",a.type),j.setAttribute("async","false"),a.id&&j.setAttribute("id",a.id),g){var k=a.text;h=e.then(function(){j.text=k}).then(null,function(){})}else h=new i(function(b){j.onload=j.onerror=function(){b()},j.setAttribute("src",a.src)});return C.appendChild(j),{promise:h,inline:g}}}function n(a,b,c){var d=(b+"script["+c+"]").toLowerCase();d in E||(E[d]=!0,C.appendChild(a.cloneNode(!0)))}function o(a){ +var b=a.href.toLowerCase();if(!(b in F)){F[b]=!0;var c=a.cloneNode(!1);c.href=a.href,C.appendChild(c)}}function p(a,c){if("string"==typeof a)return r(a,c);var d={docfrag:j.data(a).docFragment};if(!d.docfrag){for(var e=b.document.createDocumentFragment();a.childNodes.length>0;)e.appendChild(a.childNodes[0]);d.docfrag=j.data(a).docFragment=e,a.setAttribute("data-win-hasfragment","")}return c&&y(a),i.as(d)}function q(a,b){return z(a,b).then(function(){return a.document?s(b,a):a}).then(function(){return a.document&&delete a.document,a})}function r(a,b){var c=a.toLowerCase(),d=H[c];if(d)return b&&delete H[c],d.promise?d.promise:i.as(d);d={},b||(H[c]=d);var e=d.promise=q(d,a);return d.promise.then(function(){delete d.promise}),e}function s(a,c){var d=c.document,e=d.body,f=[];B(d.querySelectorAll('link[rel="stylesheet"], link[type="text/css"]'),o),B(d.getElementsByTagName("style"),function(b,c){n(b,a,c)});var g=i.as();B(d.getElementsByTagName("script"),function(b,c){var d=m(b,a,c,g);d&&(d.inline||(g=d.promise),f.push(d.promise))}),B(e.getElementsByTagName("img"),function(a){a.src=a.src}),B(e.getElementsByTagName("a"),function(a){if(""!==a.href){var b=a.getAttribute("href");b&&"#"!==b[0]&&(a.href=a.href)}});for(var h=e.getElementsByTagName("script");h.length>0;){var j=h[0];j.parentNode.removeChild(j)}return i.join(f).then(function(){for(var a=b.document.createDocumentFragment(),e=b.document.importNode(d.body,!0);e.childNodes.length>0;)a.appendChild(e.childNodes[0]);return c.docfrag=a,c})}function t(){G||(G=!0,B(C.querySelectorAll("script"),function(a){D[a.src.toLowerCase()]=!0}),B(C.querySelectorAll('link[rel="stylesheet"], link[type="text/css"]'),function(a){F[a.href.toLowerCase()]=!0}))}function u(a,b){return v(a,b,!0)}function v(a,c,d){var f=(a instanceof b.HTMLElement?e._getProfilerMarkIdentifier(a):" href='"+a+"'")+"["+ ++I+"]";return J("WinJS.UI.Fragments:render"+f+",StartTM"),t(),p(a,!d).then(function(a){var b=a.docfrag;d&&(b=b.cloneNode(!0));for(var e=b.firstChild;e;)1===e.nodeType&&(e.msParentSelectorScope=!0),e=e.nextSibling;var g;return c?(c.appendChild(b),g=c):g=b,J("WinJS.UI.Fragments:render"+f+",StopTM"),g})}function w(a,b){return v(a,b,!1)}function x(a){return t(),p(a).then(function(a){return a.docfrag})}function y(a){a?"string"==typeof a?delete H[a.toLowerCase()]:(delete j.data(a).docFragment,a.removeAttribute("data-win-hasfragment")):H={}}function z(a,c){var d=b.document.implementation.createHTMLDocument("frag"),e=d.createElement("base");d.head.appendChild(e);var f=d.createElement("a");return d.body.appendChild(f),e.href=b.document.location.href,f.setAttribute("href",c),e.href=f.href,a.document=d,K(c).then(function(a){k.setInnerHTMLUnsafe(d.documentElement,a),d.head.appendChild(e)})}function A(a){return l({url:a}).then(function(a){return a.responseText})}if(b.document){var B=function(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)},C=b.document.head||b.document.getElementsByTagName("head")[0],D={},E={},F={},G=!1,H={},I=1,J=h,K=A;d.Namespace._moduleDefine(a,"WinJS.UI.Fragments",{renderCopy:u,render:w,cache:x,clearCache:y,_cacheStore:{get:function(){return H}},_getFragmentContents:{get:function(){return K},set:function(a){K=a}},_writeProfilerMark:{get:function(){return J},set:function(a){J=a}}})}}),define("WinJS/Application/_State",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Promise"],function(a,b,c,d,e,f){"use strict";function g(){var b,e,f,g=d.Class.define(function(a){this.folder=a,this._path=a.path,a.tryGetItemAsync&&(this._tryGetItemAsync=a.tryGetItemAsync.bind(a))},{_tryGetItemAsync:function(a){return this.folder.getFileAsync(a).then(null,function(){return!1})},exists:function(a){return this._tryGetItemAsync(a).then(function(a){return!!a})},remove:function(a){return this._tryGetItemAsync(a).then(function(a){return a?a.deleteAsync():!1}).then(null,function(){return!1})},writeText:function(a,b){var d=c.Windows.Storage,e=this;return e.folder.createFileAsync(a,d.CreationCollisionOption.openIfExists).then(function(a){return d.FileIO.writeTextAsync(a,b)})},readText:function(a,b){var d=c.Windows.Storage;return this._tryGetItemAsync(a).then(function(a){return a?d.FileIO.readTextAsync(a):b}).then(null,function(){return b})}},{supportedForProcessing:!1});d.Namespace._moduleDefine(a,"WinJS.Application",{local:{get:function(){return b||(b=new g(c.Windows.Storage.ApplicationData.current.localFolder)),b}},temp:{get:function(){return e||(e=new g(c.Windows.Storage.ApplicationData.current.temporaryFolder)),e}},roaming:{get:function(){return f||(f=new g(c.Windows.Storage.ApplicationData.current.roamingFolder)),f}}})}function h(){var b=d.Class.define(function(){this.storage={}},{exists:function(a){return f.as(void 0!==this.storage[a])},remove:function(a){return delete this.storage[a],f.as()},writeText:function(a,b){return this.storage[a]=b,f.as(b.length)},readText:function(a,b){var c=this.storage[a];return f.as("string"==typeof c?c:b)}},{supportedForProcessing:!1});d.Namespace._moduleDefine(a,"WinJS.Application",{local:new b,temp:new b,roaming:new b})}c.Windows.Storage.FileIO&&c.Windows.Storage.ApplicationData&&c.Windows.Storage.CreationCollisionOption?g():h();var i={};d.Namespace._moduleDefine(a,"WinJS.Application",{sessionState:{get:function(){return i},set:function(a){i=a}},_loadState:function(b){return 3===b.previousExecutionState?a.local.readText("_sessionState.json","{}").then(function(b){var c=JSON.parse(b);c&&Object.keys(c).length>0&&(a._sessionStateLoaded=!0),a.sessionState=c}).then(null,function(){a.sessionState={}}):f.as()},_oncheckpoint:function(c,d){if(!(b.MSApp&&b.MSApp.getViewOpener&&b.MSApp.getViewOpener())){var e=a.sessionState;if(e&&Object.keys(e).length>0||a._sessionStateLoaded){var f;try{f=JSON.stringify(e)}catch(g){f="",d.queueEvent({type:"error",detail:g})}c.setPromise(a.local.writeText("_sessionState.json",f).then(null,function(a){d.queueEvent({type:"error",detail:a})}))}}}})}),define("WinJS/Navigation",["exports","./Core/_Base","./Core/_Events","./Core/_WriteProfilerMark","./Promise"],function(a,b,c,d,e){"use strict";var f="navigated",g="navigating",h="beforenavigate",i=b.Class.mix(b.Class.define(null,{},{supportedForProcessing:!1}),c.eventMixin),j=new i,k={backStack:[],current:{location:"",initialPlaceholder:!0},forwardStack:[]},l=c._createEventProperty,m=function(a){return d("WinJS.Navigation:navigation,StartTM"),e.as().then(function(){var b=e.as(),c=j.dispatchEvent(h,{setPromise:function(a){b=b.then(function(){return a})},location:a.location,state:a.state});return b.then(function(a){return c||a})})},n=function(a){return e.as().then(function(){var b=e.as();return j.dispatchEvent(g,{setPromise:function(a){b=b.then(function(){return a})},location:k.current.location,state:k.current.state,delta:a}),b})},o=function(a,b){d("WinJS.Navigation:navigation,StopTM");var c=e.as(),g={value:a,location:k.current.location,state:k.current.state,setPromise:function(a){c=c.then(function(){return a})}};return!a&&b&&(g.error=b),j.dispatchEvent(f,g),c},p=function(a,b,c,d){return a=Math.min(a,b.length),a>0?m(b[b.length-a]).then(function(e){if(e)return!1;for(c.push(k.current);a-1>0;)a--,c.push(b.pop());return k.current=b.pop(),n(d).then(o,function(a){throw o(void 0,a||!0),a}).then(function(){return!0})}):e.wrap(!1)};b.Namespace._moduleDefine(a,"WinJS.Navigation",{canGoForward:{get:function(){return k.forwardStack.length>0}},canGoBack:{get:function(){return k.backStack.length>0}},location:{get:function(){return k.current.location}},state:{get:function(){return k.current.state},set:function(a){k.current.state=a}},history:{get:function(){return k},set:function(a){k=a,k.backStack=k.backStack||[],k.forwardStack=k.forwardStack||[],k.current=k.current||{location:"",initialPlaceholder:!0},k.current.location=k.current.location||""}},forward:function(a){return a=a||1,p(a,k.forwardStack,k.backStack,a)},back:function(a){return a=a||1,p(a,k.backStack,k.forwardStack,-a)},navigate:function(a,b){var c={location:a,state:b};return m(c).then(function(a){return a?!1:(k.current.initialPlaceholder||k.backStack.push(k.current),k.forwardStack=[],k.current=c,n().then(o,function(a){throw o(void 0,a||!0),a}).then(function(){return!0}))})},addEventListener:function(a,b,c){j.addEventListener(a,b,c)},removeEventListener:function(a,b,c){j.removeEventListener(a,b,c)},onnavigated:l(f),onnavigating:l(g),onbeforenavigate:l(h)})}),define("WinJS/Application",["exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_Events","./Core/_Log","./Core/_WriteProfilerMark","./Application/_State","./Navigation","./Promise","./_Signal","./Scheduler","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";function n(a){var c;try{var d=[];c=JSON.stringify(a,function(a,c){return c===b?"[window]":c instanceof b.HTMLElement?"[HTMLElement]":"function"==typeof c?"[function]":"object"==typeof c?null===c?c:-1===d.indexOf(c)?(d.push(c),c):"[circular]":c})}catch(e){c=JSON.stringify("[object]")}return c}function o(c){if(f.log&&f.log(n(c),"winjs","error"),b.document&&a._terminateApp){var d=c.detail,e=d&&(d.number||d.exception&&(d.exception.number||d.exception.code)||d.error&&d.error.number||d.errorCode||0),g={description:n(d),stack:d&&(d.stack||d.exception&&(d.exception.stack||d.exception.message)||d.error&&d.error.stack||null),errorNumber:e,number:e};a._terminateApp(g,c)}}function p(a,c){b.MSApp&&b.MSApp.terminateApp(a)}function q(a){var b="def"+ma++;return{deferral:la[b]=a.getDeferral(),id:b}}function r(a,b){b&&(a=la[b],delete la[b]),a&&a.complete()}function s(){la&&(Object.keys(la).forEach(function(a){la[a].complete()}),la={})}function t(a){function b(b){return g("WinJS.Application:Event_"+a.type+",StopTM"),a._deferral&&r(a._deferral,a._deferralID),b}g("WinJS.Application:Event_"+a.type+",StartTM");var c=j.as();a.setPromise=function(a){c=c.then(function(){return a})},a._stoppedImmediatePropagation=!1,a.stopImmediatePropagation=function(){a._stoppedImmediatePropagation=!0},a.detail=a.detail||{},"object"==typeof a.detail&&(a.detail.setPromise=a.setPromise);try{if(ja._listeners){var d=!1;if(h=ja._listeners[a.type])for(var e=0,f=h.length;f>e&&!a._stoppedImmediatePropagation;e++)d=h[e].listener(a)||d}var h=pa[a.type];h&&h.forEach(function(b){b(a,d)})}catch(i){a.type===V?o(a):y({type:V,detail:i})}return c.then(b,function(a){return a=b(a),a&&"Canceled"===a.name?void 0:j.wrapError(a)})}function u(){return da||(da=new k,da.promise.done(function(){da=null},function(){da=null})),da}function v(a){function b(a){y({type:V,detail:a})}return 0===a.length?u().promise:t(a.shift()).then(null,b)}function w(a){function b(){return w}var c=a.job._queue;0===c.length&&ba.length>0&&(c=a.job._queue=z()),a.setPromise(v(c).then(b,b))}function x(){function a(){d=!0}for(var b,c=[],d=!0;d;)0===c.length&&ba.length>0&&(c=z()),d=!1,b=v(c),b.done(a,a);ca=l.schedule(function(a){function c(){return w}a.setPromise(b.then(c,c))},l.Priority.high,null,"WinJS.Application._pumpEventQueue"),ca._queue=c}function y(a){g("WinJS.Application:Event_"+a.type+" queued,Info"),ba.push(a),ea&&da&&da.complete(w)}function z(){var a=ba;return ba=[],a}function A(a){var b=q(a.activatedOperation);h._loadState(a).then(function(){y({type:S,detail:a,_deferral:b.deferral,_deferralID:b.id})})}function B(a){var b=q(a.suspendingOperation);y({type:Q,_deferral:b.deferral,_deferralID:b.id})}function C(){if(y({type:T}),!b.document||!c.Windows.UI.WebUI.WebUIApplication){var a={arguments:"",kind:"Windows.Launch",previousExecutionState:0};h._loadState(a).then(function(){y({type:S,detail:a})})}}function D(){s(),y({type:R})}function E(b){var c={};for(var d in b)c[d]=b[d];var e,f=!0,g=a._terminateApp;try{a._terminateApp=function(a,b){f=!1,e=a,g!==p&&g(a,b)},t({type:V,detail:{error:c,errorLine:b.lineno,errorCharacter:b.colno,errorUrl:b.filename,errorMessage:b.message}})}finally{a._terminateApp=g}return f}function F(a){var b=a.detail,c=b.id;if(b.parent)return void(b.handler&&P&&delete P[c]);if(b.exception instanceof Error){var d={stack:b.exception.stack,message:b.exception.message};b.exception=d}var e=!P;P=P||[],P[c]=b,e&&l.schedule(function(){var a=P;P=null,a.forEach(function(a){y({type:V,detail:a})})},l.Priority.high,null,"WinJS.Application._queuePromiseErrors")}function G(a){var b={e:a,applicationcommands:void 0};ja.dispatchEvent(W,b)}function H(a){var b={type:X};Object.defineProperty(b,"_winRTBackPressedEvent",{value:a,enumerable:!1}),t(b)}function I(){t({type:Y})}function J(a){t({type:$,kind:a.kind})}function K(a){t({type:_,kind:a.kind})}function L(a){t({type:aa,kind:a.kind})}function M(){var a=c.Windows.UI.Core.SystemNavigationManager;return ha&&a?a.getForCurrentView():null}function N(){if(!fa){if(fa=!0,b.addEventListener("beforeunload",D,!1),b.document){if(b.addEventListener("error",E,!1),c.Windows.UI.WebUI.WebUIApplication){var a=c.Windows.UI.WebUI.WebUIApplication;a.addEventListener("activated",A,!1),a.addEventListener("suspending",B,!1)}if(c.Windows.UI.ApplicationSettings.SettingsPane){var d=c.Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();d.addEventListener("commandsrequested",G)}var e=M();if(e?e.addEventListener("backrequested",H):c.Windows.Phone.UI.Input.HardwareButtons&&c.Windows.Phone.UI.Input.HardwareButtons.addEventListener("backpressed",H),c.Windows.UI.Input.EdgeGesture){var f=c.Windows.UI.Input.EdgeGesture.getForCurrentView();f.addEventListener("starting",J),f.addEventListener("completed",K),f.addEventListener("canceled",L)}}j.addEventListener("error",F)}}function O(){if(fa){if(fa=!1,b.removeEventListener("beforeunload",D,!1),b.document){if(c.Windows.UI.WebUI.WebUIApplication){b.removeEventListener("error",E,!1);var a=c.Windows.UI.WebUI.WebUIApplication;a.removeEventListener("activated",A,!1),a.removeEventListener("suspending",B,!1)}if(c.Windows.UI.ApplicationSettings.SettingsPane){var d=c.Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();d.removeEventListener("commandsrequested",G)}var e=M();if(e?e.removeEventListener("backrequested",H):c.Windows.Phone.UI.Input.HardwareButtons&&c.Windows.Phone.UI.Input.HardwareButtons.removeEventListener("backpressed",H),c.Windows.UI.Input.EdgeGesture){var f=c.Windows.UI.Input.EdgeGesture.getForCurrentView();f.removeEventListener("starting",J),f.removeEventListener("completed",K),f.removeEventListener("canceled",L)}}j.removeEventListener("error",F)}}b.Debug&&(b.Debug.setNonUserCodeExceptions=!0);var P,Q="checkpoint",R="unload",S="activated",T="loaded",U="ready",V="error",W="settings",X="backclick",Y="beforerequestingfocusonkeyboardinput",Z="requestingfocusonkeyboardinput",$="edgystarting",_="edgycompleted",aa="edgycanceled",ba=[],ca=null,da=null,ea=!1,fa=!1,ga=b.Symbol,ha=!!ga&&"symbol"==typeof ga.iterator,ia=d.Class.mix(d.Class.define(null,{},{supportedForProcessing:!1}),e.eventMixin),ja=new ia,ka=e._createEventProperty,la={},ma=0,na={_registered:!1,updateRegistration:function(){var a=ja._listeners&&ja._listeners[Z]||[];!na._registered&&a.length>0&&(na._updateKeydownCaptureListeners(b.top,!0),na._registered=!0),na._registered&&0===a.length&&(na._updateKeydownCaptureListeners(b.top,!1),na._registered=!1)},_keydownCaptureHandler:function(a){na._registered&&na._shouldKeyTriggerTypeToSearch(a)&&I()},_frameLoadCaptureHandler:function(a){na._registered&&na._updateKeydownCaptureListeners(a.target.contentWindow,!0)},_updateKeydownCaptureListeners:function(a,b){if(a){try{b?a.document.addEventListener("keydown",na._keydownCaptureHandler,!0):a.document.removeEventListener("keydown",na._keydownCaptureHandler,!0)}catch(c){}if(a.frames)for(var d=0,e=a.frames.length;e>d;d++){var f=a.frames[d];na._updateKeydownCaptureListeners(f,b);try{b?f.frameElement&&f.frameElement.addEventListener("load",na._frameLoadCaptureHandler,!0):f.frameElement&&f.frameElement.removeEventListener("load",na._frameLoadCaptureHandler,!0)}catch(c){}}}},_shouldKeyTriggerTypeToSearch:function(a){var b=!1;if(!a.metaKey&&(!a.ctrlKey&&!a.altKey||a.getModifierState&&a.getModifierState("AltGraph")))switch(a.keyCode){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 219:case 220:case 221:case 222:case 223:case 226:case 229:case 231:b=!0}return b}},oa=p,pa={activated:[function(){y({type:U})}],checkpoint:[function(b){h._oncheckpoint(b,a)}],error:[function(a,b){b||o(a)}],backclick:[function(a,b){b?a._winRTBackPressedEvent.handled=!0:i.canGoBack&&(i.back(),a._winRTBackPressedEvent.handled=!0)}],beforerequestingfocusonkeyboardinput:[function(a,b){b||t({type:Z})}]};b.document&&b.document.addEventListener("DOMContentLoaded",C,!1);var qa=d.Namespace._moduleDefine(a,"WinJS.Application",{stop:function(){qa.onactivated=null,qa.oncheckpoint=null,qa.onerror=null,qa.onloaded=null,qa.onready=null,qa.onsettings=null,qa.onunload=null,qa.onbackclick=null,ja=new ia,h.sessionState={},ea=!1,z(),ca&&ca.cancel(),ca=null,da=null,O(),na.updateRegistration(),s()},addEventListener:function(a,b,c){ja.addEventListener(a,b,c),a===Z&&na.updateRegistration()},removeEventListener:function(a,b,c){ja.removeEventListener(a,b,c),a===Z&&na.updateRegistration()},checkpoint:function(){y({type:Q})},start:function(){N(),ea=!0,x()},queueEvent:y,_dispatchEvent:t,_terminateApp:{get:function(){return oa},set:function(a){oa=a}},_applicationListener:d.Namespace._lazy(function(){return new m._GenericListener("Application",qa)}),oncheckpoint:ka(Q),onunload:ka(R),onactivated:ka(S),onloaded:ka(T),onready:ka(U),onsettings:ka(W),onerror:ka(V),onbackclick:ka(X)})}),define("WinJS/Animations/_Constants",["exports","../Core/_Base"],function(a,b){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{PageNavigationAnimation:{turnstile:"turnstile",slide:"slide",enterPage:"enterPage",continuum:"continuum"}})}),define("WinJS/Animations/_TransitionAnimation",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Promise","../Scheduler","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){return Array.isArray(a)||a instanceof b.NodeList||a instanceof b.HTMLCollection?a:a?[a]:[]}function j(){return++B,"WinJSUIAnimation"+B}function k(a){return"WinJSUIAnimation"===a.substring(0,16)}function l(a){h._getComputedStyle(a,null).opacity}function m(b,c){return function(d){var e={};for(var f in d){var g=d[f];"function"==typeof g&&(g=g(b,c)),e[f]=g}return e.exactTiming||(e.delay+=a._libraryDelay),e}}function n(a,b){var c=a+"|"+b,d=C[c];d&&d(D)}function o(a,b,c){C[a+"|"+b]=c}function p(a,b){delete C[a+"|"+b]}function q(a,b,c,d,e){var f=e.styleCaches[b]||new F(b,e,c);f.cref+=d.length,d.forEach(function(a){n(b,a.property)}),(e.isTransition||d.some(function(a){return f.removed[a[e.nameField]]}))&&(l(a),f.removed={});var g=d.map(function(a){return a[e.nameField]+" "+e.props.map(function(b){return(b[1]?a[b[1]]:"")+b[2]}).join(" ")}).join(", "),h=d.map(function(a){return a[e.nameField]}).join(", ");return""!==f.names&&(g=f.names+", "+g,h=f.names+", "+h),c[e.shorthandProp]=g,f.names=h,f}function r(a,b){b?a():g.schedule(function(){a()},g.Priority.normal,null,"WinJS.UI._Animation._completeAnimationPromise")}function s(a,c,d,g,i){if(d.length>0){var j=a.style,k=h._uniqueID(a);if(y||(y=b.document.createElement("DIV").style),d=d.map(m(c,a)),d.forEach(function(a){var b=e._getCamelCasedName(a.property);a.hasOwnProperty("from")&&(j[b]=a.from),y[b]=a.to,a.to=y[b],a.propertyScriptName=b}),i){var l=q(a,k,j,d,G),n=a.disabled?b.document:a;d.forEach(function(c){var d;g.push(new f(function(f){d=function(d){g&&(n.removeEventListener(e._browserEventEquivalents.transitionEnd,g,!1),p(k,c.property),l.removeName(j,c.propertyScriptName,d?a:null,c.skipStylesReset),b.clearTimeout(i),g=null),r(f,d===E)};var g=function(b){b.target===a&&b.propertyName===c.property&&d()};o(k,c.property,d),n.addEventListener(e._browserEventEquivalents.transitionEnd,g,!1);var h=0;j[c.propertyScriptName]!==c.to&&(j[c.propertyScriptName]=c.to,h=50);var i=b.setTimeout(function(){i=b.setTimeout(d,c.delay+c.duration)},h)},function(){d(E)}))})}else d.forEach(function(a){j[a.propertyScriptName]=a.to})}}function t(a,c,d,g,i){if(i&&d.length>0){var k=a.style,l=h._uniqueID(a);d=d.map(m(c,a));var n,s=a.disabled?b.document:a;d.forEach(function(a){if(a.keyframe)a.keyframe=A.animationPrefix+a.keyframe;else{n||(n=b.document.createElement("STYLE"),b.document.documentElement.appendChild(n)),a.keyframe=j();var c="@"+A.keyframes+" "+a.keyframe+" { from {"+a.property+":"+a.from+";} to {"+a.property+":"+a.to+";}}";n.sheet.insertRule(c,0)}});var t=q(a,l,k,d,H),u=[],v=[];d.forEach(function(c){var d;v.push(new f(function(f){d=function(a){g&&(s.removeEventListener(e._browserEventEquivalents.animationEnd,g,!1),b.clearTimeout(h),g=null),r(f,a===E)};var g=function(b){b.target===a&&b.animationName===c.keyframe&&d()};o(l,c.property,d),u.push({id:l,property:c.property,style:k,keyframe:c.keyframe});var h=b.setTimeout(function(){h=b.setTimeout(d,c.delay+c.duration)},50);s.addEventListener(e._browserEventEquivalents.animationEnd,g,!1)},function(){d(E)}))}),n&&b.setTimeout(function(){var a=n.parentElement;a&&a.removeChild(n)},50);var w=function(){for(var a=0;a=0&&(f.splice(g,1),this.names=e=f.join(", "),""===e&&this.desc.isTransition&&(e="none")),--this.cref?(a[this.desc.nameProp]=e,k(b)||(this.removed[b]=!0)):(c&&"none"===e&&(a[this.desc.nameProp]=e,l(c)),this.destroy(a,d))}}),G={shorthandProp:A.transition.scriptName,nameProp:A["transition-property"].scriptName,nameField:"property",props:[[A["transition-duration"].scriptName,"duration","ms"],[A["transition-timing-function"].scriptName,"timing",""],[A["transition-delay"].scriptName,"delay","ms"]],isTransition:!0,styleCaches:[]},H={shorthandProp:A.animation.scriptName,nameProp:A["animation-name"].scriptName,nameField:"keyframe",props:[[A["animation-duration"].scriptName,"duration","ms"],[A["animation-timing-function"].scriptName,"timing",""],[A["animation-delay"].scriptName,"delay","ms"],[A["animation-iteration-count"].scriptName,"","1"],[A["animation-direction"].scriptName,"","normal"],[A["animation-fill-mode"].scriptName,"","both"]],isTransition:!1,styleCaches:[]},I=0,J=function(){return u(),I+z.animationsEnabled>0},K=function(a){return a*L},L=1,M=0;d.Namespace._moduleDefine(a,"WinJS.UI",{disableAnimations:function(){I--},enableAnimations:function(){I++},isAnimationEnabled:{get:function(){return J},set:function(a){J=a}},_libraryDelay:{get:function(){return M},set:function(a){M=a}},executeAnimation:function(a,b){return v(a,x(b),t)},executeTransition:function(a,b){return v(a,x(b),s)},_animationTimeAdjustment:{get:function(){return K},set:function(a){K=a}}}),d.Namespace._moduleDefine(a,"WinJS.Utilities",{_fastAnimations:{get:function(){return.05===L},set:function(a){L=a?.05:1}},_slowAnimations:{get:function(){return 3===L},set:function(a){L=a?3:1}},_animationFactor:{get:function(){return L},set:function(a){L=a}}})}}),define("WinJS/Animations",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_WriteProfilerMark","./Utilities/_ElementUtilities","./Animations/_Constants","./Animations/_TransitionAnimation","./Promise"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b,c){return a.keyframe?a.keyframe:!c||a.left!==b.left||a.top!==b.top||a.rtlflip&&!b.rtlflip?null:a.rtlflip?l(c):c}function k(a,b){return b&&a.rtlflip?l(b):b}function l(a){var b=a+"-rtl";return function(c,d){return"ltr"===f._getComputedStyle(d).direction?a:b}}function m(a){return Array.isArray(a)||a instanceof b.NodeList||a instanceof b.HTMLCollection?a:a?[a]:[]}function n(a){for(var b=[],c=0;cg;g++)b*=c,f+=b;return d&&(f=Math.min(f,d)),f}}function p(a,b){for(var c=0;cf;f++)k.push(a[f]),l.push(d),m.push(e);else k.push(a),l.push(d),m.push(e)}}var k=[],l=[],m=[],n=200,o=0!==b?0>b?-n:n:0,p=0!==c?0>c?-n:n:0;return j(e,b,c),j(f,o,p),j(g,2*o,2*p),j(i,3*o,3*p),l=new F(l),m=new F(m),h.executeTransition(k,[{property:D.cssName,delay:0,duration:350,timing:a,from:u(l),to:u(m)},{property:"opacity",delay:0,duration:350,timing:d?"steps(1, start)":"steps(1, end)",from:d?0:1,to:d?1:0}])}function s(a,b,c){function e(){t(a)}a=m(a),b=m(b);for(var g=0,i=a.length;i>g;g++){var j="rtl"===f._getComputedStyle(a[g]).direction;a[g].style[d._browserStyleEquivalents["transform-origin"].scriptName]=b[Math.min(b.length-1,g)][j?"rtl":"ltr"]}return h.executeTransition(a,c).then(e,e)}function t(a){for(var b=0,c=a.length;c>b;b++)a[b].style[d._browserStyleEquivalents["transform-origin"].scriptName]="",a[b].style[D.scriptName]="",a[b].style.opacity=""}function u(a,b){return b=b||"",function(c,d){var e=a.getOffset(c),g=e.left;return e.rtlflip&&"rtl"===f._getComputedStyle(d).direction&&(g=g.toString(),g="-"===g.charAt(0)?g.substring(1):"-"+g),b+"translate("+g+", "+e.top+")"}}function v(a,b){return b=b||"",function(c){var d=a[c];return"translate("+d.left+"px, "+d.top+"px) "+b}}function w(a,b){return function(c){var d=a[c];return 0===d.left&&0===d.top?b:null}}function x(a,b,c,d){var e=m(b),f=m(c),g=n(f);return new a(e,f,g,d)}function y(a){for(var c=[],d=0,e=a.length;e>d;d++){var f=a[d].getBoundingClientRect(),g=-(40+f.left),h=40+(b.innerWidth-f.right),i=b.innerHeight/2-f.top;c.push({ltr:g+"px "+i+"px",rtl:h+"px "+i+"px"})}return c}function z(a){e("WinJS.UI.Animation:"+a)}function A(a,c){var e=c.duration*h._animationFactor,f=d._browserStyleEquivalents.transition.scriptName;a.style[f]=e+"ms "+D.cssName+" "+c.timing,a.style[D.scriptName]=c.to;var g;return new i(function(c){var h=function(b){b.target===a&&b.propertyName===D.cssName&&g()},i=!1;g=function(){i||(b.clearTimeout(j),a.removeEventListener(d._browserEventEquivalents.transitionEnd,h),a.style[f]="",i=!0),c()};var j=b.setTimeout(function(){j=b.setTimeout(g,e)},50);a.addEventListener(d._browserEventEquivalents.transitionEnd,h)},function(){g()})}function B(){return{defaultResizeGrowTransition:{duration:350,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)"},defaultResizeShrinkTransition:{duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)"}}}function C(a,b,c){var e=B()[c.to>c.from?"defaultResizeGrowTransition":"defaultResizeShrinkTransition"];c=d._merge(c,{duration:void 0===c.duration?e.duration:c.duration,timing:void 0===c.timing?e.timing:c.timing});var g=c.actualSize-c.from,h=c.actualSize-c.to;c.anchorTrailingEdge||(g=-g,h=-h);var i="width"===c.dimension?"translateX":"translateY",j={duration:c.duration,timing:c.timing};a.style[D.scriptName]=i+"("+g+"px)",b.style[D.scriptName]=i+"("+-g+"px)",f._getComputedStyle(a).opacity,f._getComputedStyle(b).opacity;var k=d._merge(j,{to:i+"("+h+"px)"}),l=d._merge(j,{to:i+"("+-h+"px)"});return[{element:a,transition:k},{element:b,transition:l}]}var D=d._browserStyleEquivalents.transform,E=[{top:"0px",left:"11px",rtlflip:!0}],F=c.Class.define(function(a,b,c){c=c||E,Array.isArray(a)&&a.length>0?(this.offsetArray=a,1===a.length&&(this.keyframe=j(a[0],c[0],b))):a&&a.hasOwnProperty("top")&&a.hasOwnProperty("left")?(this.offsetArray=[a],this.keyframe=j(a,c[0],b)):(this.offsetArray=c,this.keyframe=k(c[0],b))},{getOffset:function(a){return a>=this.offsetArray.length&&(a=this.offsetArray.length-1),this.offsetArray[a]}},{supportedForProcessing:!1}),G=c.Class.define(function(a,b,c){this.revealedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("expandAnimation,StartTM");var a=h.executeAnimation(this.revealedArray,{keyframe:"WinJS-opacity-in",property:"opacity",delay:this.affectedArray.length>0?200:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("expandAnimation,StopTM")})}},{supportedForProcessing:!1}),H=c.Class.define(function(a,b,c){this.hiddenArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("collapseAnimation,StartTM");var a=h.executeAnimation(this.hiddenArray,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:1,to:0}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:this.hiddenArray.length>0?167:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("collapseAnimation,StopTM")})}},{supportedForProcessing:!1}),I=c.Class.define(function(a,b,c){this.elementArray=b,this.offsetArray=c},{execute:function(){return z("repositionAnimation,StartTM"),q(this.elementArray,this.offsetArray,{property:D.cssName,delay:o(0,33,1,250),duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("repositionAnimation,StopTM")})}},{supportedForProcessing:!1}),J=c.Class.define(function(a,b,c){this.addedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("addToListAnimation,StartTM");var a=this.affectedArray.length>0?240:0,b=h.executeAnimation(this.addedArray,[{keyframe:"WinJS-scale-up",property:D.cssName,delay:a,duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"scale(0.85)",to:"none"},{keyframe:"WinJS-opacity-in",property:"opacity",delay:a,duration:120,timing:"linear",from:0,to:1}]),c=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([b,c]).then(function(){z("addToListAnimation,StopTM")})}},{supportedForProcessing:!1}),K=c.Class.define(function(a,b,c){this.deletedArray=a,this.remainingArray=b,this.offsetArray=c},{execute:function(){z("deleteFromListAnimation,StartTM");var a=h.executeAnimation(this.deletedArray,[{keyframe:"WinJS-scale-down",property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.11, 0.5, 0.24, .96)",from:"none",to:"scale(0.85)"},{keyframe:"WinJS-opacity-out", +property:"opacity",delay:0,duration:120,timing:"linear",from:1,to:0}]),b=q(this.remainingArray,this.offsetArray,{property:D.cssName,delay:this.deletedArray.length>0?60:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("deleteFromListAnimation,StopTM")})}},{supportedForProcessing:!1}),L=c.Class.define(function(a,b,c,d){this.addedArray=a,this.affectedArray=b,this.offsetArray=c;var e=m(d);this.deletedArray=e,this.deletedOffsetArray=n(e)},{execute:function(){z("_updateListAnimation,StartTM"),p(this.deletedArray,this.deletedOffsetArray);var a=0,b=h.executeAnimation(this.deletedArray,[{keyframe:w(this.deletedOffsetArray,"WinJS-scale-down"),property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.11, 0.5, 0.24, .96)",from:v(this.deletedOffsetArray),to:v(this.deletedOffsetArray,"scale(0.85)")},{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:120,timing:"linear",from:1,to:0}]);this.deletedArray.length>0&&(a+=60);var c=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:a,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});this.affectedArray.length>0?a+=240:a&&(a+=60);var d=h.executeAnimation(this.addedArray,[{keyframe:"WinJS-scale-up",property:D.cssName,delay:a,duration:120,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"scale(0.85)",to:"none"},{keyframe:"WinJS-opacity-in",property:"opacity",delay:a,duration:120,timing:"linear",from:0,to:1}]);return i.join([b,c,d]).then(function(){z("_updateListAnimation,StopTM")})}},{supportedForProcessing:!1}),M=c.Class.define(function(a,b,c){this.addedArray=a,this.affectedArray=b,this.offsetArray=c},{execute:function(){z("addToSearchListAnimation,StartTM");var a=h.executeAnimation(this.addedArray,{keyframe:"WinJS-opacity-in",property:"opacity",delay:this.affectedArray.length>0?240:0,duration:117,timing:"linear",from:0,to:1}),b=q(this.affectedArray,this.offsetArray,{property:D.cssName,delay:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("addToSearchListAnimation,StopTM")})}},{supportedForProcessing:!1}),N=c.Class.define(function(a,b,c){this.deletedArray=a,this.remainingArray=b,this.offsetArray=c},{execute:function(){z("deleteFromSearchListAnimation,StartTM");var a=h.executeAnimation(this.deletedArray,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:93,timing:"linear",from:1,to:0}),b=q(this.remainingArray,this.offsetArray,{property:D.cssName,delay:this.deletedArray.length>0?60:0,duration:400,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([a,b]).then(function(){z("deleteFromSearchListAnimation,StopTM")})}},{supportedForProcessing:!1}),O=c.Class.define(function(a,b,c){this.elementArray=b,this.offsetArray=c},{execute:function(){return z("peekAnimation,StartTM"),q(this.elementArray,this.offsetArray,{property:D.cssName,delay:0,duration:2e3,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("peekAnimation,StopTM")})}},{supportedForProcessing:!1});c.Namespace._moduleDefine(a,"WinJS.UI.Animation",{createExpandAnimation:function(a,b){return x(G,a,b)},createCollapseAnimation:function(a,b){return x(H,a,b)},createRepositionAnimation:function(a){return x(I,null,a)},fadeIn:function(a){return z("fadeIn,StartTM"),h.executeTransition(a,{property:"opacity",delay:0,duration:250,timing:"linear",from:0,to:1}).then(function(){z("fadeIn,StopTM")})},fadeOut:function(a){return z("fadeOut,StartTM"),h.executeTransition(a,{property:"opacity",delay:0,duration:167,timing:"linear",to:0}).then(function(){z("fadeOut,StopTM")})},createAddToListAnimation:function(a,b){return x(J,a,b)},createDeleteFromListAnimation:function(a,b){return x(K,a,b)},_createUpdateListAnimation:function(a,b,c){return x(L,a,c,b)},createAddToSearchListAnimation:function(a,b){return x(M,a,b)},createDeleteFromSearchListAnimation:function(a,b){return x(N,a,b)},showEdgeUI:function(a,b,c){z("showEdgeUI,StartTM");var d=c&&"transition"===c.mechanism,e=new F(b,"WinJS-showEdgeUI",[{top:"-70px",left:"0px"}]);return h[d?"executeTransition":"executeAnimation"](a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:d?u(e):e.keyframe||u(e),to:"none"}).then(function(){z("showEdgeUI,StopTM")})},showPanel:function(a,b){z("showPanel,StartTM");var c=new F(b,"WinJS-showPanel",[{top:"0px",left:"364px",rtlflip:!0}]);return h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}).then(function(){z("showPanel,StopTM")})},hideEdgeUI:function(a,b,c){z("hideEdgeUI,StartTM");var d=c&&"transition"===c.mechanism,e=new F(b,"WinJS-hideEdgeUI",[{top:"-70px",left:"0px"}]);return h[d?"executeTransition":"executeAnimation"](a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"none",to:d?u(e):e.keyframe||u(e)}).then(function(){z("hideEdgeUI,StopTM")})},hidePanel:function(a,b){z("hidePanel,StartTM");var c=new F(b,"WinJS-hidePanel",[{top:"0px",left:"364px",rtlflip:!0}]);return h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:"none",to:c.keyframe||u(c)}).then(function(){z("hidePanel,StopTM")})},showPopup:function(a,b){z("showPopup,StartTM");var c=new F(b,"WinJS-showPopup",[{top:"50px",left:"0px"}]);return h.executeAnimation(a,[{keyframe:"WinJS-opacity-in",property:"opacity",delay:83,duration:83,timing:"linear",from:0,to:1},{keyframe:c.keyframe,property:D.cssName,delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}]).then(function(){z("showPopup,StopTM")})},hidePopup:function(a){return z("hidePopup,StartTM"),h.executeAnimation(a,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:83,timing:"linear",from:1,to:0}).then(function(){z("hidePopup,StopTM")})},pointerDown:function(a){return z("pointerDown,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.975, 0.975)"}).then(function(){z("pointerDown,StopTM")})},pointerUp:function(a){return z("pointerUp,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}).then(function(){z("pointerUp,StopTM")})},dragSourceStart:function(a,b){z("dragSourceStart,StartTM");var c=h.executeTransition(a,[{property:D.cssName,delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(1.05)"},{property:"opacity",delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:.65}]),d=h.executeTransition(b,{property:D.cssName,delay:0,duration:240,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.95)"});return i.join([c,d]).then(function(){z("dragSourceStart,StopTM")})},dragSourceEnd:function(a,b,c){z("dragSourceEnd,StartTM");var d=new F(b,"WinJS-dragSourceEnd"),e=h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:1}]),f=h.executeAnimation(a,{keyframe:d.keyframe,property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:d.keyframe||u(d,"scale(1.05) "),to:"none"}),g=h.executeTransition(c,{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""});return i.join([e,f,g]).then(function(){z("dragSourceEnd,StopTM")})},enterContent:function(a,b,c){z("enterContent,StartTM");var d,e=new F(b,"WinJS-enterContent",[{top:"28px",left:"0px",rtlflip:!1}]);if(c&&"transition"===c.mechanism)d=h.executeTransition(a,[{property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:u(e),to:"none"},{property:"opacity",delay:0,duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1}]);else{var f=h.executeAnimation(a,{keyframe:e.keyframe,property:D.cssName,delay:0,duration:550,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:e.keyframe||u(e),to:"none"}),g=h.executeTransition(a,{property:"opacity",delay:0,duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});d=i.join([f,g])}return d.then(function(){z("enterContent,StopTM")})},exitContent:function(a,b){z("exitContent,StartTM");var c=new F(b,"WinJS-exit",[{top:"0px",left:"0px"}]),d=h.executeAnimation(a,b&&{keyframe:c.keyframe,property:D.cssName,delay:0,duration:117,timing:"linear",from:"none",to:c.keyframe||u(c)}),e=h.executeTransition(a,{property:"opacity",delay:0,duration:117,timing:"linear",to:0});return i.join([d,e]).then(function(){z("exitContent,StopTM")})},dragBetweenEnter:function(a,b){z("dragBetweenEnter,StartTM");var c=new F(b,null,[{top:"-40px",left:"0px"},{top:"40px",left:"0px"}]);return h.executeTransition(a,{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:u(c,"scale(0.95) ")}).then(function(){z("dragBetweenEnter,StopTM")})},dragBetweenLeave:function(a){return z("dragBetweenLeave,StartTM"),h.executeTransition(a,{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:"scale(0.95)"}).then(function(){z("dragBetweenLeave,StopTM")})},swipeSelect:function(a,b){z("swipeSelect,StartTM");var c=h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}),d=h.executeAnimation(b,{keyframe:"WinJS-opacity-in",property:"opacity",delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});return i.join([c,d]).then(function(){z("swipeSelect,StopTM")})},swipeDeselect:function(a,b){z("swipeDeselect,StartTM");var c=h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""}),d=h.executeAnimation(b,{keyframe:"WinJS-opacity-out",property:"opacity",delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:1,to:0});return i.join([c,d]).then(function(){z("swipeDeselect,StopTM")})},swipeReveal:function(a,b){z("swipeReveal,StartTM");var c=new F(b,null,[{top:"25px",left:"0px"}]);return h.executeTransition(a,{property:D.cssName,delay:0,duration:300,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:u(c)}).then(function(){z("swipeReveal,StopTM")})},enterPage:function(a,b){z("enterPage,StartTM");var c=new F(b,"WinJS-enterPage",[{top:"28px",left:"0px",rtlflip:!1}]),d=h.executeAnimation(a,{keyframe:c.keyframe,property:D.cssName,delay:o(0,83,1,333),duration:1e3,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}),e=h.executeTransition(a,{property:"opacity",delay:o(0,83,1,333),duration:170,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1});return i.join([d,e]).then(function(){z("enterPage,StopTM")})},exitPage:function(a,b){z("exitPage,StartTM");var c=new F(b,"WinJS-exit",[{top:"0px",left:"0px"}]),d=h.executeAnimation(a,b&&{keyframe:c.keyframe,property:D.cssName,delay:0,duration:117,timing:"linear",from:"none",to:c.keyframe||u(c)}),e=h.executeTransition(a,{property:"opacity",delay:0,duration:117,timing:"linear",to:0});return i.join([d,e]).then(function(){z("exitPage,StopTM")})},crossFade:function(a,b){z("crossFade,StartTM");var c=h.executeTransition(a,{property:"opacity",delay:0,duration:167,timing:"linear",to:1}),d=h.executeTransition(b,{property:"opacity",delay:0,duration:167,timing:"linear",to:0});return i.join([c,d]).then(function(){z("crossFade,StopTM")})},createPeekAnimation:function(a){return x(O,null,a)},updateBadge:function(a,b){z("updateBadge,StartTM");var c=new F(b,"WinJS-updateBadge",[{top:"24px",left:"0px"}]);return h.executeAnimation(a,[{keyframe:"WinJS-opacity-in",property:"opacity",delay:0,duration:367,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:0,to:1},{keyframe:c.keyframe,property:D.cssName,delay:0,duration:1333,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",from:c.keyframe||u(c),to:"none"}]).then(function(){z("updateBadge,StopTM")})},turnstileForwardIn:function(a){z("turnstileForwardIn,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0.01,0.975,0.4775,0.9775)",from:"perspective(600px) rotateY(80deg)",to:"perspective(600px) rotateY(0deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("turnstileForwardIn,StopTM")})},turnstileForwardOut:function(a){z("turnstileForwardOut,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(0.4925,0.01,0.7675,-0.01)",from:"perspective(600px) rotateY(0deg)",to:"perspective(600px) rotateY(-50deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("turnstileForwardOut,StopTM")})},turnstileBackwardIn:function(a){z("turnstileBackwardIn,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0.01,0.975,0.4775,0.9775)",from:"perspective(600px) rotateY(-50deg)",to:"perspective(600px) rotateY(0deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:300,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("turnstileBackwardIn,StopTM")})},turnstileBackwardOut:function(a){z("turnstileBackwardOut,StartTM"),a=m(a);var b=y(a);return s(a,b,[{property:D.cssName,delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(0.4925,0.01,0.7675,-0.01)",from:"perspective(800px) rotateY(0deg)",to:"perspective(800px) rotateY(80deg)"},{property:"opacity",delay:o(0,50,1,1e3),duration:128,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("turnstileBackwardOut,StopTM")})},slideDown:function(a){return z("slideDown,StartTM"),s(a,{ltr:"",rtl:""},[{property:D.cssName,delay:0,duration:250,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"translate(0px, 0px)",to:"translate(0px, 200px)"},{property:"opacity",delay:0,duration:250,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("slideDown,StopTM")})},slideUp:function(a){return z("slideUp,StartTM"),s(a,{ltr:"",rtl:""},[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.17,0.79,0.215,1.0025)",from:"translate(0px, 200px)",to:"translate(0px, 0px)"},{property:"opacity",delay:o(0,34,1,1e3),duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]).then(function(){z("slideUp,StopTM")})},slideRightIn:function(a,c,d,e){return z("slideRightIn,StartTM"),r("cubic-bezier(0.17,0.79,0.215,1.0025)",-b.innerWidth,0,!0,a,c,d,e).then(function(){z("slideRightIn,StopTM")})},slideRightOut:function(a,c,d,e){return z("slideRightOut,StartTM"),r("cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",0,b.innerWidth,!1,a,c,d,e).then(function(){z("slideRightOut,StopTM")})},slideLeftIn:function(a,c,d,e){return z("slideLeftIn,StartTM"),r("cubic-bezier(0.17,0.79,0.215,1.0025)",b.innerWidth,0,!0,a,c,d,e).then(function(){z("slideLeftIn,StopTM")})},slideLeftOut:function(a,c,d,e){return z("slideLeftOut,StartTM"),r("cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",0,-b.innerWidth,!1,a,c,d,e).then(function(){z("slideLeftOut,StopTM")})},continuumForwardIn:function(a,b,c){return z("continuumForwardIn,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.33, 0.18, 0.11, 1)",from:"scale(0.5, 0.5)",to:"scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),h.executeTransition(b,[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0.24,1.15,0.11,1.1575)",from:"translate(0px, 225px)",to:"translate(0px, 0px)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),s(c,{ltr:"0px 50%",rtl:"100% 50%"},[{property:D.cssName,delay:0,duration:350,timing:"cubic-bezier(0,0.62,0.8225,0.9625)",from:"rotateX(80deg) scale(1.5, 1.5)",to:"rotateX(0deg) scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:350,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}])]).then(function(){z("continuumForwardIn,StopTM")})},continuumForwardOut:function(a,b){return z("continuumForwardOut,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:120,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"scale(1.0, 1.0)",to:"scale(1.1, 1.1)"},{property:"opacity",delay:0,duration:120,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]),s(b,{ltr:"0px 100%",rtl:"100% 100%"},[{property:D.cssName,delay:0,duration:152,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"rotateX(0deg) scale(1.0, 1.0) translate(0px, 0px)",to:"rotateX(80deg) scale(1.5, 1.5) translate(0px, 150px)"},{property:"opacity",delay:0,duration:152,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}])]).then(function(){z("continuumForwardOut,StopTM")})},continuumBackwardIn:function(a,b){return z("continuumBackwardIn,StartTM"),i.join([h.executeTransition(a,[{property:D.cssName,delay:0,duration:200,timing:"cubic-bezier(0.33, 0.18, 0.11, 1)",from:"scale(1.25, 1.25)",to:"scale(1.0, 1.0)"},{property:"opacity",delay:0,duration:200,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}]),s(b,{ltr:"0px 50%",rtl:"100% 50%"},[{property:D.cssName,delay:0,duration:250,timing:"cubic-bezier(0.2975, 0.7325, 0.4725, 0.99)",from:"rotateX(80deg) translate(0px, -100px)",to:"rotateX(0deg) translate(0px, 0px)"},{property:"opacity",delay:0,duration:250,timing:"cubic-bezier(0, 2, 0, 2)",from:0,to:1}])]).then(function(){z("continuumBackwardIn,StopTM")})},continuumBackwardOut:function(a){return z("continuumBackwardOut,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:167,timing:"cubic-bezier(0.3825,0.0025,0.8775,-0.1075)",from:"scale(1.0, 1.0)",to:"scale(0.5, 0.5)"},{property:"opacity",delay:0,duration:167,timing:"cubic-bezier(1,-0.42,0.995,-0.425)",from:1,to:0}]).then(function(){z("continuumBackwardOut,StopTM")})},drillInIncoming:function(a){return z("drillInIncoming,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(0.84)",to:"scale(1.0)"},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:0,to:1}]).then(function(){z("drillInIncoming,StopTM")})},drillInOutgoing:function(a){return z("drillInOutgoing,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.0)",to:"scale(1.29)"},{property:"opacity",delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:1,to:0}]).then(function(){z("drillInOutgoing,StopTM")})},drillOutIncoming:function(a){return z("drillOutIncoming,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.29)",to:"scale(1.0)"},{property:"opacity",delay:0,duration:500,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:0,to:1}]).then(function(){z("drillOutIncoming,StopTM")})},drillOutOutgoing:function(a){return z("drillOutOutgoing,StartTM"),h.executeTransition(a,[{property:D.cssName,delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"scale(1.0)",to:"scale(0.84)"},{property:"opacity",delay:0,duration:233,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:1,to:0}]).then(function(){z("drillOutOutgoing,StopTM")})},createPageNavigationAnimations:function(b,c,d){function e(){return i.wrap()}return{exit:e,entrance:a.enterPage}},_resizeTransition:function(a,b,c){if(c.to!==c.from&&h.isAnimationEnabled()){for(var d=C(a,b,c),e=[],f=0,g=d.length;g>f;f++)e.push(A(d[f].element,d[f].transition));return i.join(e)}return i.as()},_commandingSurfaceOpenAnimation:function(a){if(!h.isAnimationEnabled())return i.as();var b=a.actionAreaClipper,c=a.actionArea,e=a.overflowAreaClipper,g=a.overflowArea,j=a.oldHeight,k=a.newHeight,l=a.overflowAreaHeight,m=a.menuPositionedAbove,n=k-j,o=[],p=B().defaultResizeGrowTransition;if(m){c.style[D.scriptName]="translateY("+n+"px)",f._getComputedStyle(c).opacity;var q=d._merge(p,{to:"translateY(0px)"});o.push({element:c,transition:q})}else o=C(b,c,{from:j,to:k,actualSize:k,dimension:"height",anchorTrailingEdge:!1});e.style[D.scriptName]="translateY("+(m?n:-n)+"px)",g.style[D.scriptName]="translateY("+(m?l:-l)+"px)",f._getComputedStyle(e).opacity,f._getComputedStyle(g).opacity;for(var r=[],s=0,t=o.length;t>s;s++)r.push(A(o[s].element,o[s].transition));var u=d._merge(p,{to:"translateY(0px)"});return r.push(A(e,u)),r.push(A(g,u)),i.join(r)},_commandingSurfaceCloseAnimation:function(a){if(!h.isAnimationEnabled())return i.as();var b=a.actionAreaClipper,c=a.actionArea,e=a.overflowAreaClipper,g=a.overflowArea,j=a.oldHeight,k=a.newHeight,l=a.overflowAreaHeight,m=a.menuPositionedAbove,n=k-j,o=[],p=B().defaultResizeShrinkTransition;if(m){c.style[D.scriptName]="translateY(0px)",f._getComputedStyle(c).opacity;var q=d._merge(p,{to:"translateY("+-n+"px)"});o.push({element:c,transition:q})}else o=C(b,c,{from:j,to:k,actualSize:j,dimension:"height",anchorTrailingEdge:!1});e.style[D.scriptName]="translateY(0px)",g.style[D.scriptName]="translateY(0px)",f._getComputedStyle(e).opacity,f._getComputedStyle(g).opacity;for(var r=[],s=0,t=o.length;t>s;s++)r.push(A(o[s].element,o[s].transition));var u=d._merge(p,{to:"translateY("+(m?-n:n)+"px)"}),v=d._merge(p,{to:"translateY("+(m?l:-l)+"px)"});return r.push(A(e,u)),r.push(A(g,v)),i.join(r)}})}),define("WinJS/Binding/_BindingParser",["exports","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../ControlProcessor/_OptionsLexer","../ControlProcessor/_OptionsParser"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b){g("WinJS.Binding:bindingParser,StartTM");var c=m.lexer(a),d=new o.BindingInterpreter(c,a,b||{}),e=d.run();return g("WinJS.Binding:bindingParser,StopTM"),e}function k(a){g("WinJS.Binding:bindingParser,StartTM");var b=m.lexer(a),c=new o.BindingParser(b,a),d=c.run();return g("WinJS.Binding:bindingParser,StopTM"),d}var l={get invalidBinding(){return"Invalid binding:'{0}'. Expected to be ':;'. {1}"},get bindingInitializerNotFound(){return"Initializer not found:'{0}'"}},m=b.Namespace.defineWithParent(null,null,{lexer:b.Namespace._lazy(function(){return h._optionsLexer}),tokenType:b.Namespace._lazy(function(){return h._optionsLexer.tokenType})}),n=c.requireSupportedForProcessing,o=b.Namespace.defineWithParent(null,null,{BindingInterpreter:b.Namespace._lazy(function(){return b.Class.derive(i.optionsParser._BaseInterpreter,function(a,b,c){this._initialize(a,b,c)},{_error:function(a){throw new d("WinJS.Binding.ParseError",f._formatString(l.invalidBinding,this._originalSource,a))},_evaluateInitializerName:function(){if(this._current.type===m.tokenType.identifier){var a=this._evaluateIdentifierExpression();return e.log&&!a&&e.log(f._formatString(l.bindingInitializerNotFound,this._originalSource),"winjs binding","error"),n(a)}},_evaluateValue:function(){switch(this._current.type){case m.tokenType.stringLiteral:case m.tokenType.numberLiteral:var a=this._current.value;return this._read(),a;default:return void this._unexpectedToken(m.tokenType.stringLiteral,m.tokenType.numberLiteral)}},_readBindDeclarations:function(){for(var a=[];;)switch(this._current.type){case m.tokenType.identifier:case m.tokenType.thisKeyword:a.push(this._readBindDeclaration());break;case m.tokenType.semicolon:this._read();break;case m.tokenType.eof:return a;default:return void this._unexpectedToken(m.tokenType.identifier,m.tokenType.semicolon,m.tokenType.eof)}},_readBindDeclaration:function(){var a=this._readDestinationPropertyName();this._read(m.tokenType.colon);var b=this._readSourcePropertyName(),c=this._evaluateInitializerName();return{destination:a,source:b,initializer:c}},_readDestinationPropertyName:function(){return this._readIdentifierExpression()},_readSourcePropertyName:function(){return this._readIdentifierExpression()},run:function(){return this._readBindDeclarations()}},{supportedForProcessing:!1})}),BindingParser:b.Namespace._lazy(function(){return b.Class.derive(o.BindingInterpreter,function(a,b){this._initialize(a,b,{})},{_readInitializerName:function(){return this._current.type===m.tokenType.identifier?this._readIdentifierExpression():void 0},_readBindDeclaration:function(){var a=this._readDestinationPropertyName();this._read(m.tokenType.colon);var b=this._readSourcePropertyName(),c=this._readInitializerName();return{destination:a,source:b,initializer:c}}},{supportedForProcessing:!1})})});b.Namespace._moduleDefine(a,"WinJS.Binding",{_bindingParser:j,_bindingParser2:k})}),define("WinJS/Binding/_DomWeakRefTable",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Scheduler"],function(a,b,c,d,e,f){"use strict";function g(){0===n&&(m=0);var a,b,c=Object.keys(p),d=Date.now()-o;for(a=0,b=c.length;b>a;a++){var e=c[a];p[e].time=0;e--){var f=b[d[e]];f.target===a&&(f.promise&&(f.promise.cancel(),f.promise=null),delete b[d[e]],c=!0)}return c},notify:function(a,b,c){var d=this._listeners&&this._listeners[a];if(d){var e=this;e._cancel(a),e._pendingNotifications=e._pendingNotifications||{};var j=e._notifyId++,l=e._pendingNotifications[j]={target:a},m=function(){delete e._pendingNotifications[j]};return l.promise=i.schedulePromiseNormal(null,"WinJS.Binding.observableMixin.notify").then(function(){for(var a=0,e=d.length;e>a&&l.promise;a++)try{d[a](b,c)}catch(h){f.log&&f.log(g._formatString(k.exceptionFromBindingInitializer,h.toString()),"winjs binding","error")}return m(),b}),l.promise}return h.as()},bind:function(a,b){this._listeners=this._listeners||{};for(var c=this._listeners[a]=this._listeners[a]||[],d=!1,e=0,f=c.length;f>e;e++)if(c[e]===b){d=!0;break}return d||(c.push(b),b(w(this[a]))),this},unbind:function(a,b){if(this._listeners=this._listeners||{},a&&b){var c=this._listeners[a];if(c){for(var d,e=0,f=c.length;f>e;e++)c[e]!==b&&(d=d||[]).push(c[e]);this._listeners[a]=d}}else if(a)this._cancel(a),delete this._listeners[a];else{var g=this;if(g._pendingNotifications){var h=g._pendingNotifications;g._pendingNotifications={},Object.keys(h).forEach(function(a){var b=h[a];b.promise&&b.promise.cancel()})}this._listeners={}}return this}},m={_backingData:null,_initObservable:function(a){this._backingData=a||{}},getProperty:function(a){var b=this._backingData[a];return f.log&&void 0===b&&f.log(g._formatString(k.propertyIsUndefined,a),"winjs binding","warn"),v(b)},setProperty:function(a,b){return this.updateProperty(a,b),this},addProperty:function(a,b){return this[a]||Object.defineProperty(this,a,{get:function(){return this.getProperty(a)},set:function(b){this.setProperty(a,b)},enumerable:!0,configurable:!0}),this.setProperty(a,b)},updateProperty:function(a,b){var c=this._backingData[a],d=w(b);return c!==d&&(this._backingData[a]=d,this._backingData[a]===d)?this.notify(a,d,c):h.as()},removeProperty:function(a){var b,c=this._backingData[a];try{delete this._backingData[a]}catch(d){}try{delete this[a]}catch(d){}return this.notify(a,b,c),this}};Object.keys(l).forEach(function(a){m[a]=l[a]});var n=function(a,b){return r(a,b)},o=0,p=function(){return"bindHandler"+o++},q=function(a,c){if(!b.msGetWeakWinRTProperty)return a;var d=p();return j._getWeakRefElement(c)[d]=a,function(a,b){var e=j._getWeakRefElement(c);e&&e[d](a,b)}},r=function(a,b,c){function d(){h&&h.forEach(function(a){a.source.unbind(a.prop,a.listener)}),h=null}function e(a){g[a]&&(g[a].complexBind.cancel(),delete g[a])}if(a=v(a),!a)return{cancel:function(){},empty:!0};var f;c||(c=p(),f={},j._createWeakRef(f,c));var g={},h=null;return Object.keys(b).forEach(function(d){var i=b[d];if(i instanceof Function)i=q(i,c),i.bindState=f,h=h||[],h.push({source:a,prop:d,listener:i}),a.bind(d,i);else{var j=function(a){e(d);var b=r(v(a),i,c);if(b.empty){var f=function(a){Object.keys(a).forEach(function(b){var c=a[b];c instanceof Function?c(void 0,void 0):f(c)})};f(i)}g[d]={source:a,complexBind:b}};j=q(j,c),j.bindState=f,h=h||[],h.push({source:a,prop:d,listener:j}),a.bind(d,j)}}),{cancel:function(){d(),Object.keys(g).forEach(function(a){e(a)})}}},s=c.Class.mix(function(a){this._initObservable(a),Object.defineProperties(this,t(a))},m),t=function(a){function b(a){c[a]={get:function(){return this.getProperty(a)},set:function(b){this.setProperty(a,b)},enumerable:!0,configurable:!0}}for(var c={};a&&a!==Object.prototype;)Object.keys(a).forEach(b),a=Object.getPrototypeOf(a);return c},u=function(a){if(!(!a||"object"!=typeof a||a instanceof Date||Array.isArray(a)))return c.Class.mix(function(b){this._initObservable(b||Object.create(a))},m,t(a));if(d.validation)throw new e("WinJS.Binding.UnsupportedDataType",g._formatString(k.unsupportedDataTypeForBinding))},v=function(a){if(!a)return a;var b=typeof a;if("object"!==b||a instanceof Date||Array.isArray(a))return a;if(a._getObservable)return a._getObservable();var c=new s(a);return c.backingData=a,Object.defineProperty(a,"_getObservable",{value:function(){return c},enumerable:!1,writable:!1}),c},w=function(a){return a&&a.backingData?a.backingData:a};c.Namespace._moduleDefine(a,"WinJS.Binding",{mixin:{value:m,enumerable:!0,writable:!0,configurable:!0},dynamicObservableMixin:{value:m,enumerable:!0,writable:!0,configurable:!0},observableMixin:{value:l,enumerable:!0,writable:!0,configurable:!0},expandProperties:t,define:u,as:v,unwrap:w,bind:n})}),define("WinJS/Binding/_Declarative",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../Utilities/_ElementUtilities","./_BindingParser","./_Data","./_DomWeakRefTable"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";function o(a,b){var c=a._autoDispose;c&&c.push(b)}function p(a){a._autoDispose=(a._autoDispose||[]).filter(function(a){return a()})}function q(a,b){return a?a.winBindingToken===b?a:void(g.log&&g.log(h._formatString(N.duplicateBindingDetected,a.id),"winjs binding","error")):a}function r(a){if(a.winBindingToken)return a.winBindingToken; +var b="_win_bind"+L++;return Object.defineProperty(a,"winBindingToken",{configurable:!1,writable:!1,enumerable:!1,value:b}),b}function s(a,b,c,d,e,f,g){var h=a.initializer;if(h&&(h=h.winControl||h["data-win-control"]||h),h instanceof Function){var i=h(d,a.source,e,a.destination);return g&&(i&&i.cancel?g.bindings.push(function(){i.cancel()}):g.nocache=!0),i}h&&h.render&&(f.count++,g&&(g.nocache=!0),P(h.render).call(h,A(d,a.source),e).then(function(){f.checkComplete()}))}function t(a,b,c,d,e,f){var i,j=!0,k=!1;p(d);var l=function(){if(!k){var c=q(n._getWeakRefElement(a),b);return c||(g.log&&g.log(h._formatString(N.elementNotFound,a),"winjs binding","info"),i&&i.cancel()),c}},m=function(a){var b=l();b&&B(b,e.destination,a),j&&(c.checkComplete(),j=!1)};if(o(d,l),i=H(d,e.source,m)){var r=i.cancel;i.cancel=function(){return k=!0,r.call(i)},f&&f.bindings.push(function(){i.cancel()})}return i}function u(a,c,d,e,f,g,h){var i;return e!==b&&(e=m.as(e)),e._getObservable&&(i=e._getObservable()),i?(g.count++,t(c,d,g,i,a,h)):void B(f,a.destination,A(e,a.source))}function v(a,b){for(var c=a.length-1;c>=0;c--){var d=a[c],i=d.destination;if(1===i.length&&"id"===i[0]){if(e.validation)throw new f("WinJS.Binding.IdBindingNotSupported",h._formatString(N.idBindingNotSupported,b));g.log&&g.log(h._formatString(N.idBindingNotSupported,b),"winjs binding","error"),a.splice(c,1)}}return a}function w(a,c){if(c){var d,e=c.expressions[a];return e||(d=v(l._bindingParser(a,b),a),c.expressions[a]=d),d||(d=e),d}return v(l._bindingParser(a,b),a)}function x(a,c,d,e,f,g){i("WinJS.Binding:processAll,StartTM");var h,j={count:0,checkComplete:function(){this.count--,0===this.count&&(i("WinJS.Binding:processAll,StopTM"),g())}},l=a||b.document.body,m="[data-win-bind],[data-win-control]",o=l.querySelectorAll(m);d||!l.getAttribute("data-win-bind")&&!l.winControl||(h=l),j.count++;var p=c||b;n._DOMWeakRefTable_fastLoadPath=!0;try{var q=k.data(l);q.winBindings=q.winBindings||[];for(var t=h?-1:0,v=o.length;v>t;t++){var x=0>t?h:o[t];if(x.winControl&&x.winControl.constructor&&x.winControl.constructor.isDeclarativeControlContainer){t+=x.querySelectorAll(m).length;var z=x.winControl.constructor.isDeclarativeControlContainer;"function"==typeof z&&(z=P(z))(x.winControl,function(a){return y(a,c,!1,e,f)})}if(x.hasAttribute("data-win-bind")){var A=x.getAttribute("data-win-bind"),B=w(A,e);if(!B.implemented){for(var C=0,D=B.length;D>C;C++){var E=B[C];E.initializer=E.initializer||f,E.initializer?E.implementation=s:E.implementation=u}B.implemented=!0}j.count++;var F=r(x),G=M?F:x.id;G||(x.id=G=F),n._createWeakRef(x,G);var H=k.data(x);H.winBindings=null;var I;e&&e.elements&&(I=e.elements[G],I||(e.elements[G]=I={bindings:[]}));for(var J=0,K=B.length;K>J;J++){var L=B[J],N=L.implementation(L,G,F,p,x,j,I);N&&(H.winBindings=H.winBindings||[],H.winBindings.push(N),q.winBindings.push(N))}j.count--}}}finally{n._DOMWeakRefTable_fastLoadPath=!1}j.checkComplete()}function y(a,b,c,d,e){return new j(function(f,g,h){x(a,b,c,d,e,f,g,h)}).then(null,function(a){return g.log&&g.log(h._formatString(N.errorInitializingBindings,a&&a.message),"winjs binding","error"),j.wrapError(a)})}function z(a){var c=function(c,d,e,f,i){var j=r(e),k=M?j:e.id;k||(e.id=k=j),n._createWeakRef(e,k);var l;if(c!==b&&(c=m.as(c)),c._getObservable&&(l=c._getObservable()),l){var o=H(m.as(c),d,function(b){var c=q(n._getWeakRefElement(k),j);c?B(c,f,a(P(b))):o&&(g.log&&g.log(h._formatString(N.elementNotFound,k),"winjs binding","info"),o.cancel())});return o}var p=A(c,d);p!==i&&B(e,f,a(p))};return O(c)}function A(a,c){if(a!==b&&(a=P(a)),c)for(var d=0,e=c.length;e>d&&null!==a&&void 0!==a;d++)a=P(a[c[d]]);return a}function B(a,c,d){P(d),a=P(a);for(var e=0,f=c.length-1;f>e;e++){if(a=P(a[c[e]]),!a)return void(g.log&&g.log(h._formatString(N.propertyDoesNotExist,c[e],c.join(".")),"winjs binding","error"));if(a instanceof b.Node)return void(g.log&&g.log(h._formatString(N.nestedDOMElementBindingNotSupported,c[e],c.join(".")),"winjs binding","error"))}if(0===c.length)return void(g.log&&g.log(N.cannotBindToThis,"winjs binding","error"));var i=c[c.length-1];g.log&&void 0===a[i]&&g.log(h._formatString(N.creatingNewProperty,i,c.join(".")),"winjs binding","warn"),a[i]=d}function C(a,b,c){return a=P(a),b&&1===b.length&&b[0]?void a.setAttribute(b[0],c):void(g.log&&g.log(N.attributeBindingSingleProperty,"winjs binding","error"))}function D(a,c,d,e,f){var i=r(d),j=M?i:d.id;j||(d.id=j=i),n._createWeakRef(d,j);var k;if(a!==b&&(a=m.as(a)),a._getObservable&&(k=a._getObservable()),k){var l=0,o=H(k,c,function(a){if(1!==++l||a!==f){var b=q(n._getWeakRefElement(j),i);b?C(b,e,P(a)):o&&(g.log&&g.log(h._formatString(N.elementNotFound,j),"winjs binding","info"),o.cancel())}});return o}var p=A(a,c);p!==f&&C(d,e,p)}function E(a,b,c,d){return C(c,d,A(a,b))}function F(a,b,c){c=P(c);var d=A(a,b);Array.isArray(d)?d.forEach(function(a){k.addClass(c,a)}):d&&k.addClass(c,d)}function G(a,b,c,d,e){return Q(a,b,c,d,e)}function H(a,b,c){if(b.length>1){for(var d={},e=d,f=0,g=b.length-1;g>f;f++)e=e[b[f]]={};return e[b[b.length-1]]=c,m.bind(a,d,!0)}return 1===b.length?(a.bind(b[0],c,!0),{cancel:function(){a.unbind(b[0],c),this.cancel=I}}):void c(a)}function I(){}function J(a,b,c,d){return B(c,d,A(a,b)),{cancel:I}}function K(a){return O(a)}var L=1e3*Math.random()>>0,M=c.msSetWeakWinRTProperty&&c.msGetWeakWinRTProperty,N={get attributeBindingSingleProperty(){return'Attribute binding requires a single destination attribute name, often in the form "this[\'aria-label\']" or "width".'},get cannotBindToThis(){return"Can't bind to 'this'."},get creatingNewProperty(){return"Creating new property {0}. Full path:{1}"},get duplicateBindingDetected(){return"Binding against element with id {0} failed because a duplicate id was detected."},get elementNotFound(){return"Element not found:{0}"},get errorInitializingBindings(){return"Error initializing bindings: {0}"},get propertyDoesNotExist(){return"{0} doesn't exist. Full path:{1}"},get idBindingNotSupported(){return"Declarative binding to ID field is not supported. Initializer: {0}"},get nestedDOMElementBindingNotSupported(){return"Binding through a property {0} of type HTMLElement is not supported, Full path:{1}."}},O=e.markSupportedForProcessing,P=e.requireSupportedForProcessing,Q=z(function(a){return a});d.Namespace._moduleDefine(a,"WinJS.Binding",{processAll:y,oneTime:K(J),defaultBind:K(G),converter:z,initializer:K,getValue:A,setAttribute:K(D),setAttributeOneTime:K(E),addClassOneTime:K(F)})}),define("WinJS/Binding",["./Binding/_BindingParser","./Binding/_Data","./Binding/_Declarative","./Binding/_DomWeakRefTable"],function(){}),define("WinJS/BindingTemplate/_DataTemplateCompiler",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Binding/_BindingParser","../Binding/_Declarative","../ControlProcessor","../ControlProcessor/_OptionsParser","../Fragments","../Promise","../_Signal","../Utilities/_Dispose","../Utilities/_SafeHtml","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){"use strict";if(b.document){var s={get attributeBindingSingleProperty(){return'Attribute binding requires a single destination attribute name, often in the form "this[\'aria-label\']" or "width".'},get cannotBindToThis(){return"Can't bind to 'this'."},get idBindingNotSupported(){return"Declarative binding to ID field is not supported. Initializer: {0}"}};c.Namespace._moduleDefine(a,"WinJS.Binding",{_TemplateCompiler:c.Namespace._lazy(function(){function a(a,b,c){var d=r.data(a).bindTokens;d&&d.forEach(function(a){a&&a.cancel&&a.cancel()}),b&&b.cancel(),c&&c.cancel()}function t(a,b){return function(c){return j.processAll(c,a,!1,null,b)}}function u(a){return a=Z(a),a instanceof b.Node?null:a}function v(a,b){var c=-1!==a.indexOf("\n"),d=arguments,f=a.replace(na,function(f,g,h,i,j,k,l){if(j||k)throw new e("Format:MalformedInputString","Did you forget to escape a: "+(j||k)+" at: "+l);if(g)return"{";if(h)return"}";var m,n=+i;if(m=n===+n?d[n+1]:b[i],void 0===m)throw new e("Format:MissingPart","Missing part '"+i+"'");if(c){for(var o=l;o>0&&" "===a[--o];);o>=0&&"\n"===a[o]&&(m=w(l-o-1,m))}return m});return f}function w(a,b){for(var c="",d=0;a>d;d++)c+=" ";return b.split("\n").map(function(a,b){return b?c+a:a}).join("\n")}function x(a){return a.trim()}function y(a){return a.join(";\n")}function z(a){return a.join(", ")||"empty"}function A(a){return a.map(function(a){return a.match(ja)?"."+a:+a===a?v("[{0}]",a):v("[{0}]",C(a))}).join("")}function B(a,b,c,d){var b=b.map(function(a){return a.match(ja)?"."+a:(+a===a&&(a=+a),G(C(a)))}).map(function(a){return v("{filter}({temp} = {temp}{part})",{filter:d,temp:c,part:a})});return b.unshift(F(E(c,a))),b.push(c),F(b.join(" && "))}function C(a){return JSON.stringify(a)}function D(a){return a?"new Array("+ +a+")":"[]"}function E(a,b){return""+a+" = "+b}function F(a){return"("+a+")"}function G(a){return"["+a+"]"}function H(a){return a.match(ja)?a:+a===a?+a:C(a)}function I(a){return a=""+a,a.replace(la,function(a){return ma[a]||" "})}function J(a,b,c){return c?new String(""+a+b+"_"+c):new String(""+a+b)}function K(a){return a.replace(/\\n/g,"\\n\\\n")}function L(a){return Object.keys(a)}function M(a){return Object.keys(a).map(function(b){return a[b]})}function N(a,b){return O([a,b])}function O(a){for(var b={},c=0,d=a.length;d>c;c++)for(var e=a[c],f=Object.keys(e),g=0,h=f.length;h>g;g++){var i=f[g];b[i]=e[i]}return b}function P(a){return a.reduce(function(a,b){return a?Z(a[b]):null},b)}function Q(a,b,c,d){var e=a.children;if(e){var f=Object.keys(e);b&&c&&c(a,b,f.length);for(var g=0,h=f.length;h>g;g++){var i=f[g],j=e[i];Q(j,i,c,d)}b&&d&&d(a,b,Object.keys(e).length)}else b&&c&&c(a,b,0),b&&d&&d(a,b,0)}function R(a){return a.replace(/^\s*$/gm,"").replace(/^(.*[^\s])( *)$/gm,function(a,b){return b})}var S=n._cancelBlocker,T=j.defaultBind,U=j.oneTime,V=j.setAttribute,W=j.setAttributeOneTime,X=j.addClassOneTime,Y=n.as,Z=d.requireSupportedForProcessing,$=q.insertAdjacentHTMLUnsafe,_=r.data,aa=p.markDisposable,ba=k.processAll,ca=j.processAll,da=l._optionsParser,ea=l._CallExpression,fa=l._IdentifierExpression,ga=i._bindingParser2,ha=k.scopedSelect,ia=h,ja=/^[A-Za-z]\w*$/,ka=/[^A-Za-z\w$]/g,la=/[&<>'"]/g,ma={"&":"&","<":"<",">":">","'":"'",'"':"""},na=/({{)|(}})|{(\w+)}|({)|(})/g,oa=/^\s*;\s*$/,pa=/[A-Z]/g,qa=c.Class.define(function(a,b,c,d,e){var f=this;this.compiler=a,this.kind=c,this.base=new String(b),this.tree={children:{},parent:this.base,reference:function(){return f.base}},this.accessExpression=d,this.filter=e||""},{createPathExpression:function(a,b){if(a.length){var c=this,d=a.reduce(function(a,b){return a.children=a.children||{},a.children[b]=a.children[b]||{parent:a},a.children[b]},this.tree);return d.name=d.name||c.compiler.defineInstance(c.kind,b||"",function(){return c.accessExpression(d.parent.name?d.parent.name:d.parent.reference(),a.slice(-1)[0],d.parent.parent===c.base,c.filter,!0)}),d.name}return this.base},lower:function(){var a=this,b=[],c=function(b,c,d){return a.accessExpression(b.parent.name?b.parent.name:b.parent.reference(),c,b.parent.parent===a.base,a.filter,d)};Q(this.tree,"",function(d,e,f){b.push(e),f>1?(d.name=d.name||a.compiler.defineInstance(a.kind,b.join("_"),c.bind(null,d,e,!0)),d.reference=function(){return d.name}):1===f&&(d.reference=c.bind(null,d,e))},function(){b.pop()})},deadNodeElimination:function(){Q(this.tree,"",null,function(a,b,c){a.name&&!a.name.dead||0===c&&a.parent&&a.parent.children&&delete a.parent.children[b]})},definitions:function(){var a=[];return Q(this.tree,"",function(b){b.name&&a.push(b)}),a.map(function(a){return a.name.definition()})}}),ra={capture:"capture",temporary:"temporary",variable:"variable",data:"data",global:"global"},sa={capture:"c",temporary:"t",variable:"iv",data:"d",global:"g"},ta={imported:"import",variable:"variable"},ua={imported:"i",variable:"sv"},va={tree:"tree",text:"text",initializer:"initializer",template:"template",error:"error"},wa={attribute:"attribute",booleanAttribute:"booleanAttribute",inlineStyle:"inlineStyle",textContent:"textContent"},xa="imports",ya={initial:0,analyze:1,optimze:2,lower:3,compile:4,link:5,done:6},za=c.Class.define(function(a,c){if(this._stage=ya.initial,this._staticVariables={},this._staticVariablesCount=0,this._instanceVariables={},this._instanceVariablesCount={},this._debugBreak=c.debugBreakOnRender,this._defaultInitializer=Z(c.defaultInitializer||T),this._optimizeTextBindings=!c.disableTextBindingOptimization,this._templateElement=a,this._templateContent=b.document.createElement(a.tagName),this._extractChild=c.extractChild||!1,this._controls=null,this._bindings=null,this._bindTokens=null,this._textBindingPrefix=null,this._textBindingId=0,this._suffix=[],this._htmlProcessors=[],this._profilerMarkIdentifier=c.profilerMarkIdentifier,this._captureCSE=new qa(this,"container",ra.capture,this.generateElementCaptureAccess.bind(this)),this._dataCSE=new qa(this,"data",ra.data,this.generateNormalAccess.bind(this),this.importFunctionSafe("dataSecurityCheck",Z)),this._globalCSE=new qa(this,this.importFunctionSafe("global",b),ra.global,this.generateNormalAccess.bind(this),this.importFunctionSafe("globalSecurityCheck",Z)),m.renderCopy(this._templateElement,this._templateContent),this._extractChild)for(;this._templateContent.childElementCount>1;)this._templateContent.removeChild(this._templateContent.lastElementChild)},{addClassOneTimeTextBinding:function(a){var b=this,c=this.createTextBindingHole(a.elementCapture.element.tagName,"class",++this._textBindingId);a.textBindingId=c,a.kind=va.text,a.elementCapture.element.classList.add(c),a.elementCapture.refCount--,a.definition=function(){return b.formatCode("{htmlEscape}({value})",{htmlEscape:b._staticVariables.htmlEscape,value:a.value()})}},addClassOneTimeTreeBinding:function(a){var b=this;a.pathExpression=this.bindingExpression(a),a.value=function(){return a.pathExpression},a.kind=va.tree,a.definition=function(){return b.formatCode("{element}.classList.add({value})",{element:a.elementCapture,value:a.value()})}},analyze:function(){if(this._stage>ya.analyze)throw"Illegal: once we have moved past analyze we cannot revist it";this._stage=ya.analyze,this._controls=this.gatherControls(),this._bindings=this.gatherBindings(),this._children=this.gatherChildren(),this.cleanControlAndBindingAttributes(),this.async&&this.createAsyncParts(),this.nullableIdentifierAccessTemporary=this.defineInstance(ra.temporary);var a=this._templateContent.innerHTML;this._html=function(){return K(C(a))},this._html.text=a},bindingExpression:function(a){return this._dataCSE.createPathExpression(a.source,a.source.join("_"))},capture:function(a){var b=a._capture;if(b)return b.refCount++,b;for(var c=[a],d=a.parentNode,e=a.tagName;d!==this._templateContent;)e=d.tagName+"_"+e,c.unshift(d),d=d.parentNode;for(var f=0,g=c.length;g>f;f++){var h=c[f];c[f]=Array.prototype.indexOf.call(d.children,h),d=h}return b=this._captureCSE.createPathExpression(c,e.toLowerCase()),b.element=a,b.element._capture=b,b.refCount=1,b},cleanControlAndBindingAttributes:function(){for(var a="[data-win-bind],[data-win-control]",b=this._templateContent.querySelectorAll(a),c=0,d=b.length;d>c;c++){var e=b[c];e.isDeclarativeControlContainer&&(c+=e.querySelectorAll("[data-win-bind],[data-win-control]").length),e.removeAttribute("data-win-bind"),e.removeAttribute("data-win-control"),e.removeAttribute("data-win-options")}},compile:function(a,b,c){if(this._stage>ya.compile)throw"Illegal: once we have moved past compile we cannot revist it";this._stage=ya.compile;var d=this;this._returnedElement=this._extractChild?"container.firstElementChild":"container";var e,f,g=this._controls.map(function(a){var b;b=a.async?"{target}.winControl = {target}.winControl || new {SafeConstructor}({target}, {options}, controlDone)":"{target}.winControl = {target}.winControl || new {SafeConstructor}({target}, {options})";var c=d.formatCode(b,{target:a.elementCapture,SafeConstructor:a.SafeConstructor,options:d.generateOptionsLiteral(a.optionsParsed,a.elementCapture)});if(a.isDeclarativeControlContainer&&"function"==typeof a.isDeclarativeControlContainer.imported){var e=[c];return e.push(d.formatCode("{isDeclarativeControlContainer}({target}.winControl, {delayedControlProcessing})",{target:a.elementCapture,isDeclarativeControlContainer:a.isDeclarativeControlContainer,delayedControlProcessing:d._staticVariables.ui_processAll})),e.push(d.formatCode("{isDeclarativeControlContainer}({target}.winControl, {delayedBindingProcessing}(data, {templateDefaultInitializer}))",{target:a.elementCapture,isDeclarativeControlContainer:a.isDeclarativeControlContainer,delayedBindingProcessing:d._staticVariables.delayedBindingProcessing,templateDefaultInitializer:d._staticVariables.templateDefaultInitializer||C(null)})),e.join(";\n")}return c}),h=this._bindings.map(function(a){switch(a.kind){case va.template:return d.formatCode("({nestedTemplates}[{nestedTemplate}] = {template}.render({path}, {dest}))",{nestedTemplates:d._nestedTemplates,nestedTemplate:C(a.nestedTemplate),template:a.template,path:a.pathExpression,dest:a.elementCapture});case va.initializer:var b;return b=a.initialValue?"({bindTokens}[{bindToken}] = {initializer}(data, {sourceProperties}, {dest}, {destProperties}, {initialValue}))":"({bindTokens}[{bindToken}] = {initializer}(data, {sourceProperties}, {dest}, {destProperties}))",d.formatCode(b,{bindTokens:d._bindTokens,bindToken:C(a.bindToken),initializer:a.initializer,sourceProperties:C(a.source),destProperties:C(a.destination),dest:a.elementCapture,initialValue:a.initialValue});case va.tree:return a.definition();case va.text:break;case va.error:break;default:throw"NYI"}});c?(e=h.filter(function(a,b){return!d._bindings[b].delayable}),f=h.filter(function(a,b){return d._bindings[b].delayable})):(e=h,f=[]);var i=M(this._instanceVariables),j=i.filter(function(a){return a.kind===ra.variable}).map(function(a){return a.definition()}),k=this._captureCSE.definitions(),l=this._globalCSE.definitions(),m=this._dataCSE.definitions(),n=this._children.map(function(a){return d.formatCodeN("{0}.msParentSelectorScope = true",a)}),o=this._suffix.map(function(a){return a()}),p="";c&&f.length&&(p=d.formatCode(Ia,{delayed_binding_processing:y(f)}));var q=d.formatCode(a,O([this._staticVariables,b||{},{profilerMarkIdentifierStart:C("WinJS.Binding.Template:render"+this._profilerMarkIdentifier+",StartTM"),profilerMarkIdentifierStop:C("WinJS.Binding.Template:render"+this._profilerMarkIdentifier+",StopTM"),html:this._html(),tagName:C(this._templateElement.tagName),instance_variable_declarations:z(i),global_definitions:y(l),data_definitions:y(m),instance_variable_definitions:y(j),capture_definitions:y(k),set_msParentSelectorScope:y(n),debug_break:this.generateDebugBreak(),control_processing:y(g),control_counter:this._controlCounter,binding_processing:y(e),renderComplete:p,suffix_statements:y(o),nestedTemplates:this._nestedTemplates,returnedElement:this._returnedElement}]));return this.prettify(q)},createAsyncParts:function(){this._nestedTemplates=this._nestedTemplates||this.defineInstance(ra.variable,"nestedTemplates",function(){return D(0)}),this._controlCounter=this._controlCounter||this.defineInstance(ra.variable,"controlCounter",function(){return C(1)})},createTextBindingHole:function(a,b,c){if(!this._textBindingPrefix){for(var d="";-1!==this._html.text.indexOf("textbinding"+d);)d=d||0,d++;this._textBindingPrefix="textbinding"+d,this._textBindingRegex=new RegExp("(#?"+this._textBindingPrefix+"_\\d+)")}var e=this._textBindingPrefix+"_"+c;return"IMG"===a&&"src"===b&&(e="#"+e),e},deadCodeElimination:function(){var a=this;Object.keys(this._instanceVariables).forEach(function(b){var c=a._instanceVariables[b];c.kind===ra.capture&&(a._templateContent.contains(c.element)||(c.dead=!0),0===c.refCount&&(c.dead=!0),c.dead&&(c.definition=function(){},c.name=null,delete a._instanceVariables[b]))}),this._controls=this._controls.filter(function(a){return!a.elementCapture.dead}),this._bindings=this._bindings.filter(function(a){return!a.elementCapture.dead}),this._captureCSE.deadNodeElimination()},defineInstance:function(a,b,c){if(this._stage>=ya.compile)throw"Illegal: define instance variable after compilation stage has started";var d=this._instanceVariablesCount[a]||0,e=b?b.replace(ka,"_"):"",f=J(sa[a],d,e);return f.definition=function(){return E(f,c())},f.kind=a,this._instanceVariables[f]=f,this._instanceVariablesCount[a]=d+1,f},defineStatic:function(a,b,c){if(this._stage>=ya.link)throw"Illegal: define static variable after link stage has started";if(b){var d=this._staticVariables[b];if(d)return d}var e=b?b.replace(ka,"_"):"",f=J(ua[a],this._staticVariablesCount,e);return f.definition=function(){return E(f,c())},f.kind=a,this._staticVariables[b||f]=f,this._staticVariablesCount++,f},done:function(){if(this._stage>ya.done)throw"Illegal: once we have moved past done we cannot revist it";this._stage=ya.done},emitScopedSelect:function(a,b){return this.formatCode("{scopedSelect}({selector}, {element})",{scopedSelect:this._staticVariables.scopedSelect,selector:C(a),element:b})},emitOptionsNode:function(a,b,c){var d=this;if(a)switch(typeof a){case"object":if(Array.isArray(a)){b.push("[");for(var e=0,f=a.length;f>e;e++)this.emitOptionsNode(a[e],b,c),b.push(",");b.push("]")}else if(a instanceof ea)b.push("select"===a.target?this.emitScopedSelect(a.arg0Value,c):C(null));else if(a instanceof fa&&a.parts[0]instanceof ea){var g=a.parts[0];b.push(B("select"===g.target?this.emitScopedSelect(g.arg0Value,c):C(null),a.parts.slice(1),this.nullableIdentifierAccessTemporary,this.importFunctionSafe("requireSupportedForProcessing",Z)))}else a instanceof fa?b.push(a.pathExpression):(b.push("{"),Object.keys(a).forEach(function(e){b.push(H(e)),b.push(":"),d.emitOptionsNode(a[e],b,c),b.push(",")}),b.push("}"));break;default:b.push(C(a))}else b.push(C(null))},findGlobalIdentifierExpressions:function(a,b){b=b||[];var c=this;return Object.keys(a).forEach(function(d){var e=a[d];"object"==typeof e&&(e instanceof fa?e.parts[0]instanceof ea||b.push(e):c.findGlobalIdentifierExpressions(e,b))}),b},formatCodeN:function(){if(this._stageh;h++){var j=g[h];if(j.isDeclarativeControlContainer&&(h+=j.querySelectorAll(f).length),j.hasAttribute("data-win-bind")){var k=j.getAttribute("data-win-bind"),l=ga(k,b);l.forEach(function(b){if(b.initializer){var e=b.initializer.join("."),f=P(b.initializer);f.render?(Z(f.render),b.template=c.importFunctionSafe(e,f),b.pathExpression=c.bindingExpression(b),b.nestedTemplate=++d,b.kind=va.template):f.winControl&&f.winControl.render?(Z(f.winControl.render),b.template=c.importFunctionSafe(e,f.winControl),b.pathExpression=c.bindingExpression(b),b.nestedTemplate=++d,b.kind=va.template):(b.initializer=c.importFunction(e,f),b.bindToken=++a,b.kind=va.initializer)}else b.initializer=c.importFunctionSafe("templateDefaultInitializer",c._defaultInitializer),b.bindToken=++a,b.kind=va.initializer;b.elementCapture=c.capture(j),b.bindingText=k}),e.push.apply(e,l)}}var m=d+1;m>0&&(this.async=!0,this._nestedTemplates=this.defineInstance(ra.variable,"nestedTemplates",function(){return D(m)}));var n=a+1;return n>0&&(this._bindTokens=this.defineInstance(ra.variable,"bindTokens",function(){return D(n)}),this._suffix.push(function(){return c.formatCode("{utilities_data}(returnedElement).bindTokens = {bindTokens}",{utilities_data:c._staticVariables.utilities_data,bindTokens:c._bindTokens})})),e},gatherChildren:function(){var a=this;return Array.prototype.map.call(this._templateContent.children,function(b){return a.capture(b)})},gatherControls:function(){for(var a=this,c=0,e=[],f="[data-win-control]",g=this._templateContent.querySelectorAll(f),h=0,i=g.length;i>h;h++){var j=g[h],k=j.getAttribute("data-win-control"),l=d._getMemberFiltered(k.trim(),b,Z);if(l){var m=j.getAttribute("data-win-options")||C({}),n=l.length>2;n&&(c++,this.async=!0);var o=l.isDeclarativeControlContainer;o&&("function"==typeof o&&(o=this.importFunction(k+"_isDeclarativeControlContainer",o)),j.isDeclarativeControlContainer=o,h+=j.querySelectorAll(f).length);var p={elementCapture:this.capture(j),name:k,SafeConstructor:this.importFunctionSafe(k,l),async:n,optionsText:C(m),optionsParsed:da(m),isDeclarativeControlContainer:o};e.push(p);var q=this.findGlobalIdentifierExpressions(p.optionsParsed);q.forEach(function(b){b.pathExpression=a.globalExpression(b.parts)})}}return c>0&&(this._controlCounter=this.defineInstance(ra.variable,"controlCounter",function(){return C(c+1)})),e},generateElementCaptureAccess:function(a,b,c){if(c){var d=""+b=="0"?"":" + "+b;return this.formatCodeN("{0}.children[startIndex{1}]",a,d)}return this.formatCodeN("{0}.children[{1}]",a,b)},generateNormalAccess:function(a,b,c,d,e){if(a.indexOf(this.nullableIdentifierAccessTemporary)>=0){var f;return f=e?"{left} && {filter}({temp}{right})":"{left} && ({temp} = {filter}({temp}{right}))",this.formatCode(f,{temp:this.nullableIdentifierAccessTemporary,left:a,right:A([b]),filter:d})}var f;return f=e?"({temp} = {left}) && {filter}({temp}{right})":"({temp} = {left}) && ({temp} = {filter}({temp}{right}))",this.formatCode(f,{temp:this.nullableIdentifierAccessTemporary,left:a,right:A([b]),filter:d})},generateOptionsLiteral:function(a,b){var c=[];return this.emitOptionsNode(a,c,b),c.join(" ")},generateDebugBreak:function(){if(this._debugBreak){var a=this.defineStatic(ta.variable,"debugCounter",function(){return C(0)});return this.formatCodeN("if (++{0} === 1) {{ debugger; }}",a)}return""},globalExpression:function(a){return this._globalCSE.createPathExpression(a,a.join("_"))},importFunction:function(a,b){return this.importFunctionSafe(a,Z(b))},importFunctionSafe:function(a,b){var c=this,d=this.defineStatic(ta.imported,a,function(){return c.formatCodeN("({0}{1})",xa,A([a]))});if(d.imported&&d.imported!==b)throw"Duplicate import: '"+a+"'";return d.imported=b,d},importAll:function(a){return Object.keys(a).forEach(function(b){Z(a[b])}),this.importAllSafe(a)},importAllSafe:function(a){var b=this,c=Object.keys(a).reduce(function(c,d){return c[d]=b.importFunctionSafe(d,a[d]),c},{});return c},link:function(a){if(this._stage>ya.link)throw"Illegal: once we have moved past link we cannot revist it";this._stage=ya.link;var b=this,c=L(this._staticVariables).filter(function(a){return b._staticVariables[a].kind===ta.imported}).reduce(function(a,c){return a[c]=b._staticVariables[c].imported,a},{}),d=M(this._staticVariables);return new Function(xa,this.formatCode(Ka,{static_variable_declarations:z(d),static_variable_definitions:y(d.map(function(a){return a.definition()})),body:a.trim()}))(c)},lower:function(){if(this._stage>ya.lower)throw"Illegal: once we have moved past lower we cannot revist it";this._stage=ya.lower,this._captureCSE.lower(),this._dataCSE.lower(),this._globalCSE.lower()},markBindingAsError:function(a){a&&(a.kind=va.error,this.markBindingAsError(a.original))},oneTimeTextBinding:function(a){var b=this,c=this.oneTimeTextBindingAnalyze(a);if(c){var d;a.original&&(d=a.original.initialValue);var e=this.createTextBindingHole(a.elementCapture.element.tagName,c.attribute,++this._textBindingId);switch(a.textBindingId=e,a.kind=va.text,a.elementCapture.refCount--,a.definition=function(){var c;return c=d?"{htmlEscape}({initialValue})":"{htmlEscape}({getter})",b.formatCode(c,{htmlEscape:b._staticVariables.htmlEscape,getter:a.value(),initialValue:d})},c.kind){case wa.attribute:a.elementCapture.element.setAttribute(c.attribute,e);break;case wa.booleanAttribute:a.elementCapture.element.setAttribute(c.attribute,e),a.definition=function(){var e;return e=d?'({initialValue} ? {attribute} : "")':'({value} ? {attribute} : "")',b.formatCode(e,{value:a.value(),attribute:C(c.attribute),initialValue:d})},this._htmlProcessors.push(function(a){return a.replace(new RegExp(c.attribute+'="'+e+'"',"i"),e)});break;case wa.textContent:a.elementCapture.element.textContent=e;break;case wa.inlineStyle:var f=a.elementCapture.element;if(!f.msReplaceStyle){f.msReplaceStyle=f.getAttribute("style")||"",""!==f.msReplaceStyle&&";"!==f.msReplaceStyle[f.msReplaceStyle.length-1]&&(f.msReplaceStyle=f.msReplaceStyle+";"),f.setAttribute("style","msReplaceStyle:'"+e+"'");var g=f.getAttribute("style");this._htmlProcessors.push(function(a){return a.replace(g,f.msReplaceStyle)})}f.msReplaceStyle=f.msReplaceStyle+c.property+":"+e+";";break;default:throw"NYI"}}},oneTimeTextBindingAnalyze:function(a){var b=a.elementCapture.element,c=b.tagName,d=a.destination[0];switch(c){case"A":switch(d){case"href":return{kind:wa.attribute,attribute:d}}break;case"IMG":switch(d){case"alt":case"src":case"width":case"height":return{kind:wa.attribute,attribute:d}}break;case"SELECT":switch(d){case"disabled":case"multiple":case"required":return{kind:wa.booleanAttribute,attribute:d};case"size":return{kind:wa.attribute,attribute:d}}break;case"OPTION":switch(d){case"label":case"value":return{kind:wa.attribute,attribute:d};case"disabled":case"selected":return{kind:wa.booleanAttribute,attribute:d}}break;case"INPUT":switch(d){case"checked":switch(b.type){case"checkbox":case"radio":return{kind:wa.booleanAttribute,attribute:d}}break;case"disabled":return{kind:wa.booleanAttribute,attribute:d};case"max":case"maxLength":case"min":case"step":case"value":return{kind:wa.attribute,attribute:d};case"size":switch(b.type){case"text":case"search":case"tel":case"url":case"email":case"password":return{kind:wa.attribute,attribute:d}}break;case"readOnly":switch(b.type){case"hidden":case"range":case"color":case"checkbox":case"radio":case"file":case"button":break;default:return{kind:wa.booleanAttribute,attribute:d}}}break;case"BUTTON":switch(d){case"disabled":return{kind:wa.booleanAttribute,attribute:d};case"value":return{kind:wa.attribute,attribute:d}}break;case"TEXTAREA":switch(d){case"disabled":case"readOnly":case"required":return{kind:wa.booleanAttribute,attribute:d};case"cols":case"maxLength":case"placeholder":case"rows":case"wrap":return{kind:wa.attribute,attribute:d}}}switch(d){case"className":return{kind:wa.attribute,attribute:"class"};case"dir":case"lang":case"name":case"title":case"tabIndex":return{kind:wa.attribute,attribute:d};case"style":if(a.destination.length>1){var e=a.destination[1];if("cssText"===e)return;var f="string"==typeof b.style[e];if(f)return("m"===e[0]&&"s"===e[1]||"webkit"===e.substring(0,6))&&(e="-"+e),e=e.replace(pa,function(a){return"-"+a.toLowerCase()}),{kind:wa.inlineStyle,property:e,attribute:"style"}}break;case"innerText":case"textContent":return{kind:wa.textContent,attribute:"textContent"}}},oneTimeTreeBinding:function(a){if(1===a.destination.length&&"id"===a.destination[0]){if(d.validation)throw new e("WinJS.Binding.IdBindingNotSupported",g._formatString(s.idBindingNotSupported,a.bindingText));return f.log&&f.log(g._formatString(s.idBindingNotSupported,a.bindingText),"winjs binding","error"),void this.markBindingAsError(a)}if(0===a.destination.length)return f.log&&f.log(s.cannotBindToThis,"winjs binding","error"),void this.markBindingAsError(a);var b,c=this;a.pathExpression=this.bindingExpression(a),a.value=function(){return a.pathExpression},a.original&&(b=a.pathExpression,a.original.initialValue=b),a.kind=va.tree,a.definition=function(){var d;return d=b?"({targetPath} || {{}}){prop} = {initialValue}":"({targetPath} || {{}}){prop} = {sourcePath}",c.formatCode(d,{targetPath:B(a.elementCapture,a.destination.slice(0,-1),c.nullableIdentifierAccessTemporary,c.importFunctionSafe("targetSecurityCheck",u)),prop:A(a.destination.slice(-1)),sourcePath:a.value(), +initialValue:b})}},optimize:function(){if(this._stage>ya.optimze)throw"Illegal: once we have moved past link we cannot revist it";this._stage=ya.optimze;for(var a=0;ag;g++)e.push(d[g]);b=function(a,b,c,d){var f=[];return e.forEach(function(e){f.push(a(e,b,c,d))}),l.join(f)}}}for(var m=i.firstElementChild;m;)m.msParentSelectorScope=!0,m=m.nextElementSibling;var n=s.processTimeout;return n?(0>n&&(n=0),l.timeout(n).then(function(){return f=a()})):f=a()}).then(e,function(a){return e(),l.wrapError(a)});return{element:q,renderComplete:v}}var p=d.Class.define(function(a,c){this._element=a||b.document.createElement("div"),this._element.winControl=this,this._profilerMarkIdentifier=e._getProfilerMarkIdentifier(this._element),g("WinJS.Binding:newTemplate"+this._profilerMarkIdentifier+",StartTM");var d=this;this._element.renderItem=function(a,b){return d._renderItemImpl(a,b)},c=c||{},this.href=c.href,this.enableRecycling=!!c.enableRecycling,this.processTimeout=c.processTimeout||0,this.bindingInitializer=c.bindingInitializer,this.debugBreakOnRender=c.debugBreakOnRender,this.disableOptimizedProcessing=c.disableOptimizedProcessing,this.extractChild=c.extractChild,this._counter=0,this._compile=!!c._compile,this.href||(this.element.style.display="none"),this.bindingCache={expressions:{}},g("WinJS.Binding:newTemplate"+this._profilerMarkIdentifier+",StopTM")},{_shouldCompile:{get:function(){var a=!0;return a=a&&!p._interpretAll,a=a&&!this.disableOptimizedProcessing,a&&(a=a&&0===this.processTimeout,a=a&&(!this.href||this.href instanceof b.HTMLElement),a||f.log&&f.log("Cannot compile templates which use processTimeout or href properties","winjs binding","warn")),a}},bindingInitializer:{get:function(){return this._bindingInitializer},set:function(a){this._bindingInitializer=a,this._reset()}},debugBreakOnRender:{get:function(){return this._debugBreakOnRender},set:function(a){this._debugBreakOnRender=!!a,this._reset()}},disableOptimizedProcessing:{get:function(){return this._disableOptimizedProcessing},set:function(a){this._disableOptimizedProcessing=!!a,this._reset()}},element:{get:function(){return this._element}},extractChild:{get:function(){return this._extractChild},set:function(a){this._extractChild=!!a,this._reset()}},processTimeout:{get:function(){return this._processTimeout||0},set:function(a){this._processTimeout=a,this._reset()}},render:e.markSupportedForProcessing(function(a,b){return this._renderImpl(a,b)}),_renderImpl:function(b,c){if(this._shouldCompile)try{return this._renderImpl=this._compileTemplate({target:"render"}),this._renderImpl(b,c)}catch(d){return l.wrapError(d)}var e=a(this,b,c);return e.element.then(function(){return e.renderComplete})},_renderInterpreted:function(b,c){return a(this,b,c)},renderItem:function(a,b){return this._renderItemImpl(a,b)},_renderItemImpl:function(b,c){if(this._shouldCompile)try{return this._renderItemImpl=this._compileTemplate({target:"renderItem"}),this._renderItemImpl(b)}catch(d){return{element:l.wrapError(d),renderComplete:l.wrapError(d)}}var e=this;if(this.enableRecycling&&!this.bindingCache.elements&&(this.bindingCache.elements={}),this.enableRecycling&&c&&c.msOriginalTemplate===this){var f=this.bindingCache.elements[c.id],g=!0;if(f&&(f.bindings.forEach(function(a){a()}),f.bindings=[],g=!f.nocache),g)return{element:c,renderComplete:b.then(function(a){return h.processAll(c,a.data,!0,e.bindingCache)})}}var i=a(this,b.then(function(a){return a.data}));return i.element=i.element.then(function(a){return a.msOriginalTemplate=e,a}),i},_compileTemplate:function(a){var b=this,d=i._TemplateCompiler.compile(this,this.href||this.element,{debugBreakOnRender:this.debugBreakOnRender||p._debugBreakOnRender,defaultInitializer:this.bindingInitializer||a.defaultInitializer,disableTextBindingOptimization:a.disableTextBindingOptimization||!1,target:a.target,extractChild:this.extractChild,profilerMarkIdentifier:this._profilerMarkIdentifier}),e=a.resetOnFragmentChange||c.Windows.ApplicationModel.DesignMode.designModeEnabled;if(e){var f=new n._MutationObserver(function(){b._reset(),f.disconnect()});f.observe(n.data(this.element).docFragment,{childList:!0,attributes:!0,characterData:!0,subtree:!0 +})}return d},_reset:function(){delete this._renderImpl,delete this._renderItemImpl}},{isDeclarativeControlContainer:{value:!0,writable:!1,configurable:!1},render:{value:function(a,b,c){return new p(null,{href:a}).render(b,c)}}});return p})})}}),define("WinJS/BindingList/_BindingListDataSource",["exports","../Core/_WinRT","../Core/_Base","../Core/_ErrorFromName","../Binding/_DomWeakRefTable","../Promise","../Scheduler","../Utilities/_UI"],function(a,b,c,d,e,f,g,h){"use strict";c.Namespace._moduleDefine(a,"WinJS.Binding",{_BindingListDataSource:c.Namespace._lazy(function(){function a(a,b){for(var c=a.length;c-1>b;){var d=a.getItem(++b);if(d)return d.key}return null}function i(a,b){for(;b>0;){var c=a.getItem(--b);if(c)return c.key}return null}function j(a,b){Object.keys(b).forEach(function(c){a.addEventListener(c,b[c])})}function k(a,b){Object.keys(b).forEach(function(c){a.removeEventListener(c,b[c])})}function l(a,b){return b?new B(a,b):new A}function m(a,b,c){return b?new C(a,b,c):new A}function n(a,b,c){return b&&a._annotateWithIndex(b,c)}function o(a,b){return this._list.unshift(b),this.itemFromIndex(0)}function p(a,b,c){var d=this._list.indexOfKey(c);return-1===d?y.noLongerMeaningful:(this._list.splice(d,0,b),this.itemFromIndex(d))}function q(a,b,c){var d=this._list.indexOfKey(c);return-1===d?y.noLongerMeaningful:(d+=1,this._list.splice(d,0,b),this.itemFromIndex(d))}function r(a,b){return this._list.push(b),this.itemFromIndex(this._list.length-1)}function s(a,b){var c=this._list.indexOfKey(a);return-1===c?y.noLongerMeaningful:(this._list.setAt(c,b),this.itemFromIndex(c))}function t(a){var b=this._list.indexOfKey(a);if(-1===b)return y.noLongerMeaningful;var c=0;return this._list.move(b,c),this.itemFromIndex(c)}function u(a,b){var c=this._list.indexOfKey(a),d=this._list.indexOfKey(b);return-1===c||-1===d?y.noLongerMeaningful:(d=d>c?d-1:d,this._list.move(c,d),this.itemFromIndex(d))}function v(a,b){var c=this._list.indexOfKey(a),d=this._list.indexOfKey(b);return-1===c||-1===d?y.noLongerMeaningful:(d=d>=c?d:d+1,this._list.move(c,d),this.itemFromIndex(d))}function w(a){var b=this._list.indexOfKey(a);if(-1===b)return y.noLongerMeaningful;var c=this._list.length-1;return this._list.move(b,c),this.itemFromIndex(c)}function x(a){var b=this._list.indexOfKey(a);return-1===b?y.noLongerMeaningful:(this._list.splice(b,1),f.wrap())}var y={get noLongerMeaningful(){return f.wrapError(new d(h.EditError.noLongerMeaningful))}},z=f.wrap().constructor,A=c.Class.derive(z,function(){this._value=null},{release:function(){},retain:function(){return this}},{supportedForProcessing:!1}),B=c.Class.derive(z,function(a,b){this._value=b,this._listBinding=a},{handle:{get:function(){return this._value.key}},index:{get:function(){return this._value.index}},release:function(){this._listBinding._release(this._value,this._listBinding._list.indexOfKey(this._value.key))},retain:function(){return this._listBinding._addRef(this._value,this._listBinding._list.indexOfKey(this._value.key)),this}},{supportedForProcessing:!1}),C=c.Class.derive(f,function(a,b,c){var d=this;this._item=b,this._listBinding=a,f.call(this,function(e){g.schedule(function(){return a._released?void d.cancel():void e(b)},g.Priority.normal,null,"WinJS.Binding.List."+c)})},{handle:{get:function(){return this._item.key}},index:{get:function(){return this._item.index}},release:function(){this._listBinding._release(this._item,this._listBinding._list.indexOfKey(this._item.key))},retain:function(){return this._listBinding._addRef(this._item,this._listBinding._list.indexOfKey(this._item.key)),this}},{supportedForProcessing:!1}),D=c.Class.define(function(a,c,d,f){this._dataSource=a,this._list=c,this._editsCount=0,this._notificationHandler=d,this._pos=-1,this._retained=[],this._retained.length=c.length,this._retainedKeys={},this._affectedRange=null;var g=null;if(b.msSetWeakWinRTProperty&&b.msGetWeakWinRTProperty||(g=this),d){var h=function(a,b){var c=e._getWeakRefElement(f)||g;return c?(c["_"+a](b),!0):!1};this._handlers={itemchanged:function i(a){h("itemchanged",a)||c.removeEventListener("itemchanged",i)},iteminserted:function k(a){h("iteminserted",a)||c.removeEventListener("iteminserted",k)},itemmoved:function l(a){h("itemmoved",a)||c.removeEventListener("itemmoved",l)},itemremoved:function m(a){h("itemremoved",a)||c.removeEventListener("itemremoved",m)},reload:function n(){h("reload")||c.removeEventListener("reload",n)}},j(this._list,this._handlers)}},{_itemchanged:function(a){var b=a.detail.key,c=a.detail.index;this._updateAffectedRange(c,"changed");var d=a.detail.newItem,e=this._retained[c];if(e){var f=this._notificationHandler;if(e.index!==c){var g=e.index;e.index=c,f&&f.indexChanged&&f.indexChanged(d.key,c,g)}d=n(this._list,d,c),d._retainedCount=e._retainedCount,this._retained[c]=d,this._retainedKeys[b]=d,this._beginEdits(this._list.length),f&&f.changed&&f.changed(d,e),this._endEdits()}else this._beginEdits(this._list.length),this._endEdits()},_iteminserted:function(b){var c=b.detail.index;this._updateAffectedRange(c,"inserted"),this._beginEdits(this._list.length-1),c<=this._pos&&(this._pos=Math.min(this._pos+1,this._list.length));var d=this._retained;if(d.splice(c,0,0),delete d[c],this._shouldNotify(c)||1===this._list.length){var e=this._notificationHandler;e&&e.inserted&&e.inserted(l(this,n(this._list,this._list.getItem(c),c)),i(this._list,c),a(this._list,c))}this._endEdits()},_itemmoved:function(a){var b=a.detail.oldIndex,c=a.detail.newIndex;this._updateAffectedRange(b,"moved"),this._updateAffectedRange(c,"moved"),this._beginEdits(this._list.length),(bthis._pos?this._pos=Math.max(-1,this._pos-1):b>this._pos&&(this._pos=Math.min(this._pos+1,this._list.length)));var d=this._retained,e=d.splice(b,1)[0];d.splice(c,0,e),e||(delete d[c],e=n(this._list,this._list.getItem(c),c)),e._moved=!0,this._addRef(e,c),this._endEdits()},_itemremoved:function(a){var b=a.detail.key,c=a.detail.index;this._updateAffectedRange(c,"removed"),this._beginEdits(this._list.length+1),cb;b++){var d=a[b];if(d&&d.index!==b){var e=b,f=d.index;d.index=e;var g=this._notificationHandler;g&&g.indexChanged&&g.indexChanged(d.key,e,f)}}},_notifyMoved:function(){for(var b=this._retained,c=0,d=b.length;d>c;c++){var e=b[c];if(e&&e._moved&&(e._moved=!1,this._release(e,c),this._shouldNotify(c))){var f=this._notificationHandler;f&&f.moved&&f.moved(l(this,e),i(this._list,c),a(this._list,c))}}},_beginEdits:function(a,b){this._editsCount++;var c=this._notificationHandler;if(1===this._editsCount&&c){if(!b){this._editsCount++;var d=this;g.schedule(function(){d._endEdits()},g.Priority.high,null,"WinJS.Binding.List._endEdits")}c.beginNotifications&&c.beginNotifications(),this._countAtBeginEdits=a}},_endEdits:function(){this._editsCount--;var a=this._notificationHandler;0===this._editsCount&&a&&(this._notifyIndicesChanged(),this._notifyMoved(),this._notifyCountChanged(),this._notifyAffectedRange(),a.endNotifications&&a.endNotifications())},jumpToItem:function(a){var b=this._list.indexOfKey(a.handle);return-1===b?f.wrap(null):(this._pos=b,this.current())},current:function(){return this.fromIndex(this._pos)},previous:function(){return this._pos=Math.max(-1,this._pos-1),this._fromIndex(this._pos,!0,"previous")},next:function(){return this._pos=Math.min(this._pos+1,this._list.length),this._fromIndex(this._pos,!0,"next")},releaseItem:function(a){a.release?a.release():this._release(a,this._list.indexOfKey(a.key))},release:function(){this._notificationHandler&&k(this._list,this._handlers),this._notificationHandler=null,this._dataSource._releaseBinding(this),this._released=!0},first:function(){return this.fromIndex(0)},last:function(){return this.fromIndex(this._list.length-1)},fromKey:function(a){var b,c=this._retainedKeys;return b=a in c?c[a]:n(this._list,this._list.getItemFromKey(a),this._list.indexOfKey(a)),l(this,b)},fromIndex:function(a){return this._fromIndex(a,!1,"fromIndex")},_fromIndex:function(a,b,c){var d,e=this._retained;return d=a in e?e[a]:n(this._list,this._list.getItem(a),a),b?m(this,d,c):l(this,d)}},{supportedForProcessing:!1}),E=0,F=c.Class.define(function(a){this._usingWeakRef=b.msSetWeakWinRTProperty&&b.msGetWeakWinRTProperty,this._bindings={},this._list=a,a.unshift&&(this.insertAtStart=o),a.push&&(this.insertAtEnd=r),a.setAt&&(this.change=s),a.splice&&(this.insertAfter=q,this.insertBefore=p,this.remove=x),a.move&&(this.moveAfter=v,this.moveBefore=u,this.moveToEnd=w,this.moveToStart=t)},{_releaseBinding:function(a){delete this._bindings[a._id]},addEventListener:function(){},removeEventListener:function(){},createListBinding:function(a){var b="ds_"+ ++E,c=new D(this,this._list,a,b);return c._id=b,this._usingWeakRef?(e._createWeakRef(c,b),this._bindings[b]=b):this._bindings[b]=c,c},getCount:function(){return f.wrap(this._list.length)},itemFromKey:function(a){var b=this._list,c=n(b,b.getItemFromKey(a),-1);return Object.defineProperty(c,"index",{get:function(){return b.indexOfKey(a)},enumerable:!1,configurable:!0}),f.wrap(c)},itemFromIndex:function(a){return f.wrap(n(this._list,this._list.getItem(a),a))},list:{get:function(){return this._list}},beginEdits:function(){var a=this._list.length;this._forEachBinding(function(b){b._beginEdits(a,!0)})},endEdits:function(){this._forEachBinding(function(a){a._endEdits()})},_forEachBinding:function(a){if(this._usingWeakRef){var b=[];Object.keys(this._bindings).forEach(function(c){var d=e._getWeakRefElement(c);d?a(d):b.push(c)});for(var c=0,d=b.length;d>c;c++)delete this._bindings[b[c]]}else{var f=this;Object.keys(this._bindings).forEach(function(b){a(f._bindings[b])})}},invalidateAll:function(){return f.wrap()},moveAfter:void 0,moveBefore:void 0,moveToEnd:void 0,moveToStart:void 0},{supportedForProcessing:!1});return F})})}),define("WinJS/BindingList",["exports","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Events","./Core/_Resources","./Binding/_Data","./BindingList/_BindingListDataSource"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){return Array.prototype.slice.call(a,0)}function j(a){return{handle:a.handle,key:a.key,data:a.data,groupKey:a.groupKey,groupSize:a.groupSize,firstItemKey:a.firstItemKey,firstItemIndexHint:a.firstItemIndexHint}}function k(a){return void 0===a?void 0:+a}function l(a,b){function c(b,c){for(;c>b;b++)a[b]=f[b]}function d(a,b){if(!(2>b-a)){var f=Math.floor((b+a)/2);d(a,f),d(f,b),e(a,f,b),c(a,b)}}function e(c,d,e){for(var g=c,h=d,i=c;e>i;i++)d>g&&(h>=e||b(a[g],a[h])<=0)?(f[i]=a[g],g++):(f[i]=a[h],h++)}var f=new Array(a.length);return d(0,a.length),a}var m={get sparseArrayNotSupported(){return"Sparse arrays are not supported with proxy: true"},get illegalListLength(){return"List length must be assigned a finite positive number"}},n=e._createEventProperty,o={},p=b.Namespace.defineWithParent(null,null,{ListBase:b.Namespace._lazy(function(){var a=b.Class.define(null,{_annotateWithIndex:function(a,b){var c=j(a);return c.index=b,c},onitemchanged:n("itemchanged"),oniteminserted:n("iteminserted"),onitemmoved:n("itemmoved"),onitemmutated:n("itemmutated"),onitemremoved:n("itemremoved"),onreload:n("reload"),_notifyItemChanged:function(a,b,c,d,e,f){this._listeners&&this._listeners.itemchanged&&this.dispatchEvent("itemchanged",{key:a,index:b,oldValue:c,newValue:d,oldItem:e,newItem:f})},_notifyItemInserted:function(a,b,c){this._listeners&&this._listeners.iteminserted&&this.dispatchEvent("iteminserted",{key:a,index:b,value:c});var d=this.length;d!==this._lastNotifyLength&&(this.notify("length",d,this._lastNotifyLength),this._lastNotifyLength=d)},_notifyItemMoved:function(a,b,c,d){this._listeners&&this._listeners.itemmoved&&this.dispatchEvent("itemmoved",{key:a,oldIndex:b,newIndex:c,value:d})},_notifyItemMutated:function(a,b,c){this._listeners&&this._listeners.itemmutated&&this.dispatchEvent("itemmutated",{key:a,value:b,item:c})},_notifyItemRemoved:function(a,b,c,d){this._listeners&&this._listeners.itemremoved&&this.dispatchEvent("itemremoved",{key:a,index:b,value:c,item:d});var e=this.length;e!==this._lastNotifyLength&&(this.notify("length",e,this._lastNotifyLength),this._lastNotifyLength=e)},_notifyReload:function(){if(this._listeners&&this._listeners.reload&&this.dispatchEvent("reload"),a!==this._lastNotifyLength){var a=this.length;this.notify("length",a,this._lastNotifyLength),this._lastNotifyLength=a}},_normalizeIndex:function(a){return a=k(a),0>a?this.length+a:a},_notifyMutatedFromKey:function(a){var b=this.getItemFromKey(a);this._notifyItemMutated(a,b.data,b)},notifyReload:function(){this._notifyReload()},getAt:function(a){a=k(a);var b=this.getItem(a);return b&&b.data},_getArray:function(){for(var a=new Array(this.length),b=0,c=this.length;c>b;b++){var d=this.getItem(b);d&&(a[b]=d.data)}return a},_getFromKey:function(a){var b=this.getItemFromKey(a);return b&&b.data},_getKey:function(a){a=k(a);var b=this.getItem(a);return b&&b.key},concat:function(){var a=this._getArray();return a.concat.apply(a,arguments)},join:function(a){return this._getArray().join(a||",")},slice:function(a,b){return this._getArray().slice(a,b)},indexOf:function(a,b){b=k(b),b=Math.max(0,this._normalizeIndex(b)||0);for(var c=b,d=this.length;d>c;c++){var e=this.getItem(c);if(e&&e.data===a)return c}return-1},lastIndexOf:function(a,b){b=k(b);var c=this.length;b=Math.min(this._normalizeIndex(void 0!==b?b:c),c-1);var d;for(d=b;d>=0;d--){var e=this.getItem(d);if(e&&e.data===a)return d}return-1},every:function(a,b){return this._getArray().every(a,b)},filter:function(a,b){return this._getArray().filter(a,b)},forEach:function(a,b){this._getArray().forEach(a,b)},map:function(a,b){return this._getArray().map(a,b)},some:function(a,b){return this._getArray().some(a,b)},reduce:function(a,b){return arguments.length>1?this._getArray().reduce(a,b):this._getArray().reduce(a)},reduceRight:function(a,b){return arguments.length>1?this._getArray().reduceRight(a,b):this._getArray().reduceRight(a)},createFiltered:function(a){return new p.FilteredListProjection(this,a)},createGrouped:function(a,b,c){return new p.GroupedSortedListProjection(this,a,b,c)},createSorted:function(a){return new p.SortedListProjection(this,a)},dataSource:{get:function(){return this._dataSource=this._dataSource||new h._BindingListDataSource(this)}}},{supportedForProcessing:!1});return b.Class.mix(a,g.observableMixin),b.Class.mix(a,e.eventMixin),a}),ListBaseWithMutators:b.Namespace._lazy(function(){return b.Class.derive(p.ListBase,null,{pop:function(){return this.splice(-1,1)[0]},push:function(a){if(1===arguments.length)return this.splice(this.length,0,a),this.length;var b=i(arguments);return b.splice(0,0,this.length,0),this.splice.apply(this,b),this.length},shift:function(){return this.splice(0,1)[0]},unshift:function(a){if(1===arguments.length)this.splice(0,0,a);else{var b=i(arguments);b.splice(0,0,0,0),this.splice.apply(this,b)}return this.length}},{supportedForProcessing:!1})}),ListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListBaseWithMutators,null,{_list:null,_myListeners:null,_addListListener:function(a,b){var c={name:a,handler:b.bind(this)};this._myListeners=this._myListeners||[],this._myListeners.push(c),this._list.addEventListener(a,c.handler)},dispose:function(){var b=this._list,c=this._myListeners;this._myListeners=[];for(var d=0,e=c.length;e>d;d++){var f=c[d];b.removeEventListener(f.name,f.handler)}this._list=new a.List,this._listReload()},getItemFromKey:function(a){return this._list.getItemFromKey(a)},move:function(a,b){a=k(a),b=k(b),a===b||0>a||0>b||a>=this.length||b>=this.length||(a=this._list.indexOfKey(this._getKey(a)),b=this._list.indexOfKey(this._getKey(b)),this._list.move(a,b))},_notifyMutatedFromKey:function(a){this._list._notifyMutatedFromKey(a)},splice:function(a,b,c){a=k(a),a=Math.max(0,this._normalizeIndex(a));var d=i(arguments);return a===this.length?(d[0]=this._list.length,this._list.splice.apply(this._list,d)):(d[0]=this._getKey(a),this._spliceFromKey.apply(this,d))},_setAtKey:function(a,b){this._list._setAtKey(a,b)}},{supportedForProcessing:!1})}),FilteredListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListProjection,function(a,b){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmutated",this._listItemMutated),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._filter=b,this._initFilteredKeys()},{_filter:null,_filteredKeys:null,_initFilteredKeys:function(){for(var a=this._filter,b=this._list,c=[],d=0,e=b.length;e>d;d++){var f=b.getItem(d);f&&a(f.data)&&c.push(f.key)}this._filteredKeys=c},_findInsertionPosition:function(a,b){for(var c,d=this._filter;--b>=0;){var e=this._list.getItem(b);if(e&&d(e.data)){c=e.key;break}}var f=this._filteredKeys,g=c?f.indexOf(c)+1:0;return g},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.oldValue,e=a.detail.newValue,f=a.detail.oldItem,g=a.detail.newItem,h=this._filter,i=h(d),j=h(e);if(i&&j){var k=this._filteredKeys,l=k.indexOf(b);this._notifyItemChanged(b,l,d,e,f,g)}else i&&!j?this._listItemRemoved({detail:{key:b,index:c,value:d,item:f}}):!i&&j&&this._listItemInserted({detail:{key:b,index:c,value:e}})},_listItemInserted:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.value,e=this._filter;if(e(d)){var f=this._findInsertionPosition(b,c),g=this._filteredKeys;g.splice(f,0,b),this._notifyItemInserted(b,f,d)}},_listItemMoved:function(a){var b=a.detail.key,c=a.detail.newIndex,d=a.detail.value,e=this._filteredKeys,f=e.indexOf(b);if(-1!==f){e.splice(f,1);var g=this._findInsertionPosition(b,c);e.splice(g,0,b),this._notifyItemMoved(b,f,g,d)}},_listItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._filter,f=this._filteredKeys,g=f.indexOf(b),h=-1!==g,i=e(c);h&&i?this._notifyItemMutated(b,c,d):h&&!i?(f.splice(g,1),this._notifyItemRemoved(b,g,c,d)):!h&&i&&this._listItemInserted({detail:{key:b,index:this._list.indexOfKey(b),value:c}})},_listItemRemoved:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._filteredKeys,f=e.indexOf(b);-1!==f&&(e.splice(f,1),this._notifyItemRemoved(b,f,c,d))},_listReload:function(){this._initFilteredKeys(),this._notifyReload()},length:{get:function(){return this._filteredKeys.length},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);var b=this.length;b>a&&this.splice(a,b-a)}},getItem:function(a){return a=k(a),this.getItemFromKey(this._filteredKeys[a])},indexOfKey:function(a){return this._filteredKeys.indexOf(a)},notifyMutated:function(a){return a=k(a),this._notifyMutatedFromKey(this._filteredKeys[a])},setAt:function(a,b){a=k(a),this._setAtKey(this._filteredKeys[a],b)},_spliceFromKey:function(a,b){if(arguments.length>2){var c=i(arguments);c[1]=0,this._list._spliceFromKey.apply(this._list,c)}var d=[];if(b){for(var e=[],f=this._filteredKeys,g=f.indexOf(a),h=g,j=f.length;j>h&&b>h-g;h++){var a=f[h];e.push(a)}var k=this;e.forEach(function(a){d.push(k._list._spliceFromKey(a,1)[0])})}return d}},{supportedForProcessing:!1})}),SortedListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListProjection,function(a,b){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemmutated",this._listItemMutated),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._sortFunction=b,this._initSortedKeys()},{_sortFunction:null,_sortedKeys:null,_initSortedKeys:function(){for(var a=this._list,b=[],c=0,d=a.length;d>c;c++){var e=a.getItem(c);e&&(b[c]=e.key)}var f=this._sortFunction,g=l(b,function(b,c){return b=a.getItemFromKey(b).data,c=a.getItemFromKey(c).data,f(b,c)});this._sortedKeys=g},_findInsertionPos:function(a,b,c,d,e){for(var f=this._sortFunction,g=this._sortedKeys,h=Math.max(0,d||-1),i=Math.min(g.length,e||Number.MAX_VALUE),j=h;i>=h;){j=(h+i)/2>>>0;var k=g[j];if(!k)break;var l=this.getItemFromKey(k),m=f(l.data,c);if(0>m)h=j+1;else{if(0===m)return this._findStableInsertionPos(a,b,h,i,j,c);i=j-1}}return h},_findBeginningOfGroup:function(a,b,c,d,e){for(var f=0,g=a;g>=f;){a=(f+g)/2>>>0;var h=d[a],i=c.getItemFromKey(h),j=b(i.data,e);0>j?f=a+1:g=a-1}return f},_findEndOfGroup:function(a,b,c,d,e){for(var f=a,g=d.length;g>=f;){a=(f+g)/2>>>0;var h=d[a];if(!h)return d.length;var i=c.getItemFromKey(h),j=b(i.data,e);0>=j?f=a+1:g=a-1}return f},_findStableInsertionPos:function(a,b,c,d,e,f){var g=this._list,h=g.length,i=this._sortFunction,j=this._sortedKeys;if(h/2>b){for(var k=b-1;k>=0;k--){var l=g.getItem(k);if(0===i(l.data,f))return h-c>d?j.indexOf(l.key,c)+1:j.lastIndexOf(l.key,d)+1}return this._findBeginningOfGroup(e,i,g,j,f)}for(var k=b+1;h>k;k++){var l=g.getItem(k);if(0===i(l.data,f))return h-c>d?j.indexOf(l.key,c):j.lastIndexOf(l.key,d)}return this._findEndOfGroup(e,i,g,j,f)},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.newValue,d=a.detail.oldValue,e=this._sortFunction;if(0===e(d,c)){var f=this.indexOfKey(b);this._notifyItemChanged(b,f,d,c,a.detail.oldItem,a.detail.newItem)}else this._listItemRemoved({detail:{key:b,index:a.detail.index,value:a.detail.oldValue,item:a.detail.oldItem}}),this._listItemInserted({detail:{key:b,index:a.detail.index,value:a.detail.newValue}})},_listItemInserted:function(a,b,c){var d=a.detail.key,e=a.detail.index,f=a.detail.value,g=this._findInsertionPos(d,e,f,b,c);this._sortedKeys.splice(g,0,d),this._notifyItemInserted(d,g,f)},_listItemMoved:function(a,b,c){var d=a.detail.key,e=a.detail.newIndex,f=a.detail.value,g=this._sortedKeys,h=g.indexOf(d,b);g.splice(h,1);var i=this._findInsertionPos(d,e,f,b,c);g.splice(i,0,d),i!==h&&this._notifyItemMoved(d,h,i,f)},_listItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=a.detail.item,e=this._list.indexOfKey(b),f=this._sortedKeys.indexOf(b);this._sortedKeys.splice(f,1);var g=this._findInsertionPos(b,e,c);return this._sortedKeys.splice(f,0,b),f===g?void this._notifyItemMutated(b,c,d):(this._listItemRemoved({detail:{key:b,index:e,value:c,item:d}}),void this._listItemInserted({detail:{key:b,index:e,value:c}}))},_listItemRemoved:function(a,b){var c=a.detail.key,d=a.detail.value,e=a.detail.item,f=this._sortedKeys,g=f.indexOf(c,b);f.splice(g,1),this._notifyItemRemoved(c,g,d,e)},_listReload:function(){this._initSortedKeys(),this._notifyReload()},length:{get:function(){return this._sortedKeys.length},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);var b=this.length;b>a&&this.splice(a,b-a)}},getItem:function(a){return a=k(a),this.getItemFromKey(this._sortedKeys[a])},indexOfKey:function(a){return this._sortedKeys.indexOf(a)},notifyMutated:function(a){a=k(a),this._notifyMutatedFromKey(this._sortedKeys[a])},setAt:function(a,b){a=k(a),this._setAtKey(this._sortedKeys[a],b)},_spliceFromKey:function(a,b){if(arguments.length>2){var c=i(arguments);c[1]=0,this._list._spliceFromKey.apply(this._list,c)}var d=[];if(b){for(var e=[],f=this._sortedKeys,g=f.indexOf(a),h=g,j=f.length;j>h&&b>h-g;h++)e.push(f[h]);var k=this;e.forEach(function(a){d.push(k._list._spliceFromKey(a,1)[0])})}return d}},{supportedForProcessing:!1})}),GroupedSortedListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.SortedListProjection,function(a,b,c,d){this._list=a,this._addListListener("itemchanged",this._listGroupedItemChanged),this._addListListener("iteminserted",this._listGroupedItemInserted),this._addListListener("itemmoved",this._listGroupedItemMoved),this._addListListener("itemmutated",this._listGroupedItemMutated),this._addListListener("itemremoved",this._listGroupedItemRemoved),this._addListListener("reload",this._listReload),this._sortFunction=function(a,c){return a=b(a),c=b(c),d?d(a,c):c>a?-1:a===c?0:1},this._groupKeyOf=b,this._groupDataOf=c,this._initSortedKeys(),this._initGroupedItems()},{_groupKeyOf:null,_groupDataOf:null,_groupedItems:null,_initGroupedItems:function(){for(var a={},b=this._list,c=this._groupKeyOf,d=0,e=b.length;e>d;d++){var f=j(b.getItem(d));f.groupKey=c(f.data),a[f.key]=f}this._groupedItems=a},_groupsProjection:null,_listGroupedItemChanged:function(a){var b=a.detail.key,c=a.detail.oldValue,d=a.detail.newValue,e=this._groupedItems,f=e[b],g=j(f);g.data=d,g.groupKey=this._groupKeyOf(d),e[b]=g;var h;f.groupKey===g.groupKey?(h=this.indexOfKey(b),this._notifyItemChanged(b,h,c,d,f,g)):(h=a.detail.index,this._listItemChanged({detail:{key:b,index:h,oldValue:c,newValue:d,oldItem:f,newItem:g}}))},_listGroupedItemInserted:function(a){var b=a.detail.key,c=a.detail.value,d=this._groupKeyOf(c);this._groupedItems[b]={handle:b,key:b,data:c,groupKey:d};var e,f;if(this._groupsProjection){var g=this._groupsProjection._groupItems[d];g&&(e=g.firstItemIndexHint,f=e+g.groupSize)}this._listItemInserted(a,e,f)},_listGroupedItemMoved:function(a){var b,c,d=this._groupedItems[a.detail.key].groupKey;if(this._groupsProjection){var e=this._groupsProjection._groupItems[d];b=e.firstItemIndexHint,c=b+e.groupSize}this._listItemMoved(a,b,c)},_listGroupedItemMutated:function(a){var b=a.detail.key,c=a.detail.value,d=this._groupedItems,e=d[b],f=this._groupKeyOf(c);if(e.groupKey===f)this._notifyItemMutated(b,c,e);else{var g=j(e);g.groupKey=f,d[b]=g;var h=this._list.indexOfKey(b);this._listItemRemoved({detail:{key:b,index:h,value:c,item:e}}),this._listItemInserted({detail:{key:b,index:h,value:c}})}},_listGroupedItemRemoved:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.value,e=this._groupedItems,f=e[b];delete e[b];var g,h;if(this._groupsProjection){var i=this._groupsProjection._groupItems[f.groupKey];g=i.firstItemIndexHint,h=g+i.groupSize}this._listItemRemoved({detail:{key:b,index:c,value:d,item:f}},g,h)},_listReload:function(){this._initGroupedItems(),p.SortedListProjection.prototype._listReload.call(this)},groups:{get:function(){return null===this._groupsProjection&&(this._groupsProjection=new p.GroupsListProjection(this,this._groupKeyOf,this._groupDataOf)),this._groupsProjection}},getItemFromKey:function(a){return this._groupedItems[a]}},{supportedForProcessing:!1})}),GroupsListProjection:b.Namespace._lazy(function(){return b.Class.derive(p.ListBase,function(a,b,c){this._list=a,this._addListListener("itemchanged",this._listItemChanged),this._addListListener("iteminserted",this._listItemInserted),this._addListListener("itemmoved",this._listItemMoved),this._addListListener("itemremoved",this._listItemRemoved),this._addListListener("reload",this._listReload),this._groupKeyOf=b,this._groupDataOf=c,this._initGroupKeysAndItems()},{_list:null,_addListListener:function(a,b){this._list.addEventListener(a,b.bind(this))},_groupDataOf:null,_groupKeyOf:null,_groupOf:function(a){return this.getItemFromKey(this._groupKeyOf(a.data))},_groupKeys:null,_groupItems:null,_initGroupKeysAndItems:function(){for(var a,b=this._groupDataOf,c=this._list,d={},e=[],f=null,g=null,h=0,i=c.length;i>h;h++){var j=c.getItem(h),k=j.groupKey;k!==f?(g&&(g.groupSize=a),a=1,f=k,g={handle:k,key:k,data:b(j.data),firstItemKey:j.key,firstItemIndexHint:h},d[k]=g,e.push(k)):a++}g&&(g.groupSize=a),this._groupKeys=e,this._groupItems=d},_listItemChanged:function(a){var b=a.detail.key,c=a.detail.index,d=a.detail.newValue,e=this._list,f=e.getItemFromKey(b).groupKey,g=this._groupItems,h=g[f];if(h.firstItemIndexHint===c){var i=j(h);i.data=this._groupDataOf(d),i.firstItemKey=b,g[f]=i,this._notifyItemChanged(f,this._groupKeys.indexOf(f),h.data,i.data,h,i)}},_listItemInserted:function(a){var b,c,d,e,f,g=a.detail.key,h=a.detail.index,i=a.detail.value,k=this._list,l=k.getItemFromKey(g).groupKey,m=this._groupItems,n=this._groupKeys,o=m[l];if(o)c=o,d=j(c),d.groupSize++,c.firstItemIndexHint===h&&(d.groupData=this._groupDataOf(i),d.firstItemKey=g,d.firstItemIndexHint=h),m[l]=d,b=n.indexOf(l),this._notifyItemChanged(l,b,c.data,d.data,c,d);else{for(e=0,f=n.length;f>e&&(o=m[n[e]],!(o.firstItemIndexHint>=h));e++);b=e,o={handle:l,key:l,data:this._groupDataOf(i),groupSize:1,firstItemKey:g,firstItemIndexHint:h},n.splice(b,0,l),m[l]=o,this._notifyItemInserted(l,b,o.data)}for(e=b+1,f=n.length;f>e;e++)c=m[n[e]],d=j(c),d.firstItemIndexHint++,m[d.key]=d,this._notifyItemChanged(d.key,e,c.data,d.data,c,d)},_listItemMoved:function(a){var b=a.detail.key,c=a.detail.oldIndex,d=a.detail.newIndex,e=this._list,f=e.getItemFromKey(b).groupKey,g=this._groupItems,h=g[f];if(h.firstItemIndexHint===d||h.firstItemIndexHint===c){var i=e.getItem(h.firstItemIndexHint),k=j(h);k.data=this._groupDataOf(i.data),k.firstItemKey=i.key,g[f]=k,this._notifyItemChanged(f,this._groupKeys.indexOf(f),h.data,k.data,h,k)}},_listItemRemoved:function(a){var b,c,d=a.detail.index,e=a.detail.item,f=this._groupItems,g=this._groupKeys,h=e.groupKey,i=f[h],k=g.indexOf(h);if(1===i.groupSize)g.splice(k,1),delete f[h],this._notifyItemRemoved(h,k,i.data,i),k--;else{if(b=i,c=j(b),c.groupSize--,b.firstItemIndexHint===d){var l=this._list.getItem(d);c.data=this._groupDataOf(l.data),c.firstItemKey=l.key}f[h]=c,this._notifyItemChanged(h,k,b.data,c.data,b,c)}for(var m=k+1,n=g.length;n>m;m++)b=f[g[m]],c=j(b),c.firstItemIndexHint--,f[c.key]=c,this._notifyItemChanged(c.key,m,b.data,c.data,b,c)},_listReload:function(){this._initGroupKeysAndItems(),this._notifyReload()},length:{get:function(){return this._groupKeys.length}},getItem:function(a){return a=k(a),this._groupItems[this._groupKeys[a]]},getItemFromKey:function(a){return this._groupItems[a]},indexOfKey:function(a){return this._groupKeys.indexOf(a)}},{supportedForProcessing:!1})})});b.Namespace._moduleDefine(a,"WinJS.Binding",{List:b.Namespace._lazy(function(){return b.Class.derive(p.ListBaseWithMutators,function(a,b){if(this._currentKey=0,this._keys=null,this._keyMap={},b=b||o,this._proxy=b.proxy,this._binding=b.binding,this._proxy){if(Object.keys(a).length!==a.length)throw new d("WinJS.Binding.List.NotSupported",m.sparseArrayNotSupported);this._data=a,this._currentKey=a.length}else if(a){for(var c=this._keyMap,e=0,f=0,h=a.length;h>f;f++)if(f in a){var i=a[f];this._binding&&(i=g.as(i));var j=e.toString();e++,c[j]={handle:j,key:j,data:i}}e!==f&&this._initializeKeys(),this._currentKey=e}},{_currentKey:0,_keys:null,_keyMap:null, +_modifyingData:0,_initializeKeys:function(){if(!this._keys){var a=[];if(this._data){for(var b=this._keyMap,c=this._data,d=0,e=c.length;e>d;d++)if(d in c){var f=d.toString();if(a[d]=f,!(f in b)){var h=c[d];this._binding&&(h=g.as(h)),b[f]={handle:f,key:f,data:h}}}}else Object.keys(this._keyMap).forEach(function(b){a[b>>>0]=b});this._keys=a}},_lazyPopulateEntry:function(a){if(this._data&&a in this._data){var b=this._data[a];this._binding&&(b=g.as(b));var c=a.toString(),d={handle:c,key:c,data:b};return this._keyMap[d.key]=d,d}},_assignKey:function(){return(++this._currentKey).toString()},length:{get:function(){return this._data?this._data.length:this._keys?this._keys.length:this._currentKey},set:function(a){if(!("number"==typeof a&&a>=0))throw new d("WinJS.Binding.List.IllegalLength",m.illegalListLength);this._initializeKeys();var b=this.length;if(b>a?this.splice(a,b-a):a=b,this._data){this._modifyingData++;try{this._data.length=a}finally{this._modifyingData--}}this._keys&&(this._keys.length=a)}},getItem:function(a){var b,c;return a=k(a),this._keys?(c=this._keys[a],b=c&&this._keyMap[c]):(c=a.toString(),b=this._keyMap[c]||this._lazyPopulateEntry(a)),b},getItemFromKey:function(a){var b;return b=this._keys||!this._data?this._keyMap[a]:this.getItem(a>>>0)},indexOfKey:function(a){var b=-1;if(this._keys)b=this._keys.indexOf(a);else{var c=a>>>0;ca||0>b||a>=this.length||b>=this.length)){if(this._data){this._modifyingData++;try{var c=this._data.splice(a,1)[0];this._data.splice(b,0,c)}finally{this._modifyingData--}}var d=this._keys.splice(a,1)[0];this._keys.splice(b,0,d),this._notifyItemMoved(d,a,b,this.getItemFromKey(d).data)}},notifyMutated:function(a){a=k(a);var b=this._keys?this._keys[a]:a.toString();this._notifyMutatedFromKey(b)},setAt:function(a,b){a=k(a),this._initializeKeys();var c=this.length;if(a===c)this.push(b);else if(c>a){if(this._data){this._modifyingData++;try{this._data[a]=b}finally{this._modifyingData--}}if(this._binding&&(b=g.as(b)),a in this._keys){var d=this._keys[a],e=this._keyMap[d],f=j(e);f.data=b,this._keyMap[d]=f,this._notifyItemChanged(d,a,e.data,b,e,f)}}},_setAtKey:function(a,b){this.setAt(this.indexOfKey(a),b)},reverse:function(){if(this._initializeKeys(),this._data){this._modifyingData++;try{this._data.reverse()}finally{this._modifyingData--}}return this._keys.reverse(),this._notifyReload(),this},sort:function(a){if(this._initializeKeys(),this._data){this._modifyingData++;try{this._data.sort(a)}finally{this._modifyingData--}}var b=this;return this._keys.sort(function(c,d){return c=b._keyMap[c],d=b._keyMap[d],a?a(c.data,d.data):(c=(c&&c.data||"").toString(),d=(c&&d.data||"").toString(),d>c?-1:c===d?0:1)}),this._notifyReload(),this},pop:function(){if(0!==this.length){this._initializeKeys();var a=this._keys.pop(),b=this._keyMap[a],c=b&&b.data;if(this._data){this._modifyingData++;try{this._data.pop()}finally{this._modifyingData--}}return delete this._keyMap[a],this._notifyItemRemoved(a,this._keys.length,c,b),c}},push:function(){this._initializeKeys();for(var a=arguments.length,b=0;a>b;b++){var c=arguments[b];this._binding&&(c=g.as(c));var d=this._assignKey();if(this._keys.push(d),this._data){this._modifyingData++;try{this._data.push(arguments[b])}finally{this._modifyingData--}}this._keyMap[d]={handle:d,key:d,data:c},this._notifyItemInserted(d,this._keys.length-1,c)}return this.length},shift:function(){if(0!==this.length){this._initializeKeys();var a=this._keys.shift(),b=this._keyMap[a],c=b&&b.data;if(this._data){this._modifyingData++;try{this._data.shift()}finally{this._modifyingData--}}return delete this._keyMap[a],this._notifyItemRemoved(a,0,c,b),c}},unshift:function(){this._initializeKeys();for(var a=arguments.length,b=a-1;b>=0;b--){var c=arguments[b];this._binding&&(c=g.as(c));var d=this._assignKey();if(this._keys.unshift(d),this._data){this._modifyingData++;try{this._data.unshift(arguments[b])}finally{this._modifyingData--}}this._keyMap[d]={handle:d,key:d,data:c},this._notifyItemInserted(d,0,c)}return this.length},splice:function(a,b,c){a=k(a),this._initializeKeys(),a=Math.max(0,this._normalizeIndex(a)),b=Math.max(0,Math.min(b||0,this.length-a));for(var d=[];b;){var e=this._keys[a],f=this._keyMap[e],h=f&&f.data;if(d.push(h),this._keys.splice(a,1),this._data){this._modifyingData++;try{this._data.splice(a,1)}finally{this._modifyingData--}}delete this._keyMap[e],this._notifyItemRemoved(e,a,h,f),--b}if(arguments.length>2)for(var i=2,j=arguments.length;j>i;i++){var l=arguments[i];this._binding&&(l=g.as(l));var m=Math.min(a+i-2,this.length),n=this._assignKey();if(this._keys.splice(m,0,n),this._data){this._modifyingData++;try{this._data.splice(m,0,arguments[i])}finally{this._modifyingData--}}this._keyMap[n]={handle:n,key:n,data:l},this._notifyItemInserted(n,m,l)}return d},_spliceFromKey:function(a){this._initializeKeys();var b=i(arguments);return b[0]=this._keys.indexOf(a),this.splice.apply(this,b)}},{supportedForProcessing:!1})})})}),define("WinJS/Res",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./Core/_ErrorFromName","./Core/_Resources","./ControlProcessor/_OptionsParser","./Promise"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,c){a=a||b.document.body;var c=c||0;if(4>c){if(0===c&&a.getAttribute){var f=a.getAttribute("data-win-res");if(f){var i=g.optionsParser(f);l(a,a,i,c)}}var j="[data-win-res],[data-win-control]",k=a.querySelectorAll(j);if(0===k.length)return h.as(a);for(var n=0,p=k.length;p>n;n++){var q=k[n];if(q.winControl&&q.winControl.constructor&&q.winControl.constructor.isDeclarativeControlContainer){var r=q.winControl.constructor.isDeclarativeControlContainer;"function"==typeof r&&(r=o(r),r(q.winControl,m),n+=q.querySelectorAll(j).length)}if(q.hasAttribute("data-win-res")){var i=g.optionsParser(q.getAttribute("data-win-res"));l(q,q,i,c)}}}else if(d.validation)throw new e("WinJS.Res.NestingExceeded","NestingExceeded");return h.as(a)}function j(a,b){for(var c=Object.keys(b),e=0,g=c.length;g>e;e++){var h=c[e],i=b[h],j=f.getString(i);j&&j.empty?d.validation&&k(i):(a.setAttribute(h,j.value),void 0!==j.lang&&void 0!==a.lang&&a.lang!==j.lang&&(a.lang=j.lang))}}function k(a){throw new e("WinJS.Res.NotFound",f._formatString("NotFound: {0}",a))}function l(a,b,c,e){var g=Object.keys(c);b=o(b);for(var h=0,m=g.length;m>h;h++){var n=g[h],p=c[n];if("string"==typeof p){var q=f.getString(p);q&&q.empty?d.validation&&k(p):(b[n]=q.value,void 0!==q.lang&&void 0!==a.lang&&a.lang!==q.lang&&(a.lang=q.lang),"innerHTML"===n&&i(b,e+1))}else a===b&&"attributes"===n?j(a,p):l(a,b[n],p,e)}}function m(a){if(!n)return d.ready().then(function(){return n=!0,i(a)});try{return i(a)}catch(b){return h.wrapError(b)}}var n=!1,o=d.requireSupportedForProcessing;c.Namespace._moduleDefine(a,"WinJS.Resources",{processAll:m})}),define("WinJS/Pages/_BasePage",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_WriteProfilerMark","../Promise","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){var c=b.document.createElement("a");return c.href=a,c.href}function k(a){return b.document.location.href.toLowerCase()===a.toLowerCase()}function l(a,h){var l=m(a);return a=j(a),l||(l=c.Class.define(function(c,g,h,j){var l=this;this._disposed=!1,this.element=c=c||b.document.createElement("div"),i.addClass(c,"win-disposable"),c.msSourceLocation=a,this.uri=a,this.selfhost=k(a),c.winControl=this,i.addClass(c,"pagecontrol");var m=" uri='"+a+"'"+d._getProfilerMarkIdentifier(this.element);e("WinJS.UI.Pages:createPage"+m+",StartTM");var n=f.wrap().then(function(){return l.load(a)}),o=n.then(function(a){return f.join({loadResult:a,initResult:l.init(c,g)})}).then(function(a){return l.render(c,g,a.loadResult)});this.elementReady=o.then(function(){return c}),this.renderComplete=o.then(function(){return l.process(c,g)}).then(function(){return l.processed(c,g)}).then(function(){return l});var p=function(){h&&h(l),e("WinJS.UI.Pages:createPage"+m+",StopTM")};this.renderComplete.then(p,p),this.readyComplete=this.renderComplete.then(function(){return j}).then(function(){return l.ready(c,g),l}).then(null,function(a){return l.error(a)})},p),l=c.Class.mix(l,g.DOMEventMixin),o[a.toLowerCase()]=l),h&&(l=c.Class.mix(l,h)),l.selfhost=k(a),l}function m(a){return a=j(a),o[a.toLowerCase()]}function n(a){a=j(a),delete o[a.toLowerCase()]}if(b.document){var o={},p={dispose:function(){this._disposed||(this._disposed=!0,h.disposeSubTree(this.element),this.element=null)},load:function(a){},init:function(a,b){},process:function(a,b){},processed:function(a,b){},render:function(a,b,c){},ready:function(a,b){},error:function(a){return f.wrapError(a)}};c.Namespace._moduleDefine(a,null,{abs:j,define:l,get:m,remove:n,viewMap:o})}}),define("WinJS/Pages",["exports","./Core/_Global","./Core/_Base","./Core/_BaseUtils","./ControlProcessor","./Fragments","./Pages/_BasePage","./Promise"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,e){var f=g.get(a);return f||(f=g.define(a,m)),e&&(f=c.Class.mix(f,e)),f.selfhost&&d.ready(function(){l(g.abs(a),b.document.body)},!0),f}function j(a){var b=g.get(a);return b||(b=i(a)),b}function k(a){f.clearCache(g.abs(a)),g.remove(a)}function l(a,b,c,d){var e=j(a),f=new e(b,c,null,d);return f.renderComplete.then(null,function(a){return h.wrapError({error:a,page:f})})}if(b.document){var m={load:function(a){return this.selfhost?void 0:f.renderCopy(g.abs(a))},process:function(a,b){return e.processAll(a)},render:function(a,b,c){return this.selfhost||a.appendChild(c),a}};c.Namespace._moduleDefine(a,"WinJS.UI.Pages",{define:i,get:j,_remove:k,render:l,_viewMap:g.viewMap})}}),define("WinJS/Controls/HtmlControl",["exports","../Core/_Global","../Core/_Base","../Pages"],function(a,b,c,d){"use strict";b.document&&c.Namespace._moduleDefine(a,"WinJS.UI",{HtmlControl:c.Class.define(function(a,b,c){d.render(b.uri,a,b).then(c,function(){c()})})})}),define("base",["WinJS/Core/_WinJS","WinJS/Core","WinJS/Promise","WinJS/_Signal","WinJS/Scheduler","WinJS/Utilities","WinJS/XYFocus","WinJS/Fragments","WinJS/Application","WinJS/Navigation","WinJS/Animations","WinJS/Binding","WinJS/BindingTemplate","WinJS/BindingList","WinJS/Res","WinJS/Pages","WinJS/ControlProcessor","WinJS/Controls/HtmlControl"],function(a){"use strict";return a.Namespace.define("WinJS.Utilities",{_require:require,_define:define}),a}),require(["WinJS/Core/_WinJS","base"],function(a){globalObject.WinJS=a,"undefined"!=typeof module&&(module.exports=a)}),globalObject.WinJS})}(); //# sourceMappingURL=base.min.js.map \ No newline at end of file diff --git a/js/base.min.js.map b/js/base.min.js.map index c72d1fe..9a9f3f5 100644 --- a/js/base.min.js.map +++ b/js/base.min.js.map @@ -1 +1 @@ -{"version":3,"file":"base.min.js","sources":["base.js"],"names":["globalObject","window","self","global","factory","define","amd","msWriteProfilerMark","exports","nodeName","WinJS","require","normalize","id","dependencies","parent","split","pop","map","dep","parts","current","slice","forEach","part","push","join","resolve","depName","defined","Error","resolved","load","deps","apply","Array","isArray","mod","indexOf","_Global","markSupportedForProcessing","func","supportedForProcessing","hasWinRT","Windows","_setImmediate","setImmediate","bind","handler","setTimeout","_WinJS","_BaseCoreUtils","_WriteProfilerMark","initializeProperties","target","members","prefix","properties","i","len","keys","Object","length","key","enumerable","charCodeAt","member","undefined","value","get","set","configurable","writable","setName","defineProperties","createNamespace","parentNamespace","name","currentNamespace","namespaceFragments","splice","namespaceName","defineProperty","defineWithParent","lazy","f","result","state","LazyStates","uninitialized","initialized","working","moduleDefine","publicNS","_rootNamespace","Namespace","create","prototype","_lazy","_moduleDefine","constructor","instanceMembers","staticMembers","derive","baseClass","basePrototype","mix","arguments","Class","_Base","ErrorFromName","message","this","msGetWeakWinRTProperty","msSetWeakWinRTProperty","APIs","isCoreWindowAvailable","UI","ViewManagement","InputPane","getForCurrentView","e","api","leaf","reduce","createEventProperty","eventPropStateName","userHandler","wrapper","evt","addEventListener","removeEventListener","createEventProperties","props","EventMixinEvent","type","detail","timeStamp","Date","now","bubbles","cancelable","currentTarget","defaultPrevented","_preventDefaultCalled","trusted","eventPhase","preventDefault","stopImmediatePropagation","_stopImmediatePropagationCalled","stopPropagation","eventMixin","_listeners","listener","useCapture","eventListeners","l","dispatchEvent","details","listeners","eventValue","_createEventProperty","tv/scrollViewerPageDown","tv/scrollViewerPageUp","ui/appBarAriaLabel","ui/appBarCommandAriaLabel","ui/appBarOverflowButtonAriaLabel","ui/autoSuggestBoxAriaLabel","ui/autoSuggestBoxAriaLabelInputNoPlaceHolder","ui/autoSuggestBoxAriaLabelInputPlaceHolder","ui/autoSuggestBoxAriaLabelQuery","_ui/autoSuggestBoxAriaLabelQuery.comment","ui/autoSuggestBoxAriaLabelSeparator","_ui/autoSuggestBoxAriaLabelSeparator.comment","ui/autoSuggestBoxAriaLabelResult","_ui/autoSuggestBoxAriaLabelResult.comment","ui/averageRating","ui/backbuttonarialabel","ui/chapterSkipBackMediaCommandDisplayText","ui/chapterSkipForwardMediaCommandDisplayText","ui/clearYourRating","ui/closedCaptionsLabelNone","ui/closedCaptionsMediaCommandDisplayText","ui/closeOverlay","ui/commandingSurfaceAriaLabel","ui/commandingSurfaceOverflowButtonAriaLabel","ui/datePicker","ui/fastForwardMediaCommandDisplayText","ui/fastForwardFeedbackDisplayText","ui/fastForwardFeedbackSlowMotionDisplayText","ui/flipViewPanningContainerAriaLabel","ui/flyoutAriaLabel","ui/goToFullScreenButtonLabel","ui/goToLiveMediaCommandDisplayText","ui/hubViewportAriaLabel","ui/listViewViewportAriaLabel","ui/mediaErrorAborted","ui/mediaErrorNetwork","ui/mediaErrorDecode","ui/mediaErrorSourceNotSupported","ui/mediaErrorUnknown","ui/mediaPlayerAudioTracksButtonLabel","ui/mediaPlayerCastButtonLabel","ui/mediaPlayerChapterSkipBackButtonLabel","ui/mediaPlayerChapterSkipForwardButtonLabel","ui/mediaPlayerClosedCaptionsButtonLabel","ui/mediaPlayerFastForwardButtonLabel","ui/mediaPlayerFullscreenButtonLabel","ui/mediaPlayerLiveButtonLabel","ui/mediaPlayerNextTrackButtonLabel","ui/mediaPlayerOverlayActiveOptionIndicator","ui/mediaPlayerPauseButtonLabel","ui/mediaPlayerPlayButtonLabel","ui/mediaPlayerPlayFromBeginningButtonLabel","ui/mediaPlayerPlayRateButtonLabel","ui/mediaPlayerPreviousTrackButtonLabel","ui/mediaPlayerRewindButtonLabel","ui/mediaPlayerStopButtonLabel","ui/mediaPlayerTimeSkipBackButtonLabel","ui/mediaPlayerTimeSkipForwardButtonLabel","ui/mediaPlayerToggleSnapButtonLabel","ui/mediaPlayerVolumeButtonLabel","ui/mediaPlayerZoomButtonLabel","ui/menuCommandAriaLabel","ui/menuAriaLabel","ui/navBarContainerViewportAriaLabel","ui/nextTrackMediaCommandDisplayText","ui/off","ui/on","ui/pauseMediaCommandDisplayText","ui/playFromBeginningMediaCommandDisplayText","ui/playbackRateHalfSpeedLabel","ui/playbackRateNormalSpeedLabel","ui/playbackRateOneAndHalfSpeedLabel","ui/playbackRateDoubleSpeedLabel","ui/playMediaCommandDisplayText","ui/pivotAriaLabel","ui/pivotViewportAriaLabel","ui/replayMediaCommandDisplayText","ui/rewindMediaCommandDisplayText","ui/rewindFeedbackDisplayText","ui/rewindFeedbackSlowMotionDisplayText","ui/searchBoxAriaLabel","ui/searchBoxAriaLabelInputNoPlaceHolder","ui/searchBoxAriaLabelInputPlaceHolder","ui/searchBoxAriaLabelButton","ui/seeMore","ui/selectAMPM","ui/selectDay","ui/selectHour","ui/selectMinute","ui/selectMonth","ui/selectYear","ui/settingsFlyoutAriaLabel","ui/stopMediaCommandDisplayText","ui/tentativeRating","ui/timePicker","ui/timeSeparator","ui/timeSkipBackMediaCommandDisplayText","ui/timeSkipForwardMediaCommandDisplayText","ui/toolbarAriaLabel","ui/toolbarOverflowButtonAriaLabel","ui/unrated","ui/userRating","ui/zoomMediaCommandDisplayText","ui/appBarIcons/previous","_ui/appBarIcons/previous.comment","ui/appBarIcons/next","_ui/appBarIcons/next.comment","ui/appBarIcons/play","_ui/appBarIcons/play.comment","ui/appBarIcons/pause","_ui/appBarIcons/pause.comment","ui/appBarIcons/edit","_ui/appBarIcons/edit.comment","ui/appBarIcons/save","_ui/appBarIcons/save.comment","ui/appBarIcons/clear","_ui/appBarIcons/clear.comment","ui/appBarIcons/delete","_ui/appBarIcons/delete.comment","ui/appBarIcons/remove","_ui/appBarIcons/remove.comment","ui/appBarIcons/add","_ui/appBarIcons/add.comment","ui/appBarIcons/cancel","_ui/appBarIcons/cancel.comment","ui/appBarIcons/accept","_ui/appBarIcons/accept.comment","ui/appBarIcons/more","_ui/appBarIcons/more.comment","ui/appBarIcons/redo","_ui/appBarIcons/redo.comment","ui/appBarIcons/undo","_ui/appBarIcons/undo.comment","ui/appBarIcons/home","_ui/appBarIcons/home.comment","ui/appBarIcons/up","_ui/appBarIcons/up.comment","ui/appBarIcons/forward","_ui/appBarIcons/forward.comment","ui/appBarIcons/right","_ui/appBarIcons/right.comment","ui/appBarIcons/back","_ui/appBarIcons/back.comment","ui/appBarIcons/left","_ui/appBarIcons/left.comment","ui/appBarIcons/favorite","_ui/appBarIcons/favorite.comment","ui/appBarIcons/camera","_ui/appBarIcons/camera.comment","ui/appBarIcons/settings","_ui/appBarIcons/settings.comment","ui/appBarIcons/video","_ui/appBarIcons/video.comment","ui/appBarIcons/sync","_ui/appBarIcons/sync.comment","ui/appBarIcons/download","_ui/appBarIcons/download.comment","ui/appBarIcons/mail","_ui/appBarIcons/mail.comment","ui/appBarIcons/find","_ui/appBarIcons/find.comment","ui/appBarIcons/help","_ui/appBarIcons/help.comment","ui/appBarIcons/upload","_ui/appBarIcons/upload.comment","ui/appBarIcons/emoji","_ui/appBarIcons/emoji.comment","ui/appBarIcons/twopage","_ui/appBarIcons/twopage.comment","ui/appBarIcons/leavechat","_ui/appBarIcons/leavechat.comment","ui/appBarIcons/mailforward","_ui/appBarIcons/mailforward.comment","ui/appBarIcons/clock","_ui/appBarIcons/clock.comment","ui/appBarIcons/send","_ui/appBarIcons/send.comment","ui/appBarIcons/crop","_ui/appBarIcons/crop.comment","ui/appBarIcons/rotatecamera","_ui/appBarIcons/rotatecamera.comment","ui/appBarIcons/people","_ui/appBarIcons/people.comment","ui/appBarIcons/closepane","_ui/appBarIcons/closepane.comment","ui/appBarIcons/openpane","_ui/appBarIcons/openpane.comment","ui/appBarIcons/world","_ui/appBarIcons/world.comment","ui/appBarIcons/flag","_ui/appBarIcons/flag.comment","ui/appBarIcons/previewlink","_ui/appBarIcons/previewlink.comment","ui/appBarIcons/globe","_ui/appBarIcons/globe.comment","ui/appBarIcons/trim","_ui/appBarIcons/trim.comment","ui/appBarIcons/attachcamera","_ui/appBarIcons/attachcamera.comment","ui/appBarIcons/zoomin","_ui/appBarIcons/zoomin.comment","ui/appBarIcons/bookmarks","_ui/appBarIcons/bookmarks.comment","ui/appBarIcons/document","_ui/appBarIcons/document.comment","ui/appBarIcons/protecteddocument","_ui/appBarIcons/protecteddocument.comment","ui/appBarIcons/page","_ui/appBarIcons/page.comment","ui/appBarIcons/bullets","_ui/appBarIcons/bullets.comment","ui/appBarIcons/comment","_ui/appBarIcons/comment.comment","ui/appBarIcons/mail2","_ui/appBarIcons/mail2.comment","ui/appBarIcons/contactinfo","_ui/appBarIcons/contactinfo.comment","ui/appBarIcons/hangup","_ui/appBarIcons/hangup.comment","ui/appBarIcons/viewall","_ui/appBarIcons/viewall.comment","ui/appBarIcons/mappin","_ui/appBarIcons/mappin.comment","ui/appBarIcons/phone","_ui/appBarIcons/phone.comment","ui/appBarIcons/videochat","_ui/appBarIcons/videochat.comment","ui/appBarIcons/switch","_ui/appBarIcons/switch.comment","ui/appBarIcons/contact","_ui/appBarIcons/contact.comment","ui/appBarIcons/rename","_ui/appBarIcons/rename.comment","ui/appBarIcons/pin","_ui/appBarIcons/pin.comment","ui/appBarIcons/musicinfo","_ui/appBarIcons/musicinfo.comment","ui/appBarIcons/go","_ui/appBarIcons/go.comment","ui/appBarIcons/keyboard","_ui/appBarIcons/keyboard.comment","ui/appBarIcons/dockleft","_ui/appBarIcons/dockleft.comment","ui/appBarIcons/dockright","_ui/appBarIcons/dockright.comment","ui/appBarIcons/dockbottom","_ui/appBarIcons/dockbottom.comment","ui/appBarIcons/remote","_ui/appBarIcons/remote.comment","ui/appBarIcons/refresh","_ui/appBarIcons/refresh.comment","ui/appBarIcons/rotate","_ui/appBarIcons/rotate.comment","ui/appBarIcons/shuffle","_ui/appBarIcons/shuffle.comment","ui/appBarIcons/list","_ui/appBarIcons/list.comment","ui/appBarIcons/shop","_ui/appBarIcons/shop.comment","ui/appBarIcons/selectall","_ui/appBarIcons/selectall.comment","ui/appBarIcons/orientation","_ui/appBarIcons/orientation.comment","ui/appBarIcons/import","_ui/appBarIcons/import.comment","ui/appBarIcons/importall","_ui/appBarIcons/importall.comment","ui/appBarIcons/browsephotos","_ui/appBarIcons/browsephotos.comment","ui/appBarIcons/webcam","_ui/appBarIcons/webcam.comment","ui/appBarIcons/pictures","_ui/appBarIcons/pictures.comment","ui/appBarIcons/savelocal","_ui/appBarIcons/savelocal.comment","ui/appBarIcons/caption","_ui/appBarIcons/caption.comment","ui/appBarIcons/stop","_ui/appBarIcons/stop.comment","ui/appBarIcons/showresults","_ui/appBarIcons/showresults.comment","ui/appBarIcons/volume","_ui/appBarIcons/volume.comment","ui/appBarIcons/repair","_ui/appBarIcons/repair.comment","ui/appBarIcons/message","_ui/appBarIcons/message.comment","ui/appBarIcons/page2","_ui/appBarIcons/page2.comment","ui/appBarIcons/calendarday","_ui/appBarIcons/calendarday.comment","ui/appBarIcons/calendarweek","_ui/appBarIcons/calendarweek.comment","ui/appBarIcons/calendar","_ui/appBarIcons/calendar.comment","ui/appBarIcons/characters","_ui/appBarIcons/characters.comment","ui/appBarIcons/mailreplyall","_ui/appBarIcons/mailreplyall.comment","ui/appBarIcons/read","_ui/appBarIcons/read.comment","ui/appBarIcons/link","_ui/appBarIcons/link.comment","ui/appBarIcons/accounts","_ui/appBarIcons/accounts.comment","ui/appBarIcons/showbcc","_ui/appBarIcons/showbcc.comment","ui/appBarIcons/hidebcc","_ui/appBarIcons/hidebcc.comment","ui/appBarIcons/cut","_ui/appBarIcons/cut.comment","ui/appBarIcons/attach","_ui/appBarIcons/attach.comment","ui/appBarIcons/paste","_ui/appBarIcons/paste.comment","ui/appBarIcons/filter","_ui/appBarIcons/filter.comment","ui/appBarIcons/copy","_ui/appBarIcons/copy.comment","ui/appBarIcons/emoji2","_ui/appBarIcons/emoji2.comment","ui/appBarIcons/important","_ui/appBarIcons/important.comment","ui/appBarIcons/mailreply","_ui/appBarIcons/mailreply.comment","ui/appBarIcons/slideshow","_ui/appBarIcons/slideshow.comment","ui/appBarIcons/sort","_ui/appBarIcons/sort.comment","ui/appBarIcons/manage","_ui/appBarIcons/manage.comment","ui/appBarIcons/allapps","_ui/appBarIcons/allapps.comment","ui/appBarIcons/disconnectdrive","_ui/appBarIcons/disconnectdrive.comment","ui/appBarIcons/mapdrive","_ui/appBarIcons/mapdrive.comment","ui/appBarIcons/newwindow","_ui/appBarIcons/newwindow.comment","ui/appBarIcons/openwith","_ui/appBarIcons/openwith.comment","ui/appBarIcons/contactpresence","_ui/appBarIcons/contactpresence.comment","ui/appBarIcons/priority","_ui/appBarIcons/priority.comment","ui/appBarIcons/uploadskydrive","_ui/appBarIcons/uploadskydrive.comment","ui/appBarIcons/gototoday","_ui/appBarIcons/gototoday.comment","ui/appBarIcons/font","_ui/appBarIcons/font.comment","ui/appBarIcons/fontcolor","_ui/appBarIcons/fontcolor.comment","ui/appBarIcons/contact2","_ui/appBarIcons/contact2.comment","ui/appBarIcons/folder","_ui/appBarIcons/folder.comment","ui/appBarIcons/audio","_ui/appBarIcons/audio.comment","ui/appBarIcons/placeholder","_ui/appBarIcons/placeholder.comment","ui/appBarIcons/view","_ui/appBarIcons/view.comment","ui/appBarIcons/setlockscreen","_ui/appBarIcons/setlockscreen.comment","ui/appBarIcons/settile","_ui/appBarIcons/settile.comment","ui/appBarIcons/cc","_ui/appBarIcons/cc.comment","ui/appBarIcons/stopslideshow","_ui/appBarIcons/stopslideshow.comment","ui/appBarIcons/permissions","_ui/appBarIcons/permissions.comment","ui/appBarIcons/highlight","_ui/appBarIcons/highlight.comment","ui/appBarIcons/disableupdates","_ui/appBarIcons/disableupdates.comment","ui/appBarIcons/unfavorite","_ui/appBarIcons/unfavorite.comment","ui/appBarIcons/unpin","_ui/appBarIcons/unpin.comment","ui/appBarIcons/openlocal","_ui/appBarIcons/openlocal.comment","ui/appBarIcons/mute","_ui/appBarIcons/mute.comment","ui/appBarIcons/italic","_ui/appBarIcons/italic.comment","ui/appBarIcons/underline","_ui/appBarIcons/underline.comment","ui/appBarIcons/bold","_ui/appBarIcons/bold.comment","ui/appBarIcons/movetofolder","_ui/appBarIcons/movetofolder.comment","ui/appBarIcons/likedislike","_ui/appBarIcons/likedislike.comment","ui/appBarIcons/dislike","_ui/appBarIcons/dislike.comment","ui/appBarIcons/like","_ui/appBarIcons/like.comment","ui/appBarIcons/alignright","_ui/appBarIcons/alignright.comment","ui/appBarIcons/aligncenter","_ui/appBarIcons/aligncenter.comment","ui/appBarIcons/alignleft","_ui/appBarIcons/alignleft.comment","ui/appBarIcons/zoom","_ui/appBarIcons/zoom.comment","ui/appBarIcons/zoomout","_ui/appBarIcons/zoomout.comment","ui/appBarIcons/openfile","_ui/appBarIcons/openfile.comment","ui/appBarIcons/otheruser","_ui/appBarIcons/otheruser.comment","ui/appBarIcons/admin","_ui/appBarIcons/admin.comment","ui/appBarIcons/street","_ui/appBarIcons/street.comment","ui/appBarIcons/map","_ui/appBarIcons/map.comment","ui/appBarIcons/clearselection","_ui/appBarIcons/clearselection.comment","ui/appBarIcons/fontdecrease","_ui/appBarIcons/fontdecrease.comment","ui/appBarIcons/fontincrease","_ui/appBarIcons/fontincrease.comment","ui/appBarIcons/fontsize","_ui/appBarIcons/fontsize.comment","ui/appBarIcons/cellphone","_ui/appBarIcons/cellphone.comment","ui/appBarIcons/reshare","_ui/appBarIcons/reshare.comment","ui/appBarIcons/tag","_ui/appBarIcons/tag.comment","ui/appBarIcons/repeatone","_ui/appBarIcons/repeatone.comment","ui/appBarIcons/repeatall","_ui/appBarIcons/repeatall.comment","ui/appBarIcons/outlinestar","_ui/appBarIcons/outlinestar.comment","ui/appBarIcons/solidstar","_ui/appBarIcons/solidstar.comment","ui/appBarIcons/calculator","_ui/appBarIcons/calculator.comment","ui/appBarIcons/directions","_ui/appBarIcons/directions.comment","ui/appBarIcons/target","_ui/appBarIcons/target.comment","ui/appBarIcons/library","_ui/appBarIcons/library.comment","ui/appBarIcons/phonebook","_ui/appBarIcons/phonebook.comment","ui/appBarIcons/memo","_ui/appBarIcons/memo.comment","ui/appBarIcons/microphone","_ui/appBarIcons/microphone.comment","ui/appBarIcons/postupdate","_ui/appBarIcons/postupdate.comment","ui/appBarIcons/backtowindow","_ui/appBarIcons/backtowindow.comment","ui/appBarIcons/fullscreen","_ui/appBarIcons/fullscreen.comment","ui/appBarIcons/newfolder","_ui/appBarIcons/newfolder.comment","ui/appBarIcons/calendarreply","_ui/appBarIcons/calendarreply.comment","ui/appBarIcons/unsyncfolder","_ui/appBarIcons/unsyncfolder.comment","ui/appBarIcons/reporthacked","_ui/appBarIcons/reporthacked.comment","ui/appBarIcons/syncfolder","_ui/appBarIcons/syncfolder.comment","ui/appBarIcons/blockcontact","_ui/appBarIcons/blockcontact.comment","ui/appBarIcons/switchapps","_ui/appBarIcons/switchapps.comment","ui/appBarIcons/addfriend","_ui/appBarIcons/addfriend.comment","ui/appBarIcons/touchpointer","_ui/appBarIcons/touchpointer.comment","ui/appBarIcons/gotostart","_ui/appBarIcons/gotostart.comment","ui/appBarIcons/zerobars","_ui/appBarIcons/zerobars.comment","ui/appBarIcons/onebar","_ui/appBarIcons/onebar.comment","ui/appBarIcons/twobars","_ui/appBarIcons/twobars.comment","ui/appBarIcons/threebars","_ui/appBarIcons/threebars.comment","ui/appBarIcons/fourbars","_ui/appBarIcons/fourbars.comment","ui/appBarIcons/scan","_ui/appBarIcons/scan.comment","ui/appBarIcons/preview","_ui/appBarIcons/preview.comment","ui/appBarIcons/hamburger","_ui/appBarIcons/hamburger.comment","_WinRT","_Events","defaultStrings","_getWinJSString","getString","empty","_getStringBuiltIn","resourceId","str","formatString","string","args","replace","unused","left","right","index","illegalLeft","illegalRight","strings","malformedFormatStringInput","resourceMap","resourceContext","mrtEventHook","contextChangedET","ListenerType","createEvent",{"end":{"file":"base.js","comments_before":[],"nlb":false,"endpos":76387,"endcol":38,"endline":1349,"pos":76361,"col":12,"line":1349,"value":"malformedFormatStringInput","type":"name"},"start":{"file":"base.js","comments_before":[],"nlb":false,"endpos":76387,"endcol":38,"endline":1349,"pos":76361,"col":12,"line":1349,"value":"malformedFormatStringInput","type":"name"},"name":"malformedFormatStringInput"},"ApplicationModel","Resources","Core","ResourceManager","resContext","_getResourceContext","qualifierValues","qualifier","changed","defaultContext","_formatString","_getStringWinRT","mainResourceMap","getSubtree","stringValue","langValue","resCandidate","getValue","valueAsString","toString","_getStringJS","getQualifierValue","lang","document","context","ResourceContext","oncontextchanged","getStringImpl","nop","v","_traceAsyncOperationStarting","Debug","msTraceAsyncOperationStarting","_traceAsyncOperationCompleted","msTraceAsyncOperationCompleted","_traceAsyncCallbackStarting","msTraceAsyncCallbackStarting","_traceAsyncCallbackCompleted","msTraceAsyncCallbackCompleted","_ErrorFromName","_Trace","_","completed","promise","targetState","then","state_waiting","state_success_notify","_value","_setState","createErrorDetails","exception","error","detailsForHandledError","errorValue","_isException","errorId","_errorId","detailsForChainedError","setErrorInfo","detailsForError","error_number","detailsForException","exceptionValue","done","onComplete","onError","onProgress","asyncOpID","pushListener","c","p","onerrorDetails","callonerror","state_error_notify","notifySuccess","queue","MS_ASYNC_OP_STATUS_SUCCESS","_setCompleteValue","ex","_setExceptionValue","_state","CompletePromise","call","notifyError","errorID","canceledName","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","asyncCallbackStarted","handlesOnError","_setChainedErrorValue","ErrorPromise","onerrorDetailsGenerator","promiseEventListeners","errorET","progress","_progress","isException","setErrorValue","state_error","setCompleteValue","state_success","ThenPromise","timeout","timeoutMS","Promise","clearTimeout","timeoutWithPromise","cancelPromise","cancel","cancelTimeout","setNonUserCodeExceptions","tagWithStack","tag","thenPromise","errorPromise","exceptionPromise","completePromise","all","state_created","state_working","state_waiting_canceled","state_canceled","state_canceling","enter","_completed","_error","_notify","_setErrorValue","waitedUpon","_chainedError","_cancelAction","shift","_cleanupAction","staticCanceledPromise","PromiseStateMachine","_nextState","_run","creator","_stack","_getStack","_creator","_doneHandler","ExceptionPromise","newValue","init","oncancel","_oncancel","complete","eventType","capture","any","values","canceled","as","is","errors","results","undefineds","pending","argDone","errorCount","canceledCount","Key","Done","thenEach","time","to","wrap","wrapError","_veryExpensiveTagWithStack","_veryExpensiveTagWithStack_tag","debuggerEnabled","stack","_cancelBlocker","input","output","_StateMachine","format","m","typeR","test","spaceR","defAction","formatLog","console","escape","s","WinJSLog","startLog","options","tags","el","RegExp","not","excludeTags","has","action","log","next","stopLog","_Log","_Resources","linkedListMixin","mixin","PREV","NEXT","prev","node","profilerMarkArgs","arg0","arg1","arg2","schedulerProfilerMark","operation","markerType","jobProfilerMark","job","argProvided","illegal","setState","changePriority","priority","_setPriority","dumpList","reverse","dumpMarker","marker","pos","dumpJob","highWaterMark","head","priorities","MarkerNode","JobNode","retrieveState","logJob","isRunning","markerFromPriority","jobCount","runningJob","Priority","min","_nextJob","drainQueue","isEmpty","currentDrainPriority","drainStarting","drainStopping","addDrainListener","immediateYield","removeDrainListener","notifyCurrentDrainListener","notifyDrainListeners","notifiedSomebody","drainPriority","pumpingPriority","toWwaPriority","winjsPriority","aboveNormal","MSApp","HIGH","belowNormal","NORMAL","IDLE","isEqualOrHigherWwaPriority","priority1","priority2","wwaPriorityToInt","isHigherWwaPriority","wwaTaskScheduledAtPriorityHigherThan","wwaPriority","isTaskScheduledAtPriorityOrHigher","addJobAtHeadOfPriority","_insertJobAfter","addJobAtTailOfPriority","_nextMarker","_insertJobBefore","clampPriority","Math","max","MIN_PRIORITY","MAX_PRIORITY","run","scheduled","pumping","didWork","lastLoggedPriority","ranJobSuccessfully","timesliceExhausted","yieldForPriorityBoundary","start","end","TIME_SLICE","shouldYield","_execute","wwaPrevHighWaterMark","wwaHighWaterMark","usingWwaScheduler","foundAJob","reasonForYielding","scheduledWwaPriority","startRunning","priorityWwa","scheduledVersion","runner","executedVersion","execAsyncAtPriority","requestDrain","globalDrainId","execHigh","callback","execAtPriority","createOwnerToken","OwnerToken","schedule","work","thisArg","normal","jobId","globalJobId","getCurrentPriority","high","idle","makeSchedulePromise","promiseValue","jobName","_linkedListMixin","jobInfoIsNoLongerValid","_id","_work","_context","_name","_asyncOpID","owner","_owner","_remove","_add","_priority","setPriority","pause","resume","execute","_executeDone","executeDone","_blockedDone","blockedDone","YieldPolicy","continue","block","JobInfo","_job","_result","_yieldPolicy","_shouldYield","_throwIfDisabled","setPromise","setWork","_disablePublicApi","_publicApiDisabled","_jobs","cancelAll","jobs","jobIds","State","state_scheduled","state_paused","state_running","state_running_paused","state_running_resumed","state_running_canceled","state_running_canceled_blocked","state_cooperative_yield","state_cooperative_yield_paused","state_blocked","state_blocked_waiting","state_blocked_paused","state_blocked_paused_waiting","state_blocked_canceled","state_complete","_removeJob","jobInfo","yieldPolicy","initialPriority","newWork","_insertMarkerAfter","scheduleWithHost","MSAppStubs","performance","currentPriority","schedulePromiseHigh","schedulePromiseAboveNormal","schedulePromiseNormal","schedulePromiseBelowNormal","schedulePromiseIdle","_JobNode","_JobInfo","_OwnerToken","_dumpList","_isEmpty","_usingWwaScheduler","_MSApp","_TIME_SLICE","Scheduler","getMemberFiltered","root","filter","getMember","getCamelCasedName","styleName","charAt","x","toUpperCase","addPrefixToCamelCasedName","addPrefixToCSSName","toLowerCase","getBrowserStyleEquivalents","equivalents","docStyle","documentElement","style","stylePrefixesToTest","styles","prefixesUsedOnStyles","originalName","styleToTest","j","prefixLen","cssName","scriptName","animationPrefix","keyframes","getBrowserEventEquivalents","animationEventPrefixes","animationEvents","eventObject","events","eventToTest","chosenPrefix","eventsLen","eventName","throttledFunction","delay","fn","makeThrottlePromise","throttlePromise","pendingCallPromise","nextContext","nextArgs","requestAnimationWorker","notSupportedForProcessing","requestAnimationId","requestAnimationHandlers","validation","platform","navigator","isiOS","_setHasWinRT","_setIsiOS","_isiOS","_getMemberFiltered","_browserStyleEquivalents","_browserEventEquivalents","_getCamelCasedName","ready","async","err","readyState","_testReadyState","body","strictProcessing","requireSupportedForProcessing","location","HTMLIFrameElement","frames","_requestAnimationFrame","requestAnimationFrame","handle","toProcess","_cancelAnimationFrame","cancelAnimationFrame","_yieldForEvents","_yieldForDomModification","_throttledFunction","_shallowCopy","a","_mergeAll","_merge","b","list","o","k","_getProfilerMarkIdentifier","element","profilerMarkIdentifier","className","_now","_version","SignalPromise","Signal","_promise","_Signal","setOptions","control","_setOptions","eventsOnly","ch1","ch2","substr","DOMEventMixin","_domElement","eventProperties","initEvent","_BaseUtils","getDefaultComputedStyle","defaultComputedStyle","CSS2Properties","cssProperty","_getComputedStyle","pseudoElement","getComputedStyle","removeEmpties","arr","getClassName","baseVal","setClassName","addClass","classList","add","namesToAdd","toAdd","names","found","saw","removeClass","namesToRemove","remove","namesToRemoveLen","original","removed","namesLen","toggleClass","toggle","trim","r","setAttribute","attribute","getAttribute","_clamp","lowerBound","upperBound","defaultValue","n","convertToPixels","_pixelsRE","_numberRE","previousValue","pixelLeft","round","parseFloat","getDimension","property","_convertToPrecisePixels","_getPreciseDimension","_getPreciseMargins","top","marginTop","marginRight","bottom","marginBottom","marginLeft","addListenerToEventMap","data","eventNameLowercase","_eventsMap","removeListenerFromEventMap","mappedEvents","mapping","lookupListeners","bubbleEvent","handlers","parentNode","prepareFocusEvent","relatedTarget","tagName","registerBubbleListener","touchEventTranslator","changedTouches","retVal","touchObject","pointerEventObject","PointerEventProxy","pointerType","_MSPointerEvent","MSPOINTER_TYPE_TOUCH","pointerId","identifier","isPrimary","screenX","screenY","clientX","clientY","pageX","pageY","radiusX","radiusY","rotationAngle","force","_currentTouch","newRetVal","mouseEventTranslator","MSPOINTER_TYPE_MOUSE","mspointerEventTranslator","registerPointerEvent","mouseWrapper","touchWrapper","mspointerWrapper","touchHandled","translations","eventTranslations","MSPointerEvent","_normalizedType","mspointer","mouse","touch","unregisterPointerEvent","determineRTLEnvironment","createElement","direction","innerHTML","appendChild","elementScroller","firstChild","scrollLeft","usingWebkitScrollCoordinates","usingFirefoxScrollCoordinates","removeChild","determinedRTLEnvironment","getAdjustedScrollPosition","computedStyle","scrollWidth","clientWidth","abs","scrollTop","setAdjustedScrollPosition","getScrollPosition","setScrollPosition","position","uniqueID","_uniqueID","uniqueElementIDCounter","ensureId","_getCursorPos","docElement","docScrollPos","dir","_getElementsByClasses","classes","querySelector","_zoomToDuration","_MSGestureEvent","MSGestureEvent","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","_MSManipulationEvent","MSManipulationEvent","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MSPOINTER_TYPE_PEN","nativeSupportForFocusIn","activeElement","previousActiveElement","overrideProperties","__eventObject","that","propertyName","pointerdown","pointerup","pointermove","pointerenter","pointerover","pointerout","pointercancel","customEvents","focusout","register","unregister","focusin","PointerEvent","pointerEventEntry","MutationObserverShim","_callback","_toDispose","_attributeFilter","_scheduled","_pendingChanges","_observerCount","_handleCallback","_targetElements","observe","configuration","attributes","_addRemovableListener","attributeFilter","disconnect","disposeFunc","event","attrName","isAriaMutation","attributeName","_dispatchEvent","_isShim","_MutationObserver","MutationObserver","_resizeNotifier","ResizeNotifier","_handleResize","subscribe","_resizeEvent","_resizeClass","unsubscribe","resizables","querySelectorAll","GenericListener","objectName","object","registerThruWinJSCustomEvents","bubble","_getHandlers","_getListener","refCount","_addEventListener","_getEventName","_getClassName","_removeEventListener","captureSuffix","ev","targets","handled","originalEvent","doDefault","supportsSnapPoints","msManipulationViewsEnabled","userAgent","supportsTouchDetection","TouchEvent","_selectionPartsSelector","_dataKey","_supportsSnapPoints","_supportsTouchDetection","_ensureId","_createGestureRecognizer","MSGesture","doNothing","addPointer","stop","_elementsFromPoint","y","msElementsFromPoint","elementFromPoint","_matchesSelector","selectorString","matchesSelector","matches","msMatchesSelector","mozMatchesSelector","webkitMatchesSelector","_isSelectionRendered","itemBox","eventNameLower","entry","equivalentEvent","_initEventImpl","initType","_initMouseEvent","concat","_initPointerEvent","_PointerEventProxy","_bubbleEvent","_setPointerCapture","setPointerCapture","_releasePointerCapture","releasePointerCapture","_zoomTo","msZoomTo","initialPos","effectiveScrollLeft","_zoomToDestX","effectiveScrollTop","_zoomToDestY","cs","scrollLimitX","parseInt","width","paddingLeft","paddingRight","scrollLimitY","scrollHeight","height","paddingTop","paddingBottom","contentX","contentY","zoomToDestX","zoomToDestY","_zoomToId","thisZoomToId","xFactor","yFactor","update","t","_setActive","scroller","success","HTMLElement","setActive","focus","_GenericListener","_globalListener","_documentElementListener","_inputPaneListener","_addInsertedNotifier","hiddenElement","animationName","_inDom","contains","nodeInsertedHandler","_setFlexStyle","flexParams","styleObject","grow","msFlexPositive","webkitFlexGrow","flexGrow","shrink","msFlexNegative","webkitFlexShrink","flexShrink","basis","msFlexPreferredSize","webkitFlexBasis","flexBasis","backspace","tab","ctrl","alt","capsLock","space","pageUp","pageDown","home","leftArrow","upArrow","rightArrow","downArrow","insert","deleteKey","num0","num1","num2","num3","num4","num5","num6","num7","num8","num9","d","g","h","q","u","w","z","leftWindows","rightWindows","menu","numPad0","numPad1","numPad2","numPad3","numPad4","numPad5","numPad6","numPad7","numPad8","numPad9","multiply","subtract","decimalPoint","divide","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NavigationView","NavigationMenu","NavigationUp","NavigationDown","NavigationLeft","NavigationRight","NavigationAccept","NavigationCancel","numLock","scrollLock","browserBack","browserForward","semicolon","equal","comma","dash","period","forwardSlash","graveAccent","GamepadA","GamepadB","GamepadX","GamepadY","GamepadRightShoulder","GamepadLeftShoulder","GamepadLeftTrigger","GamepadRightTrigger","GamepadDPadUp","GamepadDPadDown","GamepadDPadLeft","GamepadDPadRight","GamepadMenu","GamepadView","GamepadLeftThumbstick","GamepadRightThumbstick","GamepadLeftThumbstickUp","GamepadLeftThumbstickDown","GamepadLeftThumbstickRight","GamepadLeftThumbstickLeft","GamepadRightThumbstickUp","GamepadRightThumbstickDown","GamepadRightThumbstickRight","GamepadRightThumbstickLeft","openBracket","backSlash","closeBracket","singleQuote","IME","hasClass","_setAttribute","getRelativeLeft","offsetLeft","getRelativeTop","offsetTop","childNodes","item","_isDOMElement","getContentWidth","border","padding","offsetWidth","_getPreciseContentWidth","getTotalWidth","margin","_getPreciseTotalWidth","getContentHeight","offsetHeight","_getPreciseContentHeight","getTotalHeight","_getPreciseTotalHeight","getPosition","_getPositionRelativeTo","getTabIndex","tabbableElementsRE","disabled","tabIndex","href","sorted","eventWithinElement","related","_deprecated","warn","_syncRenderer","renderer","container","template","render","winControl","host","firstElementChild","dispose","ancestor","fromElement","offsetParent","_getHighAndLowTabIndices","descendants","getElementsByTagName","lowestTabIndex","highestTabIndex","foundTabIndex0","tabIndexStr","highest","lowest","_getLowestTabIndexInList","elements","elmTabIndex","_getHighestTabIndexInList","_hasCursorKeysBehaviors","_reparentChildren","originalParent","destinationParent","child","sibling","nextSibling","_maintainFocus","focusedElement","_trySetActiveOnAnyElement","_tryFocusOnAnyElement","useSetActive","_trySetActive","elem","_tryFocus","simpleLogicForValidTabStop","_setActiveFirstFocusableElement","rootEl","_focusFirstFocusableElement","_elms","_lowestTabIndex","_nextLowestTabIndex","_setActiveLastFocusableElement","_focusLastFocusableElement","_highestTabIndex","_nextHighestTabIndex","_ElementUtilities","markDisposable","disposeImpl","disposed","disposable","disposeSubTree","query","_disposeElement","optionsLexerInit","_optionsLexer","reservedWord","word","tokenType","keyword","reservedWordLookup","tokens","falseLiteral","nullLiteral","trueLiteral","thisKeyword","leftBrace","rightBrace","leftBracket","rightBracket","separator","colon","dot","numberLiteral","stringLiteral","leftParentheses","rightParentheses","eof","lexer","isIdentifierStartCharacter","code","text","offset","limit","isWhitespace","isLineTerminator","isHexDigit","readIdentifierPart","hasEscape","readIdentifierToken","startOffset","JSON","parse","wordToken","readHexIntegerLiteral","isDecimalDigit","readDecimalDigits","readDecimalLiteral","tempOffset","readDecimalLiteralToken","readStringLiteralToken","quoteCharCode","eval","readWhitespace","lex","token","afterSign","signOffset","substring","hexOffset","_OptionsLexer","tokenTypeName","imports","invalidOptionsRecord","unexpectedTokenExpectedToken","unexpectedTokenExpectedTokens","unexpectedTokenGeneric","local","BaseInterpreter","_currentOffset","_pos","_tokens","_evaluateAccessExpression","_current","_read","_unexpectedToken","_evaluateValue","_evaluateAccessExpressions","_evaluateIdentifier","nested","_readIdentifier","_evaluateIdentifierExpression","_initialize","originalSource","functionContext","_originalSource","_functionContext","expected","_peek","_readAccessExpression","_readAccessExpressions","_readIdentifierExpression","unexpected","OptionsInterpreter","_evaluateArrayLiteral","_readArrayElements","_evaluateObjectLiteral","_readObjectProperties","_tryReadComma","_evaluateOptionsLiteral","_peekValue","_evaluateObjectQueryExpression","_tryReadElement","_tryReadElision","elision","_tryReadObjectProperty","_failReadObjectProperty","functionName","queryExpression","OptionsParser","_readObjectQueryExpression","IdentifierExpression","queryExpressionLiteral","CallExpression","parser","interpreter","parser2","arg0Value","optionsParser","_optionsParser","_CallExpression","_IdentifierExpression","_OptionsParser","createSelect","selector","selected","msParentSelectorScope","scope","activate","Handler","optionsAttribute","select","ctl","count","checkComplete","errorActivatingControl","processAllImpl","rootElement","skipRootElement","allElements","getControlHandler","checkAllComplete","controls","instance","isDeclarativeControlContainer","idcc","processAll","evaluator","scopedSelect","skipRoot","processedAllCalled","process","ControlProcessor","_Control","QueryCollection","items","include","callbackFn","listen","setStyle","clearStyle","newCollection","DOCUMENT_FRAGMENT_NODE","nodeType","Ctor","templateElement","renderDonePromiseCallback","donePromises","datum","getElementById","children","isHoverable","touchStartHandler","_ParallelWorkQueue","maxRunning","runNext","running","processing","nextWork","workQueue","workItems","first","workPromise","workIndex","unshift","sort","_VersionManager","_unlocked","_cancelCount","_notificationCount","_updateCount","locked","noOutstandingNotifications","version","unlocked","_dispose","beginUpdating","_checkLocked","endUpdating","_checkUnlocked","beginNotifications","endNotifications","receivedNotification","_cancel","cancelOnNotification","clearCancelOnNotification","simpleItemRenderer","itemPromise","compareImageLoadPriority","aon","bon","isOnScreen","seenUrl","srcUrl","seenUrls","seenUrlsMRU","SEEN_URLS_MRU_MAXSIZE","mru","SEEN_URLS_MAXSIZE","url","loadImage","image","imageId","nextImageLoaderId","imageLoader","seen","src","imageLoadComplete","tempImage","cleanup","loadComplete","loadError","currentDate","lastSort","minDurationBetweenImageSort","jobComplete","jobError","isImageCached","defaultRenderer","trivialHtmlRenderer","stringify","textContent","_normalizeRendererReturn","elementPromise","renderComplete","_trivialHtmlRenderer","listDataSourceIsInvalid","itemRendererIsInvalid","itemIsInvalid","_seenUrl","_getSeenUrls","_getSeenUrlsMRU","_seenUrlsMaxSize","_seenUrlsMRUMaxSize","_createItemsManager","ListNotificationHandler","itemsManager","_itemsManager","_versionManager","_beginNotifications","inserted","previousHandle","nextHandle","_inserted","newItem","oldItem","_changed","moved","_moved","mirage","_removed","countChanged","newCount","oldCount","_countChanged","indexChanged","newIndex","oldIndex","_indexChanged","affectedRange","range","_affectedRange","_endNotifications","reload","_reload","ItemsManager","listDataSource","itemRenderer","elementNotificationHandler","$pipeline_callbacksMap","_listDataSource","dataSource","_elementNotificationHandler","_listBinding","createListBinding","ownerElement","_ownerElement","_profilerId","profilerId","versionManager","_indexInView","indexInView","_itemRenderer","_viewCallsReady","viewCallsReady","_elementMap","_handleMap","_jobOwner","_notificationsSent","last","lastItem","_elementForItem","_itemFromItemPromise","_waitForElement","_itemFromItemPromiseThrottled","_itemAtIndex","_itemPromiseAtIndex","fromIndex","possiblePlaceholder","isPlaceholder","placeholderID","callbacks","_updateElement","newElement","oldElement","_firstItem","_lastItem","_previousItem","jumpToItem","_itemFromElement","previous","_nextItem","_itemFromPromise","_recordFromElement","elementIsPlaceholder","itemObject","release","_released","releaseItemPromise","record","_releaseRecord","releaseItem","renderPromise","imagePromises","itemReadyPromise","_removeEntryFromElementMap","_removeEntryFromHandleMap","refresh","invalidateAll","_handlerToNotifyCaresAboutItemAvailable","itemAvailable","_handlerToNotify","_defineIndexProperty","itemForRenderer","indexObserved","_renderPlaceholder","elementPlaceholder","_renderItem","callerThrottlesStage1","queueAsyncStage1","_writeProfilerMark","perfItemPromiseId","stage1Signal","readySignal","stage0RunningSync","stage0Ran","itemForRendererPromise","loadImagePromise","stage0","startStage1","readyComplete","perfRendererWorkId","perfItemReadyId","rendererPromise","pendingReady","_replaceElement","elementNew","_addEntryToElementMap","_changeElement","elementNewIsPlaceholder","elementOld","itemOld","elementDelayed","_recordFromHandle","_addEntryToHandleMap","synchronous","_presentElements","retain","_handleInHandleMap","ignoreFailure","_foreachRecord","records","_elementFromHandle","newItemPromise","_presentAllElements","itemToRender","updateAffectedRange","_externalBegin","_postEndNotifications","_endNotificationsPosted","_presentElement","fireEvent","forward","initUIEvent","tabbableElementsNodeFilter","nodeStyle","display","visibility","NodeFilter","FILTER_REJECT","_tabContainer","FILTER_ACCEPT","managedTarget","childFocus","FILTER_SKIP","scrapeTabManagedSubtree","walker","scrapeSubtree","currentNode","elementsFound","tabManagedElement","TabHelperObject","createCatcher","fragment","catcherBegin","insertBefore","catcherEnd","_catcherBegin","_catcherEnd","addRef","parentElement","updateTabIndex","TrackTabBehavior","attach","detach","TabContainer","_element","_tabIndex","skipDefaultBehavior","targetElement","keyCode","forwardTab","shiftKey","canKeepTabbing","_hasMoreElementsInTabOrder","skipTabExitHandling","allTabbableElements","originalTabIndices","_elementTabHelper","restoreTabIndicesOnBlur","_focusElement","_skipper","currentFocus","movingForwards","createTreeWalker","SHOW_ELEMENT","tabStops","_TabContainer","InputTypes","pen","keyboard","_lastInputType","pointerTypeToInputType",2,3,4,"_keyboardSeenLast","_InputTypes","_WinKeyboard","_KeyboardBehavior","_keyboardBehavior","_fixedDirection","FixedDirection","_fixedSize","_currentIndex","_getFocusInto","_keyDownHandler","_MSPointerDownHandler","fixedDirection","fixedSize","currentIndex","getAdjacent","_getAdjacent","_scroller","altKey","maxIndex","rtl","leftStr","rightStr","targetIndex","modFixedSize","_focus","elementToFocus","srcElement","previousElementSibling","setInnerHTML","setInnerHTMLUnsafe","setOuterHTML","setOuterHTMLUnsafe","insertAdjacentHTML","insertAdjacentHTMLUnsafe","nonStaticHTML","outerHTML","msApp","execUnsafeLocalFunction","_execUnsafe","msIsStaticHTML","check","_SafeHtml","_Select","encodeHtml","encodeHtmlRegEx","encodeHtmlEscapeMap","stripDirectionMarker","stringDirectionRegEx","stockGetValue","stockGetLength","fixDataSource","getLength","&","<",">","'","\"","_dataSource","_index","setDisabled","selectedIndex","_createSelectElement","removeAttribute","dataSourceLength","escaped","stripped","send","params","eventHandler","Orientation","horizontal","vertical","CountResult","unknown","CountError","noResponse","DataSourceStatus","waiting","failure","FetchError","doesNotExist","EditError","notPermitted","noLongerMeaningful","ObjectType","groupHeader","header","footer","SelectionMode","none","single","multi","TapBehavior","directSelect","toggleSelect","invokeOnly","SwipeBehavior","GroupHeaderTapBehavior","invoke","arg","noop","xhr","req","XMLHttpRequest","isLocalRequest","schemeMatch","schemeRegex","exec","protocol","onreadystatechange","_canceled","status","open","user","password","responseType","headers","setRequestHeader","customRequestInitializer","abort","findNextFocusElement","_findNextFocusElementInternal","moveFocus","previousFocusElement","_trySetFocus","eventSrc","EventNames","focusChanged","_xyFocus","referenceRect","dontExit","updateHistoryRect","newHistoryRect","_defaultRect","DirectionNames","targetRect","_historyRect","Number","MIN_VALUE","MAX_VALUE","_lastTarget","_cachedLastTargetRect","lastTargetRect","_toIRect","getBoundingClientRect","focusRoot","historyRect","referenceElement","ClassNames","toggleMode","toggleModeActive","targetIframe","IFrameHelper","isXYFocusEnabled","refRect","CrossDomainMessageConstants","messageDataProperty","dFocusEnter","contentWindow","postMessage","dFocusExit","calculatePercentInShadow","minReferenceCoord","maxReferenceCoord","minPotentialCoord","maxPotentialCoord","pixelOverlap","shortEdge","calculateScore","maxDistance","potentialRect","percentInShadow","primaryAxisDistance","score","secondaryAxisDistance","percentInHistoryShadow","up","down","ScoringConstants","primaryAxisDistanceWeight","secondaryAxisDistanceWeight","percentInHistoryShadowWeight","getReferenceObject","refElement","rect","screen","availHeight","availWidth","refObj","manualOverrideOptions","AttributeNames","focusOverride","focusOverrideLegacy","parsedOptions","usedOverride","bestPotential","potentialElement","_isFocusable","_isInInactiveToggleModeContainer","floor","focusChanging","nextFocusElement","elementTagName","hasAttribute","FocusableTagNames","focusable","_findParentToggleModeContainer","toggleModeRoot","_isToggleMode","inputType","_getStateHandler","suspended","stateHandler","KeyHandlerStates","RestState","SuspendedState","ToggleModeActiveState","ToggleModeRestState","_handleKeyEvent","keyCodeMap","shouldPreventDefault","xyFocus","_handleCaptureKeyEvent","accept","Keys","xboxPlatform","_clickElement","click","_nop","_i","_safeForEach","iframes","getIFrameFromWindow","win","iframe","ifr","registerIFrame","unregisterIFrame","sourceWindow","source","focused","iframeRect","toPublish","onfocuschanged","onfocuschanging","_iframeHelper","_Xhr","addScript","scriptTag","fragmentHref","lastNonInlineScriptPromise","inline","scripts","language","onload","onerror","addStyle","styleTag","cloneNode","addLink","links","getStateRecord","removeFromCache","loadFromCache","docfrag","docFragment","createDocumentFragment","clearCache","createEntry","populateDocument","processDocument","fragmentId","cacheStore","cd","sp","localScripts","imported","importNode","initialize","renderCopy","renderImpl","copy","uniqueId","writeProfilerMark","frag","cache","htmlDoc","implementation","createHTMLDocument","base","anchor","getFragmentContents","getFragmentContentsXHR","responseText","arrayLikeValue","_cacheStore","_getFragmentContents","initWithWinRT","temp","roaming","IOHelper","folder","_path","path","tryGetItemAsync","_tryGetItemAsync","fileName","getFileAsync","exists","fileItem","deleteAsync","writeText","sto","Storage","createFileAsync","CreationCollisionOption","openIfExists","FileIO","writeTextAsync","readText","def","readTextAsync","ApplicationData","localFolder","temporaryFolder","roamingFolder","initWithStub","InMemoryHelper","storage","sessionState","_loadState","previousExecutionState","_sessionStateLoaded","_oncheckpoint","Application","getViewOpener","stateString","queueEvent","navigatedEventName","navigatingEventName","beforenavigateEventName","history","backStack","initialPlaceholder","forwardStack","raiseBeforeNavigate","proposed","waitForPromise","raiseNavigating","delta","raiseNavigated","go","distance","fromStack","toStack","canGoForward","canGoBack","back","navigate","initialState","onnavigated","onnavigating","onbeforenavigate","_State","Navigation","safeSerialize","obj","seenObjects","fatalErrorHandler","_terminateApp","number","errorCode","terminateData","description","errorNumber","defaultTerminateAppHandler","terminateApp","captureDeferral","pendingDeferralID","deferral","pendingDeferrals","getDeferral","completeDeferral","deferralID","cleanupAllPendingDeferrals","eventRecord","_deferral","_deferralID","_stoppedImmediatePropagation","builtInListeners","createEventQueuedSignal","eventQueuedSignal","drainOneEvent","drainError","drainNext","_queue","eventQueue","copyAndClearQueue","startEventQueue","markSync","sync","eventQueueJob","activatedHandler","activatedOperation","activatedET","suspendingHandler","suspendingOperation","checkpointET","domContentLoadedHandler","loadedET","WebUI","WebUIApplication","activatedArgs","kind","beforeUnloadHandler","unloadET","errorHandler","flattenedError","errorLine","lineno","errorCharacter","colno","errorUrl","filename","errorMessage","promiseErrorHandler","outstandingPromiseErrors","shouldScheduleErrors","commandsRequested","applicationcommands","settingsET","hardwareButtonBackPressed","winRTBackPressedEvent","backClickET","requestingFocusOnKeyboardInput","beforeRequestingFocusOnKeyboardInputET","edgyStarting","edgyStartingET","edgyCompleted","edgyCompletedET","edgyCanceled","edgyCanceledET","getNavManager","manager","SystemNavigationManager","isModern","registered","wui","ApplicationSettings","SettingsPane","settingsPane","navManager","Phone","Input","HardwareButtons","EdgeGesture","edgy","readyET","requestingFocusOnKeyboardInputET","Symbol","iterator","TypeToSearch","_registered","updateRegistration","ls","_updateKeydownCaptureListeners","_keydownCaptureHandler","_shouldKeyTriggerTypeToSearch","_frameLoadCaptureHandler","childWin","frameElement","shouldTrigger","metaKey","ctrlKey","getModifierState","terminateAppHandler","activated","checkpoint","backclick","_winRTBackPressedEvent","beforerequestingfocusonkeyboardinput","onactivated","oncheckpoint","onloaded","onready","onsettings","onunload","onbackclick","_applicationListener","PageNavigationAnimation","turnstile","slide","enterPage","continuum","makeArray","NodeList","HTMLCollection","getUniqueKeyframeName","keyframeCounter","isUniqueKeyframeName","resolveStyles","opacity","copyWithEvaluation","iElem","newObj","exactTiming","_libraryDelay","stopExistingAction","prop","finish","activeActions","reason_interrupted","registerAction","unregisterAction","setTemporaryStyles","actions","desc","styleCache","styleCaches","StyleCache","cref","isTransition","some","nameField","newShorthand","newNames","shorthandProp","executeElementTransition","transitions","promises","animate","uniformizeStyle","transition","scriptNameOfProperty","hasOwnProperty","from","propertyScriptName","elementTransitionProperties","reason","onTransitionEnd","removeName","skipStylesReset","timeoutId","reason_canceled","duration","executeElementAnimation","anims","styleElem","anim","keyframe","browserStyleEquivalents","kf","sheet","insertRule","elementAnimationProperties","animationsToCleanUp","animationPromises","onAnimationEnd","cleanupAnimations","initAnimations","animationSettings","UISettings","animationsEnabled","applyAction","execAction","isAnimationEnabled","elems","adjustAnimationTime","animation","animationTimeAdjustment","animationAdjustment","animationFactor","prevStyles","prevNames","nameProp","destroy","every","nameValue","lastIndexOf","enableCount","libraryDelay","disableAnimations","enableAnimations","executeAnimation","executeTransition","_animationTimeAdjustment","_fastAnimations","_slowAnimations","_animationFactor","_Constants","_TransitionAnimation","checkKeyframe","defOffset","rtlflip","keyframeCallback","chooseKeyframe","keyframeRtl","collectOffsetArray","elemArray","offsetArray","matrix","transformNames","staggerDelay","initialDelay","extraDelay","delayFactor","delayCap","ret","makeOffsetsRelative","animTranslate2DTransform","animStaggeredSlide","curve","fadeIn","page","second","third","prepareSlide","endOffset","elementArray","startOffsetArray","endOffsetArray","horizontalOffset","OffsetArray","timing","translateCallback","animRotationTransform","origins","clearAnimRotationTransform","getOffset","translateCallbackAnimate","suffix","keyframeCallbackAnimate","layoutTransition","LayoutTransition","affected","extra","targetArray","affectedArray","collectTurnstileTransformOrigins","itemBoundingBox","offsetLeftLTR","offsetLeftRTL","innerWidth","totalOffsetY","innerHeight","ltr","writeAnimationProfilerMark","transformWithTransition","transitionProperty","didFinish","getResizeDefaultTransitions","defaultResizeGrowTransition","defaultResizeShrinkTransition","resizeTransition","elementClipper","defaultTransition","actualSize","anchorTrailingEdge","translate","dimension","clipperTransition","elementTransition","defaultOffset","ExpandAnimation","revealedArray","promise1","promise2","CollapseAnimation","hiddenArray","RepositionAnimation","AddToListAnimation","addedArray","DeleteFromListAnimation","deletedArray","remainingArray","_UpdateListAnimation","deleted","deletedOffsetArray","promise3","AddToSearchListAnimation","DeleteFromSearchListAnimation","PeekAnimation","createExpandAnimation","revealed","createCollapseAnimation","hidden","createRepositionAnimation","shown","fadeOut","createAddToListAnimation","added","createDeleteFromListAnimation","remaining","_createUpdateListAnimation","createAddToSearchListAnimation","createDeleteFromSearchListAnimation","showEdgeUI","mechanism","showPanel","hideEdgeUI","hidePanel","showPopup","hidePopup","pointerDown","pointerUp","dragSourceStart","dragSource","dragSourceEnd","enterContent","incoming","animationPromise","exitContent","outgoing","dragBetweenEnter","dragBetweenLeave","swipeSelect","selection","swipeDeselect","deselected","swipeReveal","exitPage","crossFade","createPeekAnimation","updateBadge","turnstileForwardIn","incomingElements","turnstileForwardOut","outgoingElements","turnstileBackwardIn","turnstileBackwardOut","slideDown","slideUp","slideRightIn","firstIncomingElements","secondIncomingElements","thirdIncomingElements","slideRightOut","firstOutgoingElements","secondOutgoingElements","thirdOutgoingElements","slideLeftIn","slideLeftOut","continuumForwardIn","incomingPage","incomingItemRoot","incomingItemContent","continuumForwardOut","outgoingPage","outgoingItem","continuumBackwardIn","incomingItem","continuumBackwardOut","drillInIncoming","drillInOutgoing","drillOutIncoming","drillOutOutgoing","createPageNavigationAnimations","currentPreferredAnimation","nextPreferredAnimation","movingBackwards","emptyAnimationFunction","exit","entrance","_resizeTransition","animationsToPlay","_commandingSurfaceOpenAnimation","actionAreaClipper","actionArea","overflowAreaClipper","overflowArea","closedHeight","oldHeight","openedHeight","newHeight","overflowAreaHeight","menuPositionedAbove","deltaHeight","actionAreaAnimations","transitionToUse","overflowAreaTransition","_commandingSurfaceCloseAnimation","overflowAreaClipperTransition","BindingInterpreter","res","BindingParser","invalidBinding","bindingInitializerNotFound","_BaseInterpreter","_evaluateInitializerName","initializer","_readBindDeclarations","bindings","_readBindDeclaration","dest","_readDestinationPropertyName","_readSourcePropertyName","destination","_readInitializerName","_bindingParser","_bindingParser2","SWEEP_PERIOD","cleanupToken","table","TIMEOUT","unscheduleCleanupIfNeeded","scheduleCleanupIfNeeded","noTimeoutUnderDebugger","setInterval","clearInterval","createWeakRef","getWeakRefElement","fastLoadPath","Foundation","Uri","_createWeakRef","_getWeakRefElement","_DOMWeakRefTable_noTimeoutUnderDebugger","_DOMWeakRefTable_sweepPeriod","_DOMWeakRefTable_timeout","_DOMWeakRefTable_tableSize","_DOMWeakRefTable_fastLoadPath","_DomWeakRefTable","exceptionFromBindingInitializer","propertyIsUndefined","unsupportedDataTypeForBinding","observableMixin","_pendingNotifications","_notifyId","_getObservable","hit","notify","oldValue","cap","unwrap","unbind","nl","dynamicObservableMixin","_backingData","_initObservable","getProperty","setProperty","updateProperty","addProperty","removeProperty","observable","bindingDescriptor","bindImpl","bindRefId","createBindRefId","createProxy","bindStateRef","bindState","cancelSimple","simpleLast","cancelComplex","complexLast","complexBind","Function","propChanged","recursiveNotify","ObservableProxy","expandProperties","shape","addToProps","getPrototypeOf","backingData","_BindingParser","_Data","registerAutoDispose","bindable","_autoDispose","autoDispose","checkBindingToken","bindingId","winBindingToken","duplicateBindingDetected","setBindingToken","bindingToken","uid","initializerOneBinding","ref","pend","cacheEntry","nocache","makeBinding","bindResult","resolveWeakRef","elementNotFound","bindingAction","nestedSet","bindWorker","sourceOneBinding","filterIdBinding","declBind","bindingStr","bindIndex","idBindingNotSupported","calcBinding","bindingCache","declBindCache","expressions","declarativeBindImpl","dataContext","defaultInitializer","neg","baseElement","baseElementData","winBindings","declarativeBind","implemented","bindLen","optimizeBindingReferences","elementData","bindIndex2","bindLen2","bind2","cancel2","errorInitializingBindings","converter","convert","userConverter","sourceProperties","destProperties","initialValue","workerResult","propertyDoesNotExist","Node","nestedDOMElementBindingNotSupported","cannotBindToThis","creatingNewProperty","attributeSet","attributeBindingSingleProperty","counter","setAttributeOneTime","addClassOneTime","defaultBind","defaultBindImpl","oneTime","customInitializer","random","_Declarative","Fragments","_Dispose","_TemplateCompiler","disposeInstance","renderCompletePromise","bindTokens","binding","delayedBindingProcessing","targetSecurityCheck","multiline","formatRegEx","replacementIndex","indent","numberOfSpaces","multilineStringToBeIndented","line","statements","array","declarationList","identifierAccessExpression","match","identifierRegEx","literal","nullableFilteredIdentifierAccessExpression","initial","temporary","brackets","parens","assignment","newArray","N","expression","htmlEscape","createIdentifier","String","merge","mergeAll","len2","globalLookup","visit","pre","post","childKey","trimLinesRight","content","cancelBlocker","init_defaultBind","init_oneTime","init_setAttribute","init_setAttributeOneTime","init_addClassOneTime","promise_as","utilities_data","ui_processAll","binding_processAll","options_parser","binding_parser","identifierCharacterRegEx","semiColonOnlyLineRegEx","capitalRegEx","TreeCSE","compiler","accessExpression","tree","reference","createPathExpression","tail","defineInstance","lower","aggregatedName","childCount","deadNodeElimination","dead","definitions","nodes","definition","InstanceKind","variable","InstanceKindPrefixes","StaticKind","StaticKindPrefixes","BindingKind","TextBindingKind","booleanAttribute","inlineStyle","IMPORTS_ARG_NAME","Stage","analyze","optimze","compile","link","TemplateCompiler","_stage","_staticVariables","_staticVariablesCount","_instanceVariables","_instanceVariablesCount","_debugBreak","debugBreakOnRender","_defaultInitializer","_optimizeTextBindings","disableTextBindingOptimization","_templateElement","_templateContent","_extractChild","extractChild","_controls","_bindings","_bindTokens","_textBindingPrefix","_textBindingId","_suffix","_htmlProcessors","_profilerMarkIdentifier","_captureCSE","generateElementCaptureAccess","_dataCSE","generateNormalAccess","importFunctionSafe","_globalCSE","childElementCount","lastElementChild","addClassOneTimeTextBinding","createTextBindingHole","elementCapture","textBindingId","formatCode","addClassOneTimeTreeBinding","pathExpression","bindingExpression","gatherControls","gatherBindings","_children","gatherChildren","cleanControlAndBindingAttributes","createAsyncParts","nullableIdentifierAccessTemporary","html","_html","_capture","bodyTemplate","replacements","supportDelayBindings","_returnedElement","binding_processing","delayed_binding_processing","control_processing","constructionFormatString","construction","SafeConstructor","generateOptionsLiteral","optionsParsed","delayedControlProcessing","templateDefaultInitializer","all_binding_processing","nestedTemplates","_nestedTemplates","nestedTemplate","bindToken","delayable","instances","instanceDefinitions","captures","globals","set_msParentSelectorScope","formatCodeN","statement","renderItemImplRenderCompleteTemplate","profilerMarkIdentifierStart","profilerMarkIdentifierStop","instance_variable_declarations","global_definitions","data_definitions","instance_variable_definitions","capture_definitions","debug_break","generateDebugBreak","control_counter","_controlCounter","suffix_statements","returnedElement","prettify","_textBindingRegex","deadCodeElimination","iv","variableCount","defineStatic","known","emitScopedSelect","emitOptionsNode","findGlobalIdentifierExpressions","bindingText","elementBindings","initializerName","importFunction","nestedTemplateCount","bindTokenCount","asyncCount","ControlConstructor","optionsText","globalReferences","identifierExpression","globalExpression","importAll","importAllSafe","statics","linkerCodeTemplate","static_variable_declarations","static_variable_definitions","markBindingAsError","oneTimeTextBinding","oneTimeTextBindingAnalyze","getter","msReplaceStyle","elementType","targetProperty","targetCssProperty","supported","oneTimeTreeBinding","targetPath","sourcePath","optimize","newBinding","setAttributeOneTimeTreeBinding","textBindings","setAttributeOneTimeTextBinding","newHtml","replacer","lines","_TreeCSE","importAliases","codeTemplate","delayBindings","renderImplCodeAsyncTemplate","renderImplCodeTemplate","renderItemImplCodeAsyncTemplate","renderItemImplCodeTemplate","renderImplMainCodePrefixTemplate","renderImplControlAndBindingProcessing","renderImplAsyncControlAndBindingProcessing","renderImplMainCodeSuffixTemplate","renderItemImplMainCodeSuffixTemplate","_DataTemplateCompiler","Template","interpretedRender","extractedChild","_counter","_debugBreakOnRender","nextElementSibling","processTimeout","renderItem","recycled","_renderItemImpl","enableRecycling","bindingInitializer","disableOptimizedProcessing","_compile","_shouldCompile","shouldCompile","_interpretAll","_bindingInitializer","_reset","_disableOptimizedProcessing","_processTimeout","_renderImpl","_compileTemplate","_renderInterpreted","msOriginalTemplate","okToReuse","resetOnFragmentChange","DesignMode","designModeEnabled","mo","childList","characterData","subtree","_UI","_BindingListDataSource","findNextKey","getItem","findPreviousKey","listBinding","WrappedItem","NullWrappedItem","wrapAsync","AsyncWrappedItem","cloneWithIndex","_annotateWithIndex","insertAtStart","_list","itemFromIndex","nextKey","indexOfKey","insertAfter","previousKey","insertAtEnd","change","newData","setAt","moveToStart","sourceIndex","move","moveBefore","moveAfter","moveToEnd","_release","_addRef","_item","ListBinding","notificationHandler","_editsCount","_notificationHandler","_retained","_retainedKeys","fallbackReference","handleEvent","eventArg","lb","_handlers","itemchanged","iteminserted","itemmoved","itemremoved","_itemchanged","_updateAffectedRange","_retainedCount","_beginEdits","_endEdits","_iteminserted","retained","_shouldNotify","_itemmoved","_itemremoved","retainedKeys","wasRetained","newStart","newEnd","_notifyAffectedRange","_notifyCountChanged","_countAtBeginEdits","_notifyIndicesChanged","_notifyMoved","explicit","_fromIndex","_releaseBinding","fromKey","getItemFromKey","DataSource","_usingWeakRef","getCount","itemFromKey","beginEdits","_forEachBinding","endEdits","toBeDeleted","copyargs","cloneItem","groupKey","groupSize","firstItemKey","firstItemIndexHint","asNumber","mergeSort","sorter","copyBack","middle","sparseArrayNotSupported","illegalListLength","emptyOptions","ns","ListBase","onitemchanged","oniteminserted","onitemmoved","onitemmutated","onitemremoved","onreload","_notifyItemChanged","_notifyItemInserted","_lastNotifyLength","_notifyItemMoved","_notifyItemMutated","itemmutated","_notifyItemRemoved","_notifyReload","_normalizeIndex","_notifyMutatedFromKey","notifyReload","getAt","_getArray","_getFromKey","_getKey","begin","searchElement","reduceRight","createFiltered","predicate","FilteredListProjection","createGrouped","groupData","groupSorter","GroupedSortedListProjection","createSorted","SortedListProjection","ListBaseWithMutators","ListProjection","_myListeners","_addListListener","List","_listReload","howMany","_spliceFromKey","_setAtKey","_listItemChanged","_listItemInserted","_listItemMutated","_listItemMoved","_listItemRemoved","_filter","_initFilteredKeys","_filteredKeys","_findInsertionPosition","filteredKeys","filteredIndex","oldInFilter","newInFilter","oldFilteredIndex","newFilteredIndex","notifyMutated","keysToRemove","filteredKeyIndex","sortFunction","_sortFunction","_initSortedKeys","_sortedKeys","_findInsertionPos","startingMin","startingMax","sortedKeys","mid","sortedKey","sortedItem","_findStableInsertionPos","_findBeginningOfGroup","_findEndOfGroup","sortedIndex","knownMin","knownMax","oldSortedIndex","newSortedIndex","sortedKeyIndex","groupKeyOf","groupDataOf","_listGroupedItemChanged","_listGroupedItemInserted","_listGroupedItemMoved","_listGroupedItemMutated","_listGroupedItemRemoved","_groupKeyOf","_groupDataOf","_initGroupedItems","_groupedItems","groupedItems","_groupsProjection","oldGroupedItem","newGroupedItem","groupMin","groupMax","groupItem","_groupItems","groupedItem","groups","GroupsListProjection","_initGroupKeysAndItems","_groupOf","_groupKeys","groupCount","groupItems","groupKeys","currentGroupKey","currentGroupItem","newGroupItem","groupIndex","oldGroupItem","newFirstItem","_currentKey","_keys","_keyMap","_proxy","proxy","_binding","_data","keyDataMap","_initializeKeys","_modifyingData","keyMap","_lazyPopulateEntry","_assignKey","oldEntry","newEntry","additionalItem","newKey","rootElementNode","decls","setMembers","setAttributes","descriptor","notFound","uri","selfhost","Pages_define","parentedPromise","_disposed","msSourceLocation","renderCalled","loadResult","initResult","elementReady","processed","callComplete","_mixin","viewMap","_BasePage","Page","ctor","_viewMap","Pages","HtmlControl","_require","_define","module"],"mappings":";CAEC,WAEG,GAAIA,cACkB,mBAAXC,QAAyBA,OAChB,mBAATC,MAAuBA,KACZ,mBAAXC,QAAyBA,WAEnC,SAAUC,GACe,kBAAXC,SAAyBA,OAAOC,IAEvCD,UAAWD,IAEXJ,aAAaO,qBAAuBA,oBAAoB,mDACjC,gBAAZC,UAAoD,gBAArBA,SAAQC,SAE9CL,IAGAA,EAAQJ,aAAaU,OAEzBV,aAAaO,qBAAuBA,oBAAoB,oDAE9D,SAAUG,OAIhB,GAAIC,SACAN,MAur0BI,OApr0BR,YACI,YAuBA,SAASO,GAAUC,EAAIC,GACnBD,EAAKA,GAAM,EACX,IAAIE,GAASF,EAAGG,MAAM,IAEtB,OADAD,GAAOE,MACAH,EAAaI,IAAI,SAAUC,GAC9B,GAAe,MAAXA,EAAI,GAAY,CAChB,GAAIC,GAAQD,EAAIH,MAAM,KAClBK,EAAUN,EAAOO,MAAM,EAQ3B,OAPAF,GAAMG,QAAQ,SAAUC,GACP,OAATA,EACAH,EAAQJ,MACQ,MAATO,GACPH,EAAQI,KAAKD,KAGdH,EAAQK,KAAK,KAEpB,MAAOP,KAKnB,QAASQ,GAAQb,EAAcC,EAAQP,GACnC,MAAOM,GAAaI,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+pB,SAAb,CAIA,GAAI24F,IACAjjH,KAAM,SAAUqiH,GAcZ,MAAKr9G,MAAKs9G,SAAV,OACW7f,EAAUtpB,WAAWgqC,EAAUjyE,IAAImxE,KAGlDruD,QAAS,SAAUnsB,EAAS/S,GAexB,MAAOm/B,GAAiBN,WAAW9rB,IAEvCyf,OAAQ,SAAUzf,EAAS/S,EAAS8tF,GAqBhC,MAHK59G,MAAKs9G,UACNz6E,EAAQyI,YAAYsyE,GAEjB/6E,GAkGfhjC,GAAMd,UAAUI,cAAc3F,EAAS,kBACnCH,OAAQkkH,EACRlgH,IAAKA,EACL27B,QAASA,EACTspB,OAAQA,EACRg8D,SAAUH,EAAUD,aAK5B7kH,OAAO,8BACH,UACA,kBACA,gBACA,YACG,SAAyBG,EAAS+B,EAASsE,EAAO0+G,GACrD,YAGKhjH,GAAQ+pB,UAIbzlB,EAAMd,UAAUI,cAAc3F,EAAS,YAYnCglH,YAAa3+G,EAAMD,MAAMvG,OAAO,SAA0BwpC,EAAS/S,EAAS1C,GAaxEmxF,EAAMj8D,OAAOxyB,EAAQutF,IAAKx6E,EAAS/S,GAC/BlJ,KAAKwG,EAAU,WAAcA,YAK7C/zB,OAAO,QACH,oBACA,aACA,gBACA,gBACA,kBACA,kBACA,gBACA,kBACA,oBACA,mBACA,mBACA,gBACA,wBACA,oBACA,YACA,cACA,yBACA,8BACG,SAAU6C,GACb,YAOA,OALAA,GAAO6C,UAAU1F,OAAO,mBACpBolH,SAAU9kH,QACV+kH,QAASrlH,SAGN6C,IAGHvC,SAAS,oBAAqB,QAAS,SAAUuC,GAE7ClD,aAAaU,MAAQwC,EACC,mBAAXyiH,UAEPA,OAAOnlH,QAAU0C,KAGlBlD,aAAaU"} \ No newline at end of file +{"version":3,"sources":["base.js"],"names":["globalObject","window","self","global","factory","define","amd","msWriteProfilerMark","exports","nodeName","WinJS","require","normalize","id","dependencies","parent","split","pop","map","dep","parts","current","slice","forEach","part","push","join","resolve","depName","defined","Error","resolved","load","deps","apply","Array","isArray","mod","indexOf","_Global","markSupportedForProcessing","func","supportedForProcessing","hasWinRT","Windows","_setImmediate","setImmediate","bind","handler","setTimeout","_WinJS","_BaseCoreUtils","_WriteProfilerMark","initializeProperties","target","members","prefix","properties","i","len","keys","Object","length","key","enumerable","charCodeAt","member","undefined","value","get","set","configurable","writable","setName","defineProperties","createNamespace","parentNamespace","name","currentNamespace","namespaceFragments","splice","namespaceName","defineProperty","defineWithParent","lazy","f","result","state","LazyStates","uninitialized","initialized","working","moduleDefine","publicNS","_rootNamespace","Namespace","create","prototype","_lazy","_moduleDefine","constructor","instanceMembers","staticMembers","derive","baseClass","basePrototype","mix","arguments","Class","_Base","ErrorFromName","message","this","msGetWeakWinRTProperty","msSetWeakWinRTProperty","APIs","isCoreWindowAvailable","UI","ViewManagement","InputPane","getForCurrentView","e","api","leaf","reduce","createEventProperty","eventPropStateName","userHandler","wrapper","evt","addEventListener","removeEventListener","createEventProperties","props","EventMixinEvent","type","detail","timeStamp","Date","now","bubbles","cancelable","currentTarget","defaultPrevented","_preventDefaultCalled","trusted","eventPhase","preventDefault","stopImmediatePropagation","_stopImmediatePropagationCalled","stopPropagation","eventMixin","_listeners","listener","useCapture","eventListeners","l","dispatchEvent","details","listeners","eventValue","_createEventProperty","tv/scrollViewerPageDown","tv/scrollViewerPageUp","ui/appBarAriaLabel","ui/appBarCommandAriaLabel","ui/appBarOverflowButtonAriaLabel","ui/autoSuggestBoxAriaLabel","ui/autoSuggestBoxAriaLabelInputNoPlaceHolder","ui/autoSuggestBoxAriaLabelInputPlaceHolder","ui/autoSuggestBoxAriaLabelQuery","_ui/autoSuggestBoxAriaLabelQuery.comment","ui/autoSuggestBoxAriaLabelSeparator","_ui/autoSuggestBoxAriaLabelSeparator.comment","ui/autoSuggestBoxAriaLabelResult","_ui/autoSuggestBoxAriaLabelResult.comment","ui/averageRating","ui/backbuttonarialabel","ui/chapterSkipBackMediaCommandDisplayText","ui/chapterSkipForwardMediaCommandDisplayText","ui/clearYourRating","ui/closedCaptionsLabelNone","ui/closedCaptionsMediaCommandDisplayText","ui/closeOverlay","ui/commandingSurfaceAriaLabel","ui/commandingSurfaceOverflowButtonAriaLabel","ui/datePicker","ui/fastForwardMediaCommandDisplayText","ui/fastForwardFeedbackDisplayText","ui/fastForwardFeedbackSlowMotionDisplayText","ui/flipViewPanningContainerAriaLabel","ui/flyoutAriaLabel","ui/goToFullScreenButtonLabel","ui/goToLiveMediaCommandDisplayText","ui/hubViewportAriaLabel","ui/listViewViewportAriaLabel","ui/mediaErrorAborted","ui/mediaErrorNetwork","ui/mediaErrorDecode","ui/mediaErrorSourceNotSupported","ui/mediaErrorUnknown","ui/mediaPlayerAudioTracksButtonLabel","ui/mediaPlayerCastButtonLabel","ui/mediaPlayerChapterSkipBackButtonLabel","ui/mediaPlayerChapterSkipForwardButtonLabel","ui/mediaPlayerClosedCaptionsButtonLabel","ui/mediaPlayerFastForwardButtonLabel","ui/mediaPlayerFullscreenButtonLabel","ui/mediaPlayerLiveButtonLabel","ui/mediaPlayerNextTrackButtonLabel","ui/mediaPlayerOverlayActiveOptionIndicator","ui/mediaPlayerPauseButtonLabel","ui/mediaPlayerPlayButtonLabel","ui/mediaPlayerPlayFromBeginningButtonLabel","ui/mediaPlayerPlayRateButtonLabel","ui/mediaPlayerPreviousTrackButtonLabel","ui/mediaPlayerRewindButtonLabel","ui/mediaPlayerStopButtonLabel","ui/mediaPlayerTimeSkipBackButtonLabel","ui/mediaPlayerTimeSkipForwardButtonLabel","ui/mediaPlayerToggleSnapButtonLabel","ui/mediaPlayerVolumeButtonLabel","ui/mediaPlayerZoomButtonLabel","ui/menuCommandAriaLabel","ui/menuAriaLabel","ui/navBarContainerViewportAriaLabel","ui/nextTrackMediaCommandDisplayText","ui/off","ui/on","ui/pauseMediaCommandDisplayText","ui/playFromBeginningMediaCommandDisplayText","ui/playbackRateHalfSpeedLabel","ui/playbackRateNormalSpeedLabel","ui/playbackRateOneAndHalfSpeedLabel","ui/playbackRateDoubleSpeedLabel","ui/playMediaCommandDisplayText","ui/pivotAriaLabel","ui/pivotViewportAriaLabel","ui/replayMediaCommandDisplayText","ui/rewindMediaCommandDisplayText","ui/rewindFeedbackDisplayText","ui/rewindFeedbackSlowMotionDisplayText","ui/searchBoxAriaLabel","ui/searchBoxAriaLabelInputNoPlaceHolder","ui/searchBoxAriaLabelInputPlaceHolder","ui/searchBoxAriaLabelButton","ui/seeMore","ui/selectAMPM","ui/selectDay","ui/selectHour","ui/selectMinute","ui/selectMonth","ui/selectYear","ui/settingsFlyoutAriaLabel","ui/stopMediaCommandDisplayText","ui/tentativeRating","ui/timePicker","ui/timeSeparator","ui/timeSkipBackMediaCommandDisplayText","ui/timeSkipForwardMediaCommandDisplayText","ui/toolbarAriaLabel","ui/toolbarOverflowButtonAriaLabel","ui/unrated","ui/userRating","ui/zoomMediaCommandDisplayText","ui/appBarIcons/previous","_ui/appBarIcons/previous.comment","ui/appBarIcons/next","_ui/appBarIcons/next.comment","ui/appBarIcons/play","_ui/appBarIcons/play.comment","ui/appBarIcons/pause","_ui/appBarIcons/pause.comment","ui/appBarIcons/edit","_ui/appBarIcons/edit.comment","ui/appBarIcons/save","_ui/appBarIcons/save.comment","ui/appBarIcons/clear","_ui/appBarIcons/clear.comment","ui/appBarIcons/delete","_ui/appBarIcons/delete.comment","ui/appBarIcons/remove","_ui/appBarIcons/remove.comment","ui/appBarIcons/add","_ui/appBarIcons/add.comment","ui/appBarIcons/cancel","_ui/appBarIcons/cancel.comment","ui/appBarIcons/accept","_ui/appBarIcons/accept.comment","ui/appBarIcons/more","_ui/appBarIcons/more.comment","ui/appBarIcons/redo","_ui/appBarIcons/redo.comment","ui/appBarIcons/undo","_ui/appBarIcons/undo.comment","ui/appBarIcons/home","_ui/appBarIcons/home.comment","ui/appBarIcons/up","_ui/appBarIcons/up.comment","ui/appBarIcons/forward","_ui/appBarIcons/forward.comment","ui/appBarIcons/right","_ui/appBarIcons/right.comment","ui/appBarIcons/back","_ui/appBarIcons/back.comment","ui/appBarIcons/left","_ui/appBarIcons/left.comment","ui/appBarIcons/favorite","_ui/appBarIcons/favorite.comment","ui/appBarIcons/camera","_ui/appBarIcons/camera.comment","ui/appBarIcons/settings","_ui/appBarIcons/settings.comment","ui/appBarIcons/video","_ui/appBarIcons/video.comment","ui/appBarIcons/sync","_ui/appBarIcons/sync.comment","ui/appBarIcons/download","_ui/appBarIcons/download.comment","ui/appBarIcons/mail","_ui/appBarIcons/mail.comment","ui/appBarIcons/find","_ui/appBarIcons/find.comment","ui/appBarIcons/help","_ui/appBarIcons/help.comment","ui/appBarIcons/upload","_ui/appBarIcons/upload.comment","ui/appBarIcons/emoji","_ui/appBarIcons/emoji.comment","ui/appBarIcons/twopage","_ui/appBarIcons/twopage.comment","ui/appBarIcons/leavechat","_ui/appBarIcons/leavechat.comment","ui/appBarIcons/mailforward","_ui/appBarIcons/mailforward.comment","ui/appBarIcons/clock","_ui/appBarIcons/clock.comment","ui/appBarIcons/send","_ui/appBarIcons/send.comment","ui/appBarIcons/crop","_ui/appBarIcons/crop.comment","ui/appBarIcons/rotatecamera","_ui/appBarIcons/rotatecamera.comment","ui/appBarIcons/people","_ui/appBarIcons/people.comment","ui/appBarIcons/closepane","_ui/appBarIcons/closepane.comment","ui/appBarIcons/openpane","_ui/appBarIcons/openpane.comment","ui/appBarIcons/world","_ui/appBarIcons/world.comment","ui/appBarIcons/flag","_ui/appBarIcons/flag.comment","ui/appBarIcons/previewlink","_ui/appBarIcons/previewlink.comment","ui/appBarIcons/globe","_ui/appBarIcons/globe.comment","ui/appBarIcons/trim","_ui/appBarIcons/trim.comment","ui/appBarIcons/attachcamera","_ui/appBarIcons/attachcamera.comment","ui/appBarIcons/zoomin","_ui/appBarIcons/zoomin.comment","ui/appBarIcons/bookmarks","_ui/appBarIcons/bookmarks.comment","ui/appBarIcons/document","_ui/appBarIcons/document.comment","ui/appBarIcons/protecteddocument","_ui/appBarIcons/protecteddocument.comment","ui/appBarIcons/page","_ui/appBarIcons/page.comment","ui/appBarIcons/bullets","_ui/appBarIcons/bullets.comment","ui/appBarIcons/comment","_ui/appBarIcons/comment.comment","ui/appBarIcons/mail2","_ui/appBarIcons/mail2.comment","ui/appBarIcons/contactinfo","_ui/appBarIcons/contactinfo.comment","ui/appBarIcons/hangup","_ui/appBarIcons/hangup.comment","ui/appBarIcons/viewall","_ui/appBarIcons/viewall.comment","ui/appBarIcons/mappin","_ui/appBarIcons/mappin.comment","ui/appBarIcons/phone","_ui/appBarIcons/phone.comment","ui/appBarIcons/videochat","_ui/appBarIcons/videochat.comment","ui/appBarIcons/switch","_ui/appBarIcons/switch.comment","ui/appBarIcons/contact","_ui/appBarIcons/contact.comment","ui/appBarIcons/rename","_ui/appBarIcons/rename.comment","ui/appBarIcons/pin","_ui/appBarIcons/pin.comment","ui/appBarIcons/musicinfo","_ui/appBarIcons/musicinfo.comment","ui/appBarIcons/go","_ui/appBarIcons/go.comment","ui/appBarIcons/keyboard","_ui/appBarIcons/keyboard.comment","ui/appBarIcons/dockleft","_ui/appBarIcons/dockleft.comment","ui/appBarIcons/dockright","_ui/appBarIcons/dockright.comment","ui/appBarIcons/dockbottom","_ui/appBarIcons/dockbottom.comment","ui/appBarIcons/remote","_ui/appBarIcons/remote.comment","ui/appBarIcons/refresh","_ui/appBarIcons/refresh.comment","ui/appBarIcons/rotate","_ui/appBarIcons/rotate.comment","ui/appBarIcons/shuffle","_ui/appBarIcons/shuffle.comment","ui/appBarIcons/list","_ui/appBarIcons/list.comment","ui/appBarIcons/shop","_ui/appBarIcons/shop.comment","ui/appBarIcons/selectall","_ui/appBarIcons/selectall.comment","ui/appBarIcons/orientation","_ui/appBarIcons/orientation.comment","ui/appBarIcons/import","_ui/appBarIcons/import.comment","ui/appBarIcons/importall","_ui/appBarIcons/importall.comment","ui/appBarIcons/browsephotos","_ui/appBarIcons/browsephotos.comment","ui/appBarIcons/webcam","_ui/appBarIcons/webcam.comment","ui/appBarIcons/pictures","_ui/appBarIcons/pictures.comment","ui/appBarIcons/savelocal","_ui/appBarIcons/savelocal.comment","ui/appBarIcons/caption","_ui/appBarIcons/caption.comment","ui/appBarIcons/stop","_ui/appBarIcons/stop.comment","ui/appBarIcons/showresults","_ui/appBarIcons/showresults.comment","ui/appBarIcons/volume","_ui/appBarIcons/volume.comment","ui/appBarIcons/repair","_ui/appBarIcons/repair.comment","ui/appBarIcons/message","_ui/appBarIcons/message.comment","ui/appBarIcons/page2","_ui/appBarIcons/page2.comment","ui/appBarIcons/calendarday","_ui/appBarIcons/calendarday.comment","ui/appBarIcons/calendarweek","_ui/appBarIcons/calendarweek.comment","ui/appBarIcons/calendar","_ui/appBarIcons/calendar.comment","ui/appBarIcons/characters","_ui/appBarIcons/characters.comment","ui/appBarIcons/mailreplyall","_ui/appBarIcons/mailreplyall.comment","ui/appBarIcons/read","_ui/appBarIcons/read.comment","ui/appBarIcons/link","_ui/appBarIcons/link.comment","ui/appBarIcons/accounts","_ui/appBarIcons/accounts.comment","ui/appBarIcons/showbcc","_ui/appBarIcons/showbcc.comment","ui/appBarIcons/hidebcc","_ui/appBarIcons/hidebcc.comment","ui/appBarIcons/cut","_ui/appBarIcons/cut.comment","ui/appBarIcons/attach","_ui/appBarIcons/attach.comment","ui/appBarIcons/paste","_ui/appBarIcons/paste.comment","ui/appBarIcons/filter","_ui/appBarIcons/filter.comment","ui/appBarIcons/copy","_ui/appBarIcons/copy.comment","ui/appBarIcons/emoji2","_ui/appBarIcons/emoji2.comment","ui/appBarIcons/important","_ui/appBarIcons/important.comment","ui/appBarIcons/mailreply","_ui/appBarIcons/mailreply.comment","ui/appBarIcons/slideshow","_ui/appBarIcons/slideshow.comment","ui/appBarIcons/sort","_ui/appBarIcons/sort.comment","ui/appBarIcons/manage","_ui/appBarIcons/manage.comment","ui/appBarIcons/allapps","_ui/appBarIcons/allapps.comment","ui/appBarIcons/disconnectdrive","_ui/appBarIcons/disconnectdrive.comment","ui/appBarIcons/mapdrive","_ui/appBarIcons/mapdrive.comment","ui/appBarIcons/newwindow","_ui/appBarIcons/newwindow.comment","ui/appBarIcons/openwith","_ui/appBarIcons/openwith.comment","ui/appBarIcons/contactpresence","_ui/appBarIcons/contactpresence.comment","ui/appBarIcons/priority","_ui/appBarIcons/priority.comment","ui/appBarIcons/uploadskydrive","_ui/appBarIcons/uploadskydrive.comment","ui/appBarIcons/gototoday","_ui/appBarIcons/gototoday.comment","ui/appBarIcons/font","_ui/appBarIcons/font.comment","ui/appBarIcons/fontcolor","_ui/appBarIcons/fontcolor.comment","ui/appBarIcons/contact2","_ui/appBarIcons/contact2.comment","ui/appBarIcons/folder","_ui/appBarIcons/folder.comment","ui/appBarIcons/audio","_ui/appBarIcons/audio.comment","ui/appBarIcons/placeholder","_ui/appBarIcons/placeholder.comment","ui/appBarIcons/view","_ui/appBarIcons/view.comment","ui/appBarIcons/setlockscreen","_ui/appBarIcons/setlockscreen.comment","ui/appBarIcons/settile","_ui/appBarIcons/settile.comment","ui/appBarIcons/cc","_ui/appBarIcons/cc.comment","ui/appBarIcons/stopslideshow","_ui/appBarIcons/stopslideshow.comment","ui/appBarIcons/permissions","_ui/appBarIcons/permissions.comment","ui/appBarIcons/highlight","_ui/appBarIcons/highlight.comment","ui/appBarIcons/disableupdates","_ui/appBarIcons/disableupdates.comment","ui/appBarIcons/unfavorite","_ui/appBarIcons/unfavorite.comment","ui/appBarIcons/unpin","_ui/appBarIcons/unpin.comment","ui/appBarIcons/openlocal","_ui/appBarIcons/openlocal.comment","ui/appBarIcons/mute","_ui/appBarIcons/mute.comment","ui/appBarIcons/italic","_ui/appBarIcons/italic.comment","ui/appBarIcons/underline","_ui/appBarIcons/underline.comment","ui/appBarIcons/bold","_ui/appBarIcons/bold.comment","ui/appBarIcons/movetofolder","_ui/appBarIcons/movetofolder.comment","ui/appBarIcons/likedislike","_ui/appBarIcons/likedislike.comment","ui/appBarIcons/dislike","_ui/appBarIcons/dislike.comment","ui/appBarIcons/like","_ui/appBarIcons/like.comment","ui/appBarIcons/alignright","_ui/appBarIcons/alignright.comment","ui/appBarIcons/aligncenter","_ui/appBarIcons/aligncenter.comment","ui/appBarIcons/alignleft","_ui/appBarIcons/alignleft.comment","ui/appBarIcons/zoom","_ui/appBarIcons/zoom.comment","ui/appBarIcons/zoomout","_ui/appBarIcons/zoomout.comment","ui/appBarIcons/openfile","_ui/appBarIcons/openfile.comment","ui/appBarIcons/otheruser","_ui/appBarIcons/otheruser.comment","ui/appBarIcons/admin","_ui/appBarIcons/admin.comment","ui/appBarIcons/street","_ui/appBarIcons/street.comment","ui/appBarIcons/map","_ui/appBarIcons/map.comment","ui/appBarIcons/clearselection","_ui/appBarIcons/clearselection.comment","ui/appBarIcons/fontdecrease","_ui/appBarIcons/fontdecrease.comment","ui/appBarIcons/fontincrease","_ui/appBarIcons/fontincrease.comment","ui/appBarIcons/fontsize","_ui/appBarIcons/fontsize.comment","ui/appBarIcons/cellphone","_ui/appBarIcons/cellphone.comment","ui/appBarIcons/print","_ui/appBarIcons/print.comment","ui/appBarIcons/share","_ui/appBarIcons/share.comment","ui/appBarIcons/reshare","_ui/appBarIcons/reshare.comment","ui/appBarIcons/tag","_ui/appBarIcons/tag.comment","ui/appBarIcons/repeatone","_ui/appBarIcons/repeatone.comment","ui/appBarIcons/repeatall","_ui/appBarIcons/repeatall.comment","ui/appBarIcons/outlinestar","_ui/appBarIcons/outlinestar.comment","ui/appBarIcons/solidstar","_ui/appBarIcons/solidstar.comment","ui/appBarIcons/calculator","_ui/appBarIcons/calculator.comment","ui/appBarIcons/directions","_ui/appBarIcons/directions.comment","ui/appBarIcons/target","_ui/appBarIcons/target.comment","ui/appBarIcons/library","_ui/appBarIcons/library.comment","ui/appBarIcons/phonebook","_ui/appBarIcons/phonebook.comment","ui/appBarIcons/memo","_ui/appBarIcons/memo.comment","ui/appBarIcons/microphone","_ui/appBarIcons/microphone.comment","ui/appBarIcons/postupdate","_ui/appBarIcons/postupdate.comment","ui/appBarIcons/backtowindow","_ui/appBarIcons/backtowindow.comment","ui/appBarIcons/fullscreen","_ui/appBarIcons/fullscreen.comment","ui/appBarIcons/newfolder","_ui/appBarIcons/newfolder.comment","ui/appBarIcons/calendarreply","_ui/appBarIcons/calendarreply.comment","ui/appBarIcons/unsyncfolder","_ui/appBarIcons/unsyncfolder.comment","ui/appBarIcons/reporthacked","_ui/appBarIcons/reporthacked.comment","ui/appBarIcons/syncfolder","_ui/appBarIcons/syncfolder.comment","ui/appBarIcons/blockcontact","_ui/appBarIcons/blockcontact.comment","ui/appBarIcons/switchapps","_ui/appBarIcons/switchapps.comment","ui/appBarIcons/addfriend","_ui/appBarIcons/addfriend.comment","ui/appBarIcons/touchpointer","_ui/appBarIcons/touchpointer.comment","ui/appBarIcons/gotostart","_ui/appBarIcons/gotostart.comment","ui/appBarIcons/zerobars","_ui/appBarIcons/zerobars.comment","ui/appBarIcons/onebar","_ui/appBarIcons/onebar.comment","ui/appBarIcons/twobars","_ui/appBarIcons/twobars.comment","ui/appBarIcons/threebars","_ui/appBarIcons/threebars.comment","ui/appBarIcons/fourbars","_ui/appBarIcons/fourbars.comment","ui/appBarIcons/scan","_ui/appBarIcons/scan.comment","ui/appBarIcons/preview","_ui/appBarIcons/preview.comment","ui/appBarIcons/hamburger","_ui/appBarIcons/hamburger.comment","_WinRT","_Events","defaultStrings","_getWinJSString","getString","empty","_getStringBuiltIn","resourceId","str","formatString","string","args","replace","unused","left","right","index","illegalLeft","illegalRight","strings","malformedFormatStringInput","resourceMap","resourceContext","mrtEventHook","contextChangedET","ListenerType","createEvent","ApplicationModel","Resources","Core","ResourceManager","resContext","_getResourceContext","qualifierValues","qualifier","changed","defaultContext","_formatString","_getStringWinRT","mainResourceMap","getSubtree","stringValue","langValue","resCandidate","getValue","valueAsString","toString","_getStringJS","getQualifierValue","lang","document","context","ResourceContext","oncontextchanged","getStringImpl","nop","v","_traceAsyncOperationStarting","Debug","msTraceAsyncOperationStarting","_traceAsyncOperationCompleted","msTraceAsyncOperationCompleted","_traceAsyncCallbackStarting","msTraceAsyncCallbackStarting","_traceAsyncCallbackCompleted","msTraceAsyncCallbackCompleted","_ErrorFromName","_Trace","_","completed","promise","targetState","then","state_waiting","state_success_notify","_value","_setState","createErrorDetails","exception","error","detailsForHandledError","errorValue","_isException","errorId","_errorId","detailsForChainedError","setErrorInfo","detailsForError","error_number","detailsForException","exceptionValue","done","onComplete","onError","onProgress","asyncOpID","pushListener","c","p","onerrorDetails","callonerror","state_error_notify","notifySuccess","queue","MS_ASYNC_OP_STATUS_SUCCESS","_setCompleteValue","ex","_setExceptionValue","_state","CompletePromise","call","notifyError","errorID","canceledName","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","asyncCallbackStarted","handlesOnError","_setChainedErrorValue","ErrorPromise","onerrorDetailsGenerator","promiseEventListeners","errorET","progress","_progress","isException","setErrorValue","state_error","setCompleteValue","state_success","ThenPromise","timeout","timeoutMS","Promise","clearTimeout","timeoutWithPromise","cancelPromise","cancel","cancelTimeout","setNonUserCodeExceptions","tagWithStack","tag","thenPromise","errorPromise","exceptionPromise","completePromise","all","state_created","state_working","state_waiting_canceled","state_canceled","state_canceling","enter","_completed","_error","_notify","_setErrorValue","waitedUpon","_chainedError","_cancelAction","shift","_cleanupAction","staticCanceledPromise","PromiseStateMachine","_nextState","_run","creator","_stack","_getStack","_creator","_doneHandler","ExceptionPromise","newValue","init","oncancel","_oncancel","complete","eventType","capture","any","values","canceled","as","is","errors","results","undefineds","pending","argDone","errorCount","canceledCount","Key","Done","thenEach","time","to","wrap","wrapError","_veryExpensiveTagWithStack","_veryExpensiveTagWithStack_tag","debuggerEnabled","stack","_cancelBlocker","input","output","_StateMachine","format","m","typeR","test","spaceR","defAction","formatLog","console","escape","s","WinJSLog","startLog","options","tags","el","RegExp","not","excludeTags","has","action","log","next","stopLog","_Log","_Resources","linkedListMixin","mixin","PREV","NEXT","prev","node","profilerMarkArgs","arg0","arg1","arg2","schedulerProfilerMark","operation","markerType","jobProfilerMark","job","argProvided","illegal","setState","changePriority","priority","_setPriority","dumpList","reverse","dumpMarker","marker","pos","dumpJob","highWaterMark","head","priorities","MarkerNode","JobNode","retrieveState","logJob","isRunning","markerFromPriority","jobCount","runningJob","Priority","min","_nextJob","drainQueue","isEmpty","currentDrainPriority","drainStarting","drainStopping","addDrainListener","immediateYield","removeDrainListener","notifyCurrentDrainListener","notifyDrainListeners","notifiedSomebody","drainPriority","pumpingPriority","toWwaPriority","winjsPriority","aboveNormal","MSApp","HIGH","belowNormal","NORMAL","IDLE","isEqualOrHigherWwaPriority","priority1","priority2","wwaPriorityToInt","isHigherWwaPriority","wwaTaskScheduledAtPriorityHigherThan","wwaPriority","isTaskScheduledAtPriorityOrHigher","addJobAtHeadOfPriority","_insertJobAfter","addJobAtTailOfPriority","_nextMarker","_insertJobBefore","clampPriority","Math","max","MIN_PRIORITY","MAX_PRIORITY","run","scheduled","pumping","didWork","lastLoggedPriority","ranJobSuccessfully","timesliceExhausted","yieldForPriorityBoundary","start","end","TIME_SLICE","shouldYield","_execute","wwaPrevHighWaterMark","wwaHighWaterMark","usingWwaScheduler","foundAJob","reasonForYielding","scheduledWwaPriority","startRunning","priorityWwa","scheduledVersion","runner","executedVersion","execAsyncAtPriority","requestDrain","globalDrainId","execHigh","callback","execAtPriority","createOwnerToken","OwnerToken","schedule","work","thisArg","normal","jobId","globalJobId","getCurrentPriority","high","idle","makeSchedulePromise","promiseValue","jobName","_linkedListMixin","jobInfoIsNoLongerValid","_id","_work","_context","_name","_asyncOpID","owner","_owner","_remove","_add","_priority","setPriority","pause","resume","execute","_executeDone","executeDone","_blockedDone","blockedDone","YieldPolicy","continue","block","JobInfo","_job","_result","_yieldPolicy","_shouldYield","_throwIfDisabled","setPromise","setWork","_disablePublicApi","_publicApiDisabled","_jobs","cancelAll","jobs","jobIds","State","state_scheduled","state_paused","state_running","state_running_paused","state_running_resumed","state_running_canceled","state_running_canceled_blocked","state_cooperative_yield","state_cooperative_yield_paused","state_blocked","state_blocked_waiting","state_blocked_paused","state_blocked_paused_waiting","state_blocked_canceled","state_complete","_removeJob","jobInfo","yieldPolicy","initialPriority","newWork","_insertMarkerAfter","scheduleWithHost","MSAppStubs","performance","currentPriority","schedulePromiseHigh","schedulePromiseAboveNormal","schedulePromiseNormal","schedulePromiseBelowNormal","schedulePromiseIdle","_JobNode","_JobInfo","_OwnerToken","_dumpList","_isEmpty","_usingWwaScheduler","_MSApp","_TIME_SLICE","Scheduler","getMemberFiltered","root","filter","getMember","getCamelCasedName","styleName","charAt","x","toUpperCase","addPrefixToCamelCasedName","addPrefixToCSSName","toLowerCase","getBrowserStyleEquivalents","equivalents","docStyle","documentElement","style","stylePrefixesToTest","styles","prefixesUsedOnStyles","originalName","styleToTest","j","prefixLen","cssName","scriptName","animationPrefix","keyframes","getBrowserEventEquivalents","animationEventPrefixes","animationEvents","eventObject","events","eventToTest","chosenPrefix","eventsLen","eventName","throttledFunction","delay","fn","makeThrottlePromise","throttlePromise","pendingCallPromise","nextContext","nextArgs","requestAnimationWorker","notSupportedForProcessing","requestAnimationId","requestAnimationHandlers","validation","platform","navigator","isiOS","_setHasWinRT","_setIsiOS","_isiOS","_getMemberFiltered","_browserStyleEquivalents","_browserEventEquivalents","_getCamelCasedName","ready","async","err","readyState","_testReadyState","body","strictProcessing","requireSupportedForProcessing","location","HTMLIFrameElement","frames","_requestAnimationFrame","requestAnimationFrame","handle","toProcess","_cancelAnimationFrame","cancelAnimationFrame","_yieldForEvents","_yieldForDomModification","_throttledFunction","_shallowCopy","a","_mergeAll","_merge","b","list","o","k","_getProfilerMarkIdentifier","element","profilerMarkIdentifier","className","_now","_version","SignalPromise","Signal","_promise","_Signal","setOptions","control","_setOptions","eventsOnly","ch1","ch2","substr","DOMEventMixin","_domElement","eventProperties","initEvent","_BaseUtils","getDefaultComputedStyle","defaultComputedStyle","CSS2Properties","cssProperty","_getComputedStyle","pseudoElement","getComputedStyle","removeEmpties","arr","getClassName","baseVal","setClassName","addClass","classList","add","namesToAdd","toAdd","names","found","saw","removeClass","namesToRemove","remove","namesToRemoveLen","original","removed","namesLen","toggleClass","toggle","trim","r","setAttribute","attribute","getAttribute","_clamp","lowerBound","upperBound","defaultValue","n","convertToPixels","_pixelsRE","_numberRE","previousValue","pixelLeft","round","parseFloat","getDimension","property","_convertToPrecisePixels","_getPreciseDimension","_getPreciseMargins","top","marginTop","marginRight","bottom","marginBottom","marginLeft","addListenerToEventMap","data","eventNameLowercase","_eventsMap","removeListenerFromEventMap","mappedEvents","mapping","lookupListeners","bubbleEvent","handlers","parentNode","prepareFocusEvent","relatedTarget","tagName","registerBubbleListener","touchEventTranslator","changedTouches","retVal","touchObject","pointerEventObject","PointerEventProxy","pointerType","_MSPointerEvent","MSPOINTER_TYPE_TOUCH","pointerId","identifier","isPrimary","screenX","screenY","clientX","clientY","pageX","pageY","radiusX","radiusY","rotationAngle","force","_currentTouch","newRetVal","mouseEventTranslator","MSPOINTER_TYPE_MOUSE","mspointerEventTranslator","registerPointerEvent","mouseWrapper","touchWrapper","mspointerWrapper","touchHandled","translations","eventTranslations","MSPointerEvent","_normalizedType","mspointer","mouse","touch","unregisterPointerEvent","determineRTLEnvironment","createElement","direction","innerHTML","appendChild","elementScroller","firstChild","scrollLeft","usingWebkitScrollCoordinates","usingFirefoxScrollCoordinates","removeChild","determinedRTLEnvironment","getAdjustedScrollPosition","computedStyle","scrollWidth","clientWidth","abs","scrollTop","setAdjustedScrollPosition","getScrollPosition","setScrollPosition","position","uniqueID","_uniqueID","uniqueElementIDCounter","ensureId","_getCursorPos","docElement","docScrollPos","dir","_getElementsByClasses","classes","querySelector","_zoomToDuration","_MSGestureEvent","MSGestureEvent","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","_MSManipulationEvent","MSManipulationEvent","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MSPOINTER_TYPE_PEN","nativeSupportForFocusIn","activeElement","previousActiveElement","overrideProperties","__eventObject","that","propertyName","pointerdown","pointerup","pointermove","pointerenter","pointerover","pointerout","pointercancel","customEvents","focusout","register","unregister","focusin","PointerEvent","pointerEventEntry","MutationObserverShim","_callback","_toDispose","_attributeFilter","_scheduled","_pendingChanges","_observerCount","_handleCallback","_targetElements","observe","configuration","attributes","_addRemovableListener","attributeFilter","disconnect","disposeFunc","event","attrName","isAriaMutation","attributeName","_dispatchEvent","_isShim","_MutationObserver","MutationObserver","_resizeNotifier","ResizeNotifier","_handleResize","subscribe","_resizeEvent","_resizeClass","unsubscribe","resizables","querySelectorAll","GenericListener","objectName","object","registerThruWinJSCustomEvents","bubble","_getHandlers","_getListener","refCount","_addEventListener","_getEventName","_getClassName","_removeEventListener","captureSuffix","ev","targets","handled","originalEvent","doDefault","supportsSnapPoints","msManipulationViewsEnabled","userAgent","supportsTouchDetection","TouchEvent","_selectionPartsSelector","_dataKey","_supportsSnapPoints","_supportsTouchDetection","_ensureId","_createGestureRecognizer","MSGesture","doNothing","addPointer","stop","_elementsFromPoint","y","msElementsFromPoint","elementFromPoint","_matchesSelector","selectorString","matchesSelector","matches","msMatchesSelector","mozMatchesSelector","webkitMatchesSelector","_isSelectionRendered","itemBox","eventNameLower","entry","equivalentEvent","_initEventImpl","initType","_initMouseEvent","concat","_initPointerEvent","_PointerEventProxy","_bubbleEvent","_setPointerCapture","setPointerCapture","_releasePointerCapture","releasePointerCapture","_zoomTo","msZoomTo","initialPos","effectiveScrollLeft","_zoomToDestX","effectiveScrollTop","_zoomToDestY","cs","scrollLimitX","parseInt","width","paddingLeft","paddingRight","scrollLimitY","scrollHeight","height","paddingTop","paddingBottom","contentX","contentY","zoomToDestX","zoomToDestY","_zoomToId","thisZoomToId","xFactor","yFactor","update","t","_setActive","scroller","success","HTMLElement","setActive","focus","_GenericListener","_globalListener","_documentElementListener","_inputPaneListener","_addInsertedNotifier","hiddenElement","animationName","_inDom","contains","nodeInsertedHandler","_setFlexStyle","flexParams","styleObject","grow","msFlexPositive","webkitFlexGrow","flexGrow","shrink","msFlexNegative","webkitFlexShrink","flexShrink","basis","msFlexPreferredSize","webkitFlexBasis","flexBasis","backspace","tab","ctrl","alt","capsLock","space","pageUp","pageDown","home","leftArrow","upArrow","rightArrow","downArrow","insert","deleteKey","num0","num1","num2","num3","num4","num5","num6","num7","num8","num9","d","g","h","q","u","w","z","leftWindows","rightWindows","menu","numPad0","numPad1","numPad2","numPad3","numPad4","numPad5","numPad6","numPad7","numPad8","numPad9","multiply","subtract","decimalPoint","divide","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NavigationView","NavigationMenu","NavigationUp","NavigationDown","NavigationLeft","NavigationRight","NavigationAccept","NavigationCancel","numLock","scrollLock","browserBack","browserForward","semicolon","equal","comma","dash","period","forwardSlash","graveAccent","GamepadA","GamepadB","GamepadX","GamepadY","GamepadRightShoulder","GamepadLeftShoulder","GamepadLeftTrigger","GamepadRightTrigger","GamepadDPadUp","GamepadDPadDown","GamepadDPadLeft","GamepadDPadRight","GamepadMenu","GamepadView","GamepadLeftThumbstick","GamepadRightThumbstick","GamepadLeftThumbstickUp","GamepadLeftThumbstickDown","GamepadLeftThumbstickRight","GamepadLeftThumbstickLeft","GamepadRightThumbstickUp","GamepadRightThumbstickDown","GamepadRightThumbstickRight","GamepadRightThumbstickLeft","openBracket","backSlash","closeBracket","singleQuote","IME","hasClass","_setAttribute","getRelativeLeft","elementPosition","_getPositionRelativeTo","parentPosition","getRelativeTop","childNodes","item","_isDOMElement","getContentWidth","border","padding","offsetWidth","_getPreciseContentWidth","getTotalWidth","margin","_getPreciseTotalWidth","getContentHeight","offsetHeight","_getPreciseContentHeight","getTotalHeight","_getPreciseTotalHeight","getPosition","getTabIndex","tabbableElementsRE","disabled","tabIndex","href","sorted","eventWithinElement","related","_deprecated","warn","_syncRenderer","renderer","container","template","render","winControl","host","firstElementChild","dispose","ancestor","fromElement","offsetParent","offsetTop","offsetLeft","_getHighAndLowTabIndices","descendants","getElementsByTagName","lowestTabIndex","highestTabIndex","foundTabIndex0","tabIndexStr","highest","lowest","_getLowestTabIndexInList","elements","elmTabIndex","_getHighestTabIndexInList","_hasCursorKeysBehaviors","_reparentChildren","originalParent","destinationParent","child","sibling","nextSibling","_maintainFocus","focusedElement","_trySetActiveOnAnyElement","_tryFocusOnAnyElement","useSetActive","_trySetActive","elem","_tryFocus","simpleLogicForValidTabStop","_setActiveFirstFocusableElement","rootEl","_focusFirstFocusableElement","_elms","_lowestTabIndex","_nextLowestTabIndex","_setActiveLastFocusableElement","_focusLastFocusableElement","_highestTabIndex","_nextHighestTabIndex","_ElementUtilities","markDisposable","disposeImpl","disposed","disposable","disposeSubTree","query","_disposeElement","optionsLexerInit","_optionsLexer","reservedWord","word","tokenType","keyword","reservedWordLookup","tokens","falseLiteral","nullLiteral","trueLiteral","thisKeyword","leftBrace","rightBrace","leftBracket","rightBracket","separator","colon","dot","numberLiteral","stringLiteral","leftParentheses","rightParentheses","eof","lexer","isIdentifierStartCharacter","code","text","offset","limit","isWhitespace","isLineTerminator","isHexDigit","readIdentifierPart","hasEscape","readIdentifierToken","startOffset","JSON","parse","wordToken","readHexIntegerLiteral","isDecimalDigit","readDecimalDigits","readDecimalLiteral","tempOffset","readDecimalLiteralToken","readStringLiteralToken","quoteCharCode","eval","readWhitespace","lex","token","afterSign","signOffset","substring","hexOffset","_OptionsLexer","tokenTypeName","imports","invalidOptionsRecord","unexpectedTokenExpectedToken","unexpectedTokenExpectedTokens","unexpectedTokenGeneric","local","BaseInterpreter","_currentOffset","_pos","_tokens","_evaluateAccessExpression","_current","_read","_unexpectedToken","_evaluateValue","_evaluateAccessExpressions","_evaluateIdentifier","nested","_readIdentifier","_evaluateIdentifierExpression","_initialize","originalSource","functionContext","_originalSource","_functionContext","expected","_peek","_readAccessExpression","_readAccessExpressions","_readIdentifierExpression","unexpected","OptionsInterpreter","_evaluateArrayLiteral","_readArrayElements","_evaluateObjectLiteral","_readObjectProperties","_tryReadComma","_evaluateOptionsLiteral","_peekValue","_evaluateObjectQueryExpression","_tryReadElement","_tryReadElision","elision","_tryReadObjectProperty","_failReadObjectProperty","functionName","queryExpression","OptionsParser","_readObjectQueryExpression","IdentifierExpression","queryExpressionLiteral","CallExpression","parser","interpreter","parser2","arg0Value","optionsParser","_optionsParser","_CallExpression","_IdentifierExpression","_OptionsParser","createSelect","selector","selected","msParentSelectorScope","scope","activate","Handler","optionsAttribute","select","ctl","count","checkComplete","errorActivatingControl","processAllImpl","rootElement","skipRootElement","allElements","getControlHandler","checkAllComplete","controls","instance","isDeclarativeControlContainer","idcc","processAll","evaluator","scopedSelect","skipRoot","processedAllCalled","process","ControlProcessor","_Control","QueryCollection","items","include","callbackFn","listen","setStyle","clearStyle","newCollection","DOCUMENT_FRAGMENT_NODE","nodeType","Ctor","templateElement","renderDonePromiseCallback","donePromises","datum","getElementById","children","isHoverable","touchStartHandler","_ParallelWorkQueue","maxRunning","runNext","running","processing","nextWork","workQueue","workItems","first","workPromise","workIndex","unshift","sort","_VersionManager","_unlocked","_cancelCount","_notificationCount","_updateCount","locked","noOutstandingNotifications","version","unlocked","_dispose","beginUpdating","_checkLocked","endUpdating","_checkUnlocked","beginNotifications","endNotifications","receivedNotification","_cancel","cancelOnNotification","clearCancelOnNotification","simpleItemRenderer","itemPromise","compareImageLoadPriority","aon","bon","isOnScreen","seenUrl","srcUrl","seenUrls","seenUrlsMRU","SEEN_URLS_MRU_MAXSIZE","mru","SEEN_URLS_MAXSIZE","url","loadImage","image","imageId","nextImageLoaderId","imageLoader","seen","src","imageLoadComplete","tempImage","cleanup","loadComplete","loadError","currentDate","lastSort","minDurationBetweenImageSort","jobComplete","jobError","isImageCached","defaultRenderer","trivialHtmlRenderer","stringify","textContent","_normalizeRendererReturn","elementPromise","renderComplete","_trivialHtmlRenderer","listDataSourceIsInvalid","itemRendererIsInvalid","itemIsInvalid","_seenUrl","_getSeenUrls","_getSeenUrlsMRU","_seenUrlsMaxSize","_seenUrlsMRUMaxSize","_createItemsManager","ListNotificationHandler","itemsManager","_itemsManager","_versionManager","_beginNotifications","inserted","previousHandle","nextHandle","_inserted","newItem","oldItem","_changed","moved","_moved","mirage","_removed","countChanged","newCount","oldCount","_countChanged","indexChanged","newIndex","oldIndex","_indexChanged","affectedRange","range","_affectedRange","_endNotifications","reload","_reload","ItemsManager","listDataSource","itemRenderer","elementNotificationHandler","$pipeline_callbacksMap","_listDataSource","dataSource","_elementNotificationHandler","_listBinding","createListBinding","ownerElement","_ownerElement","_profilerId","profilerId","versionManager","_indexInView","indexInView","_itemRenderer","_viewCallsReady","viewCallsReady","_elementMap","_handleMap","_jobOwner","_notificationsSent","last","lastItem","_elementForItem","_itemFromItemPromise","_waitForElement","_itemFromItemPromiseThrottled","_itemAtIndex","_itemPromiseAtIndex","fromIndex","possiblePlaceholder","isPlaceholder","placeholderID","callbacks","_updateElement","newElement","oldElement","_firstItem","_lastItem","_previousItem","jumpToItem","_itemFromElement","previous","_nextItem","_itemFromPromise","_recordFromElement","elementIsPlaceholder","itemObject","release","_released","releaseItemPromise","record","_releaseRecord","releaseItem","renderPromise","imagePromises","itemReadyPromise","_removeEntryFromElementMap","_removeEntryFromHandleMap","refresh","invalidateAll","_handlerToNotifyCaresAboutItemAvailable","itemAvailable","_handlerToNotify","_defineIndexProperty","itemForRenderer","indexObserved","_renderPlaceholder","elementPlaceholder","_renderItem","callerThrottlesStage1","queueAsyncStage1","_writeProfilerMark","perfItemPromiseId","stage1Signal","readySignal","stage0RunningSync","stage0Ran","itemForRendererPromise","loadImagePromise","stage0","startStage1","readyComplete","perfRendererWorkId","perfItemReadyId","rendererPromise","pendingReady","_replaceElement","elementNew","_addEntryToElementMap","_changeElement","elementNewIsPlaceholder","elementOld","itemOld","elementDelayed","_recordFromHandle","_addEntryToHandleMap","synchronous","_presentElements","retain","_handleInHandleMap","ignoreFailure","_foreachRecord","records","_elementFromHandle","newItemPromise","_presentAllElements","itemToRender","updateAffectedRange","_externalBegin","_postEndNotifications","_endNotificationsPosted","_presentElement","fireEvent","forward","initUIEvent","tabbableElementsNodeFilter","nodeStyle","display","visibility","NodeFilter","FILTER_REJECT","_tabContainer","FILTER_ACCEPT","managedTarget","childFocus","FILTER_SKIP","scrapeTabManagedSubtree","walker","scrapeSubtree","currentNode","elementsFound","tabManagedElement","TabHelperObject","createCatcher","fragment","catcherBegin","insertBefore","catcherEnd","_catcherBegin","_catcherEnd","addRef","parentElement","updateTabIndex","TrackTabBehavior","attach","detach","TabContainer","_element","_tabIndex","skipDefaultBehavior","targetElement","keyCode","forwardTab","shiftKey","canKeepTabbing","_hasMoreElementsInTabOrder","skipTabExitHandling","allTabbableElements","originalTabIndices","_elementTabHelper","restoreTabIndicesOnBlur","_focusElement","_skipper","currentFocus","movingForwards","createTreeWalker","SHOW_ELEMENT","tabStops","_TabContainer","InputTypes","pen","keyboard","_lastInputType","pointerTypeToInputType",2,3,4,"_keyboardSeenLast","_InputTypes","_WinKeyboard","_KeyboardBehavior","_keyboardBehavior","_fixedDirection","FixedDirection","_fixedSize","_currentIndex","_getFocusInto","_keyDownHandler","_MSPointerDownHandler","fixedDirection","fixedSize","currentIndex","getAdjacent","_getAdjacent","_scroller","altKey","maxIndex","rtl","leftStr","rightStr","targetIndex","modFixedSize","_focus","elementToFocus","srcElement","previousElementSibling","setInnerHTML","setInnerHTMLUnsafe","setOuterHTML","setOuterHTMLUnsafe","insertAdjacentHTML","insertAdjacentHTMLUnsafe","nonStaticHTML","outerHTML","msApp","execUnsafeLocalFunction","_execUnsafe","msIsStaticHTML","check","_SafeHtml","_Select","encodeHtml","encodeHtmlRegEx","encodeHtmlEscapeMap","stripDirectionMarker","stringDirectionRegEx","stockGetValue","stockGetLength","fixDataSource","getLength","&","<",">","'","\"","_dataSource","_index","setDisabled","selectedIndex","_createSelectElement","removeAttribute","dataSourceLength","escaped","stripped","send","params","eventHandler","Orientation","horizontal","vertical","CountResult","unknown","CountError","noResponse","DataSourceStatus","waiting","failure","FetchError","doesNotExist","EditError","notPermitted","noLongerMeaningful","ObjectType","groupHeader","header","footer","SelectionMode","none","single","multi","TapBehavior","directSelect","toggleSelect","invokeOnly","SwipeBehavior","GroupHeaderTapBehavior","invoke","arg","noop","xhr","req","XMLHttpRequest","isLocalRequest","schemeMatch","schemeRegex","exec","protocol","onreadystatechange","_canceled","status","open","user","password","responseType","headers","setRequestHeader","customRequestInitializer","abort","findNextFocusElement","_findNextFocusElementInternal","moveFocus","previousFocusElement","_trySetFocus","eventSrc","EventNames","focusChanged","_xyFocus","referenceRect","dontExit","updateHistoryRect","newHistoryRect","_defaultRect","DirectionNames","targetRect","_historyRect","Number","MIN_VALUE","MAX_VALUE","_lastTarget","_cachedLastTargetRect","lastTargetRect","_toIRect","getBoundingClientRect","focusRoot","historyRect","referenceElement","ClassNames","toggleMode","toggleModeActive","targetIframe","IFrameHelper","isXYFocusEnabled","refRect","CrossDomainMessageConstants","messageDataProperty","dFocusEnter","contentWindow","postMessage","dFocusExit","calculatePercentInShadow","minReferenceCoord","maxReferenceCoord","minPotentialCoord","maxPotentialCoord","pixelOverlap","shortEdge","calculateScore","maxDistance","potentialRect","percentInShadow","primaryAxisDistance","score","secondaryAxisDistance","percentInHistoryShadow","up","down","ScoringConstants","primaryAxisDistanceWeight","secondaryAxisDistanceWeight","percentInHistoryShadowWeight","getReferenceObject","refElement","rect","screen","availHeight","availWidth","refObj","manualOverrideOptions","AttributeNames","focusOverride","focusOverrideLegacy","parsedOptions","usedOverride","bestPotential","potentialElement","_isFocusable","_isInInactiveToggleModeContainer","floor","focusChanging","nextFocusElement","elementTagName","hasAttribute","FocusableTagNames","focusable","_findParentToggleModeContainer","toggleModeRoot","_isToggleMode","xboxPlatform","inputType","_getStateHandler","suspended","stateHandler","KeyHandlerStates","RestState","SuspendedState","ToggleModeActiveState","ToggleModeRestState","_handleKeyEvent","keyCodeMap","shouldPreventDefault","xyFocus","_handleCaptureKeyEvent","accept","Keys","_clickElement","click","_nop","_i","_safeForEach","iframes","getIFrameFromWindow","win","iframe","ifr","registerIFrame","unregisterIFrame","sourceWindow","source","focused","iframeRect","toPublish","onfocuschanged","onfocuschanging","_iframeHelper","_Xhr","addScript","scriptTag","fragmentHref","lastNonInlineScriptPromise","inline","scripts","language","onload","onerror","addStyle","styleTag","cloneNode","addLink","links","getStateRecord","removeFromCache","loadFromCache","docfrag","docFragment","createDocumentFragment","clearCache","createEntry","populateDocument","processDocument","fragmentId","cacheStore","cd","sp","localScripts","imported","importNode","initialize","renderCopy","renderImpl","copy","uniqueId","writeProfilerMark","frag","cache","htmlDoc","implementation","createHTMLDocument","base","anchor","getFragmentContents","getFragmentContentsXHR","responseText","arrayLikeValue","_cacheStore","_getFragmentContents","initWithWinRT","temp","roaming","IOHelper","folder","_path","path","tryGetItemAsync","_tryGetItemAsync","fileName","getFileAsync","exists","fileItem","deleteAsync","writeText","sto","Storage","createFileAsync","CreationCollisionOption","openIfExists","FileIO","writeTextAsync","readText","def","readTextAsync","ApplicationData","localFolder","temporaryFolder","roamingFolder","initWithStub","InMemoryHelper","storage","sessionState","_loadState","previousExecutionState","_sessionStateLoaded","_oncheckpoint","Application","getViewOpener","stateString","queueEvent","navigatedEventName","navigatingEventName","beforenavigateEventName","history","backStack","initialPlaceholder","forwardStack","raiseBeforeNavigate","proposed","waitForPromise","raiseNavigating","delta","raiseNavigated","go","distance","fromStack","toStack","canGoForward","canGoBack","back","navigate","initialState","onnavigated","onnavigating","onbeforenavigate","_State","Navigation","safeSerialize","obj","seenObjects","fatalErrorHandler","_terminateApp","number","errorCode","terminateData","description","errorNumber","defaultTerminateAppHandler","terminateApp","captureDeferral","pendingDeferralID","deferral","pendingDeferrals","getDeferral","completeDeferral","deferralID","cleanupAllPendingDeferrals","eventRecord","_deferral","_deferralID","_stoppedImmediatePropagation","builtInListeners","createEventQueuedSignal","eventQueuedSignal","drainOneEvent","drainError","drainNext","_queue","eventQueue","copyAndClearQueue","startEventQueue","markSync","sync","eventQueueJob","activatedHandler","activatedOperation","activatedET","suspendingHandler","suspendingOperation","checkpointET","domContentLoadedHandler","loadedET","WebUI","WebUIApplication","activatedArgs","kind","beforeUnloadHandler","unloadET","errorHandler","flattenedError","errorLine","lineno","errorCharacter","colno","errorUrl","filename","errorMessage","promiseErrorHandler","outstandingPromiseErrors","shouldScheduleErrors","commandsRequested","applicationcommands","settingsET","hardwareButtonBackPressed","winRTBackPressedEvent","backClickET","requestingFocusOnKeyboardInput","beforeRequestingFocusOnKeyboardInputET","edgyStarting","edgyStartingET","edgyCompleted","edgyCompletedET","edgyCanceled","edgyCanceledET","getNavManager","manager","SystemNavigationManager","isModern","registered","wui","ApplicationSettings","SettingsPane","settingsPane","navManager","Phone","Input","HardwareButtons","EdgeGesture","edgy","readyET","requestingFocusOnKeyboardInputET","Symbol","iterator","TypeToSearch","_registered","updateRegistration","ls","_updateKeydownCaptureListeners","_keydownCaptureHandler","_shouldKeyTriggerTypeToSearch","_frameLoadCaptureHandler","childWin","frameElement","shouldTrigger","metaKey","ctrlKey","getModifierState","terminateAppHandler","activated","checkpoint","backclick","_winRTBackPressedEvent","beforerequestingfocusonkeyboardinput","onactivated","oncheckpoint","onloaded","onready","onsettings","onunload","onbackclick","_applicationListener","PageNavigationAnimation","turnstile","slide","enterPage","continuum","makeArray","NodeList","HTMLCollection","getUniqueKeyframeName","keyframeCounter","isUniqueKeyframeName","resolveStyles","opacity","copyWithEvaluation","iElem","newObj","exactTiming","_libraryDelay","stopExistingAction","prop","finish","activeActions","reason_interrupted","registerAction","unregisterAction","setTemporaryStyles","actions","desc","styleCache","styleCaches","StyleCache","cref","isTransition","some","nameField","newShorthand","newNames","shorthandProp","executeElementTransition","transitions","promises","animate","uniformizeStyle","transition","scriptNameOfProperty","hasOwnProperty","from","propertyScriptName","elementTransitionProperties","reason","onTransitionEnd","removeName","skipStylesReset","timeoutId","reason_canceled","duration","executeElementAnimation","anims","styleElem","anim","keyframe","browserStyleEquivalents","kf","sheet","insertRule","elementAnimationProperties","animationsToCleanUp","animationPromises","onAnimationEnd","cleanupAnimations","initAnimations","animationSettings","UISettings","animationsEnabled","applyAction","execAction","isAnimationEnabled","elems","adjustAnimationTime","animation","animationTimeAdjustment","animationAdjustment","animationFactor","prevStyles","prevNames","nameProp","destroy","every","nameValue","lastIndexOf","enableCount","libraryDelay","disableAnimations","enableAnimations","executeAnimation","executeTransition","_animationTimeAdjustment","_fastAnimations","_slowAnimations","_animationFactor","_Constants","_TransitionAnimation","checkKeyframe","defOffset","rtlflip","keyframeCallback","chooseKeyframe","keyframeRtl","collectOffsetArray","elemArray","offsetArray","matrix","transformNames","staggerDelay","initialDelay","extraDelay","delayFactor","delayCap","ret","makeOffsetsRelative","animTranslate2DTransform","animStaggeredSlide","curve","fadeIn","page","second","third","prepareSlide","endOffset","elementArray","startOffsetArray","endOffsetArray","horizontalOffset","OffsetArray","timing","translateCallback","animRotationTransform","origins","clearAnimRotationTransform","getOffset","translateCallbackAnimate","suffix","keyframeCallbackAnimate","layoutTransition","LayoutTransition","affected","extra","targetArray","affectedArray","collectTurnstileTransformOrigins","itemBoundingBox","offsetLeftLTR","offsetLeftRTL","innerWidth","totalOffsetY","innerHeight","ltr","writeAnimationProfilerMark","transformWithTransition","transitionProperty","didFinish","getResizeDefaultTransitions","defaultResizeGrowTransition","defaultResizeShrinkTransition","resizeTransition","elementClipper","defaultTransition","actualSize","anchorTrailingEdge","translate","dimension","clipperTransition","elementTransition","defaultOffset","ExpandAnimation","revealedArray","promise1","promise2","CollapseAnimation","hiddenArray","RepositionAnimation","AddToListAnimation","addedArray","DeleteFromListAnimation","deletedArray","remainingArray","_UpdateListAnimation","deleted","deletedOffsetArray","promise3","AddToSearchListAnimation","DeleteFromSearchListAnimation","PeekAnimation","createExpandAnimation","revealed","createCollapseAnimation","hidden","createRepositionAnimation","shown","fadeOut","createAddToListAnimation","added","createDeleteFromListAnimation","remaining","_createUpdateListAnimation","createAddToSearchListAnimation","createDeleteFromSearchListAnimation","showEdgeUI","mechanism","showPanel","hideEdgeUI","hidePanel","showPopup","hidePopup","pointerDown","pointerUp","dragSourceStart","dragSource","dragSourceEnd","enterContent","incoming","animationPromise","exitContent","outgoing","dragBetweenEnter","dragBetweenLeave","swipeSelect","selection","swipeDeselect","deselected","swipeReveal","exitPage","crossFade","createPeekAnimation","updateBadge","turnstileForwardIn","incomingElements","turnstileForwardOut","outgoingElements","turnstileBackwardIn","turnstileBackwardOut","slideDown","slideUp","slideRightIn","firstIncomingElements","secondIncomingElements","thirdIncomingElements","slideRightOut","firstOutgoingElements","secondOutgoingElements","thirdOutgoingElements","slideLeftIn","slideLeftOut","continuumForwardIn","incomingPage","incomingItemRoot","incomingItemContent","continuumForwardOut","outgoingPage","outgoingItem","continuumBackwardIn","incomingItem","continuumBackwardOut","drillInIncoming","drillInOutgoing","drillOutIncoming","drillOutOutgoing","createPageNavigationAnimations","currentPreferredAnimation","nextPreferredAnimation","movingBackwards","emptyAnimationFunction","exit","entrance","_resizeTransition","animationsToPlay","_commandingSurfaceOpenAnimation","actionAreaClipper","actionArea","overflowAreaClipper","overflowArea","closedHeight","oldHeight","openedHeight","newHeight","overflowAreaHeight","menuPositionedAbove","deltaHeight","actionAreaAnimations","transitionToUse","overflowAreaTransition","_commandingSurfaceCloseAnimation","overflowAreaClipperTransition","BindingInterpreter","res","BindingParser","invalidBinding","bindingInitializerNotFound","_BaseInterpreter","_evaluateInitializerName","initializer","_readBindDeclarations","bindings","_readBindDeclaration","dest","_readDestinationPropertyName","_readSourcePropertyName","destination","_readInitializerName","_bindingParser","_bindingParser2","SWEEP_PERIOD","cleanupToken","table","TIMEOUT","unscheduleCleanupIfNeeded","scheduleCleanupIfNeeded","noTimeoutUnderDebugger","setInterval","clearInterval","createWeakRef","getWeakRefElement","fastLoadPath","Foundation","Uri","_createWeakRef","_getWeakRefElement","_DOMWeakRefTable_noTimeoutUnderDebugger","_DOMWeakRefTable_sweepPeriod","_DOMWeakRefTable_timeout","_DOMWeakRefTable_tableSize","_DOMWeakRefTable_fastLoadPath","_DomWeakRefTable","exceptionFromBindingInitializer","propertyIsUndefined","unsupportedDataTypeForBinding","observableMixin","_pendingNotifications","_notifyId","_getObservable","hit","notify","oldValue","cap","unwrap","unbind","nl","dynamicObservableMixin","_backingData","_initObservable","getProperty","setProperty","updateProperty","addProperty","removeProperty","observable","bindingDescriptor","bindImpl","bindRefId","createBindRefId","createProxy","bindStateRef","bindState","cancelSimple","simpleLast","cancelComplex","complexLast","complexBind","Function","propChanged","recursiveNotify","ObservableProxy","expandProperties","shape","addToProps","getPrototypeOf","backingData","_BindingParser","_Data","registerAutoDispose","bindable","_autoDispose","autoDispose","checkBindingToken","bindingId","winBindingToken","duplicateBindingDetected","setBindingToken","bindingToken","uid","initializerOneBinding","ref","pend","cacheEntry","nocache","makeBinding","bindResult","resolveWeakRef","elementNotFound","bindingAction","nestedSet","bindWorker","sourceOneBinding","filterIdBinding","declBind","bindingStr","bindIndex","idBindingNotSupported","calcBinding","bindingCache","declBindCache","expressions","declarativeBindImpl","dataContext","defaultInitializer","neg","baseElement","baseElementData","winBindings","declarativeBind","implemented","bindLen","optimizeBindingReferences","elementData","bindIndex2","bindLen2","bind2","cancel2","errorInitializingBindings","converter","convert","userConverter","sourceProperties","destProperties","initialValue","workerResult","propertyDoesNotExist","Node","nestedDOMElementBindingNotSupported","cannotBindToThis","creatingNewProperty","attributeSet","attributeBindingSingleProperty","counter","setAttributeOneTime","addClassOneTime","defaultBind","defaultBindImpl","oneTime","customInitializer","random","_Declarative","Fragments","_Dispose","_TemplateCompiler","disposeInstance","renderCompletePromise","bindTokens","binding","delayedBindingProcessing","targetSecurityCheck","multiline","formatRegEx","replacementIndex","indent","numberOfSpaces","multilineStringToBeIndented","line","statements","array","declarationList","identifierAccessExpression","match","identifierRegEx","literal","nullableFilteredIdentifierAccessExpression","initial","temporary","brackets","parens","assignment","newArray","N","expression","htmlEscape","createIdentifier","String","merge","mergeAll","len2","globalLookup","visit","pre","post","childKey","trimLinesRight","content","cancelBlocker","init_defaultBind","init_oneTime","init_setAttribute","init_setAttributeOneTime","init_addClassOneTime","promise_as","utilities_data","ui_processAll","binding_processAll","options_parser","binding_parser","identifierCharacterRegEx","semiColonOnlyLineRegEx","capitalRegEx","TreeCSE","compiler","accessExpression","tree","reference","createPathExpression","tail","defineInstance","lower","aggregatedName","childCount","deadNodeElimination","dead","definitions","nodes","definition","InstanceKind","variable","InstanceKindPrefixes","StaticKind","StaticKindPrefixes","BindingKind","TextBindingKind","booleanAttribute","inlineStyle","IMPORTS_ARG_NAME","Stage","analyze","optimze","compile","link","TemplateCompiler","_stage","_staticVariables","_staticVariablesCount","_instanceVariables","_instanceVariablesCount","_debugBreak","debugBreakOnRender","_defaultInitializer","_optimizeTextBindings","disableTextBindingOptimization","_templateElement","_templateContent","_extractChild","extractChild","_controls","_bindings","_bindTokens","_textBindingPrefix","_textBindingId","_suffix","_htmlProcessors","_profilerMarkIdentifier","_captureCSE","generateElementCaptureAccess","_dataCSE","generateNormalAccess","importFunctionSafe","_globalCSE","childElementCount","lastElementChild","addClassOneTimeTextBinding","createTextBindingHole","elementCapture","textBindingId","formatCode","addClassOneTimeTreeBinding","pathExpression","bindingExpression","gatherControls","gatherBindings","_children","gatherChildren","cleanControlAndBindingAttributes","createAsyncParts","nullableIdentifierAccessTemporary","html","_html","_capture","bodyTemplate","replacements","supportDelayBindings","_returnedElement","binding_processing","delayed_binding_processing","control_processing","constructionFormatString","construction","SafeConstructor","generateOptionsLiteral","optionsParsed","delayedControlProcessing","templateDefaultInitializer","all_binding_processing","nestedTemplates","_nestedTemplates","nestedTemplate","bindToken","delayable","instances","instanceDefinitions","captures","globals","set_msParentSelectorScope","formatCodeN","statement","renderItemImplRenderCompleteTemplate","profilerMarkIdentifierStart","profilerMarkIdentifierStop","instance_variable_declarations","global_definitions","data_definitions","instance_variable_definitions","capture_definitions","debug_break","generateDebugBreak","control_counter","_controlCounter","suffix_statements","returnedElement","prettify","_textBindingRegex","deadCodeElimination","iv","variableCount","defineStatic","known","emitScopedSelect","emitOptionsNode","findGlobalIdentifierExpressions","bindingText","elementBindings","initializerName","importFunction","nestedTemplateCount","bindTokenCount","asyncCount","ControlConstructor","optionsText","globalReferences","identifierExpression","globalExpression","importAll","importAllSafe","statics","linkerCodeTemplate","static_variable_declarations","static_variable_definitions","markBindingAsError","oneTimeTextBinding","oneTimeTextBindingAnalyze","getter","msReplaceStyle","elementType","targetProperty","targetCssProperty","supported","oneTimeTreeBinding","targetPath","sourcePath","optimize","newBinding","setAttributeOneTimeTreeBinding","textBindings","setAttributeOneTimeTextBinding","newHtml","replacer","lines","_TreeCSE","importAliases","codeTemplate","delayBindings","renderImplCodeAsyncTemplate","renderImplCodeTemplate","renderItemImplCodeAsyncTemplate","renderItemImplCodeTemplate","renderImplMainCodePrefixTemplate","renderImplControlAndBindingProcessing","renderImplAsyncControlAndBindingProcessing","renderImplMainCodeSuffixTemplate","renderItemImplMainCodeSuffixTemplate","_DataTemplateCompiler","Template","interpretedRender","extractedChild","_counter","_debugBreakOnRender","nextElementSibling","processTimeout","renderItem","recycled","_renderItemImpl","enableRecycling","bindingInitializer","disableOptimizedProcessing","_compile","_shouldCompile","shouldCompile","_interpretAll","_bindingInitializer","_reset","_disableOptimizedProcessing","_processTimeout","_renderImpl","_compileTemplate","_renderInterpreted","msOriginalTemplate","okToReuse","resetOnFragmentChange","DesignMode","designModeEnabled","mo","childList","characterData","subtree","_UI","_BindingListDataSource","findNextKey","getItem","findPreviousKey","listBinding","WrappedItem","NullWrappedItem","wrapAsync","AsyncWrappedItem","cloneWithIndex","_annotateWithIndex","insertAtStart","_list","itemFromIndex","nextKey","indexOfKey","insertAfter","previousKey","insertAtEnd","change","newData","setAt","moveToStart","sourceIndex","move","moveBefore","moveAfter","moveToEnd","_release","_addRef","_item","ListBinding","notificationHandler","_editsCount","_notificationHandler","_retained","_retainedKeys","fallbackReference","handleEvent","eventArg","lb","_handlers","itemchanged","iteminserted","itemmoved","itemremoved","_itemchanged","_updateAffectedRange","_retainedCount","_beginEdits","_endEdits","_iteminserted","retained","_shouldNotify","_itemmoved","_itemremoved","retainedKeys","wasRetained","newStart","newEnd","_notifyAffectedRange","_notifyCountChanged","_countAtBeginEdits","_notifyIndicesChanged","_notifyMoved","explicit","_fromIndex","_releaseBinding","fromKey","getItemFromKey","DataSource","_usingWeakRef","getCount","itemFromKey","beginEdits","_forEachBinding","endEdits","toBeDeleted","copyargs","cloneItem","groupKey","groupSize","firstItemKey","firstItemIndexHint","asNumber","mergeSort","sorter","copyBack","middle","sparseArrayNotSupported","illegalListLength","emptyOptions","ns","ListBase","onitemchanged","oniteminserted","onitemmoved","onitemmutated","onitemremoved","onreload","_notifyItemChanged","_notifyItemInserted","_lastNotifyLength","_notifyItemMoved","_notifyItemMutated","itemmutated","_notifyItemRemoved","_notifyReload","_normalizeIndex","_notifyMutatedFromKey","notifyReload","getAt","_getArray","_getFromKey","_getKey","begin","searchElement","reduceRight","createFiltered","predicate","FilteredListProjection","createGrouped","groupData","groupSorter","GroupedSortedListProjection","createSorted","SortedListProjection","ListBaseWithMutators","ListProjection","_myListeners","_addListListener","List","_listReload","howMany","_spliceFromKey","_setAtKey","_listItemChanged","_listItemInserted","_listItemMutated","_listItemMoved","_listItemRemoved","_filter","_initFilteredKeys","_filteredKeys","_findInsertionPosition","filteredKeys","filteredIndex","oldInFilter","newInFilter","oldFilteredIndex","newFilteredIndex","notifyMutated","keysToRemove","filteredKeyIndex","sortFunction","_sortFunction","_initSortedKeys","_sortedKeys","_findInsertionPos","startingMin","startingMax","sortedKeys","mid","sortedKey","sortedItem","_findStableInsertionPos","_findBeginningOfGroup","_findEndOfGroup","sortedIndex","knownMin","knownMax","oldSortedIndex","newSortedIndex","sortedKeyIndex","groupKeyOf","groupDataOf","_listGroupedItemChanged","_listGroupedItemInserted","_listGroupedItemMoved","_listGroupedItemMutated","_listGroupedItemRemoved","_groupKeyOf","_groupDataOf","_initGroupedItems","_groupedItems","groupedItems","_groupsProjection","oldGroupedItem","newGroupedItem","groupMin","groupMax","groupItem","_groupItems","groupedItem","groups","GroupsListProjection","_initGroupKeysAndItems","_groupOf","_groupKeys","groupCount","groupItems","groupKeys","currentGroupKey","currentGroupItem","newGroupItem","groupIndex","oldGroupItem","newFirstItem","_currentKey","_keys","_keyMap","_proxy","proxy","_binding","_data","keyDataMap","_initializeKeys","_modifyingData","keyMap","_lazyPopulateEntry","_assignKey","oldEntry","newEntry","additionalItem","newKey","rootElementNode","decls","setMembers","setAttributes","descriptor","notFound","uri","selfhost","Pages_define","parentedPromise","_disposed","msSourceLocation","renderCalled","loadResult","initResult","elementReady","processed","callComplete","_mixin","viewMap","_BasePage","Page","ctor","_viewMap","Pages","HtmlControl","_require","_define","module"],"mappings":";CAEC,WAEG,GAAIA,cACkB,mBAAXC,QAAyBA,OAChB,mBAATC,MAAuBA,KACZ,mBAAXC,QAAyBA,WAEnC,SAAUC,GACe,kBAAXC,SAAyBA,OAAOC,IAEvCD,UAAWD,IAEXJ,aAAaO,qBAAuBA,oBAAoB,mDACjC,gBAAZC,UAAoD,gBAArBA,SAAQC,SAE9CL,IAGAA,EAAQJ,aAAaU,OAEzBV,aAAaO,qBAAuBA,oBAAoB,oDAE9D,SAAUG,OAIhB,GAAIC,SACAN,MA6q0BI,OA1q0BR,YACI,YAuBA,SAASO,GAAUC,EAAIC,GACnBD,EAAKA,GAAM,EACX,IAAIE,GAASF,EAAGG,MAAM,IAEtB,OADAD,GAAOE,MACAH,EAAaI,IAAI,SAAUC,GAC9B,GAAe,MAAXA,EAAI,GAAY,CAChB,GAAIC,GAAQD,EAAIH,MAAM,KAClBK,EAAUN,EAAOO,MAAM,EAQ3B,OAPAF,GAAMG,QAAQ,SAAUC,GACP,OAATA,EACAH,EAAQJ,MACQ,MAATO,GACPH,EAAQ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AQ,SAAUzf,EAAS/S,EAASguF,GAqBhC,MAHKj+G,MAAK29G,UACN36E,EAAQyI,YAAYwyE,GAEjBj7E,GAkGfnjC,GAAMd,UAAUI,cAAc3F,EAAS,kBACnCH,OAAQukH,EACRvgH,IAAKA,EACL87B,QAASA,EACTspB,OAAQA,EACRk8D,SAAUH,EAAUD,aAK5BllH,OAAO,8BACH,UACA,kBACA,gBACA,YACG,SAAyBG,EAAS+B,EAASsE,EAAO++G,GACrD,YAGKrjH,GAAQkqB,UAIb5lB,EAAMd,UAAUI,cAAc3F,EAAS,YAYnCqlH,YAAah/G,EAAMD,MAAMvG,OAAO,SAA0B2pC,EAAS/S,EAAS1C,GAaxEqxF,EAAMn8D,OAAOxyB,EAAQytF,IAAK16E,EAAS/S,GAC/BlJ,KAAKwG,EAAU,WAAcA,YAK7Cl0B,OAAO,QACH,oBACA,aACA,gBACA,gBACA,kBACA,kBACA,gBACA,kBACA,oBACA,mBACA,mBACA,gBACA,wBACA,oBACA,YACA,cACA,yBACA,8BACG,SAAU6C,GACb,YAOA,OALAA,GAAO6C,UAAU1F,OAAO,mBACpBylH,SAAUnlH,QACVolH,QAAS1lH,SAGN6C,IAGHvC,SAAS,oBAAqB,QAAS,SAAUuC,GAE7ClD,aAAaU,MAAQwC,EACC,mBAAX8iH,UAEPA,OAAOxlH,QAAU0C,KAGlBlD,aAAaU","file":"base.min.js"} \ No newline at end of file diff --git a/js/en-US/ui.strings.js b/js/en-US/ui.strings.js index 8505c4b..3c549c4 100644 --- a/js/en-US/ui.strings.js +++ b/js/en-US/ui.strings.js @@ -1,6 +1,6 @@ /*! Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. - Build: 4.4.0.winjs.2015.10.2 + Build: 4.4.2.winjs.2017.3.14 Version: WinJS.4.4 */ @@ -451,6 +451,10 @@ "_ui/appBarIcons/fontsize.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/cellphone": "\uE1C9", // group:Communications "_ui/appBarIcons/cellphone.comment": "{Locked=qps-ploc,qps-plocm}", + "ui/appBarIcons/print": "\uE749", // group:Communications + "_ui/appBarIcons/print.comment": "{Locked=qps-ploc,qps-plocm}", + "ui/appBarIcons/share": "\uE72D", // group:Communications + "_ui/appBarIcons/share.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/reshare": "\uE1CA", // group:Communications "_ui/appBarIcons/reshare.comment": "{Locked=qps-ploc,qps-plocm}", "ui/appBarIcons/tag": "\uE1CB", // group:Data diff --git a/js/ui.js b/js/ui.js index 8561160..a24fb82 100644 --- a/js/ui.js +++ b/js/ui.js @@ -12,7 +12,7 @@ // amd define(["./base"], factory); } else { - globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.0.winjs.2015.10.2 ui.js,StartTM'); + globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.2.winjs.2017.3.14 ui.js,StartTM'); if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { // CommonJS factory(require("./base")); @@ -20,7 +20,7 @@ // No module system factory(globalObject.WinJS); } - globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.0.winjs.2015.10.2 ui.js,StopTM'); + globalObject.msWriteProfilerMark && msWriteProfilerMark('WinJS.4.4 4.4.2.winjs.2017.3.14 ui.js,StopTM'); } }(function (WinJS) { @@ -7566,6 +7566,7 @@ define('WinJS/Vui',["require", "exports", "./Core/_Global", "./Utilities/_Elemen } }); +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. define('WinJS/_Accents',["require", "exports", "./Core/_Global", "./Core/_WinRT", "./Core/_Base", "./Core/_BaseUtils", './Utilities/_ElementUtilities'], function (require, exports, _Global, _WinRT, _Base, _BaseUtils, _ElementUtilities) { var Constants = { accentStyleId: "WinJSAccentsStyle", @@ -20999,6 +21000,9 @@ define('WinJS/Controls/ListView',[ _forceLayoutImpl: function ListView_forceLayoutImpl(viewChange) { var that = this; + if (!this._versionManager) { + return; + } this._versionManager.unlocked.then(function () { that._writeProfilerMark("_forceLayoutImpl viewChange(" + viewChange + "),info"); @@ -21492,7 +21496,7 @@ define('WinJS/Controls/ListView',[ modeHandler("PointerUp"), modeHandler("LostPointerCapture"), modeHandler("MSHoldVisual", true), - modeHandler("PointerCancel", true), + modeHandler("PointerCancel"), modeHandler("DragStart"), modeHandler("DragOver"), modeHandler("DragEnter"), @@ -24770,25 +24774,34 @@ define('WinJS/Controls/FlipView/_PageManager',[ return; } - while (this._currentPage.element && this._getItemStart(this._currentPage) > newPos && this._currentPage.prev.element) { + var movedPages = false; + + while (this._currentPage.element && this._currentPage.prev && this._currentPage.prev.element && newPos <= this._getItemStart(this._currentPage.prev)) { this._currentPage = this._currentPage.prev; this._fetchOnePrevious(bufferEnd.prev); bufferEnd = bufferEnd.prev; + movedPages = true; } - while (this._currentPage.element && this._itemEnd(this._currentPage) <= newPos && this._currentPage.next.element) { + while (this._currentPage.element && this._currentPage.next && this._currentPage.next.element && newPos >= this._getItemStart(this._currentPage.next)) { this._currentPage = this._currentPage.next; this._fetchOneNext(bufferEnd.next); bufferEnd = bufferEnd.next; + movedPages = true; } + this._setButtonStates(); this._checkElementVisibility(false); this._blockTabs = true; this._lastScrollPos = newPos; + if (this._currentPage.element) { this._tabManager.childFocus = this._currentPage.element; } - this._setListEnds(); + + if (movedPages) { + this._ensureCentered(true); + } if (!this._manipulationState && this._viewportOnItemStart()) { // Setup a timeout to invoke _itemSettledOn in cases where the scroll position is changed, and the control @@ -29283,12 +29296,14 @@ define('WinJS/Controls/DatePicker',[ } else { newDate = value; } - - var oldDate = this._currentDate; - if (oldDate !== newDate) { - this._currentDate = newDate; - this._updateDisplay(); + if (newDate) { + var oldDate = this._currentDate; + if (oldDate !== newDate) { + this._currentDate = newDate; + this._updateDisplay(); + } } + } }, @@ -35502,14 +35517,14 @@ define('WinJS/Controls/Pivot/_Pivot',["require", "exports", "../../Core/_Global" else { this._surfaceElement.appendChild(item.element); } + this._headersState.render(); + this._headersState.refreshHeadersState(true); if (index <= this.selectedIndex) { this._selectedIndex++; } if (this._items.length === 1) { this.selectedIndex = 0; } - this._headersState.render(); - this._headersState.refreshHeadersState(true); }; Pivot.prototype._handleItemMoved = function (ev) { // Move is triggered by binding list move() API. @@ -38029,7 +38044,7 @@ define('WinJS/_LightDismissService',["require", "exports", './Application', './C // Call WinJS.UI._LightDismissService._setDebug(true) // This disables the "window blur" light dismiss cue. It enables you to move focus // to the debugger or DOM explorer without causing the light dismissables to close. - // + // // Example usage of _LightDismissService // To implement a new light dismissable, you just need to: // - Tell the service when you are shown @@ -38042,25 +38057,25 @@ define('WinJS/_LightDismissService',["require", "exports", './Application', './C // Here's what a basic light dismissable looks like in code: // // var SimpleOverlay = _Base.Class.define(function (element) { - // var that = this; - // this.element = element || document.createElement("div"); - // this.element.winControl = this; + // var that = this; + // this.element = element || document.createElement("div"); + // this.element.winControl = this; // _ElementUtilities.addClass(this.element, "simpleoverlay"); // - // this._dismissable = new _LightDismissService.LightDismissableElement({ + // this._dismissable = new _LightDismissService.LightDismissableElement({ // element: this.element, // tabIndex: this.element.hasAttribute("tabIndex") ? this.element.tabIndex : -1, - // onLightDismiss: function () { - // that.hide(); - // } - // }); + // onLightDismiss: function () { + // that.hide(); + // } + // }); // }, { // show: function () { - // _ElementUtilities.addClass(this.element, "simpleoverlay-shown"); + // _ElementUtilities.addClass(this.element, "simpleoverlay-shown"); // _LightDismissService.shown(this._dismissable); // }, // hide: function () { - // _ElementUtilities.removeClass(this.element, "simpleoverlay-shown"); + // _ElementUtilities.removeClass(this.element, "simpleoverlay-shown"); // _LightDismissService.hidden(this._dismissable); // } // }); @@ -38421,12 +38436,12 @@ define('WinJS/_LightDismissService',["require", "exports", './Application', './C var zIndexGap = 0; var lastUsedZIndex = baseZIndex + 1; this._clients.forEach(function (c, i) { - var currentZIndex = lastUsedZIndex + zIndexGap; + var currentZIndex = parseInt(lastUsedZIndex.toString()) + parseInt(zIndexGap.toString()); c.setZIndex("" + currentZIndex); lastUsedZIndex = currentZIndex; // count + 1 so that there's an unused zIndex between each pair of // dismissables that can be used by the click eater. - zIndexGap = c.getZIndexCount() + 1; + zIndexGap = parseInt(c.getZIndexCount().toString()) + 1; }); if (serviceActive) { this._clickEaterEl.style.zIndex = "" + (lastUsedZIndex - 1); @@ -40066,6 +40081,81 @@ define('WinJS/Controls/Flyout',[ ], function flyoutInit(exports, _Global, _Base, _BaseUtils, _ErrorFromName, _Events, _Log, _Resources, _WriteProfilerMark, Animations, _Signal, _LightDismissService, _Dispose, _ElementUtilities, _KeyboardBehavior, _Hoverable, _Constants, _Overlay) { "use strict"; + // Implementation details: + // + // The WinJS Flyout is a low policy control for popup ui and can host any arbitrary HTML that an app would like to display. Flyout derives from the private WinJS + // _Overlay class, and relies on _Overlay to create the hide and show animations as well as fire all beforeshow, aftershow, beforehide, afterhide. Flyout also has a + // child class, WinJS Menu, which is a high policy control for popup ui and has many more restrictions on the content it can host. + // + // All of the following information pertains to both Flyouts and Menus, but for simplicity only the term flyout is used. Notes on Menu specific implementation details are + // covered separately in the Menu class. + // + // The responsibilities of the WinJS Flyout include: + // + // - On screen positioning: + // - A showing Flyout can be positioned in one of two ways + // - Relative to another element, as specified by the flyout "anchor", "placement", and "alignment" properties and the flyout.show() method + // - At a location specified by a mouse event, as specified in the parameters to the flyout.showAt(MouseEvent) method. + // - A shown Flyout always wants to stay within bounds of the visual viewport in the users App. In IE11, Edge, Win 8.1 apps and Win 10 apps, the Flyout uses CSS + // position: -ms-device-fixed; which will cause its top, left, bottom & right CSS properties be styled in relation to the visual viewport. + // - In other browsers -ms-device-fixed positioning doesn't exist and the Flyout falls back to CSS position: fixed; which will cause its top, left, bottom & right + // CSS properties be styled in relation to the layout viewport. + // - See http://quirksmode.org/mobile/viewports2.html for more details on the difference between layout viewport and visual viewport. + // - Being able to position the Flyout relative to the visual viewport is particularly important in windows 8.1 apps and Windows 10 apps (as opposed to the web), + // because the Flyout is also concerned with getting out of the way of the Windows IHM (virtual keyboard). When the IHM starts to show or hide, the Flyout reacts to + // a WinRT event, if the IHM would occlude part of a Flyout, the Flyout will move itself up and out of the way, normally pinning its bottom edge to the top edge of + // the IHM. + // - Computing this is quite tricky as the IHM is a system pane and not actually in the DOM. Flyout uses the private _KeyboardInfo component to help calculate the top + // and bottom coordinates of the "visible document" which is essentially the top and bottom of the visual viewport minus any IHM occlusion. + // - The Flyout is not optimized for scenarios involving optical zoom. How and where the Flyout is affected when an optical zoom (pinch zoom) occurs will vary based on + // the type of positioning being used for the environment. + // + // - Rendering + // - By default the flyout has a minimum height and minmium width defined in CSS, but no maximums, instead preferring to allow its element to grow to the size of its + // content. + // - If a showing Flyout would be taller than the height of the "visible document" the flyout's show logic will temporarily constrain the max-height of the flyout + // element to fit tightly within the upper and lower bounds of the "visible document", for as long as the flyout remains shown. While in this state the Flyout will + // acquire a vertical scrollbar. + // + // - Cascading Behavior: + // - Starting in WinJS 4, flyouts, can be cascaded. Previous versions of WinJS did not allow more than one instance of a flyout to be shown at the same time. + // Attempting to do so would first cause any other shown flyout to hide. + // - Now any flyout can be shown as part of a cascade of other flyouts, allowing any other ancestor flyouts in the same cascade can remain open. + // - The Flyout class relies on a private singleton _CascadeManager component to manage all flyouts in the current cascade. Here are some important implementation + // details for _CascadeManager: + // - The cascade is represented as a stack data structure and should only ever contain flyouts that are shown. + // - If only one flyout is shown, it is considered to be in a cascade of length 1. + // - A flyout "A" is considered to have an ancestor in the current cascade if flyout A's "anchor" property points to any element contained by ANY of the flyouts + // in the current cascade, including the flyout elements themselves. + // - Any time a flyout "A" transitions from hidden to shown, it is always added to the top of the stack. + // - Only one cascade of flyouts can be shown at a time. If flyout "A" is about to be shown, and has no ancestors in the current cascade, all flyouts in the + // current cascade must first be hidden and popped from the stack, then flyout "A" may be shown and pushed into the stack as the head flyout in a new cascade. + // - If flyout "A" had an ancestor flyout in the cascade, flyout "A" will be put into the stack directly above its ancestor. + // - If in the above scenario, the ancestor flyout already had other descendant flyouts on top of it in the stack, before flyout "A" can finish showing, all of + // those flyouts are first popped off the stack and hidden, then flyout "A" is pushed into the stack directly above its ancestor. + // - Any time a flyout "A" is hidden, it is removed from the stack and no longer in the cascade. If that flyout also had any descendant flyouts in the cascade, + // they are all hidden and removed from the stack as well. Any of flyout A's ancestor flyouts that were already in the cascade will remain there. + // + // - Light Dismiss + // - Cascades of flyouts are light dismissible, but an individual flyout is not. + // - The WinJS Flyout implements a private LightDismissableLayer component to track focus and interpret light dismiss cues for all flyouts in the cascade. + // The LightDismissableLayer is stored as a property on the _CascadeManager + // - Normally when a lightdismissable control loses focus, it would trigger light dismiss, but that is not always the desired scenario for flyouts in the cascade. + // - When focus moves from any Flyout in the cascade, to an element outside of the cascade, all flyouts in the cascade should light dismiss. + // - When focus moves from an ancestor flyout "A" in the cascade, to descendant flyout "B" also in the cascade, no flyouts should light dismiss. A common + // scenario for this is when flyout B first shows itself, since flyouts always take focus immediately after showing. + // - When flyout "A" receives focus, all of A's descendant flyouts in the cascade should light dismiss. A common scenario for this is when a user clicks on an + // ancestor flyout in the cascade, all descendant flyouts will close. WinJS Menu implements one exception to this rule where sometimes the immediate + // descendant of the ancestor flyout would be allowed to remain open. + // - The LightDismissibleLayer helps WinJS _LightDismissService dynamically manage the z-indices of all flyouts in the cascade. Flyouts as light dismissable + // overlays are subject to the same stacking context pitfalls as any other light dismissible overlay: + // https://github.com/winjs/winjs/wiki/Dismissables-and-Stacking-Contexts and therefore every flyout should always be defined as a direct child of the + // element. + // - Debugging Tip: Light dismiss can make debugging shown flyouts tricky. A good idea is to temporarily suspend the light dismiss cue that triggers when clicking + // outside of the current window. This can be achieved by executing the following code in the JavaScript console window: + // "WinJS.UI._LightDismissService._setDebug(true)" + + _Base.Namespace._moduleDefine(exports, "WinJS.UI", { /// /// @@ -40486,7 +40576,7 @@ define('WinJS/Controls/Flyout',[ // Horizontal auto or autohorizontal placement will be positioned to the left of the anchor if room, otherwise to the right. // - this is because right handed users would be more likely to obscure a flyout on the right of the anchor. // All three auto placements will add a vertical scrollbar if necessary. - // + // var anchorBorderBox; @@ -40523,9 +40613,9 @@ define('WinJS/Controls/Flyout',[ // If the anchor is centered vertically, would the flyout fit above it? function fitsVerticallyWithCenteredAnchor(anchorBorderBox, flyoutMeasurements) { - // Returns true if the flyout would always fit at least top - // or bottom of its anchor, regardless of the position of the anchor, - // as long as the anchor never changed its height, nor did the height of + // Returns true if the flyout would always fit at least top + // or bottom of its anchor, regardless of the position of the anchor, + // as long as the anchor never changed its height, nor did the height of // the visualViewport change. return ((_Overlay._Overlay._keyboardInfo._visibleDocHeight - anchorBorderBox.height) / 2) >= flyoutMeasurements.totalHeight; } @@ -40682,7 +40772,7 @@ define('WinJS/Controls/Flyout',[ // When there is enough room to align a subMenu to either the top or the bottom of its // anchor element, the subMenu prefers to be top aligned. // FALLBACK: - // When there is enough room to bottom align a subMenu but not enough room to top align it, + // When there is enough room to bottom align a subMenu but not enough room to top align it, // then the subMenu will align to the bottom of its anchor element. // LASTRESORT: // When there is not enough room to top align or bottom align the subMenu to its anchor, @@ -40691,10 +40781,10 @@ define('WinJS/Controls/Flyout',[ centerVertically(anchorBorderBox, flyoutMeasurements); } - // Cascading Menus should overlap their ancestor menu horizontally by 4 pixels and we have a - // unit test to verify that behavior. Because we don't have access to the ancestor flyout we - // need to specify the overlap in terms of our anchor element. There is a 1px border around - // the menu that contains our anchor we need to overlap our anchor by 3px to ensure that we + // Cascading Menus should overlap their ancestor menu horizontally by 4 pixels and we have a + // unit test to verify that behavior. Because we don't have access to the ancestor flyout we + // need to specify the overlap in terms of our anchor element. There is a 1px border around + // the menu that contains our anchor we need to overlap our anchor by 3px to ensure that we // overlap the containing Menu by 4px. var horizontalOverlap = 3; @@ -41035,7 +41125,7 @@ define('WinJS/Controls/Flyout',[ /// Shows the Flyout, if hidden, at the specified (x,y) coordinates. /// /// - /// An Object specifying the (X,Y) position to render the top left corner of the Flyout. commands to show. + /// An Object specifying the (X,Y) position to render the top left corner of the Flyout. commands to show. /// The coordinates object may be a MouseEventObj, or an Object in the shape of {x:number, y:number}. /// /// @@ -41080,13 +41170,13 @@ define('WinJS/Controls/Flyout',[ return; } - // If we're animating (eg baseShow is going to fail), or the cascadeManager is in the middle of + // If we're animating (eg baseShow is going to fail), or the cascadeManager is in the middle of // updating the cascade, then don't mess up our current state. - // Add this flyout to the correct position in the cascadingStack, first collapsing flyouts + // Add this flyout to the correct position in the cascadingStack, first collapsing flyouts // in the current stack that are not anchored ancestors to this flyout. Flyout._cascadeManager.appendFlyout(this); - // If we're animating (eg baseShow is going to fail), or the cascadeManager is in the + // If we're animating (eg baseShow is going to fail), or the cascadeManager is in the // middle of updating the cascade, then we have to try again later. if (this._element.winAnimating) { // Queue us up to wait for the current animation to finish. @@ -41338,15 +41428,17 @@ define('WinJS/Controls/Flyout',[ return; } - // May need to adjust top by viewport offset - if (this._currentPosition.top < 0) { - // Need to attach to bottom - this._element.style.bottom = _Overlay._Overlay._keyboardInfo._visibleDocBottomOffset + "px"; - this._element.style.top = "auto"; - } else { - // Normal, attach to top - this._element.style.top = this._currentPosition.top + "px"; - this._element.style.bottom = "auto"; + if (typeof this._currentPosition !== 'undefined') { + // May need to adjust top by viewport offset + if (this._currentPosition.top < 0) { + // Need to attach to bottom + this._element.style.bottom = _Overlay._Overlay._keyboardInfo._visibleDocBottomOffset + "px"; + this._element.style.top = "auto"; + } else { + // Normal, attach to top + this._element.style.top = this._currentPosition.top + "px"; + this._element.style.bottom = "auto"; + } } }, @@ -41357,7 +41449,7 @@ define('WinJS/Controls/Flyout',[ } else { this._element.style.opacity = 1; this._element.style.visibility = "visible"; - return Animations.showPopup(this._element, this._currentPosition.animOffset); + return Animations.showPopup(this._element, (typeof this._currentPosition !== 'undefined') ? this._currentPosition.animOffset : 0); } }, @@ -41366,7 +41458,7 @@ define('WinJS/Controls/Flyout',[ return this._baseAnimateOut(); } else { this._element.style.opacity = 0; - return Animations.hidePopup(this._element, this._currentPosition.animOffset); + return Animations.hidePopup(this._element, (typeof this._currentPosition !== 'undefined') ? this._currentPosition.animOffset : 0); } }, @@ -41737,6 +41829,8 @@ define('WinJS/Controls/AppBar/_Icon',[ "fontincrease", "fontsize", "cellphone", + "print", + "share", "reshare", "tag", "repeatone", @@ -42027,9 +42121,6 @@ define('WinJS/Controls/AppBar/_Command',[ // Update aria-label this._element.setAttribute("aria-label", this.label); - - // Check if we need to suppress the tooltip - this._testIdenticalTooltip(); } }, @@ -42172,9 +42263,6 @@ define('WinJS/Controls/AppBar/_Command',[ if (this._tooltipControl) { this._tooltipControl.innerHTML = this._tooltip; } - - // Check if we need to suppress the tooltip - this._testIdenticalTooltip(); } }, @@ -42337,11 +42425,6 @@ define('WinJS/Controls/AppBar/_Command',[ } }, - // Private - _testIdenticalTooltip: function AppBarCommand_testIdenticalToolTip() { - this._hideIfFullSize = (this._label === this._tooltip); - }, - _createContent: function AppBarCommand_createContent() { // Make sure there's an element if (!this._element) { @@ -42416,12 +42499,6 @@ define('WinJS/Controls/AppBar/_Command',[ // Attach a tooltip - Note: we're going to stomp on it's setControl so we don't have to make another DOM element to hang it off of. // This private _tooltipControl attribute is used by other pieces, changing the name could break them. this._tooltipControl = new Tooltip.Tooltip(this._element); - var that = this; - this._tooltipControl.addEventListener("beforeopen", function () { - if (that._hideIfFullSize && !_Overlay._Overlay._getParentControlUsingClassName(that._element.parentElement, _Constants.reducedClass)) { - that._tooltipControl.close(); - } - }, false); }, _setSection: function AppBarCommand_setSection(section) { @@ -42568,8 +42645,9 @@ define('WinJS/Controls/Menu/_Command',[ '../../Utilities/_Control', '../../Utilities/_ElementUtilities', '../_LegacyAppBar/_Constants', - '../Flyout/_Overlay' -], function menuCommandInit(exports, _Global, _Base, _ErrorFromName, _Resources, Promise, _Control, _ElementUtilities, _Constants, _Overlay) { + '../Flyout/_Overlay', + '../Tooltip' +], function menuCommandInit(exports, _Global, _Base, _ErrorFromName, _Resources, Promise, _Control, _ElementUtilities, _Constants, _Overlay, Tooltip) { "use strict"; _Base.Namespace._moduleDefine(exports, "WinJS.UI", { @@ -42814,6 +42892,21 @@ define('WinJS/Controls/Menu/_Command',[ } }, + /// Gets or sets the tooltip text of the AppBarCommand. + tooltip: { + get: function () { + return this._tooltip; + }, + set: function (value) { + this._tooltip = value; + + // Update already-constructed tooltips. Separators and content commands won't have these: + if (this._tooltipControl) { + this._tooltipControl.innerHTML = this._tooltip; + } + } + }, + /// /// Gets or sets the selected state of a toggle button. This property is true if the toggle button is selected; otherwise, it's false. /// @@ -42914,6 +43007,10 @@ define('WinJS/Controls/Menu/_Command',[ return; } this._disposed = true; + + if (this._tooltipControl) { + this._tooltipControl.dispose(); + } }, addEventListener: function (type, listener, useCapture) { @@ -42988,6 +43085,9 @@ define('WinJS/Controls/Menu/_Command',[ this._labelSpan = this._toggleSpan.nextElementSibling; this._flyoutSpan = this._labelSpan.nextElementSibling; + // Attach a tooltip - Note: we're going to stomp on it's setControl so we don't have to make another DOM element to hang it off of. + // This private _tooltipControl attribute is used by other pieces, changing the name could break them. + this._tooltipControl = new Tooltip.Tooltip(this._element); }, _sendEvent: function MenuCommand_sendEvent(eventName, detail) { if (!this._disposed) { @@ -44769,6 +44869,7 @@ define('WinJS/Controls/CommandingSurface/_CommandingSurface',["require", "export type: (originalCommand.type === _Constants.typeContent ? _Constants.typeFlyout : originalCommand.type) || _Constants.typeButton, disabled: originalCommand.disabled, flyout: originalCommand.flyout, + tooltip: originalCommand.tooltip, beforeInvoke: function () { // Save the command that was selected _this._chosenCommand = (menuCommand["_originalICommand"]); @@ -44875,6 +44976,70 @@ define('require-style!less/styles-toolbar',[],function(){}); define('WinJS/Controls/ToolBar/_ToolBar',["require", "exports", "../../Core/_Base", "../ToolBar/_Constants", "../CommandingSurface", "../../Utilities/_Control", "../../Utilities/_Dispose", "../../Utilities/_ElementUtilities", "../../Core/_ErrorFromName", '../../Core/_Events', "../../Core/_Global", '../../_LightDismissService', "../../Core/_Resources", '../../Utilities/_OpenCloseMachine', "../../Core/_WriteProfilerMark"], function (require, exports, _Base, _Constants, _CommandingSurface, _Control, _Dispose, _ElementUtilities, _ErrorFromName, _Events, _Global, _LightDismissService, _Resources, _OpenCloseMachine, _WriteProfilerMark) { require(["require-style!less/styles-toolbar"]); "use strict"; + // The WinJS ToolBar is a specialized UI wrapper for the private _CommandingSurface UI component. The _CommandingSurface is responsible for rendering + // opened and closed states, knowing how to create the open and close animations, laying out commands, creating command hide/show animations and + // keyboard navigation across commands. The WinJS ToolBar is very similar to the WinJS AppBar, however the ToolBar is meant to be positioned in line + // with your app content whereas the AppBar is meant to overlay your app content. + // + // The responsibilities of the ToolBar include: + // + // - Seamlessly hosting the _CommandingSurface + // - From an end user perspective, there should be no visual distinction between where the ToolBar ends and the _CommandingSurface begins. + // - ToolBar wants to rely on the _CommandingSurface to do as much of the rendering as possible. The ToolBar relies on the _CommandingSurface to render its opened + // and closed states-- which defines the overall height of the ToolBar and CommandingSurface elements. The ToolBar has no policy or CSS styles regarding its own + // height and ToolBar takes advantage of the default behavior of its DIV element which is to always grow or shrink to match the height of its content. + // - From an end developer perspective, the _CommandingSurface should be abstracted as an implementation detail of the ToolBar as much as possible. + // - Developers should never have to interact with the CommandingSurface directly.The ToolBar exposes the majority of _CommandingSurface functionality through its + // own APIs + // - There are some HTML elements inside of the _CommandingSurface's DOM that a developer might like to style. After the _CommandingSurface has been instantiated + // and added to the ToolBar DOM, the ToolBar will inject its own "toolbar" specific class-names onto these elements to make them more discoverable to developers. + // - Example of developer styling guidelines https://msdn.microsoft.com/en-us/library/windows/apps/jj839733.asp + // + // - Open direction: + // - The ToolBar and its _CommandingSurface component can open upwards or downwards.Because there is no policy on where the ToolBar can be placed in an App, the ToolBar + // always wants to avoid opening in a direction that would cause any of its content to clip outside of the screen. + // - When the ToolBar is opening, it will always choose to expand in the direction(up or down) that currently has the most available space between the edge of the + // ToolBar element and the corresponding edge of the visual viewport. + // - This means that the a ToolBar near the bottom of the page will open upwards, but if the page is scrolled down such that the ToolBar is now near the top, the next + // time the ToolBar is opened it will open downwards. + // + // - Light dismiss + // - The ToolBar is a light dismissible when opened. This means that the ToolBar is closed thru a variety of cues such as tapping anywhere outside of it, + // pressing the escape key, and resizing the window.ToolBar relies on the _LightDismissService component for most of this functionality. + // The only pieces the ToolBar is responsible for are: + // - Describing what happens when a light dismiss is triggered on the ToolBar . + // - Describing how the ToolBar should take / restore focus when it becomes the topmost light dismissible in the light dismiss stack + // - Debugging Tip: Light dismiss can make debugging an opened ToolBar tricky.A good idea is to temporarily suspend the light dismiss cue that triggers when clicking + // outside of the current window.This can be achieved by executing the following code in the JavaScript console window: "WinJS.UI._LightDismissService._setDebug(true)" + // + // - Inline element when closed, overlay when opened: + // - The design of the toolbar called for it to be an control that developers can place inline with their other app content.When the ToolBar is closed it exists as a an + // element in your app, next to other app content and take up space in the flow of the document. + // - However, when the ToolBar opens, its vertical height will increase.Normally the change in height of an inline element will cause all of the other elements below the + // expanding element to move out of the way.Rather than push the rest of the app content down when opening, the design of the ToolBar called for it to overlay that content other content, while still taking up the same vertical space in the document as it did when closed. + // - The implementation of this feature is very complicated: + // - The only way one element can overlay another is to remove it from the flow of the document and give it a new CSS positioning like "absolute" or "fixed". + // - However, simply removing the ToolBar element from the document to make it an overlay, would leave behind a gap in the document that all the neighboring elements + // would try to fill by shifting over, leading to a jarring reflow of many elements whenever the ToolBar was opened.This was also undesirable + // - The final solution is as follows + // - Create a transparent placeholder element that is the exact same height and width as the closed ToolBar element. + // - Removing the ToolBar element from its place in the document while simultaneously inserting the placeholder element into the same spot the ToolBar element was + // just removed from. + // - Inserting the ToolBar element as a direct child of the body and giving it css position: fixed; + // We insert it directly into the body element because while opened, ToolBar is a Light dismissible overlay and is subject to the same stacking context pitfalls + // as any other light dismissible. https://github.com/winjs/winjs/wiki/Dismissables-and-Stacking-Contexts + // - Reposition the ToolBar element to be exactly overlaid on top of the placeholder element. + // - Render the ToolBar as opened, via the _CommandingSurface API, increasing the overall height of the ToolBar. + // - Closing the ToolBar is basically the same steps but in reverse. + // - One limitation to this implementation is that developers may not position the ToolBar element themselves directly via the CSS "position" or "float" properties. + // - This is because The ToolBar expects its element to be in the flow of the document when closed, and the placeholder element would not receive these same styles + // when inserted to replace the ToolBar element. + // - An easy workaround for developers is to wrap the ToolBar into another DIV element that they may style and position however they'd like. + // + // - Responding to the IHM: + // - If the ToolBar is opened when the IHM is shown, it will close itself.This is to avoid scenarios where the IHM totally occludes the opened ToolBar. If the ToolBar + // did not close itself, then the next mouse or touch input within the App wouldn't appear to do anything since it would just go to closing the light dismissible + // ToolBar anyway. var strings = { get ariaLabel() { return _Resources._getWinJSString("ui/toolbarAriaLabel").value; @@ -47429,6 +47594,31 @@ define('WinJS/Controls/Menu',[ ], function menuInit(exports, _Global, _Base, _BaseUtils, _ErrorFromName, _Resources, _WriteProfilerMark, Promise, _ElementUtilities, _Hoverable, _KeyboardBehavior, _Constants, Flyout, _Overlay, _Command) { "use strict"; + // Implementation details: + // + // WinJS Menu is a child class of WinJS Flyout. Unlike flyouts, menus have a lot of policy on the content they can contain. flyouts can host any arbitrary HTML content, + // but menus can only host WinJS MenuCommand objects. Menu relies on its flyout base class for on screen positioning, light dismiss, and cascading behavior. + // + // The responsibilities of the WinJS Menu include: + // - Rendering and Laying out commands: + // - MenuCommands are displayed in DOM order. + // - Menu will add and remove CSS classes on itself depending on whether or it contains any visible MenuCommands whose type property is set to either "toggle" or + // "flyout". + // - The presence or absence of these command types in a Menu will affect the total width of all commands in the Menu as well as the horizontal alignment of their + // labels. + // - Menu relies on logic defined in its _Overlay ancestor class to animate the hiding and showing of commands. + // - Menu spacing for last input type: + // - The vertical padding within MenuCommands in a Menu will vary based on the last input type. + // - When a menu is shown, it will check the last known input type, which is stored in the "inputType" property on the static Flyout._cascadeManager object. + // - If the inputType was "touch" the vertical padding in all commands in the menu will be increased to enable a more touch friendly UI. + // - If the input Type was "mouse" or "keyboard" the vertical padding in all commands in the menu will be decreased for space efficiency + // - Arrow key navigation between commands. + // - Menu listens to keydown events in order to redirect focus to the next/previous command whenever the Up and down arrows keys are pressed. + // - Mouse over event. + // - Menu all detects mouseover events and if a mouseover occurs over one of its commands, the menu moves focus to that command. + // - If a command has type === "flyout", and that command is hovered over for few hundred milliseconds, the Menu will invoke the "flyout" typed command, causing its + // sub flyout to show in the cascade. + _Base.Namespace._moduleDefine(exports, "WinJS.UI", { /// /// Represents a menu flyout for displaying commands. @@ -48116,6 +48306,60 @@ define('require-style!less/styles-autosuggestbox',[],function(){}); define('require-style!less/colors-autosuggestbox',[],function(){}); // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. + +// High Level +// - Displays a suggestions list below the input box +// - Simple suggestions +// - Suggestion results with icons +// - Separators +// - Maintains a history of previous search queries + +//Emphasis on Light-Weight +// The ASB is a very policy-light control that just displays a list of suggestions +// below the input box. It does NOT filter the suggestions based on the current input, +// or sorts the suggestions in any way. It is entirely up to the app developer what and +// what not to display in the suggestions list, given the current input query. + +// Anatomy +// ASB +// - Input box +// - Suggestion List wrapper div +// ? Repeater + +// Fake focus and keyboard navigation +// When the selection list with more than one item is displayed, the user can arrow up +// and down the list of suggestions which visually mimics focus movement, however, it +// is not. The focus is always maintained on the input box itself and the control +// programmatically maintains and styles the "current selected suggestion" indicating +// what is currently selected. + +//IME support +// The ASB has special IME support in IE/Edge, whenever the msInputContext function is +// available. The ASB will reposition the suggestion list to account for the space the +// IME takes up. + +//SearchBox +//History +// A bit of history first. The SearchBox control predates the ASB control, yet the +// SearchBox derives from the ASB implementation. The reason is that the SearchBox +// originally solved a very specific scenario, which is Windows 8 Search contract +// integration; both, the contract and the control have since been deprecated. Going +// forward, a new Search-like control was needed, which is the AutoSuggestBox and its +// specifications are identical to the SearchBox, minus the Search contract integration. +// So the creation of the ASB was mostly a deletion of code from the SearchBox. Finally, +// for compatibility's sake, the SearchBox control and all of its original API needed to +// still exist which is why the SearchBox control simply derives from the ASB and adding +// all the deleted stuff back on top. + +//Features +// - FocusOnKeyboardInput (Type-To-Search) +// This feature assumes that the SearchBox is a singleton (again, legacy reasons) and +// kidnaps every typed key. It first moves focus into the SearchBox, so the typed key +// appears in the SearchBox. +// - Buddy Icon (The magnifier button next to the input) +// The SearchBox has a magnifier button next to the input that, when clicked, is +// equivalent to clicking on a suggestion or hitting the enter key. + define('WinJS/Controls/AutoSuggestBox',[ "exports", "../Core/_Global", @@ -55059,6 +55303,91 @@ define('require-style!less/styles-appbar',[],function(){}); define('WinJS/Controls/AppBar/_AppBar',["require", "exports", "../../Core/_Base", "../AppBar/_Constants", "../CommandingSurface", "../../Utilities/_Control", "../../Utilities/_Dispose", "../../Utilities/_ElementUtilities", "../../Core/_ErrorFromName", '../../Core/_Events', "../../Core/_Global", '../../Utilities/_KeyboardInfo', '../../_LightDismissService', '../../Promise', "../../Core/_Resources", '../../Utilities/_OpenCloseMachine', "../../Core/_WriteProfilerMark"], function (require, exports, _Base, _Constants, _CommandingSurface, _Control, _Dispose, _ElementUtilities, _ErrorFromName, _Events, _Global, _KeyboardInfo, _LightDismissService, Promise, _Resources, _OpenCloseMachine, _WriteProfilerMark) { require(["require-style!less/styles-appbar"]); "use strict"; + // Implementation Details: + // + // The WinJS AppBar is a specialized UI wrapper for the private _CommandingSurface UI component. // The AppBar relies on the _CommandingSurface for rendering + // opened and closed states, knowing how to create the open and close animations, laying out commands, creating command hide/show animations and keyboard + // navigation across commands. See the _CommandingSurface implementation details for more information on how that component operates. + // + // The responsibilities of the AppBar include: + // + // - Hosting the _CommandingSurface + // - From an end user perspective, there should be no visual distinction between where the AppBar ends and the _CommandingSurface begins. + // - AppBar wants to rely on the _CommandingSurface to do as much of the rendering as possible.The AppBar relies on the _CommandingSurface to render its opened and + // closed states -- which defines the overall height of the AppBar and CommandingSurface elements. The AppBar has no policy or CSS styles regarding its own height + // and instead takes advantage of the default behavior of its DIV element which is to always grow or shrink to match the height of its content. + // - From an end developer perspective, the _CommandingSurface should be abstracted as an implementation detail of the AppBar as much as possible. + // - Developers should never have to interact with the CommandingSurface directly.The AppBar exposes the majority of _CommandingSurface functionality through its own APIs + // - There are some HTML elements inside of the _CommandingSurface's DOM that a developer might like to style. After the _CommandingSurface has been instantiated and + // added to the AppBar DOM, the AppBar will inject its own "appbar" specific class-names onto these elements to make them more discoverable to developers. + // - Example of developer styling guidelines https://msdn.microsoft.com/en-us/library/windows/apps/jj839733.aspx + // + // - Light dismiss + // - The AppBar is a light dismissable when opened.This means that the AppBar is closed thru a variety of cues such as tapping anywhere outside of it, pressing the escape + // key, and resizing the window.AppBar relies on the _LightDismissService component for most of this functionality.The only pieces the AppBar is responsible for are: + // - Describing what happens when a light dismiss is triggered on the AppBar. + // - Describing how the AppBar should take / restore focus when it becomes the topmost light dismissible in the light dismiss stack. + // - Debugging Tip: Light dismiss can make debugging an opened AppBar tricky.A good idea is to temporarily suspend the light dismiss cue that triggers when clicking + // outside of the current window.This can be achieved by executing the following code in the JavaScript console window: "WinJS.UI._LightDismissService._setDebug(true)" + // + // - Configuring a state machine for open / close state management: + // - The AppBar and CommandingSurface share a private _OpenCloseMachine component to manage their states.The contract is: + // - The AppBar Constructor is responsible for the instantiation and configuration of the _OpenCloseMachine. + // - AppBar constructor configures the _OpenCloseMachine to always fire events on the AppBar element directly. + // - AppBar constructor specifies the callbacks that the _OpenCloseMachine should use to setup and execute the _CommandingSurface open and close animations after + // the _OpenCloseMachine determines a state transition has completed. + // - AppBar constructor passes the _OpenCloseMachine as an argument to the _CommandingSurface constructor and doesn�t keep any references to it. + // - _CommandingSurface is responsible for both, continued communication with, and final the cleanup of, the _OpenCloseMachine + // - _CommandingSurface expects a reference to an _OpenCloseMachine in its constructor options. + // - Only the _CommandingSurface holds onto a reference to the _OpenCloseMachine, no other object should communicate with the _OpenCloseMachine directly after + // initialization. + // - _CommandingSurface is responsible for telling _OpenCloseMachine when a state change or re - render is requested.A simple example of this is the + // _CommandingSurface.open() method. + // - _OpenCloseMachine is responsible for everything else including: + // - Ensuring that the animations callbacks get run at the appropriate times. + // - Enforcing the rules of the current state and ensuring the right thing happens when an _OpenCloseMachine method is called.For example: + // - open is called while the control is already open + // - close is called while the control is in the middle of opening + // - dispose is called within a beforeopen event handler + // - Firing all the beforeopen, afteropen, beforeclose, and afterclose events for the AppBar. + // + // - Rendering with Update DOM. + // - AppBar follows the Update DOM pattern for rendering.For more information about this pattern, see: https://github.com/winjs/winjs/wiki/Update-DOM-Pattern + // - Note that the AppBar reads from the DOM when it needs to determine its position relative to the top or bottom edge of the visible document and when measuring its + // closed height to help the _CommandingSurface generate accurate open / close animations.When possible, it caches this information and reads from the cache instead of + // the DOM. This minimizes the performance cost. + // - Outside of updateDom, AppBar writes to the DOM in a couple of places: + // - The initializeDom function runs during construction and creates the initial version of the AppBar's DOM + // - Immediately before and after executing _CommandingSurface open and close animations, inside of the onOpen and onClose callbacks that the AppBar gives to the + // _OpenCloseMachine.There is a rendering bug in Edge when performing the _CommandingSurface's animation if a parent element is using CSS position: -ms-device-fixed; + // AppBar has to work around this by temporarily switching to CSS position: fixed; and converting its physical location into layout viewport coordinates for the + // duration of the Animation only. + // + // - Overlaying App Content + // - AppBar is an overlay and should occlude other app content in the body when opened or closed.However, AppBar should not occlude any other WinJS light dismissible + // control when it is closed. + // - AppBar has a default starting z - index that was chosen to be very high but still slightly smaller than the starting z - index for light dismissible controls. + // - The WinJS _LightDismissService dynamically manages the z - indices of active light dismissible controls in the light dismiss stack.AppBar is also an active light + // dismissible when opened, and it is expected that the _LightDismissService will overwrite its z - index to an appropriate higher value while the AppBar is opened. + // AppBar is subject to the same stacking context pitfalls as any other light dismissible: https://github.com/winjs/winjs/wiki/Dismissables-and-Stacking-Contexts and + // should always be defined as a direct child of the < body> + // + // - Positioning itself along the top or bottom edge of the App. + // - The AppBar always wants to stick to the top or bottom edge of the visual viewport in the users App.Which edge it chooses can be configured by the AppBar.placement + // property. + // - In IE11, Edge, Win 8.1 apps and Win 10 apps, the AppBar uses CSS position: -ms - device - fixed; which will cause its top, left, bottom & right CSS properties be + // styled in relation to the visual viewport. + // - In other browsers - ms - device - fixed positioning doesn't exist and the AppBar falls back to CSS position: fixed; which will cause its top, left, bottom & right + // CSS properties be styled in relation to the layout viewport. + // - See http://quirksmode.org/mobile/viewports2.html for more details on the difference between layout viewport and visual viewport. + // - Being able to position the AppBar relative to the visual viewport is particularly important in windows 8.1 apps and Windows 10 apps(as opposed to the web), because + // the AppBar is also concerned with getting out of the way of the Windows IHM(virtual keyboard).When the IHM starts to show or hide, the AppBar reacts to a WinRT event, + // if the IHM would occlude the bottom edge of the visual viewport, and the AppBar.placement is set to "bottom", the AppBar will move itself to bottom align with the top + // edge of the IHM. + // - Computing this is quite tricky as the IHM is a system pane and not actually in the DOM.AppBar uses the private _KeyboardInfo component to help calculate the top and + // bottom coordinates of the "visible document" which is essentially the top and bottom of the visual viewport minus any IHM occlusion. + // - The AppBar is not optimized for scenarios involving optical zoom.How and where the AppBar is affected when an optical zoom(pinch zoom) occurs will vary based on the + // type of positioning being used for the environment. var keyboardInfo = _KeyboardInfo._KeyboardInfo; var strings = { get ariaLabel() { @@ -55455,9 +55784,13 @@ define('WinJS/Controls/AppBar/_AppBar',["require", "exports", "../../Core/_Base" return keyboardInfo._visible && !keyboardInfo._isResized; }; AppBar.prototype._handleHidingKeyboard = function () { - // Make sure AppBar has the correct offsets since it could have been displaced by the IHM. - this._adjustedOffsets = this._computeAdjustedOffsets(); - this._commandingSurface.deferredDomUpate(); + var _this = this; + var duration = keyboardInfo._animationShowLength + keyboardInfo._scrollTimeout; + Promise.timeout(duration).then(function () { + // Make sure AppBar has the correct offsets since it could have been displaced by the IHM. + _this._adjustedOffsets = _this._computeAdjustedOffsets(); + _this._commandingSurface.deferredDomUpate(); + }); }; AppBar.prototype._computeAdjustedOffsets = function () { // Position the AppBar element relative to the top or bottom edge of the visible diff --git a/js/ui.min.js b/js/ui.min.js index 678de75..ce12fd8 100644 --- a/js/ui.min.js +++ b/js/ui.min.js @@ -1,30 +1,30 @@ /*! Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ -!function(){var a="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};!function(b){"function"==typeof define&&define.amd?define(["./base"],b):(a.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.0.winjs.2015.10.2 ui.js,StartTM"),b("object"==typeof exports&&"string"!=typeof exports.nodeName?require("./base"):a.WinJS),a.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.0.winjs.2015.10.2 ui.js,StopTM"))}(function(b){var c=b.Utilities._require,d=b.Utilities._define;d("WinJS/VirtualizedDataSource/_VirtualizedDataSourceImpl",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../Scheduler","../_Signal","../Utilities/_UI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{VirtualizedDataSource:c.Namespace._lazy(function(){function a(a,c){function f(a){var b="WinJS.UI.VirtualizedDataSource:"+pd+":"+a+",StartTM";i(b),g.log&&g.log(b,"winjs vds","perf")}function u(a){var b="WinJS.UI.VirtualizedDataSource:"+pd+":"+a+",StopTM";i(b),g.log&&g.log(b,"winjs vds","perf")}function v(a){return"number"==typeof a&&a>=0}function w(a){return v(a)&&a===Math.floor(a)}function x(a){if(null===a)a=void 0;else if(void 0!==a&&!w(a))throw new e("WinJS.UI.ListDataSource.InvalidIndexReturned",s.invalidIndexReturned);return a}function y(a){if(null===a)a=void 0;else if(void 0!==a&&!w(a)&&a!==p.unknown)throw new e("WinJS.UI.ListDataSource.InvalidCountReturned",s.invalidCountReturned);return a}function z(){var a=(nc++).toString(),b={handle:a,item:null,itemNew:null,fetchListeners:null,cursorCount:0,bindingMap:null};return Nc[a]=b,b}function A(){return z()}function B(a,b){a.prev=b.prev,a.next=b,a.prev.next=a,b.prev=a}function C(a){a.lastInSequence&&(delete a.lastInSequence,a.prev.lastInSequence=!0),a.firstInSequence&&(delete a.firstInSequence,a.next.firstInSequence=!0),a.prev.next=a.next,a.next.prev=a.prev}function D(a){for(;!a.firstInSequence;)a=a.prev;return a}function E(a){for(;!a.lastInSequence;)a=a.next;return a}function F(a,b,c){return b.prev.next=c.next,c.next.prev=b.prev,b.prev=a.prev,c.next=a,b.prev.next=b,a.prev=c,!0}function G(a,b,c){return b.prev.next=c.next,c.next.prev=b.prev,b.prev=a,c.next=a.next,a.next=b,c.next.prev=c,!0}function H(a){delete a.lastInSequence,delete a.next.firstInSequence}function I(a){var b=a.next;a.lastInSequence=!0,b.firstInSequence=!0,b===Lc&&na(Lc,void 0)}function J(a,b,c,d){B(a,b);var e=a.prev;e.lastInSequence&&(c?delete e.lastInSequence:a.firstInSequence=!0,d?delete b.firstInSequence:a.lastInSequence=!0)}function K(a,b){a.key=b,Oc[a.key]=a}function L(a,b,c){+b===b&&(a.index=b,c[b]=a,Ac||(a.firstInSequence&&a.prev&&a.prev.index===b-1&&H(a.prev),a.lastInSequence&&a.next&&a.next.index===b+1&&H(a)))}function M(a,b){var c=b===Pc?A():z();return B(c,a),c}function N(a,b,c){var d=M(a,c);return d.firstInSequence=!0,d.lastInSequence=!0,L(d,b,c),d}function O(a,b){return N(a,b,Pc)}function P(a,b){var c=M(a,b);return delete a.firstInSequence,c.prev.index===c.index-1?delete c.prev.lastInSequence:c.firstInSequence=!0,L(c,a.index-1,b),c}function Q(a,b){var c=M(a.next,b);return delete a.lastInSequence,c.next.index===c.index+1?delete c.next.firstInSequence:c.lastInSequence=!0,L(c,a.index+1,b),c}function R(a,b,c,d){J(a,b,c,d),Oc[a.key]=a,void 0!==a.index&&(Pc[a.index]=a)}function S(a){C(a),a.key&&delete Oc[a.key],void 0!==a.index&&Pc[a.index]===a&&delete Pc[a.index];var b=a.bindingMap;for(var c in b){var d=b[c].handle;d&&Nc[d]===a&&delete Nc[d]}Nc[a.handle]===a&&delete Nc[a.handle]}function T(a){return!Nc[a.handle]}function U(a,b,c,d,e){var f=e?null:b[a-1];if(f&&(f.next!==d||d.firstInSequence))f=f.next;else if(f=b[a+1],!f){f=c.next;for(var g;;){if(f.firstInSequence&&(g=f),!(a>=f.index)||f===d)break;f=f.next}f!==d||d.firstInSequence||(f=g&&void 0===g.index?g:void 0)}return f}function V(a){return!a.item&&!a.itemNew&&a!==Lc}function W(a,b){Object.defineProperty(a,"handle",{value:b,writable:!1,enumerable:!1,configurable:!0})}function X(a,b,c){W(a,c),Object.defineProperty(a,"index",{get:function(){for(;b.slotMergedWith;)b=b.slotMergedWith;return b.index},enumerable:!1,configurable:!0})}function Y(a){if(void 0===a)return a;var b=JSON.stringify(a);if(void 0===b)throw new e("WinJS.UI.ListDataSource.ObjectIsNotValidJson",s.objectIsNotValidJson);return b}function Z(b){return a.itemSignature?a.itemSignature(b.data):Y(b.data)}function $(b){var c=b.itemNew;b.itemNew=null,c&&(c=Object.create(c),X(c,b,b.handle),a.compareByIdentity||(b.signature=Z(c))),b.item=c,delete b.indexRequested,delete b.keyRequested}function _(a){return a.bindingMap||a.cursorCount>0}function aa(a){return _(a)||a.fetchListeners||a.directFetchListeners}function ba(a){return aa(a)||!a.firstInSequence&&_(a.prev)||!a.lastInSequence&&_(a.next)||!id&&(!a.firstInSequence&&a.prev!==Kc&&!(a.prev.item||a.prev.itemNew))|(!a.lastInSequence&&a.next!==Lc&&!(a.next.item||a.next.itemNew))}function ca(a){I(a),S(a)}function da(){if(!vc){(!Rc||T(Rc))&&(Rc=Lc.prev);for(var a=Rc.prev,b=Rc.next,c=0,d=function(a){a===Lc||ba(a)||(hc>=c?c++:ca(a))};a||b;){if(a){var e=a;a=e.prev,e!==Kc&&d(e)}if(b){var f=b;b=f.next,f!==Mc&&d(f)}}Qc=0}}function ea(a){aa(a)||(Qc++,vc||Uc||(Rc=a,Qc>hc&&!Sc&&(Sc=!0,k.schedule(function(){Sc=!1,da()},k.Priority.idle,null,"WinJS.UI.VirtualizedDataSource.releaseSlotIfUnrequested"))))}function fa(a){for(var b in lc)a(lc[b])}function ga(a,b){for(var c in a.bindingMap)b(a.bindingMap[c].bindingRecord,c)}function ha(a){return a.notificationsSent||(a.notificationsSent=!0,a.notificationHandler.beginNotifications&&a.notificationHandler.beginNotifications()),a.notificationHandler}function ia(){sc||yc||fa(function(a){a.notificationsSent&&(a.notificationsSent=!1,a.notificationHandler.endNotifications&&a.notificationHandler.endNotifications())})}function ja(a,b){var c=a.bindingMap;if(c){var d=c[b];if(d){var e=d.handle;if(e)return e}}return a.handle}function ka(a,b){return a&&a.handle!==b&&(a=Object.create(a),W(a,b)),a}function la(a){var b=Jc;Jc=a,fa(function(a){a.notificationHandler&&a.notificationHandler.countChanged&&ha(a).countChanged(Jc,b)})}function ma(a,b){ga(a,function(c,d){c.notificationHandler.indexChanged&&ha(c).indexChanged(ja(a,d),a.index,b)})}function na(a,b){var c=a.index;if(void 0!==c&&Pc[c]===a&&delete Pc[c],+b===b)L(a,b,Pc);else{if(+c!==c)return;delete a.index}ma(a,c)}function oa(a,b,c,d,e){var f={};if((d||!b.lastInSequence)&&(e||!c.firstInSequence))if(b===Kc)if(c===Lc)for(var g in lc)f[g]=lc[g];else for(var g in c.bindingMap)f[g]=lc[g];else if(c===Lc||c.bindingMap)for(var g in b.bindingMap)(c===Lc||c.bindingMap[g])&&(f[g]=lc[g]);for(var g in a.bindingMap)f[g]=lc[g];return f}function pa(a){var b,c=a.prev,d=a.next,e=oa(a,c,d);for(b in e){var f=e[b];f.notificationHandler&&ha(f).inserted(f.itemPromiseFromKnownSlot(a),c.lastInSequence||c===Kc?null:ja(c,b),d.firstInSequence||d===Lc?null:ja(d,b))}}function qa(a){var b=a.item;$(a),ga(a,function(c,d){var e=ja(a,d);ha(c).changed(ka(a.item,e),ka(b,e))})}function ra(a,b,c,d,e){var f,g=b.prev;if(b===a){if(!a.firstInSequence||!c)return;b=a.next}else if(g===a){if(!a.lastInSequence||!d)return;g=a.prev}if(!e){var h=oa(a,g,b,c,d);for(f in h){var i=h[f];ha(i).moved(i.itemPromiseFromKnownSlot(a),(g.lastInSequence||g===a.prev)&&!c||g===Kc?null:ja(g,f),(b.firstInSequence||b===a.next)&&!d||b===Lc?null:ja(b,f))}fa(function(b){b.adjustCurrentSlot(a)})}C(a),J(a,b,c,d)}function sa(a,b){Ba(a,!0),ga(a,function(c,d){ha(c).removed(ja(a,d),b)}),fa(function(b){b.adjustCurrentSlot(a)}),S(a)}function ta(a){for(;!a.firstInSequence;)a=a.prev;var b;do{b=a.lastInSequence;var c=a.next;sa(a,!0),a=c}while(!b)}function ua(a){var b;if(!a)return b;for(var c=0;!a.firstInSequence;)c++,a=a.prev;return"number"==typeof a.indexNew?a.indexNew+c:"number"==typeof a.index?a.index+c:b}function va(a,b){for(a=a.next;a;a=a.next)if(a.firstInSequence){var c=void 0!==a.indexNew?a.indexNew:a.index;void 0!==c&&(a.indexNew=c+b)}zc+=b,Ac=!0,Uc?wb():Cc++}function wa(a,b){if(a.firstInSequence){var c;if(0>b)c=a.indexNew,void 0!==c?delete a.indexNew:c=a.index,a.lastInSequence||(a=a.next,void 0!==c&&(a.indexNew=c));else if(!a.lastInSequence){var d=a.next;c=d.indexNew,void 0!==c?delete d.indexNew:c=d.index,void 0!==c&&(a.indexNew=c)}}va(a,b)}function xa(a,b){for(var c=Kc;c!==Lc;c=c.next){var d=c.indexNew;if(void 0!==d&&d>=a){va(c,b);break}}}function ya(){var a,b,c;for(a=Kc;;a=a.next){if(a.firstInSequence){if(b=a,void 0!==a.indexNew){if(c=a.indexNew,delete a.indexNew,isNaN(c))break}else c=a.index;a!==Kc&&a.prev.index===c-1&&H(a.prev)}if(a.lastInSequence)for(var d=c,e=b;e!==a.next;e=e.next)d!==e.index&&na(e,d),+d===d&&d++;if(a===Lc)break}for(;a!==Mc;a=a.next)void 0!==a.index&&a!==Lc&&na(a,void 0);Ac=!1,zc&&+Jc===Jc&&(pc?pc.reset():la(Jc+zc),zc=0)}function za(a,b,c,d,e){if(a.item)return new j(function(b){e?e(b,a.item):b(a.item)});var f={listBindingID:d,retained:!1};return a[b]||(a[b]={}),a[b][c]=f,f.promise=new j(function(a,b){f.complete=e?function(b){e(a,b)}:a,f.error=b},function(){for(;a.slotMergedWith;)a=a.slotMergedWith;var d=a[b];if(d){if(delete d[c],Object.keys(d).length>0)return;delete a[b]}ea(a)}),f.promise}function Aa(a,b){for(var c in b)b[c].complete(a)}function Ba(a,b){var c=a.fetchListeners,d=a.directFetchListeners;if(c||d){$(a);var e=a.item,f=function(a){b?Aa(e,a):Gc.push(function(){Aa(e,a)})};d&&(a.directFetchListeners=null,f(d)),c&&(a.fetchListeners=null,f(c)),ea(a)}}function Ca(){var a=Gc;Gc=[];for(var b=0,c=a.length;c>b;b++)a[b]()}function Da(a,b){var c=a.directFetchListeners;if(c){a.directFetchListeners=null;for(var d in c)c[d].error(b);ea(a)}}function Ea(a){return a.firstInSequence&&P(a,Pc),a.lastInSequence&&Q(a,Pc),a.itemNew&&$(a),ab(),a}function Fa(a){if(!a.firstInSequence){var b=a.prev;return b===Kc?null:Ea(b)}return Ea(P(a,Pc))}function Ga(a){if(!a.lastInSequence){var b=a.next;return b===Lc?null:Ea(b)}return Ea(Q(a,Pc))}function Ha(a){return a?za(a,"directFetchListeners",(oc++).toString()):j.wrap(null)}function Ia(a){if("string"!=typeof a||!a)throw new e("WinJS.UI.ListDataSource.KeyIsInvalid",s.keyIsInvalid)}function Ja(a){var b=O(Mc);return K(b,a),b.keyRequested=!0,b}function Ka(a,b){Ia(a);var c=Oc[a];return c||(c=Ja(a),c.hints=b),Ea(c)}function La(a){if("number"!=typeof a||0>a)throw new e("WinJS.UI.ListDataSource.IndexIsInvalid",s.indexIsInvalid);if(Lc.index<=a)return null;var b=Pc[a];if(!b){var c=U(a,Pc,Kc,Lc);if(!c)return null;c===Lc&&a>=Lc&&na(Lc,void 0),b=c.prev.index===a-1?Q(c.prev,Pc):c.index===a+1?P(c,Pc):O(c,a)}return b.item||(b.indexRequested=!0),Ea(b)}function Ma(a){var b=O(Mc);return b.description=a,Ea(b)}function Na(a){if(jc=a,ic!==jc){var c=function(){kc=!1,ic!==jc&&(ic=jc,qd.dispatchEvent(t,ic))};jc===o.failure?c():kc||(kc=!0,b.setTimeout(c,40))}}function Oa(a){var b=a.fetchID;return b&&Fc[b]}function Pa(a,b){a.fetchID=b}function Qa(){var a=Ec;return Ec++,Fc[a]=!0,a}function Ra(a,b,c){var d=Qa();Pa(a,d);for(var e=a;!e.firstInSequence&&b>0;)e=e.prev,b--,Pa(e,d);for(var f=a;!f.lastInSequence&&c>0;)f=f.next,c--,Pa(f,d);return d}function Sa(a){var b=a.items,c=a.offset,d=a.totalCount,e=a.absoluteIndex,f=a.atStart,g=a.atEnd;if(v(e)){if(v(d)){var h=b.length;e-c+h===d&&(g=!0)}c===e&&(f=!0)}f&&(b.unshift(Hc),a.offset++),g&&b.push(Ic)}function Ta(a,b,c){return delete Fc[c],b!==Cc||T(a)?(ab(),!1):!0}function Ua(a,b,c,d){var g=Cc;c.then(function(c){if(!c.items||!c.items.length)return j.wrapError(new e(q.doesNotExist));var h="itemsFetched id="+b+" count="+c.items.length;f(h),Ta(a,g,b)&&(+d===d&&(c.absoluteIndex=d),Sa(c),qb(a,c.items,c.offset,c.totalCount,c.absoluteIndex)),u(h)}).then(null,function(c){Ta(a,g,b)&&rb(a,c)})}function Va(a,b,c,d){var g=Cc;d.then(function(d){if(!d.items||!d.items.length)return j.wrapError(new e(q.doesNotExist));var h="itemsFetched id="+c+" count="+d.items.length;f(h),Ta(b,g,c)&&(d.absoluteIndex=a,Sa(d),sb(a,b,d.items,d.offset,d.totalCount,d.absoluteIndex)),u(h)}).then(null,function(){Ta(b,g,c)&&tb(a,b,g)})}function Wa(a,b){var c=Ra(a,0,b-1);jd?Ua(a,c,jd(c,b),0):Ua(a,c,id(c,0,0,b-1),0)}function Xa(a,b){var c=Ra(a,b-1,0);Ua(a,c,kd(c,b))}function Ya(a,b,c){var d=Ra(a,b,c);Ua(a,d,hd(d,a.key,b,c,a.hints))}function Za(a,b,c){var d=a.index;if(b>d&&(b=d),id){var e=Ra(a,b,c);Ua(a,e,id(e,d,b,c),d)}else if(a.key)Ya(a,b,c);else{var f,g,h=Kc,i=d+1;for(f=a.prev;f!==Kc;f=f.prev)if(void 0!==f.index&&f.key){g=d-f.index,i>g&&(i=g,h=f);break}for(f=a.next;f!==Lc;f=f.next)if(void 0!==f.index&&f.key){g=f.index-d,i>g&&(i=g,h=f);break}if(h===Kc){var e=Ra(a,0,d+1);Va(0,a,e,jd(e,d+1))}else{var j=Math.max(h.index-d,0),k=Math.max(d-h.index,0),e=Ra(h,j,k);Va(h.index,a,e,hd(e,h.key,j,k,a.hints))}}}function $a(a,b,c){var d=Ra(a,b,c);Ua(a,d,ld(d,a.description,b,c))}function _a(){if(!Uc){for(var a,b,c,d,e,f,g,h,i=!1,j=!1,k=Kc.next;k!==Mc;){var l=k.next;if(k!==Lc&&V(k)&&(j=!0,a?b++:(a=k,b=1),Oa(k)&&(i=!0),k.keyRequested&&!c&&(c=k,d=b-1),void 0===k.description||e||(e=k,f=b-1),k.indexRequested&&!g&&(g=k,h=b-1),k.lastInSequence||l===Mc||!V(l))){if(i)i=!1;else{if(qc=!1,!a.firstInSequence&&a.prev.key&&hd?Ya(a.prev,0,b):!k.lastInSequence&&l.key&&hd?Ya(l,b,0):a.prev!==Kc||a.firstInSequence||!jd&&!id?l===Lc&&!k.lastInSequence&&kd?Xa(k,b):c?Ya(c,d,b-1-d):e?$a(e,f,b-1-f):g?Za(g,h,b-1-h):"number"==typeof a.index?Za(a,b-1,0):ta(a):Wa(a,b),qc)return void ab();if(Uc)return}a=g=c=null}k=l}Na(j?o.waiting:o.ready)}}function ab(){Dc||(Dc=!0,k.schedule(function(){Dc=!1,_a(),ia()},k.Priority.max,null,"WinJS.UI.ListDataSource._fetch"))}function bb(b){var c=b.itemNew;if(!c)return!1;var d=b.item;for(var e in d)switch(e){case"data":break;default:if(d[e]!==c[e])return!0}return a.compareByIdentity?d.data!==c.data:b.signature!==Z(c)}function cb(a){aa(a)?bb(a)?qa(a):a.itemNew=null:a.item=null}function db(a){a.item?cb(a):Ba(a)}function eb(a,b){a.key||K(a,b.key),a.itemNew=b,db(a)}function fb(a,b,c){var d=b.bindingMap;if(d)for(var e in c)if(d[e]){var f=b.fetchListeners;for(var g in f){var h=f[g];h.listBindingID===e&&h.retained&&(delete f[g],h.complete(null))}var i=d[e].bindingRecord;ha(i).removed(ja(b,e),!0,ja(a,e)),b.bindingMap&&delete b.bindingMap[e]}}function gb(a,b){if(a.index!==b.index){var c=b.index;b.index=a.index,ma(b,c)}b.slotMergedWith=a;var d=b.bindingMap;for(var e in d){a.bindingMap||(a.bindingMap={});var f=d[e];f.handle||(f.handle=b.handle),Nc[f.handle]=a,a.bindingMap[e]=f}fa(function(c){c.adjustCurrentSlot(b,a)});var g=b.itemNew||b.item;if(g&&(g=Object.create(g),X(g,a,a.handle),eb(a,g)),a.item)b.directFetchListeners&&Gc.push(function(){Aa(a.item,b.directFetchListeners)}),b.fetchListeners&&Gc.push(function(){Aa(a.item,b.fetchListeners)});else{var h;for(h in b.directFetchListeners)a.directFetchListeners||(a.directFetchListeners={}),a.directFetchListeners[h]=b.directFetchListeners[h];for(h in b.fetchListeners)a.fetchListeners||(a.fetchListeners={}),a.fetchListeners[h]=b.fetchListeners[h]}a.itemNew&&Ba(a),b.handle=(nc++).toString(),I(b),S(b)}function hb(a,b,c){b&&b.key&&(c||(c=b.itemNew||b.item),delete b.key,delete Oc[c.key],b.itemNew=null,b.item=null),c&&eb(a,c),b&&gb(a,b)}function ib(a){if("object"!=typeof a)throw new e("WinJS.UI.ListDataSource.InvalidItemReturned",s.invalidItemReturned);if(a===Hc)return Kc;if(a===Ic)return Lc;if(a.key)return d.validation&&Ia(a.key),Oc[a.key];throw new e("WinJS.UI.ListDataSource.InvalidKeyReturned",s.invalidKeyReturned)}function jb(a,b){var c=ib(b);c===a&&(c=null),c&&fb(a,c,a.bindingMap),hb(a,c,b)}function kb(a,b,c,d){if(b&&a.key&&a.key!==b.key)return wb(),!1;var e=Pc[c];if(e)if(e===a)e=null;else{if(e.key&&(a.key||b&&e.key!==b.key))return wb(),!1;if(!a.key&&e.bindingMap)return!1}var f;if(b)if(f=Oc[b.key],f===a)f=null;else if(f&&f.bindingMap)return!1;return e?(fb(a,e,a.bindingMap),delete Pc[c],na(a,c),a.prev.index===c-1&&H(a.prev),a.next.index===c+1&&H(a),d.slotNext=e.slotNext,b||(b=e.itemNew||e.item,b&&(f=Oc[b.key]))):na(a,c),f&&e!==f&&fb(a,f,a.bindingMap),hb(a,f,b),e&&e!==f&&gb(a,e),!0}function lb(a,b,c){if(b.key&&a.key&&b.key!==a.key)return wb(),!1;for(var d in a.bindingMap)c[d]=!0;return fb(a,b,c),hb(a,b),!0}function mb(a,b){for(var c={};a;){var d=a.firstInSequence?null:a.prev;if(b.firstInSequence||b.prev!==Kc){if(b=b.firstInSequence?P(b,Pc):b.prev,!lb(b,a,c))return}else sa(a,!0);a=d}}function nb(a,b){for(var c={};a;){var d=a.lastInSequence?null:a.next;if(b.lastInSequence||b.next!==Lc){if(b=b.lastInSequence?Q(b,Pc):b.next,!lb(b,a,c))return}else sa(a,!0);a=d}}function ob(a){for(var b=0;b0;){var f=e.prev;if(e===Kc){c(Kc);break}if(e.key){if(e.index>=a)return wb(),!1;if(!(e.index>=b))return hd?Ya(e,0,d):Za(e,0,d),!1;c(e)}else e.indexRequested||e.firstInSequence?c(f):d++;e=f}return!0}function qb(a,b,c,d,e){var g="WinJS.UI.ListDataSource.processResults";return f(g),e=x(e),d=y(d),vc?void u(g):(Ac&&ya(),!v(d)&&d!==p.unknown||d===Jc||Lc.firstInSequence?(qc=!0,function(){var f,g,h,i,j=b.length;if("number"!=typeof e)for(f=0;j>f;f++)if(h=ib(b[f]),h&&void 0!==h.index){e=h.index+c-f;break}"number"==typeof e&&b[j-1]===Ic?d=e-c+j-1:!v(d)||void 0!==e&&null!==e||(e=d-(j-1)+c),v(d)&&!pb(d,e-c)&&(d=void 0);var k=new Array(j);for(f=0;j>f;f++){var l=null;if(h=ib(b[f])){if(f>0&&!h.firstInSequence&&h.prev.key&&h.prev.key!==b[f-1].key||"number"==typeof e&&void 0!==h.index&&h.index!==e-c+f)return void wb();(h===Kc||h===Lc||h.bindingMap)&&(l=h)}if("number"==typeof e&&(h=Pc[e-c+f])){if(h.key&&h.key!==b[f].key)return void wb();!l&&h.bindingMap&&(l=h)}if(f===c){if(a.key&&a.key!==b[f].key||"number"==typeof a.index&&"number"==typeof e&&a.index!==e)return void wb();l||(l=a)}k[f]=l}for(f=0;j>f;f++)h=k[f],h&&void 0!==h.index&&h!==Kc&&h!==Lc&&jb(h,b[f]);var m,n,o=[],p=!0;for(f=0;j>f;f++)if(h=k[f],h&&h!==Lc){var q=f;if(void 0===h.index){var r={};kb(h,b[f],e-c+f,r);var s,t=h,u=h;for(g=f-1;!t.firstInSequence&&(s=b[g],s!==Hc);g--){var w=e-c+g;if(0>w)break;if(!kb(t.prev,s,w,r))break;t=t.prev,g>=0&&(k[g]=t)}for(g=f+1;!u.lastInSequence&&(s=b[g],s!==Ic&&g!==d||u.next===Lc)&&(u.next===Lc||kb(u.next,s,e-c+g,r))&&(u=u.next,j>g&&(k[g]=u),q=g,u!==Lc);g++);if(m=t.firstInSequence?null:t.prev,n=u.lastInSequence?null:u.next,m&&I(m),n&&I(u),"number"==typeof e){if(u===Lc)m&&G(Lc,D(m),m);else{var x=r.slotNext;x||(x=U(u.index,Pc,Kc,Lc,!0)),F(x,t,u)}t.prev.index===t.index-1&&H(t.prev),u.next.index===u.index+1&&H(u)}else p||(i=k[f-1],i&&(t.prev!==i&&(u===Lc?(m&&G(Lc,D(m),m),F(t,D(i),i)):G(i,t,u)),H(i)));if(p=!1,Tc)return;o.push({slotBeforeSequence:m,slotFirstInSequence:t,slotLastInSequence:u,slotAfterSequence:n})}f!==c||h===a||T(a)||(m=a.firstInSequence?null:a.prev,n=a.lastInSequence?null:a.next,fb(h,a,h.bindingMap),gb(h,a),o.push({slotBeforeSequence:m,slotFirstInSequence:h,slotLastInSequence:h,slotAfterSequence:n})),f=q}for(v(d)&&Lc.index!==d&&na(Lc,d),ob(o),f=0;j>f;f++)if(h=k[f]){for(g=f-1;g>=0;g--){var y=k[g+1];jb(k[g]=y.firstInSequence?P(k[g+1],Pc):y.prev,b[g])}for(g=f+1;j>g;g++)i=k[g-1],h=k[g],h?h.firstInSequence&&(h.prev!==i&&G(i,h,E(h)),H(i)):jb(k[g]=i.lastInSequence?Q(i,Pc):i.next,b[g]);break}delete a.description}(),Tc||(void 0!==d&&d!==Jc&&la(d),ab()),ia(),Ca(),void u(g)):(wb(),void u(g)))}function rb(a,b){switch(b.name){case q.noResponse:Na(o.failure),Da(a,b);break;case q.doesNotExist:a.indexRequested?pb(a.index):(a.keyRequested||a.description)&&ta(a),ia(),wb()}}function sb(a,b,c,d,f,g){g=x(g),f=y(f);var h=a-d,i=c.length;if(b.index>=h&&b.indexa&&b+(b-a)e;e++)if(nd[a+e].kind!==nd[b+e].kind){c=!1;break}if(c&&g.log){g.log(s.refreshCycleIdentified,"winjs vds","error");for(var e=a;b>e;e++)g.log(""+(e-a)+": "+JSON.stringify(nd[e]),"winjs vds","error")}return c}}function vb(){return++md>h&&ub()?void Na(o.failure):(nd[++od%nd.length]={kind:"beginRefresh"},Zc={firstInSequence:!0,lastInSequence:!0,index:-1},$c={firstInSequence:!0,lastInSequence:!0},Zc.next=$c,$c.prev=Zc,Xc=!1,Yc=void 0,_c={},ad={},bd={},bd[-1]=Zc,void(cd={}))}function wb(){if(!Tc){if(Tc=!0,Na(o.waiting),xc)return xc=!1,void Zb();if(!vc){var a=++Cc;Uc=!0,Wc=0,k.schedule(function(){if(Cc===a){Tc=!1,vb();for(var b=Kc.next;b!==Mc;){var c=b.next;ba(b)||b===Lc||ca(b),b=c}Eb()}},k.Priority.high,null,"WinJS.VirtualizedDataSource.beginRefresh")}}}function xb(){return Vc=Vc||new l,wb(),Vc.promise}function yb(a,b){return delete Fc[b],a!==Cc?!1:(Wc--,!0)}function zb(a,b,c,d,g){var h=Cc;Wc++,d.then(function(b){if(!b.items||!b.items.length)return j.wrapError(new e(q.doesNotExist));var d="itemsFetched id="+c+" count="+b.items.length;f(d),yb(h,c)&&(Sa(b),Kb(a,b.items,b.offset,b.totalCount,"number"==typeof g?g:b.absoluteIndex)),u(d)}).then(null,function(d){yb(h,c)&&Lb(a,b,d)})}function Ab(a,b,c,d){if(hd)zb(a.key,!1,b,hd(b,a.key,c,d,a.hints));else{var e=10,f=a.index;bd[f]&&bd[f].firstInSequence?zb(a.key,!1,b,id(b,f-1,Math.min(c+e,f)-1,d+1+e),f-1):bd[f]&&bd[f].lastInSequence?zb(a.key,!1,b,id(b,f+1,Math.min(c+e,f)+1,d-1+e),f+1):zb(a.key,!1,b,id(b,f,Math.min(c+e,f),d+e),f)}}function Bb(a){jd?zb(null,!0,a,jd(a,1),0):id&&zb(null,!0,a,id(a,0,0,0),0)}function Cb(a){return Fc[_c[a]]}function Db(a,b){for(var c,d,e,f=3,g=Cc,h=0,i=a;i!==Mc;i=i.next){if(!c&&i.key&&!cd[i.key]&&!Cb(i.key)){var j=ad[i.key];(!j||j.firstInSequence||j.lastInSequence)&&(c=i,d=j,e=Qa())}if(c){var k=Cb(i.key);if(cd[i.key]||ad[i.key]||k||(i.key&&(_c[i.key]=e),h++),i.lastInSequence||i.next===Lc||k){if(Ab(c,e,!d||d.firstInSequence?f:0,h-1+f),!b)break;c=null,h=0}}else i.key&&V(i)&&!cd[i.key]&&(ad[i.key]||(e=Qa(),zb(i.key,!1,e,hd(e,i.key,1,1,i.hints))))}0!==Wc||Xc||Cc!==g||Bb(Qa())}function Eb(){var a=Cc;do dd=!1,ed=!0,Db(Kc.next,!0),ed=!1;while(0===Wc&&dd&&Cc===a&&Uc);0===Wc&&Cc===a&&Ub()}function Fb(a){var b=Cc;if(a){var c=Oc[a];c||(c=Kc.next);do fd=!1,gd=!0,Db(c,!1),gd=!1;while(fd&&Cc===b&&Uc)}ed?dd=!0:0===Wc&&Cc===b&&Eb()}function Gb(a){if("object"==typeof a&&a){if(a===Hc)return Zc;if(a===Ic)return $c;if(a.key)return ad[a.key];throw new e("WinJS.UI.ListDataSource.InvalidKeyReturned",s.invalidKeyReturned)}throw new e("WinJS.UI.ListDataSource.InvalidItemReturned",s.invalidItemReturned)}function Hb(a,b){for(;void 0===a.index;){if(L(a,b,bd),a.firstInSequence)return!0;a=a.prev,b--}return a.index!==b?(wb(),!1):!0}function Ib(a,b){a.key=b.key,ad[a.key]=a,a.item=b}function Jb(){for(var a=$c;!a.firstInSequence;)if(a=a.prev,a===Zc)return null;return a}function Kb(a,b,c,d,e){e=x(e),d=y(d);var f=!1;Xc=!0;var g=e-c,h=b[0];h.key===a&&(f=!0);var i=Gb(h);if(i){if(+g===g&&!Hb(i,g))return}else{if(bd[g])return void wb();var j;if(void 0!==e&&(j=bd[g-1])){if(!j.lastInSequence)return void wb();i=Q(j,bd)}else{var k=+g===g?U(g,bd,Zc,$c):Jb(Zc,$c);if(!k)return void wb();i=N(k,g,bd)}Ib(i,b[0])}for(var l=b.length,m=1;l>m;m++){h=b[m],h.key===a&&(f=!0);var n=Gb(h);if(n){if(void 0!==i.index&&!Hb(n,i.index+1))return;if(n!==i.next){if(!i.lastInSequence||!n.firstInSequence)return void wb();var o=E(n);if(o!==$c)G(i,n,o);else{var q=D(i);if(q===Zc)return void wb();F(n,q,i)}H(i)}else i.lastInSequence&&H(i)}else{if(!i.lastInSequence)return void wb();n=Q(i,bd),Ib(n,h)}i=n}if(f||(cd[a]=!0),!v(d)&&!$c.firstInSequence){var r=$c.prev.index;void 0!==r&&(d=r+1)}if(v(d)||d===p.unknown){if(v(Yc)){if(d!==Yc)return void wb()}else Yc=d;v(Yc)&&!bd[Yc]&&L($c,Yc,bd)}gd?fd=!0:Fb(a)}function Lb(a,b,c){switch(c.name){case q.noResponse:Na(o.failure);break;case q.doesNotExist:b?(L($c,0,bd),Yc=0,Ub()):(cd[a]=!0,gd?fd=!0:Fb(a))}}function Mb(a){return a===Zc?Kc:a===$c?Lc:Oc[a.key]}function Nb(a){return a===Kc?Zc:a===Lc?$c:ad[a.key]}function Ob(a){H(a),a.next.mergedForRefresh=!0}function Pb(a,b){K(b,a.key),b.itemNew=a.item}function Qb(a,b,c){var d=A();Pb(a,d),J(d,b,c,!c);var e=a.index;return+e!==e&&(e=c?d.prev.index+1:b.next.index-1),L(d,e,Pc),d}function Rb(a,b,c){a?(fb(a,b,a.bindingMap),hb(a,b,c.item)):(Pb(c,b),b.indexRequested&&db(b))}function Sb(a,b,c){return b.key?!1:(a?(c.mergeWithPrev=!b.firstInSequence,c.mergeWithNext=!b.lastInSequence):c.stationary=!0,Rb(a,b,c),!0)}function Tb(a){var b;if(a.indexRequested)b=a.index;else{var c=Nb(a);c&&(b=c.index)}return b}function Ub(){md=0,nd=new Array(100),od=-1,Ac=!0,_c={};var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=[],t=[];for(o=0,h=Zc;h;h=h.next)h.sequenceNumber=o,h.firstInSequence&&(j=h),h.lastInSequence&&(t[o]={first:j,last:h,matchingItems:0},o++);for(Rc=null,Qc=0,c=Kc.next;c!==Mc;)h=ad[c.key],e=c.next,c!==Lc&&(ba(c)?c.key&&!h?sa(c,!1):0===Yc||c.indexRequested&&c.index>=Yc?sa(c,!0):c.item||c.keyRequested?c.itemNew=h.item:c.key&&(c.keyRequested||(delete Oc[c.key],delete c.key),c.itemNew=null):ca(c)),c=e;for(c=Kc.next;c!==Lc;)e=c.next,c.indexRequested&&(h=bd[c.index],h&&Rb(Mb(h),c,h)),c=e;var u,v,w,x,y,z=0,A=[];for(k=0,c=Kc;c!==Mc;c=c.next){if(c.firstInSequence)for(j=c,w=null,a=0;o>a;a++)A[a]=0;if(c.indexRequested&&(w=c),h=Nb(c),h&&A[h.sequenceNumber]++,c.lastInSequence){for(v=0,a=z;o>a;a++)v0?t[u]:void 0,matchingItems:v},w&&(l.indexRequested=!0,l.stationarySlot=w),s[k]=l,c===Lc&&(x=k,y=l),k++,void 0!==t[u].first.index&&(z=u)}}s[0].sequenceNew!==t[0]&&(I(Kc),s[0].first=Kc.next,s.unshift({first:Kc,last:Kc,sequenceNew:t[0],matchingItems:1}),x++,k++);var B=!Lc.firstInSequence;for(y.sequenceNew!==t[o-1]&&(I(Lc.prev),y.last=Lc.prev,x++,s.splice(x,0,{first:Lc,last:Lc,sequenceNew:t[o-1],matchingItems:1}),k++,y=s[x]),a=0;k>a;a++)p=s[a].sequenceNew,p&&p.matchingItems=a;a++)l=s[a],l.sequenceNew&&(n=l.sequenceNew.sequenceOld)===m&&m.last!==Lc?(Ob(n.last),n.last=l.last,delete s[a]):m=l;for(m=null,a=x;a>=0;a--)l=s[a],l&&(l.sequenceNew&&(n=l.sequenceNew.sequenceOld)===m&&l.last!==Lc?(Ob(l.last),n.first=l.first,delete s[a]):m=l);B&&delete Lc.mergedForRefresh;var C=[];for(a=x+1;k>a;a++)if(l=s[a],l&&(!l.sequenceNew||l.sequenceNew.sequenceOld!==l)){var D=!0,E=null,J=null,K=0;for(h=Nb(l.first),h&&(E=J=h,K=1),c=l.first;c!==l.last;c=c.next){var L=Nb(c.next);if(h&&L&&(h.lastInSequence||h.next!==L)){D=!1;break}h&&!E&&(E=J=h),L&&E&&(J=L,K++),h=L}if(D&&E&&void 0!==E.index){var M;E.firstInSequence||(f=Mb(E.prev),f&&(M=f.index));var N;if(J.lastInSequence||(g=Mb(J.next),g&&(N=g.index)),(!g||g.lastInSequence||g.mergedForRefresh)&&(void 0===M||void 0===N||N-M-1>=K)){for(l.locationJustDetermined=!0,h=E;h.locationJustDetermined=!0,h!==J;h=h.next);var j=Mb(E),O=Mb(J);C.push({slotBeforeSequence:j.firstInSequence?null:j.prev,slotFirstInSequence:j,slotLastInSequence:O,slotAfterSequence:O.lastInSequence?null:O.next})}}}for(a=0;k>a;a++)if(l=s[a],l&&!l.indexRequested&&!l.locationJustDetermined&&(!l.sequenceNew||l.sequenceNew.sequenceOld!==l)){l.sequenceNew=null,c=l.first;var P;do{if(P=c===l.last,e=c.next,c!==Kc&&c!==Lc&&c!==Mc&&!c.item&&!c.keyRequested)if(sa(c,!0),l.first===c){if(l.last===c){delete s[a];break}l.first=c.next}else l.last===c&&(l.last=c.prev);c=e}while(!P)}for(a=0;o>a;a++){for(p=t[a],h=p.first;!Mb(h)&&!h.lastInSequence;h=h.next);if(h.lastInSequence&&!Mb(h))p.firstInner=p.lastInner=null;else{for(p.firstInner=h,h=p.last;!Mb(h);h=h.prev);p.lastInner=h}}for(a=0;o>a;a++)if(p=t[a],p&&p.firstInner&&(l=p.sequenceOld)){var Q=0;for(c=l.first;!0&&(h=Nb(c),h&&h.sequenceNumber===p.firstInner.sequenceNumber&&(h.ordinal=Q),!c.lastInSequence);c=c.next,Q++);var R=[];for(h=p.firstInner;!0;h=h.next){if(Q=h.ordinal,void 0!==Q){for(var S=0,T=R.length-1;T>=S;){var U=Math.floor(.5*(S+T));R[U].ordinal0&&(h.predecessor=R[S-1])}if(h===p.lastInner)break}var W=[],X=R.length;for(h=R[X-1],b=X;b--;)h.stationary=!0,W[b]=h,h=h.predecessor;l.stationarySlot=Mb(W[0]),h=W[0],c=Mb(h),d=c.prev;for(var Y=c.firstInSequence;!h.firstInSequence;)if(h=h.prev,i=Mb(h),!i||h.locationJustDetermined)for(;!Y&&d!==Kc&&(c=d,d=c.prev,Y=c.firstInSequence,!Sb(i,c,h)););for(b=0;X-1>b;b++){h=W[b],c=Mb(h);var i,Z=W[b+1],_=null,aa=Mb(Z);for(e=c.next,h=h.next;h!==Z&&!_&&c!==aa;h=h.next)if(i=Mb(h),!i||h.locationJustDetermined)for(;e!==aa;){if(e.mergedForRefresh){_=h.prev;break}if(c=e,e=c.next,Sb(i,c,h))break}if(_)for(d=aa.prev,h=Z.prev;h!==_&&aa!==c;h=h.prev)if(i=Mb(h),!i||h.locationJustDetermined)for(;d!==c&&(aa=d,d=aa.prev,!Sb(i,aa,h)););for(;e!==aa;)c=e,e=c.next,c!==Kc&&V(c)&&!c.keyRequested&&sa(c)}for(h=W[X-1],c=Mb(h),e=c.next,Y=c.lastInSequence;!h.lastInSequence;)if(h=h.next,i=Mb(h),!i||h.locationJustDetermined)for(;!Y&&e!==Lc&&(c=e,e=c.next,Y=c.lastInSequence,!Sb(i,c,h)););}for(a=0;o>a;a++)if(p=t[a],p.firstInner)for(d=null,h=p.firstInner;!0;h=h.next){if(c=Mb(h)){if(!h.stationary){var da,ea=!1,fa=!1;if(d)da=d.next,ea=!0;else{var ga;for(ga=p.firstInner;!ga.stationary&&ga!==p.lastInner;ga=ga.next);if(ga.stationary)da=Mb(ga),fa=!0;else if(q=h.index,0===q)da=Kc.next,ea=!0;else if(void 0===q)da=Mc;else{da=Kc.next;for(var ha=null;;){if(da.firstInSequence&&(ha=da),qa;a++)if(p=t[a],p.firstInner)for(d=null,h=p.firstInner;!0;h=h.next){if(c=Mb(h),!c){var ka;if(d)ka=d.next;else{var ma;for(ma=p.firstInner;!Mb(ma);ma=ma.next);ka=Mb(ma)}c=Qb(h,ka,!!d);var L=Nb(ka);ka.mergedForRefresh||L&&L.locationJustDetermined||($(c),pa(c))}if(d=c,h===p.lastInner)break}Pc=[];var oa=-1;for(c=Kc,r=0;c!==Mc;r++){var e=c.next;if(c.firstInSequence&&(j=c,r=0),void 0===oa){var qa=Tb(c);void 0!==qa&&(oa=qa-r)}if(void 0!==oa&&!c.lastInSequence){var ta=Tb(c.next);if(void 0!==ta&&ta!==oa+r+1){I(c);for(var ua=!0,va=c.next,wa=!1;!wa&&va!==Lc;){var xa=va.next;wa=va.lastInSequence,ra(va,xa,!ua,!1),ua=!1,va=xa}}}if(c.lastInSequence){q=oa;for(var ya=j;ya!==e;){var za=ya.next;if(q>=Yc&&ya!==Lc)sa(ya,!0);else{var Aa=Pc[q];q!==ya.index?(delete Pc[q],na(ya,q)):+q===q&&Pc[q]!==ya&&(Pc[q]=ya),ya.itemNew&&db(ya),Aa&&(ya.key?(fb(ya,Aa,ya.bindingMap),gb(ya,Aa),+q===q&&(Pc[q]=ya)):(fb(Aa,ya,Aa.bindingMap),gb(Aa,ya),+q===q&&(Pc[q]=Aa))),+q===q&&q++}ya=za}oa=void 0}c=e}var Ba,Da=-2;for(c=Kc,r=0;c!==Mc;r++){var e=c.next;if(c.firstInSequence&&(j=c,r=0),delete c.mergedForRefresh,c.lastInSequence)if(void 0===j.index){f=j.prev;var Ea;f&&(Ea=Nb(f))&&!Ea.lastInSequence&&(h=Nb(c))&&h.prev===Ea?(G(f,j,c),H(f)):c===Lc||Ba||F(Mc,j,c)}else{if(Daa;a++){p=t[a];var Ga=[];c=null,r=0;var Ha;for(h=p.first;!0&&(h===Zc?Ga.push(Hc):h===$c?Ga.push(Ic):(Ga.push(h.item),c||(c=Mb(h),Ha=r)),!h.lastInSequence);h=h.next,r++);c&&Fa.push({slot:c,results:Ga,offset:Ha})}for(vb(),Uc=!1,Ca(),a=0;ae&&f--,xa(f,1)),a()):i||j?(void 0!==e&&(xa(e,-1),f>e&&f--),this.inserted(b,c,d,f)):void 0!==e&&(xa(e,-1),f>e&&f--,xa(f,1),a())}},this.removed=function(b,c){if(vc)wb();else{var d;d="string"==typeof b?Oc[b]:Pc[c],d?d.keyRequested?wb():(wa(d,-1),sa(d,!1),a()):void 0!==c&&(xa(c,-1),a())}},this.endNotifications=function(){yc=!1,a()}}function fc(){Na(o.ready),pc=null,rc=!1,sc=!1,tc=!1,uc={},uc.next=uc,uc.prev=uc,vc=!1,xc=!1,zc=0,Ac=!1,Bc=0,Fc={},Gc=[],Jc=p.unknown,Kc={firstInSequence:!0,lastInSequence:!0,index:-1},Lc={firstInSequence:!0,lastInSequence:!0},Mc={firstInSequence:!0,lastInSequence:!0},Kc.next=Lc,Lc.prev=Kc,Lc.next=Mc,Mc.prev=Lc,Nc={},Oc={},Pc={},Pc[-1]=Kc,Qc=0,Rc=null,Sc=!1,Tc=!1,Uc=!1,Vc=null}var gc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Hc,Ic,Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Rc,Sc,Tc,Uc,Vc,Wc,Xc,Yc,Zc,$c,_c,ad,bd,cd,dd,ed,fd,gd,hd,id,jd,kd,ld,md=0,nd=new Array(100),od=-1;a.itemsFromKey&&(hd=function(b,c,d,e,g){var h="fetchItemsFromKey id="+b+" key="+c+" countBefore="+d+" countAfter="+e;f(h),nd[++od%nd.length]={kind:"itemsFromKey",key:c,countBefore:d,countAfter:e};var i=a.itemsFromKey(c,d,e,g);return u(h),i}),a.itemsFromIndex&&(id=function(b,c,d,e){var g="fetchItemsFromIndex id="+b+" index="+c+" countBefore="+d+" countAfter="+e;f(g),nd[++od%nd.length]={kind:"itemsFromIndex",index:c,countBefore:d,countAfter:e};var h=a.itemsFromIndex(c,d,e);return u(g),h}),a.itemsFromStart&&(jd=function(b,c){var d="fetchItemsFromStart id="+b+" count="+c;f(d),nd[++od%nd.length]={kind:"itemsFromStart",count:c};var e=a.itemsFromStart(c);return u(d),e}),a.itemsFromEnd&&(kd=function(b,c){var d="fetchItemsFromEnd id="+b+" count="+c;f(d),nd[++od%nd.length]={kind:"itemsFromEnd",count:c};var e=a.itemsFromEnd(c);return u(d),e}),a.itemsFromDescription&&(ld=function(b,c,d,e){var g="fetchItemsFromDescription id="+b+" desc="+c+" countBefore="+d+" countAfter="+e;f(g),nd[++od%nd.length]={kind:"itemsFromDescription",description:c,countBefore:d,countAfter:e};var h=a.itemsFromDescription(c,d,e);return u(g),h});var pd=++n,qd=this,rd={insert:"insert",change:"change",move:"move",remove:"remove"};if(!a)throw new e("WinJS.UI.ListDataSource.ListDataAdapterIsInvalid",s.listDataAdapterIsInvalid);hc=a.compareByIdentity?0:200,c&&"number"==typeof c.cacheSize&&(hc=c.cacheSize),a.setNotificationHandler&&(gc=new ec,a.setNotificationHandler(gc)),ic=o.ready,kc=!1,lc={},mc=0,nc=1,oc=0,Cc=0,Dc=!1,Ec=1,Hc={},Ic={},fc(),this.createListBinding=function(a){function b(a){a&&a.cursorCount++}function c(a){a&&0===--a.cursorCount&&ea(a)}function d(a){b(a),c(m),m=a}function e(a,b){a===m&&(b||(b=!m||m.lastInSequence||m.next===Lc?null:m.next),d(b))}function f(a){var b=a.bindingMap,c=b[l].handle;delete a.bindingMap[l];var d=!0,e=!0;for(var f in b)if(d=!1,c&&b[f].handle===c){e=!1;break}c&&e&&delete Nc[c],d&&(a.bindingMap=null,ea(a))}function g(a,b){a.bindingMap||(a.bindingMap={});var c=a.bindingMap[l];if(c?c.count++:a.bindingMap[l]={bindingRecord:lc[l],count:1},a.fetchListeners){var d=a.fetchListeners[b];d&&(d.retained=!0)}}function h(a){var b=Nc[a];if(b){var c=b.bindingMap[l];if(0===--c.count){var d=b.fetchListeners;for(var e in d){var g=d[e];g.listBindingID===l&&(g.retained=!1)}f(b)}}}function i(b){var c=ja(b,l),d=(oc++).toString(),e=za(b,"fetchListeners",d,l,function(a,b){a(ka(b,c))});return X(e,b,c),a&&(e.retain=function(){return o._retainItem(b,d),e},e.release=function(){o._releaseItem(c)}),e}function k(b){var c;return!n&&b?c=i(b):(n?(c=new j(function(){}),c.cancel()):c=j.wrap(null),W(c,null),a&&(c.retain=function(){return c},c.release=function(){})),d(b),c}var l=(mc++).toString(),m=null,n=!1;lc[l]={notificationHandler:a,notificationsSent:!1,adjustCurrentSlot:e,itemPromiseFromKnownSlot:i};var o={_retainItem:function(a,b){g(a,b)},_releaseItem:function(a){h(a)},jumpToItem:function(a){return k(a?Nc[a.handle]:null)},current:function(){return k(m)},previous:function(){return k(m?Fa(m):null)},next:function(){return k(m?Ga(m):null)},releaseItem:function(a){this._releaseItem(a.handle)},release:function(){n=!0,c(m),m=null;for(var a=Kc.next;a!==Mc;){var b=a.next,d=a.fetchListeners;for(var e in d){var g=d[e];g.listBindingID===l&&(g.promise.cancel(),delete d[e])}a.bindingMap&&a.bindingMap[l]&&f(a),a=b}delete lc[l]}};return(jd||id)&&(o.first=function(){return k(Ga(Kc))}),kd&&(o.last=function(){return k(Fa(Lc))}),hd&&(o.fromKey=function(a,b){return k(Ka(a,b))}),(id||jd&&hd)&&(o.fromIndex=function(a){return k(La(a))}),ld&&(o.fromDescription=function(a){return k(Ma(a))}),o},this.invalidateAll=function(){return xb()};var sd=function(a,b){var c=new l;a.then(function(a){c.complete(a)},function(a){c.error(a)});var d=c.promise.then(null,function(c){return"WinJS.UI.VirtualizedDataSource.resetCount"===c.name?(pc=null,a=b.getCount()):j.wrapError(c)}),f=0,g={get:function(){return f++,new j(function(a,b){d.then(a,b)},function(){0===--f&&(c.promise.cancel(),a.cancel(),g===pc&&(pc=null))})},reset:function(){c.error(new e("WinJS.UI.VirtualizedDataSource.resetCount"))},cancel:function(){c.promise.cancel(),a.cancel(),g===pc&&(pc=null)}};return g};this.getCount=function(){if(a.getCount){var b=this;return j.wrap().then(function(){if(sc||vc)return Jc;var c;if(!pc){var d;c=a.getCount();var e;c.then(function(){pc===d&&(pc=null),e=!0},function(){pc===d&&(pc=null),e=!0}),zc=0,e||(d=pc=sd(c,b))}return pc?pc.get():c}).then(function(a){if(!w(a)&&void 0!==a)throw new e("WinJS.UI.ListDataSource.InvalidRequestedCountReturned",s.invalidRequestedCountReturned);return a!==Jc&&(Jc===p.unknown?Jc=a:(la(a),ia())),0===a&&(Kc.next!==Lc||Lc.next!==Mc?wb():Kc.lastInSequence&&(H(Kc),Lc.index=0)),a}).then(null,function(a){return a.name===m.CountError.noResponse?(Na(o.failure),Jc):j.wrapError(a)})}return j.wrap(Jc)},hd&&(this.itemFromKey=function(a,b){return Ha(Ka(a,b))}),(id||jd&&hd)&&(this.itemFromIndex=function(a){return Ha(La(a))}),ld&&(this.itemFromDescription=function(a){return Ha(Ma(a))}),this.beginEdits=function(){sc=!0},a.insertAtStart&&(this.insertAtStart=function(b,c){return cc(b,c,Kc.lastInSequence?null:Kc.next,!0,function(){return a.insertAtStart(b,c)})}),a.insertBefore&&(this.insertBefore=function(b,c,d){var e=ac(d);return cc(b,c,e,!1,function(){return a.insertBefore(b,c,d,ua(e))})}),a.insertAfter&&(this.insertAfter=function(b,c,d){var e=ac(d);return cc(b,c,e?e.next:null,!0,function(){return a.insertAfter(b,c,d,ua(e))})}),a.insertAtEnd&&(this.insertAtEnd=function(b,c){return cc(b,c,Lc.firstInSequence?null:Lc,!1,function(){return a.insertAtEnd(b,c)})}),a.change&&(this.change=function(b,c){var d=ac(b);return new j(function(e,f){var g;Vb(function(){return a.change(b,c,ua(d))},rd.change,e,f,null,function(){g=d.item,d.itemNew={key:b,data:c},g?qa(d):Ba(d)},function(){g?(d.itemNew=g,qa(d)):wb()})})}),a.moveToStart&&(this.moveToStart=function(b){var c=ac(b);return dc(c,Kc.next,!0,function(){return a.moveToStart(b,ua(c))})}),a.moveBefore&&(this.moveBefore=function(b,c){var d=ac(b),e=ac(c);return dc(d,e,!1,function(){return a.moveBefore(b,c,ua(d),ua(e))})}),a.moveAfter&&(this.moveAfter=function(b,c){var d=ac(b),e=ac(c);return dc(d,e.next,!0,function(){return a.moveAfter(b,c,ua(d),ua(e))})}),a.moveToEnd&&(this.moveToEnd=function(b){var c=ac(b);return dc(c,Lc,!1,function(){return a.moveToEnd(b,ua(c))})}),a.remove&&(this.remove=function(b){Ia(b);var c=Oc[b];return new j(function(d,e){var f,g,h;Vb(function(){return a.remove(b,ua(c))},rd.remove,d,e,null,function(){c&&(f=c.next,g=c.firstInSequence,h=c.lastInSequence,wa(c,-1),sa(c,!1))},function(){c&&(R(c,f,!g,!h),wa(c,1),pa(c))})})}),this.endEdits=function(){sc=!1,$b()}}var h=100,n=1,o=m.DataSourceStatus,p=m.CountResult,q=m.FetchError,r=m.EditError,s={get listDataAdapterIsInvalid(){return"Invalid argument: listDataAdapter must be an object or an array."},get indexIsInvalid(){return"Invalid argument: index must be a non-negative integer."},get keyIsInvalid(){return"Invalid argument: key must be a string."},get invalidItemReturned(){return"Error: data adapter returned item that is not an object."},get invalidKeyReturned(){return"Error: data adapter returned item with undefined or null key."},get invalidIndexReturned(){return"Error: data adapter should return undefined, null or a non-negative integer for the index."},get invalidCountReturned(){return"Error: data adapter should return undefined, null, CountResult.unknown, or a non-negative integer for the count."},get invalidRequestedCountReturned(){return"Error: data adapter should return CountResult.unknown, CountResult.failure, or a non-negative integer for the count."},get refreshCycleIdentified(){return"refresh cycle found, likely data inconsistency"}},t="statuschanged",u=c.Class.define(function(){},{_baseDataSourceConstructor:a,_isVirtualizedDataSource:!0},{supportedForProcessing:!1});return c.Class.mix(u,f.eventMixin),u})})}),d("WinJS/VirtualizedDataSource/_GroupDataSource",["exports","../Core/_Base","../Core/_ErrorFromName","../Promise","../Scheduler","../Utilities/_UI","./_VirtualizedDataSourceImpl"],function(a,b,c,d,e,f,g){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_GroupDataSource:b.Namespace._lazy(function(){function a(){return new c(f.FetchError.doesNotExist)}function h(a){return a&&a.firstReached&&a.lastReached}var i=101,j=b.Class.define(function(a){this._groupDataAdapter=a},{beginNotifications:function(){},inserted:function(a,b,c){this._groupDataAdapter._inserted(a,b,c)},changed:function(a,b){this._groupDataAdapter._changed(a,b)},moved:function(a,b,c){this._groupDataAdapter._moved(a,b,c)},removed:function(a,b){this._groupDataAdapter._removed(a,b)},countChanged:function(a,b){0===a&&0!==b&&this._groupDataAdapter.invalidateGroups()},indexChanged:function(a,b,c){this._groupDataAdapter._indexChanged(a,b,c)},endNotifications:function(){this._groupDataAdapter._endNotifications()},reload:function(){this._groupDataAdapter._reload()}},{supportedForProcessing:!1}),k=b.Class.define(function(a,b,c,d){this._listBinding=a.createListBinding(new j(this)),this._groupKey=b,this._groupData=c,this._initializeState(),this._batchSize=i,this._count=null,d&&("number"==typeof d.groupCountEstimate&&(this._count=d.groupCountEstimate<0?null:Math.max(d.groupCountEstimate,1)),"number"==typeof d.batchSize&&(this._batchSize=d.batchSize+1)),this._listBinding.last&&(this.itemsFromEnd=function(a){var b=this;return this._fetchItems(function(){return b._lastGroup},function(a){if(a)return!1;var c=b._count;return+c!==c?!0:c>0?!0:void 0},function(){b._fetchBatch(b._listBinding.last(),b._batchSize-1,0)},a-1,0)})},{setNotificationHandler:function(a){this._listDataNotificationHandler=a},compareByIdentity:!0,itemsFromKey:function(a,b,c,d){var e=this;return this._fetchItems(function(){return e._keyMap[a]},function(){var a=e._lastGroup;return a?+a.index!==a.index?!0:void 0:!0},function(){d=d||{};var a="string"==typeof d.groupMemberKey&&e._listBinding.fromKey?e._listBinding.fromKey(d.groupMemberKey):"number"==typeof d.groupMemberIndex&&e._listBinding.fromIndex?e._listBinding.fromIndex(d.groupMemberIndex):void 0!==d.groupMemberDescription&&e._listBinding.fromDescription?e._listBinding.fromDescription(d.groupMemberDescription):e._listBinding.first(),b=Math.floor(.5*(e._batchSize-1));e._fetchBatch(a,b,e._batchSize-1-b)},b,c)},itemsFromIndex:function(a,b,c){var d=this;return this._fetchItems(function(){return d._indexMap[a]},function(){var b=d._lastGroup;return b?+b.index!==b.index?!0:a<=b.index?!0:void 0:!0},function(){d._fetchNextIndex()},b,c)},getCount:function(){if(this._lastGroup&&"number"==typeof this._lastGroup.index)return d.wrap(this._count);var a=this,b=new d(function(b){var c={initialBatch:function(){a._fetchNextIndex()},getGroup:function(){return null},countBefore:0,countAfter:0,complete:function(c){c&&(a._count=0);var d=a._count;return"number"==typeof d?(b(d),!0):!1}};a._fetchQueue.push(c),a._itemBatch||a._continueFetch(c)});return"number"==typeof this._count?d.wrap(this._count):b},invalidateGroups:function(){this._beginRefresh(),this._initializeState()},_initializeState:function(){this._count=null,this._indexMax=null,this._keyMap={},this._indexMap={},this._lastGroup=null,this._handleMap={},this._fetchQueue=[],this._itemBatch=null,this._itemsToFetch=0,this._indicesChanged=!1},_releaseItem:function(a){delete this._handleMap[a.handle],this._listBinding.releaseItem(a)},_processBatch:function(){for(var a=null,b=null,c=null,d=0,f=!0,g=0;g0&&(k.firstReached=!0,b||(j=0)),"number"!=typeof k.index&&"number"==typeof j){for(var l=k;l;l=this._nextGroup(l))l.index=j,this._indexMap[j]=l,j++;this._indexMax=j,"number"==typeof this._count&&!this._lastGroup&&this._count<=this._indexMax&&(this._count=this._indexMax+1)}c=h,d=0,b=k}else b&&(this._lastGroup=b,"number"==typeof b.index&&(this._count=b.index+1),this._listDataNotificationHandler.invalidateAll(),b=null)}a=h}var m;for(m=this._fetchQueue[0];m&&m.complete(f);m=this._fetchQueue[0])this._fetchQueue.splice(0,1);if(m){var n=this;e.schedule(function(){n._continueFetch(m)},e.Priority.normal,null,"WinJS.UI._GroupDataSource._continueFetch")}else this._itemBatch=null},_processPromise:function(a,b){a.retain(),this._itemBatch[b]=a;var c=this;a.then(function(a){c._itemBatch[b]=a,0===--c._itemsToFetch&&c._processBatch()})},_fetchBatch:function(a,b){this._itemBatch=new Array(this._batchSize),this._itemsToFetch=this._batchSize,this._processPromise(a,b);var c;for(this._listBinding.jumpToItem(a),c=b-1;c>=0;c--)this._processPromise(this._listBinding.previous(),c);for(this._listBinding.jumpToItem(a),c=b+1;c0&&0!==b.index&&!h(c=this._previousGroup(b))?this._fetchAdjacent(c&&c.lastReached?c.firstItem:b.firstItem,!1):(d=this._nextGroup(b),this._fetchAdjacent(d&&d.firstReached?d.lastItem:b.lastItem,!0)):this._fetchAdjacent(b.lastItem,!0):this._fetchAdjacent(b.firstItem,!1)}else this._fetchNextIndex()}},_fetchComplete:function(a,b,c,d,e){if(h(a)){var g=this._previousGroup(a);if(d||h(g)||0===a.index||0===b){var i=this._nextGroup(a);if(d||h(i)||this._lastGroup===a||0===c){for(var j=0,k=a;b>j&&(g=this._previousGroup(k),h(g));)k=g,j++;for(var l=0,m=a;c>l&&(i=this._nextGroup(m),h(i));)m=i,l++;for(var n=j+1+l,o=new Array(n),p=0;n>p;p++){var q={key:k.key,data:k.data,firstItemKey:k.firstItem.key,groupSize:k.size},r=k.firstItem.index;"number"==typeof r&&(q.firstItemIndexHint=r),o[p]=q,k=this._nextGroup(k)}var s={items:o,offset:j};return s.totalCount="number"==typeof this._count?this._count:f.CountResult.unknown,"number"==typeof a.index&&(s.absoluteIndex=a.index),m===this._lastGroup&&(s.atEnd=!0),e(s),!0}}}return!1},_fetchItems:function(b,c,e,f,g){var h=this;return new d(function(d,i){function j(e){var j=b();return j?h._fetchComplete(j,f,g,l,d,i):l&&!c(e)?(i(a()),!0):m>2?(i(a()),!0):(e?m++:m=0,!1)}var k=b(),l=!k,m=0;if(!j()){var n={initialBatch:l?e:null,getGroup:b,countBefore:f,countAfter:g,complete:j};h._fetchQueue.push(n),h._itemBatch||h._continueFetch(n)}})},_previousGroup:function(a){return a&&a.firstReached?(this._listBinding.jumpToItem(a.firstItem),this._handleMap[this._listBinding.previous().handle]):null},_nextGroup:function(a){return a&&a.lastReached?(this._listBinding.jumpToItem(a.lastItem),this._handleMap[this._listBinding.next().handle]):null},_invalidateIndices:function(a){this._count=null,this._lastGroup=null,"number"==typeof a.index&&(this._indexMax=a.index>0?a.index:null);for(var b=a;b&&"number"==typeof b.index;b=this._nextGroup(b))delete this._indexMap[b.index],b.index=null},_releaseGroup:function(a){this._invalidateIndices(a),delete this._keyMap[a.key],this._lastGroup===a&&(this._lastGroup=null),a.firstItem!==a.lastItem&&this._releaseItem(a.firstItem),this._releaseItem(a.lastItem)},_beginRefresh:function(){if(this._fetchQueue=[],this._itemBatch){for(var a=0;ai;i++)!function(a){d[a]&&(e[a]=function(){return g(d[a].apply(d,arguments))})}(h[i]);return d.fromKey&&(e.fromKey=function(a){return g(d.fromKey(a))}),d.fromIndex&&(e.fromIndex=function(a){return g(d.fromIndex(a))}),e.prev=function(){return g(d.prev())},e.next=function(){return g(d.next())},e};for(var i=["itemFromKey","itemFromIndex","itemFromDescription","insertAtStart","insertBefore","insertAfter","insertAtEnd","change","moveToStart","moveBefore","moveAfter","moveToEnd"],j=0,k=i.length;k>j;j++)!function(b){a[b]&&(h[b]=function(){return g(a[b].apply(a,arguments))})}(i[j]);["addEventListener","removeEventListener","dispatchEvent"].forEach(function(b){a[b]&&(h[b]=function(){return a[b].apply(a,arguments)})});var l=null;return Object.defineProperty(h,"groups",{get:function(){return l||(l=new b._GroupDataSource(a,c,d,e)),l},enumerable:!0,configurable:!0}),h}})}),d("WinJS/VirtualizedDataSource/_StorageDataSource",["exports","../Core/_WinRT","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_WriteProfilerMark","../Animations","../Promise","../Utilities/_UI","./_VirtualizedDataSourceImpl"],function(a,b,c,d,e,f,g,h,i,j){"use strict";d.Namespace._moduleDefine(a,"WinJS.UI",{StorageDataSource:d.Namespace._lazy(function(){var a=d.Class.define(function(a,c){f("WinJS.UI.StorageDataSource:constructor,StartTM");var d,e=b.Windows.Storage.FileProperties.ThumbnailMode.singleItem,g=256,h=b.Windows.Storage.FileProperties.ThumbnailOptions.useCurrentScale,i=!0;if("Pictures"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.picturesView,d=b.Windows.Storage.KnownFolders.picturesLibrary,g=190):"Music"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.musicView,d=b.Windows.Storage.KnownFolders.musicLibrary,g=256):"Documents"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.documentsView,d=b.Windows.Storage.KnownFolders.documentsLibrary,g=40):"Videos"===a&&(e=b.Windows.Storage.FileProperties.ThumbnailMode.videosView,d=b.Windows.Storage.KnownFolders.videosLibrary,g=190),d){var j=new b.Windows.Storage.Search.QueryOptions;j.folderDepth=b.Windows.Storage.Search.FolderDepth.deep,j.indexerOption=b.Windows.Storage.Search.IndexerOption.useIndexerWhenAvailable,this._query=d.createFileQueryWithOptions(j)}else this._query=a;if(c){if("number"==typeof c.mode&&(e=c.mode),"number"==typeof c.requestedThumbnailSize)g=Math.max(1,Math.min(c.requestedThumbnailSize,1024));else switch(e){case b.Windows.Storage.FileProperties.ThumbnailMode.picturesView:case b.Windows.Storage.FileProperties.ThumbnailMode.videosView:g=190;break;case b.Windows.Storage.FileProperties.ThumbnailMode.documentsView:case b.Windows.Storage.FileProperties.ThumbnailMode.listView:g=40;break;case b.Windows.Storage.FileProperties.ThumbnailMode.musicView:case b.Windows.Storage.FileProperties.ThumbnailMode.singleItem:g=256}"number"==typeof c.thumbnailOptions&&(h=c.thumbnailOptions),"boolean"==typeof c.waitForFileLoad&&(i=!c.waitForFileLoad)}this._loader=new b.Windows.Storage.BulkAccess.FileInformationFactory(this._query,e,g,h,i),this.compareByIdentity=!1,this.firstDataRequest=!0,f("WinJS.UI.StorageDataSource:constructor,StopTM")},{setNotificationHandler:function(a){this._notificationHandler=a,this._query.addEventListener("contentschanged",function(){a.invalidateAll()}),this._query.addEventListener("optionschanged",function(){a.invalidateAll()})},itemsFromEnd:function(a){var b=this;return f("WinJS.UI.StorageDataSource:itemsFromEnd,info"),this.getCount().then(function(c){return 0===c?h.wrapError(new e(i.FetchError.doesNotExist)):b.itemsFromIndex(c-1,Math.min(c-1,a-1),1)})},itemsFromIndex:function(a,b,c){function d(a){k._notificationHandler.changed(k._item(a.target))}b+c>64&&(b=Math.min(b,32),c=64-(b+1));var g=a-b,j=b+1+c,k=this;k.firstDataRequest&&(k.firstDataRequest=!1,j=Math.max(j,32));var l="WinJS.UI.StorageDataSource:itemsFromIndex("+g+"-"+(g+j-1)+")";return f(l+",StartTM"),this._loader.getItemsAsync(g,j).then(function(c){var m=c.size;if(b>=m)return h.wrapError(new e(i.FetchError.doesNotExist));var n=new Array(m),o=new Array(m);c.getMany(0,o);for(var p=0;m>p;p++)n[p]=k._item(o[p]),o[p].addEventListener("propertiesupdated",d);var q={items:n,offset:b,absoluteIndex:a};return j>m&&(q.totalCount=g+m),f(l+",StopTM"),q})},itemsFromDescription:function(a,b,c){var d=this;return f("WinJS.UI.StorageDataSource:itemsFromDescription,info"),this._query.findStartIndexAsync(a).then(function(a){return d.itemsFromIndex(a,b,c)})},getCount:function(){return f("WinJS.UI.StorageDataSource:getCount,info"),this._query.getItemCountAsync()},itemSignature:function(a){return a.folderRelativeId},_item:function(a){return{key:a.path||a.folderRelativeId,data:a}}},{supportedForProcessing:!1});return d.Class.derive(j.VirtualizedDataSource,function(b,c){this._baseDataSourceConstructor(new a(b,c))},{},{loadThumbnail:function(a,d){var e,i,j=!1;return new h(function(k){var l=d?!0:!1,m=function(m){if(m){var n=c.URL.createObjectURL(m,{oneTimeOnly:!0});i=i?i.then(function(b){return a.loadImage(n,b)}):a.loadImage(n,d).then(function(b){return a.isOnScreen().then(function(a){var c;return a&&l?c=g.fadeIn(b).then(function(){return b}):(b.style.opacity=1,c=h.wrap(b)),c})}),m.type===b.Windows.Storage.FileProperties.ThumbnailType.icon||m.returnedSmallerCachedSize||(f("WinJS.UI.StorageDataSource:loadThumbnail complete,info"),a.data.removeEventListener("thumbnailupdated",e),j=!1,i=i.then(function(a){e=null,i=null,k(a)}))}};e=function(a){j&&m(a.target.thumbnail)},a.data.addEventListener("thumbnailupdated",e),j=!0,m(a.data.thumbnail)},function(){a.data.removeEventListener("thumbnailupdated",e),j=!1,e=null,i&&(i.cancel(),i=null)})},supportedForProcessing:!1})})})}),d("WinJS/VirtualizedDataSource",["./VirtualizedDataSource/_VirtualizedDataSourceImpl","./VirtualizedDataSource/_GroupDataSource","./VirtualizedDataSource/_GroupedItemDataSource","./VirtualizedDataSource/_StorageDataSource"],function(){}),d("WinJS/Vui",["require","exports","./Core/_Global","./Utilities/_ElementUtilities"],function(a,b,c,d){function e(a){if(!a.defaultPrevented){var b=a.target,c=f[b.tagName];if(c)switch(a.state){case j.active:b[g.vuiData]||d.hasClass(b,h.active)?(d.removeClass(b,h.disambiguation),c.reactivate(b,a.label)):(d.addClass(b,h.active),c.activate(b,a.label));break;case j.disambiguation:d.addClass(b,h.active),d.addClass(b,h.disambiguation),c.disambiguate(b,a.label);break;case j.inactive:d.removeClass(b,h.active),d.removeClass(b,h.disambiguation),c.deactivate(b)}}}var f,g={vuiData:"_winVuiData"},h={active:"win-vui-active",disambiguation:"win-vui-disambiguation"},i={ListeningModeStateChanged:"ListeningStateChanged"},j={active:"active",disambiguation:"disambiguation",inactive:"inactive"};!function(a){a.BUTTON={activate:function(a,b){var c={nodes:[],width:a.style.width,height:a.style.height},e=d._getComputedStyle(a);for(a.style.width=e.width,a.style.height=e.height;a.childNodes.length;)c.nodes.push(a.removeChild(a.childNodes[0]));a[g.vuiData]=c,a.textContent=b},disambiguate:function(a,b){a.textContent=b},reactivate:function(a,b){a.textContent=b},deactivate:function(a){a.innerHTML="";var b=a[g.vuiData];a.style.width=b.width,a.style.height=b.height,b.nodes.forEach(function(b){return a.appendChild(b)}),delete a[g.vuiData]}}}(f||(f={})),c.document&&c.document.addEventListener(i.ListeningModeStateChanged,e)}),d("WinJS/_Accents",["require","exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_BaseUtils","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g){function h(a,b){t.push({selector:a,props:b}),i()}function i(){0!==t.length&&-1===u&&(u=f._setImmediate(function(){u=-1,m();var a=s?o.lightThemeSelector:o.darkThemeSelector,b=o.hoverSelector+" "+a,d=c.document.createElement("style");d.id=o.accentStyleId,d.textContent=t.map(function(c){var d=" "+c.props.map(function(a){return a.name+": "+r[a.value]+";"}).join("\n "),e=c.selector.split(",").map(function(a){return l(a)}),f=e.join(",\n"),g=f+" {\n"+d+"\n}",h=c.props.some(function(a){return 0!==a.value});if(h){var i=" "+c.props.map(function(a){return a.name+": "+r[a.value?a.value+3:a.value]+";"}).join("\n "),j=[];e.forEach(function(c){if(-1!==c.indexOf(o.hoverSelector)&&-1===c.indexOf(b)){j.push(c.replace(o.hoverSelector,b));var d=c.replace(o.hoverSelector,"").trim();-1!==p.indexOf(d[0])&&j.push(c.replace(o.hoverSelector+" ",b))}else j.push(a+" "+c),-1!==p.indexOf(c[0])&&j.push(a+c);g+="\n"+j.join(",\n")+" {\n"+i+"\n}"})}return g}).join("\n"),c.document.head.appendChild(d)}))}function j(){var a=(d.Windows.UI.ViewManagement.UIColorType,q.getColorValue(d.Windows.UI.ViewManagement.UIColorType.accent)),b=k(a,1);r[0]!==b&&(r.length=0,r.push(b,k(a,s?.6:.4),k(a,s?.8:.6),k(a,s?.9:.7),k(a,s?.4:.6),k(a,s?.6:.8),k(a,s?.7:.9)),i())}function k(a,b){return"rgba("+a.r+","+a.g+","+a.b+","+b+")"}function l(a){return a.replace(/ /g," ").replace(/ /g," ").trim(); -}function m(){var a=c.document.head.querySelector("#"+o.accentStyleId);a&&a.parentNode.removeChild(a)}function n(){t.length=0,m()}var o={accentStyleId:"WinJSAccentsStyle",themeDetectionTag:"winjs-themedetection-tag",hoverSelector:"html.win-hoverable",lightThemeSelector:".win-ui-light",darkThemeSelector:".win-ui-dark"},p=[".","#",":"],q=null,r=[],s=!1,t=[],u=-1;!function(a){a[a.accent=0]="accent",a[a.listSelectRest=1]="listSelectRest",a[a.listSelectHover=2]="listSelectHover",a[a.listSelectPress=3]="listSelectPress",a[a._listSelectRestInverse=4]="_listSelectRestInverse",a[a._listSelectHoverInverse=5]="_listSelectHoverInverse",a[a._listSelectPressInverse=6]="_listSelectPressInverse"}(b.ColorTypes||(b.ColorTypes={}));var v=b.ColorTypes;b.createAccentRule=h;var w=c.document.createElement(o.themeDetectionTag);c.document.head.appendChild(w);var x=g._getComputedStyle(w);s="0"===x.opacity,w.parentElement.removeChild(w);try{q=new d.Windows.UI.ViewManagement.UISettings,q.addEventListener("colorvalueschanged",j),j()}catch(y){r.push("rgb(0, 120, 215)","rgba(0, 120, 215, "+(s?"0.6":"0.4")+")","rgba(0, 120, 215, "+(s?"0.8":"0.6")+")","rgba(0, 120, 215, "+(s?"0.9":"0.7")+")","rgba(0, 120, 215, "+(s?"0.4":"0.6")+")","rgba(0, 120, 215, "+(s?"0.6":"0.8")+")","rgba(0, 120, 215, "+(s?"0.7":"0.9")+")")}var z={ColorTypes:v,createAccentRule:h,_colors:r,_reset:n,_isDarkTheme:s};e.Namespace.define("WinJS.UI._Accents",z)}),d("require-style",{load:function(a){throw new Error("Dynamic load not allowed: "+a)}}),d("require-style!less/styles-intrinsic",[],function(){}),d("require-style!less/colors-intrinsic",[],function(){}),d("WinJS/Controls/IntrinsicControls",["../Utilities/_Hoverable","../_Accents","require-style!less/styles-intrinsic","require-style!less/colors-intrinsic"],function(a,b){"use strict";b.createAccentRule(".win-link, .win-progress-bar, .win-progress-ring, .win-ring",[{name:"color",value:b.ColorTypes.accent}]),b.createAccentRule("::selection, .win-button.win-button-primary, .win-dropdown option:checked, select[multiple].win-dropdown option:checked",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-textbox:focus, .win-textarea:focus, .win-textbox:focus:hover, .win-textarea:focus:hover",[{name:"border-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-textbox::-ms-clear:hover:not(:active), .win-textbox::-ms-reveal:hover:not(:active)",[{name:"color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-checkbox:checked::-ms-check, .win-textbox::-ms-clear:active, .win-textbox::-ms-reveal:active",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-progress-bar::-webkit-progress-value, .win-progress-ring::-webkit-progress-value, .win-ring::-webkit-progress-value",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-progress-bar:not(:indeterminate)::-moz-progress-bar, .win-progress-ring:not(:indeterminate)::-moz-progress-bar, .win-ring:not(:indeterminate)::-moz-progress-bar",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-checkbox:indeterminate::-ms-check, .win-checkbox:hover:indeterminate::-ms-check, .win-radio:checked::-ms-check",[{name:"border-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-ms-thumb, .win-slider::-ms-fill-lower",[{name:"background",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-webkit-slider-thumb",[{name:"background",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-moz-range-thumb",[{name:"background",value:b.ColorTypes.accent}])}),d("WinJS/Controls/ElementResizeInstrument/_ElementResizeInstrument",["require","exports","../../Core/_BaseUtils","../../Core/_Base","../../Core/_Global","../../Core/_Log","../../Core/_ErrorFromName","../../Core/_Events","../../Promise","../../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j){"use strict";var k="display: block;position:absolute;top: 0;left: 0;height: 100%;width: 100%;overflow: hidden;pointer-events: none;z-index: -1;",l="win-resizeinstrument",m="about:blank",n={resize:"resize",_ready:"_ready"},o="resize",p="msHighContrastAdjust"in document.documentElement.style,q=function(){function a(){var a=this;this._disposed=!1,this._elementLoaded=!1,this._running=!1,this._objectWindowResizeHandlerBound=this._objectWindowResizeHandler.bind(this);var b=e.document.createElement("OBJECT");b.setAttribute("style",k),p?b.style.visibility="hidden":b.data=m,b.type="text/html",b.winControl=this,j.addClass(b,l),j.addClass(b,"win-disposable"),this._element=b,this._elementLoadPromise=new i(function(c){b.onload=function(){a._disposed||(a._elementLoaded=!0,a._objWindow.addEventListener(o,a._objectWindowResizeHandlerBound),c())}})}return Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"_objWindow",{get:function(){return this._elementLoaded&&this._element.contentDocument&&this._element.contentDocument.defaultView||null},enumerable:!0,configurable:!0}),a.prototype.addedToDom=function(){var a=this;if(!this._disposed){var b=this.element;if(!e.document.body.contains(b))throw new g("WinJS.UI._ElementResizeInstrument","ElementResizeInstrument initialization failed");f.log&&"static"===j._getComputedStyle(b.parentElement).position&&f.log("_ElementResizeInstrument can only detect size changes that are made to it's nearest positioned ancestor. Its parent element is not currently positioned."),!this._elementLoaded&&p&&(b.data="about:blank"),this._elementLoadPromise.then(function(){a._running=!0,a.dispatchEvent(n._ready,null);var b=i.timeout(50),c=function(){a.removeEventListener(n.resize,c),b.cancel()};a.addEventListener(n.resize,c),b.then(function(){a._objectWindowResizeHandler()})})}},a.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._elementLoadPromise.cancel(),this._objWindow&&this._objWindow.removeEventListener.call(this._objWindow,o,this._objectWindowResizeHandlerBound),this._running=!1)},a.prototype.addEventListener=function(a,b,c){},a.prototype.dispatchEvent=function(a,b){return!1},a.prototype.removeEventListener=function(a,b,c){},a.prototype._objectWindowResizeHandler=function(){var a=this;this._running&&this._batchResizeEvents(function(){a._fireResizeEvent()})},a.prototype._batchResizeEvents=function(a){this._pendingResizeAnimationFrameId&&c._cancelAnimationFrame(this._pendingResizeAnimationFrameId),this._pendingResizeAnimationFrameId=c._requestAnimationFrame(function(){a()})},a.prototype._fireResizeEvent=function(){this._disposed||this.dispatchEvent(n.resize,null)},a.EventNames=n,a}();b._ElementResizeInstrument=q,d.Class.mix(q,h.eventMixin)}),d("WinJS/Controls/ElementResizeInstrument",["require","exports"],function(a,b){function c(){return d||a(["./ElementResizeInstrument/_ElementResizeInstrument"],function(a){d=a}),d._ElementResizeInstrument}var d=null,e=Object.create({},{_ElementResizeInstrument:{get:function(){return c()}}});return e}),d("WinJS/Controls/ItemContainer/_Constants",["exports","../../Core/_Base"],function(a,b){"use strict";var c={};c._listViewClass="win-listview",c._viewportClass="win-viewport",c._rtlListViewClass="win-rtl",c._horizontalClass="win-horizontal",c._verticalClass="win-vertical",c._scrollableClass="win-surface",c._itemsContainerClass="win-itemscontainer",c._listHeaderContainerClass="win-headercontainer",c._listFooterContainerClass="win-footercontainer",c._padderClass="win-itemscontainer-padder",c._proxyClass="_win-proxy",c._itemClass="win-item",c._itemBoxClass="win-itembox",c._itemsBlockClass="win-itemsblock",c._containerClass="win-container",c._containerEvenClass="win-container-even",c._containerOddClass="win-container-odd",c._backdropClass="win-backdrop",c._footprintClass="win-footprint",c._groupsClass="win-groups",c._selectedClass="win-selected",c._selectionBorderClass="win-selectionborder",c._selectionBackgroundClass="win-selectionbackground",c._selectionCheckmarkClass="win-selectioncheckmark",c._selectionCheckmarkBackgroundClass="win-selectioncheckmarkbackground",c._pressedClass="win-pressed",c._headerClass="win-groupheader",c._headerContainerClass="win-groupheadercontainer",c._groupLeaderClass="win-groupleader",c._progressClass="win-progress",c._revealedClass="win-revealed",c._itemFocusClass="win-focused",c._itemFocusOutlineClass="win-focusedoutline",c._zoomingXClass="win-zooming-x",c._zoomingYClass="win-zooming-y",c._listLayoutClass="win-listlayout",c._gridLayoutClass="win-gridlayout",c._headerPositionTopClass="win-headerpositiontop",c._headerPositionLeftClass="win-headerpositionleft",c._structuralNodesClass="win-structuralnodes",c._singleItemsBlockClass="win-single-itemsblock",c._uniformGridLayoutClass="win-uniformgridlayout",c._uniformListLayoutClass="win-uniformlistlayout",c._cellSpanningGridLayoutClass="win-cellspanninggridlayout",c._laidOutClass="win-laidout",c._nonDraggableClass="win-nondraggable",c._nonSelectableClass="win-nonselectable",c._dragOverClass="win-dragover",c._dragSourceClass="win-dragsource",c._clipClass="win-clip",c._selectionModeClass="win-selectionmode",c._noCSSGrid="win-nocssgrid",c._hidingSelectionMode="win-hidingselectionmode",c._hidingSelectionModeAnimationTimeout=250,c._INVALID_INDEX=-1,c._UNINITIALIZED=-1,c._LEFT_MSPOINTER_BUTTON=0,c._RIGHT_MSPOINTER_BUTTON=2,c._TAP_END_THRESHOLD=10,c._DEFAULT_PAGES_TO_LOAD=5,c._DEFAULT_PAGE_LOAD_THRESHOLD=2,c._MIN_AUTOSCROLL_RATE=150,c._MAX_AUTOSCROLL_RATE=1500,c._AUTOSCROLL_THRESHOLD=100,c._AUTOSCROLL_DELAY=50,c._DEFERRED_ACTION=250,c._DEFERRED_SCROLL_END=250,c._SELECTION_CHECKMARK="",c._LISTVIEW_PROGRESS_DELAY=2e3;var d={uninitialized:0,low:1,medium:2,high:3},e={rebuild:0,remeasure:1,relayout:2,realize:3};c._ScrollToPriority=d,c._ViewChange=e,b.Namespace._moduleDefine(a,"WinJS.UI",c)}),d("WinJS/Controls/ItemContainer/_ItemEventsHandler",["exports","../../Core/_Global","../../Core/_WinRT","../../Core/_Base","../../Core/_BaseUtils","../../Core/_WriteProfilerMark","../../Animations","../../Animations/_TransitionAnimation","../../Promise","../../Utilities/_ElementUtilities","../../Utilities/_UI","./_Constants"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";var m=e._browserStyleEquivalents.transform;d.Namespace._moduleDefine(a,"WinJS.UI",{_ItemEventsHandler:d.Namespace._lazy(function(){function a(a,c){var d=b.document.createElement("div");return d.className=a,c||d.setAttribute("aria-hidden",!0),d}var g=j._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch",h=d.Class.define(function(a){this._site=a,this._work=[],this._animations={}},{dispose:function(){this._disposed||(this._disposed=!0,j._removeEventListener(b,"pointerup",this._resetPointerDownStateBound),j._removeEventListener(b,"pointercancel",this._resetPointerDownStateBound))},onPointerDown:function(a){f("WinJS.UI._ItemEventsHandler:MSPointerDown,StartTM");var d,h,i=this._site,m=a.pointerType===g;if(i.pressedElement=a.target,c.Windows.UI.Input.PointerPoint){var n=this._getCurrentPoint(a),o=n.properties;m||o.isInverted||o.isEraser||o.isMiddleButtonPressed?d=h=!1:(h=o.isRightButtonPressed,d=!h&&o.isLeftButtonPressed)}else d=a.button===l._LEFT_MSPOINTER_BUTTON,h=a.button===l._RIGHT_MSPOINTER_BUTTON;this._DragStartBound=this._DragStartBound||this.onDragStart.bind(this),this._PointerEnterBound=this._PointerEnterBound||this.onPointerEnter.bind(this),this._PointerLeaveBound=this._PointerLeaveBound||this.onPointerLeave.bind(this);var p=this._isInteractive(a.target),q=i.indexForItemElement(a.target),r=i.indexForHeaderElement(a.target),s=!p&&q!==l._INVALID_INDEX;if((m||d)&&this._site.pressedEntity.index===l._INVALID_INDEX&&!p&&(r===l._INVALID_INDEX?this._site.pressedEntity={type:k.ObjectType.item,index:q}:this._site.pressedEntity={type:k.ObjectType.groupHeader,index:r},this._site.pressedEntity.index!==l._INVALID_INDEX)){this._site.pressedPosition=j._getCursorPos(a);var t=i.verifySelectionAllowed(this._site.pressedEntity);this._canSelect=t.canSelect,this._canTapSelect=t.canTapSelect,this._site.pressedEntity.type===k.ObjectType.item?(this._site.pressedItemBox=i.itemBoxAtIndex(this._site.pressedEntity.index),this._site.pressedContainer=i.containerAtIndex(this._site.pressedEntity.index),this._site.animatedElement=this._site.pressedContainer,this._site.pressedHeader=null,this._togglePressed(!0,a),this._site.pressedContainer.addEventListener("dragstart",this._DragStartBound),m||(j._addEventListener(this._site.pressedContainer,"pointerenter",this._PointerEnterBound,!1),j._addEventListener(this._site.pressedContainer,"pointerleave",this._PointerLeaveBound,!1))):(this._site.pressedHeader=this._site.headerFromElement(a.target),e.isPhone?(this._site.animatedElement=this._site.pressedHeader,this._togglePressed(!0,a)):(this._site.pressedItemBox=null,this._site.pressedContainer=null,this._site.animatedElement=null)),this._resetPointerDownStateBound||(this._resetPointerDownStateBound=this._resetPointerDownStateForPointerId.bind(this)),m||(j._addEventListener(b,"pointerup",this._resetPointerDownStateBound,!1),j._addEventListener(b,"pointercancel",this._resetPointerDownStateBound,!1)),this._pointerId=a.pointerId,this._pointerRightButton=h}if(s&&m)try{j._setPointerCapture(i.canvasProxy,a.pointerId)}catch(u){return void f("WinJS.UI._ItemEventsHandler:MSPointerDown,StopTM")}this._site.pressedEntity.type===k.ObjectType.item&&this._selectionAllowed()&&this._multiSelection()&&this._site.pressedEntity.index!==l._INVALID_INDEX&&i.selection._getFocused().index!==l._INVALID_INDEX&&i.selection._pivot===l._INVALID_INDEX&&(i.selection._pivot=i.selection._getFocused().index),f("WinJS.UI._ItemEventsHandler:MSPointerDown,StopTM")},onPointerEnter:function(a){this._site.pressedContainer&&this._pointerId===a.pointerId&&this._togglePressed(!0,a)},onPointerLeave:function(a){this._site.pressedContainer&&this._pointerId===a.pointerId&&this._togglePressed(!1,a)},onDragStart:function(){this._resetPressedContainer()},_resetPressedContainer:function(){(this._site.pressedContainer||this._site.pressedHeader)&&this._site.animatedElement&&(this._togglePressed(!1),this._site.pressedContainer&&(this._site.pressedContainer.style[m.scriptName]="",this._site.pressedContainer.removeEventListener("dragstart",this._DragStartBound),j._removeEventListener(this._site.pressedContainer,"pointerenter",this._PointerEnterBound,!1),j._removeEventListener(this._site.pressedContainer,"pointerleave",this._PointerLeaveBound,!1)))},onClick:function(a){if(!this._skipClick){var b={type:k.ObjectType.item,index:this._site.indexForItemElement(a.target)};if(b.index===l._INVALID_INDEX&&(b.index=this._site.indexForHeaderElement(a.target),b.index!==l._INVALID_INDEX&&(b.type=k.ObjectType.groupHeader)),b.index!==l._INVALID_INDEX&&(j.hasClass(a.target,this._site.accessibleItemClass)||j.hasClass(a.target,l._headerClass))){var c=this._site.verifySelectionAllowed(b);c.canTapSelect&&this.handleTap(b),this._site.fireInvokeEvent(b,a.target)}}},onPointerUp:function(a){f("WinJS.UI._ItemEventsHandler:MSPointerUp,StartTM");var b=this._site;this._skipClick=!0;var c=this;e._yieldForEvents(function(){c._skipClick=!1});try{j._releasePointerCapture(b.canvasProxy,a.pointerId)}catch(d){}var h=a.pointerType===g,i=this._releasedElement(a),m=b.indexForItemElement(i),n=i&&j.hasClass(i,l._headerContainerClass)?b.indexForHeaderElement(b.pressedHeader):b.indexForHeaderElement(i);if(this._pointerId===a.pointerId){var o;if(o=n===l._INVALID_INDEX?{type:k.ObjectType.item,index:m}:{type:k.ObjectType.groupHeader,index:n},this._resetPressedContainer(),this._site.pressedEntity.type===k.ObjectType.item&&o.type===k.ObjectType.item&&this._site.pressedContainer&&this._site.pressedEntity.index===o.index)if(a.shiftKey||(b.selection._pivot=l._INVALID_INDEX),a.shiftKey){if(this._selectionAllowed()&&this._multiSelection()&&b.selection._pivot!==l._INVALID_INDEX){var p=Math.min(this._site.pressedEntity.index,b.selection._pivot),q=Math.max(this._site.pressedEntity.index,b.selection._pivot),r=this._pointerRightButton||a.ctrlKey||b.tapBehavior===k.TapBehavior.toggleSelect;b.selectRange(p,q,r)}}else a.ctrlKey&&this.toggleSelectionIfAllowed(this._site.pressedEntity.index);if(this._site.pressedHeader||this._site.pressedContainer){var s=j._getCursorPos(a),t=Math.abs(s.left-this._site.pressedPosition.left)<=l._TAP_END_THRESHOLD&&Math.abs(s.top-this._site.pressedPosition.top)<=l._TAP_END_THRESHOLD;this._pointerRightButton||a.ctrlKey||a.shiftKey||!(h&&t||!h&&this._site.pressedEntity.index===o.index&&this._site.pressedEntity.type===o.type)||(o.type===k.ObjectType.groupHeader?(this._site.pressedHeader=b.headerAtIndex(o.index),this._site.pressedItemBox=null,this._site.pressedContainer=null):(this._site.pressedItemBox=b.itemBoxAtIndex(o.index),this._site.pressedContainer=b.containerAtIndex(o.index),this._site.pressedHeader=null),this._canTapSelect&&this.handleTap(this._site.pressedEntity),this._site.fireInvokeEvent(this._site.pressedEntity,this._site.pressedItemBox||this._site.pressedHeader))}this._site.pressedEntity.index!==l._INVALID_INDEX&&b.changeFocus(this._site.pressedEntity,!0,!1,!0),this.resetPointerDownState()}f("WinJS.UI._ItemEventsHandler:MSPointerUp,StopTM")},onPointerCancel:function(a){this._pointerId===a.pointerId&&(f("WinJS.UI._ItemEventsHandler:MSPointerCancel,info"),this.resetPointerDownState())},onLostPointerCapture:function(a){this._pointerId===a.pointerId&&(f("WinJS.UI._ItemEventsHandler:MSLostPointerCapture,info"),this.resetPointerDownState())},onContextMenu:function(a){this._shouldSuppressContextMenu(a.target)&&a.preventDefault()},onMSHoldVisual:function(a){this._shouldSuppressContextMenu(a.target)&&a.preventDefault()},onDataChanged:function(){this.resetPointerDownState()},toggleSelectionIfAllowed:function(a){this._selectionAllowed(a)&&this._toggleItemSelection(a)},handleTap:function(a){if(a.type!==k.ObjectType.groupHeader){var b=this._site,c=b.selection;this._selectionAllowed(a.index)&&this._selectOnTap()&&(b.tapBehavior===k.TapBehavior.toggleSelect?this._toggleItemSelection(a.index):b.selectionMode!==k.SelectionMode.multi&&c._isIncluded(a.index)||c.set(a.index))}},_toggleItemSelection:function(a){var b=this._site,c=b.selection,d=c._isIncluded(a);b.selectionMode===k.SelectionMode.single?d?c.clear():c.set(a):d?c.remove(a):c.add(a)},_getCurrentPoint:function(a){return c.Windows.UI.Input.PointerPoint.getCurrentPoint(a.pointerId)},_containedInElementWithClass:function(a,b){if(a.parentNode)for(var c=a.parentNode.querySelectorAll("."+b+", ."+b+" *"),d=0,e=c.length;e>d;d++)if(c[d]===a)return!0;return!1},_isSelected:function(a){return this._site.selection._isIncluded(a)},_isInteractive:function(a){return this._containedInElementWithClass(a,"win-interactive")},_shouldSuppressContextMenu:function(a){var b=this._site.containerFromElement(a);return this._selectionAllowed()&&b&&!this._isInteractive(a)},_togglePressed:function(a,b){var c=this._site.pressedEntity.type===k.ObjectType.groupHeader;(c||!j.hasClass(this._site.pressedItemBox,l._nonSelectableClass))&&(this._staticMode(c)||(a?j.addClass(this._site.animatedElement,l._pressedClass):j.removeClass(this._site.animatedElement,l._pressedClass)))},_resetPointerDownStateForPointerId:function(a){this._pointerId===a.pointerId&&this.resetPointerDownState()},resetPointerDownState:function(){this._site.pressedElement=null,j._removeEventListener(b,"pointerup",this._resetPointerDownStateBound),j._removeEventListener(b,"pointercancel",this._resetPointerDownStateBound),this._resetPressedContainer(),this._site.pressedContainer=null,this._site.animatedElement=null,this._site.pressedHeader=null,this._site.pressedItemBox=null,this._site.pressedEntity={type:k.ObjectType.item,index:l._INVALID_INDEX},this._pointerId=null},_releasedElement:function(a){return b.document.elementFromPoint(a.clientX,a.clientY)},_applyUIInBatches:function(a){function b(){c._work.length>0?(c._flushUIBatches(),c._paintedThisFrame=e._requestAnimationFrame(b.bind(c))):c._paintedThisFrame=null}var c=this;this._work.push(a),this._paintedThisFrame||b()},_flushUIBatches:function(){if(this._work.length>0){var a=this._work;this._work=[];for(var b=0;bi;i++)b.appendChild(h._selectionTemplate[i].cloneNode(!0))}else for(var m=b.querySelectorAll(j._selectionPartsSelector),i=0,k=m.length;k>i;i++)b.removeChild(m[i]);j[d?"addClass":"removeClass"](b,l._selectedClass),f&&j[d?"addClass":"removeClass"](f,l._selectedClass)}e&&h.setAriaSelected(c,d)}});return h})})}),d("WinJS/Controls/ListView/_SelectionManager",["exports","../../Core/_Global","../../Core/_Base","../../Promise","../../_Signal","../../Utilities/_UI","../ItemContainer/_Constants"],function(a,b,c,d,e,f,g){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{_ItemSet:c.Namespace._lazy(function(){var b=c.Class.define(function(a,b,c){this._listView=a,this._ranges=b,this._itemsCount=c});return b.prototype={getRanges:function(){for(var a=[],b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];a.push({firstIndex:d.firstIndex,lastIndex:d.lastIndex,firstKey:d.firstKey,lastKey:d.lastKey})}return a},getItems:function(){return a.getItemsFromRanges(this._listView._itemsManager.dataSource,this._ranges)},isEverything:function(){return this.count()===this._itemsCount},count:function(){for(var a=0,b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];a+=d.lastIndex-d.firstIndex+1}return a},getIndices:function(){for(var a=[],b=0,c=this._ranges.length;c>b;b++)for(var d=this._ranges[b],e=d.firstIndex;e<=d.lastIndex;e++)a.push(e);return a}},b}),getItemsFromRanges:function(a,b){function c(){for(var a=[],c=0,e=b.length;e>c;c++)for(var f=b[c],g=f.firstIndex;g<=f.lastIndex;g++)a.push(g);return d.wrap(a)}var e=a.createListBinding(),f=[];return c().then(function(a){for(var b=0;bj;j++){var l=h[j];"number"==typeof l?this[a](c("Index",l,l)):l&&(g&&void 0!==l.key?e(c("Key",l.key,l.key)):g&&void 0!==l.firstKey&&void 0!==l.lastKey?e(c("Key",l.firstKey,l.lastKey)):void 0!==l.index&&"number"==typeof l.index?this[a](c("Index",l.index,l.index)):void 0!==l.firstIndex&&void 0!==l.lastIndex&&"number"==typeof l.firstIndex&&"number"==typeof l.lastIndex&&this[a](c("Index",l.firstIndex,l.lastIndex)))}return d.join(i)},_set:function(a){this._retainRange(a),this._ranges.push(a)},_add:function(a){for(var b,c,d,e=this,f=null,g=function(a,b){b.lastIndex>a.lastIndex&&(a.lastIndex=b.lastIndex,a.lastKey=b.lastKey,a.lastPromise&&a.lastPromise.release(),a.lastPromise=e._getListBinding().fromIndex(a.lastIndex).retain())},h=0,i=this._ranges.length;i>h;h++){if(b=this._ranges[h],a.firstIndexh;h++){if(b=this._ranges[h],a.lastIndexa.lastIndex,d&&g(this._ranges[c],f),this._removeRanges(c+1,h-c-1);break}if(a.lastIndex===b.firstIndex){g(this._ranges[c],b),this._removeRanges(c+1,h-c);break}f=b}h>=i&&(g(this._ranges[c],this._ranges[i-1]),this._removeRanges(c+1,i-c-1))}},_remove:function(a){function b(a){return c._getListBinding().fromIndex(a).retain()}for(var c=this,d=[],e=0,f=this._ranges.length;f>e;e++){var g=this._ranges[e];g.lastIndexa.lastIndex?d.push(g):g.firstIndex=a.firstIndex&&g.lastIndex<=a.lastIndex?(d.push({firstIndex:g.firstIndex,firstKey:g.firstKey,firstPromise:g.firstPromise,lastIndex:a.firstIndex-1,lastPromise:b(a.firstIndex-1)}),g.lastPromise.release()):g.lastIndex>a.lastIndex&&g.firstIndex>=a.firstIndex&&g.firstIndex<=a.lastIndex?(d.push({firstIndex:a.lastIndex+1,firstPromise:b(a.lastIndex+1),lastIndex:g.lastIndex,lastKey:g.lastKey,lastPromise:g.lastPromise}),g.firstPromise.release()):g.firstIndexa.lastIndex?(d.push({firstIndex:g.firstIndex,firstKey:g.firstKey,firstPromise:g.firstPromise,lastIndex:a.firstIndex-1,lastPromise:b(a.firstIndex-1)}),d.push({firstIndex:a.lastIndex+1,firstPromise:b(a.lastIndex+1),lastIndex:g.lastIndex,lastKey:g.lastKey,lastPromise:g.lastPromise})):(g.firstPromise.release(),g.lastPromise.release())}this._ranges=d},_ensureKeys:function(){for(var a=[d.wrap()],b=this,c=function(a,b){var c=a+"Key";if(b[c])return d.wrap();var e=b[a+"Promise"];return e.then(function(a){a&&(b[c]=a.key)}),e},e=0,f=this._ranges.length;f>e;e++){var g=this._ranges[e];a.push(c("first",g)),a.push(c("last",g))}return d.join(a).then(function(){b._ranges=b._ranges.filter(function(a){return a.firstKey&&a.lastKey})}),d.join(a)},_mergeRanges:function(a,b){a.lastIndex=b.lastIndex,a.lastKey=b.lastKey},_isIncluded:function(a){if(this.isEverything())return!0;for(var b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];if(d.firstIndex<=a&&a<=d.lastIndex)return!0}return!1},_ensureCount:function(){var a=this;return this._listView._itemsCount().then(function(b){a._itemsCount=b})},_insertRange:function(a,b){this._retainRange(b),this._ranges.splice(a,0,b)},_removeRanges:function(a,b){for(var c=0;b>c;c++)this._releaseRange(this._ranges[a+c]);this._ranges.splice(a,b)},_retainRange:function(a){a.firstPromise||(a.firstPromise=this._getListBinding().fromIndex(a.firstIndex).retain()),a.lastPromise||(a.lastPromise=this._getListBinding().fromIndex(a.lastIndex).retain())},_retainRanges:function(){for(var a=0,b=this._ranges.length;b>a;a++)this._retainRange(this._ranges[a])},_releaseRange:function(a){a.firstPromise.release(),a.lastPromise.release()},_releaseRanges:function(a){for(var b=0,c=a.length;c>b;++b)this._releaseRange(a[b])},_getListBinding:function(){return this._listView._itemsManager._listBinding}},{supportedForProcessing:!1})}),_SelectionManager:c.Namespace._lazy(function(){var c=function(b){this._listView=b,this._selected=new a._Selection(this._listView),this._pivot=g._INVALID_INDEX,this._focused={type:f.ObjectType.item,index:0},this._pendingChange=d.wrap()};return c.prototype={count:function(){return this._selected.count()},getIndices:function(){return this._selected.getIndices()},getItems:function(){return this._selected.getItems()},getRanges:function(){return this._selected.getRanges()},isEverything:function(){return this._selected.isEverything()},set:function(b){var c=this,f=new e;return this._synchronize(f).then(function(){var e=new a._Selection(c._listView);return e.set(b).then(function(){c._set(e),f.complete()},function(a){return e.clear(),f.complete(),d.wrapError(a)})})},clear:function(){var b=this,c=new e;return this._synchronize(c).then(function(){var e=new a._Selection(b._listView);return e.clear().then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},add:function(a){var b=this,c=new e;return this._synchronize(c).then(function(){var e=b._cloneSelection();return e.add(a).then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},remove:function(a){var b=this,c=new e;return this._synchronize(c).then(function(){var e=b._cloneSelection();return e.remove(a).then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},selectAll:function(){var b=this,c=new e;return this._synchronize(c).then(function(){var e=new a._Selection(b._listView);return e.selectAll().then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},_synchronize:function(a){var b=this;return this._listView._versionManager.unlocked.then(function(){var c=b._pendingChange;return b._pendingChange=d.join([c,a.promise]).then(function(){}),c})},_reset:function(){this._pivot=g._INVALID_INDEX,this._setFocused({type:f.ObjectType.item,index:0},this._keyboardFocused()),this._pendingChange.cancel(),this._pendingChange=d.wrap(),this._selected.clear(),this._selected=new a._Selection(this._listView)},_dispose:function(){this._selected.clear(),this._selected=null,this._listView=null},_set:function(a){var b=this;return this._fireSelectionChanging(a).then(function(c){return c?(b._selected.clear(),b._selected=a,b._listView._updateSelection(),b._fireSelectionChanged()):a.clear(),c})},_fireSelectionChanging:function(a){var c=b.document.createEvent("CustomEvent"),e=d.wrap();c.initCustomEvent("selectionchanging",!0,!0,{newSelection:a,preventTapBehavior:function(){},setPromise:function(a){e=a}});var f=this._listView._element.dispatchEvent(c);return e.then(function(){return f})},_fireSelectionChanged:function(){var a=b.document.createEvent("CustomEvent");a.initCustomEvent("selectionchanged",!0,!1,null),this._listView._element.dispatchEvent(a)},_getFocused:function(){return{type:this._focused.type,index:this._focused.index}},_setFocused:function(a,b){this._focused={type:a.type,index:a.index},this._focusedByKeyboard=b},_keyboardFocused:function(){return this._focusedByKeyboard},_updateCount:function(a){this._selected._itemsCount=a},_isIncluded:function(a){return this._selected._isIncluded(a)},_cloneSelection:function(){var b=new a._Selection(this._listView); +!function(){var a="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:{};!function(b){"function"==typeof define&&define.amd?define(["./base"],b):(a.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.2.winjs.2017.3.14 ui.js,StartTM"),b("object"==typeof exports&&"string"!=typeof exports.nodeName?require("./base"):a.WinJS),a.msWriteProfilerMark&&msWriteProfilerMark("WinJS.4.4 4.4.2.winjs.2017.3.14 ui.js,StopTM"))}(function(b){var c=b.Utilities._require,d=b.Utilities._define;d("WinJS/VirtualizedDataSource/_VirtualizedDataSourceImpl",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../Scheduler","../_Signal","../Utilities/_UI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{VirtualizedDataSource:c.Namespace._lazy(function(){function a(a,c){function f(a){var b="WinJS.UI.VirtualizedDataSource:"+pd+":"+a+",StartTM";i(b),g.log&&g.log(b,"winjs vds","perf")}function u(a){var b="WinJS.UI.VirtualizedDataSource:"+pd+":"+a+",StopTM";i(b),g.log&&g.log(b,"winjs vds","perf")}function v(a){return"number"==typeof a&&a>=0}function w(a){return v(a)&&a===Math.floor(a)}function x(a){if(null===a)a=void 0;else if(void 0!==a&&!w(a))throw new e("WinJS.UI.ListDataSource.InvalidIndexReturned",s.invalidIndexReturned);return a}function y(a){if(null===a)a=void 0;else if(void 0!==a&&!w(a)&&a!==p.unknown)throw new e("WinJS.UI.ListDataSource.InvalidCountReturned",s.invalidCountReturned);return a}function z(){var a=(nc++).toString(),b={handle:a,item:null,itemNew:null,fetchListeners:null,cursorCount:0,bindingMap:null};return Nc[a]=b,b}function A(){return z()}function B(a,b){a.prev=b.prev,a.next=b,a.prev.next=a,b.prev=a}function C(a){a.lastInSequence&&(delete a.lastInSequence,a.prev.lastInSequence=!0),a.firstInSequence&&(delete a.firstInSequence,a.next.firstInSequence=!0),a.prev.next=a.next,a.next.prev=a.prev}function D(a){for(;!a.firstInSequence;)a=a.prev;return a}function E(a){for(;!a.lastInSequence;)a=a.next;return a}function F(a,b,c){return b.prev.next=c.next,c.next.prev=b.prev,b.prev=a.prev,c.next=a,b.prev.next=b,a.prev=c,!0}function G(a,b,c){return b.prev.next=c.next,c.next.prev=b.prev,b.prev=a,c.next=a.next,a.next=b,c.next.prev=c,!0}function H(a){delete a.lastInSequence,delete a.next.firstInSequence}function I(a){var b=a.next;a.lastInSequence=!0,b.firstInSequence=!0,b===Lc&&na(Lc,void 0)}function J(a,b,c,d){B(a,b);var e=a.prev;e.lastInSequence&&(c?delete e.lastInSequence:a.firstInSequence=!0,d?delete b.firstInSequence:a.lastInSequence=!0)}function K(a,b){a.key=b,Oc[a.key]=a}function L(a,b,c){+b===b&&(a.index=b,c[b]=a,Ac||(a.firstInSequence&&a.prev&&a.prev.index===b-1&&H(a.prev),a.lastInSequence&&a.next&&a.next.index===b+1&&H(a)))}function M(a,b){var c=b===Pc?A():z();return B(c,a),c}function N(a,b,c){var d=M(a,c);return d.firstInSequence=!0,d.lastInSequence=!0,L(d,b,c),d}function O(a,b){return N(a,b,Pc)}function P(a,b){var c=M(a,b);return delete a.firstInSequence,c.prev.index===c.index-1?delete c.prev.lastInSequence:c.firstInSequence=!0,L(c,a.index-1,b),c}function Q(a,b){var c=M(a.next,b);return delete a.lastInSequence,c.next.index===c.index+1?delete c.next.firstInSequence:c.lastInSequence=!0,L(c,a.index+1,b),c}function R(a,b,c,d){J(a,b,c,d),Oc[a.key]=a,void 0!==a.index&&(Pc[a.index]=a)}function S(a){C(a),a.key&&delete Oc[a.key],void 0!==a.index&&Pc[a.index]===a&&delete Pc[a.index];var b=a.bindingMap;for(var c in b){var d=b[c].handle;d&&Nc[d]===a&&delete Nc[d]}Nc[a.handle]===a&&delete Nc[a.handle]}function T(a){return!Nc[a.handle]}function U(a,b,c,d,e){var f=e?null:b[a-1];if(f&&(f.next!==d||d.firstInSequence))f=f.next;else if(f=b[a+1],!f){f=c.next;for(var g;;){if(f.firstInSequence&&(g=f),!(a>=f.index)||f===d)break;f=f.next}f!==d||d.firstInSequence||(f=g&&void 0===g.index?g:void 0)}return f}function V(a){return!a.item&&!a.itemNew&&a!==Lc}function W(a,b){Object.defineProperty(a,"handle",{value:b,writable:!1,enumerable:!1,configurable:!0})}function X(a,b,c){W(a,c),Object.defineProperty(a,"index",{get:function(){for(;b.slotMergedWith;)b=b.slotMergedWith;return b.index},enumerable:!1,configurable:!0})}function Y(a){if(void 0===a)return a;var b=JSON.stringify(a);if(void 0===b)throw new e("WinJS.UI.ListDataSource.ObjectIsNotValidJson",s.objectIsNotValidJson);return b}function Z(b){return a.itemSignature?a.itemSignature(b.data):Y(b.data)}function $(b){var c=b.itemNew;b.itemNew=null,c&&(c=Object.create(c),X(c,b,b.handle),a.compareByIdentity||(b.signature=Z(c))),b.item=c,delete b.indexRequested,delete b.keyRequested}function _(a){return a.bindingMap||a.cursorCount>0}function aa(a){return _(a)||a.fetchListeners||a.directFetchListeners}function ba(a){return aa(a)||!a.firstInSequence&&_(a.prev)||!a.lastInSequence&&_(a.next)||!id&&(!a.firstInSequence&&a.prev!==Kc&&!(a.prev.item||a.prev.itemNew))|(!a.lastInSequence&&a.next!==Lc&&!(a.next.item||a.next.itemNew))}function ca(a){I(a),S(a)}function da(){if(!vc){Rc&&!T(Rc)||(Rc=Lc.prev);for(var a=Rc.prev,b=Rc.next,c=0,d=function(a){a===Lc||ba(a)||(hc>=c?c++:ca(a))};a||b;){if(a){var e=a;a=e.prev,e!==Kc&&d(e)}if(b){var f=b;b=f.next,f!==Mc&&d(f)}}Qc=0}}function ea(a){aa(a)||(Qc++,vc||Uc||(Rc=a,Qc>hc&&!Sc&&(Sc=!0,k.schedule(function(){Sc=!1,da()},k.Priority.idle,null,"WinJS.UI.VirtualizedDataSource.releaseSlotIfUnrequested"))))}function fa(a){for(var b in lc)a(lc[b])}function ga(a,b){for(var c in a.bindingMap)b(a.bindingMap[c].bindingRecord,c)}function ha(a){return a.notificationsSent||(a.notificationsSent=!0,a.notificationHandler.beginNotifications&&a.notificationHandler.beginNotifications()),a.notificationHandler}function ia(){sc||yc||fa(function(a){a.notificationsSent&&(a.notificationsSent=!1,a.notificationHandler.endNotifications&&a.notificationHandler.endNotifications())})}function ja(a,b){var c=a.bindingMap;if(c){var d=c[b];if(d){var e=d.handle;if(e)return e}}return a.handle}function ka(a,b){return a&&a.handle!==b&&(a=Object.create(a),W(a,b)),a}function la(a){var b=Jc;Jc=a,fa(function(a){a.notificationHandler&&a.notificationHandler.countChanged&&ha(a).countChanged(Jc,b)})}function ma(a,b){ga(a,function(c,d){c.notificationHandler.indexChanged&&ha(c).indexChanged(ja(a,d),a.index,b)})}function na(a,b){var c=a.index;if(void 0!==c&&Pc[c]===a&&delete Pc[c],+b===b)L(a,b,Pc);else{if(+c!==c)return;delete a.index}ma(a,c)}function oa(a,b,c,d,e){var f={};if((d||!b.lastInSequence)&&(e||!c.firstInSequence))if(b===Kc)if(c===Lc)for(var g in lc)f[g]=lc[g];else for(var g in c.bindingMap)f[g]=lc[g];else if(c===Lc||c.bindingMap)for(var g in b.bindingMap)(c===Lc||c.bindingMap[g])&&(f[g]=lc[g]);for(var g in a.bindingMap)f[g]=lc[g];return f}function pa(a){var b,c=a.prev,d=a.next,e=oa(a,c,d);for(b in e){var f=e[b];f.notificationHandler&&ha(f).inserted(f.itemPromiseFromKnownSlot(a),c.lastInSequence||c===Kc?null:ja(c,b),d.firstInSequence||d===Lc?null:ja(d,b))}}function qa(a){var b=a.item;$(a),ga(a,function(c,d){var e=ja(a,d);ha(c).changed(ka(a.item,e),ka(b,e))})}function ra(a,b,c,d,e){var f,g=b.prev;if(b===a){if(!a.firstInSequence||!c)return;b=a.next}else if(g===a){if(!a.lastInSequence||!d)return;g=a.prev}if(!e){var h=oa(a,g,b,c,d);for(f in h){var i=h[f];ha(i).moved(i.itemPromiseFromKnownSlot(a),(g.lastInSequence||g===a.prev)&&!c||g===Kc?null:ja(g,f),(b.firstInSequence||b===a.next)&&!d||b===Lc?null:ja(b,f))}fa(function(b){b.adjustCurrentSlot(a)})}C(a),J(a,b,c,d)}function sa(a,b){Ba(a,!0),ga(a,function(c,d){ha(c).removed(ja(a,d),b)}),fa(function(b){b.adjustCurrentSlot(a)}),S(a)}function ta(a){for(;!a.firstInSequence;)a=a.prev;var b;do{b=a.lastInSequence;var c=a.next;sa(a,!0),a=c}while(!b)}function ua(a){var b;if(!a)return b;for(var c=0;!a.firstInSequence;)c++,a=a.prev;return"number"==typeof a.indexNew?a.indexNew+c:"number"==typeof a.index?a.index+c:b}function va(a,b){for(a=a.next;a;a=a.next)if(a.firstInSequence){var c=void 0!==a.indexNew?a.indexNew:a.index;void 0!==c&&(a.indexNew=c+b)}zc+=b,Ac=!0,Uc?wb():Cc++}function wa(a,b){if(a.firstInSequence){var c;if(0>b)c=a.indexNew,void 0!==c?delete a.indexNew:c=a.index,a.lastInSequence||(a=a.next,void 0!==c&&(a.indexNew=c));else if(!a.lastInSequence){var d=a.next;c=d.indexNew,void 0!==c?delete d.indexNew:c=d.index,void 0!==c&&(a.indexNew=c)}}va(a,b)}function xa(a,b){for(var c=Kc;c!==Lc;c=c.next){var d=c.indexNew;if(void 0!==d&&d>=a){va(c,b);break}}}function ya(){var a,b,c;for(a=Kc;;a=a.next){if(a.firstInSequence){if(b=a,void 0!==a.indexNew){if(c=a.indexNew,delete a.indexNew,isNaN(c))break}else c=a.index;a!==Kc&&a.prev.index===c-1&&H(a.prev)}if(a.lastInSequence)for(var d=c,e=b;e!==a.next;e=e.next)d!==e.index&&na(e,d),+d===d&&d++;if(a===Lc)break}for(;a!==Mc;a=a.next)void 0!==a.index&&a!==Lc&&na(a,void 0);Ac=!1,zc&&+Jc===Jc&&(pc?pc.reset():la(Jc+zc),zc=0)}function za(a,b,c,d,e){if(a.item)return new j(function(b){e?e(b,a.item):b(a.item)});var f={listBindingID:d,retained:!1};return a[b]||(a[b]={}),a[b][c]=f,f.promise=new j(function(a,b){f.complete=e?function(b){e(a,b)}:a,f.error=b},function(){for(;a.slotMergedWith;)a=a.slotMergedWith;var d=a[b];if(d){if(delete d[c],Object.keys(d).length>0)return;delete a[b]}ea(a)}),f.promise}function Aa(a,b){for(var c in b)b[c].complete(a)}function Ba(a,b){var c=a.fetchListeners,d=a.directFetchListeners;if(c||d){$(a);var e=a.item,f=function(a){b?Aa(e,a):Gc.push(function(){Aa(e,a)})};d&&(a.directFetchListeners=null,f(d)),c&&(a.fetchListeners=null,f(c)),ea(a)}}function Ca(){var a=Gc;Gc=[];for(var b=0,c=a.length;c>b;b++)a[b]()}function Da(a,b){var c=a.directFetchListeners;if(c){a.directFetchListeners=null;for(var d in c)c[d].error(b);ea(a)}}function Ea(a){return a.firstInSequence&&P(a,Pc),a.lastInSequence&&Q(a,Pc),a.itemNew&&$(a),ab(),a}function Fa(a){if(!a.firstInSequence){var b=a.prev;return b===Kc?null:Ea(b)}return Ea(P(a,Pc))}function Ga(a){if(!a.lastInSequence){var b=a.next;return b===Lc?null:Ea(b)}return Ea(Q(a,Pc))}function Ha(a){return a?za(a,"directFetchListeners",(oc++).toString()):j.wrap(null)}function Ia(a){if("string"!=typeof a||!a)throw new e("WinJS.UI.ListDataSource.KeyIsInvalid",s.keyIsInvalid)}function Ja(a){var b=O(Mc);return K(b,a),b.keyRequested=!0,b}function Ka(a,b){Ia(a);var c=Oc[a];return c||(c=Ja(a),c.hints=b),Ea(c)}function La(a){if("number"!=typeof a||0>a)throw new e("WinJS.UI.ListDataSource.IndexIsInvalid",s.indexIsInvalid);if(Lc.index<=a)return null;var b=Pc[a];if(!b){var c=U(a,Pc,Kc,Lc);if(!c)return null;c===Lc&&a>=Lc&&na(Lc,void 0),b=c.prev.index===a-1?Q(c.prev,Pc):c.index===a+1?P(c,Pc):O(c,a)}return b.item||(b.indexRequested=!0),Ea(b)}function Ma(a){var b=O(Mc);return b.description=a,Ea(b)}function Na(a){if(jc=a,ic!==jc){var c=function(){kc=!1,ic!==jc&&(ic=jc,qd.dispatchEvent(t,ic))};jc===o.failure?c():kc||(kc=!0,b.setTimeout(c,40))}}function Oa(a){var b=a.fetchID;return b&&Fc[b]}function Pa(a,b){a.fetchID=b}function Qa(){var a=Ec;return Ec++,Fc[a]=!0,a}function Ra(a,b,c){var d=Qa();Pa(a,d);for(var e=a;!e.firstInSequence&&b>0;)e=e.prev,b--,Pa(e,d);for(var f=a;!f.lastInSequence&&c>0;)f=f.next,c--,Pa(f,d);return d}function Sa(a){var b=a.items,c=a.offset,d=a.totalCount,e=a.absoluteIndex,f=a.atStart,g=a.atEnd;if(v(e)){if(v(d)){var h=b.length;e-c+h===d&&(g=!0)}c===e&&(f=!0)}f&&(b.unshift(Hc),a.offset++),g&&b.push(Ic)}function Ta(a,b,c){return delete Fc[c],b!==Cc||T(a)?(ab(),!1):!0}function Ua(a,b,c,d){var g=Cc;c.then(function(c){if(!c.items||!c.items.length)return j.wrapError(new e(q.doesNotExist));var h="itemsFetched id="+b+" count="+c.items.length;f(h),Ta(a,g,b)&&(+d===d&&(c.absoluteIndex=d),Sa(c),qb(a,c.items,c.offset,c.totalCount,c.absoluteIndex)),u(h)}).then(null,function(c){Ta(a,g,b)&&rb(a,c)})}function Va(a,b,c,d){var g=Cc;d.then(function(d){if(!d.items||!d.items.length)return j.wrapError(new e(q.doesNotExist));var h="itemsFetched id="+c+" count="+d.items.length;f(h),Ta(b,g,c)&&(d.absoluteIndex=a,Sa(d),sb(a,b,d.items,d.offset,d.totalCount,d.absoluteIndex)),u(h)}).then(null,function(){Ta(b,g,c)&&tb(a,b,g)})}function Wa(a,b){var c=Ra(a,0,b-1);jd?Ua(a,c,jd(c,b),0):Ua(a,c,id(c,0,0,b-1),0)}function Xa(a,b){var c=Ra(a,b-1,0);Ua(a,c,kd(c,b))}function Ya(a,b,c){var d=Ra(a,b,c);Ua(a,d,hd(d,a.key,b,c,a.hints))}function Za(a,b,c){var d=a.index;if(b>d&&(b=d),id){var e=Ra(a,b,c);Ua(a,e,id(e,d,b,c),d)}else if(a.key)Ya(a,b,c);else{var f,g,h=Kc,i=d+1;for(f=a.prev;f!==Kc;f=f.prev)if(void 0!==f.index&&f.key){g=d-f.index,i>g&&(i=g,h=f);break}for(f=a.next;f!==Lc;f=f.next)if(void 0!==f.index&&f.key){g=f.index-d,i>g&&(i=g,h=f);break}if(h===Kc){var e=Ra(a,0,d+1);Va(0,a,e,jd(e,d+1))}else{var j=Math.max(h.index-d,0),k=Math.max(d-h.index,0),e=Ra(h,j,k);Va(h.index,a,e,hd(e,h.key,j,k,a.hints))}}}function $a(a,b,c){var d=Ra(a,b,c);Ua(a,d,ld(d,a.description,b,c))}function _a(){if(!Uc){for(var a,b,c,d,e,f,g,h,i=!1,j=!1,k=Kc.next;k!==Mc;){var l=k.next;if(k!==Lc&&V(k)&&(j=!0,a?b++:(a=k,b=1),Oa(k)&&(i=!0),k.keyRequested&&!c&&(c=k,d=b-1),void 0===k.description||e||(e=k,f=b-1),k.indexRequested&&!g&&(g=k,h=b-1),k.lastInSequence||l===Mc||!V(l))){if(i)i=!1;else{if(qc=!1,!a.firstInSequence&&a.prev.key&&hd?Ya(a.prev,0,b):!k.lastInSequence&&l.key&&hd?Ya(l,b,0):a.prev!==Kc||a.firstInSequence||!jd&&!id?l===Lc&&!k.lastInSequence&&kd?Xa(k,b):c?Ya(c,d,b-1-d):e?$a(e,f,b-1-f):g?Za(g,h,b-1-h):"number"==typeof a.index?Za(a,b-1,0):ta(a):Wa(a,b),qc)return void ab();if(Uc)return}a=g=c=null}k=l}Na(j?o.waiting:o.ready)}}function ab(){Dc||(Dc=!0,k.schedule(function(){Dc=!1,_a(),ia()},k.Priority.max,null,"WinJS.UI.ListDataSource._fetch"))}function bb(b){var c=b.itemNew;if(!c)return!1;var d=b.item;for(var e in d)switch(e){case"data":break;default:if(d[e]!==c[e])return!0}return a.compareByIdentity?d.data!==c.data:b.signature!==Z(c)}function cb(a){aa(a)?bb(a)?qa(a):a.itemNew=null:a.item=null}function db(a){a.item?cb(a):Ba(a)}function eb(a,b){a.key||K(a,b.key),a.itemNew=b,db(a)}function fb(a,b,c){var d=b.bindingMap;if(d)for(var e in c)if(d[e]){var f=b.fetchListeners;for(var g in f){var h=f[g];h.listBindingID===e&&h.retained&&(delete f[g],h.complete(null))}var i=d[e].bindingRecord;ha(i).removed(ja(b,e),!0,ja(a,e)),b.bindingMap&&delete b.bindingMap[e]}}function gb(a,b){if(a.index!==b.index){var c=b.index;b.index=a.index,ma(b,c)}b.slotMergedWith=a;var d=b.bindingMap;for(var e in d){a.bindingMap||(a.bindingMap={});var f=d[e];f.handle||(f.handle=b.handle),Nc[f.handle]=a,a.bindingMap[e]=f}fa(function(c){c.adjustCurrentSlot(b,a)});var g=b.itemNew||b.item;if(g&&(g=Object.create(g),X(g,a,a.handle),eb(a,g)),a.item)b.directFetchListeners&&Gc.push(function(){Aa(a.item,b.directFetchListeners)}),b.fetchListeners&&Gc.push(function(){Aa(a.item,b.fetchListeners)});else{var h;for(h in b.directFetchListeners)a.directFetchListeners||(a.directFetchListeners={}),a.directFetchListeners[h]=b.directFetchListeners[h];for(h in b.fetchListeners)a.fetchListeners||(a.fetchListeners={}),a.fetchListeners[h]=b.fetchListeners[h]}a.itemNew&&Ba(a),b.handle=(nc++).toString(),I(b),S(b)}function hb(a,b,c){b&&b.key&&(c||(c=b.itemNew||b.item),delete b.key,delete Oc[c.key],b.itemNew=null,b.item=null),c&&eb(a,c),b&&gb(a,b)}function ib(a){if("object"!=typeof a)throw new e("WinJS.UI.ListDataSource.InvalidItemReturned",s.invalidItemReturned);if(a===Hc)return Kc;if(a===Ic)return Lc;if(a.key)return d.validation&&Ia(a.key),Oc[a.key];throw new e("WinJS.UI.ListDataSource.InvalidKeyReturned",s.invalidKeyReturned)}function jb(a,b){var c=ib(b);c===a&&(c=null),c&&fb(a,c,a.bindingMap),hb(a,c,b)}function kb(a,b,c,d){if(b&&a.key&&a.key!==b.key)return wb(),!1;var e=Pc[c];if(e)if(e===a)e=null;else{if(e.key&&(a.key||b&&e.key!==b.key))return wb(),!1;if(!a.key&&e.bindingMap)return!1}var f;if(b)if(f=Oc[b.key],f===a)f=null;else if(f&&f.bindingMap)return!1;return e?(fb(a,e,a.bindingMap),delete Pc[c],na(a,c),a.prev.index===c-1&&H(a.prev),a.next.index===c+1&&H(a),d.slotNext=e.slotNext,b||(b=e.itemNew||e.item,b&&(f=Oc[b.key]))):na(a,c),f&&e!==f&&fb(a,f,a.bindingMap),hb(a,f,b),e&&e!==f&&gb(a,e),!0}function lb(a,b,c){if(b.key&&a.key&&b.key!==a.key)return wb(),!1;for(var d in a.bindingMap)c[d]=!0;return fb(a,b,c),hb(a,b),!0}function mb(a,b){for(var c={};a;){var d=a.firstInSequence?null:a.prev;if(b.firstInSequence||b.prev!==Kc){if(b=b.firstInSequence?P(b,Pc):b.prev,!lb(b,a,c))return}else sa(a,!0);a=d}}function nb(a,b){for(var c={};a;){var d=a.lastInSequence?null:a.next;if(b.lastInSequence||b.next!==Lc){if(b=b.lastInSequence?Q(b,Pc):b.next,!lb(b,a,c))return}else sa(a,!0);a=d}}function ob(a){for(var b=0;b0;){var f=e.prev;if(e===Kc){c(Kc);break}if(e.key){if(e.index>=a)return wb(),!1;if(!(e.index>=b))return hd?Ya(e,0,d):Za(e,0,d),!1;c(e)}else e.indexRequested||e.firstInSequence?c(f):d++;e=f}return!0}function qb(a,b,c,d,e){var g="WinJS.UI.ListDataSource.processResults";return f(g),e=x(e),d=y(d),vc?void u(g):(Ac&&ya(),!v(d)&&d!==p.unknown||d===Jc||Lc.firstInSequence?(qc=!0,function(){var f,g,h,i,j=b.length;if("number"!=typeof e)for(f=0;j>f;f++)if(h=ib(b[f]),h&&void 0!==h.index){e=h.index+c-f;break}"number"==typeof e&&b[j-1]===Ic?d=e-c+j-1:!v(d)||void 0!==e&&null!==e||(e=d-(j-1)+c),v(d)&&!pb(d,e-c)&&(d=void 0);var k=new Array(j);for(f=0;j>f;f++){var l=null;if(h=ib(b[f])){if(f>0&&!h.firstInSequence&&h.prev.key&&h.prev.key!==b[f-1].key||"number"==typeof e&&void 0!==h.index&&h.index!==e-c+f)return void wb();(h===Kc||h===Lc||h.bindingMap)&&(l=h)}if("number"==typeof e&&(h=Pc[e-c+f])){if(h.key&&h.key!==b[f].key)return void wb();!l&&h.bindingMap&&(l=h)}if(f===c){if(a.key&&a.key!==b[f].key||"number"==typeof a.index&&"number"==typeof e&&a.index!==e)return void wb();l||(l=a)}k[f]=l}for(f=0;j>f;f++)h=k[f],h&&void 0!==h.index&&h!==Kc&&h!==Lc&&jb(h,b[f]);var m,n,o=[],p=!0;for(f=0;j>f;f++)if(h=k[f],h&&h!==Lc){var q=f;if(void 0===h.index){var r={};kb(h,b[f],e-c+f,r);var s,t=h,u=h;for(g=f-1;!t.firstInSequence&&(s=b[g],s!==Hc);g--){var w=e-c+g;if(0>w)break;if(!kb(t.prev,s,w,r))break;t=t.prev,g>=0&&(k[g]=t)}for(g=f+1;!u.lastInSequence&&(s=b[g],s!==Ic&&g!==d||u.next===Lc)&&(u.next===Lc||kb(u.next,s,e-c+g,r))&&(u=u.next,j>g&&(k[g]=u),q=g,u!==Lc);g++);if(m=t.firstInSequence?null:t.prev,n=u.lastInSequence?null:u.next,m&&I(m),n&&I(u),"number"==typeof e){if(u===Lc)m&&G(Lc,D(m),m);else{var x=r.slotNext;x||(x=U(u.index,Pc,Kc,Lc,!0)),F(x,t,u)}t.prev.index===t.index-1&&H(t.prev),u.next.index===u.index+1&&H(u)}else p||(i=k[f-1],i&&(t.prev!==i&&(u===Lc?(m&&G(Lc,D(m),m),F(t,D(i),i)):G(i,t,u)),H(i)));if(p=!1,Tc)return;o.push({slotBeforeSequence:m,slotFirstInSequence:t,slotLastInSequence:u,slotAfterSequence:n})}f!==c||h===a||T(a)||(m=a.firstInSequence?null:a.prev,n=a.lastInSequence?null:a.next,fb(h,a,h.bindingMap),gb(h,a),o.push({slotBeforeSequence:m,slotFirstInSequence:h,slotLastInSequence:h,slotAfterSequence:n})),f=q}for(v(d)&&Lc.index!==d&&na(Lc,d),ob(o),f=0;j>f;f++)if(h=k[f]){for(g=f-1;g>=0;g--){var y=k[g+1];jb(k[g]=y.firstInSequence?P(k[g+1],Pc):y.prev,b[g])}for(g=f+1;j>g;g++)i=k[g-1],h=k[g],h?h.firstInSequence&&(h.prev!==i&&G(i,h,E(h)),H(i)):jb(k[g]=i.lastInSequence?Q(i,Pc):i.next,b[g]);break}delete a.description}(),Tc||(void 0!==d&&d!==Jc&&la(d),ab()),ia(),Ca(),void u(g)):(wb(),void u(g)))}function rb(a,b){switch(b.name){case q.noResponse:Na(o.failure),Da(a,b);break;case q.doesNotExist:a.indexRequested?pb(a.index):(a.keyRequested||a.description)&&ta(a),ia(),wb()}}function sb(a,b,c,d,f,g){g=x(g),f=y(f);var h=a-d,i=c.length;if(b.index>=h&&b.indexa&&b+(b-a)e;e++)if(nd[a+e].kind!==nd[b+e].kind){c=!1;break}if(c&&g.log){g.log(s.refreshCycleIdentified,"winjs vds","error");for(var e=a;b>e;e++)g.log(""+(e-a)+": "+JSON.stringify(nd[e]),"winjs vds","error")}return c}}function vb(){return++md>h&&ub()?void Na(o.failure):(nd[++od%nd.length]={kind:"beginRefresh"},Zc={firstInSequence:!0,lastInSequence:!0,index:-1},$c={firstInSequence:!0,lastInSequence:!0},Zc.next=$c,$c.prev=Zc,Xc=!1,Yc=void 0,_c={},ad={},bd={},bd[-1]=Zc,void(cd={}))}function wb(){if(!Tc){if(Tc=!0,Na(o.waiting),xc)return xc=!1,void Zb();if(!vc){var a=++Cc;Uc=!0,Wc=0,k.schedule(function(){if(Cc===a){Tc=!1,vb();for(var b=Kc.next;b!==Mc;){var c=b.next;ba(b)||b===Lc||ca(b),b=c}Eb()}},k.Priority.high,null,"WinJS.VirtualizedDataSource.beginRefresh")}}}function xb(){return Vc=Vc||new l,wb(),Vc.promise}function yb(a,b){return delete Fc[b],a!==Cc?!1:(Wc--,!0)}function zb(a,b,c,d,g){var h=Cc;Wc++,d.then(function(b){if(!b.items||!b.items.length)return j.wrapError(new e(q.doesNotExist));var d="itemsFetched id="+c+" count="+b.items.length;f(d),yb(h,c)&&(Sa(b),Kb(a,b.items,b.offset,b.totalCount,"number"==typeof g?g:b.absoluteIndex)),u(d)}).then(null,function(d){yb(h,c)&&Lb(a,b,d)})}function Ab(a,b,c,d){if(hd)zb(a.key,!1,b,hd(b,a.key,c,d,a.hints));else{var e=10,f=a.index;bd[f]&&bd[f].firstInSequence?zb(a.key,!1,b,id(b,f-1,Math.min(c+e,f)-1,d+1+e),f-1):bd[f]&&bd[f].lastInSequence?zb(a.key,!1,b,id(b,f+1,Math.min(c+e,f)+1,d-1+e),f+1):zb(a.key,!1,b,id(b,f,Math.min(c+e,f),d+e),f)}}function Bb(a){jd?zb(null,!0,a,jd(a,1),0):id&&zb(null,!0,a,id(a,0,0,0),0)}function Cb(a){return Fc[_c[a]]}function Db(a,b){for(var c,d,e,f=3,g=Cc,h=0,i=a;i!==Mc;i=i.next){if(!c&&i.key&&!cd[i.key]&&!Cb(i.key)){var j=ad[i.key];(!j||j.firstInSequence||j.lastInSequence)&&(c=i,d=j,e=Qa())}if(c){var k=Cb(i.key);if(cd[i.key]||ad[i.key]||k||(i.key&&(_c[i.key]=e),h++),i.lastInSequence||i.next===Lc||k){if(Ab(c,e,!d||d.firstInSequence?f:0,h-1+f),!b)break;c=null,h=0}}else i.key&&V(i)&&!cd[i.key]&&(ad[i.key]||(e=Qa(),zb(i.key,!1,e,hd(e,i.key,1,1,i.hints))))}0!==Wc||Xc||Cc!==g||Bb(Qa())}function Eb(){var a=Cc;do dd=!1,ed=!0,Db(Kc.next,!0),ed=!1;while(0===Wc&&dd&&Cc===a&&Uc);0===Wc&&Cc===a&&Ub()}function Fb(a){var b=Cc;if(a){var c=Oc[a];c||(c=Kc.next);do fd=!1,gd=!0,Db(c,!1),gd=!1;while(fd&&Cc===b&&Uc)}ed?dd=!0:0===Wc&&Cc===b&&Eb()}function Gb(a){if("object"==typeof a&&a){if(a===Hc)return Zc;if(a===Ic)return $c;if(a.key)return ad[a.key];throw new e("WinJS.UI.ListDataSource.InvalidKeyReturned",s.invalidKeyReturned)}throw new e("WinJS.UI.ListDataSource.InvalidItemReturned",s.invalidItemReturned)}function Hb(a,b){for(;void 0===a.index;){if(L(a,b,bd),a.firstInSequence)return!0;a=a.prev,b--}return a.index!==b?(wb(),!1):!0}function Ib(a,b){a.key=b.key,ad[a.key]=a,a.item=b}function Jb(){for(var a=$c;!a.firstInSequence;)if(a=a.prev,a===Zc)return null;return a}function Kb(a,b,c,d,e){e=x(e),d=y(d);var f=!1;Xc=!0;var g=e-c,h=b[0];h.key===a&&(f=!0);var i=Gb(h);if(i){if(+g===g&&!Hb(i,g))return}else{if(bd[g])return void wb();var j;if(void 0!==e&&(j=bd[g-1])){if(!j.lastInSequence)return void wb();i=Q(j,bd)}else{var k=+g===g?U(g,bd,Zc,$c):Jb(Zc,$c);if(!k)return void wb();i=N(k,g,bd)}Ib(i,b[0])}for(var l=b.length,m=1;l>m;m++){h=b[m],h.key===a&&(f=!0);var n=Gb(h);if(n){if(void 0!==i.index&&!Hb(n,i.index+1))return;if(n!==i.next){if(!i.lastInSequence||!n.firstInSequence)return void wb();var o=E(n);if(o!==$c)G(i,n,o);else{var q=D(i);if(q===Zc)return void wb();F(n,q,i)}H(i)}else i.lastInSequence&&H(i)}else{if(!i.lastInSequence)return void wb();n=Q(i,bd),Ib(n,h)}i=n}if(f||(cd[a]=!0),!v(d)&&!$c.firstInSequence){var r=$c.prev.index;void 0!==r&&(d=r+1)}if(v(d)||d===p.unknown){if(v(Yc)){if(d!==Yc)return void wb()}else Yc=d;v(Yc)&&!bd[Yc]&&L($c,Yc,bd)}gd?fd=!0:Fb(a)}function Lb(a,b,c){switch(c.name){case q.noResponse:Na(o.failure);break;case q.doesNotExist:b?(L($c,0,bd),Yc=0,Ub()):(cd[a]=!0,gd?fd=!0:Fb(a))}}function Mb(a){return a===Zc?Kc:a===$c?Lc:Oc[a.key]}function Nb(a){return a===Kc?Zc:a===Lc?$c:ad[a.key]}function Ob(a){H(a),a.next.mergedForRefresh=!0}function Pb(a,b){K(b,a.key),b.itemNew=a.item}function Qb(a,b,c){var d=A();Pb(a,d),J(d,b,c,!c);var e=a.index;return+e!==e&&(e=c?d.prev.index+1:b.next.index-1),L(d,e,Pc),d}function Rb(a,b,c){a?(fb(a,b,a.bindingMap),hb(a,b,c.item)):(Pb(c,b),b.indexRequested&&db(b))}function Sb(a,b,c){return b.key?!1:(a?(c.mergeWithPrev=!b.firstInSequence,c.mergeWithNext=!b.lastInSequence):c.stationary=!0,Rb(a,b,c),!0)}function Tb(a){var b;if(a.indexRequested)b=a.index;else{var c=Nb(a);c&&(b=c.index)}return b}function Ub(){md=0,nd=new Array(100),od=-1,Ac=!0,_c={};var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=[],t=[];for(o=0,h=Zc;h;h=h.next)h.sequenceNumber=o,h.firstInSequence&&(j=h),h.lastInSequence&&(t[o]={first:j,last:h,matchingItems:0},o++);for(Rc=null,Qc=0,c=Kc.next;c!==Mc;)h=ad[c.key],e=c.next,c!==Lc&&(ba(c)?c.key&&!h?sa(c,!1):0===Yc||c.indexRequested&&c.index>=Yc?sa(c,!0):c.item||c.keyRequested?c.itemNew=h.item:c.key&&(c.keyRequested||(delete Oc[c.key],delete c.key),c.itemNew=null):ca(c)),c=e;for(c=Kc.next;c!==Lc;)e=c.next,c.indexRequested&&(h=bd[c.index],h&&Rb(Mb(h),c,h)),c=e;var u,v,w,x,y,z=0,A=[];for(k=0,c=Kc;c!==Mc;c=c.next){if(c.firstInSequence)for(j=c,w=null,a=0;o>a;a++)A[a]=0;if(c.indexRequested&&(w=c),h=Nb(c),h&&A[h.sequenceNumber]++,c.lastInSequence){for(v=0,a=z;o>a;a++)v0?t[u]:void 0,matchingItems:v},w&&(l.indexRequested=!0,l.stationarySlot=w),s[k]=l,c===Lc&&(x=k,y=l),k++,void 0!==t[u].first.index&&(z=u)}}s[0].sequenceNew!==t[0]&&(I(Kc),s[0].first=Kc.next,s.unshift({first:Kc,last:Kc,sequenceNew:t[0],matchingItems:1}),x++,k++);var B=!Lc.firstInSequence;for(y.sequenceNew!==t[o-1]&&(I(Lc.prev),y.last=Lc.prev,x++,s.splice(x,0,{first:Lc,last:Lc,sequenceNew:t[o-1],matchingItems:1}),k++,y=s[x]),a=0;k>a;a++)p=s[a].sequenceNew,p&&p.matchingItems=a;a++)l=s[a],l.sequenceNew&&(n=l.sequenceNew.sequenceOld)===m&&m.last!==Lc?(Ob(n.last),n.last=l.last,delete s[a]):m=l;for(m=null,a=x;a>=0;a--)l=s[a],l&&(l.sequenceNew&&(n=l.sequenceNew.sequenceOld)===m&&l.last!==Lc?(Ob(l.last),n.first=l.first,delete s[a]):m=l);B&&delete Lc.mergedForRefresh;var C=[];for(a=x+1;k>a;a++)if(l=s[a],l&&(!l.sequenceNew||l.sequenceNew.sequenceOld!==l)){var D=!0,E=null,J=null,K=0;for(h=Nb(l.first),h&&(E=J=h,K=1),c=l.first;c!==l.last;c=c.next){var L=Nb(c.next);if(h&&L&&(h.lastInSequence||h.next!==L)){D=!1;break}h&&!E&&(E=J=h),L&&E&&(J=L,K++),h=L}if(D&&E&&void 0!==E.index){var M;E.firstInSequence||(f=Mb(E.prev),f&&(M=f.index));var N;if(J.lastInSequence||(g=Mb(J.next),g&&(N=g.index)),(!g||g.lastInSequence||g.mergedForRefresh)&&(void 0===M||void 0===N||N-M-1>=K)){for(l.locationJustDetermined=!0,h=E;h.locationJustDetermined=!0,h!==J;h=h.next);var j=Mb(E),O=Mb(J);C.push({slotBeforeSequence:j.firstInSequence?null:j.prev,slotFirstInSequence:j,slotLastInSequence:O,slotAfterSequence:O.lastInSequence?null:O.next})}}}for(a=0;k>a;a++)if(l=s[a],l&&!l.indexRequested&&!l.locationJustDetermined&&(!l.sequenceNew||l.sequenceNew.sequenceOld!==l)){l.sequenceNew=null,c=l.first;var P;do{if(P=c===l.last,e=c.next,c!==Kc&&c!==Lc&&c!==Mc&&!c.item&&!c.keyRequested)if(sa(c,!0),l.first===c){if(l.last===c){delete s[a];break}l.first=c.next}else l.last===c&&(l.last=c.prev);c=e}while(!P)}for(a=0;o>a;a++){for(p=t[a],h=p.first;!Mb(h)&&!h.lastInSequence;h=h.next);if(h.lastInSequence&&!Mb(h))p.firstInner=p.lastInner=null;else{for(p.firstInner=h,h=p.last;!Mb(h);h=h.prev);p.lastInner=h}}for(a=0;o>a;a++)if(p=t[a],p&&p.firstInner&&(l=p.sequenceOld)){var Q=0;for(c=l.first;!0&&(h=Nb(c),h&&h.sequenceNumber===p.firstInner.sequenceNumber&&(h.ordinal=Q),!c.lastInSequence);c=c.next,Q++);var R=[];for(h=p.firstInner;!0;h=h.next){if(Q=h.ordinal,void 0!==Q){for(var S=0,T=R.length-1;T>=S;){var U=Math.floor(.5*(S+T));R[U].ordinal0&&(h.predecessor=R[S-1])}if(h===p.lastInner)break}var W=[],X=R.length;for(h=R[X-1],b=X;b--;)h.stationary=!0,W[b]=h,h=h.predecessor;l.stationarySlot=Mb(W[0]),h=W[0],c=Mb(h),d=c.prev;for(var Y=c.firstInSequence;!h.firstInSequence;)if(h=h.prev,i=Mb(h),!i||h.locationJustDetermined)for(;!Y&&d!==Kc&&(c=d,d=c.prev,Y=c.firstInSequence,!Sb(i,c,h)););for(b=0;X-1>b;b++){h=W[b],c=Mb(h);var i,Z=W[b+1],_=null,aa=Mb(Z);for(e=c.next,h=h.next;h!==Z&&!_&&c!==aa;h=h.next)if(i=Mb(h),!i||h.locationJustDetermined)for(;e!==aa;){if(e.mergedForRefresh){_=h.prev;break}if(c=e,e=c.next,Sb(i,c,h))break}if(_)for(d=aa.prev,h=Z.prev;h!==_&&aa!==c;h=h.prev)if(i=Mb(h),!i||h.locationJustDetermined)for(;d!==c&&(aa=d,d=aa.prev,!Sb(i,aa,h)););for(;e!==aa;)c=e,e=c.next,c!==Kc&&V(c)&&!c.keyRequested&&sa(c)}for(h=W[X-1],c=Mb(h),e=c.next,Y=c.lastInSequence;!h.lastInSequence;)if(h=h.next,i=Mb(h),!i||h.locationJustDetermined)for(;!Y&&e!==Lc&&(c=e,e=c.next,Y=c.lastInSequence,!Sb(i,c,h)););}for(a=0;o>a;a++)if(p=t[a],p.firstInner)for(d=null,h=p.firstInner;!0;h=h.next){if(c=Mb(h)){if(!h.stationary){var da,ea=!1,fa=!1;if(d)da=d.next,ea=!0;else{var ga;for(ga=p.firstInner;!ga.stationary&&ga!==p.lastInner;ga=ga.next);if(ga.stationary)da=Mb(ga),fa=!0;else if(q=h.index,0===q)da=Kc.next,ea=!0;else if(void 0===q)da=Mc;else{da=Kc.next;for(var ha=null;;){if(da.firstInSequence&&(ha=da),qa;a++)if(p=t[a],p.firstInner)for(d=null,h=p.firstInner;!0;h=h.next){if(c=Mb(h),!c){var ka;if(d)ka=d.next;else{var ma;for(ma=p.firstInner;!Mb(ma);ma=ma.next);ka=Mb(ma)}c=Qb(h,ka,!!d);var L=Nb(ka);ka.mergedForRefresh||L&&L.locationJustDetermined||($(c),pa(c))}if(d=c,h===p.lastInner)break}Pc=[];var oa=-1;for(c=Kc,r=0;c!==Mc;r++){var e=c.next;if(c.firstInSequence&&(j=c,r=0),void 0===oa){var qa=Tb(c);void 0!==qa&&(oa=qa-r)}if(void 0!==oa&&!c.lastInSequence){var ta=Tb(c.next);if(void 0!==ta&&ta!==oa+r+1){I(c);for(var ua=!0,va=c.next,wa=!1;!wa&&va!==Lc;){var xa=va.next;wa=va.lastInSequence,ra(va,xa,!ua,!1),ua=!1,va=xa}}}if(c.lastInSequence){q=oa;for(var ya=j;ya!==e;){var za=ya.next;if(q>=Yc&&ya!==Lc)sa(ya,!0);else{var Aa=Pc[q];q!==ya.index?(delete Pc[q],na(ya,q)):+q===q&&Pc[q]!==ya&&(Pc[q]=ya),ya.itemNew&&db(ya),Aa&&(ya.key?(fb(ya,Aa,ya.bindingMap),gb(ya,Aa),+q===q&&(Pc[q]=ya)):(fb(Aa,ya,Aa.bindingMap),gb(Aa,ya),+q===q&&(Pc[q]=Aa))),+q===q&&q++}ya=za}oa=void 0}c=e}var Ba,Da=-2;for(c=Kc,r=0;c!==Mc;r++){var e=c.next;if(c.firstInSequence&&(j=c,r=0),delete c.mergedForRefresh,c.lastInSequence)if(void 0===j.index){f=j.prev;var Ea;f&&(Ea=Nb(f))&&!Ea.lastInSequence&&(h=Nb(c))&&h.prev===Ea?(G(f,j,c),H(f)):c===Lc||Ba||F(Mc,j,c)}else{if(Daa;a++){p=t[a];var Ga=[];c=null,r=0;var Ha;for(h=p.first;!0&&(h===Zc?Ga.push(Hc):h===$c?Ga.push(Ic):(Ga.push(h.item),c||(c=Mb(h),Ha=r)),!h.lastInSequence);h=h.next,r++);c&&Fa.push({slot:c,results:Ga,offset:Ha})}for(vb(),Uc=!1,Ca(),a=0;ae&&f--,xa(f,1)),a()):i||j?(void 0!==e&&(xa(e,-1),f>e&&f--),this.inserted(b,c,d,f)):void 0!==e&&(xa(e,-1),f>e&&f--,xa(f,1),a())}},this.removed=function(b,c){if(vc)wb();else{var d;d="string"==typeof b?Oc[b]:Pc[c],d?d.keyRequested?wb():(wa(d,-1),sa(d,!1),a()):void 0!==c&&(xa(c,-1),a())}},this.endNotifications=function(){yc=!1,a()}}function fc(){Na(o.ready),pc=null,rc=!1,sc=!1,tc=!1,uc={},uc.next=uc,uc.prev=uc,vc=!1,xc=!1,zc=0,Ac=!1,Bc=0,Fc={},Gc=[],Jc=p.unknown,Kc={firstInSequence:!0,lastInSequence:!0,index:-1},Lc={firstInSequence:!0,lastInSequence:!0},Mc={firstInSequence:!0,lastInSequence:!0},Kc.next=Lc,Lc.prev=Kc,Lc.next=Mc,Mc.prev=Lc,Nc={},Oc={},Pc={},Pc[-1]=Kc,Qc=0,Rc=null,Sc=!1,Tc=!1,Uc=!1,Vc=null}var gc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Hc,Ic,Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Rc,Sc,Tc,Uc,Vc,Wc,Xc,Yc,Zc,$c,_c,ad,bd,cd,dd,ed,fd,gd,hd,id,jd,kd,ld,md=0,nd=new Array(100),od=-1;a.itemsFromKey&&(hd=function(b,c,d,e,g){var h="fetchItemsFromKey id="+b+" key="+c+" countBefore="+d+" countAfter="+e;f(h),nd[++od%nd.length]={kind:"itemsFromKey",key:c,countBefore:d,countAfter:e};var i=a.itemsFromKey(c,d,e,g);return u(h),i}),a.itemsFromIndex&&(id=function(b,c,d,e){var g="fetchItemsFromIndex id="+b+" index="+c+" countBefore="+d+" countAfter="+e;f(g),nd[++od%nd.length]={kind:"itemsFromIndex",index:c,countBefore:d,countAfter:e};var h=a.itemsFromIndex(c,d,e);return u(g),h}),a.itemsFromStart&&(jd=function(b,c){var d="fetchItemsFromStart id="+b+" count="+c;f(d),nd[++od%nd.length]={kind:"itemsFromStart",count:c};var e=a.itemsFromStart(c);return u(d),e}),a.itemsFromEnd&&(kd=function(b,c){var d="fetchItemsFromEnd id="+b+" count="+c;f(d),nd[++od%nd.length]={kind:"itemsFromEnd",count:c};var e=a.itemsFromEnd(c);return u(d),e}),a.itemsFromDescription&&(ld=function(b,c,d,e){var g="fetchItemsFromDescription id="+b+" desc="+c+" countBefore="+d+" countAfter="+e;f(g),nd[++od%nd.length]={kind:"itemsFromDescription",description:c,countBefore:d,countAfter:e};var h=a.itemsFromDescription(c,d,e);return u(g),h});var pd=++n,qd=this,rd={insert:"insert",change:"change",move:"move",remove:"remove"};if(!a)throw new e("WinJS.UI.ListDataSource.ListDataAdapterIsInvalid",s.listDataAdapterIsInvalid);hc=a.compareByIdentity?0:200,c&&"number"==typeof c.cacheSize&&(hc=c.cacheSize),a.setNotificationHandler&&(gc=new ec,a.setNotificationHandler(gc)),ic=o.ready,kc=!1,lc={},mc=0,nc=1,oc=0,Cc=0,Dc=!1,Ec=1,Hc={},Ic={},fc(),this.createListBinding=function(a){function b(a){a&&a.cursorCount++}function c(a){a&&0===--a.cursorCount&&ea(a)}function d(a){b(a),c(m),m=a}function e(a,b){a===m&&(b||(b=!m||m.lastInSequence||m.next===Lc?null:m.next),d(b))}function f(a){var b=a.bindingMap,c=b[l].handle;delete a.bindingMap[l];var d=!0,e=!0;for(var f in b)if(d=!1,c&&b[f].handle===c){e=!1;break}c&&e&&delete Nc[c],d&&(a.bindingMap=null,ea(a))}function g(a,b){a.bindingMap||(a.bindingMap={});var c=a.bindingMap[l];if(c?c.count++:a.bindingMap[l]={bindingRecord:lc[l],count:1},a.fetchListeners){var d=a.fetchListeners[b];d&&(d.retained=!0)}}function h(a){var b=Nc[a];if(b){var c=b.bindingMap[l];if(0===--c.count){var d=b.fetchListeners;for(var e in d){var g=d[e];g.listBindingID===l&&(g.retained=!1)}f(b)}}}function i(b){var c=ja(b,l),d=(oc++).toString(),e=za(b,"fetchListeners",d,l,function(a,b){a(ka(b,c))});return X(e,b,c),a&&(e.retain=function(){return o._retainItem(b,d),e},e.release=function(){o._releaseItem(c)}),e}function k(b){var c;return!n&&b?c=i(b):(n?(c=new j(function(){}),c.cancel()):c=j.wrap(null),W(c,null),a&&(c.retain=function(){return c},c.release=function(){})),d(b),c}var l=(mc++).toString(),m=null,n=!1;lc[l]={notificationHandler:a,notificationsSent:!1,adjustCurrentSlot:e,itemPromiseFromKnownSlot:i};var o={_retainItem:function(a,b){g(a,b)},_releaseItem:function(a){h(a)},jumpToItem:function(a){return k(a?Nc[a.handle]:null)},current:function(){return k(m)},previous:function(){return k(m?Fa(m):null)},next:function(){return k(m?Ga(m):null)},releaseItem:function(a){this._releaseItem(a.handle)},release:function(){n=!0,c(m),m=null;for(var a=Kc.next;a!==Mc;){var b=a.next,d=a.fetchListeners;for(var e in d){var g=d[e];g.listBindingID===l&&(g.promise.cancel(),delete d[e])}a.bindingMap&&a.bindingMap[l]&&f(a),a=b}delete lc[l]}};return(jd||id)&&(o.first=function(){return k(Ga(Kc))}),kd&&(o.last=function(){return k(Fa(Lc))}),hd&&(o.fromKey=function(a,b){return k(Ka(a,b))}),(id||jd&&hd)&&(o.fromIndex=function(a){return k(La(a))}),ld&&(o.fromDescription=function(a){return k(Ma(a))}),o},this.invalidateAll=function(){return xb()};var sd=function(a,b){var c=new l;a.then(function(a){c.complete(a)},function(a){c.error(a)});var d=c.promise.then(null,function(c){return"WinJS.UI.VirtualizedDataSource.resetCount"===c.name?(pc=null,a=b.getCount()):j.wrapError(c)}),f=0,g={get:function(){return f++,new j(function(a,b){d.then(a,b)},function(){0===--f&&(c.promise.cancel(),a.cancel(),g===pc&&(pc=null))})},reset:function(){c.error(new e("WinJS.UI.VirtualizedDataSource.resetCount"))},cancel:function(){c.promise.cancel(),a.cancel(),g===pc&&(pc=null)}};return g};this.getCount=function(){if(a.getCount){var b=this;return j.wrap().then(function(){if(sc||vc)return Jc;var c;if(!pc){var d;c=a.getCount();var e;c.then(function(){pc===d&&(pc=null),e=!0},function(){pc===d&&(pc=null),e=!0}),zc=0,e||(d=pc=sd(c,b))}return pc?pc.get():c}).then(function(a){if(!w(a)&&void 0!==a)throw new e("WinJS.UI.ListDataSource.InvalidRequestedCountReturned",s.invalidRequestedCountReturned);return a!==Jc&&(Jc===p.unknown?Jc=a:(la(a),ia())),0===a&&(Kc.next!==Lc||Lc.next!==Mc?wb():Kc.lastInSequence&&(H(Kc),Lc.index=0)),a}).then(null,function(a){return a.name===m.CountError.noResponse?(Na(o.failure),Jc):j.wrapError(a)})}return j.wrap(Jc)},hd&&(this.itemFromKey=function(a,b){return Ha(Ka(a,b))}),(id||jd&&hd)&&(this.itemFromIndex=function(a){return Ha(La(a))}),ld&&(this.itemFromDescription=function(a){return Ha(Ma(a))}),this.beginEdits=function(){sc=!0},a.insertAtStart&&(this.insertAtStart=function(b,c){return cc(b,c,Kc.lastInSequence?null:Kc.next,!0,function(){return a.insertAtStart(b,c)})}),a.insertBefore&&(this.insertBefore=function(b,c,d){var e=ac(d);return cc(b,c,e,!1,function(){return a.insertBefore(b,c,d,ua(e))})}),a.insertAfter&&(this.insertAfter=function(b,c,d){var e=ac(d);return cc(b,c,e?e.next:null,!0,function(){return a.insertAfter(b,c,d,ua(e))})}),a.insertAtEnd&&(this.insertAtEnd=function(b,c){return cc(b,c,Lc.firstInSequence?null:Lc,!1,function(){return a.insertAtEnd(b,c)})}),a.change&&(this.change=function(b,c){var d=ac(b);return new j(function(e,f){var g;Vb(function(){return a.change(b,c,ua(d))},rd.change,e,f,null,function(){g=d.item,d.itemNew={key:b,data:c},g?qa(d):Ba(d)},function(){g?(d.itemNew=g,qa(d)):wb()})})}),a.moveToStart&&(this.moveToStart=function(b){var c=ac(b);return dc(c,Kc.next,!0,function(){return a.moveToStart(b,ua(c))})}),a.moveBefore&&(this.moveBefore=function(b,c){var d=ac(b),e=ac(c);return dc(d,e,!1,function(){return a.moveBefore(b,c,ua(d),ua(e))})}),a.moveAfter&&(this.moveAfter=function(b,c){var d=ac(b),e=ac(c);return dc(d,e.next,!0,function(){return a.moveAfter(b,c,ua(d),ua(e))})}),a.moveToEnd&&(this.moveToEnd=function(b){var c=ac(b);return dc(c,Lc,!1,function(){return a.moveToEnd(b,ua(c))})}),a.remove&&(this.remove=function(b){Ia(b);var c=Oc[b];return new j(function(d,e){var f,g,h;Vb(function(){return a.remove(b,ua(c))},rd.remove,d,e,null,function(){c&&(f=c.next,g=c.firstInSequence,h=c.lastInSequence,wa(c,-1),sa(c,!1))},function(){c&&(R(c,f,!g,!h),wa(c,1),pa(c))})})}),this.endEdits=function(){sc=!1,$b()}}var h=100,n=1,o=m.DataSourceStatus,p=m.CountResult,q=m.FetchError,r=m.EditError,s={get listDataAdapterIsInvalid(){return"Invalid argument: listDataAdapter must be an object or an array."},get indexIsInvalid(){return"Invalid argument: index must be a non-negative integer."},get keyIsInvalid(){return"Invalid argument: key must be a string."},get invalidItemReturned(){return"Error: data adapter returned item that is not an object."},get invalidKeyReturned(){return"Error: data adapter returned item with undefined or null key."},get invalidIndexReturned(){return"Error: data adapter should return undefined, null or a non-negative integer for the index."},get invalidCountReturned(){return"Error: data adapter should return undefined, null, CountResult.unknown, or a non-negative integer for the count."},get invalidRequestedCountReturned(){return"Error: data adapter should return CountResult.unknown, CountResult.failure, or a non-negative integer for the count."},get refreshCycleIdentified(){return"refresh cycle found, likely data inconsistency"}},t="statuschanged",u=c.Class.define(function(){},{_baseDataSourceConstructor:a,_isVirtualizedDataSource:!0},{supportedForProcessing:!1});return c.Class.mix(u,f.eventMixin),u})})}),d("WinJS/VirtualizedDataSource/_GroupDataSource",["exports","../Core/_Base","../Core/_ErrorFromName","../Promise","../Scheduler","../Utilities/_UI","./_VirtualizedDataSourceImpl"],function(a,b,c,d,e,f,g){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_GroupDataSource:b.Namespace._lazy(function(){function a(){return new c(f.FetchError.doesNotExist)}function h(a){return a&&a.firstReached&&a.lastReached}var i=101,j=b.Class.define(function(a){this._groupDataAdapter=a},{beginNotifications:function(){},inserted:function(a,b,c){this._groupDataAdapter._inserted(a,b,c)},changed:function(a,b){this._groupDataAdapter._changed(a,b)},moved:function(a,b,c){this._groupDataAdapter._moved(a,b,c)},removed:function(a,b){this._groupDataAdapter._removed(a,b)},countChanged:function(a,b){0===a&&0!==b&&this._groupDataAdapter.invalidateGroups()},indexChanged:function(a,b,c){this._groupDataAdapter._indexChanged(a,b,c)},endNotifications:function(){this._groupDataAdapter._endNotifications()},reload:function(){this._groupDataAdapter._reload()}},{supportedForProcessing:!1}),k=b.Class.define(function(a,b,c,d){this._listBinding=a.createListBinding(new j(this)),this._groupKey=b,this._groupData=c,this._initializeState(),this._batchSize=i,this._count=null,d&&("number"==typeof d.groupCountEstimate&&(this._count=d.groupCountEstimate<0?null:Math.max(d.groupCountEstimate,1)),"number"==typeof d.batchSize&&(this._batchSize=d.batchSize+1)),this._listBinding.last&&(this.itemsFromEnd=function(a){var b=this;return this._fetchItems(function(){return b._lastGroup},function(a){if(a)return!1;var c=b._count;return+c!==c?!0:c>0?!0:void 0},function(){b._fetchBatch(b._listBinding.last(),b._batchSize-1,0)},a-1,0)})},{setNotificationHandler:function(a){this._listDataNotificationHandler=a},compareByIdentity:!0,itemsFromKey:function(a,b,c,d){var e=this;return this._fetchItems(function(){return e._keyMap[a]},function(){var a=e._lastGroup;return a?+a.index!==a.index?!0:void 0:!0},function(){d=d||{};var a="string"==typeof d.groupMemberKey&&e._listBinding.fromKey?e._listBinding.fromKey(d.groupMemberKey):"number"==typeof d.groupMemberIndex&&e._listBinding.fromIndex?e._listBinding.fromIndex(d.groupMemberIndex):void 0!==d.groupMemberDescription&&e._listBinding.fromDescription?e._listBinding.fromDescription(d.groupMemberDescription):e._listBinding.first(),b=Math.floor(.5*(e._batchSize-1));e._fetchBatch(a,b,e._batchSize-1-b)},b,c)},itemsFromIndex:function(a,b,c){var d=this;return this._fetchItems(function(){return d._indexMap[a]},function(){var b=d._lastGroup;return b?+b.index!==b.index?!0:a<=b.index?!0:void 0:!0},function(){d._fetchNextIndex()},b,c)},getCount:function(){if(this._lastGroup&&"number"==typeof this._lastGroup.index)return d.wrap(this._count);var a=this,b=new d(function(b){var c={initialBatch:function(){a._fetchNextIndex()},getGroup:function(){return null},countBefore:0,countAfter:0,complete:function(c){c&&(a._count=0);var d=a._count;return"number"==typeof d?(b(d),!0):!1}};a._fetchQueue.push(c),a._itemBatch||a._continueFetch(c)});return"number"==typeof this._count?d.wrap(this._count):b},invalidateGroups:function(){this._beginRefresh(),this._initializeState()},_initializeState:function(){this._count=null,this._indexMax=null,this._keyMap={},this._indexMap={},this._lastGroup=null,this._handleMap={},this._fetchQueue=[],this._itemBatch=null,this._itemsToFetch=0,this._indicesChanged=!1},_releaseItem:function(a){delete this._handleMap[a.handle],this._listBinding.releaseItem(a)},_processBatch:function(){for(var a=null,b=null,c=null,d=0,f=!0,g=0;g0&&(k.firstReached=!0,b||(j=0)),"number"!=typeof k.index&&"number"==typeof j){for(var l=k;l;l=this._nextGroup(l))l.index=j,this._indexMap[j]=l,j++;this._indexMax=j,"number"==typeof this._count&&!this._lastGroup&&this._count<=this._indexMax&&(this._count=this._indexMax+1)}c=h,d=0,b=k}else b&&(this._lastGroup=b,"number"==typeof b.index&&(this._count=b.index+1),this._listDataNotificationHandler.invalidateAll(),b=null)}a=h}var m;for(m=this._fetchQueue[0];m&&m.complete(f);m=this._fetchQueue[0])this._fetchQueue.splice(0,1);if(m){var n=this;e.schedule(function(){n._continueFetch(m)},e.Priority.normal,null,"WinJS.UI._GroupDataSource._continueFetch")}else this._itemBatch=null},_processPromise:function(a,b){a.retain(),this._itemBatch[b]=a;var c=this;a.then(function(a){c._itemBatch[b]=a,0===--c._itemsToFetch&&c._processBatch()})},_fetchBatch:function(a,b){this._itemBatch=new Array(this._batchSize),this._itemsToFetch=this._batchSize,this._processPromise(a,b);var c;for(this._listBinding.jumpToItem(a),c=b-1;c>=0;c--)this._processPromise(this._listBinding.previous(),c);for(this._listBinding.jumpToItem(a),c=b+1;c0&&0!==b.index&&!h(c=this._previousGroup(b))?this._fetchAdjacent(c&&c.lastReached?c.firstItem:b.firstItem,!1):(d=this._nextGroup(b),this._fetchAdjacent(d&&d.firstReached?d.lastItem:b.lastItem,!0)):this._fetchAdjacent(b.lastItem,!0):this._fetchAdjacent(b.firstItem,!1)}else this._fetchNextIndex()}},_fetchComplete:function(a,b,c,d,e){if(h(a)){var g=this._previousGroup(a);if(d||h(g)||0===a.index||0===b){var i=this._nextGroup(a);if(d||h(i)||this._lastGroup===a||0===c){for(var j=0,k=a;b>j&&(g=this._previousGroup(k),h(g));)k=g,j++;for(var l=0,m=a;c>l&&(i=this._nextGroup(m),h(i));)m=i,l++;for(var n=j+1+l,o=new Array(n),p=0;n>p;p++){var q={key:k.key,data:k.data,firstItemKey:k.firstItem.key,groupSize:k.size},r=k.firstItem.index;"number"==typeof r&&(q.firstItemIndexHint=r),o[p]=q,k=this._nextGroup(k)}var s={items:o,offset:j};return s.totalCount="number"==typeof this._count?this._count:f.CountResult.unknown,"number"==typeof a.index&&(s.absoluteIndex=a.index),m===this._lastGroup&&(s.atEnd=!0),e(s),!0}}}return!1},_fetchItems:function(b,c,e,f,g){var h=this;return new d(function(d,i){function j(e){var j=b();return j?h._fetchComplete(j,f,g,l,d,i):l&&!c(e)?(i(a()),!0):m>2?(i(a()),!0):(e?m++:m=0,!1)}var k=b(),l=!k,m=0;if(!j()){var n={initialBatch:l?e:null,getGroup:b,countBefore:f,countAfter:g,complete:j};h._fetchQueue.push(n),h._itemBatch||h._continueFetch(n)}})},_previousGroup:function(a){return a&&a.firstReached?(this._listBinding.jumpToItem(a.firstItem),this._handleMap[this._listBinding.previous().handle]):null},_nextGroup:function(a){return a&&a.lastReached?(this._listBinding.jumpToItem(a.lastItem),this._handleMap[this._listBinding.next().handle]):null},_invalidateIndices:function(a){this._count=null,this._lastGroup=null,"number"==typeof a.index&&(this._indexMax=a.index>0?a.index:null);for(var b=a;b&&"number"==typeof b.index;b=this._nextGroup(b))delete this._indexMap[b.index],b.index=null},_releaseGroup:function(a){this._invalidateIndices(a),delete this._keyMap[a.key],this._lastGroup===a&&(this._lastGroup=null),a.firstItem!==a.lastItem&&this._releaseItem(a.firstItem),this._releaseItem(a.lastItem)},_beginRefresh:function(){if(this._fetchQueue=[],this._itemBatch){for(var a=0;ai;i++)!function(a){d[a]&&(e[a]=function(){return g(d[a].apply(d,arguments))})}(h[i]);return d.fromKey&&(e.fromKey=function(a){return g(d.fromKey(a))}),d.fromIndex&&(e.fromIndex=function(a){return g(d.fromIndex(a))}),e.prev=function(){return g(d.prev())},e.next=function(){return g(d.next())},e};for(var i=["itemFromKey","itemFromIndex","itemFromDescription","insertAtStart","insertBefore","insertAfter","insertAtEnd","change","moveToStart","moveBefore","moveAfter","moveToEnd"],j=0,k=i.length;k>j;j++)!function(b){a[b]&&(h[b]=function(){return g(a[b].apply(a,arguments))})}(i[j]);["addEventListener","removeEventListener","dispatchEvent"].forEach(function(b){a[b]&&(h[b]=function(){return a[b].apply(a,arguments)})});var l=null;return Object.defineProperty(h,"groups",{get:function(){return l||(l=new b._GroupDataSource(a,c,d,e)),l},enumerable:!0,configurable:!0}),h}})}),d("WinJS/VirtualizedDataSource/_StorageDataSource",["exports","../Core/_WinRT","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_WriteProfilerMark","../Animations","../Promise","../Utilities/_UI","./_VirtualizedDataSourceImpl"],function(a,b,c,d,e,f,g,h,i,j){"use strict";d.Namespace._moduleDefine(a,"WinJS.UI",{StorageDataSource:d.Namespace._lazy(function(){var a=d.Class.define(function(a,c){f("WinJS.UI.StorageDataSource:constructor,StartTM");var d,e=b.Windows.Storage.FileProperties.ThumbnailMode.singleItem,g=256,h=b.Windows.Storage.FileProperties.ThumbnailOptions.useCurrentScale,i=!0;if("Pictures"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.picturesView,d=b.Windows.Storage.KnownFolders.picturesLibrary,g=190):"Music"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.musicView,d=b.Windows.Storage.KnownFolders.musicLibrary,g=256):"Documents"===a?(e=b.Windows.Storage.FileProperties.ThumbnailMode.documentsView,d=b.Windows.Storage.KnownFolders.documentsLibrary,g=40):"Videos"===a&&(e=b.Windows.Storage.FileProperties.ThumbnailMode.videosView,d=b.Windows.Storage.KnownFolders.videosLibrary,g=190),d){var j=new b.Windows.Storage.Search.QueryOptions;j.folderDepth=b.Windows.Storage.Search.FolderDepth.deep,j.indexerOption=b.Windows.Storage.Search.IndexerOption.useIndexerWhenAvailable,this._query=d.createFileQueryWithOptions(j)}else this._query=a;if(c){if("number"==typeof c.mode&&(e=c.mode),"number"==typeof c.requestedThumbnailSize)g=Math.max(1,Math.min(c.requestedThumbnailSize,1024));else switch(e){case b.Windows.Storage.FileProperties.ThumbnailMode.picturesView:case b.Windows.Storage.FileProperties.ThumbnailMode.videosView:g=190;break;case b.Windows.Storage.FileProperties.ThumbnailMode.documentsView:case b.Windows.Storage.FileProperties.ThumbnailMode.listView:g=40;break;case b.Windows.Storage.FileProperties.ThumbnailMode.musicView:case b.Windows.Storage.FileProperties.ThumbnailMode.singleItem:g=256}"number"==typeof c.thumbnailOptions&&(h=c.thumbnailOptions),"boolean"==typeof c.waitForFileLoad&&(i=!c.waitForFileLoad)}this._loader=new b.Windows.Storage.BulkAccess.FileInformationFactory(this._query,e,g,h,i),this.compareByIdentity=!1,this.firstDataRequest=!0,f("WinJS.UI.StorageDataSource:constructor,StopTM")},{setNotificationHandler:function(a){this._notificationHandler=a,this._query.addEventListener("contentschanged",function(){a.invalidateAll()}),this._query.addEventListener("optionschanged",function(){a.invalidateAll()})},itemsFromEnd:function(a){var b=this;return f("WinJS.UI.StorageDataSource:itemsFromEnd,info"),this.getCount().then(function(c){return 0===c?h.wrapError(new e(i.FetchError.doesNotExist)):b.itemsFromIndex(c-1,Math.min(c-1,a-1),1)})},itemsFromIndex:function(a,b,c){function d(a){k._notificationHandler.changed(k._item(a.target))}b+c>64&&(b=Math.min(b,32),c=64-(b+1));var g=a-b,j=b+1+c,k=this;k.firstDataRequest&&(k.firstDataRequest=!1,j=Math.max(j,32));var l="WinJS.UI.StorageDataSource:itemsFromIndex("+g+"-"+(g+j-1)+")";return f(l+",StartTM"),this._loader.getItemsAsync(g,j).then(function(c){var m=c.size;if(b>=m)return h.wrapError(new e(i.FetchError.doesNotExist));var n=new Array(m),o=new Array(m);c.getMany(0,o);for(var p=0;m>p;p++)n[p]=k._item(o[p]),o[p].addEventListener("propertiesupdated",d);var q={items:n,offset:b,absoluteIndex:a};return j>m&&(q.totalCount=g+m),f(l+",StopTM"),q})},itemsFromDescription:function(a,b,c){var d=this;return f("WinJS.UI.StorageDataSource:itemsFromDescription,info"),this._query.findStartIndexAsync(a).then(function(a){return d.itemsFromIndex(a,b,c)})},getCount:function(){return f("WinJS.UI.StorageDataSource:getCount,info"),this._query.getItemCountAsync()},itemSignature:function(a){return a.folderRelativeId},_item:function(a){return{key:a.path||a.folderRelativeId,data:a}}},{supportedForProcessing:!1});return d.Class.derive(j.VirtualizedDataSource,function(b,c){this._baseDataSourceConstructor(new a(b,c))},{},{loadThumbnail:function(a,d){var e,i,j=!1;return new h(function(k){var l=!!d,m=function(m){if(m){var n=c.URL.createObjectURL(m,{oneTimeOnly:!0});i=i?i.then(function(b){return a.loadImage(n,b)}):a.loadImage(n,d).then(function(b){return a.isOnScreen().then(function(a){var c;return a&&l?c=g.fadeIn(b).then(function(){return b}):(b.style.opacity=1,c=h.wrap(b)),c})}),m.type===b.Windows.Storage.FileProperties.ThumbnailType.icon||m.returnedSmallerCachedSize||(f("WinJS.UI.StorageDataSource:loadThumbnail complete,info"),a.data.removeEventListener("thumbnailupdated",e),j=!1,i=i.then(function(a){e=null,i=null,k(a)}))}};e=function(a){j&&m(a.target.thumbnail)},a.data.addEventListener("thumbnailupdated",e),j=!0,m(a.data.thumbnail)},function(){a.data.removeEventListener("thumbnailupdated",e),j=!1,e=null,i&&(i.cancel(),i=null)})},supportedForProcessing:!1})})})}),d("WinJS/VirtualizedDataSource",["./VirtualizedDataSource/_VirtualizedDataSourceImpl","./VirtualizedDataSource/_GroupDataSource","./VirtualizedDataSource/_GroupedItemDataSource","./VirtualizedDataSource/_StorageDataSource"],function(){}),d("WinJS/Vui",["require","exports","./Core/_Global","./Utilities/_ElementUtilities"],function(a,b,c,d){function e(a){if(!a.defaultPrevented){var b=a.target,c=f[b.tagName];if(c)switch(a.state){case j.active:b[g.vuiData]||d.hasClass(b,h.active)?(d.removeClass(b,h.disambiguation),c.reactivate(b,a.label)):(d.addClass(b,h.active),c.activate(b,a.label));break;case j.disambiguation:d.addClass(b,h.active),d.addClass(b,h.disambiguation),c.disambiguate(b,a.label);break;case j.inactive:d.removeClass(b,h.active),d.removeClass(b,h.disambiguation),c.deactivate(b)}}}var f,g={vuiData:"_winVuiData"},h={active:"win-vui-active",disambiguation:"win-vui-disambiguation"},i={ListeningModeStateChanged:"ListeningStateChanged"},j={active:"active",disambiguation:"disambiguation",inactive:"inactive"};!function(a){a.BUTTON={activate:function(a,b){var c={nodes:[],width:a.style.width,height:a.style.height},e=d._getComputedStyle(a);for(a.style.width=e.width,a.style.height=e.height;a.childNodes.length;)c.nodes.push(a.removeChild(a.childNodes[0]));a[g.vuiData]=c,a.textContent=b},disambiguate:function(a,b){a.textContent=b},reactivate:function(a,b){a.textContent=b},deactivate:function(a){a.innerHTML="";var b=a[g.vuiData];a.style.width=b.width,a.style.height=b.height,b.nodes.forEach(function(b){return a.appendChild(b)}),delete a[g.vuiData]}}}(f||(f={})),c.document&&c.document.addEventListener(i.ListeningModeStateChanged,e)}),d("WinJS/_Accents",["require","exports","./Core/_Global","./Core/_WinRT","./Core/_Base","./Core/_BaseUtils","./Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g){function h(a,b){t.push({selector:a,props:b}),i()}function i(){0!==t.length&&-1===u&&(u=f._setImmediate(function(){u=-1,m();var a=s?o.lightThemeSelector:o.darkThemeSelector,b=o.hoverSelector+" "+a,d=c.document.createElement("style");d.id=o.accentStyleId,d.textContent=t.map(function(c){var d=" "+c.props.map(function(a){return a.name+": "+r[a.value]+";"}).join("\n "),e=c.selector.split(",").map(function(a){return l(a)}),f=e.join(",\n"),g=f+" {\n"+d+"\n}",h=c.props.some(function(a){return 0!==a.value});if(h){var i=" "+c.props.map(function(a){return a.name+": "+r[a.value?a.value+3:a.value]+";"}).join("\n "),j=[];e.forEach(function(c){if(-1!==c.indexOf(o.hoverSelector)&&-1===c.indexOf(b)){j.push(c.replace(o.hoverSelector,b));var d=c.replace(o.hoverSelector,"").trim();-1!==p.indexOf(d[0])&&j.push(c.replace(o.hoverSelector+" ",b))}else j.push(a+" "+c),-1!==p.indexOf(c[0])&&j.push(a+c);g+="\n"+j.join(",\n")+" {\n"+i+"\n}"})}return g}).join("\n"),c.document.head.appendChild(d)}))}function j(){var a=(d.Windows.UI.ViewManagement.UIColorType,q.getColorValue(d.Windows.UI.ViewManagement.UIColorType.accent)),b=k(a,1);r[0]!==b&&(r.length=0,r.push(b,k(a,s?.6:.4),k(a,s?.8:.6),k(a,s?.9:.7),k(a,s?.4:.6),k(a,s?.6:.8),k(a,s?.7:.9)),i())}function k(a,b){return"rgba("+a.r+","+a.g+","+a.b+","+b+")"}function l(a){return a.replace(/ /g," ").replace(/ /g," ").trim(); +}function m(){var a=c.document.head.querySelector("#"+o.accentStyleId);a&&a.parentNode.removeChild(a)}function n(){t.length=0,m()}var o={accentStyleId:"WinJSAccentsStyle",themeDetectionTag:"winjs-themedetection-tag",hoverSelector:"html.win-hoverable",lightThemeSelector:".win-ui-light",darkThemeSelector:".win-ui-dark"},p=[".","#",":"],q=null,r=[],s=!1,t=[],u=-1;!function(a){a[a.accent=0]="accent",a[a.listSelectRest=1]="listSelectRest",a[a.listSelectHover=2]="listSelectHover",a[a.listSelectPress=3]="listSelectPress",a[a._listSelectRestInverse=4]="_listSelectRestInverse",a[a._listSelectHoverInverse=5]="_listSelectHoverInverse",a[a._listSelectPressInverse=6]="_listSelectPressInverse"}(b.ColorTypes||(b.ColorTypes={}));var v=b.ColorTypes;b.createAccentRule=h;var w=c.document.createElement(o.themeDetectionTag);c.document.head.appendChild(w);var x=g._getComputedStyle(w);s="0"===x.opacity,w.parentElement.removeChild(w);try{q=new d.Windows.UI.ViewManagement.UISettings,q.addEventListener("colorvalueschanged",j),j()}catch(y){r.push("rgb(0, 120, 215)","rgba(0, 120, 215, "+(s?"0.6":"0.4")+")","rgba(0, 120, 215, "+(s?"0.8":"0.6")+")","rgba(0, 120, 215, "+(s?"0.9":"0.7")+")","rgba(0, 120, 215, "+(s?"0.4":"0.6")+")","rgba(0, 120, 215, "+(s?"0.6":"0.8")+")","rgba(0, 120, 215, "+(s?"0.7":"0.9")+")")}var z={ColorTypes:v,createAccentRule:h,_colors:r,_reset:n,_isDarkTheme:s};e.Namespace.define("WinJS.UI._Accents",z)}),d("require-style",{load:function(a){throw new Error("Dynamic load not allowed: "+a)}}),d("require-style!less/styles-intrinsic",[],function(){}),d("require-style!less/colors-intrinsic",[],function(){}),d("WinJS/Controls/IntrinsicControls",["../Utilities/_Hoverable","../_Accents","require-style!less/styles-intrinsic","require-style!less/colors-intrinsic"],function(a,b){"use strict";b.createAccentRule(".win-link, .win-progress-bar, .win-progress-ring, .win-ring",[{name:"color",value:b.ColorTypes.accent}]),b.createAccentRule("::selection, .win-button.win-button-primary, .win-dropdown option:checked, select[multiple].win-dropdown option:checked",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-textbox:focus, .win-textarea:focus, .win-textbox:focus:hover, .win-textarea:focus:hover",[{name:"border-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-textbox::-ms-clear:hover:not(:active), .win-textbox::-ms-reveal:hover:not(:active)",[{name:"color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-checkbox:checked::-ms-check, .win-textbox::-ms-clear:active, .win-textbox::-ms-reveal:active",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-progress-bar::-webkit-progress-value, .win-progress-ring::-webkit-progress-value, .win-ring::-webkit-progress-value",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-progress-bar:not(:indeterminate)::-moz-progress-bar, .win-progress-ring:not(:indeterminate)::-moz-progress-bar, .win-ring:not(:indeterminate)::-moz-progress-bar",[{name:"background-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-checkbox:indeterminate::-ms-check, .win-checkbox:hover:indeterminate::-ms-check, .win-radio:checked::-ms-check",[{name:"border-color",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-ms-thumb, .win-slider::-ms-fill-lower",[{name:"background",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-webkit-slider-thumb",[{name:"background",value:b.ColorTypes.accent}]),b.createAccentRule(".win-slider::-moz-range-thumb",[{name:"background",value:b.ColorTypes.accent}])}),d("WinJS/Controls/ElementResizeInstrument/_ElementResizeInstrument",["require","exports","../../Core/_BaseUtils","../../Core/_Base","../../Core/_Global","../../Core/_Log","../../Core/_ErrorFromName","../../Core/_Events","../../Promise","../../Utilities/_ElementUtilities"],function(a,b,c,d,e,f,g,h,i,j){"use strict";var k="display: block;position:absolute;top: 0;left: 0;height: 100%;width: 100%;overflow: hidden;pointer-events: none;z-index: -1;",l="win-resizeinstrument",m="about:blank",n={resize:"resize",_ready:"_ready"},o="resize",p="msHighContrastAdjust"in document.documentElement.style,q=function(){function a(){var a=this;this._disposed=!1,this._elementLoaded=!1,this._running=!1,this._objectWindowResizeHandlerBound=this._objectWindowResizeHandler.bind(this);var b=e.document.createElement("OBJECT");b.setAttribute("style",k),p?b.style.visibility="hidden":b.data=m,b.type="text/html",b.winControl=this,j.addClass(b,l),j.addClass(b,"win-disposable"),this._element=b,this._elementLoadPromise=new i(function(c){b.onload=function(){a._disposed||(a._elementLoaded=!0,a._objWindow.addEventListener(o,a._objectWindowResizeHandlerBound),c())}})}return Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"_objWindow",{get:function(){return this._elementLoaded&&this._element.contentDocument&&this._element.contentDocument.defaultView||null},enumerable:!0,configurable:!0}),a.prototype.addedToDom=function(){var a=this;if(!this._disposed){var b=this.element;if(!e.document.body.contains(b))throw new g("WinJS.UI._ElementResizeInstrument","ElementResizeInstrument initialization failed");f.log&&"static"===j._getComputedStyle(b.parentElement).position&&f.log("_ElementResizeInstrument can only detect size changes that are made to it's nearest positioned ancestor. Its parent element is not currently positioned."),!this._elementLoaded&&p&&(b.data="about:blank"),this._elementLoadPromise.then(function(){a._running=!0,a.dispatchEvent(n._ready,null);var b=i.timeout(50),c=function(){a.removeEventListener(n.resize,c),b.cancel()};a.addEventListener(n.resize,c),b.then(function(){a._objectWindowResizeHandler()})})}},a.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._elementLoadPromise.cancel(),this._objWindow&&this._objWindow.removeEventListener.call(this._objWindow,o,this._objectWindowResizeHandlerBound),this._running=!1)},a.prototype.addEventListener=function(a,b,c){},a.prototype.dispatchEvent=function(a,b){return!1},a.prototype.removeEventListener=function(a,b,c){},a.prototype._objectWindowResizeHandler=function(){var a=this;this._running&&this._batchResizeEvents(function(){a._fireResizeEvent()})},a.prototype._batchResizeEvents=function(a){this._pendingResizeAnimationFrameId&&c._cancelAnimationFrame(this._pendingResizeAnimationFrameId),this._pendingResizeAnimationFrameId=c._requestAnimationFrame(function(){a()})},a.prototype._fireResizeEvent=function(){this._disposed||this.dispatchEvent(n.resize,null)},a.EventNames=n,a}();b._ElementResizeInstrument=q,d.Class.mix(q,h.eventMixin)}),d("WinJS/Controls/ElementResizeInstrument",["require","exports"],function(a,b){function c(){return d||a(["./ElementResizeInstrument/_ElementResizeInstrument"],function(a){d=a}),d._ElementResizeInstrument}var d=null,e=Object.create({},{_ElementResizeInstrument:{get:function(){return c()}}});return e}),d("WinJS/Controls/ItemContainer/_Constants",["exports","../../Core/_Base"],function(a,b){"use strict";var c={};c._listViewClass="win-listview",c._viewportClass="win-viewport",c._rtlListViewClass="win-rtl",c._horizontalClass="win-horizontal",c._verticalClass="win-vertical",c._scrollableClass="win-surface",c._itemsContainerClass="win-itemscontainer",c._listHeaderContainerClass="win-headercontainer",c._listFooterContainerClass="win-footercontainer",c._padderClass="win-itemscontainer-padder",c._proxyClass="_win-proxy",c._itemClass="win-item",c._itemBoxClass="win-itembox",c._itemsBlockClass="win-itemsblock",c._containerClass="win-container",c._containerEvenClass="win-container-even",c._containerOddClass="win-container-odd",c._backdropClass="win-backdrop",c._footprintClass="win-footprint",c._groupsClass="win-groups",c._selectedClass="win-selected",c._selectionBorderClass="win-selectionborder",c._selectionBackgroundClass="win-selectionbackground",c._selectionCheckmarkClass="win-selectioncheckmark",c._selectionCheckmarkBackgroundClass="win-selectioncheckmarkbackground",c._pressedClass="win-pressed",c._headerClass="win-groupheader",c._headerContainerClass="win-groupheadercontainer",c._groupLeaderClass="win-groupleader",c._progressClass="win-progress",c._revealedClass="win-revealed",c._itemFocusClass="win-focused",c._itemFocusOutlineClass="win-focusedoutline",c._zoomingXClass="win-zooming-x",c._zoomingYClass="win-zooming-y",c._listLayoutClass="win-listlayout",c._gridLayoutClass="win-gridlayout",c._headerPositionTopClass="win-headerpositiontop",c._headerPositionLeftClass="win-headerpositionleft",c._structuralNodesClass="win-structuralnodes",c._singleItemsBlockClass="win-single-itemsblock",c._uniformGridLayoutClass="win-uniformgridlayout",c._uniformListLayoutClass="win-uniformlistlayout",c._cellSpanningGridLayoutClass="win-cellspanninggridlayout",c._laidOutClass="win-laidout",c._nonDraggableClass="win-nondraggable",c._nonSelectableClass="win-nonselectable",c._dragOverClass="win-dragover",c._dragSourceClass="win-dragsource",c._clipClass="win-clip",c._selectionModeClass="win-selectionmode",c._noCSSGrid="win-nocssgrid",c._hidingSelectionMode="win-hidingselectionmode",c._hidingSelectionModeAnimationTimeout=250,c._INVALID_INDEX=-1,c._UNINITIALIZED=-1,c._LEFT_MSPOINTER_BUTTON=0,c._RIGHT_MSPOINTER_BUTTON=2,c._TAP_END_THRESHOLD=10,c._DEFAULT_PAGES_TO_LOAD=5,c._DEFAULT_PAGE_LOAD_THRESHOLD=2,c._MIN_AUTOSCROLL_RATE=150,c._MAX_AUTOSCROLL_RATE=1500,c._AUTOSCROLL_THRESHOLD=100,c._AUTOSCROLL_DELAY=50,c._DEFERRED_ACTION=250,c._DEFERRED_SCROLL_END=250,c._SELECTION_CHECKMARK="",c._LISTVIEW_PROGRESS_DELAY=2e3;var d={uninitialized:0,low:1,medium:2,high:3},e={rebuild:0,remeasure:1,relayout:2,realize:3};c._ScrollToPriority=d,c._ViewChange=e,b.Namespace._moduleDefine(a,"WinJS.UI",c)}),d("WinJS/Controls/ItemContainer/_ItemEventsHandler",["exports","../../Core/_Global","../../Core/_WinRT","../../Core/_Base","../../Core/_BaseUtils","../../Core/_WriteProfilerMark","../../Animations","../../Animations/_TransitionAnimation","../../Promise","../../Utilities/_ElementUtilities","../../Utilities/_UI","./_Constants"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";var m=e._browserStyleEquivalents.transform;d.Namespace._moduleDefine(a,"WinJS.UI",{_ItemEventsHandler:d.Namespace._lazy(function(){function a(a,c){var d=b.document.createElement("div");return d.className=a,c||d.setAttribute("aria-hidden",!0),d}var g=j._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch",h=d.Class.define(function(a){this._site=a,this._work=[],this._animations={}},{dispose:function(){this._disposed||(this._disposed=!0,j._removeEventListener(b,"pointerup",this._resetPointerDownStateBound),j._removeEventListener(b,"pointercancel",this._resetPointerDownStateBound))},onPointerDown:function(a){f("WinJS.UI._ItemEventsHandler:MSPointerDown,StartTM");var d,h,i=this._site,m=a.pointerType===g;if(i.pressedElement=a.target,c.Windows.UI.Input.PointerPoint){var n=this._getCurrentPoint(a),o=n.properties;m||o.isInverted||o.isEraser||o.isMiddleButtonPressed?d=h=!1:(h=o.isRightButtonPressed,d=!h&&o.isLeftButtonPressed)}else d=a.button===l._LEFT_MSPOINTER_BUTTON,h=a.button===l._RIGHT_MSPOINTER_BUTTON;this._DragStartBound=this._DragStartBound||this.onDragStart.bind(this),this._PointerEnterBound=this._PointerEnterBound||this.onPointerEnter.bind(this),this._PointerLeaveBound=this._PointerLeaveBound||this.onPointerLeave.bind(this);var p=this._isInteractive(a.target),q=i.indexForItemElement(a.target),r=i.indexForHeaderElement(a.target),s=!p&&q!==l._INVALID_INDEX;if((m||d)&&this._site.pressedEntity.index===l._INVALID_INDEX&&!p&&(r===l._INVALID_INDEX?this._site.pressedEntity={type:k.ObjectType.item,index:q}:this._site.pressedEntity={type:k.ObjectType.groupHeader,index:r},this._site.pressedEntity.index!==l._INVALID_INDEX)){this._site.pressedPosition=j._getCursorPos(a);var t=i.verifySelectionAllowed(this._site.pressedEntity);this._canSelect=t.canSelect,this._canTapSelect=t.canTapSelect,this._site.pressedEntity.type===k.ObjectType.item?(this._site.pressedItemBox=i.itemBoxAtIndex(this._site.pressedEntity.index),this._site.pressedContainer=i.containerAtIndex(this._site.pressedEntity.index),this._site.animatedElement=this._site.pressedContainer,this._site.pressedHeader=null,this._togglePressed(!0,a),this._site.pressedContainer.addEventListener("dragstart",this._DragStartBound),m||(j._addEventListener(this._site.pressedContainer,"pointerenter",this._PointerEnterBound,!1),j._addEventListener(this._site.pressedContainer,"pointerleave",this._PointerLeaveBound,!1))):(this._site.pressedHeader=this._site.headerFromElement(a.target),e.isPhone?(this._site.animatedElement=this._site.pressedHeader,this._togglePressed(!0,a)):(this._site.pressedItemBox=null,this._site.pressedContainer=null,this._site.animatedElement=null)),this._resetPointerDownStateBound||(this._resetPointerDownStateBound=this._resetPointerDownStateForPointerId.bind(this)),m||(j._addEventListener(b,"pointerup",this._resetPointerDownStateBound,!1),j._addEventListener(b,"pointercancel",this._resetPointerDownStateBound,!1)),this._pointerId=a.pointerId,this._pointerRightButton=h}if(s&&m)try{j._setPointerCapture(i.canvasProxy,a.pointerId)}catch(u){return void f("WinJS.UI._ItemEventsHandler:MSPointerDown,StopTM")}this._site.pressedEntity.type===k.ObjectType.item&&this._selectionAllowed()&&this._multiSelection()&&this._site.pressedEntity.index!==l._INVALID_INDEX&&i.selection._getFocused().index!==l._INVALID_INDEX&&i.selection._pivot===l._INVALID_INDEX&&(i.selection._pivot=i.selection._getFocused().index),f("WinJS.UI._ItemEventsHandler:MSPointerDown,StopTM")},onPointerEnter:function(a){this._site.pressedContainer&&this._pointerId===a.pointerId&&this._togglePressed(!0,a)},onPointerLeave:function(a){this._site.pressedContainer&&this._pointerId===a.pointerId&&this._togglePressed(!1,a)},onDragStart:function(){this._resetPressedContainer()},_resetPressedContainer:function(){(this._site.pressedContainer||this._site.pressedHeader)&&this._site.animatedElement&&(this._togglePressed(!1),this._site.pressedContainer&&(this._site.pressedContainer.style[m.scriptName]="",this._site.pressedContainer.removeEventListener("dragstart",this._DragStartBound),j._removeEventListener(this._site.pressedContainer,"pointerenter",this._PointerEnterBound,!1),j._removeEventListener(this._site.pressedContainer,"pointerleave",this._PointerLeaveBound,!1)))},onClick:function(a){if(!this._skipClick){var b={type:k.ObjectType.item,index:this._site.indexForItemElement(a.target)};if(b.index===l._INVALID_INDEX&&(b.index=this._site.indexForHeaderElement(a.target),b.index!==l._INVALID_INDEX&&(b.type=k.ObjectType.groupHeader)),b.index!==l._INVALID_INDEX&&(j.hasClass(a.target,this._site.accessibleItemClass)||j.hasClass(a.target,l._headerClass))){var c=this._site.verifySelectionAllowed(b);c.canTapSelect&&this.handleTap(b),this._site.fireInvokeEvent(b,a.target)}}},onPointerUp:function(a){f("WinJS.UI._ItemEventsHandler:MSPointerUp,StartTM");var b=this._site;this._skipClick=!0;var c=this;e._yieldForEvents(function(){c._skipClick=!1});try{j._releasePointerCapture(b.canvasProxy,a.pointerId)}catch(d){}var h=a.pointerType===g,i=this._releasedElement(a),m=b.indexForItemElement(i),n=i&&j.hasClass(i,l._headerContainerClass)?b.indexForHeaderElement(b.pressedHeader):b.indexForHeaderElement(i);if(this._pointerId===a.pointerId){var o;if(o=n===l._INVALID_INDEX?{type:k.ObjectType.item,index:m}:{type:k.ObjectType.groupHeader,index:n},this._resetPressedContainer(),this._site.pressedEntity.type===k.ObjectType.item&&o.type===k.ObjectType.item&&this._site.pressedContainer&&this._site.pressedEntity.index===o.index)if(a.shiftKey||(b.selection._pivot=l._INVALID_INDEX),a.shiftKey){if(this._selectionAllowed()&&this._multiSelection()&&b.selection._pivot!==l._INVALID_INDEX){var p=Math.min(this._site.pressedEntity.index,b.selection._pivot),q=Math.max(this._site.pressedEntity.index,b.selection._pivot),r=this._pointerRightButton||a.ctrlKey||b.tapBehavior===k.TapBehavior.toggleSelect;b.selectRange(p,q,r)}}else a.ctrlKey&&this.toggleSelectionIfAllowed(this._site.pressedEntity.index);if(this._site.pressedHeader||this._site.pressedContainer){var s=j._getCursorPos(a),t=Math.abs(s.left-this._site.pressedPosition.left)<=l._TAP_END_THRESHOLD&&Math.abs(s.top-this._site.pressedPosition.top)<=l._TAP_END_THRESHOLD;this._pointerRightButton||a.ctrlKey||a.shiftKey||!(h&&t||!h&&this._site.pressedEntity.index===o.index&&this._site.pressedEntity.type===o.type)||(o.type===k.ObjectType.groupHeader?(this._site.pressedHeader=b.headerAtIndex(o.index),this._site.pressedItemBox=null,this._site.pressedContainer=null):(this._site.pressedItemBox=b.itemBoxAtIndex(o.index),this._site.pressedContainer=b.containerAtIndex(o.index),this._site.pressedHeader=null),this._canTapSelect&&this.handleTap(this._site.pressedEntity),this._site.fireInvokeEvent(this._site.pressedEntity,this._site.pressedItemBox||this._site.pressedHeader))}this._site.pressedEntity.index!==l._INVALID_INDEX&&b.changeFocus(this._site.pressedEntity,!0,!1,!0),this.resetPointerDownState()}f("WinJS.UI._ItemEventsHandler:MSPointerUp,StopTM")},onPointerCancel:function(a){this._pointerId===a.pointerId&&(f("WinJS.UI._ItemEventsHandler:MSPointerCancel,info"),this.resetPointerDownState())},onLostPointerCapture:function(a){this._pointerId===a.pointerId&&(f("WinJS.UI._ItemEventsHandler:MSLostPointerCapture,info"),this.resetPointerDownState())},onContextMenu:function(a){this._shouldSuppressContextMenu(a.target)&&a.preventDefault()},onMSHoldVisual:function(a){this._shouldSuppressContextMenu(a.target)&&a.preventDefault()},onDataChanged:function(){this.resetPointerDownState()},toggleSelectionIfAllowed:function(a){this._selectionAllowed(a)&&this._toggleItemSelection(a)},handleTap:function(a){if(a.type!==k.ObjectType.groupHeader){var b=this._site,c=b.selection;this._selectionAllowed(a.index)&&this._selectOnTap()&&(b.tapBehavior===k.TapBehavior.toggleSelect?this._toggleItemSelection(a.index):b.selectionMode!==k.SelectionMode.multi&&c._isIncluded(a.index)||c.set(a.index))}},_toggleItemSelection:function(a){var b=this._site,c=b.selection,d=c._isIncluded(a);b.selectionMode===k.SelectionMode.single?d?c.clear():c.set(a):d?c.remove(a):c.add(a)},_getCurrentPoint:function(a){return c.Windows.UI.Input.PointerPoint.getCurrentPoint(a.pointerId)},_containedInElementWithClass:function(a,b){if(a.parentNode)for(var c=a.parentNode.querySelectorAll("."+b+", ."+b+" *"),d=0,e=c.length;e>d;d++)if(c[d]===a)return!0;return!1},_isSelected:function(a){return this._site.selection._isIncluded(a)},_isInteractive:function(a){return this._containedInElementWithClass(a,"win-interactive")},_shouldSuppressContextMenu:function(a){var b=this._site.containerFromElement(a);return this._selectionAllowed()&&b&&!this._isInteractive(a)},_togglePressed:function(a,b){var c=this._site.pressedEntity.type===k.ObjectType.groupHeader;!c&&j.hasClass(this._site.pressedItemBox,l._nonSelectableClass)||this._staticMode(c)||(a?j.addClass(this._site.animatedElement,l._pressedClass):j.removeClass(this._site.animatedElement,l._pressedClass))},_resetPointerDownStateForPointerId:function(a){this._pointerId===a.pointerId&&this.resetPointerDownState()},resetPointerDownState:function(){this._site.pressedElement=null,j._removeEventListener(b,"pointerup",this._resetPointerDownStateBound),j._removeEventListener(b,"pointercancel",this._resetPointerDownStateBound),this._resetPressedContainer(),this._site.pressedContainer=null,this._site.animatedElement=null,this._site.pressedHeader=null,this._site.pressedItemBox=null,this._site.pressedEntity={type:k.ObjectType.item,index:l._INVALID_INDEX},this._pointerId=null},_releasedElement:function(a){return b.document.elementFromPoint(a.clientX,a.clientY)},_applyUIInBatches:function(a){function b(){c._work.length>0?(c._flushUIBatches(),c._paintedThisFrame=e._requestAnimationFrame(b.bind(c))):c._paintedThisFrame=null}var c=this;this._work.push(a),this._paintedThisFrame||b()},_flushUIBatches:function(){if(this._work.length>0){var a=this._work;this._work=[];for(var b=0;bi;i++)b.appendChild(h._selectionTemplate[i].cloneNode(!0))}else for(var m=b.querySelectorAll(j._selectionPartsSelector),i=0,k=m.length;k>i;i++)b.removeChild(m[i]);j[d?"addClass":"removeClass"](b,l._selectedClass),f&&j[d?"addClass":"removeClass"](f,l._selectedClass)}e&&h.setAriaSelected(c,d)}});return h})})}),d("WinJS/Controls/ListView/_SelectionManager",["exports","../../Core/_Global","../../Core/_Base","../../Promise","../../_Signal","../../Utilities/_UI","../ItemContainer/_Constants"],function(a,b,c,d,e,f,g){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{_ItemSet:c.Namespace._lazy(function(){var b=c.Class.define(function(a,b,c){this._listView=a,this._ranges=b,this._itemsCount=c});return b.prototype={getRanges:function(){for(var a=[],b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];a.push({firstIndex:d.firstIndex,lastIndex:d.lastIndex,firstKey:d.firstKey,lastKey:d.lastKey})}return a},getItems:function(){return a.getItemsFromRanges(this._listView._itemsManager.dataSource,this._ranges)},isEverything:function(){return this.count()===this._itemsCount},count:function(){for(var a=0,b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];a+=d.lastIndex-d.firstIndex+1}return a},getIndices:function(){for(var a=[],b=0,c=this._ranges.length;c>b;b++)for(var d=this._ranges[b],e=d.firstIndex;e<=d.lastIndex;e++)a.push(e);return a}},b}),getItemsFromRanges:function(a,b){function c(){for(var a=[],c=0,e=b.length;e>c;c++)for(var f=b[c],g=f.firstIndex;g<=f.lastIndex;g++)a.push(g);return d.wrap(a)}var e=a.createListBinding(),f=[];return c().then(function(a){for(var b=0;bj;j++){var l=h[j];"number"==typeof l?this[a](c("Index",l,l)):l&&(g&&void 0!==l.key?e(c("Key",l.key,l.key)):g&&void 0!==l.firstKey&&void 0!==l.lastKey?e(c("Key",l.firstKey,l.lastKey)):void 0!==l.index&&"number"==typeof l.index?this[a](c("Index",l.index,l.index)):void 0!==l.firstIndex&&void 0!==l.lastIndex&&"number"==typeof l.firstIndex&&"number"==typeof l.lastIndex&&this[a](c("Index",l.firstIndex,l.lastIndex)))}return d.join(i)},_set:function(a){this._retainRange(a),this._ranges.push(a)},_add:function(a){for(var b,c,d,e=this,f=null,g=function(a,b){b.lastIndex>a.lastIndex&&(a.lastIndex=b.lastIndex,a.lastKey=b.lastKey,a.lastPromise&&a.lastPromise.release(),a.lastPromise=e._getListBinding().fromIndex(a.lastIndex).retain())},h=0,i=this._ranges.length;i>h;h++){if(b=this._ranges[h],a.firstIndexh;h++){if(b=this._ranges[h],a.lastIndexa.lastIndex,d&&g(this._ranges[c],f),this._removeRanges(c+1,h-c-1);break}if(a.lastIndex===b.firstIndex){g(this._ranges[c],b),this._removeRanges(c+1,h-c);break}f=b}h>=i&&(g(this._ranges[c],this._ranges[i-1]),this._removeRanges(c+1,i-c-1))}},_remove:function(a){function b(a){return c._getListBinding().fromIndex(a).retain()}for(var c=this,d=[],e=0,f=this._ranges.length;f>e;e++){var g=this._ranges[e];g.lastIndexa.lastIndex?d.push(g):g.firstIndex=a.firstIndex&&g.lastIndex<=a.lastIndex?(d.push({firstIndex:g.firstIndex,firstKey:g.firstKey,firstPromise:g.firstPromise,lastIndex:a.firstIndex-1,lastPromise:b(a.firstIndex-1)}),g.lastPromise.release()):g.lastIndex>a.lastIndex&&g.firstIndex>=a.firstIndex&&g.firstIndex<=a.lastIndex?(d.push({firstIndex:a.lastIndex+1,firstPromise:b(a.lastIndex+1),lastIndex:g.lastIndex,lastKey:g.lastKey,lastPromise:g.lastPromise}),g.firstPromise.release()):g.firstIndexa.lastIndex?(d.push({firstIndex:g.firstIndex,firstKey:g.firstKey,firstPromise:g.firstPromise,lastIndex:a.firstIndex-1,lastPromise:b(a.firstIndex-1)}),d.push({firstIndex:a.lastIndex+1,firstPromise:b(a.lastIndex+1),lastIndex:g.lastIndex,lastKey:g.lastKey,lastPromise:g.lastPromise})):(g.firstPromise.release(),g.lastPromise.release())}this._ranges=d},_ensureKeys:function(){for(var a=[d.wrap()],b=this,c=function(a,b){var c=a+"Key";if(b[c])return d.wrap();var e=b[a+"Promise"];return e.then(function(a){a&&(b[c]=a.key)}),e},e=0,f=this._ranges.length;f>e;e++){var g=this._ranges[e];a.push(c("first",g)),a.push(c("last",g))}return d.join(a).then(function(){b._ranges=b._ranges.filter(function(a){return a.firstKey&&a.lastKey})}),d.join(a)},_mergeRanges:function(a,b){a.lastIndex=b.lastIndex,a.lastKey=b.lastKey},_isIncluded:function(a){if(this.isEverything())return!0;for(var b=0,c=this._ranges.length;c>b;b++){var d=this._ranges[b];if(d.firstIndex<=a&&a<=d.lastIndex)return!0}return!1},_ensureCount:function(){var a=this;return this._listView._itemsCount().then(function(b){a._itemsCount=b})},_insertRange:function(a,b){this._retainRange(b),this._ranges.splice(a,0,b)},_removeRanges:function(a,b){for(var c=0;b>c;c++)this._releaseRange(this._ranges[a+c]);this._ranges.splice(a,b)},_retainRange:function(a){a.firstPromise||(a.firstPromise=this._getListBinding().fromIndex(a.firstIndex).retain()),a.lastPromise||(a.lastPromise=this._getListBinding().fromIndex(a.lastIndex).retain())},_retainRanges:function(){for(var a=0,b=this._ranges.length;b>a;a++)this._retainRange(this._ranges[a])},_releaseRange:function(a){a.firstPromise.release(),a.lastPromise.release()},_releaseRanges:function(a){for(var b=0,c=a.length;c>b;++b)this._releaseRange(a[b])},_getListBinding:function(){return this._listView._itemsManager._listBinding}},{supportedForProcessing:!1})}),_SelectionManager:c.Namespace._lazy(function(){var c=function(b){this._listView=b,this._selected=new a._Selection(this._listView),this._pivot=g._INVALID_INDEX,this._focused={type:f.ObjectType.item,index:0},this._pendingChange=d.wrap()};return c.prototype={count:function(){return this._selected.count()},getIndices:function(){return this._selected.getIndices()},getItems:function(){return this._selected.getItems()},getRanges:function(){return this._selected.getRanges()},isEverything:function(){return this._selected.isEverything()},set:function(b){var c=this,f=new e;return this._synchronize(f).then(function(){var e=new a._Selection(c._listView);return e.set(b).then(function(){c._set(e),f.complete()},function(a){return e.clear(),f.complete(),d.wrapError(a)})})},clear:function(){var b=this,c=new e;return this._synchronize(c).then(function(){var e=new a._Selection(b._listView);return e.clear().then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},add:function(a){var b=this,c=new e;return this._synchronize(c).then(function(){var e=b._cloneSelection();return e.add(a).then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},remove:function(a){var b=this,c=new e;return this._synchronize(c).then(function(){var e=b._cloneSelection();return e.remove(a).then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},selectAll:function(){var b=this,c=new e;return this._synchronize(c).then(function(){var e=new a._Selection(b._listView);return e.selectAll().then(function(){b._set(e),c.complete()},function(a){return e.clear(),c.complete(),d.wrapError(a)})})},_synchronize:function(a){var b=this;return this._listView._versionManager.unlocked.then(function(){var c=b._pendingChange;return b._pendingChange=d.join([c,a.promise]).then(function(){}),c})},_reset:function(){this._pivot=g._INVALID_INDEX,this._setFocused({type:f.ObjectType.item,index:0},this._keyboardFocused()),this._pendingChange.cancel(),this._pendingChange=d.wrap(),this._selected.clear(),this._selected=new a._Selection(this._listView)},_dispose:function(){this._selected.clear(),this._selected=null,this._listView=null},_set:function(a){var b=this;return this._fireSelectionChanging(a).then(function(c){return c?(b._selected.clear(),b._selected=a,b._listView._updateSelection(),b._fireSelectionChanged()):a.clear(),c})},_fireSelectionChanging:function(a){var c=b.document.createEvent("CustomEvent"),e=d.wrap();c.initCustomEvent("selectionchanging",!0,!0,{newSelection:a,preventTapBehavior:function(){},setPromise:function(a){e=a}});var f=this._listView._element.dispatchEvent(c);return e.then(function(){return f})},_fireSelectionChanged:function(){var a=b.document.createEvent("CustomEvent");a.initCustomEvent("selectionchanged",!0,!1,null),this._listView._element.dispatchEvent(a)},_getFocused:function(){return{type:this._focused.type,index:this._focused.index}},_setFocused:function(a,b){this._focused={type:a.type,index:a.index},this._focusedByKeyboard=b},_keyboardFocused:function(){return this._focusedByKeyboard},_updateCount:function(a){this._selected._itemsCount=a},_isIncluded:function(a){return this._selected._isIncluded(a)},_cloneSelection:function(){var b=new a._Selection(this._listView); return b._ranges=this._selected.getRanges(),b._itemsCount=this._selected._itemsCount,b._retainRanges(),b}},c.supportedForProcessing=!1,c})})}),d("WinJS/Controls/ListView/_BrowseMode",["exports","../../Core/_Global","../../Core/_Base","../../Core/_BaseUtils","../../Animations","../../Promise","../../Utilities/_ElementUtilities","../../Utilities/_UI","../ItemContainer/_Constants","../ItemContainer/_ItemEventsHandler","./_SelectionManager"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";var l=d._browserStyleEquivalents.transform.scriptName;c.Namespace._moduleDefine(a,"WinJS.UI",{_SelectionMode:c.Namespace._lazy(function(){function a(a,b,c){return Math.max(a,Math.min(b,c))}function e(a,c,d){var e=b.document.createEvent("CustomEvent");return e.initCustomEvent("keyboardnavigating",!0,!0,{oldFocus:c.index,oldFocusType:c.type,newFocus:d.index,newFocusType:d.type}),a.dispatchEvent(e)}var m=c.Class.define(function(a){this.inboundFocusHandled=!1,this._pressedContainer=null,this._pressedItemBox=null,this._pressedHeader=null,this._pressedEntity={type:h.ObjectType.item,index:i._INVALID_INDEX},this._pressedPosition=null,this.initialize(a)},{_dispose:function(){this._itemEventsHandler&&this._itemEventsHandler.dispose(),this._setNewFocusItemOffsetPromise&&this._setNewFocusItemOffsetPromise.cancel()},initialize:function(a){function b(b,c){var d=function(c){return a._view.getAdjacent(c,b)};return d.clampToBounds=c,d}this.site=a,this._keyboardNavigationHandlers={},this._keyboardAcceleratorHandlers={};var c=this.site,d=this;this._itemEventsHandler=new j._ItemEventsHandler(Object.create({containerFromElement:function(a){return c._view.items.containerFrom(a)},indexForItemElement:function(a){return c._view.items.index(a)},indexForHeaderElement:function(a){return c._groups.index(a)},itemBoxAtIndex:function(a){return c._view.items.itemBoxAt(a)},itemAtIndex:function(a){return c._view.items.itemAt(a)},headerAtIndex:function(a){return c._groups.group(a).header},headerFromElement:function(a){return c._groups.headerFrom(a)},containerAtIndex:function(a){return c._view.items.containerAt(a)},isZombie:function(){return c._isZombie()},getItemPosition:function(a){return c._getItemPosition(a)},rtl:function(){return c._rtl()},fireInvokeEvent:function(a,b){return d._fireInvokeEvent(a,b)},verifySelectionAllowed:function(a){return d._verifySelectionAllowed(a)},changeFocus:function(a,b,d,e,f){return c._changeFocus(a,b,d,e,f)},selectRange:function(a,b,c){return d._selectRange(a,b,c)}},{pressedEntity:{enumerable:!0,get:function(){return d._pressedEntity},set:function(a){d._pressedEntity=a}},pressedContainerScaleTransform:{enumerable:!0,get:function(){return d._pressedContainerScaleTransform},set:function(a){d._pressedContainerScaleTransform=a}},pressedContainer:{enumerable:!0,get:function(){return d._pressedContainer},set:function(a){d._pressedContainer=a}},pressedItemBox:{enumerable:!0,get:function(){return d._pressedItemBox},set:function(a){d._pressedItemBox=a}},pressedHeader:{enumerable:!0,get:function(){return d._pressedHeader},set:function(a){return d._pressedHeader=a}},pressedPosition:{enumerable:!0,get:function(){return d._pressedPosition},set:function(a){d._pressedPosition=a}},pressedElement:{enumerable:!0,set:function(a){d._pressedElement=a}},eventHandlerRoot:{enumerable:!0,get:function(){return c._viewport}},selectionMode:{enumerable:!0,get:function(){return c._selectionMode}},accessibleItemClass:{enumerable:!0,get:function(){return i._itemClass}},canvasProxy:{enumerable:!0,get:function(){return c._canvasProxy}},tapBehavior:{enumerable:!0,get:function(){return c._tap}},headerTapBehavior:{enumerable:!0,get:function(){return c._groupHeaderTap}},draggable:{enumerable:!0,get:function(){return c.itemsDraggable||c.itemsReorderable}},selection:{enumerable:!0,get:function(){return c._selection}},customFootprintParent:{enumerable:!0,get:function(){return null}}}));var e=g.Key;this._keyboardNavigationHandlers[e.upArrow]=b(e.upArrow),this._keyboardNavigationHandlers[e.downArrow]=b(e.downArrow),this._keyboardNavigationHandlers[e.leftArrow]=b(e.leftArrow),this._keyboardNavigationHandlers[e.rightArrow]=b(e.rightArrow),this._keyboardNavigationHandlers[e.pageUp]=b(e.pageUp,!0),this._keyboardNavigationHandlers[e.pageDown]=b(e.pageDown,!0),this._keyboardNavigationHandlers[e.home]=function(a){return!d.site._header||a.type!==h.ObjectType.groupHeader&&a.type!==h.ObjectType.footer?f.wrap({type:a.type!==h.ObjectType.footer?a.type:h.ObjectType.groupHeader,index:0}):f.wrap({type:h.ObjectType.header,index:0})},this._keyboardNavigationHandlers[e.end]=function(a){if(!d.site._footer||a.type!==h.ObjectType.groupHeader&&a.type!==h.ObjectType.header){if(a.type===h.ObjectType.groupHeader||a.type===h.ObjectType.header)return f.wrap({type:h.ObjectType.groupHeader,index:c._groups.length()-1});var b=d.site._view.lastItemIndex();return b>=0?f.wrap({type:a.type,index:b}):f.cancel}return f.wrap({type:h.ObjectType.footer,index:0})},this._keyboardAcceleratorHandlers[e.a]=function(){d.site._multiSelection()&&d._selectAll()}},staticMode:function(){return this.site._tap===h.TapBehavior.none&&this.site._selectionMode===h.SelectionMode.none},itemUnrealized:function(a,b){if(this._pressedEntity.type!==h.ObjectType.groupHeader&&(this._pressedEntity.index===a&&this._resetPointerDownState(),this._itemBeingDragged(a)))for(var c=this._draggedItemBoxes.length-1;c>=0;c--)this._draggedItemBoxes[c]===b&&(g.removeClass(b,i._dragSourceClass),this._draggedItemBoxes.splice(c,1))},_fireInvokeEvent:function(a,c){function d(d,f){var g=d.createListBinding(),h=g.fromIndex(a.index),i=f?"groupheaderinvoked":"iteminvoked";h.done(function(){g.release()});var j=b.document.createEvent("CustomEvent");j.initCustomEvent(i,!0,!0,f?{groupHeaderPromise:h,groupHeaderIndex:a.index}:{itemPromise:h,itemIndex:a.index}),c.dispatchEvent(j)&&e.site._defaultInvoke(a)}if(c){var e=this;a.type===h.ObjectType.groupHeader?this.site._groupHeaderTap===h.GroupHeaderTapBehavior.invoke&&a.index!==i._INVALID_INDEX&&d(this.site.groupDataSource,!0):this.site._tap===h.TapBehavior.none||a.index===i._INVALID_INDEX||this.site._isInSelectionMode()||d(this.site.itemDataSource,!1)}},_verifySelectionAllowed:function(a){if(a.type===h.ObjectType.groupHeader)return{canSelect:!1,canTapSelect:!1};var c=a.index,d=this.site,e=this.site._view.items.itemAt(c);if(!d._selectionAllowed()||!d._selectOnTap()||e&&g.hasClass(e,i._nonSelectableClass))return{canSelect:!1,canTapSelect:!1};var j=d._selection._isIncluded(c),k=!d._multiSelection(),l=d._selection._cloneSelection();j?k?l.clear():l.remove(c):k?l.set(c):l.add(c);var m,n=b.document.createEvent("CustomEvent"),o=f.wrap(),p=!1,q=!1;n.initCustomEvent("selectionchanging",!0,!0,{newSelection:l,preventTapBehavior:function(){q=!0},setPromise:function(a){o=a}});var r=d._element.dispatchEvent(n);o.then(function(){p=!0,m=l._isIncluded(c),l.clear()});var s=r&&p&&(j||m);return{canSelect:s,canTapSelect:s&&!q}},_containedInElementWithClass:function(a,b){if(a.parentNode)for(var c=a.parentNode.querySelectorAll("."+b+", ."+b+" *"),d=0,e=c.length;e>d;d++)if(c[d]===a)return!0;return!1},_isDraggable:function(a){return!this._containedInElementWithClass(a,i._nonDraggableClass)},_isInteractive:function(a){return this._containedInElementWithClass(a,"win-interactive")},_resetPointerDownState:function(){this._itemEventsHandler.resetPointerDownState()},onPointerDown:function(a){this._itemEventsHandler.onPointerDown(a)},onclick:function(a){this._itemEventsHandler.onClick(a)},onPointerUp:function(a){this._itemEventsHandler.onPointerUp(a)},onPointerCancel:function(a){this._itemEventsHandler.onPointerCancel(a)},onLostPointerCapture:function(a){this._itemEventsHandler.onLostPointerCapture(a)},onContextMenu:function(a){this._itemEventsHandler.onContextMenu(a)},onMSHoldVisual:function(a){this._itemEventsHandler.onMSHoldVisual(a)},onDataChanged:function(a){this._itemEventsHandler.onDataChanged(a)},_removeTransform:function(a,b){b&&-1!==a.style[l].indexOf(b)&&(a.style[l]=a.style[l].replace(b,""))},_selectAll:function(){var a=[];this.site._view.items.each(function(b,c){c&&g.hasClass(c,i._nonSelectableClass)&&a.push(b)}),this.site._selection.selectAll(),a.length>0&&this.site._selection.remove(a)},_selectRange:function(a,b,c){for(var d=[],e=-1,f=a;b>=f;f++){var h=this.site._view.items.itemAt(f);h&&g.hasClass(h,i._nonSelectableClass)?-1!==e&&(d.push({firstIndex:e,lastIndex:f-1}),e=-1):-1===e&&(e=f)}-1!==e&&d.push({firstIndex:e,lastIndex:b}),d.length>0&&this.site._selection[c?"add":"set"](d)},onDragStart:function(a){if(this._pressedEntity={type:h.ObjectType.item,index:this.site._view.items.index(a.target)},this.site._selection._pivot=i._INVALID_INDEX,this._pressedEntity.index===i._INVALID_INDEX||!this.site.itemsDraggable&&!this.site.itemsReorderable||this.site._view.animating||!this._isDraggable(a.target)||this._pressedElement&&this._isInteractive(this._pressedElement))a.preventDefault();else{this._dragging=!0,this._dragDataTransfer=a.dataTransfer,this._pressedPosition=g._getCursorPos(a),this._dragInfo=null,this._lastEnteredElement=a.target,this.site._selection._isIncluded(this._pressedEntity.index)?this._dragInfo=this.site.selection:(this._draggingUnselectedItem=!0,this._dragInfo=new k._Selection(this.site,[{firstIndex:this._pressedEntity.index,lastIndex:this._pressedEntity.index}]));var c=this.site.itemsReorderable,e=b.document.createEvent("CustomEvent");if(e.initCustomEvent("itemdragstart",!0,!1,{dataTransfer:a.dataTransfer,dragInfo:this._dragInfo}),a.dataTransfer.setData("text",""),a.dataTransfer.setDragImage){var f=this.site._view.items.itemDataAt(this._pressedEntity.index);if(f&&f.container){var j=f.container.getBoundingClientRect();a.dataTransfer.setDragImage(f.container,a.clientX-j.left,a.clientY-j.top)}}this.site.element.dispatchEvent(e),this.site.itemsDraggable&&!this.site.itemsReorderable&&(this._firedDragEnter||this._fireDragEnterEvent(a.dataTransfer)&&(c=!0,this._dragUnderstood=!0)),c&&(this._addedDragOverClass=!0,g.addClass(this.site._element,i._dragOverClass)),this._draggedItemBoxes=[];var l=this,m=a.target;m.addEventListener("dragend",function n(a){m.removeEventListener("dragend",n),l.onDragEnd(a)}),d._yieldForDomModification(function(){if(l._dragging)for(var a=l._dragInfo.getIndices(),b=0,c=a.length;c>b;b++){var d=l.site._view.items.itemDataAt(a[b]);d&&d.itemBox&&l._addDragSourceClass(d.itemBox)}})}},onDragEnter:function(a){var c=this._dragUnderstood;this._lastEnteredElement=a.target,this._exitEventTimer&&(b.clearTimeout(this._exitEventTimer),this._exitEventTimer=0),this._firedDragEnter||this._fireDragEnterEvent(a.dataTransfer)&&(c=!0),(c||this._dragging&&this.site.itemsReorderable)&&(a.preventDefault(),this._dragUnderstood=!0,this._addedDragOverClass||(this._addedDragOverClass=!0,g.addClass(this.site._element,i._dragOverClass))),this._pointerLeftRegion=!1},onDragLeave:function(a){a.target===this._lastEnteredElement&&(this._pointerLeftRegion=!0,this._handleExitEvent())},fireDragUpdateEvent:function(){var a=b.document.createEvent("CustomEvent");a.initCustomEvent("itemdragchanged",!0,!1,{dataTransfer:this._dragDataTransfer,dragInfo:this._dragInfo}),this.site.element.dispatchEvent(a)},_fireDragEnterEvent:function(a){var c=b.document.createEvent("CustomEvent");c.initCustomEvent("itemdragenter",!0,!0,{dataTransfer:a});var d=!this.site.element.dispatchEvent(c);return this._firedDragEnter=!0,d},_fireDragBetweenEvent:function(a,c,d){var e=b.document.createEvent("CustomEvent");return e.initCustomEvent("itemdragbetween",!0,!0,{index:a,insertAfterIndex:c,dataTransfer:d}),this.site.element.dispatchEvent(e)},_fireDropEvent:function(a,c,d){var e=b.document.createEvent("CustomEvent");return e.initCustomEvent("itemdragdrop",!0,!0,{index:a,insertAfterIndex:c,dataTransfer:d}),this.site.element.dispatchEvent(e)},_handleExitEvent:function(){this._exitEventTimer&&(b.clearTimeout(this._exitEventTimer),this._exitEventTimer=0);var a=this;this._exitEventTimer=b.setTimeout(function(){if(!a.site._disposed&&a._pointerLeftRegion){if(a.site._layout.dragLeave&&a.site._layout.dragLeave(),a._pointerLeftRegion=!1,a._dragUnderstood=!1,a._lastEnteredElement=null,a._lastInsertPoint=null,a._dragBetweenDisabled=!1,a._firedDragEnter){var c=b.document.createEvent("CustomEvent");c.initCustomEvent("itemdragleave",!0,!1,{}),a.site.element.dispatchEvent(c),a._firedDragEnter=!1}a._addedDragOverClass&&(a._addedDragOverClass=!1,g.removeClass(a.site._element,i._dragOverClass)),a._exitEventTimer=0,a._stopAutoScroll()}},40)},_getEventPositionInElementSpace:function(a,b){var c={left:0,top:0};try{c=a.getBoundingClientRect()}catch(d){}var e=g._getComputedStyle(a,null),f=parseInt(e.paddingLeft),h=parseInt(e.paddingTop),i=parseInt(e.borderLeftWidth),j=parseInt(e.borderTopWidth),k=b.clientX,l=b.clientY,m={x:+k===k?k-c.left-f-i:0,y:+l===l?l-c.top-h-j:0};return this.site._rtl()&&(m.x=c.right-c.left-m.x),m},_getPositionInCanvasSpace:function(a){var b=this.site._horizontal()?this.site.scrollPosition:0,c=this.site._horizontal()?0:this.site.scrollPosition,d=this._getEventPositionInElementSpace(this.site.element,a);return{x:d.x+b,y:d.y+c}},_itemBeingDragged:function(a){return this._dragging?this._draggingUnselectedItem&&this._dragInfo._isIncluded(a)||!this._draggingUnselectedItem&&this.site._isSelected(a):!1},_addDragSourceClass:function(a){this._draggedItemBoxes.push(a),g.addClass(a,i._dragSourceClass),a.parentNode&&g.addClass(a.parentNode,i._footprintClass)},renderDragSourceOnRealizedItem:function(a,b){this._itemBeingDragged(a)&&this._addDragSourceClass(b)},onDragOver:function(b){if(this._dragUnderstood){this._pointerLeftRegion=!1,b.preventDefault();var c=this._getPositionInCanvasSpace(b),d=this._getEventPositionInElementSpace(this.site.element,b);if(this._checkAutoScroll(d.x,d.y),this.site._layout.hitTest)if(this._autoScrollFrame)this._lastInsertPoint&&(this.site._layout.dragLeave(),this._lastInsertPoint=null);else{var e=this.site._view.hitTest(c.x,c.y);e.insertAfterIndex=a(-1,this.site._cachedCount-1,e.insertAfterIndex),this._lastInsertPoint&&this._lastInsertPoint.insertAfterIndex===e.insertAfterIndex&&this._lastInsertPoint.index===e.index||(this._dragBetweenDisabled=!this._fireDragBetweenEvent(e.index,e.insertAfterIndex,b.dataTransfer),this._dragBetweenDisabled?this.site._layout.dragLeave():this.site._layout.dragOver(c.x,c.y,this._dragInfo)),this._lastInsertPoint=e}}},_clearDragProperties:function(){if(this._addedDragOverClass&&(this._addedDragOverClass=!1,g.removeClass(this.site._element,i._dragOverClass)),this._draggedItemBoxes){for(var a=0,b=this._draggedItemBoxes.length;b>a;a++)g.removeClass(this._draggedItemBoxes[a],i._dragSourceClass),this._draggedItemBoxes[a].parentNode&&g.removeClass(this._draggedItemBoxes[a].parentNode,i._footprintClass);this._draggedItemBoxes=[]}this.site._layout.dragLeave(),this._dragging=!1,this._dragInfo=null,this._draggingUnselectedItem=!1,this._dragDataTransfer=null,this._lastInsertPoint=null,this._resetPointerDownState(),this._lastEnteredElement=null,this._dragBetweenDisabled=!1,this._firedDragEnter=!1,this._dragUnderstood=!1,this._stopAutoScroll()},onDragEnd:function(){var a=b.document.createEvent("CustomEvent");a.initCustomEvent("itemdragend",!0,!1,{}),this.site.element.dispatchEvent(a),this._clearDragProperties()},_findFirstAvailableInsertPoint:function(a,b,c){for(var d=a.getIndices(),e=-1,f=this.site._cachedCount,g=d.length,h=-1,i=b,j=0;g>j;j++)if(d[j]===i){e=j,h=j;break}for(;e>=0&&i>=0;)c?(i++,g>e&&d[e+1]===i&&f>i?e++:i>=f?(c=!1,i=b,e=h):e=-1):(i--,e>0&&d[e-1]===i?e--:e=-1);return i},_reorderItems:function(a,b,c,d,e){var f=this.site,g=function(a){c?f._selection.remove({key:a[0].key}):f._selection.set({firstKey:a[0].key,lastKey:a[a.length-1].key}),e&&f.ensureVisible(f._selection._getFocused())};b.getItems().then(function(b){var c=f.itemDataSource;if(-1===a){c.beginEdits();for(var e=b.length-1;e>=0;e--)c.moveToStart(b[e].key);c.endEdits(),g(b)}else{var h=c.createListBinding();h.fromIndex(a).then(function(a){if(h.release(),c.beginEdits(),d)for(var e=0,f=b.length;f>e;e++)c.moveBefore(b[e].key,a.key);else for(var e=b.length-1;e>=0;e--)c.moveAfter(b[e].key,a.key);c.endEdits(),g(b)})}})},onDrop:function(b){if(this._draggedItemBoxes)for(var c=0,d=this._draggedItemBoxes.length;d>c;c++)this._draggedItemBoxes[c].parentNode&&g.removeClass(this._draggedItemBoxes[c].parentNode,i._footprintClass);if(!this._dragBetweenDisabled){var e=this._getPositionInCanvasSpace(b),f=this.site._view.hitTest(e.x,e.y),h=a(-1,this.site._cachedCount-1,f.insertAfterIndex),j=!0;if(this._lastInsertPoint&&this._lastInsertPoint.insertAfterIndex===h&&this._lastInsertPoint.index===f.index||(j=this._fireDragBetweenEvent(f.index,h,b.dataTransfer)),j&&(this._lastInsertPoint=null,this.site._layout.dragLeave(),this._fireDropEvent(f.index,h,b.dataTransfer)&&this._dragging&&this.site.itemsReorderable)){if(this._dragInfo.isEverything()||this.site._groupsEnabled())return;h=this._findFirstAvailableInsertPoint(this._dragInfo,h,!1),this._reorderItems(h,this._dragInfo,this._draggingUnselectedItem)}}this._clearDragProperties(),b.preventDefault()},_checkAutoScroll:function(a,c){var e=this.site._getViewportLength(),f=this.site._horizontal(),h=f?a:c,j=this.site._viewport[f?"scrollWidth":"scrollHeight"],k=Math.floor(this.site.scrollPosition),l=0;if(he-i._AUTOSCROLL_THRESHOLD&&(l=h-(e-i._AUTOSCROLL_THRESHOLD)),l=Math.round(l/i._AUTOSCROLL_THRESHOLD*(i._MAX_AUTOSCROLL_RATE-i._MIN_AUTOSCROLL_RATE)),(0===k&&0>l||k>=j-e&&l>0)&&(l=0),0===l)this._autoScrollDelay&&(b.clearTimeout(this._autoScrollDelay),this._autoScrollDelay=0);else if(!this._autoScrollDelay&&!this._autoScrollFrame){var m=this;this._autoScrollDelay=b.setTimeout(function(){if(m._autoScrollRate){m._lastDragTimeout=d._now();var a=function(){if(!m._autoScrollRate&&m._autoScrollFrame||m.site._disposed)m._stopAutoScroll();else{var b=d._now(),c=m._autoScrollRate*((b-m._lastDragTimeout)/1e3);c=0>c?Math.min(-1,c):Math.max(1,c);var e={};e[m.site._scrollProperty]=m.site._viewportScrollPosition+c,g.setScrollPosition(m.site._viewport,e),m._lastDragTimeout=b,m._autoScrollFrame=d._requestAnimationFrame(a)}};m._autoScrollFrame=d._requestAnimationFrame(a)}},i._AUTOSCROLL_DELAY)}this._autoScrollRate=l},_stopAutoScroll:function(){this._autoScrollDelay&&(b.clearTimeout(this._autoScrollDelay),this._autoScrollDelay=0),this._autoScrollRate=0,this._autoScrollFrame=0},onKeyDown:function(a){function b(a,b,g){function k(j){var k=!0,m=!1;if(g?a.index=Math.max(0,Math.min(j,a.index)):(a.index<0||a.index>j)&&(m=!0),!m&&(l.index!==a.index||l.type!==a.type)){var o=e(d._element,l,a);o&&(k=!1,c._setNewFocusItemOffsetPromise&&c._setNewFocusItemOffsetPromise.cancel(),d._batchViewUpdates(i._ViewChange.realize,i._ScrollToPriority.high,function(){return c._setNewFocusItemOffsetPromise=d._getItemOffset(l,!0).then(function(e){e=d._convertFromCanvasCoordinates(e);var g=e.end<=d.scrollPosition||e.begin>=d.scrollPosition+d._getViewportLength()-1;return c._setNewFocusItemOffsetPromise=d._getItemOffset(a).then(function(e){c._setNewFocusItemOffsetPromise=null;var h={position:d.scrollPosition,direction:"right"};return g&&(d._selection._setFocused(a,!0),e=d._convertFromCanvasCoordinates(e),a.index>l.index?(h.direction="right",h.position=e.end-d._getViewportLength()):(h.direction="left",h.position=e.begin)),d._changeFocus(a,b,n,g,!0),g?h:f.cancel},function(c){return d._changeFocus(a,b,n,!0,!0),f.wrapError(c)}),c._setNewFocusItemOffsetPromise},function(c){return d._changeFocus(a,b,n,!0,!0),f.wrapError(c)}),c._setNewFocusItemOffsetPromise},!0))}return k&&(d._selection._setFocused(l,!0),d.ensureVisible(l)),m?{type:h.ObjectType.item,index:i._INVALID_INDEX}:a}return a.type===h.ObjectType.item?f.wrap(j.lastItemIndex()).then(k):a.type===h.ObjectType.groupHeader?f.wrap(d._groups.length()-1).then(k):f.wrap(0).then(k)}var c=this,d=this.site,j=d._view,l=d._selection._getFocused(),m=!0,n=a.ctrlKey,o=g.Key,p=a.keyCode,q=d._rtl();if(!this._isInteractive(a.target)){if(a.ctrlKey&&!a.altKey&&!a.shiftKey&&this._keyboardAcceleratorHandlers[p]&&this._keyboardAcceleratorHandlers[p](),d.itemsReorderable&&!a.ctrlKey&&a.altKey&&a.shiftKey&&l.type===h.ObjectType.item&&(p===o.leftArrow||p===o.rightArrow||p===o.upArrow||p===o.downArrow)){var r=d._selection,s=l.index,t=!1,u=!0;if(!r.isEverything()){if(!r._isIncluded(s)){var v=d._view.items.itemAt(s);v&&g.hasClass(v,i._nonDraggableClass)?u=!1:(t=!0,r=new k._Selection(this.site,[{firstIndex:s,lastIndex:s}]))}if(u){var w=s;p===o.rightArrow?w+=q?-1:1:p===o.leftArrow?w+=q?1:-1:p===o.upArrow?w--:w++;var x=w>s,y=x;x&&w>=this.site._cachedCount&&(y=!1,w=this.site._cachedCount-1),w=this._findFirstAvailableInsertPoint(r,w,y),w=Math.min(Math.max(-1,w),this.site._cachedCount-1);var z=w-(x||-1===w?0:1),A=w,B=this.site._groupsEnabled();if(B){var C=this.site._groups,D=w>-1?C.groupFromItem(w):0;x?C.group(D).startIndex===w&&z--:D0?(d._selection._pivot=i._INVALID_INDEX,d._selection.clear()):m=!1;else{var E=l.type===h.ObjectType.groupHeader?d._groups.group(l.index).header:d._view.items.itemBoxAt(l.index);if(E){l.type===h.ObjectType.groupHeader?(this._pressedHeader=E,this._pressedItemBox=null,this._pressedContainer=null):(this._pressedItemBox=E,this._pressedContainer=d._view.items.containerAt(l.index),this._pressedHeader=null);var F=this._verifySelectionAllowed(l);F.canTapSelect&&this._itemEventsHandler.handleTap(l),this._fireInvokeEvent(l,E)}}this._keyDownHandled=m,m&&(a.stopPropagation(),a.preventDefault())}p===o.tab&&(this.site._keyboardFocusInbound=!0)},onKeyUp:function(a){this._keyDownHandled&&(a.stopPropagation(),a.preventDefault())},onTabEntered:function(a){if(0!==this.site._groups.length()||this.site._hasHeaderOrFooter){var b=this.site,c=b._selection._getFocused(),d=a.detail,f=!b._hasKeyboardFocus||a.target===b._viewport;if(f)if(this.inboundFocusHandled=!0,c.index=c.index===i._INVALID_INDEX?0:c.index,d||!this.site._supportsGroupHeaderKeyboarding&&!this.site._hasHeaderOrFooter){var g={type:h.ObjectType.item};c.type===h.ObjectType.groupHeader?(g.index=b._groupFocusCache.getIndexForGroup(c.index),e(b._element,c,g)?b._changeFocus(g,!0,!1,!1,!0):b._changeFocus(c,!0,!1,!1,!0)):(g.index=c.type!==h.ObjectType.item?b._groupFocusCache.getLastFocusedItemIndex():c.index,b._changeFocus(g,!0,!1,!1,!0)),a.preventDefault()}else{var g={type:h.ObjectType.groupHeader};this.site._hasHeaderOrFooter?this.site._lastFocusedElementInGroupTrack.type===h.ObjectType.groupHeader&&this.site._supportsGroupHeaderKeyboarding?(g.index=b._groups.groupFromItem(c.index),e(b._element,c,g)?b._changeFocus(g,!0,!1,!1,!0):b._changeFocus(c,!0,!1,!1,!0)):(g.type=this.site._lastFocusedElementInGroupTrack.type,g.index=0,b._changeFocus(g,!0,!1,!1,!0)):c.type!==h.ObjectType.groupHeader&&this.site._supportsGroupHeaderKeyboarding?(g.index=b._groups.groupFromItem(c.index),e(b._element,c,g)?b._changeFocus(g,!0,!1,!1,!0):b._changeFocus(c,!0,!1,!1,!0)):(g.index=c.index,b._changeFocus(g,!0,!1,!1,!0)),a.preventDefault()}}},onTabExiting:function(a){if(this.site._hasHeaderOrFooter||this.site._supportsGroupHeaderKeyboarding&&0!==this.site._groups.length()){var b=this.site,c=b._selection._getFocused(),d=a.detail;if(d){var f=null;if(c.type===h.ObjectType.item){var g=this.site._lastFocusedElementInGroupTrack.type;if(g!==h.ObjectType.header&&g!==h.ObjectType.footer&&this.site._supportsGroupHeaderKeyboarding)var f={type:h.ObjectType.groupHeader,index:b._groups.groupFromItem(c.index)};else var f={type:g===h.ObjectType.item?h.ObjectType.header:g,index:0}}f&&e(b._element,c,f)&&(b._changeFocus(f,!0,!1,!1,!0),a.preventDefault())}else if(!d&&c.type!==h.ObjectType.item){var i=0;i=c.type===h.ObjectType.groupHeader?b._groupFocusCache.getIndexForGroup(c.index):c.type===h.ObjectType.header?0:b._view.lastItemIndex();var f={type:h.ObjectType.item,index:i};e(b._element,c,f)&&(b._changeFocus(f,!0,!1,!1,!0),a.preventDefault())}}}});return m})})}),d("WinJS/Controls/ListView/_ErrorMessages",["exports","../../Core/_Base","../../Core/_Resources"],function(a,b,c){"use strict";b.Namespace._moduleDefine(a,null,{modeIsInvalid:{get:function(){return"Invalid argument: mode must be one of following values: 'none', 'single' or 'multi'."}},loadingBehaviorIsDeprecated:{get:function(){return"Invalid configuration: loadingBehavior is deprecated. The control will default this property to 'randomAccess'. Please refer to the 'ListView loading behaviors' SDK Sample for guidance on how to implement incremental load behavior."}},pagesToLoadIsDeprecated:{get:function(){return"Invalid configuration: pagesToLoad is deprecated. The control will not use this property. Please refer to the 'ListView loading behaviors' SDK Sample for guidance on how to implement incremental load behavior."}},pagesToLoadThresholdIsDeprecated:{get:function(){return"Invalid configuration: pagesToLoadThreshold is deprecated. The control will not use this property. Please refer to the 'ListView loading behaviors' SDK Sample for guidance on how to implement incremental load behavior."}},automaticallyLoadPagesIsDeprecated:{get:function(){return"Invalid configuration: automaticallyLoadPages is deprecated. The control will default this property to false. Please refer to the 'ListView loading behaviors' SDK Sample for guidance on how to implement incremental load behavior."}},invalidTemplate:{get:function(){return"Invalid template: Templates must be created before being passed to the ListView, and must contain a valid tree of elements."}},loadMorePagesIsDeprecated:{get:function(){return"loadMorePages is deprecated. Invoking this function will not have any effect. Please refer to the 'ListView loading behaviors' SDK Sample for guidance on how to implement incremental load behavior."}},disableBackdropIsDeprecated:{get:function(){return"Invalid configuration: disableBackdrop is deprecated. Style: .win-listview .win-container.win-backdrop { background-color:transparent; } instead."}},backdropColorIsDeprecated:{get:function(){return"Invalid configuration: backdropColor is deprecated. Style: .win-listview .win-container.win-backdrop { rgba(155,155,155,0.23); } instead."}},itemInfoIsDeprecated:{get:function(){return"GridLayout.itemInfo may be altered or unavailable in future versions. Instead, use CellSpanningLayout."}},groupInfoIsDeprecated:{get:function(){return"GridLayout.groupInfo may be altered or unavailable in future versions. Instead, use CellSpanningLayout."}},resetItemIsDeprecated:{get:function(){return"resetItem may be altered or unavailable in future versions. Instead, mark the element as disposable using WinJS.Utilities.markDisposable."}},resetGroupHeaderIsDeprecated:{get:function(){return"resetGroupHeader may be altered or unavailable in future versions. Instead, mark the header element as disposable using WinJS.Utilities.markDisposable."}},maxRowsIsDeprecated:{get:function(){return"GridLayout.maxRows may be altered or unavailable in future versions. Instead, use the maximumRowsOrColumns property."}},swipeOrientationDeprecated:{get:function(){return"Invalid configuration: swipeOrientation is deprecated. The control will default this property to 'none'"}},swipeBehaviorDeprecated:{get:function(){return"Invalid configuration: swipeBehavior is deprecated. The control will default this property to 'none'"}}})}),d("WinJS/Controls/ListView/_GroupFocusCache",["exports","../../Core/_Base"],function(a,b){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_GroupFocusCache:b.Namespace._lazy(function(){return b.Class.define(function(a){this._listView=a,this.clear()},{updateCache:function(a,b,c){this._lastFocusedItemKey=b,this._lastFocusedItemIndex=c,c=""+c,this._itemToIndex[b]=c,this._groupToItem[a]=b},deleteItem:function(a){if(a===this._lastFocusedItemKey&&(this._lastFocusedItemKey=null,this._lastFocusedItemIndex=0),this._itemToIndex[a])for(var b=this,c=Object.keys(this._groupToItem),d=0,e=c.length;e>d;d++){var f=c[d];if(b._groupToItem[f]===a){b.deleteGroup(f);break}}},deleteGroup:function(a){var b=this._groupToItem[a];b&&delete this._itemToIndex[b],delete this._groupToItem[a]},updateItemIndex:function(a,b){a===this._lastFocusedItemKey&&(this._lastFocusedItemIndex=b),this._itemToIndex[a]&&(this._itemToIndex[a]=""+b)},getIndexForGroup:function(a){var b=this._listView._groups.group(a).key,c=this._groupToItem[b];return c&&this._itemToIndex[c]?+this._itemToIndex[c]:this._listView._groups.fromKey(b).group.startIndex},clear:function(){this._groupToItem={},this._itemToIndex={},this._lastFocusedItemIndex=0,this._lastFocusedItemKey=null},getLastFocusedItemIndex:function(){return this._lastFocusedItemIndex}})}),_UnsupportedGroupFocusCache:b.Namespace._lazy(function(){return b.Class.define(null,{updateCache:function(a,b,c){this._lastFocusedItemKey=b,this._lastFocusedItemIndex=c},deleteItem:function(a){a===this._lastFocusedItemKey&&(this._lastFocusedItemKey=null,this._lastFocusedItemIndex=0)},deleteGroup:function(){},updateItemIndex:function(a,b){a===this._lastFocusedItemKey&&(this._lastFocusedItemIndex=b)},getIndexForGroup:function(){return 0},clear:function(){this._lastFocusedItemIndex=0,this._lastFocusedItemKey=null},getLastFocusedItemIndex:function(){return this._lastFocusedItemIndex}})})})}),d("WinJS/Controls/ListView/_GroupsContainer",["exports","../../Core/_Base","../../Promise","../../Utilities/_Dispose","../../Utilities/_ElementUtilities","../../Utilities/_ItemsManager","../../Utilities/_UI","../ItemContainer/_Constants"],function(a,b,c,d,e,f,g,h){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_GroupsContainerBase:b.Namespace._lazy(function(){return b.Class.define(function(){},{index:function(a){var b=this.headerFrom(a);if(b)for(var c=0,d=this.groups.length;d>c;c++)if(b===this.groups[c].header)return c;return h._INVALID_INDEX},headerFrom:function(a){for(;a&&!e.hasClass(a,h._headerClass);)a=a.parentNode;return a},requestHeader:function(a){this._waitingHeaderRequests=this._waitingHeaderRequests||{},this._waitingHeaderRequests[a]||(this._waitingHeaderRequests[a]=[]);var b=this;return new c(function(c){var d=b.groups[a];d&&d.header?c(d.header):b._waitingHeaderRequests[a].push(c)})},notify:function(a,b){if(this._waitingHeaderRequests&&this._waitingHeaderRequests[a]){for(var c=this._waitingHeaderRequests[a],d=0,e=c.length;e>d;d++)c[d](b);this._waitingHeaderRequests[a]=[]}},groupFromImpl:function(a,b,c){if(a>b)return null;var d=a+Math.floor((b-a)/2),e=this.groups[d];return c(e,d)?this.groupFromImpl(a,d-1,c):b>d&&!c(this.groups[d+1],d+1)?this.groupFromImpl(d+1,b,c):d},groupFrom:function(a){if(this.groups.length>0){var b=this.groups.length-1,c=this.groups[b];return a(c,b)?this.groupFromImpl(0,this.groups.length-1,a):b}return null},groupFromItem:function(a){return this.groupFrom(function(b){return aa;a++){ var c=this.groups[a];c.userData&&this.listBinding.releaseItem(c.userData)}this.listBinding.release()}},_dispose:function(){this.cleanUp()},synchronizeGroups:function(){var a=this;return this.pendingChanges=[],this.ignoreChanges=!0,this.groupDataSource.invalidateAll().then(function(){return c.join(a.pendingChanges)}).then(function(){return a._listView._ifZombieDispose()?c.cancel:void 0}).then(function(){a.ignoreChanges=!1},function(b){return a.ignoreChanges=!1,c.wrapError(b)})},fromKey:function(a){for(var b=0,c=this.groups.length;c>b;b++){var d=this.groups[b];if(d.key===a)return{group:d,index:b}}return null},fromHandle:function(a){for(var b=0,c=this.groups.length;c>b;b++){var d=this.groups[b];if(d.handle===a)return{group:d,index:b}}return null}})}),_UnvirtualizedGroupsContainer:b.Namespace._lazy(function(){return b.Class.derive(a._GroupsContainerBase,function(a,b){this._listView=a,this.groupDataSource=b,this.groups=[],this.pendingChanges=[],this.dirty=!0;var c=this,f={beginNotifications:function(){c._listView._versionManager.beginNotifications()},endNotifications:function(){c._listView._versionManager.endNotifications(),c._listView._ifZombieDispose()||!c.ignoreChanges&&c._listView._groupsChanged&&c._listView._scheduleUpdate()},indexChanged:function(){c._listView._versionManager.receivedNotification(),c._listView._ifZombieDispose()||this.scheduleUpdate()},itemAvailable:function(){},countChanged:function(a){c._listView._versionManager.receivedNotification(),c._listView._writeProfilerMark("groupCountChanged("+a+"),info"),c._listView._ifZombieDispose()||this.scheduleUpdate()},changed:function(a){if(c._listView._versionManager.receivedNotification(),!c._listView._ifZombieDispose()){var b=c.fromKey(a.key);b&&(c._listView._writeProfilerMark("groupChanged("+b.index+"),info"),b.group.userData=a,b.group.startIndex=a.firstItemIndexHint,this.markToRemove(b.group)),this.scheduleUpdate()}},removed:function(a){if(c._listView._versionManager.receivedNotification(),c._listView._groupRemoved(a),!c._listView._ifZombieDispose()){var b=c.fromHandle(a);if(b){c._listView._writeProfilerMark("groupRemoved("+b.index+"),info"),c.groups.splice(b.index,1);var d=c.groups.indexOf(b.group,b.index);d>-1&&c.groups.splice(d,1),this.markToRemove(b.group)}this.scheduleUpdate()}},inserted:function(a,b,d){if(c._listView._versionManager.receivedNotification(),!c._listView._ifZombieDispose()){c._listView._writeProfilerMark("groupInserted,info");var e=this;a.retain().then(function(f){var g;if(g=b||d||c.groups.length?e.findIndex(b,d):0,-1!==g){var h={key:f.key,startIndex:f.firstItemIndexHint,userData:f,handle:a.handle};c.groups.splice(g,0,h)}e.scheduleUpdate()}),c.pendingChanges.push(a)}},moved:function(a,b,d){if(c._listView._versionManager.receivedNotification(),!c._listView._ifZombieDispose()){c._listView._writeProfilerMark("groupMoved,info");var e=this;a.then(function(f){var g=e.findIndex(b,d),h=c.fromKey(f.key);if(h)c.groups.splice(h.index,1),-1!==g&&(h.indexe;e++)d.push(a.listBinding.fromIndex(e).retain());return c.join(d)}).then(function(b){a.groups=[];for(var c=0,d=b.length;d>c;c++){var e=b[c];a.groups.push({key:e.key,startIndex:e.firstItemIndexHint,handle:e.handle,userData:e})}a._listView._writeProfilerMark("GroupsContainer_initialize groups("+b.length+"),info"),a._listView._writeProfilerMark("GroupsContainer_initialize,StopTM")},function(b){return a._listView._writeProfilerMark("GroupsContainer_initialize,StopTM"),c.wrapError(b)}),this.initializePromise},renderGroup:function(a){if(this._listView.groupHeaderTemplate){var b=this.groups[a];return c.wrap(this._listView._groupHeaderRenderer(c.wrap(b.userData))).then(f._normalizeRendererReturn)}return c.wrap(null)},setDomElement:function(a,b){this.groups[a].header=b,this.notify(a,b)},removeElements:function(){for(var a=this._listView._groupsToRemove||{},b=Object.keys(a),c=!1,e=this._listView._selection._getFocused(),f=0,h=b.length;h>f;f++){var i=a[b[f]],j=i.header,k=i.group;if(c||e.type!==g.ObjectType.groupHeader||k.userData.index!==e.index||(this._listView._unsetFocusOnItem(),c=!0),j){var l=j.parentNode;l&&(d._disposeElement(j),l.removeChild(j))}}c&&this._listView._setFocusOnItem(e),this._listView._groupsToRemove={}},resetGroups:function(){for(var a=this.groups.slice(0),b=0,c=a.length;c>b;b++){var d=a[b];this.listBinding&&d.userData&&this.listBinding.releaseItem(d.userData)}this.groups.length=0,this.dirty=!0}})}),_NoGroups:b.Namespace._lazy(function(){return b.Class.derive(a._GroupsContainerBase,function(a){this._listView=a,this.groups=[{startIndex:0}],this.dirty=!0},{synchronizeGroups:function(){return c.wrap()},addItem:function(){return c.wrap(this.groups[0])},resetGroups:function(){this.groups=[{startIndex:0}],delete this.pinnedItem,delete this.pinnedOffset,this.dirty=!0},renderGroup:function(){return c.wrap(null)},ensureFirstGroup:function(){return c.wrap(this.groups[0])},groupOf:function(){return c.wrap(this.groups[0])},removeElements:function(){}})})})}),d("WinJS/Controls/ListView/_Helpers",["exports","../../Core/_Base","../ItemContainer/_Constants"],function(a,b,c){"use strict";function d(a){return Array.prototype.slice.call(a)}function e(a,b){if("string"==typeof a)return e([a],b);var c=new Array(Math.floor(b/a.length)+1).join(a.join(""));return c+=a.slice(0,b%a.length).join("")}function f(a,b){var d,f=c._containerEvenClass,g=c._containerOddClass,h=b%2===0?[f,g]:[g,f],i=["
","
"];return d=e(i,a)}b.Namespace._moduleDefine(a,"WinJS.UI",{_nodeListToArray:d,_repeat:e,_stripedContainers:f})}),d("WinJS/Controls/ListView/_ItemsContainer",["exports","../../Core/_Base","../../Promise","../../Utilities/_ElementUtilities","../ItemContainer/_Constants"],function(a,b,c,d,e){"use strict";b.Namespace._moduleDefine(a,"WinJS.UI",{_ItemsContainer:b.Namespace._lazy(function(){var a=function(a){this.site=a,this._itemData={},this.waitingItemRequests={}};return a.prototype={requestItem:function(a){this.waitingItemRequests[a]||(this.waitingItemRequests[a]=[]);var b=this,d=new c(function(c){var d=b._itemData[a];d&&!d.detached&&d.element?c(d.element):b.waitingItemRequests[a].push(c)});return d},removeItem:function(a){delete this._itemData[a]},removeItems:function(){this._itemData={},this.waitingItemRequests={}},setItemAt:function(a,b){this._itemData[a]=b,b.detached||this.notify(a,b)},notify:function(a,b){if(this.waitingItemRequests[a]){for(var c=this.waitingItemRequests[a],d=0;da;a++)for(c="."+M[a]+" ",b=d.length-1;b>=0;b--)-1!==d[b].selectorText.indexOf(c)&&K.sheet.deleteRule(b);M=[]}function t(a,b,c,d){s();var e="."+p._listViewClass+" ."+a+" "+c+" { "+d+"}",f="_addDynamicCssRule:"+a+",info";b?b._writeProfilerMark(f):g("WinJS.UI.ListView:Layout"+f),K.sheet.insertRule(e,0)}function u(a){M.push(a)}function v(a,b,c){return Math.max(a,Math.min(b,c))}function w(a,b){return m.convertToPixels(a,m._getComputedStyle(a,null)[b])}function x(a,b){return w(b,"margin"+a)+w(b,"border"+a+"Width")+w(b,"padding"+a)}function y(a){return x("Top",a)+x("Bottom",a)}function z(a){return x("Left",a)+x("Right",a)}function A(a,b){if(a.items)for(var c=0,d=a.items.length;d>c;c++)b(a.items[c],c);else for(var e=0,f=0;ec;c++)b(g.items[c],f++)}function B(a,b){if(0>b)return null;if(a.items)return bd;d++)if(b[d].itemsContainer.element===a){c=b[d].itemsContainer;break}return c}function D(a){var b,c;return a.itemsBlocks?(b=a.itemsBlocks.length,c=b>0?a.itemsBlocks[0].items.length*(b-1)+a.itemsBlocks[b-1].items.length:0):c=a.items.length,c}function E(a){if(!S){var c=b.document.createElement("div");c.style.width="500px",c.style.visibility="hidden";var d=b.document.createElement("div");d.style.cssText+="width: 500px; height: 200px; display: -webkit-flex; display: flex",n.setInnerHTMLUnsafe(d,"
"),c.appendChild(d),a.viewport.insertBefore(c,a.viewport.firstChild);var e=c.offsetWidth>0,f=200;e&&(S={supportsCSSGrid:!!("-ms-grid-row"in b.document.documentElement.style),nestedFlexTooLarge:d.firstElementChild.offsetWidth>f,nestedFlexTooSmall:d.firstElementChild.offsetWidthb;b++)a[b].cleanUp(!0)}var b="Layout:uninitialize,info";this._elementsToMeasure={},this._site?(this._site._writeProfilerMark(b),m.removeClass(this._site.surface,p._gridLayoutClass),m.removeClass(this._site.surface,p._headerPositionTopClass),m.removeClass(this._site.surface,p._headerPositionLeftClass),m.removeClass(this._site.surface,p._structuralNodesClass),m.removeClass(this._site.surface,p._singleItemsBlockClass),m.removeClass(this._site.surface,p._noCSSGrid),this._site.surface.style.cssText="",this._groups&&(a(this._groups),this._groups=null,this._groupMap=null),this._layoutPromise&&(this._layoutPromise.cancel(),this._layoutPromise=null),this._resetMeasurements(),this._oldGroupHeaderPosition=null,this._usingStructuralNodes=!1,this._envInfo=null,this._backdropColorClassName&&(m.removeClass(this._site.surface,this._backdropColorClassName),u(this._backdropColorClassName),this._backdropColorClassName=null),this._disableBackdropClassName&&(m.removeClass(this._site.surface,this._disableBackdropClassName),u(this._disableBackdropClassName),this._disableBackdropClassName=null),this._site=null,this._groupsEnabled=null,this._animationsRunning&&this._animationsRunning.cancel(),this._animatingItemsBlocks={}):g("WinJS.UI.ListView:"+b)},numberOfItemsPerItemsBlock:{get:function(){function b(){var a,b=c._site.groupCount;for(a=0;b>a;a++)if(c._isCellSpanning(a))return!1;return!0}var c=this;return c._measureItem(0).then(function(){return c._sizes.viewportContentSize!==c._getViewportCrossSize()&&c._viewportSizeChanged(c._getViewportCrossSize()),b()?c._envInfo.nestedFlexTooLarge||c._envInfo.nestedFlexTooSmall?(c._usingStructuralNodes=!0,Number.MAX_VALUE):(c._usingStructuralNodes=a._LayoutCommon._barsPerItemsBlock>0,a._LayoutCommon._barsPerItemsBlock*c._itemsPerBar):(c._usingStructuralNodes=!1,null)})}},layout:function(a,b,c,d){function e(a){function b(a){if(l._usingStructuralNodes){var b=[];return a.itemsBlocks.forEach(function(a){b=b.concat(a.items.slice(0))}),b}return a.items.slice(0)}return{element:a.element,items:b(a)}}function f(){function c(a,b){var c=a.enableCellSpanning?T.CellSpanningGroup:T.UniformGroup;return new c(l,b)}var d,f=l._groups.length>0?l._getRealizationRange():null,g=[],h=[],j={},k={},m=0,n=a.length;for(d=0;n>d;d++){var o=null,p=l._getGroupInfo(d),q=l._site.groupFromIndex(d).key,r=l._groupMap[q],s=r instanceof T.CellSpanningGroup,t=p.enableCellSpanning;if(r)if(s!==t)j[q]=!0;else{var u=Math.max(0,b.firstIndex-r.startIndex),v=l._rangeForGroup(r,f);v&&u<=v.lastIndex&&(o={firstIndex:Math.max(u,v.firstIndex),lastIndex:v.lastIndex})}var w,x=c(p,a[d].itemsContainer.element);w=x.prepareLayoutWithCopyOfTree?x.prepareLayoutWithCopyOfTree(e(a[d].itemsContainer),o,r,{groupInfo:p,startIndex:m}):x.prepareLayout(D(a[d].itemsContainer),o,r,{groupInfo:p,startIndex:m}),h.push(w),m+=x.count,g.push(x),k[q]=x}return i.join(h).then(function(){for(var a=0,b=0,c=g.length;c>b;b++){var d=g[b];d.offset=a,a+=l._getGroupSize(d)}Object.keys(l._groupMap).forEach(function(a){var b=!j[a];l._groupMap[a].cleanUp(b)}),l._groups=g,l._groupMap=k})}function g(a,c,d){var e,f=l._groups[a],g=Math.max(0,b.firstIndex-f.startIndex),h=l._rangeForGroup(f,c);return d?void f.layoutRealizedRange(g,h):(h||(e=f.startIndex+f.count-1c;c++)g(c,d,!0),l._layoutGroup(c)}}function j(){if(0===l._groups.length)return i.wrap();var a=l._getRealizationRange(),c=n.groupIndexFromItemIndex(a.firstIndex-1),d=n.groupIndexFromItemIndex(a.lastIndex+1),e=n.groupIndexFromItemIndex(b.firstIndex),f=[],h=l._groups.length,j=!1,k=c,m=Math.max(e,d);for(m=Math.max(k+1,m);!j;)j=!0,k>=e&&(f.push(g(k,a,!1)),j=!1,k--),h>m&&(f.push(g(m,a,!1)),j=!1,m++);return i.join(f)}var k,l=this,n=l._site,o="Layout.layout",q=o+":realizedRange";return l._site._writeProfilerMark(o+",StartTM"),l._site._writeProfilerMark(q+",StartTM"),k=l._measureItem(0).then(function(){return m[l._usingStructuralNodes?"addClass":"removeClass"](l._site.surface,p._structuralNodesClass),m[l._envInfo.nestedFlexTooLarge||l._envInfo.nestedFlexTooSmall?"addClass":"removeClass"](l._site.surface,p._singleItemsBlockClass),l._sizes.viewportContentSize!==l._getViewportCrossSize()&&l._viewportSizeChanged(l._getViewportCrossSize()),l._cacheRemovedElements(c,l._cachedItemRecords,l._cachedInsertedItemRecords,l._cachedRemovedItems,!1),l._cacheRemovedElements(d,l._cachedHeaderRecords,l._cachedInsertedHeaderRecords,l._cachedRemovedHeaders,!0),f()}).then(function(){l._syncDomWithGroupHeaderPosition(a);var b=0;if(l._groups.length>0){var e=l._groups[l._groups.length-1];b=e.offset+l._getGroupSize(e)}l._horizontal?(l._groupsEnabled&&l._groupHeaderPosition===U.left?n.surface.style.cssText+=";height:"+l._sizes.surfaceContentSize+"px;-ms-grid-columns: ("+l._sizes.headerContainerWidth+"px auto)["+a.length+"]":n.surface.style.height=l._sizes.surfaceContentSize+"px",(l._envInfo.nestedFlexTooLarge||l._envInfo.nestedFlexTooSmall)&&(n.surface.style.width=b+"px")):(l._groupsEnabled&&l._groupHeaderPosition===U.top?n.surface.style.cssText+=";width:"+l._sizes.surfaceContentSize+"px;-ms-grid-rows: ("+l._sizes.headerContainerHeight+"px auto)["+a.length+"]":n.surface.style.width=l._sizes.surfaceContentSize+"px",(l._envInfo.nestedFlexTooLarge||l._envInfo.nestedFlexTooSmall)&&(n.surface.style.height=b+"px")),h(),l._layoutAnimations(c,d),l._site._writeProfilerMark(q+":complete,info"),l._site._writeProfilerMark(q+",StopTM")},function(a){return l._site._writeProfilerMark(q+":canceled,info"),l._site._writeProfilerMark(q+",StopTM"),i.wrapError(a)}),l._layoutPromise=k.then(function(){return j().then(function(){l._site._writeProfilerMark(o+":complete,info"),l._site._writeProfilerMark(o+",StopTM")},function(a){return l._site._writeProfilerMark(o+":canceled,info"),l._site._writeProfilerMark(o+",StopTM"),i.wrapError(a)})}),{realizedRangeComplete:k,layoutComplete:l._layoutPromise}},itemsFromRange:function(a,b){return this._rangeContainsItems(a,b)?{firstIndex:this._firstItemFromRange(a),lastIndex:this._lastItemFromRange(b)}:{firstIndex:0,lastIndex:-1}},getAdjacent:function(b,c){function d(){var a={type:b.type,index:b.index-g.startIndex},c=g.getAdjacent(a,h);if("boundary"===c){var d=e._groups[f-1],i=e._groups[f+1],j=e._groups.length-1;if(h===H.leftArrow){if(0===f)return b;if(d instanceof T.UniformGroup&&g instanceof T.UniformGroup){var k=e._indexToCoordinate(a.index),l=e._horizontal?k.row:k.column,m=Math.floor((d.count-1)/e._itemsPerBar),n=m*e._itemsPerBar;return{type:o.ObjectType.item,index:d.startIndex+Math.min(d.count-1,n+l)}}return{type:o.ObjectType.item,index:g.startIndex-1}}if(h===H.rightArrow){if(f===j)return b;if(g instanceof T.UniformGroup&&i instanceof T.UniformGroup){var k=e._indexToCoordinate(a.index),l=e._horizontal?k.row:k.column;return{type:o.ObjectType.item,index:i.startIndex+Math.min(i.count-1,l)}}return{type:o.ObjectType.item,index:i.startIndex}}return b}return c.index+=g.startIndex,c}var e=this,f=e._site.groupIndexFromItemIndex(b.index),g=e._groups[f],h=e._adjustedKeyForOrientationAndBars(e._adjustedKeyForRTL(c),g instanceof T.CellSpanningGroup);if(b.type||(b.type=o.ObjectType.item),b.type===o.ObjectType.item||c!==H.pageUp&&c!==H.pageDown){if(b.type===o.ObjectType.header&&h===H.rightArrow)return{type:e._groupsEnabled?o.ObjectType.groupHeader:o.ObjectType.footer,index:0};if(b.type===o.ObjectType.footer&&h===H.leftArrow)return{type:e._groupsEnabled?o.ObjectType.groupHeader:o.ObjectType.header,index:0};if(b.type===o.ObjectType.groupHeader){if(h===H.leftArrow){var i=b.index-1;return i=e._site.header?i:Math.max(0,i),{type:i>-1?o.ObjectType.groupHeader:o.ObjectType.header,index:i>-1?i:0}}if(h===H.rightArrow){var i=b.index+1;return i=e._site.header?i:Math.min(e._groups.length-1,b.index+1),{type:i>=e._groups.length?o.ObjectType.header:o.ObjectType.groupHeader,index:i>=e._groups.length?0:i}}return b}}else{var j=0;j=b.type===o.ObjectType.groupHeader?e._groups[b.index].startIndex:b.type===o.ObjectType.header?0:e._groups[e._groups.length-1].count-1,b={type:o.ObjectType.item,index:j}}switch(e._adjustedKeyForRTL(c)){case H.upArrow:case H.leftArrow:case H.downArrow:case H.rightArrow:return d();default:return a._LayoutCommon.prototype._getAdjacentForPageKeys.call(e,b,c)}},hitTest:function(a,b){var c,d=this._sizes;a-=d.layoutOriginX,b-=d.layoutOriginY;var e=this._groupFromOffset(this._horizontal?a:b),f=this._groups[e];return this._horizontal?a-=f.offset:b-=f.offset,this._groupsEnabled&&(this._groupHeaderPosition===U.left?a-=d.headerContainerWidth:b-=d.headerContainerHeight),c=f.hitTest(a,b),c.index+=f.startIndex,c.insertAfterIndex+=f.startIndex,c},setupAnimations:function(){if(0===this._groups.length)return void this._resetAnimationCaches();if(!Object.keys(this._cachedItemRecords).length){this._site._writeProfilerMark("Animation:setupAnimations,StartTM");for(var a=this._getRealizationRange(),b=this._site.tree,c=0,d="horizontal"===this.orientation,e=0,f=b.length;f>e;e++){var g=b[e],h=!1,i=this._groups[e],j=i instanceof T.CellSpanningGroup,k=i?i.offset:0;if(A(g.itemsContainer,function(b,d){if(a.firstIndex<=c&&a.lastIndex>=c&&(h=!0,!this._cachedItemRecords[c])){var f=this._getItemPositionForAnimations(c,e,d),g=f.row,i=f.column,k=f.left,l=f.top;this._cachedItemRecords[c]={oldRow:g,oldColumn:i,oldLeft:k,oldTop:l,width:f.width,height:f.height,element:b,inCellSpanningGroup:j}}c++}.bind(this)),h){var l=e;if(!this._cachedHeaderRecords[l]){var m=this._getHeaderPositionForAnimations(l);this._cachedHeaderRecords[l]={oldLeft:m.left,oldTop:m.top,width:m.width,height:m.height,element:g.header}}this._cachedGroupRecords[I(g.itemsContainer.element)]||(this._cachedGroupRecords[I(g.itemsContainer.element)]={oldLeft:d?k:0,left:d?k:0,oldTop:d?0:k,top:d?0:k,element:g.itemsContainer.element})}}this._site._writeProfilerMark("Animation:setupAnimations,StopTM")}},_layoutAnimations:function(a,b){if(Object.keys(this._cachedItemRecords).length||Object.keys(this._cachedGroupRecords).length||Object.keys(this._cachedHeaderRecords).length){this._site._writeProfilerMark("Animation:layoutAnimation,StartTM"),this._updateAnimationCache(a,b);for(var c=this._getRealizationRange(),d=this._site.tree,e=0,f="horizontal"===this.orientation,g=0,h=d.length;h>g;g++){var i=d[g],j=this._groups[g],k=j instanceof T.CellSpanningGroup,l=j?j.offset:0,n=0,o=0,q=this._cachedGroupRecords[I(i.itemsContainer.element)];q&&(f?n=q.oldLeft-l:o=q.oldTop-l),A(i.itemsContainer,function(a,b){if(c.firstIndex<=e&&c.lastIndex>=e){var d=this._cachedItemRecords[e];if(d){var f=this._getItemPositionForAnimations(e,g,b),h=f.row,i=f.column,j=f.left,l=f.top;if(d.inCellSpanningGroup=d.inCellSpanningGroup||k,d.oldRow!==h||d.oldColumn!==i||d.oldTop!==l||d.oldLeft!==j){d.row=h,d.column=i,d.left=j,d.top=l;var q=d.oldLeft-d.left-n,r=d.oldTop-d.top-o;if(q=(this._site.rtl?-1:1)*q,d.xOffset=q,d.yOffset=r,0!==q||0!==r){var s=d.element;d.needsToResetTransform=!0,s.style[P]="",s.style[O.scriptName]="translate("+q+"px,"+r+"px)"}var t=a.parentNode;m.hasClass(t,p._itemsBlockClass)&&(this._animatingItemsBlocks[I(t)]=t)}}else this._cachedInsertedItemRecords[e]=a,a.style[P]="",a.style.opacity=0}e++}.bind(this));var r=g,s=this._cachedHeaderRecords[r];if(s){var t=this._getHeaderPositionForAnimations(r);if(s.height=t.height,s.width=t.width,s.oldLeft!==t.left||s.oldTop!==t.top){s.left=t.left,s.top=t.top;var u=s.oldLeft-s.left,v=s.oldTop-s.top;if(u=(this._site.rtl?-1:1)*u,0!==u||0!==v){s.needsToResetTransform=!0;var w=s.element;w.style[P]="",w.style[O.scriptName]="translate("+u+"px,"+v+"px)"}}}if(q&&(f&&q.left!==l||!f&&q.top!==l)){var x=q.element;if(0===n&&0===o)q.needsToResetTransform&&(q.needsToResetTransform=!1,x.style[O.scriptName]="");else{var y=(this._site.rtl?-1:1)*n,z=o;q.needsToResetTransform=!0,x.style[P]="",x.style[O.scriptName]="translate("+y+"px, "+z+"px)"}}}if(this._inListMode||1===this._itemsPerBar)for(var B=Object.keys(this._animatingItemsBlocks),C=0,D=B.length;D>C;C++)this._animatingItemsBlocks[B[C]].style.overflow="visible";this._site._writeProfilerMark("Animation:layoutAnimation,StopTM")}},executeAnimations:function(){function b(){if(e(),H)f();else{if(ba._itemsPerBar>1)for(var a=ba._itemsPerBar*ba._sizes.containerCrossSize+ba._getHeaderSizeContentAdjustment()+ba._sizes.containerMargins[U?"top":v.rtl?"right":"left"]+(U?ba._sizes.layoutOriginY:ba._sizes.layoutOriginX),b=0,c=y.length;c>b;b++){var d=y[b];d[V]>d[W]?(N=Math.max(N,d[X]+d[U?"height":"width"]),R=Math.max(R,a-d[Y]),J=!0,T.push(d)):d[V]b;b++){var e=y[b],f=e.element;a.push(f)}for(var b=0,d=z.length;d>b;b++){var e=z[b],f=e.element;a.push(f)}var i=120;u&&(i*=10),G.push(h.executeTransition(a,{property:"opacity",delay:A,duration:i,timing:"linear",to:0})),c(g),v._writeProfilerMark("Animation:cellSpanningFadeOutMove,StopTM")}function g(){v._writeProfilerMark("Animation:cellSpanningFadeInMove,StartTM"),E=0;for(var a=[],b=0,c=y.length;c>b;b++){var d=y[b],e=d.element;e.style[O.scriptName]="",a.push(e)}for(var b=0,c=z.length;c>b;b++){var d=z[b],e=d.element;e.style[O.scriptName]="",a.push(e)}var f=120;u&&(f*=10),G.push(h.executeTransition(a,{property:"opacity",delay:E,duration:f,timing:"linear",to:1})),v._writeProfilerMark("Animation:cellSpanningFadeInMove,StopTM"),r()}function j(a){v._writeProfilerMark("Animation:setupReflowAnimation,StartTM");for(var b={},d=0,e=T.length;e>d;d++){var f=T[d],g=f.xOffset,i=f.yOffset;f[V]>f[W]?U?i-=N:g-=N:f[V]d;d++){var s=M[r[d]];v.rtl&&U?(s.style.paddingLeft=-1*K+"px",s.style.marginLeft=K+"px"):(s.style[U?"paddingRight":"paddingBottom"]=L+"px",s.style[U?"marginRight":"marginBottom"]="-"+L+"px")}for(var t=Object.keys(Z),d=0,e=t.length;e>d;d++)Z[t[d]].classList.add(p._clipClass);c(o),v._writeProfilerMark("Animation:setupReflowAnimation,StopTM")}function n(){for(var a=Object.keys(M),b=0,c=a.length;c>b;b++){var d=M[a[b]];v.rtl&&U?(d.style.paddingLeft="",d.style.marginLeft=""):(d.style[U?"paddingRight":"paddingBottom"]="",d.style[U?"marginRight":"marginBottom"]="")}M={};for(var e=Object.keys(Z),b=0,c=e.length;c>b;b++){var f=Z[e[b]];f.style.overflow="",f.classList.remove(p._clipClass)}}function o(){v._writeProfilerMark("Animation:prepareReflowedItems,StartTM");for(var b=0,c=T.length;c>b;b++){var e=T[b],f=0,g=0;e[V]>e[W]?U?g=R:f=R:e[V]0||z.length>0){v._writeProfilerMark("Animation:setupMoveAnimation,StartTM");for(var c=[],d=0,e=z.length;e>d;d++){var f=z[d].element;c.push(f)}for(var d=0,e=y.length;e>d;d++){var f=y[d].element;c.push(f)}G.push(h.executeTransition(c,{property:O.cssName,delay:B,duration:b,timing:"cubic-bezier(0.1, 0.9, 0.2, 1)",to:""})),E+=80,v._writeProfilerMark("Animation:setupMoveAnimation,StopTM")}r()}function r(){if(w.length>0){v._writeProfilerMark("Animation:setupInsertAnimation,StartTM");var a=120;u&&(a*=10),G.push(h.executeTransition(w,[{property:"opacity",delay:E,duration:a,timing:"linear",to:1}])),v._writeProfilerMark("Animation:setupInsertAnimation,StopTM")}c(s)}function s(){v._writeProfilerMark("Animation:cleanupAnimations,StartTM"),n();for(var a=0,b=x.length;b>a;a++){var c=x[a];c.parentNode&&(l._disposeElement(c),c.parentNode.removeChild(c))}v._writeProfilerMark("Animation:cleanupAnimations,StopTM"),ba._animationsRunning=null,t.complete()}var t=new k;if(this._filterInsertedElements(),this._filterMovedElements(),this._filterRemovedElements(),0===this._insertedElements.length&&0===this._removedElements.length&&0===this._itemMoveRecords.length&&0===this._moveRecords.length)return this._resetAnimationCaches(!0),t.complete(),t.promise;this._animationsRunning=t.promise;for(var u=a.Layout._debugAnimations||a.Layout._slowAnimations,v=this._site,w=this._insertedElements,x=this._removedElements,y=this._itemMoveRecords,z=this._moveRecords,A=0,B=0,E=0,F=null,G=[],H=!1,J=!1,K=0,L=0,M={},N=0,Q=0,R=0,S=0,T=[],U="horizontal"===this.orientation,V=U?"oldColumn":"oldRow",W=U?"column":"row",X=U?"oldTop":"oldLeft",Y=U?"top":"left",Z=this._animatingItemsBlocks,$=0,_=y.length;_>$;$++){var aa=y[$];if(aa.inCellSpanningGroup){H=!0;break}}var ba=this;return a.Layout._debugAnimations?d._requestAnimationFrame(function(){b()}):b(),this._resetAnimationCaches(!0),t.promise.then(null,function(){n();for(var a=0,b=z.length;b>a;a++){var c=z[a].element;c.style[O.scriptName]="",c.style.opacity=1}for(var a=0,b=y.length;b>a;a++){var c=y[a].element;c.style[O.scriptName]="",c.style.opacity=1}for(var a=0,b=w.length;b>a;a++)w[a].style.opacity=1;for(var a=0,b=x.length;b>a;a++){var c=x[a];c.parentNode&&(l._disposeElement(c),c.parentNode.removeChild(c))}this._animationsRunning=null,t=null,F&&F.cancel()}.bind(this)),t.promise},dragOver:function(a,b,c){var d=this.hitTest(a,b),e=this._groups?this._site.groupIndexFromItemIndex(d.index):0,f=this._site.tree[e].itemsContainer,g=D(f),h=this._groups?this._groups[e].startIndex:0,i=this._getVisibleRange();d.index-=h,d.insertAfterIndex-=h,i.firstIndex=Math.max(i.firstIndex-h-1,0), -i.lastIndex=Math.min(i.lastIndex-h+1,g);var j=Math.max(Math.min(g-1,d.insertAfterIndex),-1),k=Math.min(j+1,g);if(c){for(var l=j;l>=i.firstIndex;l--){if(!c._isIncluded(l+h)){j=l;break}l===i.firstIndex&&(j=-1)}for(var l=k;ll;l++){var p=this._animatedDragItems[l];p&&(p.style[P]=this._site.animationsDisabled?"":Q,p.style[O.scriptName]="")}this._animatedDragItems=[];var q="horizontal"===this.orientation,r=this._inListMode||1===this._itemsPerBar;this._groups&&this._groups[e]instanceof T.CellSpanningGroup&&(r=1===this._groups[e]._slotsPerColumn);var s=0,t=0;!q&&!r||q&&r?s=this._site.rtl?-R:R:t=R,m&&(m.style[P]=this._site.animationsDisabled?"":Q,m.style[O.scriptName]="translate("+s+"px, "+t+"px)",this._animatedDragItems.push(m)),n&&(n.style[P]=this._site.animationsDisabled?"":Q,n.style[O.scriptName]="translate("+-s+"px, -"+t+"px)",this._animatedDragItems.push(n))},dragLeave:function(){if(this._animatedDragItems)for(var a=0,b=this._animatedDragItems.length;b>a;a++)this._animatedDragItems[a].style[P]=this._site.animationsDisabled?"":Q,this._animatedDragItems[a].style[O.scriptName]="";this._animatedDragItems=[]},_setMaxRowsOrColumns:function(a){a===this._maxRowsOrColumns||this._inListMode||(this._sizes&&this._sizes.containerSizeLoaded&&(this._itemsPerBar=Math.floor(this._sizes.maxItemsContainerContentSize/this._sizes.containerCrossSize),a&&(this._itemsPerBar=Math.min(this._itemsPerBar,a)),this._itemsPerBar=Math.max(1,this._itemsPerBar)),this._maxRowsOrColumns=a,this._invalidateLayout())},_getItemPosition:function(a){if(this._groupsEnabled){var b=Math.min(this._groups.length-1,this._site.groupIndexFromItemIndex(a)),c=this._groups[b],d=a-c.startIndex;return this._getItemPositionForAnimations(a,b,d)}return this._getItemPositionForAnimations(a,0,a)},_getRealizationRange:function(){var a=this._site.realizedRange;return{firstIndex:this._firstItemFromRange(a.firstPixel),lastIndex:this._lastItemFromRange(a.lastPixel)}},_getVisibleRange:function(){var a=this._site.visibleRange;return{firstIndex:this._firstItemFromRange(a.firstPixel),lastIndex:this._lastItemFromRange(a.lastPixel)}},_resetAnimationCaches:function(a){if(!a){this._resetStylesForRecords(this._cachedGroupRecords),this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords),this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords),this._resetStylesForRemovedRecords(this._cachedRemovedItems),this._resetStylesForRemovedRecords(this._cachedRemovedHeaders);for(var b=Object.keys(this._animatingItemsBlocks),c=0,d=b.length;d>c;c++){var e=this._animatingItemsBlocks[b[c]];e.style.overflow="",e.classList.remove(p._clipClass)}}this._cachedGroupRecords={},this._cachedItemRecords={},this._cachedHeaderRecords={},this._cachedInsertedItemRecords={},this._cachedInsertedHeaderRecords={},this._cachedRemovedItems=[],this._cachedRemovedHeaders=[],this._animatingItemsBlocks={}},_cacheRemovedElements:function(a,b,c,d,e){var f="left";this._site.rtl&&(f="right");var g,h;e?(g=this._sizes.headerContainerOuterX,h=this._sizes.headerContainerOuterY):(g=this._sizes.containerMargins[f],h=this._sizes.containerMargins.top);for(var i=0,j=a.length;j>i;i++){var k=a[i];if(-1===k.newIndex){var l=k.element,m=b[k.oldIndex];m&&(m.element=l,delete b[k.oldIndex],l.style.position="absolute",l.style[P]="",l.style.top=m.oldTop-h+"px",l.style[f]=m.oldLeft-g+"px",l.style.width=m.width+"px",l.style.height=m.height+"px",l.style[O.scriptName]="",this._site.surface.appendChild(l),d.push(m)),c[k.oldIndex]&&delete c[k.oldIndex]}}},_cacheInsertedElements:function(a,b,c){for(var d={},e=0,f=a.length;f>e;e++){var g=a[e],h=b[g.oldIndex];if(h&&delete b[g.oldIndex],h||-1===g.oldIndex||g.moved){var i=c[g.newIndex];i&&delete c[g.newIndex];var j=g.element;d[g.newIndex]=j,j.style[P]="",j.style[O.scriptName]="",j.style.opacity=0}}for(var k=Object.keys(b),e=0,f=k.length;f>e;e++)d[k[e]]=b[k[e]];return d},_resetStylesForRecords:function(a){for(var b=Object.keys(a),c=0,d=b.length;d>c;c++){var e=a[b[c]];e.needsToResetTransform&&(e.element.style[O.scriptName]="",e.needsToResetTransform=!1)}},_resetStylesForInsertedRecords:function(a){for(var b=Object.keys(a),c=0,d=b.length;d>c;c++){var e=a[b[c]];e.style.opacity=1}},_resetStylesForRemovedRecords:function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b].element;d.parentNode&&(l._disposeElement(d),d.parentNode.removeChild(d))}},_updateAnimationCache:function(a,b){function c(a,b){for(var c={},e=0,f=a.length;f>e;e++){var g=a[e],h=b[g.oldIndex];h&&(c[g.newIndex]=h,h.element=g.element,delete b[g.oldIndex])}for(var i=Object.keys(b),e=0,f=i.length;f>e;e++){var j=i[e],k=b[j];(!k.element||d[I(k.element)])&&(c[j]=k)}return c}this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords),this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords);for(var d={},e=this._getRealizationRange(),f=this._site.tree,g=0,h=0,i=f.length;i>g;g++)A(f[g].itemsContainer,function(a){e.firstIndex<=h&&e.lastIndex>=h&&(d[I(a)]=!0),h++});this._cachedItemRecords=c(a,this._cachedItemRecords),this._cachedHeaderRecords=c(b,this._cachedHeaderRecords),this._cachedInsertedItemRecords=this._cacheInsertedElements(a,this._cachedInsertedItemRecords,this._cachedItemRecords),this._cachedInsertedHeaderRecords=this._cacheInsertedElements(b,this._cachedInsertedHeaderRecords,this._cachedHeaderRecords)},_filterRemovedElements:function(){function a(a,g){for(var h=0,i=a.length;i>h;h++){var j=a[h],k=j.element;j[c]+j[d]-1f||!b._site.viewport.contains(k)?k.parentNode&&(l._disposeElement(k),k.parentNode.removeChild(k)):g.push(k)}}if(this._removedElements=[],this._site.animationsDisabled)return this._resetStylesForRemovedRecords(this._cachedRemovedItems),void this._resetStylesForRemovedRecords(this._cachedRemovedHeaders);var b=this,c="horizontal"===this.orientation?"oldLeft":"oldTop",d="horizontal"===this.orientation?"width":"height",e=this._site.scrollbarPos,f=e+this._site.viewportSize[d]-1;a(this._cachedRemovedItems,this._removedElements),a(this._cachedRemovedHeaders,this._removedElements)},_filterInsertedElements:function(){function a(a,d){for(var e=Object.keys(a),f=0,g=e.length;g>f;f++){var h=e[f],i=a[h];hc.lastIndex||b._site.viewport.contains(i.element)?i.style.opacity=1:d.push(i)}}if(this._insertedElements=[],this._site.animationsDisabled)return this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),void this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords);var b=this,c=this._getVisibleRange();a(this._cachedInsertedItemRecords,this._insertedElements),a(this._cachedInsertedHeaderRecords,this._insertedElements)},_filterMovedElements:function(){var a=this,b="horizontal"===this.orientation?"oldLeft":"oldTop",c="horizontal"===this.orientation?"left":"top",d="horizontal"===this.orientation?"width":"height",e=this._getRealizationRange(),f=this._site.scrollbarPos,g=f+this._site.viewportSize[d]-1;if(this._itemMoveRecords=[],this._moveRecords=[],!this._site.animationsDisabled)for(var h=this._site.tree,i=0,j=0,k=h.length;k>j;j++){var l=h[j],m=!1;A(l.itemsContainer,function(){if(e.firstIndex<=i&&e.lastIndex>=i){var h=this._cachedItemRecords[i];if(h){var j=(h[b]+h[d]-1>=f&&h[b]<=g||h[c]+h[d]-1>=f&&h[c]<=g)&&a._site.viewport.contains(h.element);j&&(m=!0,h.needsToResetTransform&&(this._itemMoveRecords.push(h),delete this._cachedItemRecords[i]))}}i++}.bind(this));var n=j,o=this._cachedHeaderRecords[n];o&&m&&o.needsToResetTransform&&(this._moveRecords.push(o),delete this._cachedHeaderRecords[n]);var p=this._cachedGroupRecords[I(l.itemsContainer.element)];p&&m&&p.needsToResetTransform&&(this._moveRecords.push(p),delete this._cachedGroupRecords[I(l.itemsContainer.element)])}this._resetStylesForRecords(this._cachedGroupRecords),this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords)},_getItemPositionForAnimations:function(a,b,c){var d=this._groups[b],e=d.getItemPositionForAnimations(c),f=this._groups[b]?this._groups[b].offset:0,g=this._groupsEnabled&&this._groupHeaderPosition===U.left?this._sizes.headerContainerWidth:0,h=this._groupsEnabled&&this._groupHeaderPosition===U.top?this._sizes.headerContainerHeight:0;return e.left+=this._sizes.layoutOriginX+g+this._sizes.itemsContainerOuterX,e.top+=this._sizes.layoutOriginY+h+this._sizes.itemsContainerOuterY,e[this._horizontal?"left":"top"]+=f,e},_getHeaderPositionForAnimations:function(a){var b;if(this._groupsEnabled){var c=this._sizes.headerContainerWidth-this._sizes.headerContainerOuterWidth,d=this._sizes.headerContainerHeight-this._sizes.headerContainerOuterHeight;this._groupHeaderPosition!==U.left||this._horizontal?this._groupHeaderPosition===U.top&&this._horizontal&&(c=this._groups[a].getItemsContainerSize()-this._sizes.headerContainerOuterWidth):d=this._groups[a].getItemsContainerSize()-this._sizes.headerContainerOuterHeight;var e=this._horizontal?this._groups[a].offset:0,f=this._horizontal?0:this._groups[a].offset;b={top:this._sizes.layoutOriginY+f+this._sizes.headerContainerOuterY,left:this._sizes.layoutOriginX+e+this._sizes.headerContainerOuterX,height:d,width:c}}else b={top:0,left:0,height:0,width:0};return b},_rangeContainsItems:function(a,b){if(0===this._groups.length)return!1;var c=this._groups[this._groups.length-1],d=this._sizes.layoutOrigin+c.offset+this._getGroupSize(c)-1;return b>=0&&d>=a},_itemFromOffset:function(a,b){function c(a){if(!b.wholeItem){var c=e._horizontal?e._site.rtl?"right":"left":"top",d=e._horizontal?e._site.rtl?"left":"right":"bottom";return b.last?a-e._sizes.containerMargins[c]:a+e._sizes.containerMargins[d]}return a}function d(a){return b.last?a-e._getHeaderSizeGroupAdjustment()-e._sizes.itemsContainerOuterStart:a}var e=this;if(0===this._groups.length)return 0;b=b||{},a-=this._sizes.layoutOrigin,a=c(a);var f=this._groupFromOffset(d(a)),g=this._groups[f];return a-=g.offset,a-=this._getHeaderSizeGroupAdjustment(),g.startIndex+g.itemFromOffset(a,b)},_firstItemFromRange:function(a,b){return b=b||{},b.last=0,this._itemFromOffset(a,b)},_lastItemFromRange:function(a,b){return b=b||{},b.last=1,this._itemFromOffset(a,b)},_adjustedKeyForRTL:function(a){return this._site.rtl&&(a===H.leftArrow?a=H.rightArrow:a===H.rightArrow&&(a=H.leftArrow)),a},_adjustedKeyForOrientationAndBars:function(a,b){var c=a;if(b)return a;if(!this._horizontal)switch(c){case H.leftArrow:c=H.upArrow;break;case H.rightArrow:c=H.downArrow;break;case H.upArrow:c=H.leftArrow;break;case H.downArrow:c=H.rightArrow}return 1===this._itemsPerBar&&(c===H.upArrow?c=H.leftArrow:c===H.downArrow&&(c=H.rightArrow)),c},_getAdjacentForPageKeys:function(a,b){var c,d=this._sizes.containerMargins,e="horizontal"===this.orientation?d.left+d.right:d.top+d.bottom,f=this._site.viewportSize["horizontal"===this.orientation?"width":"height"],g=this._site.scrollbarPos,h=g+f-1-d["horizontal"===this.orientation?"right":"bottom"],i=this._firstItemFromRange(g,{wholeItem:!0}),j=this._lastItemFromRange(h,{wholeItem:!1}),k=this._getItemPosition(a.index),l=!1;if((a.indexj)&&(l=!0,g="horizontal"===this.orientation?k.left-e:k.top-e,h=g+f-1,i=this._firstItemFromRange(g,{wholeItem:!0}),j=this._lastItemFromRange(h,{wholeItem:!1})),b===H.pageUp){if(!l&&i!==a.index)return{type:o.ObjectType.item,index:i};var m;m="horizontal"===this.orientation?k.left+k.width+e+d.left:k.top+k.height+e+d.bottom;var n=this._firstItemFromRange(m-f,{wholeItem:!0});c=a.index===n?Math.max(0,a.index-this._itemsPerBar):n}else{if(!l&&j!==a.index)return{type:o.ObjectType.item,index:j};var p;p="horizontal"===this.orientation?k.left-e-d.right:k.top-e-d.bottom;var q=Math.max(0,this._lastItemFromRange(p+f-1,{wholeItem:!0}));c=a.index===q?a.index+this._itemsPerBar:q}return{type:o.ObjectType.item,index:c}},_isCellSpanning:function(a){var b=this._site.groupFromIndex(a),c=this._groupInfo;return c?!!("function"==typeof c?c(b):c).enableCellSpanning:!1},_getGroupInfo:function(a){var b=this._site.groupFromIndex(a),c=this._groupInfo,d=this._sizes.containerMargins,f={enableCellSpanning:!1};if(c="function"==typeof c?c(b):c){if(c.enableCellSpanning&&(+c.cellWidth!==c.cellWidth||+c.cellHeight!==c.cellHeight))throw new e("WinJS.UI.GridLayout.GroupInfoResultIsInvalid",J.groupInfoResultIsInvalid);f={enableCellSpanning:!!c.enableCellSpanning,cellWidth:c.cellWidth+d.left+d.right,cellHeight:c.cellHeight+d.top+d.bottom}}return f},_getItemInfo:function(a){var b;if(this._itemInfo&&"function"==typeof this._itemInfo)b=this._itemInfo(a);else{if(!this._useDefaultItemInfo)throw new e("WinJS.UI.GridLayout.ItemInfoIsInvalid",J.itemInfoIsInvalid);b=this._defaultItemInfo(a)}return i.as(b).then(function(a){if(!a||+a.width!==a.width||+a.height!==a.height)throw new e("WinJS.UI.GridLayout.ItemInfoIsInvalid",J.itemInfoIsInvalid);return a})},_defaultItemInfo:function(a){var b=this;return this._site.renderItem(this._site.itemFromIndex(a)).then(function(c){return b._elementsToMeasure[a]={element:c},b._measureElements()}).then(function(){var c=b._elementsToMeasure[a],d={width:c.width,height:c.height};return delete b._elementsToMeasure[a],d},function(c){return delete b._elementsToMeasure[a],i.wrapError(c)})},_getGroupSize:function(a){var b=0;return this._groupsEnabled&&(this._horizontal&&this._groupHeaderPosition===U.top?b=this._sizes.headerContainerMinWidth:this._horizontal||this._groupHeaderPosition!==U.left||(b=this._sizes.headerContainerMinHeight)),Math.max(b,a.getItemsContainerSize()+this._getHeaderSizeGroupAdjustment())},_groupFromOffset:function(a){return ab)return null;var d=a+Math.floor((b-a)/2),e=this._groups[d];return c(e,d)?this._groupFromImpl(a,d-1,c):b>d&&!c(this._groups[d+1],d+1)?this._groupFromImpl(d+1,b,c):d},_groupFrom:function(a){if(this._groups.length>0){var b=this._groups.length-1,c=this._groups[b];return a(c,b)?this._groupFromImpl(0,this._groups.length-1,a):b}return null},_invalidateLayout:function(){this._site&&this._site.invalidateLayout()},_resetMeasurements:function(){this._measuringPromise&&(this._measuringPromise.cancel(),this._measuringPromise=null),this._containerSizeClassName&&(m.removeClass(this._site.surface,this._containerSizeClassName),u(this._containerSizeClassName),this._containerSizeClassName=null),this._sizes=null,this._resetAnimationCaches()},_measureElements:function(){if(!this._measuringElements){var a=this;a._measuringElements=j.schedulePromiseHigh(null,"WinJS.UI.GridLayout._measuringElements").then(function(){a._site._writeProfilerMark("_measureElements,StartTM");var c=a._createMeasuringSurface(),d=b.document.createElement("div"),e=a._site,f=a._measuringElements,g=a._elementsToMeasure,h=!1;d.className=p._itemsContainerClass+" "+p._laidOutClass,d.style.cssText+=";display: -ms-grid;-ms-grid-column: 1;-ms-grid-row: 1";var i,j,k=Object.keys(g);for(j=0,i=k.length;i>j;j++){var l=g[k[j]].element;l.style["-ms-grid-column"]=j+1,l.style["-ms-grid-row"]=j+1,d.appendChild(l)}for(c.appendChild(d),e.viewport.insertBefore(c,e.viewport.firstChild),f.then(null,function(){h=!0}),j=0,i=k.length;i>j&&!h;j++){var n=g[k[j]],o=n.element.querySelector("."+p._itemClass);n.width=m.getTotalWidth(o),n.height=m.getTotalHeight(o)}c.parentNode&&c.parentNode.removeChild(c),f===a._measuringElements&&(a._measuringElements=null),e._writeProfilerMark("_measureElements,StopTM")},function(b){return a._measuringElements=null,i.wrapError(b)})}return this._measuringElements},_ensureEnvInfo:function(){return this._envInfo||(this._envInfo=E(this._site),this._envInfo&&!this._envInfo.supportsCSSGrid&&m.addClass(this._site.surface,p._noCSSGrid)),!!this._envInfo},_createMeasuringSurface:function(){var a=b.document.createElement("div");return a.style.cssText="visibility: hidden;-ms-grid-columns: auto;-ms-grid-rows: auto;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start",a.className=p._scrollableClass+" "+(this._inListMode?p._listLayoutClass:p._gridLayoutClass),this._envInfo.supportsCSSGrid||m.addClass(a,p._noCSSGrid),this._groupsEnabled&&(this._groupHeaderPosition===U.top?m.addClass(a,p._headerPositionTopClass):m.addClass(a,p._headerPositionLeftClass)),a},_measureItem:function(a){function c(a,e){var e,h=!!e,j={},k=f.rtl?"right":"left";return f.itemCount.then(function(b){return!b||d._groupsEnabled&&!f.groupCount?i.cancel:(e=e||f.itemFromIndex(a),j.container=f.renderItem(e),d._groupsEnabled&&(j.headerContainer=f.renderHeader(d._site.groupFromIndex(f.groupIndexFromItemIndex(a)))),i.join(j))}).then(function(j){function l(){var a=d._horizontal,b=d._groupsEnabled,c=!1;g.then(null,function(){c=!0});var e=G(C),h=f.rtl?f.viewport.offsetWidth-(C.offsetLeft+C.offsetWidth):C.offsetLeft,i=C.offsetTop,l={viewportContentSize:0,surfaceContentSize:0,maxItemsContainerContentSize:0,surfaceOuterHeight:y(o),surfaceOuterWidth:z(o),layoutOriginX:h-e[k],layoutOriginY:i-e.top,itemsContainerOuterHeight:y(q),itemsContainerOuterWidth:z(q),itemsContainerOuterX:x(f.rtl?"Right":"Left",q),itemsContainerOuterY:x("Top",q),itemsContainerMargins:G(q),itemBoxOuterHeight:y(s),itemBoxOuterWidth:z(s),containerOuterHeight:y(j.container),containerOuterWidth:z(j.container),emptyContainerContentHeight:m.getContentHeight(r),emptyContainerContentWidth:m.getContentWidth(r),containerMargins:G(j.container),containerWidth:0,containerHeight:0,containerSizeLoaded:!1};f.header&&(l[a?"layoutOriginX":"layoutOriginY"]+=m[a?"getTotalWidth":"getTotalHeight"](f.header)),b&&(l.headerContainerOuterX=x(f.rtl?"Right":"Left",j.headerContainer),l.headerContainerOuterY=x("Top",j.headerContainer),l.headerContainerOuterWidth=z(j.headerContainer),l.headerContainerOuterHeight=y(j.headerContainer),l.headerContainerWidth=m.getTotalWidth(j.headerContainer),l.headerContainerHeight=m.getTotalHeight(j.headerContainer),l.headerContainerMinWidth=w(j.headerContainer,"minWidth")+l.headerContainerOuterWidth,l.headerContainerMinHeight=w(j.headerContainer,"minHeight")+l.headerContainerOuterHeight);var n={sizes:l,viewportContentWidth:m.getContentWidth(f.viewport),viewportContentHeight:m.getContentHeight(f.viewport),containerContentWidth:m.getContentWidth(j.container),containerContentHeight:m.getContentHeight(j.container),containerWidth:m.getTotalWidth(j.container),containerHeight:m.getTotalHeight(j.container)};return n.viewportCrossSize=n[a?"viewportContentHeight":"viewportContentWidth"],f.readyToMeasure(),c?null:n}function n(){o.parentNode&&o.parentNode.removeChild(o)}var o=d._createMeasuringSurface(),q=b.document.createElement("div"),r=b.document.createElement("div"),s=j.container.querySelector("."+p._itemBoxClass),t=f.groupIndexFromItemIndex(a);r.className=p._containerClass,q.className=p._itemsContainerClass+" "+p._laidOutClass;var u=1,v=1,A=2,B=2,C=q,D=!1;d._inListMode&&d._groupsEnabled&&(d._horizontal&&d._groupHeaderPosition===U.top?(u=2,B=1,A=1,C=j.headerContainer,D=!0):d._horizontal||d._groupHeaderPosition!==U.left||(v=2,B=1,A=1,C=j.headerContainer,D=!0)),q.style.cssText+=";display: "+(d._inListMode?(d._horizontal?"flex":"block")+"; overflow: hidden":"inline-block")+";vertical-align:top;-ms-grid-column: "+v+";-ms-grid-row: "+u,d._inListMode||(j.container.style.display="inline-block"),d._groupsEnabled&&(j.headerContainer.style.cssText+=";display: inline-block;-ms-grid-column: "+B+";-ms-grid-row: "+A,m.addClass(j.headerContainer,p._laidOutClass+" "+p._groupLeaderClass),(d._groupHeaderPosition===U.top&&d._horizontal||d._groupHeaderPosition===U.left&&!d._horizontal)&&m.addClass(q,p._groupLeaderClass)),D&&o.appendChild(j.headerContainer),q.appendChild(j.container),q.appendChild(r),o.appendChild(q),!D&&d._groupsEnabled&&o.appendChild(j.headerContainer),f.viewport.insertBefore(o,f.viewport.firstChild);var E=l();if(!E)return n(),i.cancel;if(d._horizontal&&0===E.viewportContentHeight||!d._horizontal&&0===E.viewportContentWidth)return n(),i.cancel;if(!(h||d._isCellSpanning(t)||0!==E.containerContentWidth&&0!==E.containerContentHeight))return n(),e.then(function(){return c(a,e)});var F=d._sizes=E.sizes;if(Object.defineProperties(F,{surfaceOuterCrossSize:{get:function(){return d._horizontal?F.surfaceOuterHeight:F.surfaceOuterWidth},enumerable:!0},layoutOrigin:{get:function(){return d._horizontal?F.layoutOriginX:F.layoutOriginY},enumerable:!0},itemsContainerOuterSize:{get:function(){return d._horizontal?F.itemsContainerOuterWidth:F.itemsContainerOuterHeight},enumerable:!0},itemsContainerOuterCrossSize:{get:function(){return d._horizontal?F.itemsContainerOuterHeight:F.itemsContainerOuterWidth},enumerable:!0},itemsContainerOuterStart:{get:function(){return d._horizontal?F.itemsContainerOuterX:F.itemsContainerOuterY},enumerable:!0},itemsContainerOuterCrossStart:{get:function(){return d._horizontal?F.itemsContainerOuterY:F.itemsContainerOuterX},enumerable:!0},containerCrossSize:{get:function(){return d._horizontal?F.containerHeight:F.containerWidth},enumerable:!0},containerSize:{get:function(){return d._horizontal?F.containerWidth:F.containerHeight},enumerable:!0}}),!d._isCellSpanning(t)){if(d._inListMode){var H=E.viewportCrossSize-F.surfaceOuterCrossSize-d._getHeaderSizeContentAdjustment()-F.itemsContainerOuterCrossSize;d._horizontal?(F.containerHeight=H,F.containerWidth=E.containerWidth):(F.containerHeight=E.containerHeight,F.containerWidth=H)}else F.containerWidth=E.containerWidth,F.containerHeight=E.containerHeight;F.containerSizeLoaded=!0}d._createContainerStyleRule(),d._viewportSizeChanged(E.viewportCrossSize),n()})}var d=this,e="Layout:measureItem",f=d._site,g=d._measuringPromise;if(!g){f._writeProfilerMark(e+",StartTM");var h=new k;d._measuringPromise=g=h.promise.then(function(){return d._ensureEnvInfo()?c(a):i.cancel}).then(function(){f._writeProfilerMark(e+":complete,info"),f._writeProfilerMark(e+",StopTM")},function(a){return d._measuringPromise=null,f._writeProfilerMark(e+":canceled,info"),f._writeProfilerMark(e+",StopTM"),i.wrapError(a)}),h.complete()}return g},_getHeaderSizeGroupAdjustment:function(){if(this._groupsEnabled){if(this._horizontal&&this._groupHeaderPosition===U.left)return this._sizes.headerContainerWidth;if(!this._horizontal&&this._groupHeaderPosition===U.top)return this._sizes.headerContainerHeight}return 0},_getHeaderSizeContentAdjustment:function(){if(this._groupsEnabled){if(this._horizontal&&this._groupHeaderPosition===U.top)return this._sizes.headerContainerHeight;if(!this._horizontal&&this._groupHeaderPosition===U.left)return this._sizes.headerContainerWidth}return 0},_getViewportCrossSize:function(){return this._site.viewportSize[this._horizontal?"height":"width"]},_viewportSizeChanged:function(a){var b=this._sizes;b.viewportContentSize=a,b.surfaceContentSize=a-b.surfaceOuterCrossSize,b.maxItemsContainerContentSize=b.surfaceContentSize-b.itemsContainerOuterCrossSize-this._getHeaderSizeContentAdjustment(),b.containerSizeLoaded&&!this._inListMode?(this._itemsPerBar=Math.floor(b.maxItemsContainerContentSize/b.containerCrossSize),this.maximumRowsOrColumns&&(this._itemsPerBar=Math.min(this._itemsPerBar,this.maximumRowsOrColumns)),this._itemsPerBar=Math.max(1,this._itemsPerBar)):(this._inListMode&&(b[this._horizontal?"containerHeight":"containerWidth"]=b.maxItemsContainerContentSize),this._itemsPerBar=1),this._resetAnimationCaches()},_createContainerStyleRule:function(){var a=this._sizes;if(!this._containerSizeClassName&&a.containerSizeLoaded&&(0===a.emptyContainerContentHeight||0===a.emptyContainerContentWidth)){var b=a.containerWidth-a.containerOuterWidth+"px",c=a.containerHeight-a.containerOuterHeight+"px";this._inListMode&&(this._horizontal?c="calc(100% - "+(a.containerMargins.top+a.containerMargins.bottom)+"px)":b="auto"),this._containerSizeClassName||(this._containerSizeClassName=r("containersize"),m.addClass(this._site.surface,this._containerSizeClassName));var d="."+p._containerClass,e="width:"+b+";height:"+c+";";t(this._containerSizeClassName,this._site,d,e)}},_ensureContainerSize:function(a){var b=this._sizes;if(b.containerSizeLoaded||this._ensuringContainerSize)return this._ensuringContainerSize?this._ensuringContainerSize:i.wrap();var c;if(this._itemInfo&&"function"==typeof this._itemInfo||!this._useDefaultItemInfo)c=this._getItemInfo();else{var d=b.containerMargins;c=i.wrap({width:a.groupInfo.cellWidth-d.left-d.right,height:a.groupInfo.cellHeight-d.top-d.bottom})}var e=this;return this._ensuringContainerSize=c.then(function(a){b.containerSizeLoaded=!0,b.containerWidth=a.width+b.itemBoxOuterWidth+b.containerOuterWidth,b.containerHeight=a.height+b.itemBoxOuterHeight+b.containerOuterHeight,e._inListMode?e._itemsPerBar=1:(e._itemsPerBar=Math.floor(b.maxItemsContainerContentSize/b.containerCrossSize),e.maximumRowsOrColumns&&(e._itemsPerBar=Math.min(e._itemsPerBar,e.maximumRowsOrColumns)),e._itemsPerBar=Math.max(1,e._itemsPerBar)),e._createContainerStyleRule()}),c.done(function(){e._ensuringContainerSize=null},function(){e._ensuringContainerSize=null}),c},_indexToCoordinate:function(a,b){b=b||this._itemsPerBar;var c=Math.floor(a/b);return this._horizontal?{column:c,row:a-c*b}:{row:c,column:a-c*b}},_rangeForGroup:function(a,b){var c=a.startIndex,d=c+a.count-1;return!b||b.firstIndex>d||b.lastIndexb;b++)a[b].header.style.maxWidth="",m.removeClass(a[b].itemsContainer.element,p._groupLeaderClass);else this._site.surface.style.msGridRows="";else if(this._oldGroupHeaderPosition===U.left){if(m.removeClass(this._site.surface,p._headerPositionLeftClass),!this._horizontal)for(b=0;c>b;b++)a[b].header.style.maxHeight="",m.removeClass(a[b].itemsContainer.element,p._groupLeaderClass);this._site.surface.style.msGridColumns=""}if(this._groupHeaderPosition===U.top){if(m.addClass(this._site.surface,p._headerPositionTopClass),this._horizontal)for(b=0;c>b;b++)m.addClass(a[b].itemsContainer.element,p._groupLeaderClass)}else if(m.addClass(this._site.surface,p._headerPositionLeftClass),!this._horizontal)for(b=0;c>b;b++)m.addClass(a[b].itemsContainer.element,p._groupLeaderClass);this._oldGroupHeaderPosition=this._groupHeaderPosition}},_layoutGroup:function(a){var b=this._groups[a],c=this._site.tree[a],d=c.header,e=c.itemsContainer.element,f=this._sizes,g=b.getItemsContainerCrossSize();if(this._groupsEnabled){if(this._horizontal)if(this._groupHeaderPosition===U.top){var h=f.headerContainerMinWidth-f.headerContainerOuterWidth,i=b.getItemsContainerSize()-f.headerContainerOuterWidth;d.style.maxWidth=Math.max(h,i)+"px",this._envInfo.supportsCSSGrid?(d.style.msGridColumn=a+1,e.style.msGridColumn=a+1):(d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px",e.style.height=g-f.itemsContainerOuterHeight+"px",e.style.marginBottom=f.itemsContainerMargins.bottom+(f.maxItemsContainerContentSize-g+f.itemsContainerOuterHeight)+"px"),m.addClass(e,p._groupLeaderClass)}else this._envInfo.supportsCSSGrid?(d.style.msGridColumn=2*a+1,e.style.msGridColumn=2*a+2):(d.style.width=f.headerContainerWidth-f.headerContainerOuterWidth+"px",d.style.height=g-f.headerContainerOuterHeight+"px",e.style.height=g-f.itemsContainerOuterHeight+"px");else if(this._groupHeaderPosition===U.left){var j=f.headerContainerMinHeight-f.headerContainerOuterHeight,k=b.getItemsContainerSize()-f.headerContainerOuterHeight;d.style.maxHeight=Math.max(j,k)+"px",this._envInfo.supportsCSSGrid?(d.style.msGridRow=a+1,e.style.msGridRow=a+1):(d.style.width=f.headerContainerWidth-f.headerContainerOuterWidth+"px",e.style.width=g-f.itemsContainerOuterWidth+"px",e.style["margin"+(this._site.rtl?"Left":"Right")]=f.itemsContainerMargins[this._site.rtl?"left":"right"]+(f.maxItemsContainerContentSize-g+f.itemsContainerOuterWidth)+"px"),m.addClass(e,p._groupLeaderClass)}else d.style.msGridRow=2*a+1,this._inListMode?d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px":this._envInfo.supportsCSSGrid?e.style.msGridRow=2*a+2:(d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px",d.style.width=g-f.headerContainerOuterWidth+"px",e.style.width=g-f.itemsContainerOuterWidth+"px");m.addClass(d,p._laidOutClass+" "+p._groupLeaderClass)}m.addClass(e,p._laidOutClass)}},{_barsPerItemsBlock:4})}),_LegacyLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LayoutCommon,null,{disableBackdrop:{get:function(){return this._backdropDisabled||!1},set:function(a){if(m._deprecated(q.disableBackdropIsDeprecated),a=!!a,this._backdropDisabled!==a&&(this._backdropDisabled=a,this._disableBackdropClassName&&(u(this._disableBackdropClassName),this._site&&m.removeClass(this._site.surface,this._disableBackdropClassName),this._disableBackdropClassName=null),this._disableBackdropClassName=r("disablebackdrop"),this._site&&m.addClass(this._site.surface,this._disableBackdropClassName),a)){var b=".win-container.win-backdrop",c="background-color:transparent;";t(this._disableBackdropClassName,this._site,b,c)}}},backdropColor:{get:function(){return this._backdropColor||"rgba(155,155,155,0.23)"},set:function(a){if(m._deprecated(q.backdropColorIsDeprecated),a&&this._backdropColor!==a){this._backdropColor=a,this._backdropColorClassName&&(u(this._backdropColorClassName),this._site&&m.removeClass(this._site.surface,this._backdropColorClassName),this._backdropColorClassName=null),this._backdropColorClassName=r("backdropcolor"),this._site&&m.addClass(this._site.surface,this._backdropColorClassName);var b=".win-container.win-backdrop",c="background-color:"+a+";";t(this._backdropColorClassName,this._site,b,c)}}}})}),GridLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LegacyLayout,function(a){a=a||{},this.itemInfo=a.itemInfo,this.groupInfo=a.groupInfo,this._maxRowsOrColumns=0,this._useDefaultItemInfo=!0,this._elementsToMeasure={},this._groupHeaderPosition=a.groupHeaderPosition||U.top,this.orientation=a.orientation||"horizontal",a.maxRows&&(this.maxRows=+a.maxRows),a.maximumRowsOrColumns&&(this.maximumRowsOrColumns=+a.maximumRowsOrColumns)},{maximumRowsOrColumns:{get:function(){return this._maxRowsOrColumns},set:function(a){this._setMaxRowsOrColumns(a)}},maxRows:{get:function(){return this.maximumRowsOrColumns},set:function(a){m._deprecated(q.maxRowsIsDeprecated),this.maximumRowsOrColumns=a}},itemInfo:{enumerable:!0,get:function(){return this._itemInfo},set:function(a){a&&m._deprecated(q.itemInfoIsDeprecated),this._itemInfo=a,this._invalidateLayout()}},groupInfo:{enumerable:!0,get:function(){return this._groupInfo},set:function(a){a&&m._deprecated(q.groupInfoIsDeprecated),this._groupInfo=a,this._invalidateLayout()}}})})});var T=c.Namespace.defineWithParent(null,null,{UniformGroupBase:c.Namespace._lazy(function(){return c.Class.define(null,{cleanUp:function(){},itemFromOffset:function(a,b){b=b||{};var c=this._layout._sizes;a-=c.itemsContainerOuterStart,b.wholeItem&&(a+=(b.last?-1:1)*(c.containerSize-1));var d=this.count-1,e=Math.floor(d/this._layout._itemsPerBar),f=v(0,e,Math.floor(a/c.containerSize)),g=(f+b.last)*this._layout._itemsPerBar-b.last;return v(0,this.count-1,g)},hitTest:function(a,b){var c=this._layout._horizontal,d=this._layout._itemsPerBar,e=this._layout._inListMode||1===d,f=c?a:b,g=c?b:a,h=this._layout._sizes;f-=h.itemsContainerOuterStart,g-=h.itemsContainerOuterCrossStart;var i,j=Math.floor(f/h.containerSize),k=v(0,d-1,Math.floor(g/h.containerCrossSize)),l=Math.max(-1,j*d+k);if(i=!c&&e||c&&!e?(b-h.containerHeight/2)/h.containerHeight:(a-h.containerWidth/2)/h.containerWidth,e)return i=Math.floor(i), -{index:l,insertAfterIndex:i>=0&&l>=0?i:-1};i=v(-1,d-1,i);var m;return m=0>i?j*d-1:j*d+Math.floor(i),{index:v(-1,this.count-1,l),insertAfterIndex:v(-1,this.count-1,m)}},getAdjacent:function(a,b){var c,d=a.index,e=Math.floor(d/this._layout._itemsPerBar),f=d%this._layout._itemsPerBar;switch(b){case H.upArrow:c=0===f?"boundary":d-1;break;case H.downArrow:var g=d===this.count-1,h=this._layout._itemsPerBar>1&&f===this._layout._itemsPerBar-1;c=g||h?"boundary":d+1;break;case H.leftArrow:c=0===e&&this._layout._itemsPerBar>1?"boundary":d-this._layout._itemsPerBar;break;case H.rightArrow:var i=this.count-1,j=Math.floor(i/this._layout._itemsPerBar);c=e===j?"boundary":Math.min(d+this._layout._itemsPerBar,this.count-1)}return"boundary"===c?c:{type:o.ObjectType.item,index:c}},getItemsContainerSize:function(){var a=this._layout._sizes,b=Math.ceil(this.count/this._layout._itemsPerBar);return b*a.containerSize+a.itemsContainerOuterSize},getItemsContainerCrossSize:function(){var a=this._layout._sizes;return this._layout._itemsPerBar*a.containerCrossSize+a.itemsContainerOuterCrossSize},getItemPositionForAnimations:function(a){var b=this._layout._sizes,c=this._layout._site.rtl?"right":"left",d=this._layout._sizes.containerMargins,e=this._layout._indexToCoordinate(a),f={row:e.row,column:e.column,top:d.top+e.row*b.containerHeight,left:d[c]+e.column*b.containerWidth,height:b.containerHeight-b.containerMargins.top-b.containerMargins.bottom,width:b.containerWidth-b.containerMargins.left-b.containerMargins.right};return f}})}),UniformGroup:c.Namespace._lazy(function(){return c.Class.derive(T.UniformGroupBase,function(a,b){this._layout=a,this._itemsContainer=b,m.addClass(this._itemsContainer,a._inListMode?p._uniformListLayoutClass:p._uniformGridLayoutClass)},{cleanUp:function(a){a||(m.removeClass(this._itemsContainer,p._uniformGridLayoutClass),m.removeClass(this._itemsContainer,p._uniformListLayoutClass),this._itemsContainer.style.height=this._itemsContainer.style.width=""),this._itemsContainer=null,this._layout=null,this.groupInfo=null,this.startIndex=null,this.offset=null,this.count=null},prepareLayout:function(a,b,c,d){return this.groupInfo=d.groupInfo,this.startIndex=d.startIndex,this.count=a,this._layout._ensureContainerSize(this)},layoutRealizedRange:function(){var a=this._layout._sizes;this._itemsContainer.style[this._layout._horizontal?"width":"height"]=this.getItemsContainerSize()-a.itemsContainerOuterSize+"px",this._itemsContainer.style[this._layout._horizontal?"height":"width"]=this._layout._inListMode?a.maxItemsContainerContentSize+"px":this._layout._itemsPerBar*a.containerCrossSize+"px"},layoutUnrealizedRange:function(){return i.wrap()}})}),UniformFlowGroup:c.Namespace._lazy(function(){return c.Class.derive(T.UniformGroupBase,function(a,b){this._layout=a,this._itemsContainer=b.element,m.addClass(this._itemsContainer,a._inListMode?p._uniformListLayoutClass:p._uniformGridLayoutClass)},{cleanUp:function(a){a||(m.removeClass(this._itemsContainer,p._uniformListLayoutClass),m.removeClass(this._itemsContainer,p._uniformGridLayoutClass),this._itemsContainer.style.height="")},layout:function(){this._layout._site._writeProfilerMark("Layout:_UniformFlowGroup:setItemsContainerHeight,info"),this._itemsContainer.style.height=this.count*this._layout._sizes.containerHeight+"px"}})}),CellSpanningGroup:c.Namespace._lazy(function(){return c.Class.define(function(a,b){this._layout=a,this._itemsContainer=b,m.addClass(this._itemsContainer,p._cellSpanningGridLayoutClass),this.resetMap()},{cleanUp:function(a){a||(this._cleanContainers(),m.removeClass(this._itemsContainer,p._cellSpanningGridLayoutClass),this._itemsContainer.style.cssText=""),this._itemsContainer=null,this._layoutPromise&&(this._layoutPromise.cancel(),this._layoutPromise=null),this.resetMap(),this._slotsPerColumn=null,this._offScreenSlotsPerColumn=null,this._items=null,this._layout=null,this._containersToHide=null,this.groupInfo=null,this.startIndex=null,this.offset=null,this.count=null},prepareLayoutWithCopyOfTree:function(a,b,c,d){var e,f=this;if(this._containersToHide={},b)for(e=b.firstIndex;e<=b.lastIndex;e++)this._containersToHide[I(c._items[e])]=c._items[e];this.groupInfo=d.groupInfo,this.startIndex=d.startIndex,this.count=a.items.length,this._items=a.items,this._slotsPerColumn=Math.floor(this._layout._sizes.maxItemsContainerContentSize/this.groupInfo.cellHeight),this._layout.maximumRowsOrColumns&&(this._slotsPerColumn=Math.min(this._slotsPerColumn,this._layout.maximumRowsOrColumns)),this._slotsPerColumn=Math.max(this._slotsPerColumn,1),this.resetMap();var g=new Array(this.count);for(e=0;e=a&&(e._layoutItem(k),k--,i=!1),l=a;m--){if(b.shouldYield)return void b.setWork(o);e._layoutItem(m)}g()})}else{var m=a;d=h(function p(a){for(;m0))return{type:o.ObjectType.item,index:d};g--;break;case H.downArrow:if(!(i+10?g-this._slotsPerColumn:-1;break;case H.rightArrow:g=j>h?g+this._slotsPerColumn:this.occupancyMap.length}f=g>=0&&g0){for(var e=this.indexFromOffset(a,!1,0),f=Math.min(this._slotsPerColumn-1,Math.floor(b/this.groupInfo.cellHeight)),g=e.index,h=g;f-->0;)g++,this.occupancyMap[g]&&(h=g);this.occupancyMap[h]||h--,d=this.occupancyMap[h].index}var i=this.getItemSize(d),j=i.column*this.groupInfo.cellWidth,k=i.row*this.groupInfo.cellHeight,l=1===this._slotsPerColumn,m=d;return(l&&aa;a++)b[a].style.cssText="",m.removeClass(b[a],p._laidOutClass)},getColumnCount:function(){return Math.ceil(this.occupancyMap.length/this._slotsPerColumn)},getOccupancyMapItemCount:function(){var a=-1;return this.occupancyMap.forEach(function(b){b.index>a&&(a=b.index)}),a+1},coordinateToIndex:function(a,b){return a*this._slotsPerColumn+b},markSlotAsFull:function(a,b){for(var c=this._layout._indexToCoordinate(a,this._slotsPerColumn),d=c.row+b.rows,e=c.row;d>e&&ef;f++)this.occupancyMap[this.coordinateToIndex(f,e)]=b;this._offScreenSlotsPerColumn=Math.max(this._offScreenSlotsPerColumn,d-this._slotsPerColumn)},isSlotEmpty:function(a,b,c){for(var d=b,e=b+a.rows;e>d;d++)for(var f=c,g=c+a.columns;g>f;f++)if(d>=this._slotsPerColumn||void 0!==this.occupancyMap[this.coordinateToIndex(f,d)])return!1;return!0},findEmptySlot:function(a,b,c){var d=this._layout._indexToCoordinate(a,this._slotsPerColumn),e=d.row,f=Math.floor((this.occupancyMap.length-1)/this._slotsPerColumn);if(c){for(var g=d.column+1;f>=g;g++)if(this.isSlotEmpty(b,0,g))return this.coordinateToIndex(g,0)}else for(var g=d.column;f>=g;g++){for(var h=e;hb;b++){var d=this.occupancyMap[b];if(d&&d.index===a)return b}return b},getItemSize:function(a){var b=this.findItem(a),c=this.occupancyMap[b],d=this._layout._indexToCoordinate(b,this._slotsPerColumn);return a===c.index?{row:d.row,column:d.column,contentWidth:c.contentWidth,contentHeight:c.contentHeight,columns:c.columns,rows:c.rows}:null},resetMap:function(){this.occupancyMap=[],this.lastAdded=0,this._offScreenSlotsPerColumn=0},addItemToMap:function(a,b){function c(a,b){var c=d.findEmptySlot(d.lastAdded,a,b);d.lastAdded=c,d.markSlotAsFull(c,a)}var d=this,e=d.groupInfo,f=d._layout._sizes.containerMargins,g={index:a,contentWidth:b.width,contentHeight:b.height,columns:Math.max(1,Math.ceil((b.width+f.left+f.right)/e.cellWidth)),rows:Math.max(1,Math.ceil((b.height+f.top+f.bottom)/e.cellHeight))};c(g,b.newColumn)},indexFromOffset:function(a,b,c){var d=0,e=0,f=this.groupInfo,g=0;if(this.occupancyMap.length>0){if(e=this.getOccupancyMapItemCount()-1,d=Math.ceil((this.occupancyMap.length-1)/this._slotsPerColumn)*f.cellWidth,d>a){for(var h=this._slotsPerColumn,g=(Math.max(0,Math.floor(a/f.cellWidth))+c)*this._slotsPerColumn-c;!this.occupancyMap[g]&&h-->0;)g+=c>0?-1:1;return{index:g,item:this.occupancyMap[g].index}}g=this.occupancyMap.length-1}return{index:g,item:e+(Math.max(0,Math.floor((a-d)/f.cellWidth))+c)*this._slotsPerColumn-c}}})})});c.Namespace._moduleDefine(a,"WinJS.UI",{ListLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LegacyLayout,function(a){a=a||{},this._itemInfo={},this._groupInfo={},this._groupHeaderPosition=a.groupHeaderPosition||U.top,this._inListMode=!0,this.orientation=a.orientation||"vertical"},{initialize:function(b,c){m.addClass(b.surface,p._listLayoutClass),a._LegacyLayout.prototype.initialize.call(this,b,c)},uninitialize:function(){this._site&&m.removeClass(this._site.surface,p._listLayoutClass),a._LegacyLayout.prototype.uninitialize.call(this)},layout:function(b,c,d,e){return this._groupsEnabled||this._horizontal?a._LegacyLayout.prototype.layout.call(this,b,c,d,e):this._layoutNonGroupedVerticalList(b,c,d,e)},_layoutNonGroupedVerticalList:function(a,b,c,d){var e=this,f="Layout:_layoutNonGroupedVerticalList";return e._site._writeProfilerMark(f+",StartTM"),this._layoutPromise=e._measureItem(0).then(function(){m[e._usingStructuralNodes?"addClass":"removeClass"](e._site.surface,p._structuralNodesClass),m[e._envInfo.nestedFlexTooLarge||e._envInfo.nestedFlexTooSmall?"addClass":"removeClass"](e._site.surface,p._singleItemsBlockClass),e._sizes.viewportContentSize!==e._getViewportCrossSize()&&e._viewportSizeChanged(e._getViewportCrossSize()),e._cacheRemovedElements(c,e._cachedItemRecords,e._cachedInsertedItemRecords,e._cachedRemovedItems,!1),e._cacheRemovedElements(d,e._cachedHeaderRecords,e._cachedInsertedHeaderRecords,e._cachedRemovedHeaders,!0);var b=a[0].itemsContainer,g=new T.UniformFlowGroup(e,b);e._groups=[g],g.groupInfo={enableCellSpanning:!1},g.startIndex=0,g.count=D(b),g.offset=0,g.layout(),e._site._writeProfilerMark(f+":setSurfaceWidth,info"),e._site.surface.style.width=e._sizes.surfaceContentSize+"px",e._layoutAnimations(c,d),e._site._writeProfilerMark(f+":complete,info"),e._site._writeProfilerMark(f+",StopTM")},function(a){return e._site._writeProfilerMark(f+":canceled,info"),e._site._writeProfilerMark(f+",StopTM"),i.wrapError(a)}),{realizedRangeComplete:this._layoutPromise,layoutComplete:this._layoutPromise}},numberOfItemsPerItemsBlock:{get:function(){var b=this;return this._measureItem(0).then(function(){return b._envInfo.nestedFlexTooLarge||b._envInfo.nestedFlexTooSmall?(b._usingStructuralNodes=!0,Number.MAX_VALUE):(b._usingStructuralNodes=a.ListLayout._numberOfItemsPerItemsBlock>0,a.ListLayout._numberOfItemsPerItemsBlock)})}}},{_numberOfItemsPerItemsBlock:10})}),CellSpanningLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LayoutCommon,function(a){a=a||{},this._itemInfo=a.itemInfo,this._groupInfo=a.groupInfo,this._groupHeaderPosition=a.groupHeaderPosition||U.top,this._horizontal=!0,this._cellSpanning=!0},{maximumRowsOrColumns:{get:function(){return this._maxRowsOrColumns},set:function(a){this._setMaxRowsOrColumns(a)}},itemInfo:{enumerable:!0,get:function(){return this._itemInfo},set:function(a){this._itemInfo=a,this._invalidateLayout()}},groupInfo:{enumerable:!0,get:function(){return this._groupInfo},set:function(a){this._groupInfo=a,this._invalidateLayout()}},orientation:{enumerable:!0,get:function(){return"horizontal"}}})}),_LayoutWrapper:c.Namespace._lazy(function(){return c.Class.define(function(a){this.defaultAnimations=!0,this.initialize=function(b,c){a.initialize(b,c)},this.hitTest=function(b,c){return a.hitTest(b,c)},a.uninitialize&&(this.uninitialize=function(){a.uninitialize()}),"numberOfItemsPerItemsBlock"in a&&Object.defineProperty(this,"numberOfItemsPerItemsBlock",{get:function(){return a.numberOfItemsPerItemsBlock}}),a._getItemPosition&&(this._getItemPosition=function(b){return a._getItemPosition(b)}),a.itemsFromRange&&(this.itemsFromRange=function(b,c){return a.itemsFromRange(b,c)}),a.getAdjacent&&(this.getAdjacent=function(b,c){return a.getAdjacent(b,c)}),a.dragOver&&(this.dragOver=function(b,c,d){return a.dragOver(b,c,d)}),a.dragLeave&&(this.dragLeave=function(){return a.dragLeave()});var b={enumerable:!0,get:function(){return"vertical"}};if(void 0!==a.orientation&&(b.get=function(){return a.orientation},b.set=function(b){a.orientation=b}),Object.defineProperty(this,"orientation",b),(a.setupAnimations||a.executeAnimations)&&(this.defaultAnimations=!1,this.setupAnimations=function(){return a.setupAnimations()},this.executeAnimations=function(){return a.executeAnimations()}),a.layout)if(this.defaultAnimations){var c=this;this.layout=function(b,d,e,f){var g,h=F(a.layout(b,d,[],[]));return h.realizedRangeComplete.then(function(){g=!0}),g&&c._layoutAnimations(e,f),h}}else this.layout=function(b,c,d,e){return F(a.layout(b,c,d,e))}},{uninitialize:function(){},numberOfItemsPerItemsBlock:{get:function(){}},layout:function(a,b,c,d){return this.defaultAnimations&&this._layoutAnimations(c,d),F()},itemsFromRange:function(){return{firstIndex:0,lastIndex:Number.MAX_VALUE}},getAdjacent:function(a,b){switch(b){case H.pageUp:case H.upArrow:case H.leftArrow:return{type:a.type,index:a.index-1};case H.downArrow:case H.rightArrow:case H.pageDown:return{type:a.type,index:a.index+1}}},dragOver:function(){},dragLeave:function(){},setupAnimations:function(){},executeAnimations:function(){},_getItemPosition:function(){},_layoutAnimations:function(){}})})});var U={left:"left",top:"top"};c.Namespace._moduleDefine(a,"WinJS.UI",{HeaderPosition:U,_getMargins:G})}),d("WinJS/Controls/ListView/_VirtualizeContentsView",["exports","../../Core/_Global","../../Core/_Base","../../Core/_BaseUtils","../../Promise","../../_Signal","../../Scheduler","../../Utilities/_Dispose","../../Utilities/_ElementUtilities","../../Utilities/_SafeHtml","../../Utilities/_UI","../ItemContainer/_Constants","../ItemContainer/_ItemEventsHandler","./_Helpers","./_ItemsContainer"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){"use strict";function p(a,b){i._setAttribute(a,"aria-flowto",b.id),i._setAttribute(b,"x-ms-aria-flowfrom",a.id)}c.Namespace._moduleDefine(a,"WinJS.UI",{_VirtualizeContentsView:c.Namespace._lazy(function(){function a(b){for(var c,d=b.job._workItems;d.length&&!b.shouldYield;)(c=d.shift())();b.setWork(a),d.length||b.job.pause()}function q(b,c){var d=g.schedule(a,b,null,c);return d._workItems=[],d.addWork=function(a,b){b?this._workItems.unshift(a):this._workItems.push(a),this.resume()},d.clearWork=function(){this._workItems.length=0},d.dispose=function(){this.cancel(),this._workItems.length=0},d}function r(a){return a._zooming||a._pinching}function s(a,b){return a._isZombie()?e.wrap():r(a)?(+b!==b&&(b=v._waitForSeZoTimeoutDuration),e.timeout(v._waitForSeZoIntervalDuration).then(function(){return b-=v._waitForSeZoIntervalDuration,0>=b?!0:s(a,b)})):e.wrap()}function t(a){if("number"==typeof a){var b=a;a=function(){return{position:b,direction:"right"}}}return a}function u(){}var v=c.Class.define(function(a){this._listView=a,this._forceRelayout=!1,this.maxLeadingPages=d._isiOS?v._iOSMaxLeadingPages:v._defaultPagesToPrefetch,this.maxTrailingPages=d._isiOS?v._iOSMaxTrailingPages:v._defaultPagesToPrefetch,this.items=new o._ItemsContainer(a),this.firstIndexDisplayed=-1,this.lastIndexDisplayed=-1,this.begin=0,this.end=0,this._realizePass=1,this._firstLayoutPass=!0,this._runningAnimations=null,this._renderCompletePromise=e.wrap(),this._state=new w(this),this._createLayoutSignal(),this._createTreeBuildingSignal(),this._layoutWork=null,this._onscreenJob=q(g.Priority.aboveNormal,"on-screen items"),this._frontOffscreenJob=q(g.Priority.normal,"front off-screen items"),this._backOffscreenJob=q(g.Priority.belowNormal,"back off-screen items"),this._scrollbarPos=0,this._direction="right",this._scrollToFunctor=t(0)},{_dispose:function(){this.cleanUp(),this.items=null,this._renderCompletePromise&&this._renderCompletePromise.cancel(),this._renderCompletePromise=null,this._onscreenJob.dispose(),this._frontOffscreenJob.dispose(),this._backOffscreenJob.dispose()},_createItem:function(a,b,c,d){this._listView._writeProfilerMark("createItem("+a+") "+this._getBoundingRectString(a)+",info");var f=this;f._listView._itemsManager._itemFromItemPromiseThrottled(b).done(function(b){b?c(a,b,f._listView._itemsManager._recordFromElement(b)):d(a)},function(b){return d(a),e.wrapError(b)})},_addItem:function(a,b,c,d){if(this._realizePass===d){var e=this._listView._itemsManager._recordFromElement(c);delete this._pendingItemPromises[e.itemPromise.handle],this.items.setItemAt(b,{itemBox:null,container:null,element:c,detached:!0,itemsManagerRecord:e})}},lastItemIndex:function(){return this.containers?this.containers.length-1:-1},_setSkipRealizationForChange:function(a){a?this._realizationLevel!==v._realizationLevel.realize&&(this._realizationLevel=v._realizationLevel.skip):this._realizationLevel=v._realizationLevel.realize},_realizeItems:function(a,b,c,d,h,j,k,n,o,p){function q(a,b){C.push(e._cancelBlocker(b.renderComplete)),u(a)}function r(a,b){function c(a,b){a.updatedDraggableAttribute||!G._listView.itemsDraggable&&!G._listView.itemsReorderable||a.itemsManagerRecord.renderComplete.done(function(){G._realizePass===h&&(i.hasClass(b,l._nonDraggableClass)||(a.itemBox.draggable=!0),a.updatedDraggableAttribute=!0)})}if(G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom,StartTM"),!G._listView._isZombie()){var d,e=0,f=-1,g=-1;for(d=a;b>=d;d++){var j=G.items.itemDataAt(d);if(j){var n=j.element,o=j.itemBox;o||(o=G._listView._itemBoxTemplate.cloneNode(!0),j.itemBox=o,o.appendChild(n),i.addClass(n,l._itemClass),G._listView._setupAriaSelectionObserver(n),G._listView._isSelected(d)&&m._ItemEventsHandler.renderSelection(o,n,!0,!0),G._listView._currentMode().renderDragSourceOnRealizedItem(d,o)),c(j,n);var p=G.getContainer(d);o.parentNode!==p&&(j.container=p,G._appendAndRestoreFocus(p,o),e++,0>f&&(f=d),g=d,G._listView._isSelected(d)&&i.addClass(p,l._selectedClass),i.removeClass(p,l._backdropClass),G.items.elementAvailable(d))}}G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom,StopTM"),e>0&&(G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom:"+e+" ("+f+"-"+g+"),info"),G._reportElementsLevel(k))}}function s(a,b,c,d){function e(a,b){var c=G.items.itemDataAt(a);if(c){var d=c.itemBox;return d&&d.parentNode?b?(i.addClass(d.parentNode,l._backdropClass),d.parentNode.removeChild(d),!0):!1:!0}return!0}if(!p){for(var f=!1;a>=c;)f=e(a,f),a--;for(f=!1;d>=b;)f=e(b,f),b++}}function t(a,b,c,d,f){function g(a){var b=G.items.itemDataAt(a);if(b){var d=b.itemsManagerRecord;d.readyComplete||G._realizePass!==h||c.addWork(function(){G._listView._isZombie()||d.pendingReady&&G._realizePass===h&&(G._listView._writeProfilerMark("pendingReady("+a+"),info"),d.pendingReady())},f)}}for(var i=[],j=a;b>=j;j++){var k=G.items.itemDataAt(j);k&&i.push(k.itemsManagerRecord.itemPromise)}e.join(i).then(function(){if("right"===d)for(var c=a;b>=c;c++)g(c);else for(var c=b;c>=a;c--)g(c)})}function u(a){if(G._realizePass===h){if(a>=n&&o>=a){if(0===--z){if(r(n,o),s(n,o,b,c),G._firstLayoutPass){t(n,o,G._frontOffscreenJob,"right"===k?"left":"right",!0);var d=g.schedulePromiseHigh(null,"WinJS.UI.ListView.entranceAnimation").then(function(){if(!G._listView._isZombie()){G._listView._writeProfilerMark("entranceAnimation,StartTM");var a=G._listView._animateListEntrance(!G._firstEntranceAnimated);return G._firstEntranceAnimated=!0,a}});G._runningAnimations=e.join([G._runningAnimations,d]),G._runningAnimations.done(function(){G._listView._writeProfilerMark("entranceAnimation,StopTM"),G._realizePass===h&&(G._runningAnimations=null,D.complete())}),G._firstLayoutPass=!1,G._listView._isCurrentZoomView&&g.requestDrain(G._onscreenJob.priority)}else t(n,o,G._frontOffscreenJob,k),D.complete();G._updateHeaders(G._listView._canvas,n,o+1).done(function(){E.complete()})}}else n>a?(--B,B%y===0&&r(b,n-1),B||(G._updateHeaders(G._listView._canvas,b,n).done(function(){"right"!==k&&F.complete()}),t(b,n-1,"right"!==k?G._frontOffscreenJob:G._backOffscreenJob,"left"))):a>o&&(--A,A%y===0&&r(o+1,c-1),A||(G._updateHeaders(G._listView._canvas,o+1,c).then(function(){"right"===k&&F.complete()}),t(o+1,c-1,"right"===k?G._frontOffscreenJob:G._backOffscreenJob,"right")));x--,0===x&&(G._renderCompletePromise=e.join(C).then(null,function(a){var b=Array.isArray(a)&&a.some(function(a){return a&&!(a instanceof Error&&"Canceled"===a.name)});return b?e.wrapError(a):void 0}),(G._headerRenderPromises||e.wrap()).done(function(){g.schedule(function(){G._listView._isZombie()?L.cancel():L.complete()},Math.min(G._onscreenJob.priority,G._backOffscreenJob.priority),null,"WinJS.UI.ListView._allItemsRealized")}))}}function v(b,c,d){if(G._realizePass===h){var c=d.element;G._addItem(a,b,c,h),q(b,d)}}var w="_realizeItems("+b+"-"+(c-1)+") visible("+n+"-"+o+")";this._listView._writeProfilerMark(w+",StartTM"),k=k||"right";var x=c-b,y=o-n+1,z=y,A=c-o-1,B=n-b,C=[],D=new f,E=new f,F=new f,G=this;if(x>0){var H=0,I=0,J=0;G.firstIndexDisplayed=n,G.lastIndexDisplayed=o;var K=G._listView._isCurrentZoomView;G._highPriorityRealize&&(G._firstLayoutPass||G._hasAnimationInViewportPending)?(G._highPriorityRealize=!1,G._onscreenJob.priority=g.Priority.high,G._frontOffscreenJob.priority=g.Priority.normal,G._backOffscreenJob.priority=g.Priority.belowNormal):G._highPriorityRealize?(G._highPriorityRealize=!1,G._onscreenJob.priority=g.Priority.high,G._frontOffscreenJob.priority=g.Priority.high-1,G._backOffscreenJob.priority=g.Priority.high-1):K?(G._onscreenJob.priority=g.Priority.aboveNormal,G._frontOffscreenJob.priority=g.Priority.normal,G._backOffscreenJob.priority=g.Priority.belowNormal):(G._onscreenJob.priority=g.Priority.belowNormal,G._frontOffscreenJob.priority=g.Priority.idle,G._backOffscreenJob.priority=g.Priority.idle);var L=new f,M=G._listView._versionManager.cancelOnNotification(L.promise),N=function(a,b){b.startStage1&&b.stage0.then(function(){G._realizePass===h&&b.startStage1&&a.addWork(b.startStage1)})},O=function(a,b){var c=G.items.itemDataAt(b);if(!c){var d=G._listView._itemsManager._itemPromiseAtIndex(b);G._pendingItemPromises[d.handle]=d,delete G._previousRealizationPendingItemPromises[d.handle],a.addWork(function(){if(!G._listView._isZombie()&&(H++,G._createItem(b,d,v,u),!G._listView._isZombie()&&G._realizePass===h&&d.handle)){var c=G._listView._itemsManager._recordFromHandle(d.handle);N(a,c)}})}},P=function(a,b,c){for(var d=b;c>=d;d++)O(a,d)},Q=function(a,b,c){for(var d=c;d>=b;d--)O(a,d)},R=function(a,b,c){for(var d=b;c>=d;d++){var e=G.items.itemDataAt(d);if(e){var f=e.itemsManagerRecord;q(d,f),I++,N(a,f)}}};this._previousRealizationPendingItemPromises=this._pendingItemPromises||{},this._pendingItemPromises={};var S;"left"===k?(Q(G._onscreenJob,n,o),Q(G._frontOffscreenJob,b,n-1),S=b>n-1):(P(G._onscreenJob,n,o),P(G._frontOffscreenJob,o+1,c-1),S=o+1>c-1);for(var T=0,U=Object.keys(this._previousRealizationPendingItemPromises),V=U.length;V>T;T++){var W=U[T];G._listView._itemsManager.releaseItemPromise(this._previousRealizationPendingItemPromises[W])}this._previousRealizationPendingItemPromises={},R(G._onscreenJob,n,o),"left"===k?R(G._frontOffscreenJob,b,n-1):R(G._frontOffscreenJob,o+1,c-1);var X=z===o-n+1;return G._firstLayoutPass?G._listView._canvas.style.opacity=0:X?G._listView._showProgressBar(G._listView._element,"50%","50%"):G._listView._hideProgressBar(),G._frontOffscreenJob.pause(),G._backOffscreenJob.pause(),E.promise.done(function(){G._frontOffscreenJob.resume(),S&&F.complete()},function(){L.cancel()}),F.promise.done(function(){G._listView._writeProfilerMark("frontItemsRealized,info"),"left"===k?(P(G._backOffscreenJob,o+1,c-1),R(G._backOffscreenJob,o+1,c-1)):(Q(G._backOffscreenJob,b,n-1),R(G._backOffscreenJob,b,n-1)),G._backOffscreenJob.resume()}),L.promise.done(function(){G._listView._versionManager.clearCancelOnNotification(M),G._listView._writeProfilerMark(w+" complete(created:"+H+" updated:"+I+"),info")},function(a){return G._listView._versionManager.clearCancelOnNotification(M),G._onscreenJob.clearWork(),G._frontOffscreenJob.clearWork(),G._backOffscreenJob.clearWork(),D.cancel(),E.cancel(),G._listView._writeProfilerMark(w+" canceled(created:"+H+" updated:"+I+" clean:"+J+"),info"),e.wrapError(a)}),G._listView._writeProfilerMark(w+",StopTM"),{viewportItemsRealized:E.promise,allItemsRealized:L.promise,loadingCompleted:e.join([L.promise,D.promise]).then(function(){for(var a=[],d=b;c>d;d++){var f=G.items.itemDataAt(d);f&&a.push(f.itemsManagerRecord.itemReadyPromise)}return e._cancelBlocker(e.join(a))})}}return G._listView._writeProfilerMark(w+",StopTM"),{viewportItemsRealized:e.wrap(),allItemsRealized:e.wrap(),loadingCompleted:e.wrap()}},_setAnimationInViewportState:function(a){if(this._hasAnimationInViewportPending=!1,a&&a.length>0)for(var b=this._listView._getViewportLength(),c=this._listView._layout.itemsFromRange(this._scrollbarPos,this._scrollbarPos+b-1),d=0,e=a.length;e>d;d++){var f=a[d];if(f.newIndex>=c.firstIndex&&f.newIndex<=c.lastIndex&&f.newIndex!==f.oldIndex){this._hasAnimationInViewportPending=!0;break}}},_addHeader:function(a,b){var c=this;return this._listView._groups.renderGroup(b).then(function(a){if(a){a.element.tabIndex=0;var d=c._getHeaderContainer(b);a.element.parentNode!==d&&(d.appendChild(a.element),i.addClass(a.element,l._headerClass)),c._listView._groups.setDomElement(b,a.element)}})},_updateHeaders:function(a,b,c){function d(b){var c=g._listView._groups.group(b);if(c&&!c.header){var d=c.headerPromise;return d||(d=c.headerPromise=g._addHeader(a,b),d.done(function(){c.headerPromise=null},function(){c.headerPromise=null})),d}return e.wrap()}function f(){g._headerRenderPromises=null}var g=this;this._listView._groups.removeElements();var h=this._listView._groups.groupFromItem(b),i=h,j=this._listView._groups.groupFromItem(c-1),k=[];if(null!==i)for(;j>=i;i++)k.push(d(i));return this._headerRenderPromises=e.join(k,this._headerRenderPromises).then(f,f),this._headerRenderPromises||e.wrap()},_unrealizeItem:function(a){var b,c=this._listView;this._listView._writeProfilerMark("_unrealizeItem("+a+"),info");var d=c._selection._getFocused();d.type===k.ObjectType.item&&d.index===a&&(c._unsetFocusOnItem(),b=!0);var e=this.items.itemDataAt(a),f=e.element,g=e.itemBox;g&&g.parentNode&&(i.removeClass(g.parentNode,l._selectedClass),i.removeClass(g.parentNode,l._footprintClass),i.addClass(g.parentNode,l._backdropClass),g.parentNode.removeChild(g)),e.container=null,c._currentMode().itemUnrealized&&c._currentMode().itemUnrealized(a,g),this.items.removeItem(a),e.removed||c._itemsManager.releaseItem(f),h._disposeElement(f),b&&c._setFocusOnItem(c._selection._getFocused())},_unrealizeGroup:function(a){var b,c=a.header,d=this._listView._selection._getFocused();d.type===k.ObjectType.groupHeader&&this._listView._groups.group(d.index)===a&&(this._listView._unsetFocusOnItem(),b=!0),c.parentNode&&c.parentNode.removeChild(c),h._disposeElement(c),a.header=null,a.left=-1,a.top=-1,b&&this._listView._setFocusOnItem(this._listView._selection._getFocused())},_unrealizeItems:function(a){var b=this,c=0;this.items.eachIndex(function(d){return d=b.end?(b._unrealizeItem(d),a&&++c>=a):void 0});var d=this._listView._groups,e=d.groupFromItem(this.begin);if(null!==e)for(var f=d.groupFromItem(this.end-1),g=0,h=d.length();h>g;g++){var i=d.group(g);(e>g||g>f)&&i.header&&this._unrealizeGroup(i)}},_unrealizeExcessiveItems:function(){var a=this.items.count(),b=this.end-this.begin,c=b+this._listView._maxDeferredItemCleanup;this._listView._writeProfilerMark("_unrealizeExcessiveItems realized("+a+") approved("+c+"),info"),a>c&&this._unrealizeItems(a-c)},_lazilyUnrealizeItems:function(){this._listView._writeProfilerMark("_lazilyUnrealizeItems,StartTM");var a=this;return s(this._listView).then(function(){function b(){a._listView._writeProfilerMark("_lazilyUnrealizeItems,StopTM")}if(a._listView._isZombie())return void b();var c=[];a.items.eachIndex(function(b){(b=a.end)&&c.push(b)}),a._listView._writeProfilerMark("_lazilyUnrealizeItems itemsToUnrealize("+c.length+"),info");var d=[],f=a._listView._groups,h=f.groupFromItem(a.begin);if(null!==h)for(var i=f.groupFromItem(a.end-1),j=0,k=f.length();k>j;j++){var l=f.group(j);(h>j||j>i)&&l.header&&d.push(l)}if(c.length||d.length){var m,n=new e(function(b){function e(f){if(!a._listView._isZombie()){for(var g=-1,h=-1,i=0,j=r(a._listView);c.length&&!j&&!f.shouldYield;){var k=c.shift();a._unrealizeItem(k),i++,0>g&&(g=k),h=k}for(a._listView._writeProfilerMark("unrealizeWorker removeItems:"+i+" ("+g+"-"+h+"),info");d.length&&!j&&!f.shouldYield;)a._unrealizeGroup(d.shift());c.length||d.length?j?f.setPromise(s(a._listView).then(function(){return e; +i.lastIndex=Math.min(i.lastIndex-h+1,g);var j=Math.max(Math.min(g-1,d.insertAfterIndex),-1),k=Math.min(j+1,g);if(c){for(var l=j;l>=i.firstIndex;l--){if(!c._isIncluded(l+h)){j=l;break}l===i.firstIndex&&(j=-1)}for(var l=k;ll;l++){var p=this._animatedDragItems[l];p&&(p.style[P]=this._site.animationsDisabled?"":Q,p.style[O.scriptName]="")}this._animatedDragItems=[];var q="horizontal"===this.orientation,r=this._inListMode||1===this._itemsPerBar;this._groups&&this._groups[e]instanceof T.CellSpanningGroup&&(r=1===this._groups[e]._slotsPerColumn);var s=0,t=0;!q&&!r||q&&r?s=this._site.rtl?-R:R:t=R,m&&(m.style[P]=this._site.animationsDisabled?"":Q,m.style[O.scriptName]="translate("+s+"px, "+t+"px)",this._animatedDragItems.push(m)),n&&(n.style[P]=this._site.animationsDisabled?"":Q,n.style[O.scriptName]="translate("+-s+"px, -"+t+"px)",this._animatedDragItems.push(n))},dragLeave:function(){if(this._animatedDragItems)for(var a=0,b=this._animatedDragItems.length;b>a;a++)this._animatedDragItems[a].style[P]=this._site.animationsDisabled?"":Q,this._animatedDragItems[a].style[O.scriptName]="";this._animatedDragItems=[]},_setMaxRowsOrColumns:function(a){a===this._maxRowsOrColumns||this._inListMode||(this._sizes&&this._sizes.containerSizeLoaded&&(this._itemsPerBar=Math.floor(this._sizes.maxItemsContainerContentSize/this._sizes.containerCrossSize),a&&(this._itemsPerBar=Math.min(this._itemsPerBar,a)),this._itemsPerBar=Math.max(1,this._itemsPerBar)),this._maxRowsOrColumns=a,this._invalidateLayout())},_getItemPosition:function(a){if(this._groupsEnabled){var b=Math.min(this._groups.length-1,this._site.groupIndexFromItemIndex(a)),c=this._groups[b],d=a-c.startIndex;return this._getItemPositionForAnimations(a,b,d)}return this._getItemPositionForAnimations(a,0,a)},_getRealizationRange:function(){var a=this._site.realizedRange;return{firstIndex:this._firstItemFromRange(a.firstPixel),lastIndex:this._lastItemFromRange(a.lastPixel)}},_getVisibleRange:function(){var a=this._site.visibleRange;return{firstIndex:this._firstItemFromRange(a.firstPixel),lastIndex:this._lastItemFromRange(a.lastPixel)}},_resetAnimationCaches:function(a){if(!a){this._resetStylesForRecords(this._cachedGroupRecords),this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords),this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords),this._resetStylesForRemovedRecords(this._cachedRemovedItems),this._resetStylesForRemovedRecords(this._cachedRemovedHeaders);for(var b=Object.keys(this._animatingItemsBlocks),c=0,d=b.length;d>c;c++){var e=this._animatingItemsBlocks[b[c]];e.style.overflow="",e.classList.remove(p._clipClass)}}this._cachedGroupRecords={},this._cachedItemRecords={},this._cachedHeaderRecords={},this._cachedInsertedItemRecords={},this._cachedInsertedHeaderRecords={},this._cachedRemovedItems=[],this._cachedRemovedHeaders=[],this._animatingItemsBlocks={}},_cacheRemovedElements:function(a,b,c,d,e){var f="left";this._site.rtl&&(f="right");var g,h;e?(g=this._sizes.headerContainerOuterX,h=this._sizes.headerContainerOuterY):(g=this._sizes.containerMargins[f],h=this._sizes.containerMargins.top);for(var i=0,j=a.length;j>i;i++){var k=a[i];if(-1===k.newIndex){var l=k.element,m=b[k.oldIndex];m&&(m.element=l,delete b[k.oldIndex],l.style.position="absolute",l.style[P]="",l.style.top=m.oldTop-h+"px",l.style[f]=m.oldLeft-g+"px",l.style.width=m.width+"px",l.style.height=m.height+"px",l.style[O.scriptName]="",this._site.surface.appendChild(l),d.push(m)),c[k.oldIndex]&&delete c[k.oldIndex]}}},_cacheInsertedElements:function(a,b,c){for(var d={},e=0,f=a.length;f>e;e++){var g=a[e],h=b[g.oldIndex];if(h&&delete b[g.oldIndex],h||-1===g.oldIndex||g.moved){var i=c[g.newIndex];i&&delete c[g.newIndex];var j=g.element;d[g.newIndex]=j,j.style[P]="",j.style[O.scriptName]="",j.style.opacity=0}}for(var k=Object.keys(b),e=0,f=k.length;f>e;e++)d[k[e]]=b[k[e]];return d},_resetStylesForRecords:function(a){for(var b=Object.keys(a),c=0,d=b.length;d>c;c++){var e=a[b[c]];e.needsToResetTransform&&(e.element.style[O.scriptName]="",e.needsToResetTransform=!1)}},_resetStylesForInsertedRecords:function(a){for(var b=Object.keys(a),c=0,d=b.length;d>c;c++){var e=a[b[c]];e.style.opacity=1}},_resetStylesForRemovedRecords:function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b].element;d.parentNode&&(l._disposeElement(d),d.parentNode.removeChild(d))}},_updateAnimationCache:function(a,b){function c(a,b){for(var c={},e=0,f=a.length;f>e;e++){var g=a[e],h=b[g.oldIndex];h&&(c[g.newIndex]=h,h.element=g.element,delete b[g.oldIndex])}for(var i=Object.keys(b),e=0,f=i.length;f>e;e++){var j=i[e],k=b[j];k.element&&!d[I(k.element)]||(c[j]=k)}return c}this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords),this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords);for(var d={},e=this._getRealizationRange(),f=this._site.tree,g=0,h=0,i=f.length;i>g;g++)A(f[g].itemsContainer,function(a){e.firstIndex<=h&&e.lastIndex>=h&&(d[I(a)]=!0),h++});this._cachedItemRecords=c(a,this._cachedItemRecords),this._cachedHeaderRecords=c(b,this._cachedHeaderRecords),this._cachedInsertedItemRecords=this._cacheInsertedElements(a,this._cachedInsertedItemRecords,this._cachedItemRecords),this._cachedInsertedHeaderRecords=this._cacheInsertedElements(b,this._cachedInsertedHeaderRecords,this._cachedHeaderRecords)},_filterRemovedElements:function(){function a(a,g){for(var h=0,i=a.length;i>h;h++){var j=a[h],k=j.element;j[c]+j[d]-1f||!b._site.viewport.contains(k)?k.parentNode&&(l._disposeElement(k),k.parentNode.removeChild(k)):g.push(k)}}if(this._removedElements=[],this._site.animationsDisabled)return this._resetStylesForRemovedRecords(this._cachedRemovedItems),void this._resetStylesForRemovedRecords(this._cachedRemovedHeaders);var b=this,c="horizontal"===this.orientation?"oldLeft":"oldTop",d="horizontal"===this.orientation?"width":"height",e=this._site.scrollbarPos,f=e+this._site.viewportSize[d]-1;a(this._cachedRemovedItems,this._removedElements),a(this._cachedRemovedHeaders,this._removedElements)},_filterInsertedElements:function(){function a(a,d){for(var e=Object.keys(a),f=0,g=e.length;g>f;f++){var h=e[f],i=a[h];hc.lastIndex||b._site.viewport.contains(i.element)?i.style.opacity=1:d.push(i)}}if(this._insertedElements=[],this._site.animationsDisabled)return this._resetStylesForInsertedRecords(this._cachedInsertedItemRecords),void this._resetStylesForInsertedRecords(this._cachedInsertedHeaderRecords);var b=this,c=this._getVisibleRange();a(this._cachedInsertedItemRecords,this._insertedElements),a(this._cachedInsertedHeaderRecords,this._insertedElements)},_filterMovedElements:function(){var a=this,b="horizontal"===this.orientation?"oldLeft":"oldTop",c="horizontal"===this.orientation?"left":"top",d="horizontal"===this.orientation?"width":"height",e=this._getRealizationRange(),f=this._site.scrollbarPos,g=f+this._site.viewportSize[d]-1;if(this._itemMoveRecords=[],this._moveRecords=[],!this._site.animationsDisabled)for(var h=this._site.tree,i=0,j=0,k=h.length;k>j;j++){var l=h[j],m=!1;A(l.itemsContainer,function(){if(e.firstIndex<=i&&e.lastIndex>=i){var h=this._cachedItemRecords[i];if(h){var j=(h[b]+h[d]-1>=f&&h[b]<=g||h[c]+h[d]-1>=f&&h[c]<=g)&&a._site.viewport.contains(h.element);j&&(m=!0,h.needsToResetTransform&&(this._itemMoveRecords.push(h),delete this._cachedItemRecords[i]))}}i++}.bind(this));var n=j,o=this._cachedHeaderRecords[n];o&&m&&o.needsToResetTransform&&(this._moveRecords.push(o),delete this._cachedHeaderRecords[n]);var p=this._cachedGroupRecords[I(l.itemsContainer.element)];p&&m&&p.needsToResetTransform&&(this._moveRecords.push(p),delete this._cachedGroupRecords[I(l.itemsContainer.element)])}this._resetStylesForRecords(this._cachedGroupRecords),this._resetStylesForRecords(this._cachedItemRecords),this._resetStylesForRecords(this._cachedHeaderRecords)},_getItemPositionForAnimations:function(a,b,c){var d=this._groups[b],e=d.getItemPositionForAnimations(c),f=this._groups[b]?this._groups[b].offset:0,g=this._groupsEnabled&&this._groupHeaderPosition===U.left?this._sizes.headerContainerWidth:0,h=this._groupsEnabled&&this._groupHeaderPosition===U.top?this._sizes.headerContainerHeight:0;return e.left+=this._sizes.layoutOriginX+g+this._sizes.itemsContainerOuterX,e.top+=this._sizes.layoutOriginY+h+this._sizes.itemsContainerOuterY,e[this._horizontal?"left":"top"]+=f,e},_getHeaderPositionForAnimations:function(a){var b;if(this._groupsEnabled){var c=this._sizes.headerContainerWidth-this._sizes.headerContainerOuterWidth,d=this._sizes.headerContainerHeight-this._sizes.headerContainerOuterHeight;this._groupHeaderPosition!==U.left||this._horizontal?this._groupHeaderPosition===U.top&&this._horizontal&&(c=this._groups[a].getItemsContainerSize()-this._sizes.headerContainerOuterWidth):d=this._groups[a].getItemsContainerSize()-this._sizes.headerContainerOuterHeight;var e=this._horizontal?this._groups[a].offset:0,f=this._horizontal?0:this._groups[a].offset;b={top:this._sizes.layoutOriginY+f+this._sizes.headerContainerOuterY,left:this._sizes.layoutOriginX+e+this._sizes.headerContainerOuterX,height:d,width:c}}else b={top:0,left:0,height:0,width:0};return b},_rangeContainsItems:function(a,b){if(0===this._groups.length)return!1;var c=this._groups[this._groups.length-1],d=this._sizes.layoutOrigin+c.offset+this._getGroupSize(c)-1;return b>=0&&d>=a},_itemFromOffset:function(a,b){function c(a){if(!b.wholeItem){var c=e._horizontal?e._site.rtl?"right":"left":"top",d=e._horizontal?e._site.rtl?"left":"right":"bottom";return b.last?a-e._sizes.containerMargins[c]:a+e._sizes.containerMargins[d]}return a}function d(a){return b.last?a-e._getHeaderSizeGroupAdjustment()-e._sizes.itemsContainerOuterStart:a}var e=this;if(0===this._groups.length)return 0;b=b||{},a-=this._sizes.layoutOrigin,a=c(a);var f=this._groupFromOffset(d(a)),g=this._groups[f];return a-=g.offset,a-=this._getHeaderSizeGroupAdjustment(),g.startIndex+g.itemFromOffset(a,b)},_firstItemFromRange:function(a,b){return b=b||{},b.last=0,this._itemFromOffset(a,b)},_lastItemFromRange:function(a,b){return b=b||{},b.last=1,this._itemFromOffset(a,b)},_adjustedKeyForRTL:function(a){return this._site.rtl&&(a===H.leftArrow?a=H.rightArrow:a===H.rightArrow&&(a=H.leftArrow)),a},_adjustedKeyForOrientationAndBars:function(a,b){var c=a;if(b)return a;if(!this._horizontal)switch(c){case H.leftArrow:c=H.upArrow;break;case H.rightArrow:c=H.downArrow;break;case H.upArrow:c=H.leftArrow;break;case H.downArrow:c=H.rightArrow}return 1===this._itemsPerBar&&(c===H.upArrow?c=H.leftArrow:c===H.downArrow&&(c=H.rightArrow)),c},_getAdjacentForPageKeys:function(a,b){var c,d=this._sizes.containerMargins,e="horizontal"===this.orientation?d.left+d.right:d.top+d.bottom,f=this._site.viewportSize["horizontal"===this.orientation?"width":"height"],g=this._site.scrollbarPos,h=g+f-1-d["horizontal"===this.orientation?"right":"bottom"],i=this._firstItemFromRange(g,{wholeItem:!0}),j=this._lastItemFromRange(h,{wholeItem:!1}),k=this._getItemPosition(a.index),l=!1;if((a.indexj)&&(l=!0,g="horizontal"===this.orientation?k.left-e:k.top-e,h=g+f-1,i=this._firstItemFromRange(g,{wholeItem:!0}),j=this._lastItemFromRange(h,{wholeItem:!1})),b===H.pageUp){if(!l&&i!==a.index)return{type:o.ObjectType.item,index:i};var m;m="horizontal"===this.orientation?k.left+k.width+e+d.left:k.top+k.height+e+d.bottom;var n=this._firstItemFromRange(m-f,{wholeItem:!0});c=a.index===n?Math.max(0,a.index-this._itemsPerBar):n}else{if(!l&&j!==a.index)return{type:o.ObjectType.item,index:j};var p;p="horizontal"===this.orientation?k.left-e-d.right:k.top-e-d.bottom;var q=Math.max(0,this._lastItemFromRange(p+f-1,{wholeItem:!0}));c=a.index===q?a.index+this._itemsPerBar:q}return{type:o.ObjectType.item,index:c}},_isCellSpanning:function(a){var b=this._site.groupFromIndex(a),c=this._groupInfo;return c?!!("function"==typeof c?c(b):c).enableCellSpanning:!1},_getGroupInfo:function(a){var b=this._site.groupFromIndex(a),c=this._groupInfo,d=this._sizes.containerMargins,f={enableCellSpanning:!1};if(c="function"==typeof c?c(b):c){if(c.enableCellSpanning&&(+c.cellWidth!==c.cellWidth||+c.cellHeight!==c.cellHeight))throw new e("WinJS.UI.GridLayout.GroupInfoResultIsInvalid",J.groupInfoResultIsInvalid);f={enableCellSpanning:!!c.enableCellSpanning,cellWidth:c.cellWidth+d.left+d.right,cellHeight:c.cellHeight+d.top+d.bottom}}return f},_getItemInfo:function(a){var b;if(this._itemInfo&&"function"==typeof this._itemInfo)b=this._itemInfo(a);else{if(!this._useDefaultItemInfo)throw new e("WinJS.UI.GridLayout.ItemInfoIsInvalid",J.itemInfoIsInvalid);b=this._defaultItemInfo(a)}return i.as(b).then(function(a){if(!a||+a.width!==a.width||+a.height!==a.height)throw new e("WinJS.UI.GridLayout.ItemInfoIsInvalid",J.itemInfoIsInvalid);return a})},_defaultItemInfo:function(a){var b=this;return this._site.renderItem(this._site.itemFromIndex(a)).then(function(c){return b._elementsToMeasure[a]={element:c},b._measureElements()}).then(function(){var c=b._elementsToMeasure[a],d={width:c.width,height:c.height};return delete b._elementsToMeasure[a],d},function(c){return delete b._elementsToMeasure[a],i.wrapError(c)})},_getGroupSize:function(a){var b=0;return this._groupsEnabled&&(this._horizontal&&this._groupHeaderPosition===U.top?b=this._sizes.headerContainerMinWidth:this._horizontal||this._groupHeaderPosition!==U.left||(b=this._sizes.headerContainerMinHeight)),Math.max(b,a.getItemsContainerSize()+this._getHeaderSizeGroupAdjustment())},_groupFromOffset:function(a){return ab)return null;var d=a+Math.floor((b-a)/2),e=this._groups[d];return c(e,d)?this._groupFromImpl(a,d-1,c):b>d&&!c(this._groups[d+1],d+1)?this._groupFromImpl(d+1,b,c):d},_groupFrom:function(a){if(this._groups.length>0){var b=this._groups.length-1,c=this._groups[b];return a(c,b)?this._groupFromImpl(0,this._groups.length-1,a):b}return null},_invalidateLayout:function(){this._site&&this._site.invalidateLayout()},_resetMeasurements:function(){this._measuringPromise&&(this._measuringPromise.cancel(),this._measuringPromise=null),this._containerSizeClassName&&(m.removeClass(this._site.surface,this._containerSizeClassName),u(this._containerSizeClassName),this._containerSizeClassName=null),this._sizes=null,this._resetAnimationCaches()},_measureElements:function(){if(!this._measuringElements){var a=this;a._measuringElements=j.schedulePromiseHigh(null,"WinJS.UI.GridLayout._measuringElements").then(function(){a._site._writeProfilerMark("_measureElements,StartTM");var c=a._createMeasuringSurface(),d=b.document.createElement("div"),e=a._site,f=a._measuringElements,g=a._elementsToMeasure,h=!1;d.className=p._itemsContainerClass+" "+p._laidOutClass,d.style.cssText+=";display: -ms-grid;-ms-grid-column: 1;-ms-grid-row: 1";var i,j,k=Object.keys(g);for(j=0,i=k.length;i>j;j++){var l=g[k[j]].element;l.style["-ms-grid-column"]=j+1,l.style["-ms-grid-row"]=j+1,d.appendChild(l)}for(c.appendChild(d),e.viewport.insertBefore(c,e.viewport.firstChild),f.then(null,function(){h=!0}),j=0,i=k.length;i>j&&!h;j++){var n=g[k[j]],o=n.element.querySelector("."+p._itemClass);n.width=m.getTotalWidth(o),n.height=m.getTotalHeight(o)}c.parentNode&&c.parentNode.removeChild(c),f===a._measuringElements&&(a._measuringElements=null),e._writeProfilerMark("_measureElements,StopTM")},function(b){return a._measuringElements=null,i.wrapError(b)})}return this._measuringElements},_ensureEnvInfo:function(){return this._envInfo||(this._envInfo=E(this._site),this._envInfo&&!this._envInfo.supportsCSSGrid&&m.addClass(this._site.surface,p._noCSSGrid)),!!this._envInfo},_createMeasuringSurface:function(){var a=b.document.createElement("div");return a.style.cssText="visibility: hidden;-ms-grid-columns: auto;-ms-grid-rows: auto;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start",a.className=p._scrollableClass+" "+(this._inListMode?p._listLayoutClass:p._gridLayoutClass),this._envInfo.supportsCSSGrid||m.addClass(a,p._noCSSGrid),this._groupsEnabled&&(this._groupHeaderPosition===U.top?m.addClass(a,p._headerPositionTopClass):m.addClass(a,p._headerPositionLeftClass)),a},_measureItem:function(a){function c(a,e){var e,h=!!e,j={},k=f.rtl?"right":"left";return f.itemCount.then(function(b){return!b||d._groupsEnabled&&!f.groupCount?i.cancel:(e=e||f.itemFromIndex(a),j.container=f.renderItem(e),d._groupsEnabled&&(j.headerContainer=f.renderHeader(d._site.groupFromIndex(f.groupIndexFromItemIndex(a)))),i.join(j))}).then(function(j){function l(){var a=d._horizontal,b=d._groupsEnabled,c=!1;g.then(null,function(){c=!0});var e=G(C),h=f.rtl?f.viewport.offsetWidth-(C.offsetLeft+C.offsetWidth):C.offsetLeft,i=C.offsetTop,l={viewportContentSize:0,surfaceContentSize:0,maxItemsContainerContentSize:0,surfaceOuterHeight:y(o),surfaceOuterWidth:z(o),layoutOriginX:h-e[k],layoutOriginY:i-e.top,itemsContainerOuterHeight:y(q),itemsContainerOuterWidth:z(q),itemsContainerOuterX:x(f.rtl?"Right":"Left",q),itemsContainerOuterY:x("Top",q),itemsContainerMargins:G(q),itemBoxOuterHeight:y(s),itemBoxOuterWidth:z(s),containerOuterHeight:y(j.container),containerOuterWidth:z(j.container),emptyContainerContentHeight:m.getContentHeight(r),emptyContainerContentWidth:m.getContentWidth(r),containerMargins:G(j.container),containerWidth:0,containerHeight:0,containerSizeLoaded:!1};f.header&&(l[a?"layoutOriginX":"layoutOriginY"]+=m[a?"getTotalWidth":"getTotalHeight"](f.header)),b&&(l.headerContainerOuterX=x(f.rtl?"Right":"Left",j.headerContainer),l.headerContainerOuterY=x("Top",j.headerContainer),l.headerContainerOuterWidth=z(j.headerContainer),l.headerContainerOuterHeight=y(j.headerContainer),l.headerContainerWidth=m.getTotalWidth(j.headerContainer),l.headerContainerHeight=m.getTotalHeight(j.headerContainer),l.headerContainerMinWidth=w(j.headerContainer,"minWidth")+l.headerContainerOuterWidth,l.headerContainerMinHeight=w(j.headerContainer,"minHeight")+l.headerContainerOuterHeight);var n={sizes:l,viewportContentWidth:m.getContentWidth(f.viewport),viewportContentHeight:m.getContentHeight(f.viewport),containerContentWidth:m.getContentWidth(j.container),containerContentHeight:m.getContentHeight(j.container),containerWidth:m.getTotalWidth(j.container),containerHeight:m.getTotalHeight(j.container)};return n.viewportCrossSize=n[a?"viewportContentHeight":"viewportContentWidth"],f.readyToMeasure(),c?null:n}function n(){o.parentNode&&o.parentNode.removeChild(o)}var o=d._createMeasuringSurface(),q=b.document.createElement("div"),r=b.document.createElement("div"),s=j.container.querySelector("."+p._itemBoxClass),t=f.groupIndexFromItemIndex(a);r.className=p._containerClass,q.className=p._itemsContainerClass+" "+p._laidOutClass;var u=1,v=1,A=2,B=2,C=q,D=!1;d._inListMode&&d._groupsEnabled&&(d._horizontal&&d._groupHeaderPosition===U.top?(u=2,B=1,A=1,C=j.headerContainer,D=!0):d._horizontal||d._groupHeaderPosition!==U.left||(v=2,B=1,A=1,C=j.headerContainer,D=!0)),q.style.cssText+=";display: "+(d._inListMode?(d._horizontal?"flex":"block")+"; overflow: hidden":"inline-block")+";vertical-align:top;-ms-grid-column: "+v+";-ms-grid-row: "+u,d._inListMode||(j.container.style.display="inline-block"),d._groupsEnabled&&(j.headerContainer.style.cssText+=";display: inline-block;-ms-grid-column: "+B+";-ms-grid-row: "+A,m.addClass(j.headerContainer,p._laidOutClass+" "+p._groupLeaderClass),(d._groupHeaderPosition===U.top&&d._horizontal||d._groupHeaderPosition===U.left&&!d._horizontal)&&m.addClass(q,p._groupLeaderClass)),D&&o.appendChild(j.headerContainer),q.appendChild(j.container),q.appendChild(r),o.appendChild(q),!D&&d._groupsEnabled&&o.appendChild(j.headerContainer),f.viewport.insertBefore(o,f.viewport.firstChild);var E=l();if(!E)return n(),i.cancel;if(d._horizontal&&0===E.viewportContentHeight||!d._horizontal&&0===E.viewportContentWidth)return n(),i.cancel;if(!(h||d._isCellSpanning(t)||0!==E.containerContentWidth&&0!==E.containerContentHeight))return n(),e.then(function(){return c(a,e)});var F=d._sizes=E.sizes;if(Object.defineProperties(F,{surfaceOuterCrossSize:{get:function(){return d._horizontal?F.surfaceOuterHeight:F.surfaceOuterWidth},enumerable:!0},layoutOrigin:{get:function(){return d._horizontal?F.layoutOriginX:F.layoutOriginY},enumerable:!0},itemsContainerOuterSize:{get:function(){return d._horizontal?F.itemsContainerOuterWidth:F.itemsContainerOuterHeight},enumerable:!0},itemsContainerOuterCrossSize:{get:function(){return d._horizontal?F.itemsContainerOuterHeight:F.itemsContainerOuterWidth},enumerable:!0},itemsContainerOuterStart:{get:function(){return d._horizontal?F.itemsContainerOuterX:F.itemsContainerOuterY},enumerable:!0},itemsContainerOuterCrossStart:{get:function(){return d._horizontal?F.itemsContainerOuterY:F.itemsContainerOuterX},enumerable:!0},containerCrossSize:{get:function(){return d._horizontal?F.containerHeight:F.containerWidth},enumerable:!0},containerSize:{get:function(){return d._horizontal?F.containerWidth:F.containerHeight},enumerable:!0}}),!d._isCellSpanning(t)){if(d._inListMode){var H=E.viewportCrossSize-F.surfaceOuterCrossSize-d._getHeaderSizeContentAdjustment()-F.itemsContainerOuterCrossSize;d._horizontal?(F.containerHeight=H,F.containerWidth=E.containerWidth):(F.containerHeight=E.containerHeight,F.containerWidth=H)}else F.containerWidth=E.containerWidth,F.containerHeight=E.containerHeight;F.containerSizeLoaded=!0}d._createContainerStyleRule(),d._viewportSizeChanged(E.viewportCrossSize),n()})}var d=this,e="Layout:measureItem",f=d._site,g=d._measuringPromise;if(!g){f._writeProfilerMark(e+",StartTM");var h=new k;d._measuringPromise=g=h.promise.then(function(){return d._ensureEnvInfo()?c(a):i.cancel}).then(function(){f._writeProfilerMark(e+":complete,info"),f._writeProfilerMark(e+",StopTM")},function(a){return d._measuringPromise=null,f._writeProfilerMark(e+":canceled,info"),f._writeProfilerMark(e+",StopTM"),i.wrapError(a)}),h.complete()}return g},_getHeaderSizeGroupAdjustment:function(){if(this._groupsEnabled){if(this._horizontal&&this._groupHeaderPosition===U.left)return this._sizes.headerContainerWidth;if(!this._horizontal&&this._groupHeaderPosition===U.top)return this._sizes.headerContainerHeight}return 0},_getHeaderSizeContentAdjustment:function(){if(this._groupsEnabled){if(this._horizontal&&this._groupHeaderPosition===U.top)return this._sizes.headerContainerHeight;if(!this._horizontal&&this._groupHeaderPosition===U.left)return this._sizes.headerContainerWidth}return 0},_getViewportCrossSize:function(){return this._site.viewportSize[this._horizontal?"height":"width"]},_viewportSizeChanged:function(a){var b=this._sizes;b.viewportContentSize=a,b.surfaceContentSize=a-b.surfaceOuterCrossSize,b.maxItemsContainerContentSize=b.surfaceContentSize-b.itemsContainerOuterCrossSize-this._getHeaderSizeContentAdjustment(),b.containerSizeLoaded&&!this._inListMode?(this._itemsPerBar=Math.floor(b.maxItemsContainerContentSize/b.containerCrossSize),this.maximumRowsOrColumns&&(this._itemsPerBar=Math.min(this._itemsPerBar,this.maximumRowsOrColumns)),this._itemsPerBar=Math.max(1,this._itemsPerBar)):(this._inListMode&&(b[this._horizontal?"containerHeight":"containerWidth"]=b.maxItemsContainerContentSize),this._itemsPerBar=1),this._resetAnimationCaches()},_createContainerStyleRule:function(){var a=this._sizes;if(!this._containerSizeClassName&&a.containerSizeLoaded&&(0===a.emptyContainerContentHeight||0===a.emptyContainerContentWidth)){var b=a.containerWidth-a.containerOuterWidth+"px",c=a.containerHeight-a.containerOuterHeight+"px";this._inListMode&&(this._horizontal?c="calc(100% - "+(a.containerMargins.top+a.containerMargins.bottom)+"px)":b="auto"),this._containerSizeClassName||(this._containerSizeClassName=r("containersize"),m.addClass(this._site.surface,this._containerSizeClassName));var d="."+p._containerClass,e="width:"+b+";height:"+c+";";t(this._containerSizeClassName,this._site,d,e)}},_ensureContainerSize:function(a){var b=this._sizes;if(b.containerSizeLoaded||this._ensuringContainerSize)return this._ensuringContainerSize?this._ensuringContainerSize:i.wrap();var c;if(this._itemInfo&&"function"==typeof this._itemInfo||!this._useDefaultItemInfo)c=this._getItemInfo();else{var d=b.containerMargins;c=i.wrap({width:a.groupInfo.cellWidth-d.left-d.right,height:a.groupInfo.cellHeight-d.top-d.bottom})}var e=this;return this._ensuringContainerSize=c.then(function(a){b.containerSizeLoaded=!0,b.containerWidth=a.width+b.itemBoxOuterWidth+b.containerOuterWidth,b.containerHeight=a.height+b.itemBoxOuterHeight+b.containerOuterHeight,e._inListMode?e._itemsPerBar=1:(e._itemsPerBar=Math.floor(b.maxItemsContainerContentSize/b.containerCrossSize),e.maximumRowsOrColumns&&(e._itemsPerBar=Math.min(e._itemsPerBar,e.maximumRowsOrColumns)),e._itemsPerBar=Math.max(1,e._itemsPerBar)),e._createContainerStyleRule()}),c.done(function(){e._ensuringContainerSize=null},function(){e._ensuringContainerSize=null}),c},_indexToCoordinate:function(a,b){b=b||this._itemsPerBar;var c=Math.floor(a/b);return this._horizontal?{column:c,row:a-c*b}:{row:c,column:a-c*b}},_rangeForGroup:function(a,b){var c=a.startIndex,d=c+a.count-1;return!b||b.firstIndex>d||b.lastIndexb;b++)a[b].header.style.maxWidth="",m.removeClass(a[b].itemsContainer.element,p._groupLeaderClass);else this._site.surface.style.msGridRows="";else if(this._oldGroupHeaderPosition===U.left){if(m.removeClass(this._site.surface,p._headerPositionLeftClass),!this._horizontal)for(b=0;c>b;b++)a[b].header.style.maxHeight="",m.removeClass(a[b].itemsContainer.element,p._groupLeaderClass);this._site.surface.style.msGridColumns=""}if(this._groupHeaderPosition===U.top){if(m.addClass(this._site.surface,p._headerPositionTopClass),this._horizontal)for(b=0;c>b;b++)m.addClass(a[b].itemsContainer.element,p._groupLeaderClass)}else if(m.addClass(this._site.surface,p._headerPositionLeftClass),!this._horizontal)for(b=0;c>b;b++)m.addClass(a[b].itemsContainer.element,p._groupLeaderClass);this._oldGroupHeaderPosition=this._groupHeaderPosition}},_layoutGroup:function(a){var b=this._groups[a],c=this._site.tree[a],d=c.header,e=c.itemsContainer.element,f=this._sizes,g=b.getItemsContainerCrossSize();if(this._groupsEnabled){if(this._horizontal)if(this._groupHeaderPosition===U.top){var h=f.headerContainerMinWidth-f.headerContainerOuterWidth,i=b.getItemsContainerSize()-f.headerContainerOuterWidth;d.style.maxWidth=Math.max(h,i)+"px",this._envInfo.supportsCSSGrid?(d.style.msGridColumn=a+1,e.style.msGridColumn=a+1):(d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px",e.style.height=g-f.itemsContainerOuterHeight+"px",e.style.marginBottom=f.itemsContainerMargins.bottom+(f.maxItemsContainerContentSize-g+f.itemsContainerOuterHeight)+"px"),m.addClass(e,p._groupLeaderClass)}else this._envInfo.supportsCSSGrid?(d.style.msGridColumn=2*a+1,e.style.msGridColumn=2*a+2):(d.style.width=f.headerContainerWidth-f.headerContainerOuterWidth+"px",d.style.height=g-f.headerContainerOuterHeight+"px",e.style.height=g-f.itemsContainerOuterHeight+"px");else if(this._groupHeaderPosition===U.left){var j=f.headerContainerMinHeight-f.headerContainerOuterHeight,k=b.getItemsContainerSize()-f.headerContainerOuterHeight;d.style.maxHeight=Math.max(j,k)+"px",this._envInfo.supportsCSSGrid?(d.style.msGridRow=a+1,e.style.msGridRow=a+1):(d.style.width=f.headerContainerWidth-f.headerContainerOuterWidth+"px",e.style.width=g-f.itemsContainerOuterWidth+"px",e.style["margin"+(this._site.rtl?"Left":"Right")]=f.itemsContainerMargins[this._site.rtl?"left":"right"]+(f.maxItemsContainerContentSize-g+f.itemsContainerOuterWidth)+"px"),m.addClass(e,p._groupLeaderClass)}else d.style.msGridRow=2*a+1,this._inListMode?d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px":this._envInfo.supportsCSSGrid?e.style.msGridRow=2*a+2:(d.style.height=f.headerContainerHeight-f.headerContainerOuterHeight+"px",d.style.width=g-f.headerContainerOuterWidth+"px",e.style.width=g-f.itemsContainerOuterWidth+"px");m.addClass(d,p._laidOutClass+" "+p._groupLeaderClass)}m.addClass(e,p._laidOutClass)}},{_barsPerItemsBlock:4})}),_LegacyLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LayoutCommon,null,{disableBackdrop:{get:function(){return this._backdropDisabled||!1},set:function(a){if(m._deprecated(q.disableBackdropIsDeprecated),a=!!a,this._backdropDisabled!==a&&(this._backdropDisabled=a,this._disableBackdropClassName&&(u(this._disableBackdropClassName),this._site&&m.removeClass(this._site.surface,this._disableBackdropClassName),this._disableBackdropClassName=null),this._disableBackdropClassName=r("disablebackdrop"),this._site&&m.addClass(this._site.surface,this._disableBackdropClassName),a)){var b=".win-container.win-backdrop",c="background-color:transparent;";t(this._disableBackdropClassName,this._site,b,c)}}},backdropColor:{get:function(){return this._backdropColor||"rgba(155,155,155,0.23)"},set:function(a){if(m._deprecated(q.backdropColorIsDeprecated),a&&this._backdropColor!==a){this._backdropColor=a,this._backdropColorClassName&&(u(this._backdropColorClassName),this._site&&m.removeClass(this._site.surface,this._backdropColorClassName),this._backdropColorClassName=null),this._backdropColorClassName=r("backdropcolor"),this._site&&m.addClass(this._site.surface,this._backdropColorClassName);var b=".win-container.win-backdrop",c="background-color:"+a+";";t(this._backdropColorClassName,this._site,b,c)}}}})}),GridLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LegacyLayout,function(a){a=a||{},this.itemInfo=a.itemInfo,this.groupInfo=a.groupInfo,this._maxRowsOrColumns=0,this._useDefaultItemInfo=!0,this._elementsToMeasure={},this._groupHeaderPosition=a.groupHeaderPosition||U.top,this.orientation=a.orientation||"horizontal",a.maxRows&&(this.maxRows=+a.maxRows),a.maximumRowsOrColumns&&(this.maximumRowsOrColumns=+a.maximumRowsOrColumns)},{maximumRowsOrColumns:{get:function(){return this._maxRowsOrColumns},set:function(a){this._setMaxRowsOrColumns(a)}},maxRows:{get:function(){return this.maximumRowsOrColumns},set:function(a){m._deprecated(q.maxRowsIsDeprecated),this.maximumRowsOrColumns=a}},itemInfo:{enumerable:!0,get:function(){return this._itemInfo},set:function(a){a&&m._deprecated(q.itemInfoIsDeprecated),this._itemInfo=a,this._invalidateLayout()}},groupInfo:{enumerable:!0,get:function(){return this._groupInfo},set:function(a){a&&m._deprecated(q.groupInfoIsDeprecated),this._groupInfo=a,this._invalidateLayout()}}})})});var T=c.Namespace.defineWithParent(null,null,{UniformGroupBase:c.Namespace._lazy(function(){return c.Class.define(null,{cleanUp:function(){},itemFromOffset:function(a,b){b=b||{};var c=this._layout._sizes;a-=c.itemsContainerOuterStart,b.wholeItem&&(a+=(b.last?-1:1)*(c.containerSize-1));var d=this.count-1,e=Math.floor(d/this._layout._itemsPerBar),f=v(0,e,Math.floor(a/c.containerSize)),g=(f+b.last)*this._layout._itemsPerBar-b.last;return v(0,this.count-1,g)},hitTest:function(a,b){var c=this._layout._horizontal,d=this._layout._itemsPerBar,e=this._layout._inListMode||1===d,f=c?a:b,g=c?b:a,h=this._layout._sizes;f-=h.itemsContainerOuterStart,g-=h.itemsContainerOuterCrossStart;var i,j=Math.floor(f/h.containerSize),k=v(0,d-1,Math.floor(g/h.containerCrossSize)),l=Math.max(-1,j*d+k);if(i=!c&&e||c&&!e?(b-h.containerHeight/2)/h.containerHeight:(a-h.containerWidth/2)/h.containerWidth,e)return i=Math.floor(i), +{index:l,insertAfterIndex:i>=0&&l>=0?i:-1};i=v(-1,d-1,i);var m;return m=0>i?j*d-1:j*d+Math.floor(i),{index:v(-1,this.count-1,l),insertAfterIndex:v(-1,this.count-1,m)}},getAdjacent:function(a,b){var c,d=a.index,e=Math.floor(d/this._layout._itemsPerBar),f=d%this._layout._itemsPerBar;switch(b){case H.upArrow:c=0===f?"boundary":d-1;break;case H.downArrow:var g=d===this.count-1,h=this._layout._itemsPerBar>1&&f===this._layout._itemsPerBar-1;c=g||h?"boundary":d+1;break;case H.leftArrow:c=0===e&&this._layout._itemsPerBar>1?"boundary":d-this._layout._itemsPerBar;break;case H.rightArrow:var i=this.count-1,j=Math.floor(i/this._layout._itemsPerBar);c=e===j?"boundary":Math.min(d+this._layout._itemsPerBar,this.count-1)}return"boundary"===c?c:{type:o.ObjectType.item,index:c}},getItemsContainerSize:function(){var a=this._layout._sizes,b=Math.ceil(this.count/this._layout._itemsPerBar);return b*a.containerSize+a.itemsContainerOuterSize},getItemsContainerCrossSize:function(){var a=this._layout._sizes;return this._layout._itemsPerBar*a.containerCrossSize+a.itemsContainerOuterCrossSize},getItemPositionForAnimations:function(a){var b=this._layout._sizes,c=this._layout._site.rtl?"right":"left",d=this._layout._sizes.containerMargins,e=this._layout._indexToCoordinate(a),f={row:e.row,column:e.column,top:d.top+e.row*b.containerHeight,left:d[c]+e.column*b.containerWidth,height:b.containerHeight-b.containerMargins.top-b.containerMargins.bottom,width:b.containerWidth-b.containerMargins.left-b.containerMargins.right};return f}})}),UniformGroup:c.Namespace._lazy(function(){return c.Class.derive(T.UniformGroupBase,function(a,b){this._layout=a,this._itemsContainer=b,m.addClass(this._itemsContainer,a._inListMode?p._uniformListLayoutClass:p._uniformGridLayoutClass)},{cleanUp:function(a){a||(m.removeClass(this._itemsContainer,p._uniformGridLayoutClass),m.removeClass(this._itemsContainer,p._uniformListLayoutClass),this._itemsContainer.style.height=this._itemsContainer.style.width=""),this._itemsContainer=null,this._layout=null,this.groupInfo=null,this.startIndex=null,this.offset=null,this.count=null},prepareLayout:function(a,b,c,d){return this.groupInfo=d.groupInfo,this.startIndex=d.startIndex,this.count=a,this._layout._ensureContainerSize(this)},layoutRealizedRange:function(){var a=this._layout._sizes;this._itemsContainer.style[this._layout._horizontal?"width":"height"]=this.getItemsContainerSize()-a.itemsContainerOuterSize+"px",this._itemsContainer.style[this._layout._horizontal?"height":"width"]=this._layout._inListMode?a.maxItemsContainerContentSize+"px":this._layout._itemsPerBar*a.containerCrossSize+"px"},layoutUnrealizedRange:function(){return i.wrap()}})}),UniformFlowGroup:c.Namespace._lazy(function(){return c.Class.derive(T.UniformGroupBase,function(a,b){this._layout=a,this._itemsContainer=b.element,m.addClass(this._itemsContainer,a._inListMode?p._uniformListLayoutClass:p._uniformGridLayoutClass)},{cleanUp:function(a){a||(m.removeClass(this._itemsContainer,p._uniformListLayoutClass),m.removeClass(this._itemsContainer,p._uniformGridLayoutClass),this._itemsContainer.style.height="")},layout:function(){this._layout._site._writeProfilerMark("Layout:_UniformFlowGroup:setItemsContainerHeight,info"),this._itemsContainer.style.height=this.count*this._layout._sizes.containerHeight+"px"}})}),CellSpanningGroup:c.Namespace._lazy(function(){return c.Class.define(function(a,b){this._layout=a,this._itemsContainer=b,m.addClass(this._itemsContainer,p._cellSpanningGridLayoutClass),this.resetMap()},{cleanUp:function(a){a||(this._cleanContainers(),m.removeClass(this._itemsContainer,p._cellSpanningGridLayoutClass),this._itemsContainer.style.cssText=""),this._itemsContainer=null,this._layoutPromise&&(this._layoutPromise.cancel(),this._layoutPromise=null),this.resetMap(),this._slotsPerColumn=null,this._offScreenSlotsPerColumn=null,this._items=null,this._layout=null,this._containersToHide=null,this.groupInfo=null,this.startIndex=null,this.offset=null,this.count=null},prepareLayoutWithCopyOfTree:function(a,b,c,d){var e,f=this;if(this._containersToHide={},b)for(e=b.firstIndex;e<=b.lastIndex;e++)this._containersToHide[I(c._items[e])]=c._items[e];this.groupInfo=d.groupInfo,this.startIndex=d.startIndex,this.count=a.items.length,this._items=a.items,this._slotsPerColumn=Math.floor(this._layout._sizes.maxItemsContainerContentSize/this.groupInfo.cellHeight),this._layout.maximumRowsOrColumns&&(this._slotsPerColumn=Math.min(this._slotsPerColumn,this._layout.maximumRowsOrColumns)),this._slotsPerColumn=Math.max(this._slotsPerColumn,1),this.resetMap();var g=new Array(this.count);for(e=0;e=a&&(e._layoutItem(k),k--,i=!1),l=a;m--){if(b.shouldYield)return void b.setWork(o);e._layoutItem(m)}g()})}else{var m=a;d=h(function p(a){for(;m0))return{type:o.ObjectType.item,index:d};g--;break;case H.downArrow:if(!(i+10?g-this._slotsPerColumn:-1;break;case H.rightArrow:g=j>h?g+this._slotsPerColumn:this.occupancyMap.length}f=g>=0&&g0){for(var e=this.indexFromOffset(a,!1,0),f=Math.min(this._slotsPerColumn-1,Math.floor(b/this.groupInfo.cellHeight)),g=e.index,h=g;f-- >0;)g++,this.occupancyMap[g]&&(h=g);this.occupancyMap[h]||h--,d=this.occupancyMap[h].index}var i=this.getItemSize(d),j=i.column*this.groupInfo.cellWidth,k=i.row*this.groupInfo.cellHeight,l=1===this._slotsPerColumn,m=d;return(l&&aa;a++)b[a].style.cssText="",m.removeClass(b[a],p._laidOutClass)},getColumnCount:function(){return Math.ceil(this.occupancyMap.length/this._slotsPerColumn)},getOccupancyMapItemCount:function(){var a=-1;return this.occupancyMap.forEach(function(b){b.index>a&&(a=b.index)}),a+1},coordinateToIndex:function(a,b){return a*this._slotsPerColumn+b},markSlotAsFull:function(a,b){for(var c=this._layout._indexToCoordinate(a,this._slotsPerColumn),d=c.row+b.rows,e=c.row;d>e&&ef;f++)this.occupancyMap[this.coordinateToIndex(f,e)]=b;this._offScreenSlotsPerColumn=Math.max(this._offScreenSlotsPerColumn,d-this._slotsPerColumn)},isSlotEmpty:function(a,b,c){for(var d=b,e=b+a.rows;e>d;d++)for(var f=c,g=c+a.columns;g>f;f++)if(d>=this._slotsPerColumn||void 0!==this.occupancyMap[this.coordinateToIndex(f,d)])return!1;return!0},findEmptySlot:function(a,b,c){var d=this._layout._indexToCoordinate(a,this._slotsPerColumn),e=d.row,f=Math.floor((this.occupancyMap.length-1)/this._slotsPerColumn);if(c){for(var g=d.column+1;f>=g;g++)if(this.isSlotEmpty(b,0,g))return this.coordinateToIndex(g,0)}else for(var g=d.column;f>=g;g++){for(var h=e;hb;b++){var d=this.occupancyMap[b];if(d&&d.index===a)return b}return b},getItemSize:function(a){var b=this.findItem(a),c=this.occupancyMap[b],d=this._layout._indexToCoordinate(b,this._slotsPerColumn);return a===c.index?{row:d.row,column:d.column,contentWidth:c.contentWidth,contentHeight:c.contentHeight,columns:c.columns,rows:c.rows}:null},resetMap:function(){this.occupancyMap=[],this.lastAdded=0,this._offScreenSlotsPerColumn=0},addItemToMap:function(a,b){function c(a,b){var c=d.findEmptySlot(d.lastAdded,a,b);d.lastAdded=c,d.markSlotAsFull(c,a)}var d=this,e=d.groupInfo,f=d._layout._sizes.containerMargins,g={index:a,contentWidth:b.width,contentHeight:b.height,columns:Math.max(1,Math.ceil((b.width+f.left+f.right)/e.cellWidth)),rows:Math.max(1,Math.ceil((b.height+f.top+f.bottom)/e.cellHeight))};c(g,b.newColumn)},indexFromOffset:function(a,b,c){var d=0,e=0,f=this.groupInfo,g=0;if(this.occupancyMap.length>0){if(e=this.getOccupancyMapItemCount()-1,d=Math.ceil((this.occupancyMap.length-1)/this._slotsPerColumn)*f.cellWidth,d>a){for(var h=this._slotsPerColumn,g=(Math.max(0,Math.floor(a/f.cellWidth))+c)*this._slotsPerColumn-c;!this.occupancyMap[g]&&h-- >0;)g+=c>0?-1:1;return{index:g,item:this.occupancyMap[g].index}}g=this.occupancyMap.length-1}return{index:g,item:e+(Math.max(0,Math.floor((a-d)/f.cellWidth))+c)*this._slotsPerColumn-c}}})})});c.Namespace._moduleDefine(a,"WinJS.UI",{ListLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LegacyLayout,function(a){a=a||{},this._itemInfo={},this._groupInfo={},this._groupHeaderPosition=a.groupHeaderPosition||U.top,this._inListMode=!0,this.orientation=a.orientation||"vertical"},{initialize:function(b,c){m.addClass(b.surface,p._listLayoutClass),a._LegacyLayout.prototype.initialize.call(this,b,c)},uninitialize:function(){this._site&&m.removeClass(this._site.surface,p._listLayoutClass),a._LegacyLayout.prototype.uninitialize.call(this)},layout:function(b,c,d,e){return this._groupsEnabled||this._horizontal?a._LegacyLayout.prototype.layout.call(this,b,c,d,e):this._layoutNonGroupedVerticalList(b,c,d,e)},_layoutNonGroupedVerticalList:function(a,b,c,d){var e=this,f="Layout:_layoutNonGroupedVerticalList";return e._site._writeProfilerMark(f+",StartTM"),this._layoutPromise=e._measureItem(0).then(function(){m[e._usingStructuralNodes?"addClass":"removeClass"](e._site.surface,p._structuralNodesClass),m[e._envInfo.nestedFlexTooLarge||e._envInfo.nestedFlexTooSmall?"addClass":"removeClass"](e._site.surface,p._singleItemsBlockClass),e._sizes.viewportContentSize!==e._getViewportCrossSize()&&e._viewportSizeChanged(e._getViewportCrossSize()),e._cacheRemovedElements(c,e._cachedItemRecords,e._cachedInsertedItemRecords,e._cachedRemovedItems,!1),e._cacheRemovedElements(d,e._cachedHeaderRecords,e._cachedInsertedHeaderRecords,e._cachedRemovedHeaders,!0);var b=a[0].itemsContainer,g=new T.UniformFlowGroup(e,b);e._groups=[g],g.groupInfo={enableCellSpanning:!1},g.startIndex=0,g.count=D(b),g.offset=0,g.layout(),e._site._writeProfilerMark(f+":setSurfaceWidth,info"),e._site.surface.style.width=e._sizes.surfaceContentSize+"px",e._layoutAnimations(c,d),e._site._writeProfilerMark(f+":complete,info"),e._site._writeProfilerMark(f+",StopTM")},function(a){return e._site._writeProfilerMark(f+":canceled,info"),e._site._writeProfilerMark(f+",StopTM"),i.wrapError(a)}),{realizedRangeComplete:this._layoutPromise,layoutComplete:this._layoutPromise}},numberOfItemsPerItemsBlock:{get:function(){var b=this;return this._measureItem(0).then(function(){return b._envInfo.nestedFlexTooLarge||b._envInfo.nestedFlexTooSmall?(b._usingStructuralNodes=!0,Number.MAX_VALUE):(b._usingStructuralNodes=a.ListLayout._numberOfItemsPerItemsBlock>0,a.ListLayout._numberOfItemsPerItemsBlock)})}}},{_numberOfItemsPerItemsBlock:10})}),CellSpanningLayout:c.Namespace._lazy(function(){return c.Class.derive(a._LayoutCommon,function(a){a=a||{},this._itemInfo=a.itemInfo,this._groupInfo=a.groupInfo,this._groupHeaderPosition=a.groupHeaderPosition||U.top,this._horizontal=!0,this._cellSpanning=!0},{maximumRowsOrColumns:{get:function(){return this._maxRowsOrColumns},set:function(a){this._setMaxRowsOrColumns(a)}},itemInfo:{enumerable:!0,get:function(){return this._itemInfo},set:function(a){this._itemInfo=a,this._invalidateLayout()}},groupInfo:{enumerable:!0,get:function(){return this._groupInfo},set:function(a){this._groupInfo=a,this._invalidateLayout()}},orientation:{enumerable:!0,get:function(){return"horizontal"}}})}),_LayoutWrapper:c.Namespace._lazy(function(){return c.Class.define(function(a){this.defaultAnimations=!0,this.initialize=function(b,c){a.initialize(b,c)},this.hitTest=function(b,c){return a.hitTest(b,c)},a.uninitialize&&(this.uninitialize=function(){a.uninitialize()}),"numberOfItemsPerItemsBlock"in a&&Object.defineProperty(this,"numberOfItemsPerItemsBlock",{get:function(){return a.numberOfItemsPerItemsBlock}}),a._getItemPosition&&(this._getItemPosition=function(b){return a._getItemPosition(b)}),a.itemsFromRange&&(this.itemsFromRange=function(b,c){return a.itemsFromRange(b,c)}),a.getAdjacent&&(this.getAdjacent=function(b,c){return a.getAdjacent(b,c)}),a.dragOver&&(this.dragOver=function(b,c,d){return a.dragOver(b,c,d)}),a.dragLeave&&(this.dragLeave=function(){return a.dragLeave()});var b={enumerable:!0,get:function(){return"vertical"}};if(void 0!==a.orientation&&(b.get=function(){return a.orientation},b.set=function(b){a.orientation=b}),Object.defineProperty(this,"orientation",b),(a.setupAnimations||a.executeAnimations)&&(this.defaultAnimations=!1,this.setupAnimations=function(){return a.setupAnimations()},this.executeAnimations=function(){return a.executeAnimations()}),a.layout)if(this.defaultAnimations){var c=this;this.layout=function(b,d,e,f){var g,h=F(a.layout(b,d,[],[]));return h.realizedRangeComplete.then(function(){g=!0}),g&&c._layoutAnimations(e,f),h}}else this.layout=function(b,c,d,e){return F(a.layout(b,c,d,e))}},{uninitialize:function(){},numberOfItemsPerItemsBlock:{get:function(){}},layout:function(a,b,c,d){return this.defaultAnimations&&this._layoutAnimations(c,d),F()},itemsFromRange:function(){return{firstIndex:0,lastIndex:Number.MAX_VALUE}},getAdjacent:function(a,b){switch(b){case H.pageUp:case H.upArrow:case H.leftArrow:return{type:a.type,index:a.index-1};case H.downArrow:case H.rightArrow:case H.pageDown:return{type:a.type,index:a.index+1}}},dragOver:function(){},dragLeave:function(){},setupAnimations:function(){},executeAnimations:function(){},_getItemPosition:function(){},_layoutAnimations:function(){}})})});var U={left:"left",top:"top"};c.Namespace._moduleDefine(a,"WinJS.UI",{HeaderPosition:U,_getMargins:G})}),d("WinJS/Controls/ListView/_VirtualizeContentsView",["exports","../../Core/_Global","../../Core/_Base","../../Core/_BaseUtils","../../Promise","../../_Signal","../../Scheduler","../../Utilities/_Dispose","../../Utilities/_ElementUtilities","../../Utilities/_SafeHtml","../../Utilities/_UI","../ItemContainer/_Constants","../ItemContainer/_ItemEventsHandler","./_Helpers","./_ItemsContainer"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){"use strict";function p(a,b){i._setAttribute(a,"aria-flowto",b.id),i._setAttribute(b,"x-ms-aria-flowfrom",a.id)}c.Namespace._moduleDefine(a,"WinJS.UI",{_VirtualizeContentsView:c.Namespace._lazy(function(){function a(b){for(var c,d=b.job._workItems;d.length&&!b.shouldYield;)(c=d.shift())();b.setWork(a),d.length||b.job.pause()}function q(b,c){var d=g.schedule(a,b,null,c);return d._workItems=[],d.addWork=function(a,b){b?this._workItems.unshift(a):this._workItems.push(a),this.resume()},d.clearWork=function(){this._workItems.length=0},d.dispose=function(){this.cancel(),this._workItems.length=0},d}function r(a){return a._zooming||a._pinching}function s(a,b){return a._isZombie()?e.wrap():r(a)?(+b!==b&&(b=v._waitForSeZoTimeoutDuration),e.timeout(v._waitForSeZoIntervalDuration).then(function(){return b-=v._waitForSeZoIntervalDuration,0>=b?!0:s(a,b)})):e.wrap()}function t(a){if("number"==typeof a){var b=a;a=function(){return{position:b,direction:"right"}}}return a}function u(){}var v=c.Class.define(function(a){this._listView=a,this._forceRelayout=!1,this.maxLeadingPages=d._isiOS?v._iOSMaxLeadingPages:v._defaultPagesToPrefetch,this.maxTrailingPages=d._isiOS?v._iOSMaxTrailingPages:v._defaultPagesToPrefetch,this.items=new o._ItemsContainer(a),this.firstIndexDisplayed=-1,this.lastIndexDisplayed=-1,this.begin=0,this.end=0,this._realizePass=1,this._firstLayoutPass=!0,this._runningAnimations=null,this._renderCompletePromise=e.wrap(),this._state=new w(this),this._createLayoutSignal(),this._createTreeBuildingSignal(),this._layoutWork=null,this._onscreenJob=q(g.Priority.aboveNormal,"on-screen items"),this._frontOffscreenJob=q(g.Priority.normal,"front off-screen items"),this._backOffscreenJob=q(g.Priority.belowNormal,"back off-screen items"),this._scrollbarPos=0,this._direction="right",this._scrollToFunctor=t(0)},{_dispose:function(){this.cleanUp(),this.items=null,this._renderCompletePromise&&this._renderCompletePromise.cancel(),this._renderCompletePromise=null,this._onscreenJob.dispose(),this._frontOffscreenJob.dispose(),this._backOffscreenJob.dispose()},_createItem:function(a,b,c,d){this._listView._writeProfilerMark("createItem("+a+") "+this._getBoundingRectString(a)+",info");var f=this;f._listView._itemsManager._itemFromItemPromiseThrottled(b).done(function(b){b?c(a,b,f._listView._itemsManager._recordFromElement(b)):d(a)},function(b){return d(a),e.wrapError(b)})},_addItem:function(a,b,c,d){if(this._realizePass===d){var e=this._listView._itemsManager._recordFromElement(c);delete this._pendingItemPromises[e.itemPromise.handle],this.items.setItemAt(b,{itemBox:null,container:null,element:c,detached:!0,itemsManagerRecord:e})}},lastItemIndex:function(){return this.containers?this.containers.length-1:-1},_setSkipRealizationForChange:function(a){a?this._realizationLevel!==v._realizationLevel.realize&&(this._realizationLevel=v._realizationLevel.skip):this._realizationLevel=v._realizationLevel.realize},_realizeItems:function(a,b,c,d,h,j,k,n,o,p){function q(a,b){C.push(e._cancelBlocker(b.renderComplete)),u(a)}function r(a,b){function c(a,b){a.updatedDraggableAttribute||!G._listView.itemsDraggable&&!G._listView.itemsReorderable||a.itemsManagerRecord.renderComplete.done(function(){G._realizePass===h&&(i.hasClass(b,l._nonDraggableClass)||(a.itemBox.draggable=!0),a.updatedDraggableAttribute=!0)})}if(G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom,StartTM"),!G._listView._isZombie()){var d,e=0,f=-1,g=-1;for(d=a;b>=d;d++){var j=G.items.itemDataAt(d);if(j){var n=j.element,o=j.itemBox;o||(o=G._listView._itemBoxTemplate.cloneNode(!0),j.itemBox=o,o.appendChild(n),i.addClass(n,l._itemClass),G._listView._setupAriaSelectionObserver(n),G._listView._isSelected(d)&&m._ItemEventsHandler.renderSelection(o,n,!0,!0),G._listView._currentMode().renderDragSourceOnRealizedItem(d,o)),c(j,n);var p=G.getContainer(d);o.parentNode!==p&&(j.container=p,G._appendAndRestoreFocus(p,o),e++,0>f&&(f=d),g=d,G._listView._isSelected(d)&&i.addClass(p,l._selectedClass),i.removeClass(p,l._backdropClass),G.items.elementAvailable(d))}}G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom,StopTM"),e>0&&(G._listView._writeProfilerMark("_realizeItems_appendedItemsToDom:"+e+" ("+f+"-"+g+"),info"),G._reportElementsLevel(k))}}function s(a,b,c,d){function e(a,b){var c=G.items.itemDataAt(a);if(c){var d=c.itemBox;return d&&d.parentNode?b?(i.addClass(d.parentNode,l._backdropClass),d.parentNode.removeChild(d),!0):!1:!0}return!0}if(!p){for(var f=!1;a>=c;)f=e(a,f),a--;for(f=!1;d>=b;)f=e(b,f),b++}}function t(a,b,c,d,f){function g(a){var b=G.items.itemDataAt(a);if(b){var d=b.itemsManagerRecord;d.readyComplete||G._realizePass!==h||c.addWork(function(){G._listView._isZombie()||d.pendingReady&&G._realizePass===h&&(G._listView._writeProfilerMark("pendingReady("+a+"),info"),d.pendingReady())},f)}}for(var i=[],j=a;b>=j;j++){var k=G.items.itemDataAt(j);k&&i.push(k.itemsManagerRecord.itemPromise)}e.join(i).then(function(){if("right"===d)for(var c=a;b>=c;c++)g(c);else for(var c=b;c>=a;c--)g(c)})}function u(a){if(G._realizePass===h){if(a>=n&&o>=a){if(0===--z){if(r(n,o),s(n,o,b,c),G._firstLayoutPass){t(n,o,G._frontOffscreenJob,"right"===k?"left":"right",!0);var d=g.schedulePromiseHigh(null,"WinJS.UI.ListView.entranceAnimation").then(function(){if(!G._listView._isZombie()){G._listView._writeProfilerMark("entranceAnimation,StartTM");var a=G._listView._animateListEntrance(!G._firstEntranceAnimated);return G._firstEntranceAnimated=!0,a}});G._runningAnimations=e.join([G._runningAnimations,d]),G._runningAnimations.done(function(){G._listView._writeProfilerMark("entranceAnimation,StopTM"),G._realizePass===h&&(G._runningAnimations=null,D.complete())}),G._firstLayoutPass=!1,G._listView._isCurrentZoomView&&g.requestDrain(G._onscreenJob.priority)}else t(n,o,G._frontOffscreenJob,k),D.complete();G._updateHeaders(G._listView._canvas,n,o+1).done(function(){E.complete()})}}else n>a?(--B,B%y===0&&r(b,n-1),B||(G._updateHeaders(G._listView._canvas,b,n).done(function(){"right"!==k&&F.complete()}),t(b,n-1,"right"!==k?G._frontOffscreenJob:G._backOffscreenJob,"left"))):a>o&&(--A,A%y===0&&r(o+1,c-1),A||(G._updateHeaders(G._listView._canvas,o+1,c).then(function(){"right"===k&&F.complete()}),t(o+1,c-1,"right"===k?G._frontOffscreenJob:G._backOffscreenJob,"right")));x--,0===x&&(G._renderCompletePromise=e.join(C).then(null,function(a){var b=Array.isArray(a)&&a.some(function(a){return a&&!(a instanceof Error&&"Canceled"===a.name)});return b?e.wrapError(a):void 0}),(G._headerRenderPromises||e.wrap()).done(function(){g.schedule(function(){G._listView._isZombie()?L.cancel():L.complete()},Math.min(G._onscreenJob.priority,G._backOffscreenJob.priority),null,"WinJS.UI.ListView._allItemsRealized")}))}}function v(b,c,d){if(G._realizePass===h){var c=d.element;G._addItem(a,b,c,h),q(b,d)}}var w="_realizeItems("+b+"-"+(c-1)+") visible("+n+"-"+o+")";this._listView._writeProfilerMark(w+",StartTM"),k=k||"right";var x=c-b,y=o-n+1,z=y,A=c-o-1,B=n-b,C=[],D=new f,E=new f,F=new f,G=this;if(x>0){var H=0,I=0,J=0;G.firstIndexDisplayed=n,G.lastIndexDisplayed=o;var K=G._listView._isCurrentZoomView;G._highPriorityRealize&&(G._firstLayoutPass||G._hasAnimationInViewportPending)?(G._highPriorityRealize=!1,G._onscreenJob.priority=g.Priority.high,G._frontOffscreenJob.priority=g.Priority.normal,G._backOffscreenJob.priority=g.Priority.belowNormal):G._highPriorityRealize?(G._highPriorityRealize=!1,G._onscreenJob.priority=g.Priority.high,G._frontOffscreenJob.priority=g.Priority.high-1,G._backOffscreenJob.priority=g.Priority.high-1):K?(G._onscreenJob.priority=g.Priority.aboveNormal,G._frontOffscreenJob.priority=g.Priority.normal,G._backOffscreenJob.priority=g.Priority.belowNormal):(G._onscreenJob.priority=g.Priority.belowNormal,G._frontOffscreenJob.priority=g.Priority.idle,G._backOffscreenJob.priority=g.Priority.idle);var L=new f,M=G._listView._versionManager.cancelOnNotification(L.promise),N=function(a,b){b.startStage1&&b.stage0.then(function(){G._realizePass===h&&b.startStage1&&a.addWork(b.startStage1)})},O=function(a,b){var c=G.items.itemDataAt(b);if(!c){var d=G._listView._itemsManager._itemPromiseAtIndex(b);G._pendingItemPromises[d.handle]=d,delete G._previousRealizationPendingItemPromises[d.handle],a.addWork(function(){if(!G._listView._isZombie()&&(H++,G._createItem(b,d,v,u),!G._listView._isZombie()&&G._realizePass===h&&d.handle)){var c=G._listView._itemsManager._recordFromHandle(d.handle);N(a,c)}})}},P=function(a,b,c){for(var d=b;c>=d;d++)O(a,d)},Q=function(a,b,c){for(var d=c;d>=b;d--)O(a,d)},R=function(a,b,c){for(var d=b;c>=d;d++){var e=G.items.itemDataAt(d);if(e){var f=e.itemsManagerRecord;q(d,f),I++,N(a,f)}}};this._previousRealizationPendingItemPromises=this._pendingItemPromises||{},this._pendingItemPromises={};var S;"left"===k?(Q(G._onscreenJob,n,o),Q(G._frontOffscreenJob,b,n-1),S=b>n-1):(P(G._onscreenJob,n,o),P(G._frontOffscreenJob,o+1,c-1),S=o+1>c-1);for(var T=0,U=Object.keys(this._previousRealizationPendingItemPromises),V=U.length;V>T;T++){var W=U[T];G._listView._itemsManager.releaseItemPromise(this._previousRealizationPendingItemPromises[W])}this._previousRealizationPendingItemPromises={},R(G._onscreenJob,n,o),"left"===k?R(G._frontOffscreenJob,b,n-1):R(G._frontOffscreenJob,o+1,c-1);var X=z===o-n+1;return G._firstLayoutPass?G._listView._canvas.style.opacity=0:X?G._listView._showProgressBar(G._listView._element,"50%","50%"):G._listView._hideProgressBar(),G._frontOffscreenJob.pause(),G._backOffscreenJob.pause(),E.promise.done(function(){G._frontOffscreenJob.resume(),S&&F.complete()},function(){L.cancel()}),F.promise.done(function(){G._listView._writeProfilerMark("frontItemsRealized,info"),"left"===k?(P(G._backOffscreenJob,o+1,c-1),R(G._backOffscreenJob,o+1,c-1)):(Q(G._backOffscreenJob,b,n-1),R(G._backOffscreenJob,b,n-1)),G._backOffscreenJob.resume()}),L.promise.done(function(){G._listView._versionManager.clearCancelOnNotification(M),G._listView._writeProfilerMark(w+" complete(created:"+H+" updated:"+I+"),info")},function(a){return G._listView._versionManager.clearCancelOnNotification(M),G._onscreenJob.clearWork(),G._frontOffscreenJob.clearWork(),G._backOffscreenJob.clearWork(),D.cancel(),E.cancel(),G._listView._writeProfilerMark(w+" canceled(created:"+H+" updated:"+I+" clean:"+J+"),info"),e.wrapError(a)}),G._listView._writeProfilerMark(w+",StopTM"),{viewportItemsRealized:E.promise,allItemsRealized:L.promise,loadingCompleted:e.join([L.promise,D.promise]).then(function(){for(var a=[],d=b;c>d;d++){var f=G.items.itemDataAt(d);f&&a.push(f.itemsManagerRecord.itemReadyPromise)}return e._cancelBlocker(e.join(a))})}}return G._listView._writeProfilerMark(w+",StopTM"),{viewportItemsRealized:e.wrap(),allItemsRealized:e.wrap(),loadingCompleted:e.wrap()}},_setAnimationInViewportState:function(a){if(this._hasAnimationInViewportPending=!1,a&&a.length>0)for(var b=this._listView._getViewportLength(),c=this._listView._layout.itemsFromRange(this._scrollbarPos,this._scrollbarPos+b-1),d=0,e=a.length;e>d;d++){var f=a[d];if(f.newIndex>=c.firstIndex&&f.newIndex<=c.lastIndex&&f.newIndex!==f.oldIndex){this._hasAnimationInViewportPending=!0;break}}},_addHeader:function(a,b){var c=this;return this._listView._groups.renderGroup(b).then(function(a){if(a){a.element.tabIndex=0;var d=c._getHeaderContainer(b);a.element.parentNode!==d&&(d.appendChild(a.element),i.addClass(a.element,l._headerClass)),c._listView._groups.setDomElement(b,a.element)}})},_updateHeaders:function(a,b,c){function d(b){var c=g._listView._groups.group(b);if(c&&!c.header){var d=c.headerPromise;return d||(d=c.headerPromise=g._addHeader(a,b),d.done(function(){c.headerPromise=null},function(){c.headerPromise=null})),d}return e.wrap()}function f(){g._headerRenderPromises=null}var g=this;this._listView._groups.removeElements();var h=this._listView._groups.groupFromItem(b),i=h,j=this._listView._groups.groupFromItem(c-1),k=[];if(null!==i)for(;j>=i;i++)k.push(d(i));return this._headerRenderPromises=e.join(k,this._headerRenderPromises).then(f,f),this._headerRenderPromises||e.wrap()},_unrealizeItem:function(a){var b,c=this._listView;this._listView._writeProfilerMark("_unrealizeItem("+a+"),info");var d=c._selection._getFocused();d.type===k.ObjectType.item&&d.index===a&&(c._unsetFocusOnItem(),b=!0);var e=this.items.itemDataAt(a),f=e.element,g=e.itemBox;g&&g.parentNode&&(i.removeClass(g.parentNode,l._selectedClass),i.removeClass(g.parentNode,l._footprintClass),i.addClass(g.parentNode,l._backdropClass),g.parentNode.removeChild(g)),e.container=null,c._currentMode().itemUnrealized&&c._currentMode().itemUnrealized(a,g),this.items.removeItem(a),e.removed||c._itemsManager.releaseItem(f),h._disposeElement(f),b&&c._setFocusOnItem(c._selection._getFocused())},_unrealizeGroup:function(a){var b,c=a.header,d=this._listView._selection._getFocused();d.type===k.ObjectType.groupHeader&&this._listView._groups.group(d.index)===a&&(this._listView._unsetFocusOnItem(),b=!0),c.parentNode&&c.parentNode.removeChild(c),h._disposeElement(c),a.header=null,a.left=-1,a.top=-1,b&&this._listView._setFocusOnItem(this._listView._selection._getFocused())},_unrealizeItems:function(a){var b=this,c=0;this.items.eachIndex(function(d){return d=b.end?(b._unrealizeItem(d),a&&++c>=a):void 0});var d=this._listView._groups,e=d.groupFromItem(this.begin);if(null!==e)for(var f=d.groupFromItem(this.end-1),g=0,h=d.length();h>g;g++){var i=d.group(g);(e>g||g>f)&&i.header&&this._unrealizeGroup(i)}},_unrealizeExcessiveItems:function(){var a=this.items.count(),b=this.end-this.begin,c=b+this._listView._maxDeferredItemCleanup;this._listView._writeProfilerMark("_unrealizeExcessiveItems realized("+a+") approved("+c+"),info"),a>c&&this._unrealizeItems(a-c)},_lazilyUnrealizeItems:function(){this._listView._writeProfilerMark("_lazilyUnrealizeItems,StartTM");var a=this;return s(this._listView).then(function(){function b(){a._listView._writeProfilerMark("_lazilyUnrealizeItems,StopTM")}if(a._listView._isZombie())return void b();var c=[];a.items.eachIndex(function(b){(b=a.end)&&c.push(b)}),a._listView._writeProfilerMark("_lazilyUnrealizeItems itemsToUnrealize("+c.length+"),info");var d=[],f=a._listView._groups,h=f.groupFromItem(a.begin);if(null!==h)for(var i=f.groupFromItem(a.end-1),j=0,k=f.length();k>j;j++){var l=f.group(j);(h>j||j>i)&&l.header&&d.push(l)}if(c.length||d.length){var m,n=new e(function(b){function e(f){if(!a._listView._isZombie()){for(var g=-1,h=-1,i=0,j=r(a._listView);c.length&&!j&&!f.shouldYield;){var k=c.shift();a._unrealizeItem(k),i++,0>g&&(g=k),h=k}for(a._listView._writeProfilerMark("unrealizeWorker removeItems:"+i+" ("+g+"-"+h+"),info");d.length&&!j&&!f.shouldYield;)a._unrealizeGroup(d.shift());c.length||d.length?j?f.setPromise(s(a._listView).then(function(){return e; })):f.setWork(e):b()}}m=g.schedule(e,g.Priority.belowNormal,null,"WinJS.UI.ListView._lazilyUnrealizeItems")});return n.then(b,function(b){return m.cancel(),a._listView._writeProfilerMark("_lazilyUnrealizeItems canceled,info"),a._listView._writeProfilerMark("_lazilyUnrealizeItems,StopTM"),e.wrapError(b)})}return b(),e.wrap()})},_getBoundingRectString:function(a){var b;if(a>=0&&a0&&-1!==d.firstIndexDisplayed&&-1!==d.lastIndexDisplayed))return e.wrap();d._listView._writeProfilerMark("aria work,StartTM");var h,j,k,l,m,n,o=d._listView._ariaStartMarker,q=d._listView._ariaEndMarker,t=d.begin,u=d.items.itemAt(d.begin);return u?(i._ensureId(u),d._listView._groupsEnabled()?(j=d._listView._groups,k=l=j.groupFromItem(d.begin),m=j.group(l),n=c(l),i._ensureId(m.header),i._setAttribute(m.header,"role",d._listView._headerRole),i._setAttribute(m.header,"x-ms-aria-flowfrom",o.id),p(m.header,u),i._setAttribute(m.header,"tabindex",d._listView._tabIndex)):i._setAttribute(u,"x-ms-aria-flowfrom",o.id),new e(function(e){var o=a;h=g.schedule(function v(a){if(d._listView._isZombie())return void b();for(;t=b;a--)if(f.items.itemAt(a))return f.items.itemAt(a);return null}var f=this;if(!this._listView._isZombie()){this._listView._createAriaMarkers();var g,h,j=this._listView._ariaStartMarker,k=this._listView._ariaEndMarker;if(-1!==b&&-1!==c&&c>=b&&(g=d(),h=e()),!a&&g&&h){if(i._ensureId(g),i._ensureId(h),this._listView._groupsEnabled()){var l=this._listView._groups,m=l.group(l.groupFromItem(b));m.header&&(i._ensureId(m.header),b===m.startIndex?i._setAttribute(j,"aria-flowto",m.header.id):i._setAttribute(j,"aria-flowto",g.id))}else i._setAttribute(j,"aria-flowto",g.id);i._setAttribute(k,"x-ms-aria-flowfrom",h.id)}else p(j,k),this._listView._fireAccessibilityAnnotationCompleteEvent(-1,-1)}},updateAriaForAnnouncement:function(a,b){if(a!==this._listView.header&&a!==this._listView.footer){var c=-1,d=k.ObjectType.item;i.hasClass(a,l._headerClass)?(c=this._listView._groups.index(a),d=k.ObjectType.groupHeader,i._setAttribute(a,"role",this._listView._headerRole),i._setAttribute(a,"tabindex",this._listView._tabIndex)):(c=this.items.index(a),i._setAttribute(a,"aria-setsize",b),i._setAttribute(a,"aria-posinset",c+1),i._setAttribute(a,"role",this._listView._itemRole),i._setAttribute(a,"tabindex",this._listView._tabIndex)),d===k.ObjectType.groupHeader?this._listView._fireAccessibilityAnnotationCompleteEvent(-1,-1,c,c):this._listView._fireAccessibilityAnnotationCompleteEvent(c,c,-1,-1)}},_reportElementsLevel:function(a){function b(a,b){for(var c=0,e=a;b>=e;e++){var f=d.itemDataAt(e);f&&f.container&&c++}return c}var c,d=this.items;c="right"===a?Math.floor(100*b(this.firstIndexDisplayed,this.end-1)/(this.end-this.firstIndexDisplayed)):Math.floor(100*b(this.begin,this.lastIndexDisplayed)/(this.lastIndexDisplayed-this.begin+1)),this._listView._writeProfilerMark("elementsLevel level("+c+"),info")},_createHeaderContainer:function(a){return this._createSurfaceChild(l._headerContainerClass,a)},_createItemsContainer:function(a){var c=this._createSurfaceChild(l._itemsContainerClass,a),d=b.document.createElement("div");return d.className=l._padderClass,c.appendChild(d),c},_ensureContainerInDOM:function(a){var b=this.containers[a];return b&&!this._listView._canvas.contains(b)?(this._forceItemsBlocksInDOM(a,a+1),!0):!1},_ensureItemsBlocksInDOM:function(a,b){if(this._expandedRange){var c=this._expandedRange.first.index,d=this._expandedRange.last.index+1;c>=a&&b>c?b=Math.max(b,d):d>a&&b>=d&&(a=Math.min(a,c))}this._forceItemsBlocksInDOM(a,b)},_removeRedundantItemsBlocks:function(){-1!==this.begin&&-1!==this.end&&this._forceItemsBlocksInDOM(this.begin,this.end)},_lazilyRemoveRedundantItemsBlocks:function(){this._listView._writeProfilerMark("_lazilyRemoveRedundantItemsBlocks,StartTM");var a=this;return s(this._listView).then(function(){function b(){a._listView._writeProfilerMark("_lazilyRemoveRedundantItemsBlocks,StopTM")}if(a._listView._isZombie())return void b();if(a._expandedRange&&-1!==a.begin&&-1!==a.end&&(a._expandedRange.first.indexa.end)){var c,d=new e(function(b){function d(c){if(!a._listView._isZombie()){for(var e=r(a._listView);a._expandedRange.first.indexa.end&&!e&&!c.shouldYield;){var g=Math.max(a.end,a._expandedRange.last.index-a._blockSize*v._blocksToRelease);a._forceItemsBlocksInDOM(a.begin,g)}a._expandedRange.first.indexa.end?e?c.setPromise(s(a._listView).then(function(){return d})):c.setWork(d):b()}}c=g.schedule(d,g.Priority.belowNormal,null,"WinJS.UI.ListView._lazilyRemoveRedundantItemsBlocks")});return d.then(b,function(b){return c.cancel(),a._listView._writeProfilerMark("_lazilyRemoveRedundantItemsBlocks canceled,info"),a._listView._writeProfilerMark("_lazilyRemoveRedundantItemsBlocks,StopTM"),e.wrapError(b)})}return b(),e.wrap()})},_forceItemsBlocksInDOM:function(a,b){function c(a,b){var c=a.element.firstElementChild;c.style[q]=b}function d(a){for(var b=0;bd;d++)if(a(c,c.itemsBlocks[d]))return}function e(a){n._listView._writeProfilerMark("_itemsBlockExtent,StartTM"),n._listView._itemsBlockExtent=i[n._listView._horizontal()?"getTotalWidth":"getTotalHeight"](a.element),n._listView._writeProfilerMark("_itemsBlockExtent("+n._listView._itemsBlockExtent+"),info"),n._listView._writeProfilerMark("_itemsBlockExtent,StopTM")}function f(){return-1===n._listView._itemsBlockExtent&&d(function(a,b){return b.items.length===n._blockSize&&b.element.parentNode===a.element?(e(b),!0):!1}),-1===n._listView._itemsBlockExtent&&d(function(a,b){return b.items.length===n._blockSize?(a.element.appendChild(b.element),e(b),a.element.removeChild(b.element),!0):!1}),n._listView._itemsBlockExtent}function g(a,b,c){function d(b){var c=a.itemsBlocks[b];c&&c.element.parentNode===a.element&&(a.element.removeChild(c.element),p++)}if(Array.isArray(b))b.forEach(d);else for(var e=b;c>e;e++)d(e)}function h(a,b,c){for(var d=a.element.firstElementChild,e=d,f=b;c>f;f++){var g=a.itemsBlocks[f];g&&(g.element.parentNode!==a.element&&(a.element.insertBefore(g.element,e.nextElementSibling),o++),e=g.element)}}function j(a){if(a=d;d++)c.push(d);return c}var d=b[0],e=b[1],f=a[0],g=a[1];return f>e||d>g?c(f,g):d>f&&g>e?c(f,d-1).concat(c(e+1,g)):d>f?c(f,d-1):g>e?c(e+1,g):null}if(this._blockSize){var m="_forceItemsBlocksInDOM begin("+a+") end("+b+"),";this._listView._writeProfilerMark(m+"StartTM");var n=this,o=0,p=0,q="padding"+(this._listView._horizontal()?"Left":"Top"),r=this._listView._groups.groupFromItem(a),s=this._listView._groups.groupFromItem(b-1),t=this._listView._groups.group(r),u=n.tree[r].itemsContainer,v=Math.floor((a-t.startIndex)/this._blockSize),w=this._listView._groups.group(s),x=n.tree[s].itemsContainer,y=Math.floor((b-1-w.startIndex)/this._blockSize);v&&-1===n._listView._itemsBlockExtent&&d(function(a,b){return b.items.length===n._blockSize&&b.element.parentNode===a.element?(e(b),!0):!1});var z=this._expandedRange?l([this._expandedRange.first.groupIndex,this._expandedRange.last.groupIndex],[r,s]):null;if(z&&z.forEach(j),this._expandedRange&&this._expandedRange.first.groupKey===t.key){var A=l([this._expandedRange.first.block,Number.MAX_VALUE],[v,Number.MAX_VALUE]);A&&g(u,A)}else this._expandedRange&&r>=this._expandedRange.first.groupIndex&&r<=this._expandedRange.last.groupIndex&&g(u,0,v);if(r!==s?(h(u,v,u.itemsBlocks.length),h(x,0,y+1)):h(u,v,y+1),this._expandedRange&&this._expandedRange.last.groupKey===w.key){var A=l([0,this._expandedRange.last.block],[0,y]);A&&g(x,A)}else this._expandedRange&&s>=this._expandedRange.first.groupIndex&&s<=this._expandedRange.last.groupIndex&&g(x,y+1,x.itemsBlocks.length);c(u,v?v*f()+"px":""),r!==s&&c(x,"");for(var B=r+1;s>B;B++)k(B);this._expandedRange={first:{index:a,groupIndex:r,groupKey:t.key,block:v},last:{index:b-1,groupIndex:s,groupKey:w.key,block:y}},this._listView._writeProfilerMark("_forceItemsBlocksInDOM groups("+r+"-"+s+") blocks("+v+"-"+y+") added("+o+") removed("+p+"),info"),this._listView._writeProfilerMark(m+"StopTM")}},_realizePageImpl:function(){var a=this,b="realizePage(scrollPosition:"+this._scrollbarPos+" forceLayout:"+this._forceRelayout+")";return this._listView._writeProfilerMark(b+",StartTM"),this._listView._versionManager.locked?(this._listView._versionManager.unlocked.done(function(){a._listView._isZombie()||a._listView._batchViewUpdates(l._ViewChange.realize,l._ScrollToPriority.low,a._listView.scrollPosition)}),this._listView._writeProfilerMark(b+",StopTM"),e.cancel):new e(function(c){function d(){c(),k.complete()}function g(){a._listView._hideProgressBar(),a._state.setLoadingState(a._listView._LoadingState.viewPortLoaded),a._executeAnimations&&a._setState(F,k.promise)}function h(b){a._updateAriaMarkers(0===b,a.firstIndexDisplayed,a.lastIndexDisplayed),a._state.setLoadingState&&a._state.setLoadingState(a._listView._LoadingState.itemsLoaded)}function j(b){a._listView._clearInsertedItems(),a._listView._groups.removeElements(),g(),h(b),d()}var k=new f;a._state.setLoadingState(a._listView._LoadingState.itemsLoading),a._firstLayoutPass&&a._listView._showProgressBar(a._listView._element,"50%","50%");var l=a.containers.length;if(l){var m,n,o=a.maxLeadingPages,p=a.maxTrailingPages,q=a._listView._getViewportLength();if(a._listView._zooming)m=n=0;else if(v._disableCustomPagesPrefetch)m=n=v._defaultPagesToPrefetch;else{m="left"===a._direction?o:p;var r=Math.max(0,m-a._scrollbarPos/q);n=Math.min(o,r+("right"===a._direction?o:p))}var s=Math.max(0,a._scrollbarPos-m*q),t=a._scrollbarPos+(1+n)*q,u=a._listView._layout.itemsFromRange(s,t-1);if((u.firstIndex<0||u.firstIndex>=l)&&(u.lastIndex<0||u.lastIndex>=l))a.begin=-1,a.end=-1,a.firstIndexDisplayed=-1,a.lastIndexDisplayed=-1,j(l);else{var w=i._clamp(u.firstIndex,0,l-1),x=i._clamp(u.lastIndex+1,0,l),y=a._listView._layout.itemsFromRange(a._scrollbarPos,a._scrollbarPos+q-1),z=i._clamp(y.firstIndex,0,l-1),A=i._clamp(y.lastIndex,0,l-1);if(a._realizationLevel!==v._realizationLevel.skip||a.lastRealizePass||z!==a.firstIndexDisplayed||A!==a.lastIndexDisplayed)if((a._forceRelayout||w!==a.begin||x!==a.end||z!==a.firstIndexDisplayed||A!==a.lastIndexDisplayed)&&x>w&&t>s){a._listView._writeProfilerMark("realizePage currentInView("+z+"-"+A+") previousInView("+a.firstIndexDisplayed+"-"+a.lastIndexDisplayed+") change("+(z-a.firstIndexDisplayed)+"),info"),a._cancelRealize();var B=a._realizePass;a.begin=w,a.end=x,a.firstIndexDisplayed=z,a.lastIndexDisplayed=A,a.deletesWithoutRealize=0,a._ensureItemsBlocksInDOM(a.begin,a.end);var C=a._realizeItems(a._listView._itemCanvas,a.begin,a.end,l,B,a._scrollbarPos,a._direction,z,A,a._forceRelayout);a._forceRelayout=!1;var D=C.viewportItemsRealized.then(function(){return g(),C.allItemsRealized}).then(function(){return a._realizePass===B?a._updateHeaders(a._listView._canvas,a.begin,a.end).then(function(){h(l)}):void 0}).then(function(){return C.loadingCompleted}).then(function(){a._unrealizeExcessiveItems(),a.lastRealizePass=null,d()},function(b){return a._realizePass===B&&(a.lastRealizePass=null,a.begin=-1,a.end=-1),e.wrapError(b)});a.lastRealizePass=e.join([C.viewportItemsRealized,C.allItemsRealized,C.loadingCompleted,D]),a._unrealizeExcessiveItems()}else a.lastRealizePass?a.lastRealizePass.then(d):j(l);else a.begin=w,a.end=w+Object.keys(a.items._itemData).length,a._updateHeaders(a._listView._canvas,a.begin,a.end).done(function(){a.lastRealizePass=null,j(l)})}}else a.begin=-1,a.end=-1,a.firstIndexDisplayed=-1,a.lastIndexDisplayed=-1,j(l);a._reportElementsLevel(a._direction),a._listView._writeProfilerMark(b+",StopTM")})},realizePage:function(a,b,c,d){this._scrollToFunctor=t(a),this._forceRelayout=this._forceRelayout||b,this._scrollEndPromise=c,this._listView._writeProfilerMark(this._state.name+"_realizePage,info"),this._state.realizePage(d||A)},onScroll:function(a,b){this.realizePage(a,!1,b,C)},reload:function(a,b){this._listView._isZombie()||(this._scrollToFunctor=t(a),this._forceRelayout=!0,this._highPriorityRealize=!!b,this.stopWork(!0),this._listView._writeProfilerMark(this._state.name+"_rebuildTree,info"),this._state.rebuildTree())},refresh:function(a){this._listView._isZombie()||(this._scrollToFunctor=t(a),this._forceRelayout=!0,this._highPriorityRealize=!0,this.stopWork(),this._listView._writeProfilerMark(this._state.name+"_relayout,info"),this._state.relayout())},waitForValidScrollPosition:function(a){var b=this,c=this._listView._viewport[this._listView._scrollLength]-this._listView._getViewportLength();return a>c?b._listView._itemsCount().then(function(c){return b.containers.length=b.containers.length||a.type===k.ObjectType.groupHeader&&b._listView._groups.group(a.index).startIndex>=b.containers.length?b._creatingContainersWork&&b._creatingContainersWork.promise:void 0}).then(function(){return b._getLayoutCompleted()})))},stopWork:function(a){this._listView._writeProfilerMark(this._state.name+"_stop,info"),this._state.stop(a),this._layoutWork&&this._layoutWork.cancel(),a&&this._creatingContainersWork&&this._creatingContainersWork.cancel(),a&&(this._state=new w(this))},_cancelRealize:function(){this._listView._writeProfilerMark("_cancelRealize,StartTM"),(this.lastRealizePass||this.deferTimeout)&&(this._forceRelayout=!0),this._clearDeferTimeout(),this._realizePass++,this._headerRenderPromises&&(this._headerRenderPromises.cancel(),this._headerRenderPromises=null);var a=this.lastRealizePass;a&&(this.lastRealizePass=null,this.begin=-1,this.end=-1,a.cancel()),this._listView._writeProfilerMark("_cancelRealize,StopTM")},resetItems:function(a){if(!this._listView._isZombie()){this.firstIndexDisplayed=-1,this.lastIndexDisplayed=-1,this._runningAnimations=null,this._executeAnimations=!1;var b=this._listView;this._firstLayoutPass=!0,b._unsetFocusOnItem(),b._currentMode().onDataChanged&&b._currentMode().onDataChanged(),this.items.each(function(c,d){a&&d.parentNode&&d.parentNode.parentNode&&d.parentNode.parentNode.removeChild(d.parentNode),b._itemsManager.releaseItem(d),h._disposeElement(d)}),this.items.removeItems(),this._deferredReparenting=[],a&&b._groups.removeElements(),b._clearInsertedItems()}},reset:function(){if(this.stopWork(!0),this._state=new w(this),this.resetItems(),!this._listView._isZombie()){var a=this._listView;a._groups.resetGroups(),a._resetCanvas(),this.tree=null,this.keyToGroupIndex=null,this.containers=null,this._expandedRange=null}},cleanUp:function(){this.stopWork(!0),this._runningAnimations&&this._runningAnimations.cancel();var a=this._listView._itemsManager;this.items.each(function(b,c){a.releaseItem(c),h._disposeElement(c)}),this._listView._unsetFocusOnItem(),this.items.removeItems(),this._deferredReparenting=[],this._listView._groups.resetGroups(),this._listView._resetCanvas(),this.tree=null,this.keyToGroupIndex=null,this.containers=null,this._expandedRange=null,this.destroyed=!0},getContainer:function(a){return this.containers[a]},_getHeaderContainer:function(a){return this.tree[a].header},_getGroups:function(a){if(this._listView._groupDataSource){var b=this._listView._groups.groups,c=[];if(a)for(var d=0,e=b.length;e>d;d++){var f=b[d],g=e>d+1?b[d+1].startIndex:a;c.push({key:f.key,size:g-f.startIndex})}return c}return[{key:"-1",size:a}]},_createChunk:function(a,b,c){function d(a,b){var d=a.element.children,e=d.length,g=Math.min(b-a.items.length,c);j.insertAdjacentHTMLUnsafe(a.element,"beforeend",n._repeat("
",g));for(var h=0;g>h;h++){var i=d[e+h];a.items.push(i),f.containers.push(i)}}function e(a){var b={header:f._listView._groupDataSource?f._createHeaderContainer():null,itemsContainer:{element:f._createItemsContainer(),items:[]}};f.tree.push(b),f.keyToGroupIndex[a.key]=f.tree.length-1,d(b.itemsContainer,a.size)}var f=this;if(this._listView._writeProfilerMark("createChunk,StartTM"),this.tree.length&&this.tree.length<=a.length){var g=this.tree[this.tree.length-1],h=a[this.tree.length-1].size;if(g.itemsContainer.items.lengthm;m++){var o=w[k+m];g.items.push(o),h.containers.push(o)}c-=i}f=a.itemsBlocks.length*d;var p=Math.floor(c/d),q="",r=f,s=f+d;if(p>0){var t=["
"+n._stripedContainers(d,r)+"
","
"+n._stripedContainers(d,s)+"
"];q=n._repeat(t,p),f+=p*d}var u=c%d;u>0&&(q+="
"+n._stripedContainers(u,f)+"
",f+=u,p++);var v=b.document.createElement("div");j.setInnerHTMLUnsafe(v,q);for(var w=v.children,x=0;p>x;x++){var y=w[x],z={element:y,items:n._nodeListToArray(y.children)};a.itemsBlocks.push(z);for(var A=0;Al)return f(i,k-l),void this._listView._writeProfilerMark("createChunk,StopTM")}this.tree.lengtha;a++){var c=e.containers[d+a];b.element.appendChild(c),b.items.push(c)}}function h(){b.itemsBlocks=[{element:j.length?j.shift():c(),items:[]}];for(var f=b.itemsBlocks[0],g=0;k>g;g++){if(f.items.length===a){var h=j.length?j.shift():c();b.itemsBlocks.push({element:h,items:[]}),f=b.itemsBlocks[b.itemsBlocks.length-1]}var i=e.containers[d+g];f.element.appendChild(i),f.items.push(i)}b.items=null}var i,j=[],k=0,l=b.itemsBlocks;if(l)for(i=0;ib;b++){var d=a[b];d.parentNode.removeChild(d)}}if(this._executeAnimations=!0,this._modifiedElements=d,!d.handled){d.handled=!0,this._listView._writeProfilerMark("_updateTreeImpl,StartTM");var g,h=this;e||this._unrealizeItems();for(var g=0,j=d.length;j>g;g++)d[g]._itemBox&&d[g]._itemBox.parentNode&&i.removeClass(d[g]._itemBox.parentNode,l._selectedClass);this.items.each(function(a,b,c){c.container&&i.removeClass(c.container,l._selectedClass),c.container&&i.addClass(c.container,l._backdropClass)});var k=this._listView._updateContainers(this._getGroups(a),a,c,d);f(k.removedHeaders),f(k.removedItemsContainers);for(var g=0,j=d.length;j>g;g++){var n=d[g];if(-1!==n.newIndex){if(n.element=this.getContainer(n.newIndex),!n.element)throw"Container missing after updateContainers."}else i.removeClass(n.element,l._backdropClass)}var o=b.document.activeElement;this._listView._canvas.contains(o)&&(this._requireFocusRestore=o),this._deferredReparenting=[],this.items.each(function(a,b,c){var d=h.getContainer(a),e=c.itemBox;e&&d&&(c.container=d,e.parentNode!==d&&(a>=h.firstIndexDisplayed&&a<=h.lastIndexDisplayed?h._appendAndRestoreFocus(d,e):h._deferredReparenting.push({itemBox:e,container:d})),i.removeClass(d,l._backdropClass),i[h._listView.selection._isIncluded(a)?"addClass":"removeClass"](d,l._selectedClass),!h._listView.selection._isIncluded(a)&&i.hasClass(e,l._selectedClass)&&m._ItemEventsHandler.renderSelection(e,c.element,!1,!0))}),this._listView._writeProfilerMark("_updateTreeImpl,StopTM")}},_completeUpdateTree:function(){if(this._deferredReparenting){var a=this._deferredReparenting.length;if(a>0){var b="_completeReparenting("+a+")";this._listView._writeProfilerMark(b+",StartTM");for(var c,d=0;a>d;d++)c=this._deferredReparenting[d],this._appendAndRestoreFocus(c.container,c.itemBox);this._deferredReparenting=[],this._listView._writeProfilerMark(b+",StopTM")}}this._requireFocusRestore=null},_appendAndRestoreFocus:function(a,c){if(c.parentNode!==a){var d;if(this._requireFocusRestore&&(d=b.document.activeElement),this._requireFocusRestore&&this._requireFocusRestore===d&&(a.contains(d)||c.contains(d))&&(this._listView._unsetFocusOnItem(),d=b.document.activeElement),i.empty(a),a.appendChild(c),this._requireFocusRestore&&d===this._listView._keyboardEventsHelper){var e=this._listView._selection._getFocused();e.type===k.ObjectType.item&&this.items.itemBoxAt(e.index)===c&&(i._setActive(this._requireFocusRestore),this._requireFocusRestore=null)}}},_startAnimations:function(){this._listView._writeProfilerMark("startAnimations,StartTM");var a=this;this._hasAnimationInViewportPending=!1;var b=e.as(this._listView._layout.executeAnimations()).then(function(){a._listView._writeProfilerMark("startAnimations,StopTM")});return b},_setState:function(a,b){if(!this._listView._isZombie()){var c=this._state.name;this._state=new a(this,b),this._listView._writeProfilerMark(this._state.name+"_enter from("+c+"),info"),this._state.enter()}},getAdjacent:function(a,b){var c=this;return this.waitForEntityPosition(a).then(function(){return c._listView._layout.getAdjacent(a,b)})},hitTest:function(a,b){if(this._realizedRangeLaidOut)return{index:-1,insertAfterIndex:-1};var c=this._listView._layout.hitTest(a,b);return c.index=i._clamp(c.index,-1,this._listView._cachedCount-1,0),c.insertAfterIndex=i._clamp(c.insertAfterIndex,-1,this._listView._cachedCount-1,0),c},_createTreeBuildingSignal:function(){if(!this._creatingContainersWork){this._creatingContainersWork=new f;var a=this;this._creatingContainersWork.promise.done(function(){a._creatingContainersWork=null},function(){a._creatingContainersWork=null})}},_createLayoutSignal:function(){var a=this;this._layoutCompleted||(this._layoutCompleted=new f,this._layoutCompleted.promise.done(function(){a._layoutCompleted=null},function(){a._layoutCompleted=null})),this._realizedRangeLaidOut||(this._realizedRangeLaidOut=new f,this._realizedRangeLaidOut.promise.done(function(){a._realizedRangeLaidOut=null},function(){a._realizedRangeLaidOut=null}))},_getLayoutCompleted:function(){return this._layoutCompleted?e._cancelBlocker(this._layoutCompleted.promise):e.wrap()},_createSurfaceChild:function(a,c){var d=b.document.createElement("div");return d.className=a,this._listView._canvas.insertBefore(d,c?c.nextElementSibling:null),d},_executeScrollToFunctor:function(){var a=this;return e.as(this._scrollToFunctor?this._scrollToFunctor():null).then(function(b){a._scrollToFunctor=null,b=b||{},+b.position===b.position&&(a._scrollbarPos=b.position),a._direction=b.direction||"right"})}},{_defaultPagesToPrefetch:2,_iOSMaxLeadingPages:6,_iOSMaxTrailingPages:2,_disableCustomPagesPrefetch:!1,_waitForSeZoIntervalDuration:100,_waitForSeZoTimeoutDuration:500,_chunkSize:500,_startupChunkSize:100,_maxTimePerCreateContainers:5,_createContainersJobTimeslice:15,_blocksToRelease:10,_realizationLevel:{skip:"skip",realize:"realize",normal:"normal"}}),w=c.Class.define(function(a){this.view=a,this.view._createTreeBuildingSignal(),this.view._createLayoutSignal()},{name:"CreatedState",enter:function(){this.view._createTreeBuildingSignal(),this.view._createLayoutSignal()},stop:u,realizePage:u,rebuildTree:function(){this.view._setState(x)},relayout:function(){this.view._setState(x)},layoutNewContainers:u,waitForEntityPosition:function(){return this.view._setState(x),this.view._getLayoutCompleted()},updateTree:u}),x=c.Class.define(function(a){this.view=a},{name:"BuildingState",enter:function(){this.canceling=!1,this.view._createTreeBuildingSignal(),this.view._createLayoutSignal();var a=this,b=new f;this.promise=b.promise.then(function(){return a.view._createContainers()}).then(function(){a.view._setState(y)},function(b){return a.canceling||(a.view._setState(w),a.view._listView._raiseViewComplete()),e.wrapError(b)}),b.complete()},stop:function(){this.canceling=!0,this.promise.cancel(),this.view._setState(w); -},realizePage:u,rebuildTree:function(){this.canceling=!0,this.promise.cancel(),this.enter()},relayout:u,layoutNewContainers:u,waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:u}),y=c.Class.define(function(a,b){this.view=a,this.nextStateType=b||A},{name:"LayingoutState",enter:function(){var a=this;this.canceling=!1,this.view._createLayoutSignal(),this.view._listView._writeProfilerMark(this.name+"_enter_layoutItems,StartTM");var b=new f;this.promise=b.promise.then(function(){return a.view._layoutItems()}).then(function(b){return a.view._layoutWork=b.layoutComplete,b.realizedRangeComplete}).then(function(){a.view._listView._writeProfilerMark(a.name+"_enter_layoutItems,StopTM"),a.view._listView._clearInsertedItems(),a.view._setAnimationInViewportState(a.view._modifiedElements),a.view._modifiedElements=[],a.view._modifiedGroups=[],a.view._realizedRangeLaidOut.complete(),a.view._layoutWork.then(function(){a.view._listView._writeProfilerMark(a.name+"_enter_layoutCompleted,info"),a.view._listView._affectedRange.clear(),a.view._layoutCompleted.complete()}),a.canceling||a.view._setState(a.nextStateType)},function(b){return a.view._listView._writeProfilerMark(a.name+"_enter_layoutCanceled,info"),a.canceling||(a.view.firstIndexDisplayed=a.view.lastIndexDisplayed=-1,a.view._updateAriaMarkers(!0,a.view.firstIndexDisplayed,a.view.lastIndexDisplayed),a.view._setState(G)),e.wrapError(b)}),b.complete(),this.canceling&&this.promise.cancel()},cancelLayout:function(a){this.view._listView._writeProfilerMark(this.name+"_cancelLayout,info"),this.canceling=!0,this.promise&&this.promise.cancel(),a&&this.view._setState(z)},stop:function(){this.cancelLayout(!0)},realizePage:u,rebuildTree:function(){this.cancelLayout(!1),this.view._setState(x)},relayout:function(){this.cancelLayout(!1),this.enter()},layoutNewContainers:function(){this.relayout()},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c)}}),z=c.Class.define(function(a){this.view=a},{name:"LayoutCanceledState",enter:u,stop:u,realizePage:function(){this.relayout()},rebuildTree:function(){this.view._setState(x)},relayout:function(){this.view._setState(y)},layoutNewContainers:function(){this.relayout()},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c)}}),A=c.Class.define(function(a){this.view=a,this.nextState=E,this.relayoutNewContainers=!0},{name:"RealizingState",enter:function(){var a=this,b=new f;this.promise=b.promise.then(function(){return a.view._executeScrollToFunctor()}).then(function(){return a.relayoutNewContainers=!1,e._cancelBlocker(a.view._realizePageImpl())}).then(function(){a.view._state===a&&(a.view._completeUpdateTree(),a.view._listView._writeProfilerMark("RealizingState_to_UnrealizingState"),a.view._setState(a.nextState))},function(b){return a.view._state!==a||a.canceling||(a.view._listView._writeProfilerMark("RealizingState_to_CanceledState"),a.view._setState(B)),e.wrapError(b)}),b.complete()},stop:function(){this.canceling=!0,this.promise.cancel(),this.view._cancelRealize(),this.view._setState(B)},realizePage:function(){this.canceling=!0,this.promise.cancel(),this.enter()},rebuildTree:function(){this.stop(),this.view._setState(x)},relayout:function(){this.stop(),this.view._setState(y)},layoutNewContainers:function(){this.relayoutNewContainers?this.relayout():(this.view._createLayoutSignal(),this.view._relayoutInComplete=!0)},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c)},setLoadingState:function(a){this.view._listView._setViewState(a)}}),B=c.Class.define(function(a){this.view=a},{name:"CanceledState",enter:u,stop:function(){this.view._cancelRealize()},realizePage:function(a){this.stop(),this.view._setState(a)},rebuildTree:function(){this.stop(),this.view._setState(x)},relayout:function(a){this.stop(),this.view._setState(y,a)},layoutNewContainers:function(){this.relayout(B)},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c)}}),C=c.Class.derive(A,function(a){this.view=a,this.nextState=D,this.relayoutNewContainers=!0},{name:"ScrollingState",setLoadingState:function(){}}),D=c.Class.derive(B,function(a){this.view=a},{name:"ScrollingPausedState",enter:function(){var a=this;this.promise=e._cancelBlocker(this.view._scrollEndPromise).then(function(){a.view._setState(E)})},stop:function(){this.promise.cancel(),this.view._cancelRealize()}}),E=c.Class.define(function(a){this.view=a},{name:"UnrealizingState",enter:function(){var a=this;this.promise=this.view._lazilyUnrealizeItems().then(function(){return a.view._listView._writeProfilerMark("_renderCompletePromise wait starts,info"),a.view._renderCompletePromise}).then(function(){a.view._setState(G)})},stop:function(){this.view._cancelRealize(),this.promise.cancel(),this.view._setState(B)},realizePage:function(a){this.promise.cancel(),this.view._setState(a)},rebuildTree:function(){this.view._setState(x)},relayout:function(){this.view._setState(y)},layoutNewContainers:function(){this.view._createLayoutSignal(),this.view._relayoutInComplete=!0},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c)}}),F=c.Class.define(function(a,b){this.view=a,this.realizePromise=b,this.realizeId=1},{name:"RealizingAnimatingState",enter:function(){var a=this;this.animating=!0,this.animatePromise=this.view._startAnimations(),this.animateSignal=new f,this.view._executeAnimations=!1,this.animatePromise.done(function(){a.animating=!1,a.modifiedElements?(a.view._updateTreeImpl(a.count,a.delta,a.modifiedElements),a.modifiedElements=null,a.view._setState(B)):a.animateSignal.complete()},function(b){return a.animating=!1,e.wrapError(b)}),this._waitForRealize()},_waitForRealize:function(){var a=this;this.realizing=!0,this.realizePromise.done(function(){a.realizing=!1});var b=++this.realizeId;e.join([this.realizePromise,this.animateSignal.promise]).done(function(){b===a.realizeId&&(a.view._completeUpdateTree(),a.view._listView._writeProfilerMark("RealizingAnimatingState_to_UnrealizingState"),a.view._setState(E))})},stop:function(a){this.realizePromise.cancel(),this.view._cancelRealize(),a&&(this.animatePromise.cancel(),this.view._setState(B))},realizePage:function(){if(!this.modifiedElements){var a=this;this.realizePromise=this.view._executeScrollToFunctor().then(function(){return e._cancelBlocker(a.view._realizePageImpl())}),this._waitForRealize()}},rebuildTree:function(){this.stop(!0),this.view._setState(x)},relayout:function(){this.stop(!0),this.modifiedElements&&(this.view._updateTreeImpl(this.count,this.delta,this.modifiedElements),this.modifiedElements=null),this.view._setState(y)},layoutNewContainers:function(){this.view._createLayoutSignal(),this.view._relayoutInComplete=!0},waitForEntityPosition:function(){return this.view._getLayoutCompleted()},updateTree:function(a,b,c){if(this.animating){var d=this.modifiedElements;return this.count=a,this.delta=b,this.modifiedElements=c,d?e.cancel:this.animatePromise}return this.view._updateTreeImpl(a,b,c)},setLoadingState:function(a){this.view._listView._setViewState(a)}}),G=c.Class.derive(B,function(a){this.view=a},{name:"CompletedState",enter:function(){this._stopped=!1,this.view._setupDeferredActions(),this.view._realizationLevel=v._realizationLevel.normal,this.view._listView._raiseViewComplete(),this.view._state===this&&this.view._relayoutInComplete&&!this._stopped&&this.view._setState(H)},stop:function(){this._stopped=!0,B.prototype.stop.call(this)},layoutNewContainers:function(){this.view._createLayoutSignal(),this.view._setState(H)},updateTree:function(a,b,c){return this.view._updateTreeImpl(a,b,c,!0)}}),H=c.Class.derive(B,function(a){this.view=a},{name:"LayingoutNewContainersState",enter:function(){var a=this;this.promise=e.join([this.view.deferTimeout,this.view._layoutWork]),this.promise.then(function(){a.view._relayoutInComplete=!1,a.relayout(B)})},stop:function(){this.promise.cancel(),this.view._cancelRealize()},realizePage:function(a){this.stop(),this.view._setState(y,a)},layoutNewContainers:function(){this.view._createLayoutSignal()}});return v})})}),d("require-style!less/styles-listview",[],function(){}),d("require-style!less/colors-listview",[],function(){}),d("WinJS/Controls/ListView",["../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../_Accents","../Animations","../Animations/_TransitionAnimation","../BindingList","../Promise","../Scheduler","../_Signal","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_ItemsManager","../Utilities/_SafeHtml","../Utilities/_TabContainer","../Utilities/_UI","../Utilities/_VersionManager","./ElementResizeInstrument","./ItemContainer/_Constants","./ItemContainer/_ItemEventsHandler","./ListView/_BrowseMode","./ListView/_ErrorMessages","./ListView/_GroupFocusCache","./ListView/_GroupsContainer","./ListView/_Helpers","./ListView/_ItemsContainer","./ListView/_Layouts","./ListView/_SelectionManager","./ListView/_VirtualizeContentsView","require-style!less/styles-listview","require-style!less/colors-listview"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J){"use strict";function K(){var a=Q;Q=[],a=a.filter(function(a){return a._isZombie()?(a._dispose(),!1):!0}),Q=Q.concat(a)}function L(a){Q.push(a),N&&N.cancel(),N=m.timeout(P).then(K)}function M(a){return a.offsetParent?a.offsetParent.offsetWidth-a.offsetLeft-a.offsetWidth:0}i.createAccentRule(".win-listview:not(.win-selectionstylefilled) .win-selectioncheckmarkbackground, .win-itemcontainer:not(.win-selectionstylefilled) .win-selectioncheckmarkbackground",[{name:"border-color",value:i.ColorTypes.accent},{name:"background-color",value:i.ColorTypes.accent}]),i.createAccentRule(".win-listview:not(.win-selectionstylefilled) .win-container.win-selected .win-selectionborder, .win-itemcontainer:not(.win-selectionstylefilled).win-container.win-selected .win-selectionborder",[{name:"border-color",value:i.ColorTypes.accent}]),i.createAccentRule(".win-listview.win-selectionstylefilled .win-selected .win-selectionbackground, .win-itemcontainer.win-selectionstylefilled.win-selected .win-selectionbackground",[{name:"background-color",value:i.ColorTypes.accent}]);var N,O=c._browserStyleEquivalents.transform,P=1e3,Q=[],R=r._uniqueID,S={get notCompatibleWithSemanticZoom(){return"ListView can only be used with SemanticZoom if randomAccess loading behavior is specified."},get listViewInvalidItem(){return"Item must provide index, key or description of corresponding item."},get listViewViewportAriaLabel(){return g._getWinJSString("ui/listViewViewportAriaLabel").value}},T=c.requireSupportedForProcessing,U={entrance:"entrance",contentTransition:"contentTransition"};b.Namespace.define("WinJS.UI",{ListViewAnimationType:U,ListView:b.Namespace._lazy(function(){var g=b.Class.define(function(){this.clear()},{add:function(a,b){if(a._lastKnownSizeOfData=b,this._range){this._range.start=Math.min(this._range.start,a.start);var c=this._range._lastKnownSizeOfData-this._range.end,d=a._lastKnownSizeOfData-a.end,e=Math.min(c,d);this._range._lastKnownSizeOfData=a._lastKnownSizeOfData,this._range.end=this._range._lastKnownSizeOfData-e}else this._range=a},addAll:function(){this.add({start:0,end:Number.MAX_VALUE},Number.MAX_VALUE)},clear:function(){this._range=null},get:function(){return this._range}}),i=b.Class.define(function(a){this._listView=a},{getPanAxis:function(){return this._listView._getPanAxis()},configureForZoom:function(a,b,c,d){this._listView._configureForZoom(a,b,c,d)},setCurrentItem:function(a,b){this._listView._setCurrentItem(a,b)},getCurrentItem:function(){return this._listView._getCurrentItem()},beginZoom:function(){return this._listView._beginZoom()},positionItem:function(a,b){return this._listView._positionItem(a,b)},endZoom:function(a){this._listView._endZoom(a)},pinching:{get:function(){return this._listView._pinching},set:function(a){this._listView._pinching=a}}}),s=b.Class.define(function(b,c){if(b=b||a.document.createElement("div"),this._id=b.id||"",this._writeProfilerMark("constructor,StartTM"),c=c||{},b.winControl=this,r.addClass(b,"win-disposable"),this._affectedRange=new g,this._mutationObserver=new r._MutationObserver(this._itemPropertyChange.bind(this)),this._versionManager=null,this._insertedItems={},this._element=b,this._startProperty=null,this._scrollProperty=null,this._scrollLength=null,this._scrolling=!1,this._zooming=!1,this._pinching=!1,this._itemsManager=null,this._canvas=null,this._cachedCount=z._UNINITIALIZED,this._loadingState=this._LoadingState.complete,this._firstTimeDisplayed=!0,this._currentScrollPosition=0,this._lastScrollPosition=0,this._notificationHandlers=[],this._itemsBlockExtent=-1,this._lastFocusedElementInGroupTrack={type:w.ObjectType.item,index:-1},this._headerFooterVisibilityStatus={headerVisible:!1,footerVisible:!1},this._viewportWidth=z._UNINITIALIZED,this._viewportHeight=z._UNINITIALIZED,this._manipulationState=r._MSManipulationEvent.MS_MANIPULATION_STATE_STOPPED,this._maxDeferredItemCleanup=Number.MAX_VALUE,this._groupsToRemove={},this._setupInternalTree(),this._isCurrentZoomView=!0,this._dragSource=!1,this._reorderable=!1,this._groupFocusCache=new D._UnsupportedGroupFocusCache,this._viewChange=z._ViewChange.rebuild,this._scrollToFunctor=null,this._setScrollbarPosition=!1,this._view=new J._VirtualizeContentsView(this),this._selection=new I._SelectionManager(this),this._createTemplates(),this._groupHeaderRenderer=t._trivialHtmlRenderer,this._itemRenderer=t._trivialHtmlRenderer,this._groupHeaderRelease=null,this._itemRelease=null,c.itemDataSource)this._dataSource=c.itemDataSource;else{var d=new l.List;this._dataSource=d.dataSource}this._selectionMode=w.SelectionMode.multi,this._tap=w.TapBehavior.invokeOnly,this._groupHeaderTap=w.GroupHeaderTapBehavior.invoke,this._mode=new B._SelectionMode(this),this._groups=new E._NoGroups(this),this._updateItemsAriaRoles(),this._updateGroupHeadersAriaRoles(),this._element.setAttribute("aria-multiselectable",this._multiSelection()),this._element.tabIndex=-1,this._tabManager.tabIndex=this._tabIndex,"absolute"!==this._element.style.position&&"relative"!==this._element.style.position&&(this._element.style.position="relative"),this._updateItemsManager(),c.layout||this._updateLayout(new H.GridLayout),this._attachEvents(),this._runningInit=!0,p.setOptions(this,c),this._runningInit=!1,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0),this._writeProfilerMark("constructor,StopTM")},{element:{get:function(){return this._element}},layout:{get:function(){return this._layoutImpl},set:function(a){this._updateLayout(a),this._runningInit||(this._view.reset(),this._updateItemsManager(),this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0,!0))}},maxLeadingPages:{get:function(){return this._view.maxLeadingPages},set:function(a){this._view.maxLeadingPages=Math.max(0,Math.floor(a))}},maxTrailingPages:{get:function(){return this._view.maxTrailingPages},set:function(a){this._view.maxTrailingPages=Math.max(0,Math.floor(a))}},pagesToLoad:{get:function(){return 2*J._VirtualizeContentsView._defaultPagesToPrefetch+1},set:function(){r._deprecated(C.pagesToLoadIsDeprecated)}},pagesToLoadThreshold:{get:function(){return 0},set:function(){r._deprecated(C.pagesToLoadThresholdIsDeprecated)}},groupDataSource:{get:function(){return this._groupDataSource},set:function(a){function b(a){a.detail===w.DataSourceStatus.failure&&(c.itemDataSource=null,c.groupDataSource=null)}this._writeProfilerMark("set_groupDataSource,info");var c=this;this._groupDataSource&&this._groupDataSource.removeEventListener&&this._groupDataSource.removeEventListener("statuschanged",b,!1),this._groupDataSource=a,this._groupFocusCache=a&&this._supportsGroupHeaderKeyboarding?new D._GroupFocusCache(this):new D._UnsupportedGroupFocusCache,this._groupDataSource&&this._groupDataSource.addEventListener&&this._groupDataSource.addEventListener("statuschanged",b,!1),this._createGroupsContainer(),this._runningInit?(this._updateGroupWork(),this._resetLayout()):(this._view.reset(),this._pendingLayoutReset=!0,this._pendingGroupWork=!0,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0,!0))}},_updateGroupWork:function(){this._pendingGroupWork=!1,this._groupDataSource?r.addClass(this._element,z._groupsClass):r.removeClass(this._element,z._groupsClass),this._resetLayout()},automaticallyLoadPages:{get:function(){return!1},set:function(){r._deprecated(C.automaticallyLoadPagesIsDeprecated)}},loadingBehavior:{get:function(){return"randomAccess"},set:function(){r._deprecated(C.loadingBehaviorIsDeprecated)}},selectionMode:{get:function(){return this._selectionMode},set:function(a){if("string"==typeof a&&a.match(/^(none|single|multi)$/)){if(c.isPhone&&a===w.SelectionMode.single)return;return this._selectionMode=a,this._element.setAttribute("aria-multiselectable",this._multiSelection()),this._updateItemsAriaRoles(),void this._configureSelectionMode()}throw new d("WinJS.UI.ListView.ModeIsInvalid",C.modeIsInvalid)}},tapBehavior:{get:function(){return this._tap},set:function(a){c.isPhone&&a===w.TapBehavior.directSelect||(this._tap=a,this._updateItemsAriaRoles(),this._configureSelectionMode())}},groupHeaderTapBehavior:{get:function(){return this._groupHeaderTap},set:function(a){this._groupHeaderTap=a,this._updateGroupHeadersAriaRoles()}},swipeBehavior:{get:function(){return"none"},set:function(a){r._deprecated(C.swipeBehaviorDeprecated)}},itemDataSource:{get:function(){return this._itemsManager.dataSource},set:function(a){this._writeProfilerMark("set_itemDataSource,info"),this._dataSource=a||(new l.List).dataSource,this._groupFocusCache.clear(),this._runningInit||(this._selection._reset(),this._cancelAsyncViewWork(!0),this._updateItemsManager(),this._pendingLayoutReset=!0,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0,!0))}},itemTemplate:{get:function(){return this._itemRenderer},set:function(a){this._setRenderer(a,!1),this._runningInit||(this._cancelAsyncViewWork(!0),this._updateItemsManager(),this._pendingLayoutReset=!0,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0,!0))}},resetItem:{get:function(){return this._itemRelease},set:function(a){r._deprecated(C.resetItemIsDeprecated),this._itemRelease=a}},groupHeaderTemplate:{get:function(){return this._groupHeaderRenderer},set:function(a){this._setRenderer(a,!0),this._runningInit||(this._cancelAsyncViewWork(!0),this._pendingLayoutReset=!0,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.medium,0,!0))}},resetGroupHeader:{get:function(){return this._groupHeaderRelease},set:function(a){r._deprecated(C.resetGroupHeaderIsDeprecated),this._groupHeaderRelease=a}},header:{get:function(){return this._header},set:function(a){r.empty(this._headerContainer),this._header=a,a&&(this._header.tabIndex=this._tabIndex,this._headerContainer.appendChild(a));var b=this._selection._getFocused();if(b.type===w.ObjectType.header){var c=b;a||(c={type:w.ObjectType.item,index:0}),this._hasKeyboardFocus?this._changeFocus(c,!0,!1,!0):this._changeFocusPassively(c)}this.recalculateItemPosition(),this._raiseHeaderFooterVisibilityEvent()}},footer:{get:function(){return this._footer},set:function(a){r.empty(this._footerContainer),this._footer=a,a&&(this._footer.tabIndex=this._tabIndex,this._footerContainer.appendChild(a));var b=this._selection._getFocused();if(b.type===w.ObjectType.footer){var c=b;a||(c={type:w.ObjectType.item,index:0}),this._hasKeyboardFocus?this._changeFocus(c,!0,!1,!0):this._changeFocusPassively(c)}this.recalculateItemPosition(),this._raiseHeaderFooterVisibilityEvent()}},loadingState:{get:function(){return this._loadingState}},selection:{get:function(){return this._selection}},indexOfFirstVisible:{get:function(){return this._view.firstIndexDisplayed},set:function(a){if(!(0>a)){this._writeProfilerMark("set_indexOfFirstVisible("+a+"),info"),this._raiseViewLoading(!0);var b=this;this._batchViewUpdates(z._ViewChange.realize,z._ScrollToPriority.high,function(){var c;return b._entityInRange({type:w.ObjectType.item,index:a}).then(function(a){return a.inRange?b._getItemOffset({type:w.ObjectType.item,index:a.index}).then(function(a){return c=a,b._ensureFirstColumnRange(w.ObjectType.item)}).then(function(){return c=b._correctRangeInFirstColumn(c,w.ObjectType.item),c=b._convertFromCanvasCoordinates(c),b._view.waitForValidScrollPosition(c.begin)}).then(function(a){var c=ac)){this._raiseViewLoading(!0);var d=this;this._batchViewUpdates(z._ViewChange.realize,z._ScrollToPriority.high,function(){var a;return d._entityInRange({type:b,index:c}).then(function(c){return c.inRange?d._getItemOffset({type:b,index:c.index}).then(function(c){return a=c,d._ensureFirstColumnRange(b)}).then(function(){a=d._correctRangeInFirstColumn(a,b);var e=d._getViewportLength(),f=d._viewportScrollPosition,g=f+e,h=d._viewportScrollPosition,i=a.end-a.begin;a=d._convertFromCanvasCoordinates(a);var j=!1;if(b===w.ObjectType.groupHeader&&f<=a.begin){var k=d._groups.group(c.index).header;if(k){var l,m=H._getMargins(k);if(d._horizontalLayout){var n=d._rtl(),o=n?M(k)-m.right:k.offsetLeft-m.left;l=o+k.offsetWidth+(n?m.left:m.right)}else l=k.offsetTop+k.offsetHeight+m.top;j=g>=l}}j||(i>=g-f?h=a.begin:a.beging&&(h=a.end-e));var p=h=0&&b>c,index:c}});if(a.type===w.ObjectType.groupHeader){var b=r._clamp(a.index,0,this._groups.length()-1);return m.wrap({inRange:b>=0&&bb;b++)this._insertedItems[a[b]].release();this._insertedItems={},this._modifiedElements=[],this._countDifference=0},_cancelAsyncViewWork:function(a){this._view.stopWork(a)},_updateView:function(){function a(){c._itemsBlockExtent=-1,c._firstItemRange=null,c._firstHeaderRange=null,c._itemMargins=null,c._headerMargins=null,c._canvasMargins=null,c._cachedRTL=null,c._rtl()}function b(){c._scrollToPriority=z._ScrollToPriority.uninitialized;var a=c._setScrollbarPosition;c._setScrollbarPosition=!1;var b="number"==typeof c._scrollToFunctor?{position:c._scrollToFunctor}:c._scrollToFunctor();return m.as(b).then(function(b){return b=b||{},a&&+b.position===b.position&&(c._lastScrollPosition=b.position,c._viewportScrollPosition=b.position),b},function(b){return c._setScrollbarPosition|=a,m.wrapError(b)})}if(!this._isZombie()){var c=this,d=this._viewChange;this._viewChange=z._ViewChange.realize,d===z._ViewChange.rebuild?(this._pendingGroupWork&&this._updateGroupWork(),this._pendingLayoutReset&&this._resetLayout(),a(),this._firstTimeDisplayed||this._view.reset(),this._view.reload(b,!0),this._setFocusOnItem(this._selection._getFocused()),this._headerFooterVisibilityStatus={headerVisible:!1,footerVisible:!1}):d===z._ViewChange.remeasure?(this._view.resetItems(!0),this._resetLayout(),a(),this._view.refresh(b),this._setFocusOnItem(this._selection._getFocused()),this._headerFooterVisibilityStatus={headerVisible:!1,footerVisible:!1}):d===z._ViewChange.relayout?(this._pendingLayoutReset&&(this._resetLayout(),a()),this._view.refresh(b)):(this._view.onScroll(b),this._raiseHeaderFooterVisibilityEvent())}},_batchViewUpdates:function(a,b,c,d,e){if(this._viewChange=Math.min(this._viewChange,a),(null===this._scrollToFunctor||b>=this._scrollToPriority)&&(this._scrollToPriority=b,this._scrollToFunctor=c),this._setScrollbarPosition|=!!d,!this._batchingViewUpdates){this._raiseViewLoading();var f=this;this._batchingViewUpdatesSignal=new o,this._batchingViewUpdates=m.any([this._batchingViewUpdatesSignal.promise,n.schedulePromiseHigh(null,"WinJS.UI.ListView._updateView")]).then(function(){return f._isZombie()?void 0:f._viewChange!==z._ViewChange.rebuild||f._firstTimeDisplayed||0===Object.keys(f._view.items._itemData).length||e?void 0:f._fadeOutViewport()}).then(function(){f._batchingViewUpdates=null,f._batchingViewUpdatesSignal=null,f._updateView(),f._firstTimeDisplayed=!1},function(){f._batchingViewUpdates=null,f._batchingViewUpdatesSignal=null})}return this._batchingViewUpdatesSignal},_resetCanvas:function(){if(!this._disposed){var b=a.document.createElement("div");b.className=this._canvas.className,this._viewport.replaceChild(b,this._canvas),this._canvas=b,this._groupsToRemove={},this._canvas.appendChild(this._canvasProxy)}},_setupInternalTree:function(){r.addClass(this._element,z._listViewClass),r[this._rtl()?"addClass":"removeClass"](this._element,z._rtlListViewClass),this._element.innerHTML='
',this._viewport=this._element.firstElementChild, -this._headerContainer=this._viewport.firstElementChild,r.addClass(this._headerContainer,z._listHeaderContainerClass),this._canvas=this._headerContainer.nextElementSibling,this._footerContainer=this._canvas.nextElementSibling,r.addClass(this._footerContainer,z._listFooterContainerClass),this._canvasProxy=this._canvas.firstElementChild,this._deleteWrapper=this._canvas.nextElementSibling,this._keyboardEventsHelper=this._viewport.nextElementSibling,this._tabIndex=r.getTabIndex(this._element),this._tabIndex<0&&(this._tabIndex=0),this._tabManager=new v.TabContainer(this._viewport),this._tabManager.tabIndex=this._tabIndex,this._progressBar=a.document.createElement("progress"),r.addClass(this._progressBar,z._progressClass),r.addClass(this._progressBar,"win-progress-ring"),this._progressBar.style.position="absolute",this._progressBar.max=100},_unsetFocusOnItem:function(b){this._tabManager.childFocus&&this._clearFocusRectangle(this._tabManager.childFocus),this._isZombie()||(b||(this._tabManager.childFocus&&(this._tabManager.childFocus=null),this._keyboardEventsHelper._shouldHaveFocus=!1,a.document.activeElement!==this._viewport&&this._hasKeyboardFocus&&(this._keyboardEventsHelper._shouldHaveFocus=!0,r._setActive(this._keyboardEventsHelper))),this._itemFocused=!1)},_setFocusOnItem:function(a){if(this._writeProfilerMark("_setFocusOnItem,info"),this._focusRequest&&this._focusRequest.cancel(),!this._isZombie()){var b=this,c=function(c){b._isZombie()||(b._tabManager.childFocus!==c&&(b._tabManager.childFocus=c),b._focusRequest=null,b._hasKeyboardFocus&&!b._itemFocused&&(b._selection._keyboardFocused()&&b._drawFocusRectangle(c),(a.type===w.ObjectType.groupHeader||a.type===w.ObjectType.item)&&b._view.updateAriaForAnnouncement(c,a.type===w.ObjectType.groupHeader?b._groups.length():b._cachedCount),b._itemFocused=!0,r._setActive(c)))};a.type===w.ObjectType.item?this._focusRequest=this._view.items.requestItem(a.index):a.type===w.ObjectType.groupHeader?this._focusRequest=this._groups.requestHeader(a.index):this._focusRequest=m.wrap(a.type===w.ObjectType.header?this._header:this._footer),this._focusRequest.then(c)}},_attachEvents:function(){function a(a,b,c){return{name:b?a:a.toLowerCase(),handler:function(b){d["_on"+a](b)},capture:c}}function b(a,b,c){return{capture:c,name:b?a:a.toLowerCase(),handler:function(b){var c=d._mode,e="on"+a;!d._disposed&&c[e]&&c[e](b)}}}function c(a,b){return{handler:function(b){d["_on"+a](b)},filter:b}}var d=this,e=[c("PropertyChange",["dir","style","tabindex"])];this._cachedStyleDir=this._element.style.direction,e.forEach(function(a){new r._MutationObserver(a.handler).observe(d._element,{attributes:!0,attributeFilter:a.filter})});var f=[b("PointerDown"),b("click",!1),b("PointerUp"),b("LostPointerCapture"),b("MSHoldVisual",!0),b("PointerCancel",!0),b("DragStart"),b("DragOver"),b("DragEnter"),b("DragLeave"),b("Drop"),b("ContextMenu")];f.forEach(function(a){r._addEventListener(d._viewport,a.name,a.handler,!!a.capture)});var g=[a("FocusIn",!1,!1),a("FocusOut",!1,!1),b("KeyDown"),b("KeyUp")];g.forEach(function(a){r._addEventListener(d._element,a.name,a.handler,!!a.capture)}),this._onElementResizeBound=this._onElementResize.bind(this),r._resizeNotifier.subscribe(this._element,this._onElementResizeBound),this._elementResizeInstrument=new y._ElementResizeInstrument,this._element.appendChild(this._elementResizeInstrument.element),this._elementResizeInstrument.addEventListener("resize",this._onElementResizeBound),r._inDom(this.element).then(function(){d._disposed||d._elementResizeInstrument.addedToDom()});var h=[a("MSManipulationStateChanged",!0),a("Scroll")];h.forEach(function(a){d._viewport.addEventListener(a.name,a.handler,!1)}),this._viewport.addEventListener("onTabEnter",this._onTabEnter.bind(this)),this._viewport.addEventListener("onTabExit",this._onTabExit.bind(this)),this._viewport.addEventListener("onTabEntered",function(a){d._mode.onTabEntered(a)}),this._viewport.addEventListener("onTabExiting",function(a){d._mode.onTabExiting(a)})},_updateItemsManager:function(){function a(a){a.detail===w.DataSourceStatus.failure&&(b.itemDataSource=null,b.groupDataSource=null)}var b=this,c={beginNotifications:function(){},changed:function(a,c){if(!b._ifZombieDispose()){b._createUpdater();var d=b._updater.elements[R(c)];if(d){var e=b.selection._isIncluded(d.index);if(e&&(b._updater.updateDrag=!0),c!==a){if((b._tabManager.childFocus===c||b._updater.newFocusedItem===c)&&(b._updater.newFocusedItem=a,b._tabManager.childFocus=null),d.itemBox){r.addClass(a,z._itemClass),b._setupAriaSelectionObserver(a);var f=c.nextElementSibling;d.itemBox.removeChild(c),d.itemBox.insertBefore(a,f)}b._setAriaSelected(a,e),b._view.items.setItemAt(d.newIndex,{element:a,itemBox:d.itemBox,container:d.container,itemsManagerRecord:d.itemsManagerRecord}),delete b._updater.elements[R(c)],q._disposeElement(c),b._updater.elements[R(a)]={item:a,container:d.container,itemBox:d.itemBox,index:d.index,newIndex:d.newIndex,itemsManagerRecord:d.itemsManagerRecord}}else d.itemBox&&d.container&&(A._ItemEventsHandler.renderSelection(d.itemBox,a,e,!0),r[e?"addClass":"removeClass"](d.container,z._selectedClass));b._updater.changed=!0}for(var g=0,h=b._notificationHandlers.length;h>g;g++)b._notificationHandlers[g].changed(a,c);b._writeProfilerMark("changed,info")}},removed:function(a,c,d){function e(a){b._updater.updateDrag=!0,b._currentMode()._dragging&&b._currentMode()._draggingUnselectedItem&&b._currentMode()._dragInfo._isIncluded(a)&&(b._updater.newDragInfo=new I._Selection(b,[]));var c=b._updater.selectionFirst[a],d=b._updater.selectionLast[a],e=c||d;e&&(delete b._updater.selectionFirst[e.oldFirstIndex],delete b._updater.selectionLast[e.oldLastIndex],b._updater.selectionChanged=!0)}if(!b._ifZombieDispose()){b._createUpdater();var f=b._insertedItems[d];f&&delete b._insertedItems[d];var g;if(a){var h=b._updater.elements[R(a)],i=b._itemsManager.itemObject(a);if(i&&b._groupFocusCache.deleteItem(i.key),h){if(g=h.index,h.itemBox){var j=h.itemBox,k=z._containerOddClass,l=z._containerEvenClass,m=r.hasClass(j.parentElement,l)?l:k;b._updater.removed.push({index:g,itemBox:j,containerStripe:m})}b._updater.deletesCount++;var n=b._view.items.itemDataAt(g);n.removed=!0,delete b._updater.elements[R(a)]}else g=i&&i.index;b._updater.oldFocus.type!==w.ObjectType.groupHeader&&b._updater.oldFocus.index===g&&(b._updater.newFocus.index=g,b._updater.focusedItemRemoved=!0),e(g)}else g=b._updater.selectionHandles[d],g===+g&&e(g);b._writeProfilerMark("removed("+g+"),info"),b._updater.changed=!0}},updateAffectedRange:function(a){b._itemsCount().then(function(c){var d=b._view.containers?b._view.containers.length:0;a.start=Math.min(a.start,d),b._affectedRange.add(a,c)}),b._createUpdater(),b._updater.changed=!0},indexChanged:function(a,c,d){if(!b._ifZombieDispose()){if(b._createUpdater(),a){var e=b._itemsManager.itemObject(a);e&&b._groupFocusCache.updateItemIndex(e.key,c);var f=b._updater.elements[R(a)];f&&(f.newIndex=c,b._updater.changed=!0),b._updater.itemsMoved=!0}b._currentMode()._dragging&&b._currentMode()._draggingUnselectedItem&&b._currentMode()._dragInfo._isIncluded(d)&&(b._updater.newDragInfo=new I._Selection(b,[{firstIndex:c,lastIndex:c}]),b._updater.updateDrag=!0),b._updater.oldFocus.type!==w.ObjectType.groupHeader&&b._updater.oldFocus.index===d&&(b._updater.newFocus.index=c,b._updater.changed=!0),b._updater.oldSelectionPivot===d&&(b._updater.newSelectionPivot=c,b._updater.changed=!0);var g=b._updater.selectionFirst[d];g&&(g.newFirstIndex=c,b._updater.changed=!0,b._updater.selectionChanged=!0,b._updater.updateDrag=!0),g=b._updater.selectionLast[d],g&&(g.newLastIndex=c,b._updater.changed=!0,b._updater.selectionChanged=!0,b._updater.updateDrag=!0)}},endNotifications:function(){b._update()},inserted:function(a){b._ifZombieDispose()||(b._writeProfilerMark("inserted,info"),b._createUpdater(),b._updater.changed=!0,a.retain(),b._updater.insertsCount++,b._insertedItems[a.handle]=a)},moved:function(a,c,d,e){if(!b._ifZombieDispose()){if(b._createUpdater(),b._updater.movesCount++,a){b._updater.itemsMoved=!0;var f=b._updater.elements[R(a)];f&&(f.moved=!0)}var g=b._updater.selectionHandles[e.handle];if(g===+g){b._updater.updateDrag=!0,b._updater.selectionChanged=!0,b._updater.changed=!0;var h=b._updater.selectionFirst[g],i=b._updater.selectionLast[g],j=h||i;j&&j.oldFirstIndex!==j.oldLastIndex&&(delete b._updater.selectionFirst[j.oldFirstIndex],delete b._updater.selectionLast[j.oldLastIndex])}b._writeProfilerMark("moved("+g+"),info")}},countChanged:function(a,c){b._ifZombieDispose()||(b._writeProfilerMark("countChanged("+a+"),info"),b._cachedCount=a,b._createUpdater(),b._view.lastIndexDisplayed+1===c&&(b._updater.changed=!0),b._updater.countDifference+=a-c)},reload:function(){b._ifZombieDispose()||(b._writeProfilerMark("reload,info"),b._processReload())}};this._versionManager&&this._versionManager._dispose(),this._versionManager=new x._VersionManager,this._updater=null;var d=this._selection.getRanges();this._selection._selected.clear(),this._itemsManager&&(this._itemsManager.dataSource&&this._itemsManager.dataSource.removeEventListener&&this._itemsManager.dataSource.removeEventListener("statuschanged",a,!1),this._clearInsertedItems(),this._itemsManager.release()),this._itemsCountPromise&&(this._itemsCountPromise.cancel(),this._itemsCountPromise=null),this._cachedCount=z._UNINITIALIZED,this._itemsManager=t._createItemsManager(this._dataSource,this._renderWithoutReuse.bind(this),c,{ownerElement:this._element,versionManager:this._versionManager,indexInView:function(a){return a>=b.indexOfFirstVisible&&a<=b.indexOfLastVisible},viewCallsReady:!0,profilerId:this._id}),this._dataSource.addEventListener&&this._dataSource.addEventListener("statuschanged",a,!1),this._selection._selected.set(d)},_processReload:function(){this._affectedRange.addAll(),this._cancelAsyncViewWork(!0),this._currentMode()._dragging&&this._currentMode()._clearDragProperties(),this._groupFocusCache.clear(),this._selection._reset(),this._updateItemsManager(),this._pendingLayoutReset=!0,this._batchViewUpdates(z._ViewChange.rebuild,z._ScrollToPriority.low,this.scrollPosition)},_createUpdater:function(){if(!this._updater){this.itemDataSource._isVirtualizedDataSource&&this._affectedRange.addAll(),this._versionManager.beginUpdating(),this._cancelAsyncViewWork();var a={changed:!1,elements:{},selectionFirst:{},selectionLast:{},selectionHandles:{},oldSelectionPivot:{type:w.ObjectType.item,index:z._INVALID_INDEX},newSelectionPivot:{type:w.ObjectType.item,index:z._INVALID_INDEX},removed:[],selectionChanged:!1,oldFocus:{type:w.ObjectType.item,index:z._INVALID_INDEX},newFocus:{type:w.ObjectType.item,index:z._INVALID_INDEX},hadKeyboardFocus:this._hasKeyboardFocus,itemsMoved:!1,lastVisible:this.indexOfLastVisible,updateDrag:!1,movesCount:0,insertsCount:0,deletesCount:0,countDifference:0};this._view.items.each(function(b,c,d){a.elements[R(c)]={item:c,container:d.container,itemBox:d.itemBox,index:b,newIndex:b,itemsManagerRecord:d.itemsManagerRecord,detached:d.detached}});for(var b=this._selection._selected._ranges,c=0,d=b.length;d>c;c++){var e=b[c],f={newFirstIndex:b[c].firstIndex,oldFirstIndex:b[c].firstIndex,newLastIndex:b[c].lastIndex,oldLastIndex:b[c].lastIndex};a.selectionFirst[f.oldFirstIndex]=f,a.selectionLast[f.oldLastIndex]=f,a.selectionHandles[e.firstPromise.handle]=f.oldFirstIndex,a.selectionHandles[e.lastPromise.handle]=f.oldLastIndex}a.oldSelectionPivot=this._selection._pivot,a.newSelectionPivot=a.oldSelectionPivot,a.oldFocus=this._selection._getFocused(),a.newFocus=this._selection._getFocused(),this._updater=a}},_synchronize:function(){var a=this._updater;if(this._updater=null,this._groupsChanged=!1,this._countDifference=this._countDifference||0,a&&a.changed){a.itemsMoved&&this._layout.itemsMoved&&this._layout.itemsMoved(),a.removed.length&&this._layout.itemsRemoved&&this._layout.itemsRemoved(a.removed.map(function(a){return a.itemBox})),(a.itemsMoved||a.removed.length||Object.keys(this._insertedItems).length)&&this._layout.setupAnimations&&this._layout.setupAnimations(),this._currentMode().onDataChanged&&this._currentMode().onDataChanged();var b=[];for(var c in a.selectionFirst)if(a.selectionFirst.hasOwnProperty(c)){var d=a.selectionFirst[c];a.selectionChanged=a.selectionChanged||d.newLastIndex-d.newFirstIndex!==d.oldLastIndex-d.oldFirstIndex,d.newFirstIndex<=d.newLastIndex&&b.push({firstIndex:d.newFirstIndex,lastIndex:d.newLastIndex})}if(a.selectionChanged){var e=new I._Selection(this,b);this._selection._fireSelectionChanging(e),this._selection._selected.set(b),this._selection._fireSelectionChanged(),e.clear()}else this._selection._selected.set(b);this._selection._updateCount(this._cachedCount),a.newSelectionPivot=Math.min(this._cachedCount-1,a.newSelectionPivot),this._selection._pivot=a.newSelectionPivot>=0?a.newSelectionPivot:z._INVALID_INDEX,a.newFocus.type!==w.ObjectType.groupHeader&&(a.newFocus.index=Math.max(0,Math.min(this._cachedCount-1,a.newFocus.index))),this._selection._setFocused(a.newFocus,this._selection._keyboardFocused());var f=this._modifiedElements||[],g={};for(this._modifiedElements=[],this._countDifference+=a.countDifference,c=0;c0&&o._updateDeleteWrapperSize(),o._view.updateTree(o._cachedCount,o._countDifference,o._modifiedElements)}).then(function(){return o._lastScrollPosition})}this._countDifference+=a?a.countDifference:0;var o=this;return this._groups.synchronizeGroups().then(function(){return a&&o._versionManager.endUpdating(),o._view.updateTree(o._cachedCount,o._countDifference,o._modifiedElements)}).then(function(){return o.scrollPosition})},_updateDeleteWrapperSize:function(a){var b=this._horizontal()?"width":"height";this._deleteWrapper.style["min-"+b]=(a?0:this.scrollPosition+this._getViewportSize()[b])+"px"},_verifyRealizationNeededForChange:function(){var a=!1,b=(this._view.lastIndexDisplayed||0)-(this._view.firstIndexDisplayed||0),c=this._updater&&0===this._updater.movesCount&&0===this._updater.insertsCount&&this._updater.deletesCount>0&&this._updater.deletesCount===Math.abs(this._updater.countDifference);if(c&&this._updater.elements)for(var d=Object.keys(this._updater.elements),e=0,f=d.length;f>e;e++){var g=this._updater.elements[d[e]],h=g.index-g.newIndex;if(0>h||h>this._updater.deletesCount){c=!1;break}}this._view.deletesWithoutRealize=this._view.deletesWithoutRealize||0,c&&this._view.lastIndexDisplayed ("+a+"x"+b+"),info"),this._previousWidth=a,this._previousHeight=b,this._resizeViewport();var c=this;this._affectedRange.addAll(),this._batchViewUpdates(z._ViewChange.relayout,z._ScrollToPriority.low,function(){return{position:c.scrollPosition,direction:"right"}})}}},n.Priority.max,this,"WinJS.UI.ListView._onElementResize")},_onFocusIn:function(a){function b(a){c._changeFocus(c._selection._getFocused(),!0,!1,!1,a)}this._hasKeyboardFocus=!0;var c=this;if(a.target===this._keyboardEventsHelper)!this._keyboardEventsHelper._shouldHaveFocus&&this._keyboardFocusInbound?b(!0):this._keyboardEventsHelper._shouldHaveFocus=!1;else if(a.target===this._element)b();else{if(this._mode.inboundFocusHandled)return void(this._mode.inboundFocusHandled=!1);var d=this._view.items,e={},f=this._getHeaderOrFooterFromElement(a.target),g=null;if(f?(e.index=0,e.type=f===this._header?w.ObjectType.header:w.ObjectType.footer,this._lastFocusedElementInGroupTrack=e):(f=this._groups.headerFrom(a.target),f?(e.type=w.ObjectType.groupHeader,e.index=this._groups.index(f),this._lastFocusedElementInGroupTrack=e):(e.index=d.index(a.target),e.type=w.ObjectType.item,f=d.itemBoxAt(e.index),g=d.itemAt(e.index))),e.index!==z._INVALID_INDEX&&((this._keyboardFocusInbound||this._selection._keyboardFocused())&&(e.type===w.ObjectType.groupHeader&&a.target===f||e.type===w.ObjectType.item&&a.target.parentNode===f)&&this._drawFocusRectangle(f),this._tabManager.childFocus!==f&&this._tabManager.childFocus!==g&&(this._selection._setFocused(e,this._keyboardFocusInbound||this._selection._keyboardFocused()),this._keyboardFocusInbound=!1,e.type===w.ObjectType.item&&(f=d.itemAt(e.index)),this._tabManager.childFocus=f,c._updater))){var h=c._updater.elements[R(f)],i=e.index;h&&h.newIndex&&(i=h.newIndex),c._updater.oldFocus={type:e.type,index:i},c._updater.newFocus={type:e.type,index:i}}}},_onFocusOut:function(a){if(!this._disposed){this._hasKeyboardFocus=!1,this._itemFocused=!1;var b=this._view.items.itemBoxFrom(a.target)||this._groups.headerFrom(a.target);b&&this._clearFocusRectangle(b)}},_onMSManipulationStateChanged:function(a){function b(){c._manipulationEndSignal=null}var c=this;this._manipulationState=a.currentState,c._writeProfilerMark("_onMSManipulationStateChanged state("+a.currentState+"),info"),this._manipulationState===r._MSManipulationEvent.MS_MANIPULATION_STATE_STOPPED||this._manipulationEndSignal||(this._manipulationEndSignal=new o,this._manipulationEndSignal.promise.done(b,b)),this._manipulationState===r._MSManipulationEvent.MS_MANIPULATION_STATE_STOPPED&&this._manipulationEndSignal.complete()},_pendingScroll:!1,_onScroll:function(){this._zooming||this._pendingScroll||this._checkScroller()},_checkScroller:function(){if(!this._isZombie()){var a=this._viewportScrollPosition;if(a!==this._lastScrollPosition){this._pendingScroll=c._requestAnimationFrame(this._checkScroller.bind(this)),a=Math.max(0,a);var b=this._scrollDirection(a);this._lastScrollPosition=a,this._raiseViewLoading(!0),this._raiseHeaderFooterVisibilityEvent();var d=this;this._view.onScroll(function(){return{position:d._lastScrollPosition,direction:b}},this._manipulationEndSignal?this._manipulationEndSignal.promise:m.timeout(z._DEFERRED_SCROLL_END))}else this._pendingScroll=null}},_scrollDirection:function(a){var b=a=0&&(b._view.items.each(function(a,b){b.tabIndex=d}),b._header&&(b._header.tabIndex=d),b._footer&&(b._footer.tabIndex=d),b._tabIndex=d,b._tabManager.tabIndex=d,b._element.tabIndex=-1)}})},_getCanvasMargins:function(){return this._canvasMargins||(this._canvasMargins=H._getMargins(this._canvas)),this._canvasMargins},_convertCoordinatesByCanvasMargins:function(a,b){function c(c,d){void 0!==a[c]&&(a[c]=b(a[c],d))}var d;return this._horizontal()?(d=this._getCanvasMargins()[this._rtl()?"right":"left"],c("left",d)):(d=this._getCanvasMargins().top,c("top",d)),c("begin",d),c("end",d),a},_convertFromCanvasCoordinates:function(a){return this._convertCoordinatesByCanvasMargins(a,function(a,b){return a+b})},_convertToCanvasCoordinates:function(a){return this._convertCoordinatesByCanvasMargins(a,function(a,b){return a-b})},_getViewportSize:function(){return(this._viewportWidth===z._UNINITIALIZED||this._viewportHeight===z._UNINITIALIZED)&&(this._viewportWidth=Math.max(0,r.getContentWidth(this._element)),this._viewportHeight=Math.max(0,r.getContentHeight(this._element)),this._writeProfilerMark("viewportSizeDetected width:"+this._viewportWidth+" height:"+this._viewportHeight),this._previousWidth=this._element.offsetWidth,this._previousHeight=this._element.offsetHeight),{width:this._viewportWidth,height:this._viewportHeight}},_itemsCount:function(){function a(){b._itemsCountPromise=null}var b=this;if(this._cachedCount!==z._UNINITIALIZED)return m.wrap(this._cachedCount);var c;return this._itemsCountPromise?c=this._itemsCountPromise:(c=this._itemsCountPromise=this._itemsManager.dataSource.getCount().then(function(a){return a===w.CountResult.unknown&&(a=0),b._cachedCount=a,b._selection._updateCount(b._cachedCount),a},function(){return m.cancel}),this._itemsCountPromise.then(a,a)),c},_isSelected:function(a){return this._selection._isIncluded(a)},_LoadingState:{itemsLoading:"itemsLoading",viewPortLoaded:"viewPortLoaded",itemsLoaded:"itemsLoaded",complete:"complete"},_raiseViewLoading:function(a){this._loadingState!==this._LoadingState.itemsLoading&&(this._scrolling=!!a),this._setViewState(this._LoadingState.itemsLoading)},_raiseViewComplete:function(){this._disposed||this._view.animating||this._setViewState(this._LoadingState.complete)},_raiseHeaderFooterVisibilityEvent:function(){var b=this,c=function(a){if(!a)return!1;var c=b._lastScrollPosition,d=a[b._horizontal()?"offsetLeft":"offsetTop"],e=a[b._horizontal()?"offsetWidth":"offsetHeight"];return d+e>c&&dd;d++){var f=a[d];c[f]=!0}this._view.items.each(function(a,d,e){if(e.itemBox){var f=b||!!c[a];A._ItemEventsHandler.renderSelection(e.itemBox,d,f,!0),e.container&&r[f?"addClass":"removeClass"](e.container,z._selectedClass)}})},_getViewportLength:function(){return this._getViewportSize()[this._horizontal()?"width":"height"]},_horizontal:function(){return this._horizontalLayout},_rtl:function(){return"boolean"!=typeof this._cachedRTL&&(this._cachedRTL="rtl"===r._getComputedStyle(this._element,null).direction),this._cachedRTL},_showProgressBar:function(a,b,c){var d=this._progressBar,e=d.style;if(!d.parentNode){this._fadingProgressBar=!1,this._progressIndicatorDelayTimer&&this._progressIndicatorDelayTimer.cancel();var f=this;this._progressIndicatorDelayTimer=m.timeout(z._LISTVIEW_PROGRESS_DELAY).then(function(){f._isZombie()||(a.appendChild(d),j.fadeIn(d),f._progressIndicatorDelayTimer=null)})}e[this._rtl()?"right":"left"]=b,e.top=c},_hideProgressBar:function(){this._progressIndicatorDelayTimer&&(this._progressIndicatorDelayTimer.cancel(),this._progressIndicatorDelayTimer=null);var a=this._progressBar;if(a.parentNode&&!this._fadingProgressBar){this._fadingProgressBar=!0;var b=this;j.fadeOut(a).then(function(){a.parentNode&&a.parentNode.removeChild(a),b._fadingProgressBar=!1})}},_getPanAxis:function(){ -return this._horizontal()?"horizontal":"vertical"},_configureForZoom:function(a,b,e){if(c.validation&&(!this._view.realizePage||"number"!=typeof this._view.begin))throw new d("WinJS.UI.ListView.NotCompatibleWithSemanticZoom",S.notCompatibleWithSemanticZoom);this._isZoomedOut=a,this._disableEntranceAnimation=!b,this._isCurrentZoomView=b,this._triggerZoom=e},_setCurrentItem:function(a,b){this._rtl()&&(a=this._viewportWidth-a),this._horizontal()?a+=this.scrollPosition:b+=this.scrollPosition;var c=this._view.hitTest(a,b),d={type:c.type?c.type:w.ObjectType.item,index:c.index};d.index>=0&&(this._hasKeyboardFocus?this._changeFocus(d,!0,!1,!0):this._changeFocusPassively(d))},_getCurrentItem:function(){var a=this._selection._getFocused();a.type===w.ObjectType.groupHeader?a={type:w.ObjectType.item,index:this._groups.group(a.index).startIndex}:a.type!==w.ObjectType.item&&(a={type:w.ObjectType.item,index:a.type===w.ObjectType.header?0:this._cachedCount}),"number"!=typeof a.index&&(this._setCurrentItem(.5*this._viewportWidth,.5*this._viewportHeight),a=this._selection._getFocused());var b=this,c=this._getItemOffsetPosition(a.index).then(function(a){var c=b._canvasStart;return a[b._startProperty]+=c,a});return m.join({item:this._dataSource.itemFromIndex(a.index),position:c})},_animateItemsForPhoneZoom:function(){function a(a,b,c){return function(d){return(b[d]-a)*c}}function b(){for(var a=0,b=c.length;b>a;a++)c[a].style[O.scriptName]=""}for(var c=[],d=[],e=[],f=Number.MAX_VALUE,g=this,h=this._view.firstIndexDisplayed,i=Math.min(this._cachedCount,this._view.lastIndexDisplayed+1);i>h;h++)e.push(this._view.waitForEntityPosition({type:w.ObjectType.item,index:h}).then(function(){c.push(g._view.items.containerAt(h));var a=0;if(g.layout._getItemPosition){var b=g.layout._getItemPosition(h);b.row&&(a=b.row)}d.push(a),f=Math.min(a,f)}));return m.join(e).then(function(){return(0===c.length?m.wrap():k.executeTransition(c,{property:O.cssName,delay:a(f,d,30),duration:100,timing:"ease-in-out",from:g._isCurrentZoomView?"rotateX(0deg)":"rotateX(-90deg)",to:g._isCurrentZoomView?"rotateX(90deg)":"rotateX(0deg)"})).then(b,b)}).then(b,b)},_beginZoom:function(){this._zooming=!0;var a=null;if(c.isPhone){if(this._isZoomedOut)if(this._zoomAnimationPromise&&this._zoomAnimationPromise.cancel(),this._isCurrentZoomView){var b=this,d=function(){b._zoomAnimationPromise=null};this._zoomAnimationPromise=a=this._animateItemsForPhoneZoom().then(d,d)}else this._zoomAnimationPromise=new o,a=this._zoomAnimationPromise.promise}else{var e=this._horizontal(),f=-this.scrollPosition;r.addClass(this._viewport,e?z._zoomingXClass:z._zoomingYClass),this._canvasStart=f,r.addClass(this._viewport,e?z._zoomingYClass:z._zoomingXClass)}return a},_positionItem:function(a,b){function e(a){return f._getItemOffsetPosition(a).then(function(d){var e,g=f._horizontal(),h=f._viewport[g?"scrollWidth":"scrollHeight"],i=g?f._viewportWidth:f._viewportHeight,j=g?"headerContainerWidth":"headerContainerHeight",k=f.layout._sizes,l=0;k&&k[j]&&(l=k[j]);var m=c.isPhone?l:b[f._startProperty],n=i-(g?d.width:d.height);m=Math.max(0,Math.min(n,m)),e=d[f._startProperty]-m;var o=Math.max(0,Math.min(h-i,e)),p=o-e;e=o;var q={type:w.ObjectType.item,index:a};if(f._hasKeyboardFocus?f._changeFocus(q,!0):f._changeFocusPassively(q),f._raiseViewLoading(!0),c.isPhone)f._viewportScrollPosition=e;else{var r=-e;f._canvasStart=r}if(f._view.realizePage(e,!0),c.isPhone&&f._isZoomedOut){var s=function(){f._zoomAnimationPromise&&f._zoomAnimationPromise.complete&&f._zoomAnimationPromise.complete(),f._zoomAnimationPromise=null};f._animateItemsForPhoneZoom().then(s,s)}return g?{x:p,y:0}:{x:0,y:p}})}var f=this,g=0;if(a&&(g=this._isZoomedOut?a.groupIndexHint:a.firstItemIndexHint),"number"==typeof g)return e(g);var h,i=this._isZoomedOut?a.groupKey:a.firstItemKey;if("string"==typeof i&&this._dataSource.itemFromKey)h=this._dataSource.itemFromKey(i,this._isZoomedOut?{groupMemberKey:a.key,groupMemberIndex:a.index}:null);else{var j=this._isZoomedOut?a.groupDescription:a.firstItemDescription;if(c.validation&&void 0===j)throw new d("WinJS.UI.ListView.InvalidItem",S.listViewInvalidItem);h=this._dataSource.itemFromDescription(j)}return h.then(function(a){return e(a.index)})},_endZoom:function(a){if(!this._isZombie()){if(!c.isPhone){var b=this._canvasStart;r.removeClass(this._viewport,z._zoomingYClass),r.removeClass(this._viewport,z._zoomingXClass),this._canvasStart=0,this._viewportScrollPosition=-b}this._disableEntranceAnimation=!a,this._isCurrentZoomView=a,this._zooming=!1,this._view.realizePage(this.scrollPosition,!1)}},_getItemOffsetPosition:function(a){var b=this;return this._getItemOffset({type:w.ObjectType.item,index:a}).then(function(a){return b._ensureFirstColumnRange(w.ObjectType.item).then(function(){return a=b._correctRangeInFirstColumn(a,w.ObjectType.item),a=b._convertFromCanvasCoordinates(a),b._horizontal()?(a.left=a.begin,a.width=a.end-a.begin,a.height=a.totalHeight):(a.top=a.begin,a.height=a.end-a.begin,a.width=a.totalWidth),a})})},_groupRemoved:function(a){this._groupFocusCache.deleteGroup(a)},_updateFocusCache:function(a){this._updateFocusCacheItemRequest&&this._updateFocusCacheItemRequest.cancel();var b=this;this._updateFocusCacheItemRequest=this._view.items.requestItem(a).then(function(){b._updateFocusCacheItemRequest=null;var c=b._view.items.itemDataAt(a),d=b._groups.groupFromItem(a),e=b._groups.group(d).key;c.itemsManagerRecord.item&&b._groupFocusCache.updateCache(e,c.itemsManagerRecord.item.key,a)})},_changeFocus:function(a,b,c,d,e){if(!this._isZombie()){var f;if(a.type===w.ObjectType.item)f=this._view.items.itemAt(a.index),!b&&f&&r.hasClass(f,z._nonSelectableClass)&&(b=!0),this._updateFocusCache(a.index);else if(a.type===w.ObjectType.groupHeader){this._lastFocusedElementInGroupTrack=a;var g=this._groups.group(a.index);f=g&&g.header}else this._lastFocusedElementInGroupTrack=a,f=a.type===w.ObjectType.footer?this._footer:this._header;this._unsetFocusOnItem(!!f),this._hasKeyboardFocus=!0,this._selection._setFocused(a,e),d||this.ensureVisible(a),!b&&this._selectFocused(c)&&this._selection.set(a.index),this._setFocusOnItem(a)}},_changeFocusPassively:function(a){var b;switch(a.type){case w.ObjectType.item:b=this._view.items.itemAt(a.index),this._updateFocusCache(a.index);break;case w.ObjectType.groupHeader:this._lastFocusedElementInGroupTrack=a;var c=this._groups.group(a.index);b=c&&c.header;break;case w.ObjectType.header:this._lastFocusedElementInGroupTrack=a,b=this._header;break;case w.ObjectType.footer:this._lastFocusedElementInGroupTrack=a,b=this._footer}this._unsetFocusOnItem(!!b),this._selection._setFocused(a),this._setFocusOnItem(a)},_drawFocusRectangle:function(b){if(b!==this._header&&b!==this._footer)if(r.hasClass(b,z._headerClass))r.addClass(b,z._itemFocusClass);else{var c=this._view.items.itemBoxFrom(b);if(c.querySelector("."+z._itemFocusOutlineClass))return;r.addClass(c,z._itemFocusClass);var d=a.document.createElement("div");d.className=z._itemFocusOutlineClass,c.appendChild(d)}},_clearFocusRectangle:function(a){if(a&&!this._isZombie()&&a!==this._header&&a!==this._footer){var b=this._view.items.itemBoxFrom(a);if(b){r.removeClass(b,z._itemFocusClass);var c=b.querySelector("."+z._itemFocusOutlineClass);c&&c.parentNode.removeChild(c)}else{var d=this._groups.headerFrom(a);d&&r.removeClass(d,z._itemFocusClass)}}},_defaultInvoke:function(a){(this._isZoomedOut||c.isPhone&&this._triggerZoom&&a.type===w.ObjectType.groupHeader)&&(this._changeFocusPassively(a),this._triggerZoom())},_selectionAllowed:function(a){var b=void 0!==a?this.elementFromIndex(a):null,c=!(b&&r.hasClass(b,z._nonSelectableClass));return c&&this._selectionMode!==w.SelectionMode.none},_multiSelection:function(){return this._selectionMode===w.SelectionMode.multi},_isInSelectionMode:function(){return this.tapBehavior===w.TapBehavior.toggleSelect&&this.selectionMode===w.SelectionMode.multi},_selectOnTap:function(){return this._tap===w.TapBehavior.toggleSelect||this._tap===w.TapBehavior.directSelect},_selectFocused:function(a){return this._tap===w.TapBehavior.directSelect&&this._selectionMode===w.SelectionMode.multi&&!a},_dispose:function(){if(!this._disposed){this._disposed=!0;var a=function(a){a&&(a.textContent="")};r._resizeNotifier.unsubscribe(this._element,this._onElementResizeBound),this._elementResizeInstrument.dispose(),this._batchingViewUpdates&&this._batchingViewUpdates.cancel(),this._view&&this._view._dispose&&this._view._dispose(),this._mode&&this._mode._dispose&&this._mode._dispose(),this._groups&&this._groups._dispose&&this._groups._dispose(),this._selection&&this._selection._dispose&&this._selection._dispose(),this._layout&&this._layout.uninitialize&&this._layout.uninitialize(),this._itemsCountPromise&&this._itemsCountPromise.cancel(),this._versionManager&&this._versionManager._dispose(),this._clearInsertedItems(),this._itemsManager&&this._itemsManager.release(),this._zoomAnimationPromise&&this._zoomAnimationPromise.cancel(),a(this._viewport),a(this._canvas),a(this._canvasProxy),this._versionManager=null,this._view=null,this._mode=null,this._element=null,this._viewport=null,this._itemsManager=null,this._canvas=null,this._canvasProxy=null,this._itemsCountPromise=null,this._scrollToFunctor=null;var b=Q.indexOf(this);b>=0&&Q.splice(b,1)}},_isZombie:function(){return this._disposed||!(this.element.firstElementChild&&a.document.body.contains(this.element))},_ifZombieDispose:function(){var a=this._isZombie();return a&&!this._disposed&&L(this),a},_animationsDisabled:function(){return 0===this._viewportWidth||0===this._viewportHeight?!0:!k.isAnimationEnabled()},_fadeOutViewport:function(){var a=this;return new m(function(b){if(a._animationsDisabled())return void b();if(!a._fadingViewportOut){a._waitingEntranceAnimationPromise&&(a._waitingEntranceAnimationPromise.cancel(),a._waitingEntranceAnimationPromise=null);var c=a._fireAnimationEvent(U.contentTransition);a._firedAnimationEvent=!0,c.prevented?(a._disableEntranceAnimation=!0,a._viewport.style.opacity=1,b()):(a._fadingViewportOut=!0,a._viewport.style.overflow="hidden",j.fadeOut(a._viewport).then(function(){a._isZombie()||(a._fadingViewportOut=!1,a._viewport.style.opacity=1,b())}))}})},_animateListEntrance:function(a){function b(){e._canvas.style.opacity=1,e._headerContainer.style.opacity=1,e._footerContainer.style.opacity=1,e._viewport.style.overflow="",e._raiseHeaderFooterVisibilityEvent()}var d={prevented:!1,animationPromise:m.wrap()},e=this;return this._raiseHeaderFooterVisibilityEvent(),this._disableEntranceAnimation||this._animationsDisabled()?(b(),this._waitingEntranceAnimationPromise&&(this._waitingEntranceAnimationPromise.cancel(),this._waitingEntranceAnimationPromise=null),m.wrap()):(this._firedAnimationEvent?this._firedAnimationEvent=!1:d=this._fireAnimationEvent(U.entrance),d.prevented||c.isPhone?(b(),m.wrap()):(this._waitingEntranceAnimationPromise&&this._waitingEntranceAnimationPromise.cancel(),this._canvas.style.opacity=0,this._viewport.style.overflow="hidden",this._headerContainer.style.opacity=1,this._footerContainer.style.opacity=1,this._waitingEntranceAnimationPromise=d.animationPromise.then(function(){return e._isZombie()?void 0:(e._canvas.style.opacity=1,j.enterContent(e._viewport).then(function(){e._isZombie()||(e._waitingEntranceAnimationPromise=null,e._viewport.style.overflow="")}))}),this._waitingEntranceAnimationPromise))},_fireAnimationEvent:function(b){var c=a.document.createEvent("CustomEvent"),d=m.wrap();c.initCustomEvent("contentanimating",!0,!0,{type:b}),b===U.entrance&&(c.detail.setPromise=function(a){d=a});var e=!this._element.dispatchEvent(c);return{prevented:e,animationPromise:d}},_createAriaMarkers:function(){this._viewport.getAttribute("aria-label")||this._viewport.setAttribute("aria-label",S.listViewViewportAriaLabel),this._ariaStartMarker||(this._ariaStartMarker=a.document.createElement("div"),this._ariaStartMarker.id=R(this._ariaStartMarker),this._viewport.insertBefore(this._ariaStartMarker,this._viewport.firstElementChild)),this._ariaEndMarker||(this._ariaEndMarker=a.document.createElement("div"),this._ariaEndMarker.id=R(this._ariaEndMarker),this._viewport.appendChild(this._ariaEndMarker))},_updateItemsAriaRoles:function(){var a,b,c=this,d=this._element.getAttribute("role");this._currentMode().staticMode()?(a="list",b="listitem"):(a="listbox",b="option"),(d!==a||this._itemRole!==b)&&(this._element.setAttribute("role",a),this._itemRole=b,this._view.items.each(function(a,b){b.setAttribute("role",c._itemRole)}))},_updateGroupHeadersAriaRoles:function(){var a=this.groupHeaderTapBehavior===w.GroupHeaderTapBehavior.none?"separator":"link";if(this._headerRole!==a){this._headerRole=a;for(var b=0,c=this._groups.length();c>b;b++){var d=this._groups.group(b).header;d&&d.setAttribute("role",this._headerRole)}}},_setAriaSelected:function(a,b){var c="true"===a.getAttribute("aria-selected");b!==c&&a.setAttribute("aria-selected",b)},_setupAriaSelectionObserver:function(a){a._mutationObserver||(this._mutationObserver.observe(a,{attributes:!0,attributeFilter:["aria-selected"]}),a._mutationObserver=!0)},_itemPropertyChange:function(a){function b(a){a.forEach(function(a){a.item.setAttribute("aria-selected",!a.selected)})}if(!this._isZombie()){for(var c=this,d=c._selectionMode===w.SelectionMode.single,e=[],f=[],g=0,h=a.length;h>g;g++){var i=a[g].target,j=c._view.items.itemBoxFrom(i),k="true"===i.getAttribute("aria-selected");if(j&&k!==r._isSelectionRendered(j)){var l=c._view.items.index(j),m={index:l,item:i,selected:k};(c._selectionAllowed(l)?e:f).push(m)}}if(e.length>0){var n=new o;c.selection._synchronize(n).then(function(){var a=c.selection._cloneSelection();return e.forEach(function(b){b.selected?a[d?"set":"add"](b.index):a.remove(b.index)}),c.selection._set(a)}).then(function(a){c._isZombie()||a||b(e),n.complete()})}b(f)}},_groupsEnabled:function(){return!!this._groups.groupDataSource},_getItemPosition:function(a,b){var c=this;return this._view.waitForEntityPosition(a).then(function(){var d,e=c._zooming&&0!==c._canvasStart;switch(a.type){case w.ObjectType.item:d=c._view.getContainer(a.index);break;case w.ObjectType.groupHeader:d=c._view._getHeaderContainer(a.index);break;case w.ObjectType.header:e=!0,d=c._headerContainer;break;case w.ObjectType.footer:e=!0,d=c._footerContainer}if(d){c._writeProfilerMark("WinJS.UI.ListView:getItemPosition,info");var f,g;c._view._expandedRange?(f=c._view._expandedRange.first.index,g=c._view._expandedRange.last.index):b=!1,a.type===w.ObjectType.item?(b=!!b,b&=c._view._ensureContainerInDOM(a.index)):b=!1;var h=c._getItemMargins(a.type),i={left:c._rtl()?M(d)-h.right:d.offsetLeft-h.left,top:d.offsetTop-h.top,totalWidth:r.getTotalWidth(d),totalHeight:r.getTotalHeight(d),contentWidth:r.getContentWidth(d),contentHeight:r.getContentHeight(d)};return b&&c._view._forceItemsBlocksInDOM(f,g+1),e?i:c._convertToCanvasCoordinates(i)}return m.cancel})},_getItemOffset:function(a,b){var c=this;return this._getItemPosition(a,b).then(function(b){var d=c._getItemMargins(a.type);if(c._horizontal()){var e=c._rtl();b.begin=b.left-d[e?"left":"right"],b.end=b.left+b.totalWidth+d[e?"right":"left"]}else b.begin=b.top-d.bottom,b.end=b.top+b.totalHeight+d.top;return b})},_getItemMargins:function(b){b=b||w.ObjectType.item;var c=this,d=function(b){var d,e=c._canvas.querySelector("."+b);e||(e=a.document.createElement("div"),r.addClass(e,b),c._viewport.appendChild(e),d=!0);var f=H._getMargins(e);return d&&c._viewport.removeChild(e),f};return b===w.ObjectType.item?this._itemMargins?this._itemMargins:this._itemMargins=d(z._containerClass):b===w.ObjectType.groupHeader?this._headerMargins?this._headerMargins:this._headerMargins=d(z._headerContainerClass):(this._headerFooterMargins||(this._headerFooterMargins={headerMargins:d(z._listHeaderContainerClass),footerMargins:d(z._listFooterContainerClass)}),this._headerFooterMargins[b===w.ObjectType.header?"headerMargins":"footerMargins"])},_fireAccessibilityAnnotationCompleteEvent:function(b,c,d,e){var f={firstIndex:b,lastIndex:c,firstHeaderIndex:+d||-1,lastHeaderIndex:+e||-1},g=a.document.createEvent("CustomEvent");g.initCustomEvent("accessibilityannotationcomplete",!0,!1,f),this._element.dispatchEvent(g)},_ensureFirstColumnRange:function(a){if(a===w.ObjectType.header||a===w.ObjectType.footer)return m.wrap();var b=a===w.ObjectType.item?"_firstItemRange":"_firstHeaderRange";if(this[b])return m.wrap();var c=this;return this._getItemOffset({type:a,index:0},!0).then(function(a){c[b]=a})},_correctRangeInFirstColumn:function(a,b){if(b===w.ObjectType.header||b===w.ObjectType.footer)return a;var c=b===w.ObjectType.groupHeader?this._firstHeaderRange:this._firstItemRange;return c.begin===a.begin&&(this._horizontal()?a.begin=-this._getCanvasMargins()[this._rtl()?"right":"left"]:a.begin=-this._getCanvasMargins().top),a},_updateContainers:function(b,c,d,e){function f(){var b=a.document.createElement("div");return b.className=z._containerClass,b}function g(b,c,d){c+d>m&&(d=m-c);var e,f=b.itemsContainer,g=f.itemsBlocks,h=n._view._blockSize,i=g.length?g[g.length-1]:null,j=g.length?(g.length-1)*h+i.items.length:0,k=d-j;if(k>0){var l,o=k;if(i&&i.items.lengthr;r++)i.items.push(e[l+r]);o-=p}j=g.length*h;var s=Math.floor(o/h),t="",v=j,y=j+h;if(s>0){var z=["
"+F._stripedContainers(h,v)+"
","
"+F._stripedContainers(h,y)+"
"];t=F._repeat(z,s),j+=s*h}var A=o%h;A>0&&(t+="
"+F._stripedContainers(A,j)+"
",j+=A,s++);var B=a.document.createElement("div");u.setInnerHTMLUnsafe(B,t);for(var e=B.children,r=0;s>r;r++){var C=e[r],D={element:C,items:F._nodeListToArray(C.children)};g.push(D)}}else if(0>k)for(var E=k;0>E;E++){var G=i.items.pop();!n._view._requireFocusRestore&&G.contains(a.document.activeElement)&&(n._view._requireFocusRestore=a.document.activeElement,n._unsetFocusOnItem()),i.element.removeChild(G),x.push(G),i.items.length||(f.element===i.element.parentNode&&f.element.removeChild(i.element),g.pop(),i=g[g.length-1])}for(var r=0,H=g.length;H>r;r++)for(var C=g[r],E=0;E=b&&a.newIndexh;h++){var j=d[h],k=j.newIndex-b,l=f(),m=km&&(c=m-b);var d=a.itemsContainer,e=c-d.items.length;if(e>0){var f=d.element.children,g=f.length;u.insertAdjacentHTMLUnsafe(d.element,"beforeend",F._repeat("
",e));for(var h=0;e>h;h++){var i=f[g+h];d.items.push(i)}}for(var h=e;0>h;h++){var i=d.items.pop();d.element.removeChild(i),x.push(i)}for(var h=0,j=d.items.length;j>h;h++)w.push(d.items[h])}function j(a,b){var c=n._view._createHeaderContainer(J),d={header:c,itemsContainer:{element:n._view._createItemsContainer(c)}};return d.itemsContainer[n._view._blockSize?"itemsBlocks":"items"]=[],n._view._blockSize?g(d,b,a.size):i(d,b,a.size),d}function k(a,b,d,f){for(var g,h,i=d+f-1,j=0,k=e.length;k>j;j++){var l=e[j];l.newIndex>=d&&l.newIndex<=i&&-1!==l.oldIndex&&(g!==+g||l.newIndexj;j++){var l=e[j];l.newIndex>=d&&l.newIndexj;j++){var l=e[j];l.oldIndex>=b&&l.oldIndex0){var r=q.element.children;u.insertAdjacentHTMLUnsafe(q.element,"afterBegin",F._repeat("
",h));for(var s=0;h>s;s++){var t=r[s];q.items.splice(s,0,t)}}for(var s=h;0>s;s++){var t=q.items.shift();q.element.removeChild(t)}h&&n._affectedRange.add({start:d,end:d+f},c)}}function l(a){for(var b=0,c=0,d=n._view.tree.length;d>c;c++){var e=n._view.tree[c],f=e.itemsContainer.items.length,g=b+f-1;if(a>=b&&g>=a)return{group:c,item:a-b};b+=f}}var m,n=this,o=this._view.containers.length+d,p=c>o;if(p){for(var q=0,s=0;ss;s++)y.push(A),A+=this._view.tree[s].itemsContainer.items.length;if(!n._view._blockSize)for(var C=e.filter(function(a){return-1===a.newIndex&&!a._removalHandled}).sort(function(a,b){return b.oldIndex-a.oldIndex}),s=0,B=C.length;B>s;s++){var D=C[s];D._removalHandled=!0;var E=D._itemBox;D._itemBox=null;var G=l(D.oldIndex),H=this._view.tree[G.group],I=H.itemsContainer.items[G.item];I.parentNode.removeChild(I),r.hasClass(E,z._selectedClass)&&r.addClass(I,z._selectedClass),H.itemsContainer.items.splice(G.item,1),D.element=I}this._view._modifiedGroups=[];var J=this._canvasProxy;A=0;for(var s=0,B=b.length;B>s&&(!this._groupsEnabled()||m>A);s++){var K=b[s],L=this._view.keyToGroupIndex[K.key],M=this._view.tree[L];if(M)n._view._blockSize?g(M,A,K.size):(k(M,y[L],A,K.size),h(M,A,K.size),i(M,A,K.size)),t.push(M),v[K.key]=t.length-1,delete this._view.keyToGroupIndex[K.key],J=M.itemsContainer.element,this._view._modifiedGroups.push({oldIndex:L,newIndex:t.length-1,element:M.header});else{var N=j(K,A);t.push(N),v[K.key]=t.length-1,this._view._modifiedGroups.push({oldIndex:-1,newIndex:t.length-1,element:N.header}),J=N.itemsContainer.element}A+=K.size}for(var O=[],P=[],Q=this._view.keyToGroupIndex?Object.keys(this._view.keyToGroupIndex):[],s=0,B=Q.length;B>s;s++){var G=this._view.keyToGroupIndex[Q[s]],R=this._view.tree[G];if(P.push(R.header),O.push(R.itemsContainer.element),this._view._blockSize)for(var S=0;Ss;s++)if(-1===e[s].newIndex&&!e[s]._removalHandled){e[s]._removalHandled=!0;var E=e[s]._itemBox;e[s]._itemBox=null;var I;x.length?(I=x.pop(),r.empty(I)):I=f(),r.hasClass(E,z._selectedClass)&&r.addClass(I,z._selectedClass),e._containerStripe===z._containerEvenClass?(r.addClass(I,z._containerEvenClass),r.removeClass(I,z._containerOddClass)):(r.addClass(I,z._containerOddClass),r.removeClass(I,z._containerEvenClass)),I.appendChild(E),e[s].element=I}return this._view.tree=t,this._view.keyToGroupIndex=v,this._view.containers=w,{removedHeaders:P,removedItemsContainers:O}},_writeProfilerMark:function(a){var b="WinJS.UI.ListView:"+this._id+":"+a;h(b),f.log&&f.log(b,null,"listviewprofiler")}},{triggerDispose:function(){K()}});return b.Class.mix(s,e.createEventProperties("iteminvoked","groupheaderinvoked","selectionchanging","selectionchanged","loadingstatechanged","keyboardnavigating","contentanimating","itemdragstart","itemdragenter","itemdragend","itemdragbetween","itemdragleave","itemdragchanged","itemdragdrop","headervisibilitychanged","footervisibilitychanged","accessibilityannotationcomplete")),b.Class.mix(s,p.DOMEventMixin),s})})}),d("WinJS/Controls/FlipView/_Constants",[],function(){"use strict";var a={};return a.datasourceCountChangedEvent="datasourcecountchanged",a.pageVisibilityChangedEvent="pagevisibilitychanged",a.pageSelectedEvent="pageselected",a.pageCompletedEvent="pagecompleted",a}),d("WinJS/Controls/FlipView/_PageManager",["exports","../../Core/_Global","../../Core/_Base","../../Core/_BaseUtils","../../Core/_ErrorFromName","../../Core/_Log","../../Core/_Resources","../../Core/_WriteProfilerMark","../../Animations","../../Promise","../../_Signal","../../Scheduler","../../Utilities/_Dispose","../../Utilities/_ElementUtilities","../../Utilities/_TabContainer","./_Constants"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{_FlipPageManager:c.Namespace._lazy(function(){function a(a){var b=a.winControl;return b&&b._isFlipView?!0:!1}function g(a){a.forEach(function(a){var b=a.target;b.winControl&&b.tabIndex>=0&&(b.winControl._pageManager._updateTabIndex(b.tabIndex),b.tabIndex=-1);var c=b.winControl;if(c&&c._isFlipView){var d=!1;"dir"===a.attributeName?d=!0:"style"===a.attributeName&&(d=c._cachedStyleDir!==b.style.direction),d&&(c._cachedStyleDir=b.style.direction,c._pageManager._rtl="rtl"===n._getComputedStyle(c._pageManager._flipperDiv,null).direction,c._pageManager.resized())}})}var q=n._uniqueID,r=d._browserStyleEquivalents,s=50,t=250,u={get badCurrentPage(){return"Invalid argument: currentPage must be a number greater than or equal to zero and be within the bounds of the datasource"}},v=c.Class.define(function(a,b,c,e,f,h,i){this._visibleElements=[],this._flipperDiv=a,this._panningDiv=b,this._panningDivContainer=c,this._buttonVisibilityHandler=i,this._currentPage=null,this._rtl="rtl"===n._getComputedStyle(this._flipperDiv,null).direction,this._itemsManager=e,this._itemSpacing=f,this._tabIndex=n.getTabIndex(a),this._tabIndex<0&&(this._tabIndex=0),b.tabIndex=-1,a.tabIndex=-1,this._tabManager=new o.TabContainer(this._panningDivContainer),this._tabManager.tabIndex=this._tabIndex,this._lastSelectedPage=null,this._lastSelectedElement=null,this._bufferSize=v.flipPageBufferCount,this._cachedSize=-1,this._environmentSupportsTouch=h;var j=this;this._panningDiv.addEventListener("keydown",function(a){j._blockTabs&&a.keyCode===n.Key.tab&&(a.stopImmediatePropagation(),a.preventDefault())},!0),n._addEventListener(this._flipperDiv,"focusin",function(a){a.target===j._flipperDiv&&j._currentPage.element&&n._setActive(j._currentPage.element)},!1),new n._MutationObserver(g).observe(this._flipperDiv,{attributes:!0,attributeFilter:["dir","style","tabindex"]}),this._cachedStyleDir=this._flipperDiv.style.direction,this._handleManipulationStateChangedBound=this._handleManipulationStateChanged.bind(this),this._environmentSupportsTouch&&this._panningDivContainer.addEventListener(d._browserEventEquivalents.manipulationStateChanged,this._handleManipulationStateChangedBound,!0)},{initialize:function(a,c){var d=null;if(this._panningDivContainerOffsetWidth=this._panningDivContainer.offsetWidth,this._panningDivContainerOffsetHeight=this._panningDivContainer.offsetHeight,this._isHorizontal=c,!this._currentPage){this._bufferAriaStartMarker=b.document.createElement("div"),this._bufferAriaStartMarker.id=q(this._bufferAriaStartMarker),this._panningDiv.appendChild(this._bufferAriaStartMarker),this._currentPage=this._createFlipPage(null,this),d=this._currentPage,this._panningDiv.appendChild(d.pageRoot);for(var e=2*this._bufferSize,f=0;e>f;f++)d=this._createFlipPage(d,this),this._panningDiv.appendChild(d.pageRoot);this._bufferAriaEndMarker=b.document.createElement("div"),this._bufferAriaEndMarker.id=q(this._bufferAriaEndMarker),this._panningDiv.appendChild(this._bufferAriaEndMarker)}this._prevMarker=this._currentPage.prev.prev,this._itemsManager&&this.setNewItemsManager(this._itemsManager,a)},dispose:function(){var a=this._currentPage,b=a;do m._disposeElement(b.element),b=b.next;while(b!==a)},setOrientation:function(a){if(this._notificationsEndedSignal){var b=this;return void this._notificationsEndedSignal.promise.done(function(){b._notificationsEndedSignal=null,b.setOrientation(a)})}if(a!==this._isHorizontal){this._isOrientationChanging=!0,this._isHorizontal?n.setScrollPosition(this._panningDivContainer,{scrollLeft:this._getItemStart(this._currentPage),scrollTop:0}):n.setScrollPosition(this._panningDivContainer,{scrollLeft:0,scrollTop:this._getItemStart(this._currentPage)}),this._isHorizontal=a;var c=this._panningDivContainer.style;c.overflowX="hidden",c.overflowY="hidden";var b=this;d._requestAnimationFrame(function(){b._isOrientationChanging=!1,b._forEachPage(function(a){var b=a.pageRoot.style;b.left="0px",b.top="0px"}),c.overflowX=b._isHorizontal&&b._environmentSupportsTouch?"scroll":"hidden",c.overflowY=b._isHorizontal||!b._environmentSupportsTouch?"hidden":"scroll",b._ensureCentered()})}},resetState:function(a){if(this._writeProfilerMark("WinJS.UI.FlipView:resetState,info"),0!==a){var b=this.jumpToIndex(a,!0);if(!b&&d.validation)throw new e("WinJS.UI.FlipView.BadCurrentPage",u.badCurrentPage);return b}m.disposeSubTree(this._flipperDiv),this._resetBuffer(null,!0);var c=this,f=j.wrap(!0);return this._itemsManager&&(f=c._itemsManager._firstItem().then(function(a){return c._currentPage.setElement(a),c._fetchPreviousItems(!0).then(function(){return c._fetchNextItems()}).then(function(){c._setButtonStates()})})),f.then(function(){c._tabManager.childFocus=c._currentPage.element,c._ensureCentered(),c._itemSettledOn()})},setNewItemsManager:function(a,b){this._itemsManager=a;var c=this;return this.resetState(b).then(function(){0!==b&&(c._tabManager.childFocus=c._currentPage.element,c._ensureCentered(),c._itemSettledOn())})},currentIndex:function(){if(!this._itemsManager)return 0;var a=0,b=this._navigationAnimationRecord?this._navigationAnimationRecord.newCurrentElement:this._currentPage.element;return b&&(a=this._getElementIndex(b)),a},resetScrollPos:function(){this._ensureCentered()},scrollPosChanged:function(){if(this._hasFocus&&(this._hadFocus=!0),this._itemsManager&&this._currentPage.element&&!this._isOrientationChanging){var a=this._getViewportStart(),b=this._lastScrollPos>a?this._getTailOfBuffer():this._getHeadOfBuffer();if(a!==this._lastScrollPos){for(;this._currentPage.element&&this._getItemStart(this._currentPage)>a&&this._currentPage.prev.element;)this._currentPage=this._currentPage.prev,this._fetchOnePrevious(b.prev),b=b.prev;for(;this._currentPage.element&&this._itemEnd(this._currentPage)<=a&&this._currentPage.next.element;)this._currentPage=this._currentPage.next,this._fetchOneNext(b.next),b=b.next;this._setButtonStates(),this._checkElementVisibility(!1),this._blockTabs=!0,this._lastScrollPos=a,this._currentPage.element&&(this._tabManager.childFocus=this._currentPage.element),this._setListEnds(),!this._manipulationState&&this._viewportOnItemStart()&&(this._currentPage.element.setAttribute("aria-setsize",this._cachedSize),this._currentPage.element.setAttribute("aria-posinset",this.currentIndex()+1),this._timeoutPageSelection())}}},itemRetrieved:function(a,b){var c=this;if(this._forEachPage(function(d){return d.element===b?(d===c._currentPage||d===c._currentPage.next?c._changeFlipPage(d,b,a):d.setElement(a,!0),!0):void 0}),this._navigationAnimationRecord&&this._navigationAnimationRecord.elementContainers)for(var d=this._navigationAnimationRecord.elementContainers,e=0,f=d.length;f>e;e++)d[e].element===b&&(c._changeFlipPage(d[e],b,a),d[e].element=a);this._checkElementVisibility(!1)},resized:function(){this._panningDivContainerOffsetWidth=this._panningDivContainer.offsetWidth,this._panningDivContainerOffsetHeight=this._panningDivContainer.offsetHeight;var a=this;this._forEachPage(function(b){b.pageRoot.style.width=a._panningDivContainerOffsetWidth+"px",b.pageRoot.style.height=a._panningDivContainerOffsetHeight+"px"}),this._ensureCentered(),this._writeProfilerMark("WinJS.UI.FlipView:resize,StopTM")},jumpToIndex:function(a,b){if(!b){if(!this._itemsManager||!this._currentPage.element||0>a)return j.wrap(!1);var c=this._getElementIndex(this._currentPage.element),d=Math.abs(a-c);if(0===d)return j.wrap(!1)}var e=j.wrap(!0),f=this;return e=e.then(function(){var c=f._itemsManager._itemPromiseAtIndex(a);return j.join({element:f._itemsManager._itemFromItemPromise(c),item:c}).then(function(a){var c=a.element;return f._resetBuffer(c,b),c?(f._currentPage.setElement(c),f._fetchNextItems().then(function(){return f._fetchPreviousItems(!0)}).then(function(){return!0})):!1})}),e=e.then(function(a){return f._setButtonStates(),a})},startAnimatedNavigation:function(a,b,c){if(this._writeProfilerMark("WinJS.UI.FlipView:startAnimatedNavigation,info"),this._currentPage.element){ -var d=this._currentPage,e=a?this._currentPage.next:this._currentPage.prev;if(e.element){this._hasFocus&&n._setActive(this._panningDiv),this._navigationAnimationRecord={},this._navigationAnimationRecord.goForward=a,this._navigationAnimationRecord.cancelAnimationCallback=b,this._navigationAnimationRecord.completionCallback=c,this._navigationAnimationRecord.oldCurrentPage=d,this._navigationAnimationRecord.newCurrentPage=e;var f=d.element,g=e.element;this._navigationAnimationRecord.newCurrentElement=g,d.setElement(null,!0),d.elementUniqueID=q(f),e.setElement(null,!0),e.elementUniqueID=q(g);var h=this._createDiscardablePage(f),i=this._createDiscardablePage(g);return h.pageRoot.itemIndex=this._getElementIndex(f),i.pageRoot.itemIndex=h.pageRoot.itemIndex+(a?1:-1),h.pageRoot.style.position="absolute",i.pageRoot.style.position="absolute",h.pageRoot.style.zIndex=1,i.pageRoot.style.zIndex=2,this._setItemStart(h,0),this._setItemStart(i,0),this._blockTabs=!0,this._visibleElements.push(g),this._announceElementVisible(g),this._navigationAnimationRecord.elementContainers=[h,i],{outgoing:h,incoming:i}}}return null},endAnimatedNavigation:function(a,b,c){if(this._writeProfilerMark("WinJS.UI.FlipView:endAnimatedNavigation,info"),this._navigationAnimationRecord&&this._navigationAnimationRecord.oldCurrentPage&&this._navigationAnimationRecord.newCurrentPage){var d=this._restoreAnimatedElement(this._navigationAnimationRecord.oldCurrentPage,b);this._restoreAnimatedElement(this._navigationAnimationRecord.newCurrentPage,c),d||this._setViewportStart(this._getItemStart(a?this._currentPage.next:this._currentPage.prev)),this._navigationAnimationRecord=null,this._itemSettledOn()}},startAnimatedJump:function(a,b,c){if(this._writeProfilerMark("WinJS.UI.FlipView:startAnimatedJump,info"),this._hasFocus&&(this._hadFocus=!0),this._currentPage.element){var d=this._currentPage.element,e=this._getElementIndex(d),f=this;return f.jumpToIndex(a).then(function(g){if(!g)return null;if(f._navigationAnimationRecord={},f._navigationAnimationRecord.cancelAnimationCallback=b,f._navigationAnimationRecord.completionCallback=c,f._navigationAnimationRecord.oldCurrentPage=null,f._forEachPage(function(a){return a.element===d?(f._navigationAnimationRecord.oldCurrentPage=a,!0):void 0}),f._navigationAnimationRecord.newCurrentPage=f._currentPage,f._navigationAnimationRecord.newCurrentPage===f._navigationAnimationRecord.oldCurrentPage)return null;var h=f._currentPage.element;f._navigationAnimationRecord.newCurrentElement=h,f._currentPage.setElement(null,!0),f._currentPage.elementUniqueID=q(h),f._navigationAnimationRecord.oldCurrentPage&&f._navigationAnimationRecord.oldCurrentPage.setElement(null,!0);var i=f._createDiscardablePage(d),j=f._createDiscardablePage(h);return i.pageRoot.itemIndex=e,j.pageRoot.itemIndex=a,i.pageRoot.style.position="absolute",j.pageRoot.style.position="absolute",i.pageRoot.style.zIndex=1,j.pageRoot.style.zIndex=2,f._setItemStart(i,0),f._setItemStart(j,f._itemSize(f._currentPage)),f._visibleElements.push(h),f._announceElementVisible(h),f._navigationAnimationRecord.elementContainers=[i,j],f._blockTabs=!0,{oldPage:i,newPage:j}})}return j.wrap(null)},simulateMouseWheelScroll:function(a){if(!this._environmentSupportsTouch&&!this._waitingForMouseScroll){var c;c="number"==typeof a.deltaY?(a.deltaX||a.deltaY)>0:a.wheelDelta<0;var d=c?this._currentPage.next:this._currentPage.prev;if(d.element){var e={contentX:0,contentY:0,viewportX:0,viewportY:0};e[this._isHorizontal?"contentX":"contentY"]=this._getItemStart(d),n._zoomTo(this._panningDivContainer,e),this._waitingForMouseScroll=!0,b.setTimeout(function(){this._waitingForMouseScroll=!1}.bind(this),n._zoomToDuration+100)}}},endAnimatedJump:function(a,b){this._writeProfilerMark("WinJS.UI.FlipView:endAnimatedJump,info"),this._navigationAnimationRecord.oldCurrentPage?this._navigationAnimationRecord.oldCurrentPage.setElement(a.element,!0):a.element.parentNode&&a.element.parentNode.removeChild(a.element),this._navigationAnimationRecord.newCurrentPage.setElement(b.element,!0),this._navigationAnimationRecord=null,this._ensureCentered(),this._itemSettledOn()},inserted:function(a,b,c,d){this._writeProfilerMark("WinJS.UI.FlipView:inserted,info");var e=this._prevMarker,f=!1,g=!1;if(d&&(this._createAnimationRecord(q(a),null),this._getAnimationRecord(a).inserted=!0),b){do{if(e===this._currentPage&&(f=!0),e.elementUniqueID===q(b)){g=!0;var h,i=e,j=a,k=q(a);if(f)for(;i.next!==this._prevMarker;)h=i.next.element,k=i.next.elementUniqueID,i.next.setElement(j,!0),!j&&k&&(i.next.elementUniqueID=k),j=h,i=i.next;else for(e.elementUniqueID===e.next.elementUniqueID&&e.elementUniqueID&&(i=e.next);i.next!==this._prevMarker;)h=i.element,k=i.elementUniqueID,i.setElement(j,!0),!j&&k&&(i.elementUniqueID=k),j=h,i=i.prev;if(j){var l=!1;this._forEachPage(function(a){return q(j)===a.elementUniqueID?(l=!0,!0):void 0}),l||this._releaseElementIfNotAnimated(j)}break}e=e.next}while(e!==this._prevMarker)}else if(c){for(;e.next!==this._prevMarker&&e.elementUniqueID!==q(c);)e===this._currentPage&&(f=!0),e=e.next;e.elementUniqueID===q(c)&&e!==this._prevMarker?(e.prev.setElement(a),g=!0):this._releaseElementIfNotAnimated(a)}else this._currentPage.setElement(a);this._getAnimationRecord(a).successfullyMoved=g,this._setButtonStates()},changed:function(a,b){this._writeProfilerMark("WinJS.UI.FlipView:changed,info");var c=this;if(this._forEachPage(function(d){if(d.elementUniqueID===q(b)){var e=c._animationRecords[d.elementUniqueID];return e.changed=!0,e.oldElement=b,e.newElement=a,d.element=a,d.elementUniqueID=q(a),c._animationRecords[q(a)]=e,!0}}),this._navigationAnimationRecord&&this._navigationAnimationRecord.elementContainers){for(var d=0,e=this._navigationAnimationRecord.elementContainers.length;e>d;d++){var f=this._navigationAnimationRecord.elementContainers[d];f&&f.elementUniqueID===q(b)&&(f.element=a,f.elementUniqueID=q(a))}var g=this._navigationAnimationRecord.newCurrentElement;g&&q(g)===q(b)&&(this._navigationAnimationRecord.newCurrentElement=a)}},moved:function(a,b,c){this._writeProfilerMark("WinJS.UI.FlipView:moved,info");var d=this._getAnimationRecord(a);d||(d=this._createAnimationRecord(q(a))),d.moved=!0,this.removed(a,!1,!1),b||c?this.inserted(a,b,c,!1):d.successfullyMoved=!1},removed:function(a,b,c){this._writeProfilerMark("WinJS.UI.FlipView:removed,info");var d=this,e=this._prevMarker,f=j.wrap();if(b){var g=!1;return this._forEachPage(function(b){(b.elementUniqueID===q(a)||g)&&(b.setElement(null,!0),g=!0)}),void this._setButtonStates()}if(c){var h=this._getAnimationRecord(a);h&&(h.removed=!0)}if(this._currentPage.elementUniqueID===q(a))this._currentPage.next.elementUniqueID?(this._shiftLeft(this._currentPage),this._ensureCentered()):this._currentPage.prev.elementUniqueID?this._shiftRight(this._currentPage):this._currentPage.setElement(null,!0);else if(e.elementUniqueID===q(a))e.next.element?f=this._itemsManager._previousItem(e.next.element).then(function(b){return b===a&&(b=d._itemsManager._previousItem(b)),b}).then(function(a){e.setElement(a,!0)}):e.setElement(null,!0);else if(e.prev.elementUniqueID===q(a))e.prev.prev&&e.prev.prev.element?f=this._itemsManager._nextItem(e.prev.prev.element).then(function(b){return b===a&&(b=d._itemsManager._nextItem(b)),b}).then(function(a){e.prev.setElement(a,!0)}):e.prev.setElement(null,!0);else{for(var i=this._currentPage.prev,k=!1;i!==e&&!k;)i.elementUniqueID===q(a)&&(this._shiftRight(i),k=!0),i=i.prev;for(i=this._currentPage.next;i!==e&&!k;)i.elementUniqueID===q(a)&&(this._shiftLeft(i),k=!0),i=i.next}return f.then(function(){d._setButtonStates()})},reload:function(){this._writeProfilerMark("WinJS.UI.FlipView:reload,info"),this.resetState(0)},getItemSpacing:function(){return this._itemSpacing},setItemSpacing:function(a){this._itemSpacing=a,this._ensureCentered()},notificationsStarted:function(){this._writeProfilerMark("WinJS.UI.FlipView:changeNotifications,StartTM"),this._logBuffer(),this._notificationsStarted=this._notificationsStarted||0,this._notificationsStarted++,this._notificationsEndedSignal=new k,this._temporaryKeys=[],this._animationRecords={};var a=this;this._forEachPage(function(b){a._createAnimationRecord(b.elementUniqueID,b)}),this._animationRecords.currentPage=this._currentPage.element,this._animationRecords.nextPage=this._currentPage.next.element},notificationsEnded:function(){var a=this;this._endNotificationsWork&&this._endNotificationsWork.cancel(),this._endNotificationsWork=this._ensureBufferConsistency().then(function(){function b(b){var c=null;return a._forEachPage(function(a){return a.element===b?(c=a,!0):void 0}),c}function c(b,c){a._writeProfilerMark("WinJS.UI.FlipView:_animateOldViewportItemRemoved,info");var d=a._createDiscardablePage(c);a._setItemStart(d,b.originalLocation),f.push(a._deleteFlipPage(d))}function d(c,d){a._writeProfilerMark("WinJS.UI.FlipView:_animateOldViewportItemMoved,info");var e,g=c.originalLocation;if(c.successfullyMoved)e=b(d),g=c.newLocation;else{e=a._createDiscardablePage(d);var h=a._getElementIndex(d),i=a._currentPage.element?a._getElementIndex(a._currentPage.element):0;g+=i>h?-100*a._bufferSize:100*a._bufferSize}e&&(a._setItemStart(e,c.originalLocation),f.push(a._moveFlipPage(e,function(){a._setItemStart(e,g)})))}function e(){return 0===f.length&&f.push(j.wrap()),j.join(f)}var f=[];a._forEachPage(function(b){var c=a._getAnimationRecord(b.element);c&&(c.changed&&(c.oldElement.removedFromChange=!0,f.push(a._changeFlipPage(b,c.oldElement,c.newElement))),c.newLocation=b.location,a._setItemStart(b,c.originalLocation),c.inserted&&(b.elementRoot.style.opacity=0))});var g=a._animationRecords.currentPage,h=a._getAnimationRecord(g),i=a._animationRecords.nextPage,k=a._getAnimationRecord(i);h&&h.changed&&(g=h.newElement),k&&k.changed&&(i=k.newElement),(g!==a._currentPage.element||i!==a._currentPage.next.element)&&(h&&h.removed&&c(h,g),k&&k.removed&&c(k,i)),a._blockTabs=!0,e().then(function(){f=[],h&&h.moved&&d(h,g),k&&k.moved&&d(k,i);var b=a._getAnimationRecord(a._currentPage.element),c=a._getAnimationRecord(a._currentPage.next.element);a._forEachPage(function(d){var e=a._getAnimationRecord(d.element);e&&(e.inserted?e!==b&&e!==c&&(d.elementRoot.style.opacity=1):e.originalLocation!==e.newLocation&&(e!==h&&e!==k||e===h&&!h.moved||e===k&&!k.moved)&&f.push(a._moveFlipPage(d,function(){a._setItemStart(d,e.newLocation)})))}),e().then(function(){f=[],b&&b.inserted&&f.push(a._insertFlipPage(a._currentPage)),c&&c.inserted&&f.push(a._insertFlipPage(a._currentPage.next)),e().then(function(){a._checkElementVisibility(!1),a._itemSettledOn(),a._setListEnds(),a._notificationsStarted--,0===a._notificationsStarted&&a._notificationsEndedSignal.complete(),a._writeProfilerMark("WinJS.UI.FlipView:changeNotifications,StopTM"),a._logBuffer(),a._endNotificationsWork=null})})})})},disableTouchFeatures:function(){this._environmentSupportsTouch=!1;var a=this._panningDivContainer.style;this._panningDivContainer.removeEventListener(d._browserEventEquivalents.manipulationStateChanged,this._handleManipulationStateChangedBound,!0),a.overflowX="hidden",a.overflowY="hidden";var b=["scroll-snap-type","scroll-snap-points-x","scroll-snap-points-y","scroll-limit-x-min","scroll-limit-x-max","scroll-limit-y-min","scroll-limit-y-max"];b.forEach(function(b){var c=r[b];c&&(a[c.scriptName]="")})},_hasFocus:{get:function(){return this._flipperDiv.contains(b.document.activeElement)}},_timeoutPageSelection:function(){var a=this;this._lastTimeoutRequest&&this._lastTimeoutRequest.cancel(),this._lastTimeoutRequest=j.timeout(t).then(function(){a._itemSettledOn()})},_updateTabIndex:function(a){this._forEachPage(function(b){b.element&&(b.element.tabIndex=a)}),this._tabIndex=a,this._tabManager.tabIndex=a},_releaseElementIfNotAnimated:function(a){var b=this._getAnimationRecord(a);b&&(b.changed||b.inserted||b.moved||b.removed)||this._itemsManager.releaseItem(a)},_getAnimationRecord:function(a){return a?this._animationRecords[q(a)]:null},_createAnimationRecord:function(a,b){if(a){var c=this._animationRecords[a]={removed:!1,changed:!1,inserted:!1};return b&&(c.originalLocation=b.location),c}},_writeProfilerMark:function(a){h(a),this._flipperDiv.winControl.constructor._enabledDebug&&f.log&&f.log(a,null,"flipviewdebug")},_getElementIndex:function(a){var b=0;try{b=this._itemsManager.itemObject(a).index}catch(c){}return b},_resetBuffer:function(a,b){this._writeProfilerMark("WinJS.UI.FlipView:_resetBuffer,info");var c=this._currentPage,d=c;do d.element&&d.element===a||b?d.setElement(null,!0):d.setElement(null),d=d.next;while(d!==c)},_getHeadOfBuffer:function(){return this._prevMarker.prev},_getTailOfBuffer:function(){return this._prevMarker},_insertNewFlipPage:function(a){this._writeProfilerMark("WinJS.UI.FlipView:_insertNewFlipPage,info");var b=this._createFlipPage(a,this);return this._panningDiv.appendChild(b.pageRoot),b},_fetchNextItems:function(){this._writeProfilerMark("WinJS.UI.FlipView:_fetchNextItems,info");for(var a=j.wrap(this._currentPage),b=this,c=0;c0){if(e[a.location])return c=!0,!0;e[a.location]=!0}}});var f=Object.keys(this._animationRecords);return f.forEach(function(b){var d=a._animationRecords[b];d&&(d.changed||d.inserted||d.moved||d.removed)&&(c=!0)}),c?(this._resetBuffer(null,!0),this._currentPage.setElement(b),this._fetchNextItems().then(function(){return a._fetchPreviousItems(!0)}).then(function(){a._ensureCentered()})):j.wrap()},_shiftLeft:function(a){this._writeProfilerMark("WinJS.UI.FlipView:_shiftLeft,info");for(var b=a,c=null;b!==this._prevMarker&&b.next!==this._prevMarker;)c=b.next.element,!c&&b.next.elementUniqueID&&(b.elementUniqueID=b.next.elementUniqueID),b.next.setElement(null,!0),b.setElement(c,!0),b=b.next;if(b!==this._prevMarker&&b.prev.element){var d=this;return this._itemsManager._nextItem(b.prev.element).then(function(a){b.setElement(a),d._createAnimationRecord(b.elementUniqueID,b)})}},_logBuffer:function(){if(this._flipperDiv.winControl.constructor._enabledDebug){f.log&&f.log(this._currentPage.next.next.next.elementUniqueID+" @:"+this._currentPage.next.next.next.location+(this._currentPage.next.next.next.element?" "+this._currentPage.next.next.next.element.textContent:""),null,"flipviewdebug"),f.log&&f.log(this._currentPage.next.next.next.next.elementUniqueID+" @:"+this._currentPage.next.next.next.next.location+(this._currentPage.next.next.next.next.element?" "+this._currentPage.next.next.next.next.element.textContent:""),null,"flipviewdebug"),f.log&&f.log("> "+this._currentPage.elementUniqueID+" @:"+this._currentPage.location+(this._currentPage.element?" "+this._currentPage.element.textContent:""),null,"flipviewdebug"),f.log&&f.log(this._currentPage.next.elementUniqueID+" @:"+this._currentPage.next.location+(this._currentPage.next.element?" "+this._currentPage.next.element.textContent:""),null,"flipviewdebug"),f.log&&f.log(this._currentPage.next.next.elementUniqueID+" @:"+this._currentPage.next.next.location+(this._currentPage.next.next.element?" "+this._currentPage.next.next.element.textContent:""),null,"flipviewdebug");var a=Object.keys(this._itemsManager._elementMap),b=[];this._forEachPage(function(a){a&&a.elementUniqueID&&b.push(a.elementUniqueID)}),f.log&&f.log("itemsmanager = ["+a.join(" ")+"] flipview ["+b.join(" ")+"]",null,"flipviewdebug")}},_shiftRight:function(a){this._writeProfilerMark("WinJS.UI.FlipView:_shiftRight,info");for(var b=a,c=null;b!==this._prevMarker;)c=b.prev.element,!c&&b.prev.elementUniqueID&&(b.elementUniqueID=b.prev.elementUniqueID),b.prev.setElement(null,!0),b.setElement(c,!0),b=b.prev;if(b.next.element){var d=this;return this._itemsManager._previousItem(b.next.element).then(function(a){b.setElement(a),d._createAnimationRecord(b.elementUniqueID,b)})}},_checkElementVisibility:function(a){var b,c;if(a){var d=this._currentPage.element;for(b=0,c=this._visibleElements.length;c>b;b++)this._visibleElements[b]!==d&&this._announceElementInvisible(this._visibleElements[b]);this._visibleElements=[],d&&(this._visibleElements.push(d),this._announceElementVisible(d))}else{for(b=0,c=this._visibleElements.length;c>b;b++)(!this._visibleElements[b].parentNode||this._visibleElements[b].removedFromChange)&&this._announceElementInvisible(this._visibleElements[b]);this._visibleElements=[];var e=this;this._forEachPage(function(a){var b=a.element;b&&(e._itemInView(a)?(e._visibleElements.push(b),e._announceElementVisible(b)):e._announceElementInvisible(b))})}},_announceElementVisible:function(a){if(a&&!a.visible){a.visible=!0;var c=b.document.createEvent("CustomEvent");this._writeProfilerMark("WinJS.UI.FlipView:pageVisibilityChangedEvent(visible:true),info"),c.initCustomEvent(p.pageVisibilityChangedEvent,!0,!1,{source:this._flipperDiv,visible:!0}),a.dispatchEvent(c)}},_announceElementInvisible:function(a){if(a&&a.visible){a.visible=!1;var c=!1;a.parentNode||(c=!0,this._panningDivContainer.appendChild(a));var d=b.document.createEvent("CustomEvent");this._writeProfilerMark("WinJS.UI.FlipView:pageVisibilityChangedEvent(visible:false),info"),d.initCustomEvent(p.pageVisibilityChangedEvent,!0,!1,{source:this._flipperDiv,visible:!1}),a.dispatchEvent(d),c&&this._panningDivContainer.removeChild(a)}},_createDiscardablePage:function(a){var b=this._createPageContainer(),c={pageRoot:b.root,elementRoot:b.elementContainer,discardable:!0,element:a,elementUniqueID:q(a),discard:function(){c.pageRoot.parentNode&&c.pageRoot.parentNode.removeChild(c.pageRoot),c.element.parentNode&&c.element.parentNode.removeChild(c.element)}};return c.pageRoot.style.top="0px",c.elementRoot.appendChild(a),this._panningDiv.appendChild(c.pageRoot),c},_createPageContainer:function(){var a=this._panningDivContainerOffsetWidth,c=this._panningDivContainerOffsetHeight,d=b.document.createElement("div"),e=d.style,f=b.document.createElement("div");return f.className="win-item",e.position="absolute",e.overflow="hidden",e.width=a+"px",e.height=c+"px",d.appendChild(f),{root:d,elementContainer:f}},_createFlipPage:function(b,c){var d={};d.element=null,d.elementUniqueID=null,b?(d.prev=b,d.next=b.next,d.next.prev=d,b.next=d):(d.next=d,d.prev=d);var e=this._createPageContainer();return d.elementRoot=e.elementContainer,d.elementRoot.style.msOverflowStyle="auto",d.pageRoot=e.root,d.setElement=function(b,e){if(void 0===b&&(b=null),b===d.element)return void(b||(d.elementUniqueID=null));if(d.element&&(e||(c._itemsManager.releaseItem(d.element),m._disposeElement(d.element))),d.element=b,d.elementUniqueID=b?q(b):null,n.empty(d.elementRoot),d.element){if(d===c._currentPage&&(c._tabManager.childFocus=b),!a(d.element)){d.element.tabIndex=c._tabIndex,d.element.setAttribute("role","option"),d.element.setAttribute("aria-selected",!1),d.element.id||(d.element.id=q(d.element));var f=function(a,b,c){a.setAttribute(c,b.id)},g=!d.next.element||d===c._prevMarker.prev;g&&(f(d.element,c._bufferAriaEndMarker,"aria-flowto"),f(c._bufferAriaEndMarker,d.element,"x-ms-aria-flowfrom")),d!==c._prevMarker&&d.prev.element&&(f(d.prev.element,d.element,"aria-flowto"),f(d.element,d.prev.element,"x-ms-aria-flowfrom")),d.next!==c._prevMarker&&d.next.element&&(f(d.element,d.next.element,"aria-flowto"),f(d.next.element,d.element,"x-ms-aria-flowfrom")),d.prev.element||f(d.element,c._bufferAriaStartMarker,"x-ms-aria-flowfrom")}d.elementRoot.appendChild(d.element)}},d},_itemInView:function(a){return this._itemEnd(a)>this._getViewportStart()&&this._getItemStart(a)>0,h=0>h?0:h),c.itemDataSource&&(e=c.itemDataSource),c.itemTemplate&&(f=this._getItemRenderer(c.itemTemplate)),c.itemSpacing&&(i=c.itemSpacing>>0,i=0>i?0:i)}if(!e){var k=new j.List;e=k.dataSource}o.empty(b),this._flipviewDiv=b,b.winControl=this,m._setOptions(this,c,!0),this._initializeFlipView(b,d,e,f,h,i),o.addClass(b,"win-disposable"),this._avoidTrappingTime=0,this._windowWheelHandlerBound=this._windowWheelHandler.bind(this),o._globalListener.addEventListener(b,"wheel",this._windowWheelHandlerBound),o._globalListener.addEventListener(b,"mousewheel",this._windowWheelHandlerBound),g("WinJS.UI.FlipView:constructor,StopTM")},{dispose:function(){g("WinJS.UI.FlipView:dispose,StopTM"),this._disposed||(o._globalListener.removeEventListener(this._flipviewDiv,"wheel",this._windowWheelHandlerBound),o._globalListener.removeEventListener(this._flipviewDiv,"mousewheel",this._windowWheelHandlerBound),o._resizeNotifier.unsubscribe(this._flipviewDiv,this._resizeHandlerBound),this._elementResizeInstrument.dispose(),this._disposed=!0,this._pageManager.dispose(),this._itemsManager.release(),this.itemDataSource=null)},next:function(){g("WinJS.UI.FlipView:next,info");var a=this._nextAnimation?null:this._cancelDefaultAnimation;return this._navigate(!0,a)},previous:function(){g("WinJS.UI.FlipView:prev,info");var a=this._prevAnimation?null:this._cancelDefaultAnimation;return this._navigate(!1,a)},element:{get:function(){return this._flipviewDiv}},currentPage:{get:function(){return this._getCurrentIndex()},set:function(a){if(g("WinJS.UI.FlipView:set_currentPage,info"),this._pageManager._notificationsEndedSignal){ -var b=this;return void this._pageManager._notificationsEndedSignal.promise.done(function(){b._pageManager._notificationsEndedSignal=null,b.currentPage=a})}if(!this._animating||this._cancelAnimation())if(a>>=0,a=0>a?0:a,this._refreshTimer)this._indexAfterRefresh=a;else{this._pageManager._cachedSize>0?a=Math.min(this._pageManager._cachedSize-1,a):0===this._pageManager._cachedSize&&(a=0);var b=this;if(this._jumpingToIndex===a)return;var c=function(){b._jumpingToIndex=null};this._jumpingToIndex=a;var d=this._jumpAnimation?this._jumpAnimation:this._defaultAnimation.bind(this),e=this._jumpAnimation?null:this._cancelDefaultAnimation,f=function(){b._completeJump()};this._pageManager.startAnimatedJump(a,e,f).then(function(a){if(a){b._animationsStarted();var e=a.oldPage.pageRoot,h=a.newPage.pageRoot;b._contentDiv.appendChild(e),b._contentDiv.appendChild(h),b._completeJumpPending=!0,d(e,h).then(function(){b._completeJumpPending&&(f(),g("WinJS.UI.FlipView:set_currentPage.animationComplete,info"))}).done(c,c)}else c()},c)}}},orientation:{get:function(){return this._axisAsString()},set:function(a){g("WinJS.UI.FlipView:set_orientation,info");var b="horizontal"===a;b!==this._isHorizontal&&(this._isHorizontal=b,this._setupOrientation(),this._pageManager.setOrientation(this._isHorizontal))}},itemDataSource:{get:function(){return this._dataSource},set:function(a){g("WinJS.UI.FlipView:set_itemDataSource,info"),this._dataSourceAfterRefresh=a||(new j.List).dataSource,this._refresh()}},itemTemplate:{get:function(){return this._itemRenderer},set:function(a){g("WinJS.UI.FlipView:set_itemTemplate,info"),this._itemRendererAfterRefresh=this._getItemRenderer(a),this._refresh()}},itemSpacing:{get:function(){return this._pageManager.getItemSpacing()},set:function(a){g("WinJS.UI.FlipView:set_itemSpacing,info"),a>>=0,a=0>a?0:a,this._pageManager.setItemSpacing(a)}},count:function(){g("WinJS.UI.FlipView:count,info");var a=this;return new k(function(b,c){a._itemsManager?a._pageManager._cachedSize===r.CountResult.unknown||a._pageManager._cachedSize>=0?b(a._pageManager._cachedSize):a._dataSource.getCount().then(function(c){a._pageManager._cachedSize=c,b(c)}):c(L.noitemsManagerForCount)})},setCustomAnimations:function(a){g("WinJS.UI.FlipView:setCustomAnimations,info"),void 0!==a.next&&(this._nextAnimation=a.next),void 0!==a.previous&&(this._prevAnimation=a.previous),void 0!==a.jump&&(this._jumpAnimation=a.jump)},forceLayout:function(){g("WinJS.UI.FlipView:forceLayout,info"),this._pageManager.resized()},_initializeFlipView:function(b,d,e,f,g,h){function i(a){a.setAttribute("aria-hidden",!0),a.style.visibility="hidden",a.style.opacity=0,a.tabIndex=-1,a.style.zIndex=1e3}function j(a){if(a.pointerType!==D){if(m._touchInteraction=!1,a.screenX===m._lastMouseX&&a.screenY===m._lastMouseY)return;m._lastMouseX=a.screenX,m._lastMouseY=a.screenY,m._mouseInViewport=!0,m._fadeInButton("prev"),m._fadeInButton("next"),m._fadeOutButtons()}}function k(a){a.pointerType===D?(m._mouseInViewport=!1,m._touchInteraction=!0,m._fadeOutButtons(!0)):(m._touchInteraction=!1,m._isInteractive(a.target)||0!==(4&a.buttons)&&(a.stopPropagation(),a.preventDefault()))}function l(a){a.pointerType!==D&&(m._touchInteraction=!1)}var m=this,n=!1;this._flipviewDiv=b,o.addClass(this._flipviewDiv,w),this._contentDiv=a.document.createElement("div"),this._panningDivContainer=a.document.createElement("div"),this._panningDivContainer.className="win-surface",this._panningDiv=a.document.createElement("div"),this._prevButton=a.document.createElement("button"),this._nextButton=a.document.createElement("button"),this._isHorizontal=d,this._dataSource=e,this._itemRenderer=f,this._itemsManager=null,this._pageManager=null;for(var t=["scroll-limit-x-max","scroll-limit-x-min","scroll-limit-y-max","scroll-limit-y-min","scroll-snap-type","scroll-snap-x","scroll-snap-y","overflow-style"],v=!0,x=c._browserStyleEquivalents,y=0,z=t.length;z>y;y++)v=v&&!!x[t[y]];v=v&&!!c._browserEventEquivalents.manipulationStateChanged,v=v&&o._supportsSnapPoints,this._environmentSupportsTouch=v;var A=this._flipviewDiv.getAttribute("aria-label");A||this._flipviewDiv.setAttribute("aria-label",""),this._flipviewDiv.setAttribute("role","listbox"),this._flipviewDiv.style.overflow||(this._flipviewDiv.style.overflow="hidden"),this._contentDiv.style.position="relative",this._contentDiv.style.zIndex=0,this._contentDiv.style.width="100%",this._contentDiv.style.height="100%",this._panningDiv.style.position="relative",this._panningDivContainer.style.position="relative",this._panningDivContainer.style.width="100%",this._panningDivContainer.style.height="100%",this._panningDivContainer.setAttribute("role","group"),this._panningDivContainer.setAttribute("aria-label",K.panningContainerAriaLabel),this._contentDiv.appendChild(this._panningDivContainer),this._flipviewDiv.appendChild(this._contentDiv),this._panningDiv.style.width="100%",this._panningDiv.style.height="100%",this._setupOrientation(),i(this._prevButton),i(this._nextButton),this._prevButton.setAttribute("aria-label",B),this._nextButton.setAttribute("aria-label",C),this._prevButton.setAttribute("type","button"),this._nextButton.setAttribute("type","button"),this._panningDivContainer.appendChild(this._panningDiv),this._contentDiv.appendChild(this._prevButton),this._contentDiv.appendChild(this._nextButton),this._itemsManagerCallback={inserted:function(a,b,c){m._itemsManager._itemFromPromise(a).then(function(a){var d=m._itemsManager._elementFromHandle(b),e=m._itemsManager._elementFromHandle(c);m._pageManager.inserted(a,d,e,!0)})},countChanged:function(a,b){m._pageManager._cachedSize=a,b!==r.CountResult.unknown&&m._fireDatasourceCountChangedEvent()},changed:function(a,b){m._pageManager.changed(a,b)},moved:function(a,b,c,d){var e=function(a){m._pageManager.moved(a,b,c)};a?e(a):m._itemsManager._itemFromPromise(d).then(e)},removed:function(a,b){a&&m._pageManager.removed(a,b,!0)},knownUpdatesComplete:function(){},beginNotifications:function(){m._cancelAnimation(),m._pageManager.notificationsStarted()},endNotifications:function(){m._pageManager.notificationsEnded()},itemAvailable:function(a,b){m._pageManager.itemRetrieved(a,b)},reload:function(){m._pageManager.reload()}},this._dataSource&&(this._itemsManager=q._createItemsManager(this._dataSource,this._itemRenderer,this._itemsManagerCallback,{ownerElement:this._flipviewDiv})),this._pageManager=new u._FlipPageManager(this._flipviewDiv,this._panningDiv,this._panningDivContainer,this._itemsManager,h,this._environmentSupportsTouch,{hidePreviousButton:function(){m._hasPrevContent=!1,m._fadeOutButton("prev"),m._prevButton.setAttribute("aria-hidden",!0)},showPreviousButton:function(){m._hasPrevContent=!0,m._fadeInButton("prev"),m._prevButton.setAttribute("aria-hidden",!1)},hideNextButton:function(){m._hasNextContent=!1,m._fadeOutButton("next"),m._nextButton.setAttribute("aria-hidden",!0)},showNextButton:function(){m._hasNextContent=!0,m._fadeInButton("next"),m._nextButton.setAttribute("aria-hidden",!1)}}),this._pageManager.initialize(g,this._isHorizontal),this._dataSource.getCount().then(function(a){m._pageManager._cachedSize=a}),this._prevButton.addEventListener("click",function(){m.previous()},!1),this._nextButton.addEventListener("click",function(){m.next()},!1),new o._MutationObserver(p).observe(this._flipviewDiv,{attributes:!0,attributeFilter:["dir","style"]}),this._cachedStyleDir=this._flipviewDiv.style.direction,this._contentDiv.addEventListener("mouseleave",function(){m._mouseInViewport=!1},!1);var D=o._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch";this._environmentSupportsTouch&&(o._addEventListener(this._contentDiv,"pointerdown",k,!1),o._addEventListener(this._contentDiv,"pointermove",j,!1),o._addEventListener(this._contentDiv,"pointerup",l,!1)),this._panningDivContainer.addEventListener("scroll",function(){m._scrollPosChanged()},!1),this._panningDiv.addEventListener("blur",function(){m._touchInteraction||m._fadeOutButtons()},!0),this._resizeHandlerBound=this._resizeHandler.bind(this),this._elementResizeInstrument=new s._ElementResizeInstrument,this._flipviewDiv.appendChild(this._elementResizeInstrument.element),this._elementResizeInstrument.addEventListener("resize",this._resizeHandlerBound),o._resizeNotifier.subscribe(this._flipviewDiv,this._resizeHandlerBound);var E=a.document.body.contains(this._flipviewDiv);E&&this._elementResizeInstrument.addedToDom(),o._addInsertedNotifier(this._flipviewDiv);var F=!0;this._flipviewDiv.addEventListener("WinJSNodeInserted",function(a){F?(F=!1,E||(m._elementResizeInstrument.addedToDom(),m._pageManager.resized())):m._pageManager.resized()},!1),this._flipviewDiv.addEventListener("keydown",function(a){if(!m._disposed){var b=!0;if(!m._isInteractive(a.target)){var c=o.Key,d=!1;if(m._isHorizontal)switch(a.keyCode){case c.leftArrow:!m._rtl&&m.currentPage>0?(m.previous(),d=!0):m._rtl&&m.currentPage0&&(m.previous(),d=!0);break;case c.rightArrow:!m._rtl&&m.currentPage0&&(m.previous(),d=!0);break;case c.pageDown:m.currentPage0&&(m.previous(),d=!0);break;case c.downArrow:case c.pageDown:m.currentPage0&&(m.currentPage=m._pageManager._cachedSize-1),d=!0}if(d)return a.preventDefault(),b&&a.stopPropagation(),!0}}},!1),n=!0},_windowWheelHandler:function(a){if(!this._disposed){a=a.detail.originalEvent;var b=a.target&&(this._flipviewDiv.contains(a.target)||this._flipviewDiv===a.target),d=this,e=c._now(),f=this._avoidTrappingTime>e;(!b||f)&&(this._avoidTrappingTime=e+E),b&&f?(this._panningDivContainer.style.overflowX="hidden",this._panningDivContainer.style.overflowY="hidden",c._yieldForDomModification(function(){d._pageManager._ensureCentered(),d._isHorizontal?(d._panningDivContainer.style.overflowX=d._environmentSupportsTouch?"scroll":"hidden",d._panningDivContainer.style.overflowY="hidden"):(d._panningDivContainer.style.overflowY=d._environmentSupportsTouch?"scroll":"hidden",d._panningDivContainer.style.overflowX="hidden")})):b&&this._pageManager.simulateMouseWheelScroll(a)}},_isInteractive:function(a){if(a.parentNode)for(var b=a.parentNode.querySelectorAll(".win-interactive, .win-interactive *"),c=0,d=b.length;d>c;c++)if(b[c]===a)return!0;return!1},_resizeHandler:function(){g("WinJS.UI.FlipView:resize,StartTM"),this._pageManager.resized()},_refreshHandler:function(){var a=this._dataSourceAfterRefresh||this._dataSource,b=this._itemRendererAfterRefresh||this._itemRenderer,c=this._indexAfterRefresh||0;this._setDatasource(a,b,c),this._dataSourceAfterRefresh=null,this._itemRendererAfterRefresh=null,this._indexAfterRefresh=0,this._refreshTimer=!1},_refresh:function(){if(!this._refreshTimer){var a=this;this._refreshTimer=!0,l.schedule(function(){a._refreshTimer&&!a._disposed&&a._refreshHandler()},l.Priority.high,null,"WinJS.UI.FlipView._refreshHandler")}},_getItemRenderer:function(b){var c=null;if("function"==typeof b){var d=new k(function(){}),e=b(d);c=e.element?"object"==typeof e.element&&"function"==typeof e.element.then?function(c){var d=a.document.createElement("div");return d.className="win-template",n.markDisposable(d),{element:d,renderComplete:b(c).element.then(function(a){d.appendChild(a)})}}:b:function(c){var d=a.document.createElement("div");return d.className="win-template",n.markDisposable(d),{element:d,renderComplete:c.then(function(){return k.as(b(c)).then(function(a){d.appendChild(a)})})}}}else"object"==typeof b&&(c=b.renderItem);return c},_navigate:function(a,b){if(c.validation&&this._refreshTimer)throw new d("WinJS.UI.FlipView.NavigationDuringStateChange",K.navigationDuringStateChange);if(this._animating||(this._animatingForward=a),this._goForward=a,this._animating&&!this._cancelAnimation())return!1;var e=this,f=a?this._nextAnimation:this._prevAnimation,g=f?f:this._defaultAnimation.bind(this),h=function(a){e._completeNavigation(a)},i=this._pageManager.startAnimatedNavigation(a,b,h);if(i){this._animationsStarted();var j=i.outgoing.pageRoot,k=i.incoming.pageRoot;return this._contentDiv.appendChild(j),this._contentDiv.appendChild(k),this._completeNavigationPending=!0,g(j,k).then(function(){e._completeNavigationPending&&h(e._goForward)}).done(),!0}return!1},_cancelDefaultAnimation:function(a,b){a.style.opacity=0,b.style.animationName="",b.style.opacity=1},_cancelAnimation:function(){if(this._pageManager._navigationAnimationRecord&&this._pageManager._navigationAnimationRecord.completionCallback){var a=this._pageManager._navigationAnimationRecord.cancelAnimationCallback;if(a&&(a=a.bind(this)),this._pageManager._navigationAnimationRecord&&this._pageManager._navigationAnimationRecord.elementContainers){var b=this._pageManager._navigationAnimationRecord.elementContainers[0],c=this._pageManager._navigationAnimationRecord.elementContainers[1],d=b.pageRoot,e=c.pageRoot;return a&&a(d,e),this._pageManager._navigationAnimationRecord.completionCallback(this._animatingForward),!0}}return!1},_completeNavigation:function(a){if(!this._disposed){if(this._pageManager._resizing=!1,this._pageManager._navigationAnimationRecord&&this._pageManager._navigationAnimationRecord.elementContainers){var b=this._pageManager._navigationAnimationRecord.elementContainers[0],c=this._pageManager._navigationAnimationRecord.elementContainers[1],d=b.pageRoot,e=c.pageRoot;d.parentNode&&d.parentNode.removeChild(d),e.parentNode&&e.parentNode.removeChild(e),this._pageManager.endAnimatedNavigation(a,b,c),this._fadeOutButtons(),this._scrollPosChanged(),this._pageManager._ensureCentered(!0),this._animationsFinished()}this._completeNavigationPending=!1}},_completeJump:function(){if(!this._disposed){if(this._pageManager._resizing=!1,this._pageManager._navigationAnimationRecord&&this._pageManager._navigationAnimationRecord.elementContainers){var a=this._pageManager._navigationAnimationRecord.elementContainers[0],b=this._pageManager._navigationAnimationRecord.elementContainers[1],c=a.pageRoot,d=b.pageRoot;c.parentNode&&c.parentNode.removeChild(c),d.parentNode&&d.parentNode.removeChild(d),this._pageManager.endAnimatedJump(a,b),this._animationsFinished()}this._completeJumpPending=!1}},_setCurrentIndex:function(a){return this._pageManager.jumpToIndex(a)},_getCurrentIndex:function(){return this._pageManager.currentIndex()},_setDatasource:function(a,b,c){this._animating&&this._cancelAnimation();var d=0;void 0!==c&&(d=c),this._dataSource=a,this._itemRenderer=b;var e=this._itemsManager;this._itemsManager=q._createItemsManager(this._dataSource,this._itemRenderer,this._itemsManagerCallback,{ownerElement:this._flipviewDiv}),this._dataSource=this._itemsManager.dataSource;var f=this;this._dataSource.getCount().then(function(a){f._pageManager._cachedSize=a}),this._pageManager.setNewItemsManager(this._itemsManager,d),e&&e.release()},_fireDatasourceCountChangedEvent:function(){var b=this;l.schedule(function(){var c=a.document.createEvent("Event");c.initEvent(L.datasourceCountChangedEvent,!0,!0),g("WinJS.UI.FlipView:dataSourceCountChangedEvent,info"),b._flipviewDiv.dispatchEvent(c)},l.Priority.normal,null,"WinJS.UI.FlipView._dispatchDataSourceCountChangedEvent")},_scrollPosChanged:function(){this._disposed||this._pageManager.scrollPosChanged()},_axisAsString:function(){return this._isHorizontal?"horizontal":"vertical"},_setupOrientation:function(){if(this._isHorizontal){this._panningDivContainer.style.overflowX=this._environmentSupportsTouch?"scroll":"hidden",this._panningDivContainer.style.overflowY="hidden";var a="rtl"===o._getComputedStyle(this._flipviewDiv,null).direction;this._rtl=a,a?(this._prevButton.className=v+" "+y,this._nextButton.className=v+" "+x):(this._prevButton.className=v+" "+x,this._nextButton.className=v+" "+y),this._prevButton.innerHTML=a?G:F,this._nextButton.innerHTML=a?F:G}else this._panningDivContainer.style.overflowY=this._environmentSupportsTouch?"scroll":"hidden",this._panningDivContainer.style.overflowX="hidden",this._prevButton.className=v+" "+z,this._nextButton.className=v+" "+A,this._prevButton.innerHTML=H,this._nextButton.innerHTML=I;this._panningDivContainer.style.msOverflowStyle="none"},_fadeInButton:function(a,b){(this._mouseInViewport||b||!this._environmentSupportsTouch)&&("next"===a&&this._hasNextContent?(this._nextButtonAnimation&&(this._nextButtonAnimation.cancel(),this._nextButtonAnimation=null),this._nextButton.style.visibility="visible",this._nextButtonAnimation=this._fadeInFromCurrentValue(this._nextButton)):"prev"===a&&this._hasPrevContent&&(this._prevButtonAnimation&&(this._prevButtonAnimation.cancel(),this._prevButtonAnimation=null),this._prevButton.style.visibility="visible",this._prevButtonAnimation=this._fadeInFromCurrentValue(this._prevButton)))},_fadeOutButton:function(a){var b=this;return"next"===a?(this._nextButtonAnimation&&(this._nextButtonAnimation.cancel(),this._nextButtonAnimation=null),this._nextButtonAnimation=h.fadeOut(this._nextButton).then(function(){b._nextButton.style.visibility="hidden"}),this._nextButtonAnimation):(this._prevButtonAnimation&&(this._prevButtonAnimation.cancel(),this._prevButtonAnimation=null),this._prevButtonAnimation=h.fadeOut(this._prevButton).then(function(){b._prevButton.style.visibility="hidden"}),this._prevButtonAnimation)},_fadeOutButtons:function(a){if(this._environmentSupportsTouch){this._buttonFadePromise&&(this._buttonFadePromise.cancel(),this._buttonFadePromise=null);var b=this;this._buttonFadePromise=(a?k.wrap():k.timeout(i._animationTimeAdjustment(D))).then(function(){b._fadeOutButton("prev"),b._fadeOutButton("next"),b._buttonFadePromise=null})}},_animationsStarted:function(){this._animating=!0},_animationsFinished:function(){this._animating=!1},_defaultAnimation:function(a,b){var c={};b.style.left="0px",b.style.top="0px",b.style.opacity=0;var d=a.itemIndex>b.itemIndex?-J:J;c.left=(this._isHorizontal?this._rtl?-d:d:0)+"px",c.top=(this._isHorizontal?0:d)+"px";var e=h.fadeOut(a),f=h.enterContent(b,[c],{mechanism:"transition"});return k.join([e,f])},_fadeInFromCurrentValue:function(a){return i.executeTransition(a,{property:"opacity",delay:0,duration:167,timing:"linear",to:1})}},t);return b.Class.mix(L,e.createEventProperties(L.datasourceCountChangedEvent,L.pageVisibilityChangedEvent,L.pageSelectedEvent,L.pageCompletedEvent)),b.Class.mix(L,m.DOMEventMixin),L})})}),d("WinJS/Controls/ItemContainer",["exports","../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../Promise","../Scheduler","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_KeyboardBehavior","../Utilities/_UI","./ItemContainer/_Constants","./ItemContainer/_ItemEventsHandler"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){"use strict";var t=f._createEventProperty,u={invoked:"invoked",selectionchanging:"selectionchanging",selectionchanged:"selectionchanged"};c.Namespace._moduleDefine(a,"WinJS.UI",{ItemContainer:c.Namespace._lazy(function(){var f={get duplicateConstruction(){return"Invalid argument: Controls may only be instantiated one time for each DOM element"},get swipeOrientationDeprecated(){return"Invalid configuration: swipeOrientation is deprecated. The control will default this property to 'none'"},get swipeBehaviorDeprecated(){return"Invalid configuration: swipeBehavior is deprecated. The control will default this property to 'none'"}},h=c.Class.define(function(c,d){function g(a,b,c){return{name:b?a:a.toLowerCase(),handler:function(b){i["_on"+a](b)},capture:c}}if(c=c||b.document.createElement("DIV"),this._id=c.id||n._uniqueID(c),this._writeProfilerMark("constructor,StartTM"),d=d||{},c.winControl)throw new e("WinJS.UI.ItemContainer.DuplicateConstruction",f.duplicateConstruction);c.winControl=this,this._element=c,n.addClass(c,"win-disposable"),this._selectionMode=q.SelectionMode.single,this._draggable=!1,this._pressedEntity={type:q.ObjectType.item,index:r._INVALID_INDEX},this.tapBehavior=q.TapBehavior.invokeOnly,n.addClass(this.element,h._ClassName.itemContainer+" "+r._containerClass),this._setupInternalTree(),this._selection=new a._SingleItemSelectionManager(c,this._itemBox),this._setTabIndex(),l.setOptions(this,d),this._mutationObserver=new n._MutationObserver(this._itemPropertyChange.bind(this)),this._mutationObserver.observe(c,{attributes:!0,attributeFilter:["aria-selected"]}),this._setAriaRole();var i=this;this.selectionDisabled||k.schedule(function(){i._setDirectionClass()},k.Priority.normal,null,"WinJS.UI.ItemContainer_async_initialize"),this._itemEventsHandler=new s._ItemEventsHandler(Object.create({containerFromElement:function(){return i.element},indexForItemElement:function(){return 1},indexForHeaderElement:function(){return r._INVALID_INDEX},itemBoxAtIndex:function(){return i._itemBox},itemAtIndex:function(){return i.element},headerAtIndex:function(){return null},containerAtIndex:function(){return i.element},isZombie:function(){return this._disposed},getItemPosition:function(){return i._getItemPosition()},rtl:function(){return i._rtl()},fireInvokeEvent:function(){i._fireInvokeEvent()},verifySelectionAllowed:function(){return i._verifySelectionAllowed()},changeFocus:function(){},selectRange:function(a,b){return i._selection.set({firstIndex:a,lastIndex:b})}},{pressedEntity:{get:function(){return i._pressedEntity},set:function(a){i._pressedEntity=a}},pressedElement:{enumerable:!0,set:function(a){i._pressedElement=a}},eventHandlerRoot:{enumerable:!0,get:function(){return i.element}},selectionMode:{enumerable:!0,get:function(){return i._selectionMode}},accessibleItemClass:{enumerable:!0,get:function(){return r._containerClass}},canvasProxy:{enumerable:!0,get:function(){return i._captureProxy}},tapBehavior:{enumerable:!0,get:function(){return i._tapBehavior}},draggable:{enumerable:!0,get:function(){return i._draggable}},selection:{enumerable:!0,get:function(){return i._selection}},customFootprintParent:{enumerable:!0,get:function(){return null}},skipPreventDefaultOnPointerDown:{enumerable:!0,get:function(){return!0}}}));var j=[g("PointerDown"),g("Click"),g("PointerUp"),g("PointerCancel"),g("LostPointerCapture"),g("ContextMenu"),g("MSHoldVisual",!0),g("FocusIn"),g("FocusOut"),g("DragStart"),g("DragEnd"),g("KeyDown")];j.forEach(function(a){n._addEventListener(i.element,a.name,a.handler,!!a.capture)}),this._writeProfilerMark("constructor,StopTM")},{element:{get:function(){return this._element}},draggable:{get:function(){return this._draggable},set:function(a){d.isPhone||this._draggable!==a&&(this._draggable=a,this._updateDraggableAttribute())}},selected:{get:function(){return this._selection.selected},set:function(a){this._selection.selected!==a&&(this._selection.selected=a)}},swipeOrientation:{get:function(){return"none"},set:function(a){n._deprecated(f.swipeOrientationDeprecated)}},tapBehavior:{get:function(){return this._tapBehavior},set:function(a){d.isPhone&&a===q.TapBehavior.directSelect||(this._tapBehavior=a,this._setAriaRole())}},swipeBehavior:{get:function(){return"none"},set:function(a){n._deprecated(f.swipeBehaviorDeprecated)}},selectionDisabled:{get:function(){return this._selectionMode===q.SelectionMode.none},set:function(a){a?this._selectionMode=q.SelectionMode.none:(this._setDirectionClass(),this._selectionMode=q.SelectionMode.single),this._setAriaRole()}},oninvoked:t(u.invoked),onselectionchanging:t(u.selectionchanging),onselectionchanged:t(u.selectionchanged),forceLayout:function(){this._forceLayout()},dispose:function(){this._disposed||(this._disposed=!0,this._itemEventsHandler.dispose(),m.disposeSubTree(this.element))},_onMSManipulationStateChanged:function(a){this._itemEventsHandler.onMSManipulationStateChanged(a)},_onPointerDown:function(a){this._itemEventsHandler.onPointerDown(a)},_onClick:function(a){this._itemEventsHandler.onClick(a)},_onPointerUp:function(a){n.hasClass(this._itemBox,r._itemFocusClass)&&this._onFocusOut(a),this._itemEventsHandler.onPointerUp(a)},_onPointerCancel:function(a){this._itemEventsHandler.onPointerCancel(a)},_onLostPointerCapture:function(a){this._itemEventsHandler.onLostPointerCapture(a)},_onContextMenu:function(a){this._itemEventsHandler.onContextMenu(a)},_onMSHoldVisual:function(a){this._itemEventsHandler.onMSHoldVisual(a)},_onFocusIn:function(){if(!this._itemBox.querySelector("."+r._itemFocusOutlineClass)&&p._keyboardSeenLast){n.addClass(this._itemBox,r._itemFocusClass);var a=b.document.createElement("div");a.className=r._itemFocusOutlineClass,this._itemBox.appendChild(a)}},_onFocusOut:function(){n.removeClass(this._itemBox,r._itemFocusClass);var a=this._itemBox.querySelector("."+r._itemFocusOutlineClass);a&&a.parentNode.removeChild(a)},_onDragStart:function(a){if(this._pressedElement&&this._itemEventsHandler._isInteractive(this._pressedElement))a.preventDefault();else{this._dragging=!0;var b=this;if(a.dataTransfer.setData("text",""),a.dataTransfer.setDragImage){var c=this.element.getBoundingClientRect();a.dataTransfer.setDragImage(this.element,a.clientX-c.left,a.clientY-c.top)}d._yieldForDomModification(function(){b._dragging&&n.addClass(b._itemBox,r._dragSourceClass)})}},_onDragEnd:function(){this._dragging=!1,n.removeClass(this._itemBox,r._dragSourceClass),this._itemEventsHandler.resetPointerDownState()},_onKeyDown:function(a){if(!this._itemEventsHandler._isInteractive(a.target)){var b=n.Key,c=a.keyCode,d=!1;if(a.ctrlKey||c!==b.enter)a.ctrlKey&&c===b.enter||c===b.space?this.selectionDisabled||(this.selected=!this.selected,d=n._setActive(this.element)):c===b.escape&&this.selected&&(this.selected=!1,d=!0);else{var e=this._verifySelectionAllowed();e.canTapSelect&&(this.selected=!this.selected),this._fireInvokeEvent(),d=!0}d&&(a.stopPropagation(),a.preventDefault())}},_setTabIndex:function(){var a=this.element.getAttribute("tabindex");a||this.element.setAttribute("tabindex","0")},_rtl:function(){return"boolean"!=typeof this._cachedRTL&&(this._cachedRTL="rtl"===n._getComputedStyle(this.element,null).direction),this._cachedRTL},_setDirectionClass:function(){n[this._rtl()?"addClass":"removeClass"](this.element,r._rtlListViewClass)},_forceLayout:function(){this._cachedRTL="rtl"===n._getComputedStyle(this.element,null).direction,this._setDirectionClass()},_getItemPosition:function(){var a=this.element;return a?j.wrap({left:this._rtl()?a.offsetParent.offsetWidth-a.offsetLeft-a.offsetWidth:a.offsetLeft,top:a.offsetTop,totalWidth:n.getTotalWidth(a),totalHeight:n.getTotalHeight(a),contentWidth:n.getContentWidth(a),contentHeight:n.getContentHeight(a)}):j.cancel},_itemPropertyChange:function(a){if(!this._disposed){var b=a[0].target,c="true"===b.getAttribute("aria-selected");c!==n._isSelectionRendered(this._itemBox)&&(this.selectionDisabled?n._setAttribute(b,"aria-selected",!c):(this.selected=c,c!==this.selected&&n._setAttribute(b,"aria-selected",!c)))}},_updateDraggableAttribute:function(){this._itemBox.setAttribute("draggable",this._draggable)},_verifySelectionAllowed:function(){if(this._selectionMode!==q.SelectionMode.none&&this._tapBehavior===q.TapBehavior.toggleSelect){var a=this._selection.fireSelectionChanging();return{canSelect:a,canTapSelect:a&&this._tapBehavior===q.TapBehavior.toggleSelect}}return{canSelect:!1,canTapSelect:!1}},_setupInternalTree:function(){var a=b.document.createElement("div");a.className=r._itemClass,this._captureProxy=b.document.createElement("div"),this._itemBox=b.document.createElement("div"),this._itemBox.className=r._itemBoxClass;for(var c=this.element.firstChild;c;){var d=c.nextSibling;a.appendChild(c),c=d}this.element.appendChild(this._itemBox),this._itemBox.appendChild(a),this.element.appendChild(this._captureProxy)},_fireInvokeEvent:function(){if(this.tapBehavior!==q.TapBehavior.none){var a=b.document.createEvent("CustomEvent");a.initCustomEvent(u.invoked,!0,!1,{}),this.element.dispatchEvent(a)}},_setAriaRole:function(){if(!this.element.getAttribute("role")||this._usingDefaultItemRole){this._usingDefaultItemRole=!0;var a;a=this.tapBehavior===q.TapBehavior.none&&this.selectionDisabled?"listitem":"option",n._setAttribute(this.element,"role",a)}},_writeProfilerMark:function(a){var b="WinJS.UI.ItemContainer:"+this._id+":"+a;i(b),g.log&&g.log(b,null,"itemcontainerprofiler")}},{_ClassName:{itemContainer:"win-itemcontainer",vertical:"win-vertical",horizontal:"win-horizontal"}});return c.Class.mix(h,l.DOMEventMixin),h}),_SingleItemSelectionManager:c.Namespace._lazy(function(){return c.Class.define(function(a,b){this._selected=!1,this._element=a,this._itemBox=b},{selected:{get:function(){return this._selected},set:function(a){a=!!a,this._selected!==a&&this.fireSelectionChanging()&&(this._selected=a,s._ItemEventsHandler.renderSelection(this._itemBox,this._element,a,!0,this._element),this.fireSelectionChanged())}},count:function(){return this._selected?1:0},getIndices:function(){},getItems:function(){},getRanges:function(){},isEverything:function(){return!1},set:function(){this.selected=!0},clear:function(){this.selected=!1},add:function(){this.selected=!0},remove:function(){this.selected=!1},selectAll:function(){},fireSelectionChanging:function(){var a=b.document.createEvent("CustomEvent");return a.initCustomEvent(u.selectionchanging,!0,!0,{}),this._element.dispatchEvent(a)},fireSelectionChanged:function(){var a=b.document.createEvent("CustomEvent");a.initCustomEvent(u.selectionchanged,!0,!1,{}),this._element.dispatchEvent(a)},_isIncluded:function(){return this._selected},_getFocused:function(){return{type:q.ObjectType.item,index:r._INVALID_INDEX}}})})})}),d("WinJS/Controls/Repeater",["exports","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_Events","../Core/_Resources","../Core/_WriteProfilerMark","../BindingList","../BindingTemplate","../Promise","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities","../Utilities/_Hoverable"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{Repeater:c.Namespace._lazy(function(){function a(a){var c=b.document.createElement("div");return c.textContent=JSON.stringify(a),c}var f="itemsloaded",n="itemchanging",o="itemchanged",p="iteminserting",q="iteminserted",r="itemmoving",s="itemmoved",t="itemremoving",u="itemremoved",v="itemsreloading",w="itemsreloaded",x=e._createEventProperty,y={get duplicateConstruction(){return"Invalid argument: Controls may only be instantiated one time for each DOM element"},get asynchronousRender(){return"Top level items must render synchronously"},get repeaterReentrancy(){return"Cannot modify Repeater data until Repeater has commited previous modification."}},z=c.Class.define(function(a,c){if(a&&a.winControl)throw new d("WinJS.UI.Repeater.DuplicateConstruction",y.duplicateConstruction);this._element=a||b.document.createElement("div"),this._id=this._element.id||m._uniqueID(this._element),this._writeProfilerMark("constructor,StartTM"),c=c||{},m.addClass(this._element,"win-repeater win-disposable"),this._render=null,this._modifying=!1,this._disposed=!1,this._element.winControl=this,this._dataListeners={itemchanged:this._dataItemChangedHandler.bind(this),iteminserted:this._dataItemInsertedHandler.bind(this),itemmoved:this._dataItemMovedHandler.bind(this),itemremoved:this._dataItemRemovedHandler.bind(this),reload:this._dataReloadHandler.bind(this)};var e=this._extractInlineTemplate();this._initializing=!0,this.template=c.template||e,this.data=c.data,this._initializing=!1,k._setOptions(this,c,!0),this._repeatedDOM=[],this._renderAllItems(),this.dispatchEvent(f,{}),this._writeProfilerMark("constructor,StopTM")},{element:{get:function(){return this._element}},data:{get:function(){return this._data},set:function(a){this._writeProfilerMark("data.set,StartTM"), -this._data&&this._removeDataListeners(),this._data=a||new h.List,this._addDataListeners(),this._initializing||(this._reloadRepeater(!0),this.dispatchEvent(f,{})),this._writeProfilerMark("data.set,StopTM")}},template:{get:function(){return this._template},set:function(b){this._writeProfilerMark("template.set,StartTM"),this._template=b||a,this._render=m._syncRenderer(this._template,this.element.tagName),this._initializing||(this._reloadRepeater(!0),this.dispatchEvent(f,{})),this._writeProfilerMark("template.set,StopTM")}},length:{get:function(){return this._repeatedDOM.length}},elementFromIndex:function(a){return this._repeatedDOM[a]},dispose:function(){if(!this._disposed){this._disposed=!0,this._removeDataListeners(),this._data=null,this._template=null;for(var a=0,b=this._repeatedDOM.length;b>a;a++)l._disposeElement(this._repeatedDOM[a])}},onitemsloaded:x(f),onitemchanging:x(n),onitemchanged:x(o),oniteminserting:x(p),oniteminserted:x(q),onitemmoving:x(r),onitemmoved:x(s),onitemremoving:x(t),onitemremoved:x(u),onitemsreloading:x(v),onitemsreloaded:x(w),_extractInlineTemplate:function(){if(this._element.firstElementChild){for(var a=b.document.createElement(this._element.tagName);this._element.firstElementChild;)a.appendChild(this._element.firstElementChild);return new i.Template(a,{extractChild:!0})}},_renderAllItems:function(){for(var a=b.document.createDocumentFragment(),c=0,e=this._data.length;e>c;c++){var f=this._render(this._data.getAt(c));if(!f)throw new d("WinJS.UI.Repeater.AsynchronousRender",y.asynchronousRender);a.appendChild(f),this._repeatedDOM.push(f)}this._element.appendChild(a)},_reloadRepeater:function(a){this._unloadRepeatedDOM(a),this._repeatedDOM=[],this._renderAllItems()},_unloadRepeatedDOM:function(a){for(var b=0,c=this._repeatedDOM.length;c>b;b++){var d=this._repeatedDOM[b];a&&l._disposeElement(d),d.parentElement===this._element&&this._element.removeChild(d)}},_addDataListeners:function(){Object.keys(this._dataListeners).forEach(function(a){this._data.addEventListener(a,this._dataListeners[a],!1)}.bind(this))},_beginModification:function(){if(this._modifying)throw new d("WinJS.UI.Repeater.RepeaterModificationReentrancy",y.repeaterReentrancy);this._modifying=!0},_endModification:function(){this._modifying=!1},_removeDataListeners:function(){Object.keys(this._dataListeners).forEach(function(a){this._data.removeEventListener(a,this._dataListeners[a],!1)}.bind(this))},_dataItemChangedHandler:function(a){this._beginModification();var b,c=this._element,e=a.detail.index,f=this._render(a.detail.newValue);if(!f)throw new d("WinJS.UI.Repeater.AsynchronousRender",y.asynchronousRender);this._repeatedDOM[e]&&(a.detail.oldElement=this._repeatedDOM[e]),a.detail.newElement=f,a.detail.setPromise=function(a){b=a},this._writeProfilerMark(n+",info"),this.dispatchEvent(n,a.detail);var g=null;ea;a++)l._disposeElement(b[a])}.bind(this))},_writeProfilerMark:function(a){g("WinJS.UI.Repeater:"+this._id+":"+a)}},{isDeclarativeControlContainer:!0});return c.Class.mix(z,k.DOMEventMixin),z})})}),d("require-style!less/styles-datetimepicker",[],function(){}),d("WinJS/Controls/DatePicker",["../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Core/_Events","../Core/_Resources","../Utilities/_Control","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_Select","require-style!less/styles-datetimepicker"],function(a,b,c,d,e,f,g,h,i,j){"use strict";c.Namespace.define("WinJS.UI",{DatePicker:c.Namespace._lazy(function(){function d(a,c,d){var e=b.Windows.Globalization.DateTimeFormatting;a=a?a:d;var f=new e.DateTimeFormatter(a);return c?new e.DateTimeFormatter(a,f.languages,f.geographicRegion,c,f.clock):f}function i(a,b,c){var e=t[a];e||(e=t[a]={});var f=e[b];f||(f=e[b]={});var g=f[c];return g||(g=f[c]={},g.formatter=d(a,b,c),g.years={}),g}function k(a,b,c,d,e,f){var g=i(a,b,c),h=g.years[f.year+"-"+f.era];return h||(h=g.formatter.format(f.getDateTime()),g.years[f.year+"-"+f.era]=h),h}function l(a,b,c,d){var e=i(a,b,c);return e.formatter.format(d.getDateTime())}function m(a,b,c,d){var e=i(a,b,c);return e.formatter.format(d.getDateTime())}function n(a){var c=b.Windows.Globalization,d=new c.Calendar;return a?new c.Calendar(d.languages,a,d.getClock()):d}function o(a,b){var c=0;if(a.era===b.era)c=b.year-a.year;else for(;a.era!==b.era||a.year!==b.year;)c++,a.addYears(1);return c}var p="day",q="{month.full}",r="year.full",s={get ariaLabel(){return f._getWinJSString("ui/datePicker").value},get selectDay(){return f._getWinJSString("ui/selectDay").value},get selectMonth(){return f._getWinJSString("ui/selectMonth").value},get selectYear(){return f._getWinJSString("ui/selectYear").value}},t={},u=c.Class.define(function(b,c){this._currentDate=new Date,this._minYear=this._currentDate.getFullYear()-100,this._maxYear=this._currentDate.getFullYear()+100,this._datePatterns={date:null,month:null,year:null},b=b||a.document.createElement("div"),h.addClass(b,"win-disposable"),b.winControl=this;var d=b.getAttribute("aria-label");d||b.setAttribute("aria-label",s.ariaLabel),this._init(b),g.setOptions(this,c)},{_information:null,_currentDate:null,_calendar:null,_disabled:!1,_dateElement:null,_dateControl:null,_monthElement:null,_monthControl:null,_minYear:null,_maxYear:null,_yearElement:null,_yearControl:null,_datePatterns:{date:null,month:null,year:null},_addAccessibilityAttributes:function(){this._domElement.setAttribute("role","group"),this._dateElement.setAttribute("aria-label",s.selectDay),this._monthElement.setAttribute("aria-label",s.selectMonth),this._yearElement.setAttribute("aria-label",s.selectYear)},_addControlsInOrder:function(){var a=this._domElement,b=this,c=0;b._information.order.forEach(function(d){switch(d){case"month":a.appendChild(b._monthElement),h.addClass(b._monthElement,"win-order"+c++);break;case"date":a.appendChild(b._dateElement),h.addClass(b._dateElement,"win-order"+c++);break;case"year":a.appendChild(b._yearElement),h.addClass(b._yearElement,"win-order"+c++)}})},_createControlElements:function(){this._monthElement=a.document.createElement("select"),this._monthElement.className="win-datepicker-month win-dropdown",this._dateElement=a.document.createElement("select"),this._dateElement.className="win-datepicker-date win-dropdown",this._yearElement=a.document.createElement("select"),this._yearElement.className="win-datepicker-year win-dropdown"},_createControls:function(){var a=this._information,b=a.getIndex(this.current);a.forceLanguage&&(this._domElement.setAttribute("lang",a.forceLanguage),this._domElement.setAttribute("dir",a.isRTL?"rtl":"ltr")),this._yearControl=new j._Select(this._yearElement,{dataSource:this._information.years,disabled:this.disabled,index:b.year}),this._monthControl=new j._Select(this._monthElement,{dataSource:this._information.months(b.year),disabled:this.disabled,index:b.month}),this._dateControl=new j._Select(this._dateElement,{dataSource:this._information.dates(b.year,b.month),disabled:this.disabled,index:b.date}),this._wireupEvents()},dispose:function(){},calendar:{get:function(){return this._calendar},set:function(a){this._calendar=a,this._setElement(this._domElement)}},current:{get:function(){var a=this._currentDate,b=a.getFullYear();return new Date(Math.max(Math.min(this.maxYear,b),this.minYear),a.getMonth(),a.getDate(),12,0,0,0)},set:function(a){var b;"string"==typeof a?(b=new Date(Date.parse(a)),b.setHours(12,0,0,0)):b=a;var c=this._currentDate;c!==b&&(this._currentDate=b,this._updateDisplay())}},disabled:{get:function(){return this._disabled},set:function(a){this._disabled!==a&&(this._disabled=a,this._yearControl&&(this._monthControl.setDisabled(a),this._dateControl.setDisabled(a),this._yearControl.setDisabled(a)))}},datePattern:{get:function(){return this._datePatterns.date},set:function(a){this._datePatterns.date!==a&&(this._datePatterns.date=a,this._init())}},element:{get:function(){return this._domElement}},_setElement:function(a){this._domElement=this._domElement||a,this._domElement&&(h.empty(this._domElement),h.addClass(this._domElement,"win-datepicker"),this._updateInformation(),this._createControlElements(),this._addControlsInOrder(),this._createControls(),this._addAccessibilityAttributes())},minYear:{get:function(){return this._information.getDate({year:0,month:0,date:0}).getFullYear()},set:function(a){this._minYear!==a&&(this._minYear=a,a>this._maxYear&&(this._maxYear=a),this._updateInformation(),this._yearControl&&(this._yearControl.dataSource=this._information.years),this._updateDisplay())}},maxYear:{get:function(){var a={year:this._information.years.getLength()-1};return a.month=this._information.months(a.year).getLength()-1,a.date=this._information.dates(a.year,a.month).getLength()-1,this._information.getDate(a).getFullYear()},set:function(a){this._maxYear!==a&&(this._maxYear=a,az[b]?1:0});var A=function(){return{getLength:function(){return u},getValue:function(b){return f.setDateTime(a),f.addYears(b),k(d.year,c,r,d,y,f)}}}(),B=function(b){return g.setDateTime(a),g.addYears(b),{getLength:function(){return g.numberOfMonthsInThisYear},getValue:function(a){return g.month=g.firstMonthInThisYear,g.addMonths(a),l(d.month,c,q,g)}}},C=function(b,e){return h.setDateTime(a),h.addYears(b),h.month=h.firstMonthInThisYear,h.addMonths(e),h.day=h.firstDayInThisMonth,{getLength:function(){return h.numberOfDaysInThisMonth},getValue:function(a){return h.day=h.firstDayInThisMonth,h.addDays(a),m(d.date,c,p,h)}}};return{isRTL:x,forceLanguage:v.resolvedLanguage,order:y,getDate:function(b,c){var d;c&&(f.setDateTime(c),d={year:f.year,month:f.month,day:f.day});var e=f;e.setDateTime(a),e.addYears(b.year);var g;e.firstMonthInThisYear>e.lastMonthInThisYear?(g=b.month+e.firstMonthInThisYear>e.numberOfMonthsInThisYear?b.month+e.firstMonthInThisYear-e.numberOfMonthsInThisYear:b.month+e.firstMonthInThisYear,d&&d.year!==e.year&&(g=Math.max(Math.min(d.month,e.numberOfMonthsInThisYear),1))):g=d&&d.year!==e.year?Math.max(Math.min(d.month,e.firstMonthInThisYear+e.numberOfMonthsInThisYear-1),e.firstMonthInThisYear):Math.max(Math.min(b.month+e.firstMonthInThisYear,e.firstMonthInThisYear+e.numberOfMonthsInThisYear-1),e.firstMonthInThisYear),e.month=g;var h=Math.max(Math.min(b.date+e.firstDayInThisMonth,e.firstDayInThisMonth+e.numberOfDaysInThisMonth-1),e.firstDayInThisMonth);return!d||d.year===e.year&&d.month===e.month||(h=Math.max(Math.min(d.day,e.firstDayInThisMonth+e.numberOfDaysInThisMonth-1),e.firstDayInThisMonth)),e.day=e.firstDayInThisMonth,e.addDays(h-e.firstDayInThisMonth),e.getDateTime()},getIndex:function(b){var c=e(b);f.setDateTime(c);var d={year:f.year,era:f.era},g=0;f.setDateTime(a),f.month=1,g=o(f,d),f.setDateTime(c);var h=f.month-f.firstMonthInThisYear;0>h&&(h=f.month-f.firstMonthInThisYear+f.numberOfMonthsInThisYear);var i=f.day-f.firstDayInThisMonth,j={year:g,month:h,date:i};return j},years:A,months:B,dates:C}},_getInformationJS:function(a,b){var c=a.getFullYear(),d=b.getFullYear(),e={getLength:function(){return Math.max(0,d-c+1)},getValue:function(a){return c+a}},f=["January","February","March","April","May","June","July","August","September","October","November","December"],g=function(){return{getLength:function(){return f.length},getValue:function(a){return f[a]},getMonthNumber:function(a){return Math.min(a,f.length-1)}}},h=function(a,b){var c=new Date,d=e.getValue(a),f=b+1;c.setFullYear(d,f,0);var g=c.getDate();return{getLength:function(){return g},getValue:function(a){return""+(a+1)},getDateNumber:function(a){return Math.min(a+1,g)}}};return{order:["month","date","year"],getDate:function(a){return new Date(e.getValue(a.year),g(a.year).getMonthNumber(a.month),h(a.year,a.month).getDateNumber(a.date),12,0)},getIndex:function(a){var b=0,d=a.getFullYear();b=c>d?0:d>this.maxYear?e.getLength()-1:a.getFullYear()-c;var f=Math.min(a.getMonth(),g(b).getLength()),i=Math.min(a.getDate()-1,h(b,f).getLength());return{year:b,month:f,date:i}},years:e,months:g,dates:h}}});return b.Windows.Globalization.Calendar&&b.Windows.Globalization.DateTimeFormatting?u.getInformation=u._getInformationWinRT:u.getInformation=u._getInformationJS,c.Class.mix(u,e.createEventProperties("change")),c.Class.mix(u,g.DOMEventMixin),u})})}),d("WinJS/Controls/TimePicker",["../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Core/_Events","../Core/_Resources","../Utilities/_Control","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_Select","require-style!less/styles-datetimepicker"],function(a,b,c,d,e,f,g,h,i,j){"use strict";c.Namespace.define("WinJS.UI",{TimePicker:c.Namespace._lazy(function(){var d="{minute.integer(2)}",i="{hour.integer(1)}",k="{period.abbreviated(2)}",l={get ariaLabel(){return f._getWinJSString("ui/timePicker").value},get selectHour(){return f._getWinJSString("ui/selectHour").value},get selectMinute(){return f._getWinJSString("ui/selectMinute").value},get selectAMPM(){return f._getWinJSString("ui/selectAMPM").value}},m=function(a,b){return a.getHours()===b.getHours()&&a.getMinutes()===b.getMinutes()},n=c.Class.define(function(b,c){this._currentTime=n._sentinelDate(),b=b||a.document.createElement("div"),h.addClass(b,"win-disposable"),b.winControl=this;var d=b.getAttribute("aria-label");d||b.setAttribute("aria-label",l.ariaLabel),this._timePatterns={minute:null,hour:null,period:null},this._init(b),g.setOptions(this,c)},{_currentTime:null,_clock:null,_disabled:!1,_hourElement:null,_hourControl:null,_minuteElement:null,_minuteControl:null,_ampmElement:null,_ampmControl:null,_minuteIncrement:1,_timePatterns:{minute:null,hour:null,period:null},_information:null,_addAccessibilityAttributes:function(){this._domElement.setAttribute("role","group"),this._hourElement.setAttribute("aria-label",l.selectHour),this._minuteElement.setAttribute("aria-label",l.selectMinute),this._ampmElement&&this._ampmElement.setAttribute("aria-label",l.selectAMPM)},_addControlsInOrder:function(a){var b=this;a.order.forEach(function(a,c){switch(a){case"hour":b._domElement.appendChild(b._hourElement),h.addClass(b._hourElement,"win-order"+c);break;case"minute":b._domElement.appendChild(b._minuteElement),h.addClass(b._minuteElement,"win-order"+c);break;case"period":b._ampmElement&&(b._domElement.appendChild(b._ampmElement),h.addClass(b._ampmElement,"win-order"+c))}})},dispose:function(){},clock:{get:function(){return this._clock},set:function(a){this._clock!==a&&(this._clock=a,this._init())}},current:{get:function(){var a=this._currentTime;if(a){var b=n._sentinelDate();return b.setHours(a.getHours()),b.setMinutes(this._getMinutesIndex(a)*this.minuteIncrement),b.setSeconds(0),b.setMilliseconds(0),b}return a},set:function(a){var b;"string"==typeof a?(b=n._sentinelDate(),b.setTime(Date.parse(b.toDateString()+" "+a))):(b=n._sentinelDate(),b.setHours(a.getHours()),b.setMinutes(a.getMinutes()));var c=this._currentTime;m(c,b)||(this._currentTime=b,this._updateDisplay())}},disabled:{get:function(){return this._disabled},set:function(a){this._disabled!==a&&(this._disabled=a,this._hourControl&&(this._hourControl.setDisabled(a),this._minuteControl.setDisabled(a)),this._ampmControl&&this._ampmControl.setDisabled(a))}},element:{get:function(){return this._domElement}},_init:function(a){this._setElement(a),this._updateDisplay()},hourPattern:{get:function(){return this._timePatterns.hour.pattern},set:function(a){this._timePatterns.hour!==a&&(this._timePatterns.hour=a,this._init())}},_getHoursAmpm:function(a){var b=a.getHours();return this._ampmElement?0===b?{hours:12,ampm:0}:12>b?{hours:b,ampm:0}:{hours:b-12,ampm:1}:{hours:b}},_getHoursIndex:function(a){return this._ampmElement&&12===a?0:a},_getMinutesIndex:function(a){return parseInt(a.getMinutes()/this.minuteIncrement)},minuteIncrement:{get:function(){return Math.max(1,Math.abs(0|this._minuteIncrement)%60)},set:function(a){this._minuteIncrement!==a&&(this._minuteIncrement=a,this._init())}},minutePattern:{get:function(){return this._timePatterns.minute.pattern},set:function(a){this._timePatterns.minute!==a&&(this._timePatterns.minute=a,this._init())}},periodPattern:{get:function(){return this._timePatterns.period.pattern},set:function(a){this._timePatterns.period!==a&&(this._timePatterns.period=a,this._init())}},_setElement:function(b){if(this._domElement=this._domElement||b,this._domElement){var c=n.getInformation(this.clock,this.minuteIncrement,this._timePatterns);this._information=c,c.forceLanguage&&(this._domElement.setAttribute("lang",c.forceLanguage),this._domElement.setAttribute("dir",c.isRTL?"rtl":"ltr")),h.empty(this._domElement),h.addClass(this._domElement,"win-timepicker"),this._hourElement=a.document.createElement("select"),h.addClass(this._hourElement,"win-timepicker-hour win-dropdown"),this._minuteElement=a.document.createElement("select"),h.addClass(this._minuteElement,"win-timepicker-minute win-dropdown"),this._ampmElement=null,"12HourClock"===c.clock&&(this._ampmElement=a.document.createElement("select"),h.addClass(this._ampmElement,"win-timepicker-period win-dropdown")),this._addControlsInOrder(c);var d=this._getHoursAmpm(this.current);this._hourControl=new j._Select(this._hourElement,{dataSource:this._getInfoHours(),disabled:this.disabled,index:this._getHoursIndex(d.hours)}),this._minuteControl=new j._Select(this._minuteElement,{dataSource:c.minutes,disabled:this.disabled,index:this._getMinutesIndex(this.current)}),this._ampmControl=null,this._ampmElement&&(this._ampmControl=new j._Select(this._ampmElement,{dataSource:c.periods,disabled:this.disabled,index:d.ampm})),this._wireupEvents(),this._updateValues(),this._addAccessibilityAttributes()}},_getInfoHours:function(){return this._information.hours},_updateLayout:function(){this._domElement&&this._updateValues()},_updateValues:function(){if(this._hourControl){var a=this._getHoursAmpm(this.current);this._ampmControl&&(this._ampmControl.index=a.ampm),this._hourControl.index=this._getHoursIndex(a.hours),this._minuteControl.index=this._getMinutesIndex(this.current)}},_updateDisplay:function(){var a=this._getHoursAmpm(this.current);this._ampmControl&&(this._ampmControl.index=a.ampm),this._hourControl&&(this._hourControl.index=this._getHoursIndex(a.hours),this._minuteControl.index=this._getMinutesIndex(this.current))},_wireupEvents:function(){var a=this,b=function(){var b=a._hourControl.index;return a._ampmElement&&1===a._ampmControl.index&&12!==b&&(b+=12),b},c=function(){var c=b();a._currentTime.setHours(c),a._currentTime.setMinutes(a._minuteControl.index*a.minuteIncrement)};this._hourElement.addEventListener("change",c,!1),this._minuteElement.addEventListener("change",c,!1),this._ampmElement&&this._ampmElement.addEventListener("change",c,!1)}},{_sentinelDate:function(){var a=new Date;return new Date(2011,6,15,a.getHours(),a.getMinutes())},_getInformationWinRT:function(a,c,e){var f=function(c,d){var e=b.Windows.Globalization.DateTimeFormatting;c=c?c:d;var f=new e.DateTimeFormatter(c);return a&&(f=e.DateTimeFormatter(c,f.languages,f.geographicRegion,f.calendar,a)),f},g=b.Windows.Globalization,h=new g.Calendar;a&&(h=new g.Calendar(h.languages,h.getCalendarSystem(),a)),h.setDateTime(n._sentinelDate());var j=h.getClock(),l=24;l=h.numberOfHoursInThisPeriod;var m=function(){var a=f(e.period,k);return{getLength:function(){return 2},getValue:function(b){var c=n._sentinelDate();if(0===b){c.setHours(1);var d=a.format(c);return d}if(1===b){c.setHours(13);var e=a.format(c);return e}return null}}}(),o=function(){var a=f(e.minute,d),b=n._sentinelDate();return{getLength:function(){return 60/c},getValue:function(d){var e=d*c;return b.setMinutes(e),a.format(b)}}}(),p=function(){var a=f(e.hour,i),b=n._sentinelDate();return{getLength:function(){return l},getValue:function(c){return b.setHours(c),a.format(b)}}}(),q=f("hour minute"),r=q.patterns[0],s=["hour","minute"],t={period:r.indexOf("{period"),hour:r.indexOf("{hour"),minute:r.indexOf("{minute")};t.period>-1&&s.push("period");var u=b.Windows.Globalization.DateTimeFormatting.DateTimeFormatter,v=new u("month.full",b.Windows.Globalization.ApplicationLanguages.languages,"ZZ","GregorianCalendar","24HourClock"),w=v.patterns[0],x=8207===w.charCodeAt(0);if(x){var y=t.hour;t.hour=t.minute,t.minute=y}return s.sort(function(a,b){return t[a]t[b]?1:0}),{minutes:o,hours:p,clock:j,periods:m,order:s,forceLanguage:q.resolvedLanguage,isRTL:x}},_getInformationJS:function(a,b){var c=[12,1,2,3,4,5,6,7,8,9,10,11],d={};d.getLength=function(){return 60/b},d.getValue=function(a){var c=a*b;return 10>c?"0"+c.toString():c.toString()};var e=["hour","minute","period"];return"24HourClock"===a&&(c=["00","01","02","03","04","05","06","07","08","09",10,11,12,13,14,15,16,17,18,19,20,21,22,23],e=["hour","minute"]),{minutes:d,hours:c,clock:a||"12HourClock",periods:["AM","PM"],order:e}}});return b.Windows.Globalization.DateTimeFormatting&&b.Windows.Globalization.Calendar&&b.Windows.Globalization.ApplicationLanguages?n.getInformation=n._getInformationWinRT:n.getInformation=n._getInformationJS,c.Class.mix(n,e.createEventProperties("change")),c.Class.mix(n,g.DOMEventMixin),n})})}),d("require-style!less/styles-backbutton",[],function(){}),d("require-style!less/colors-backbutton",[],function(){}),d("WinJS/Controls/BackButton",["exports","../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_Resources","../Navigation","../Utilities/_Control","../Utilities/_ElementUtilities","../Utilities/_Hoverable","require-style!less/styles-backbutton","require-style!less/colors-backbutton"],function(a,b,c,d,e,f,g,h,i){"use strict";var j=h.Key,k="win-navigation-backbutton",l="win-back",m=3,n=function(){function a(){b.addEventListener("keyup",d,!1),h._addEventListener(b,"pointerup",e,!1)}function c(){b.removeEventListener("keyup",d,!1),h._removeEventListener(b,"pointerup",e,!1)}function d(a){(a.keyCode===j.leftArrow&&a.altKey&&!a.shiftKey&&!a.ctrlKey||a.keyCode===j.browserBack)&&(f.back(),a.preventDefault())}function e(a){a.button===m&&f.back()}var g=0;return{addRef:function(){0===g&&a(),g++},release:function(){g>0&&(g--,0===g&&c())},getCount:function(){return g}}}();c.Namespace._moduleDefine(a,"WinJS.UI",{BackButton:c.Namespace._lazy(function(){var a={get ariaLabel(){return e._getWinJSString("ui/backbuttonarialabel").value},get duplicateConstruction(){return"Invalid argument: Controls may only be instantiated one time for each DOM element"},get badButtonElement(){return"Invalid argument: For a button, toggle, or flyout command, the element must be null or a button element"}},i=c.Class.define(function(c,e){if(c&&c.winControl)throw new d("WinJS.UI.BackButton.DuplicateConstruction",a.duplicateConstruction);this._element=c||b.document.createElement("button"),e=e||{},this._initializeButton(),this._disposed=!1,this._element.winControl=this,g.setOptions(this,e),this._buttonClickHandler=this._handleBackButtonClick.bind(this),this._element.addEventListener("click",this._buttonClickHandler,!1),this._navigatedHandler=this._handleNavigatedEvent.bind(this),f.addEventListener("navigated",this._navigatedHandler,!1),n.addRef()},{element:{get:function(){return this._element}},dispose:function(){this._disposed||(this._disposed=!0,f.removeEventListener("navigated",this._navigatedHandler,!1),n.release())},refresh:function(){f.canGoBack?this._element.disabled=!1:this._element.disabled=!0},_initializeButton:function(){if("BUTTON"!==this._element.tagName)throw new d("WinJS.UI.BackButton.BadButtonElement",a.badButtonElement);h.addClass(this._element,k),h.addClass(this._element,"win-disposable"),this._element.innerHTML='',this.refresh(),this._element.setAttribute("aria-label",a.ariaLabel),this._element.setAttribute("title",a.ariaLabel),this._element.setAttribute("type","button")},_handleNavigatedEvent:function(){this.refresh()},_handleBackButtonClick:function(){f.back()}});return i._getReferenceCount=function(){return n.getCount()},c.Class.mix(i,g.DOMEventMixin),i})})}),d("require-style!less/styles-tooltip",[],function(){}),d("require-style!less/colors-tooltip",[],function(){}),d("WinJS/Controls/Tooltip",["exports","../Core/_Global","../Core/_WinRT","../Core/_Base","../Core/_BaseUtils","../Core/_Events","../Animations","../Animations/_TransitionAnimation","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities","../Utilities/_Hoverable","require-style!less/styles-tooltip","require-style!less/colors-tooltip"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";d.Namespace._moduleDefine(a,"WinJS.UI",{Tooltip:d.Namespace._lazy(function(){function a(a,b){return"pointerdown"===a?b===G:a in H}function l(a,b){return"pointerdown"===a?b!==G:a in J}var m=0,n=k.Key,o="top",p=h._animationTimeAdjustment(400),q=h._animationTimeAdjustment(1200),r=h._animationTimeAdjustment(400),s=h._animationTimeAdjustment(5e3),t=h._animationTimeAdjustment(0),u=h._animationTimeAdjustment(600),v=h._animationTimeAdjustment(400),w=h._animationTimeAdjustment(600),x=h._animationTimeAdjustment(200),y=h._animationTimeAdjustment(3e5),z=12,A=20,B=45,C=20,D=12,E=1,F=k._MSPointerEvent.MSPOINTER_TYPE_MOUSE||"mouse",G=k._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch",H={keyup:"",pointerover:"",pointerdown:""},I={pointermove:""},J={pointerdown:"",keydown:"",focusout:"",pointerout:"",pointercancel:"",pointerup:""},K={pointerover:"",pointerout:""},L="win-tooltip",M="win-tooltip-phantom",N=r,O=2*N,P=2.5*N,Q=s,R=!1,S=!1,T=f._createEventProperty;return d.Class.define(function(a,d){a=a||b.document.createElement("div");var e=k.data(a).tooltip;if(e)return e;if(!S&&c.Windows.UI.ViewManagement.UISettings){var f=new c.Windows.UI.ViewManagement.UISettings;N=h._animationTimeAdjustment(f.mouseHoverTime),O=2*N,P=2.5*N,Q=h._animationTimeAdjustment(1e3*f.messageDuration);var g=f.handPreference;R=g===c.Windows.UI.ViewManagement.HandPreference.leftHanded}S=!0,this._disposed=!1,this._placement=o,this._infotip=!1,this._innerHTML=null,this._contentElement=null,this._extraClass=null,this._lastContentType="html",this._anchorElement=a,this._domElement=null,this._phantomDiv=null,this._triggerByOpen=!1,this._eventListenerRemoveStack=[],this._lastKeyOrBlurEvent=null,this._currentKeyOrBlurEvent=null,a.winControl=this,k.addClass(a,"win-disposable"),a.title&&(this._innerHTML=this._anchorElement.title,this._anchorElement.removeAttribute("title")),i.setOptions(this,d),this._events(),k.data(a).tooltip=this},{innerHTML:{get:function(){return this._innerHTML},set:function(a){if(this._innerHTML=a,this._domElement){if(!this._innerHTML||""===this._innerHTML)return void this._onDismiss();this._domElement.innerHTML=a,this._position()}this._lastContentType="html"}},element:{get:function(){return this._anchorElement}},contentElement:{get:function(){return this._contentElement},set:function(a){if(this._contentElement=a,this._domElement){if(!this._contentElement)return void this._onDismiss();this._domElement.innerHTML="",this._domElement.appendChild(this._contentElement),this._position()}this._lastContentType="element"}},placement:{get:function(){return this._placement},set:function(a){"top"!==a&&"bottom"!==a&&"left"!==a&&"right"!==a&&(a=o),this._placement=a,this._domElement&&this._position()}},infotip:{get:function(){return this._infotip},set:function(a){this._infotip=!!a}},extraClass:{get:function(){return this._extraClass},set:function(a){this._extraClass=a}},onbeforeopen:T("beforeopen"),onopened:T("opened"),onbeforeclose:T("beforeclose"),onclosed:T("closed"),dispose:function(){if(!this._disposed){this._disposed=!0,j.disposeSubTree(this.element);for(var a=0,b=this._eventListenerRemoveStack.length;b>a;a++)this._eventListenerRemoveStack[a](); -this._onDismiss();var c=k.data(this._anchorElement);c&&delete c.tooltip}},addEventListener:function(a,b,c){if(this._anchorElement){this._anchorElement.addEventListener(a,b,c);var d=this;this._eventListenerRemoveStack.push(function(){d._anchorElement.removeEventListener(a,b,c)})}},removeEventListener:function(a,b,c){this._anchorElement&&this._anchorElement.removeEventListener(a,b,c)},open:function(a){switch(this._triggerByOpen=!0,"touch"!==a&&"mouseover"!==a&&"mousedown"!==a&&"keyboard"!==a&&(a="default"),a){case"touch":this._onInvoke("touch","never");break;case"mouseover":this._onInvoke("mouse","auto");break;case"keyboard":this._onInvoke("keyboard","auto");break;case"mousedown":case"default":this._onInvoke("nodelay","never")}},close:function(){this._onDismiss()},_cleanUpDOM:function(){this._domElement&&(j.disposeSubTree(this._domElement),b.document.body.removeChild(this._domElement),this._domElement=null,b.document.body.removeChild(this._phantomDiv),this._phantomDiv=null)},_createTooltipDOM:function(){this._cleanUpDOM(),this._domElement=b.document.createElement("div");var a=k._uniqueID(this._domElement);this._domElement.setAttribute("id",a);var c=k._getComputedStyle(this._anchorElement,null),d=this._domElement.style;d.direction=c.direction,d.writingMode=c["writing-mode"],this._domElement.setAttribute("tabindex",-1),this._domElement.setAttribute("role","tooltip"),this._anchorElement.setAttribute("aria-describedby",a),"element"===this._lastContentType?this._domElement.appendChild(this._contentElement):this._domElement.innerHTML=this._innerHTML,b.document.body.appendChild(this._domElement),k.addClass(this._domElement,L),this._extraClass&&k.addClass(this._domElement,this._extraClass),this._phantomDiv=b.document.createElement("div"),this._phantomDiv.setAttribute("tabindex",-1),b.document.body.appendChild(this._phantomDiv),k.addClass(this._phantomDiv,M);var e=k._getComputedStyle(this._domElement,null).zIndex+1;this._phantomDiv.style.zIndex=e},_raiseEvent:function(a,c){if(this._anchorElement){var d=b.document.createEvent("CustomEvent");d.initCustomEvent(a,!1,!1,c),this._anchorElement.dispatchEvent(d)}},_captureLastKeyBlurOrPointerOverEvent:function(a){switch(this._lastKeyOrBlurEvent=this._currentKeyOrBlurEvent,a.type){case"keyup":a.keyCode===n.shift?this._currentKeyOrBlurEvent=null:this._currentKeyOrBlurEvent="keyboard";break;case"focusout":this._currentKeyOrBlurEvent=null}},_registerEventToListener:function(a,b){var c=this,d=function(a){c._captureLastKeyBlurOrPointerOverEvent(a),c._handleEvent(a)};k._addEventListener(a,b,d,!1),this._eventListenerRemoveStack.push(function(){k._removeEventListener(a,b,d,!1)})},_events:function(){for(var a in H)this._registerEventToListener(this._anchorElement,a);for(var a in I)this._registerEventToListener(this._anchorElement,a);for(a in J)this._registerEventToListener(this._anchorElement,a);this._registerEventToListener(this._anchorElement,"contextmenu"),this._registerEventToListener(this._anchorElement,"MSHoldVisual")},_handleEvent:function(b){var c=b._normalizedType||b.type;if(!this._triggerByOpen){if(c in K&&k.eventWithinElement(this._anchorElement,b))return;if(a(c,b.pointerType))if(b.pointerType===G)this._isShown||(this._showTrigger="touch"),this._onInvoke("touch","never",b);else{if(this._skipMouseOver&&b.pointerType===F&&"pointerover"===c)return void(this._skipMouseOver=!1);var d="key"===c.substring(0,3)?"keyboard":"mouse";this._isShown||(this._showTrigger=d),this._onInvoke(d,"auto",b)}else if(c in I)this._contactPoint={x:b.clientX,y:b.clientY};else if(l(c,b.pointerType)){var f;if(b.pointerType===G){if("pointerup"===c){this._skipMouseOver=!0;var g=this;e._yieldForEvents(function(){g._skipMouseOver=!1})}f="touch"}else f="key"===c.substring(0,3)?"keyboard":"mouse";if("focusout"!==c&&f!==this._showTrigger)return;this._onDismiss()}else("contextmenu"===c||"MSHoldVisual"===c)&&b.preventDefault()}},_onShowAnimationEnd:function(){if(!this._shouldDismiss&&!this._disposed&&(this._raiseEvent("opened"),this._domElement&&"never"!==this._hideDelay)){var a=this,b=this._infotip?Math.min(3*Q,y):Q;this._hideDelayTimer=this._setTimeout(function(){a._onDismiss()},b)}},_onHideAnimationEnd:function(){b.document.body.removeEventListener("DOMNodeRemoved",this._removeTooltip,!1),this._cleanUpDOM(),this._anchorElement&&this._anchorElement.removeAttribute("aria-describedby"),m=(new Date).getTime(),this._triggerByOpen=!1,this._disposed||this._raiseEvent("closed")},_decideOnDelay:function(a){var b;if(this._useAnimation=!0,"nodelay"===a)b=0,this._useAnimation=!1;else{var c=(new Date).getTime();x>=c-m?(b="touch"===a?this._infotip?v:t:this._infotip?w:u,this._useAnimation=!1):b="touch"===a?this._infotip?q:p:this._infotip?P:O}return b},_getAnchorPositionFromElementWindowCoord:function(){var a=this._anchorElement.getBoundingClientRect();return{x:a.left,y:a.top,width:a.width,height:a.height}},_getAnchorPositionFromPointerWindowCoord:function(a){return{x:a.x,y:a.y,width:1,height:1}},_canPositionOnSide:function(a,b,c,d){var e=0,f=0;switch(a){case"top":e=d.width+this._offset,f=c.y;break;case"bottom":e=d.width+this._offset,f=b.height-c.y-c.height;break;case"left":e=c.x,f=d.height+this._offset;break;case"right":e=b.width-c.x-c.width,f=d.height+this._offset}return e>=d.width+this._offset&&f>=d.height+this._offset},_positionOnSide:function(a,b,c,d){var e=0,f=0;switch(a){case"top":case"bottom":e=c.x+c.width/2-d.width/2,e=Math.min(Math.max(e,0),b.width-d.width-E),f="top"===a?c.y-d.height-this._offset:c.y+c.height+this._offset;break;case"left":case"right":f=c.y+c.height/2-d.height/2,f=Math.min(Math.max(f,0),b.height-d.height-E),e="left"===a?c.x-d.width-this._offset:c.x+c.width+this._offset}this._domElement.style.left=e+"px",this._domElement.style.top=f+"px",this._phantomDiv.style.left=e+"px",this._phantomDiv.style.top=f+"px",this._phantomDiv.style.width=d.width+"px",this._phantomDiv.style.height=d.height+"px"},_position:function(a){var c={width:0,height:0},d={x:0,y:0,width:0,height:0},e={width:0,height:0};c.width=b.document.documentElement.clientWidth,c.height=b.document.documentElement.clientHeight,"tb-rl"===k._getComputedStyle(b.document.body,null)["writing-mode"]&&(c.width=b.document.documentElement.clientHeight,c.height=b.document.documentElement.clientWidth),d=!this._contactPoint||"touch"!==a&&"mouse"!==a?this._getAnchorPositionFromElementWindowCoord():this._getAnchorPositionFromPointerWindowCoord(this._contactPoint),e.width=this._domElement.offsetWidth,e.height=this._domElement.offsetHeight;var f={top:["top","bottom","left","right"],bottom:["bottom","top","left","right"],left:["left","right","top","bottom"],right:["right","left","top","bottom"]};R&&(f.top[2]="right",f.top[3]="left",f.bottom[2]="right",f.bottom[3]="left");for(var g=f[this._placement],h=g.length,i=0;h>i;i++)if(i===h-1||this._canPositionOnSide(g[i],c,d,e)){this._positionOnSide(g[i],c,d,e);break}return g[i]},_showTooltip:function(a){if(!this._shouldDismiss&&(this._isShown=!0,this._raiseEvent("beforeopen"),b.document.body.contains(this._anchorElement)&&!this._shouldDismiss)){if("element"===this._lastContentType){if(!this._contentElement)return void(this._isShown=!1)}else if(!this._innerHTML||""===this._innerHTML)return void(this._isShown=!1);var c=this;this._removeTooltip=function(a){for(var d=c._anchorElement;d;){if(a.target===d){b.document.body.removeEventListener("DOMNodeRemoved",c._removeTooltip,!1),c._cleanUpDOM();break}d=d.parentNode}},b.document.body.addEventListener("DOMNodeRemoved",this._removeTooltip,!1),this._createTooltipDOM(),this._position(a),this._useAnimation?g.fadeIn(this._domElement).then(this._onShowAnimationEnd.bind(this)):this._onShowAnimationEnd()}},_onInvoke:function(a,b,c){if(this._shouldDismiss=!1,!this._isShown&&(!c||"keyup"!==c.type||"keyboard"!==this._lastKeyOrBlurEvent&&(this._lastKeyOrBlurEvent||c.keyCode===n.tab))){this._hideDelay=b,this._contactPoint=null,c?(this._contactPoint={x:c.clientX,y:c.clientY},"touch"===a?this._offset=B:"keyboard"===a?this._offset=z:this._offset=A):"touch"===a?this._offset=C:this._offset=D,this._clearTimeout(this._delayTimer),this._clearTimeout(this._hideDelayTimer);var d=this._decideOnDelay(a);if(d>0){var e=this;this._delayTimer=this._setTimeout(function(){e._showTooltip(a)},d)}else this._showTooltip(a)}},_onDismiss:function(){this._shouldDismiss=!0,this._isShown&&(this._isShown=!1,this._showTrigger="mouse",this._domElement?(this._raiseEvent("beforeclose"),this._useAnimation?g.fadeOut(this._domElement).then(this._onHideAnimationEnd.bind(this)):this._onHideAnimationEnd()):(this._raiseEvent("beforeclose"),this._raiseEvent("closed")))},_setTimeout:function(a,c){return b.setTimeout(a,c)},_clearTimeout:function(a){b.clearTimeout(a)}},{_DELAY_INITIAL_TOUCH_SHORT:{get:function(){return p}},_DELAY_INITIAL_TOUCH_LONG:{get:function(){return q}},_DEFAULT_MOUSE_HOVER_TIME:{get:function(){return r}},_DEFAULT_MESSAGE_DURATION:{get:function(){return s}},_DELAY_RESHOW_NONINFOTIP_TOUCH:{get:function(){return t}},_DELAY_RESHOW_NONINFOTIP_NONTOUCH:{get:function(){return u}},_DELAY_RESHOW_INFOTIP_TOUCH:{get:function(){return v}},_DELAY_RESHOW_INFOTIP_NONTOUCH:{get:function(){return w}},_RESHOW_THRESHOLD:{get:function(){return x}},_HIDE_DELAY_MAX:{get:function(){return y}}})})})}),d("require-style!less/styles-rating",[],function(){}),d("require-style!less/colors-rating",[],function(){}),d("WinJS/Controls/Rating",["../Core/_Global","../Core/_Base","../Core/_ErrorFromName","../Core/_Events","../Core/_Resources","../_Accents","../Utilities/_Control","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_SafeHtml","./Tooltip","require-style!less/styles-rating","require-style!less/colors-rating"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";f.createAccentRule(".win-rating .win-star.win-user.win-full, .win-rating .win-star.win-user.win-full.win-disabled",[{name:"color",value:f.ColorTypes.accent}]),b.Namespace.define("WinJS.UI",{Rating:b.Namespace._lazy(function(){var f=d._createEventProperty,i={get averageRating(){return e._getWinJSString("ui/averageRating").value},get clearYourRating(){return e._getWinJSString("ui/clearYourRating").value},get tentativeRating(){return e._getWinJSString("ui/tentativeRating").value},get tooltipStringsIsInvalid(){return"Invalid argument: tooltipStrings must be null or an array of strings."},get unrated(){return e._getWinJSString("ui/unrated").value},get userRating(){return e._getWinJSString("ui/userRating").value}},l=5,m=!1,n="cancel",o="change",p="previewchange",q=0,r=h._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch",s=h._MSPointerEvent.MSPOINTER_TYPE_PEN||"pen",t=h._MSPointerEvent.MSPOINTER_TYPE_MOUSE||"mouse",u="padding-left: 0px; padding-right: 0px; border-left: 0px; border-right: 0px; -ms-flex: none; -webkit-flex: none; flex: none; display: none",v="win-rating",w="win-star win-empty",x="win-star win-average win-empty",y="win-star win-average win-full",z="win-star win-user win-empty",A="win-star win-user win-full",B="win-star win-tentative win-empty",C="win-star win-tentative win-full",D="win-disabled",E="win-average",F="win-user";return b.Class.define(function(b,c){this._disposed=!1,b=b||a.document.createElement("div"),c=c||{},this._element=b,h.addClass(this._element,"win-disposable"),this._userRating=0,this._averageRating=0,this._disabled=m,this._enableClear=!0,this._tooltipStrings=[],this._controlUpdateNeeded=!1,this._setControlSize(c.maxRating),c.tooltipStrings||this._updateTooltips(null),g.setOptions(this,c),this._controlUpdateNeeded=!0,this._forceLayout(),h._addInsertedNotifier(this._element),b.winControl=this,this._events()},{maxRating:{get:function(){return this._maxRating},set:function(a){this._setControlSize(a),this._forceLayout()}},userRating:{get:function(){return this._userRating},set:function(a){this._userRating=Math.max(0,Math.min(Number(a)>>0,this._maxRating)),this._updateControl()}},averageRating:{get:function(){return this._averageRating},set:function(a){this._averageRating=Number(a)<1?0:Math.min(Number(a)||0,this._maxRating),this._averageRatingElement&&this._ensureAverageMSStarRating(),this._updateControl()}},disabled:{get:function(){return this._disabled},set:function(a){this._disabled=!!a,this._disabled&&this._clearTooltips(),this._updateTabIndex(),this._updateControl()}},enableClear:{get:function(){return this._enableClear},set:function(a){this._enableClear=!!a,this._setAriaValueMin(),this._updateControl()}},tooltipStrings:{get:function(){return this._tooltipStrings},set:function(a){if("object"!=typeof a)throw new c("WinJS.UI.Rating.TooltipStringsIsInvalid",i.tooltipStringsIsInvalid);this._updateTooltips(a),this._updateAccessibilityRestState()}},element:{get:function(){return this._element}},oncancel:f(n),onchange:f(o),onpreviewchange:f(p),dispose:function(){if(!this._disposed){this._disposed=!0;for(var a=0;a":a+"
";j.setInnerHTMLUnsafe(this._element,a);for(var c=this._element.firstElementChild,b=0;c;)this._elements[b]=c,b0?(a.setAttribute("aria-label",i.tentativeRating),a.setAttribute("aria-valuenow",this._tentativeRating),a.setAttribute("aria-valuetext",this._getText(this._tentativeRating-1))):0===this._tentativeRating?(a.setAttribute("aria-valuenow",i.unrated),a.setAttribute("aria-label",i.tentativeRating),a.setAttribute("aria-valuetext",this._getText(this._maxRating))):(a.setAttribute("aria-valuenow",i.unrated),a.setAttribute("aria-label",i.tentativeRating),a.setAttribute("aria-valuetext",i.unrated)),this._ariaValueNowMutationObserver&&this._ariaValueNowMutationObserver.observe(this._element,{attributes:!0,attributeFilter:["aria-valuenow"]})},_ensureTooltips:function(){if(!this.disabled&&0===this._toolTips.length)for(var a=0;a0?this._tentativeRating--:-1===this._tentativeRating&&(0!==this._userRating&&this._userRating>0?this._tentativeRating=this._userRating-1:this._tentativeRating=0),0!==this._tentativeRating||this._enableClear||(this._tentativeRating=1,a=!1)),this._showTentativeRating(a,"keyboard")},_events:function(){function a(a){return{name:a,lowerCaseName:a.toLowerCase(),handler:function(b){var d=c["_on"+a];d&&d.apply(c,[b])}}}var b,c=this,d=[a("KeyDown"),a("FocusOut"),a("FocusIn"),a("PointerCancel"),a("PointerDown"),a("PointerMove"),a("PointerOver"),a("PointerUp"),a("PointerOut")],e=[a("WinJSNodeInserted")];for(b=0;b=this._maxRating)&&(a=!1),-1!==this._tentativeRating?this._tentativeRatingf;f++){var i=e[f];if("tooltip"===i.getAttribute("role"))return;if(h.hasClass(i,"win-star")){c=i;break}}var j;if(c&&c.parentElement===this._element)j=h.data(c).msStarRating||0;else{var k=0,l=this.maxRating;"rtl"===h._getComputedStyle(this._element).direction&&(k=l,l=0),j=a.clientX0?this._decrementRating():e=!1;break;case b.upArrow:this._tentativeRating0?this._decrementRating():"rtl"!==d&&this._tentativeRating0?this._decrementRating():e=!1;break;default:var f=0;if(c>=b.num0&&c<=b.num9?f=b.num0:c>=b.numPad0&&c<=b.numPad9&&(f=b.numPad0),f>0){var g=!1,i=Math.min(c-f,this._maxRating);0!==i||this._enableClear||(i=1),i!==this._tentativeRating&&(this._closeTooltip(),g=!0),this._tentativeRating=i,this._showTentativeRating(g,"keyboard")}else e=!1}e&&(a.stopPropagation(),a.preventDefault())},_onPointerOut:function(a){this._captured||h.eventWithinElement(this._element,a)||(this._showCurrentRating(),this._lastEventWasChange||this._raiseEvent(n,null))},_onUserRatingChanged:function(){this._disabled||(this._closeTooltip(),this._userRating===this._tentativeRating||this._lastEventWasCancel||this._lastEventWasChange?this._updateControl():(this.userRating=this._tentativeRating,this._raiseEvent(o,this._userRating)))},_raiseEvent:function(b,c){if(!this._disabled&&(this._lastEventWasChange=b===o,this._lastEventWasCancel=b===n,a.document.createEvent)){var d=a.document.createEvent("CustomEvent");d.initCustomEvent(b,!1,!1,{tentativeRating:c}),this._element.dispatchEvent(d)}},_resetNextElement:function(a){if(null!==this._averageRatingElement.nextSibling){h._setFlexStyle(this._averageRatingElement.nextSibling,{grow:1,shrink:1});var b=this._averageRatingElement.nextSibling.style,c=h._getComputedStyle(this._element).direction;a&&(c="rtl"===c?"ltr":"rtl"),"rtl"===c?(b.paddingRight=this._elementPadding,b.borderRight=this._elementBorder,b.direction="rtl"):(b.paddingLeft=this._elementPadding,b.borderLeft=this._elementBorder,b.direction="ltr"),b.backgroundPosition="left",b.backgroundSize="100% 100%",b.width=this._resizeStringValue(this._elementWidth,1,b.width)}},_resetAverageStar:function(a){this._resetNextElement(a),this._hideAverageRating()},_resizeStringValue:function(a,b,c){var d=parseFloat(a);if(isNaN(d))return null!==c?c:a;var e=a.substring(d.toString(10).length);return d*=b,d+e},_setControlSize:function(a){var b=(Number(a)||l)>>0;this._maxRating=b>0?b:l},_updateTooltips:function(a){var b,c=0;if(null!==a)for(c=a.length<=this._maxRating+1?a.length:this._maxRating+1,b=0;c>b;b++)this._tooltipStrings[b]=a[b];else{for(b=0;bd?this._elements[d].className=a:this._elements[d].className=c},_updateAverageStar:function(){var a=this._averageRatingElement.style,b=this._averageRatingElement.nextSibling.style;"rtl"===h._getComputedStyle(this._element).direction?(a.backgroundPosition="right",a.paddingRight=this._elementPadding,a.borderRight=this._elementBorder,b.paddingRight="0px",b.borderRight="0px",b.direction="ltr"):(a.backgroundPosition="left",b.backgroundPosition="right",a.paddingLeft=this._elementPadding,a.borderLeft=this._elementBorder,b.paddingLeft="0px",b.borderLeft="0px",b.direction="rtl"),h._setFlexStyle(this._averageRatingElement,{grow:this._floatingValue,shrink:this._floatingValue}),a.width=this._resizeStringValue(this._elementWidth,this._floatingValue,a.width),a.backgroundSize=100/this._floatingValue+"% 100%",a.display=h._getComputedStyle(this._averageRatingElement.nextSibling).display,this._averageRatingHidden=!1,h._setFlexStyle(this._averageRatingElement.nextSibling,{grow:1-this._floatingValue,shrink:1-this._floatingValue}),b.width=this._resizeStringValue(this._elementWidth,1-this._floatingValue,b.width),b.backgroundSize=100/(1-this._floatingValue)+"% 100%"},_showCurrentRating:function(){this._closeTooltip(),this._tentativeRating=-1,this._disabled||this._updateControl(),this._updateAccessibilityRestState()},_showTentativeRating:function(a,b){!this._disabled&&this._tentativeRating>=0&&(this._setStarClasses(C,this._tentativeRating,B),this._hideAverageStar()),this._updateAccessibilityHoverState(),a&&(this._openTooltip(b),this._raiseEvent(p,this._tentativeRating))},_openTooltip:function(b){if(!this.disabled)if(this._ensureTooltips(),this._tentativeRating>0)this._toolTips[this._tentativeRating-1].innerHTML=this._tooltipStrings[this._tentativeRating-1],this._toolTips[this._tentativeRating-1].open(b);else if(0===this._tentativeRating){this._clearElement=a.document.createElement("div");var c=this._elements[0].offsetWidth+parseInt(this._elementPadding,10);"ltr"===h._getComputedStyle(this._element).direction&&(c*=-1),this._clearElement.style.cssText="visiblity:hidden; position:absolute; width:0px; height:100%; left:"+c+"px; top:0px;",this._elements[0].appendChild(this._clearElement),this._toolTips[this._maxRating]=new k.Tooltip(this._clearElement),this._toolTips[this._maxRating].innerHTML=this._tooltipStrings[this._maxRating],this._toolTips[this._maxRating].open(b)}},_closeTooltip:function(){0!==this._toolTips.length&&(this._tentativeRating>0?this._toolTips[this._tentativeRating-1].close():0===this._tentativeRating&&null!==this._clearElement&&(this._toolTips[this._maxRating].close(),this._elements[0].removeChild(this._clearElement),this._clearElement=null))},_clearTooltips:function(){if(this._toolTips&&0!==this._toolTips.length)for(var a=0;ad?this._elements[d].className=a:this._elements[d].className=c},_ensureAverageMSStarRating:function(){h.data(this._averageRatingElement).msStarRating=Math.ceil(this._averageRating)},_updateControl:function(){if(this._controlUpdateNeeded){if(0!==this._averageRating&&0===this._userRating&&this._averageRating>=1&&this._averageRating<=this._maxRating){this._setClasses(y,this._averageRating-1,x),this._averageRatingElement.className=y;for(var a=0;a=this._averageRating){this._resetNextElement(!1),this._element.insertBefore(this._averageRatingElement,this._elements[a]),this._floatingValue=this._averageRating-a;var b=h._getComputedStyle(this._elements[a]);this._elementWidth=b.width,"rtl"===h._getComputedStyle(this._element).direction?(this._elementPadding=b.paddingRight,this._elementBorder=b.borderRight):(this._elementPadding=b.paddingLeft,this._elementBorder=b.borderLeft),this._updateAverageStar()}}0!==this._userRating&&this._userRating>=1&&this._userRating<=this._maxRating&&(this._setClasses(A,this._userRating,z),this._resetAverageStar(!1)),0===this._userRating&&0===this._averageRating&&(this._setClasses(w,this._maxRating),this._resetAverageStar(!1)),this.disabled&&this._appendClass(D),0!==this._averageRating&&0===this._userRating?this._appendClass(E):this._appendClass(F),this._updateAccessibilityRestState()}}})})})}),d("require-style!less/styles-toggleswitch",[],function(){}),d("require-style!less/colors-toggleswitch",[],function(){}),d("WinJS/Controls/ToggleSwitch",["../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_Events","../Core/_Resources","../_Accents","../Utilities/_Control","../Utilities/_ElementUtilities","require-style!less/styles-toggleswitch","require-style!less/colors-toggleswitch"],function(a,b,c,d,e,f,g,h){"use strict";f.createAccentRule(".win-toggleswitch-on .win-toggleswitch-track",[{name:"background-color",value:f.ColorTypes.accent}]),f.createAccentRule("html.win-hoverable .win-toggleswitch-on:not(.win-toggleswitch-disabled):not(.win-toggleswitch-pressed) .win-toggleswitch-clickregion:hover .win-toggleswitch-track",[{name:"background-color",value:f.ColorTypes.listSelectPress}]),b.Namespace.define("WinJS.UI",{ToggleSwitch:b.Namespace._lazy(function(){var c="win-toggleswitch",f="win-toggleswitch-header",i="win-toggleswitch-clickregion",j="win-toggleswitch-track",k="win-toggleswitch-thumb",l="win-toggleswitch-values",m="win-toggleswitch-value",n="win-toggleswitch-value-on",o="win-toggleswitch-value-off",p="win-toggleswitch-description",q="win-toggleswitch-on",r="win-toggleswitch-off",s="win-toggleswitch-disabled",t="win-toggleswitch-enabled",u="win-toggleswitch-dragging",v="win-toggleswitch-pressed",w={get on(){return e._getWinJSString("ui/on").value},get off(){return e._getWinJSString("ui/off").value}},x=b.Class.define(function(b,d){b=b||a.document.createElement("div"),this._domElement=b,h.addClass(this._domElement,c),this._domElement.innerHTML=['
','
','
','
',"
",'
','
','
',"
","
",'
'].join("\n"),this._headerElement=this._domElement.firstElementChild,this._clickElement=this._headerElement.nextElementSibling,this._trackElement=this._clickElement.firstElementChild,this._thumbElement=this._trackElement.firstElementChild,this._labelsElement=this._trackElement.nextElementSibling,this._labelOnElement=this._labelsElement.firstElementChild,this._labelOffElement=this._labelOnElement.nextElementSibling,this._descriptionElement=this._clickElement.nextElementSibling,this._headerElement.setAttribute("aria-hidden",!0),this._labelsElement.setAttribute("aria-hidden",!0),this._headerElement.setAttribute("id",h._uniqueID(this._headerElement)),this._domElement.setAttribute("aria-labelledby",this._headerElement.id),this._domElement.setAttribute("role","checkbox"),this._domElement.winControl=this,h.addClass(this._domElement,"win-disposable"),this._domElement.addEventListener("keydown",this._keyDownHandler.bind(this)),h._addEventListener(this._clickElement,"pointerdown",this._pointerDownHandler.bind(this)),h._addEventListener(this._clickElement,"pointercancel",this._pointerCancelHandler.bind(this)),this._boundPointerMove=this._pointerMoveHandler.bind(this),this._boundPointerUp=this._pointerUpHandler.bind(this),this._mutationObserver=new h._MutationObserver(this._ariaChangedHandler.bind(this)),this._mutationObserver.observe(this._domElement,{attributes:!0,attributeFilter:["aria-checked"]}),this._dragX=0,this._dragging=!1,this.checked=!1,this.disabled=!1,this.labelOn=w.on,this.labelOff=w.off,g.setOptions(this,d); -},{element:{get:function(){return this._domElement}},checked:{get:function(){return this._checked},set:function(a){a=!!a,a!==this.checked&&(this._checked=a,this._domElement.setAttribute("aria-checked",a),a?(h.addClass(this._domElement,q),h.removeClass(this._domElement,r)):(h.addClass(this._domElement,r),h.removeClass(this._domElement,q)),this.dispatchEvent("change"))}},disabled:{get:function(){return this._disabled},set:function(a){a=!!a,a!==this._disabled&&(a?(h.addClass(this._domElement,s),h.removeClass(this._domElement,t)):(h.removeClass(this._domElement,s),h.addClass(this._domElement,t)),this._disabled=a,this._domElement.setAttribute("aria-disabled",a),this._domElement.setAttribute("tabIndex",a?-1:0))}},labelOn:{get:function(){return this._labelOnElement.innerHTML},set:function(a){this._labelOnElement.innerHTML=a}},labelOff:{get:function(){return this._labelOffElement.innerHTML},set:function(a){this._labelOffElement.innerHTML=a}},title:{get:function(){return this._headerElement.innerHTML},set:function(a){this._headerElement.innerHTML=a}},onchange:d._createEventProperty("change"),dispose:function(){this._disposed||(this._disposed=!0)},_ariaChangedHandler:function(){var a=this._domElement.getAttribute("aria-checked");a="true"===a?!0:!1,this.checked=a},_keyDownHandler:function(a){this.disabled||(a.keyCode===h.Key.space&&(a.preventDefault(),this.checked=!this.checked),(a.keyCode===h.Key.rightArrow||a.keyCode===h.Key.upArrow)&&(a.preventDefault(),this.checked=!0),(a.keyCode===h.Key.leftArrow||a.keyCode===h.Key.downArrow)&&(a.preventDefault(),this.checked=!1))},_pointerDownHandler:function(a){this.disabled||this._mousedown||(a.preventDefault(),this._mousedown=!0,this._dragXStart=a.pageX-this._trackElement.getBoundingClientRect().left,this._dragX=this._dragXStart,this._dragging=!1,h.addClass(this._domElement,v),h._globalListener.addEventListener(this._domElement,"pointermove",this._boundPointerMove,!0),h._globalListener.addEventListener(this._domElement,"pointerup",this._boundPointerUp,!0),a.pointerType===h._MSPointerEvent.MSPOINTER_TYPE_TOUCH&&h._setPointerCapture(this._domElement,a.pointerId))},_pointerCancelHandler:function(a){this._resetPressedState(),a.pointerType===h._MSPointerEvent.MSPOINTER_TYPE_TOUCH&&h._releasePointerCapture(this._domElement,a.pointerId)},_pointerUpHandler:function(a){if(!this.disabled&&this._mousedown){a=a.detail.originalEvent,a.preventDefault();var b=this._trackElement.getBoundingClientRect(),c=this._thumbElement.getBoundingClientRect(),d="rtl"===h._getComputedStyle(this._domElement).direction;if(this._dragging){var e=b.width-c.width;this.checked=d?this._dragX=e/2,this._dragging=!1,h.removeClass(this._domElement,u)}else this.checked=!this.checked;this._resetPressedState()}},_pointerMoveHandler:function(a){if(!this.disabled&&this._mousedown){a=a.detail.originalEvent,a.preventDefault();var b=this._trackElement.getBoundingClientRect(),c=a.pageX-b.left;if(!(c>b.width)){var d=this._thumbElement.getBoundingClientRect(),e=b.width-d.width-6;this._dragX=Math.min(e,c-d.width/2),this._dragX=Math.max(2,this._dragX),!this._dragging&&Math.abs(c-this._dragXStart)>3&&(this._dragging=!0,h.addClass(this._domElement,u)),this._thumbElement.style.left=this._dragX+"px"}}},_resetPressedState:function(){this._mousedown=!1,this._thumbElement.style.left="",h.removeClass(this._domElement,v),h._globalListener.removeEventListener(this._domElement,"pointermove",this._boundPointerMove,!0),h._globalListener.removeEventListener(this._domElement,"pointerup",this._boundPointerUp,!0)}});return b.Class.mix(x,g.DOMEventMixin),x})})}),d("require-style!less/styles-semanticzoom",[],function(){}),d("require-style!less/colors-semanticzoom",[],function(){}),d("WinJS/Controls/SemanticZoom",["../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Resources","../Core/_WriteProfilerMark","../Animations","../Animations/_TransitionAnimation","../ControlProcessor","../Promise","../Utilities/_Control","../Utilities/_Dispose","../Utilities/_ElementUtilities","../Utilities/_ElementListUtilities","../Utilities/_Hoverable","./ElementResizeInstrument","require-style!less/styles-semanticzoom","require-style!less/colors-semanticzoom"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){"use strict";b.Namespace.define("WinJS.UI",{SemanticZoom:b.Namespace._lazy(function(){function f(a){return a}function r(a,b,c){return a+" "+i._animationTimeAdjustment(b)+"s "+c+" "+i._libraryDelay+"ms"}function s(){return r(X.cssName,Q,"ease-in-out")+", "+r("opacity",O,"ease-in-out")}function t(){return r(X.cssName,R,"ease-in-out")+", "+r("opacity",P,"ease-in-out")}function u(){return r(X.cssName,U,W)}function v(){return r(X.cssName,V,W)}function w(a,b){return n.convertToPixels(a,b)}function x(a,b){i.isAnimationEnabled()&&(a.style[X.scriptName]="scale("+b+")")}function y(a){var b=a[0].target&&a[0].target.winControl;b&&b instanceof ha&&b._onPropertyChanged()}var z=c._browserStyleEquivalents,A={get invalidZoomFactor(){return"Invalid zoomFactor"}},B="win-semanticzoom-button",C="win-semanticzoom-button-location",D=3e3,E=8,F="win-semanticzoom",G="win-semanticzoom-zoomedinview",H="win-semanticzoom-zoomedoutview",I="zoomchanged",J=1.05,K=.65,L=.8,M=.2,N=4096,O=.333,P=.333,Q=.333,R=.333,S=1e3*O,T=50,U=.333,V=.333,W="cubic-bezier(0.1,0.9,0.2,1)",X=z.transform,Y=z.transition.scriptName,Z=2,$=.2,_=.45,aa=1e3,ba=50,ca={none:0,zoomedIn:1,zoomedOut:2},da=n._MSPointerEvent.MSPOINTER_TYPE_TOUCH||"touch",ea=n._MSPointerEvent.MSPOINTER_TYPE_PEN||"pen",fa=n._MSPointerEvent.MSPOINTER_TYPE_MOUSE||"mouse",ga={x:0,y:0},ha=b.Class.define(function(b,e){this._disposed=!1;var f=this,g=c.isPhone;this._element=b,this._element.winControl=this,n.addClass(this._element,"win-disposable"),n.addClass(this._element,F),this._element.setAttribute("role","ms-semanticzoomcontainer");var h=this._element.getAttribute("aria-label");if(h||this._element.setAttribute("aria-label",""),e=e||{},this._zoomedOut=!!e.zoomedOut||!!e.initiallyZoomedOut||!1,this._enableButton=!g,g||void 0===e.enableButton||(this._enableButton=!!e.enableButton),this._element.setAttribute("aria-checked",this._zoomedOut.toString()),this._zoomFactor=n._clamp(e.zoomFactor,M,L,K),this.zoomedInItem=e.zoomedInItem,this.zoomedOutItem=e.zoomedOutItem,c.validation&&e._zoomFactor&&e._zoomFactor!==this._zoomFactor)throw new d("WinJS.UI.SemanticZoom.InvalidZoomFactor",A.invalidZoomFactor);this._locked=!!e.locked,this._zoomInProgress=!1,this._isBouncingIn=!1,this._isBouncing=!1,this._zooming=!1,this._aligning=!1,this._gesturing=!1,this._gestureEnding=!1,this._buttonShown=!1,this._shouldFakeTouchCancel="TouchEvent"in a,this._initialize(),this._configure(),this._onResizeBound=this._onResize.bind(this),this._elementResizeInstrument=new q._ElementResizeInstrument,this._element.appendChild(this._elementResizeInstrument.element),this._elementResizeInstrument.addEventListener("resize",this._onResizeBound),n._resizeNotifier.subscribe(this._element,this._onResizeBound);var i=a.document.body.contains(this._element);i&&this._elementResizeInstrument.addedToDom(),n._addInsertedNotifier(this._element);var j=!0;this._element.addEventListener("WinJSNodeInserted",function(a){j?(j=!1,i||(f._elementResizeInstrument.addedToDom(),f._onResizeBound())):f._onResizeBound()},!1),new n._MutationObserver(y).observe(this._element,{attributes:!0,attributeFilter:["aria-checked"]}),g||(this._element.addEventListener("wheel",this._onWheel.bind(this),!0),this._element.addEventListener("mousewheel",this._onMouseWheel.bind(this),!0),this._element.addEventListener("keydown",this._onKeyDown.bind(this),!0),n._addEventListener(this._element,"pointerdown",this._onPointerDown.bind(this),!0),n._addEventListener(this._element,"pointermove",this._onPointerMove.bind(this),!0),n._addEventListener(this._element,"pointerout",this._onPointerOut.bind(this),!0),n._addEventListener(this._element,"pointercancel",this._onPointerCancel.bind(this),!0),n._addEventListener(this._element,"pointerup",this._onPointerUp.bind(this),!1),this._hiddenElement.addEventListener("gotpointercapture",this._onGotPointerCapture.bind(this),!1),this._hiddenElement.addEventListener("lostpointercapture",this._onLostPointerCapture.bind(this),!1),this._element.addEventListener("click",this._onClick.bind(this),!0),this._canvasIn.addEventListener(c._browserEventEquivalents.transitionEnd,this._onCanvasTransitionEnd.bind(this),!1),this._canvasOut.addEventListener(c._browserEventEquivalents.transitionEnd,this._onCanvasTransitionEnd.bind(this),!1),this._element.addEventListener("MSContentZoom",this._onMSContentZoom.bind(this),!0),this._resetPointerRecords()),this._onResizeImpl(),l._setOptions(this,e,!0),f._setVisibility()},{element:{get:function(){return this._element}},enableButton:{get:function(){return this._enableButton},set:function(a){var b=!!a;this._enableButton===b||c.isPhone||(this._enableButton=b,b?this._createSemanticZoomButton():this._removeSemanticZoomButton())}},zoomedOut:{get:function(){return this._zoomedOut},set:function(a){this._zoom(!!a,{x:.5*this._sezoClientWidth,y:.5*this._sezoClientHeight},!1,!1,this._zoomedOut&&c.isPhone)}},zoomFactor:{get:function(){return this._zoomFactor},set:function(a){var b=this._zoomFactor,c=n._clamp(a,M,L,K);b!==c&&(this._zoomFactor=c,this.forceLayout())}},locked:{get:function(){return this._locked},set:function(a){this._locked=!!a,a?this._hideSemanticZoomButton():this._displayButton()}},zoomedInItem:{get:function(){return this._zoomedInItem},set:function(a){this._zoomedInItem=a||f}},zoomedOutItem:{get:function(){return this._zoomedOutItem},set:function(a){this._zoomedOutItem=a||f}},dispose:function(){this._disposed||(this._disposed=!0,this._elementResizeInstrument.dispose(),n._resizeNotifier.unsubscribe(this._element,this._onResizeBound),m._disposeElement(this._elementIn),m._disposeElement(this._elementOut),this._clearTimeout(this._completeZoomTimer),this._clearTimeout(this._TTFFTimer))},forceLayout:function(){this._onResizeImpl()},_initialize:function(){var b=o.children(this._element);this._elementIn=b[0],this._elementOut=b[1],this._elementIn.style.height=this._elementOut.style.height=this._element.offsetHeight+"px",j.processAll(this._elementIn),j.processAll(this._elementOut),this._viewIn=this._elementIn.winControl.zoomableView,this._viewOut=this._elementOut.winControl.zoomableView,this._element.removeChild(this._elementOut),this._element.removeChild(this._elementIn),this._element.innerHTML="",this._cropViewport=a.document.createElement("div"),this._element.appendChild(this._cropViewport),this._viewportIn=a.document.createElement("div"),this._opticalViewportIn=a.document.createElement("div"),this._viewportOut=a.document.createElement("div"),this._opticalViewportOut=a.document.createElement("div"),this._opticalViewportIn.appendChild(this._viewportIn),this._opticalViewportOut.appendChild(this._viewportOut),this._cropViewport.appendChild(this._opticalViewportIn),this._cropViewport.appendChild(this._opticalViewportOut),this._canvasIn=a.document.createElement("div"),this._canvasOut=a.document.createElement("div"),this._viewportIn.appendChild(this._canvasIn),this._viewportOut.appendChild(this._canvasOut),this._canvasIn.appendChild(this._elementIn),this._canvasOut.appendChild(this._elementOut),this._enableButton&&this._createSemanticZoomButton(),this._hiddenElement=a.document.createElement("div"),this._hiddenElement.tabIndex=-1,this._hiddenElement.visibility="hidden",this._hiddenElement.setAttribute("aria-hidden","true"),this._element.appendChild(this._hiddenElement),n.addClass(this._elementIn,G),n.addClass(this._elementOut,H),this._setLayout(this._element,"relative","hidden"),this._setLayout(this._cropViewport,"absolute","hidden"),this._setLayout(this._opticalViewportIn,"absolute","auto"),this._setLayout(this._opticalViewportOut,"absolute","auto"),this._setLayout(this._viewportIn,"absolute","hidden"),this._setLayout(this._viewportOut,"absolute","hidden"),this._setLayout(this._canvasIn,"absolute","hidden"),this._setLayout(this._canvasOut,"absolute","hidden"),this._setupOpticalViewport(this._opticalViewportIn),this._setupOpticalViewport(this._opticalViewportOut),this._viewportIn.style["-ms-overflow-style"]="-ms-autohiding-scrollbar",this._viewportOut.style["-ms-overflow-style"]="-ms-autohiding-scrollbar",this._elementIn.style.position="absolute",this._elementOut.style.position="absolute"},_createSemanticZoomButton:function(){this._sezoButton=a.document.createElement("button"),this._sezoButton.setAttribute("type","button"),this._sezoButton.className=B+" "+C+" win-button",this._sezoButton.tabIndex=-1,this._sezoButton.style.visibility="hidden",this._sezoButton.setAttribute("aria-hidden",!0),this._element.appendChild(this._sezoButton),this._sezoButton.addEventListener("click",this._onSeZoButtonZoomOutClick.bind(this),!1),this._element.addEventListener("scroll",this._onSeZoChildrenScroll.bind(this),!0),n._addEventListener(this._element,"pointermove",this._onPenHover.bind(this),!1)},_removeSemanticZoomButton:function(){this._sezoButton&&(this._element.removeChild(this._sezoButton),this._sezoButton=null)},_configure:function(){var a=this._viewIn.getPanAxis(),b=this._viewOut.getPanAxis(),d=c.isPhone;if(this._pansHorizontallyIn="horizontal"===a||"both"===a,this._pansVerticallyIn="vertical"===a||"both"===a,this._pansHorizontallyOut="horizontal"===b||"both"===b,this._pansVerticallyOut="vertical"===b||"both"===b,!this._zoomInProgress){var e=1/this._zoomFactor-1,f=J-1;this._setLayout(this._elementIn,"absolute","visible"),this._setLayout(this._elementOut,"absolute","visible"),this._viewIn.configureForZoom(!1,!this._zoomedOut,this._zoomFromCurrent.bind(this,!0),e),this._viewOut.configureForZoom(!0,this._zoomedOut,this._zoomFromCurrent.bind(this,!1),f),this._pinching=!1,this._pinchGesture=0,this._canvasLeftIn=0,this._canvasTopIn=0,this._canvasLeftOut=0,this._canvasTopOut=0,d||(this._zoomedOut?x(this._canvasIn,this._zoomFactor):x(this._canvasOut,1/this._zoomFactor));var g=this._opticalViewportIn.style,h=this._opticalViewportOut.style,j=this._canvasIn.style,k=this._canvasOut.style;j.opacity=this._zoomedOut&&!d?0:1,k.opacity=this._zoomedOut?1:0,d&&(j.zIndex=1,k.zIndex=2),i.isAnimationEnabled()&&!d&&(g[z["transition-property"].scriptName]=X.cssName,g[z["transition-duration"].scriptName]="0s",g[z["transition-timing-function"].scriptName]="linear",h[z["transition-property"].scriptName]=X.cssName,h[z["transition-duration"].scriptName]="0s",h[z["transition-timing-function"].scriptName]="linear")}},_onPropertyChanged:function(){var a=this._element.getAttribute("aria-checked"),b="true"===a;this._zoomedOut!==b&&(this.zoomedOut=b)},_onResizeImpl:function(){this._resizing=this._resizing||0,this._resizing++;try{var a=function(a,b,c,d,e){var f=a.style;f.left=b+"px",f.top=c+"px",f.width=d+"px",f.height=e+"px"},b=n._getComputedStyle(this._element,null),c=parseFloat(b.width),d=parseFloat(b.height),e=w(this._element,b.paddingLeft),f=w(this._element,b.paddingRight),g=w(this._element,b.paddingTop),h=w(this._element,b.paddingBottom),i=c-e-f,j=d-g-h,k=1/this._zoomFactor;if(this._viewportWidth===i&&this._viewportHeight===j)return;this._sezoClientHeight=d,this._sezoClientWidth=c,this._viewportWidth=i,this._viewportHeight=j,this._configure();var l=2*k-1,m=Math.min(N,(this._pansHorizontallyIn?l:1)*i),o=Math.min(N,(this._pansVerticallyIn?l:1)*j);this._canvasLeftIn=.5*(m-i),this._canvasTopIn=.5*(o-j),a(this._cropViewport,e,g,i,j),a(this._viewportIn,0,0,i,j),a(this._opticalViewportIn,0,0,i,j),a(this._canvasIn,-this._canvasLeftIn,-this._canvasTopIn,m,o),a(this._elementIn,this._canvasLeftIn,this._canvasTopIn,i,j);var p=2*J-1,q=(this._pansHorizontallyOut?p:1)*i,r=(this._pansVerticallyOut?p:1)*j;this._canvasLeftOut=.5*(q-i),this._canvasTopOut=.5*(r-j),a(this._viewportOut,0,0,i,j),a(this._opticalViewportOut,0,0,i,j),a(this._canvasOut,-this._canvasLeftOut,-this._canvasTopOut,q,r),a(this._elementOut,this._canvasLeftOut,this._canvasTopOut,i,j)}finally{this._resizing--}},_onResize:function(){this._resizing||this._onResizeImpl()},_onMouseMove:function(a){return this._zooming||!this._lastMouseX&&!this._lastMouseY||a.screenX===this._lastMouseX&&a.screenY===this._lastMouseY?(this._lastMouseX=a.screenX,void(this._lastMouseY=a.screenY)):void(Math.abs(a.screenX-this._lastMouseX)<=E&&Math.abs(a.screenY-this._lastMouseY)<=E||(this._lastMouseX=a.screenX,this._lastMouseY=a.screenY,this._displayButton()))},_displayButton:function(){if(p.isHoverable){a.clearTimeout(this._dismissButtonTimer),this._showSemanticZoomButton();var b=this;this._dismissButtonTimer=a.setTimeout(function(){b._hideSemanticZoomButton()},i._animationTimeAdjustment(D))}},_showSemanticZoomButton:function(){this._disposed||this._buttonShown||!this._sezoButton||this._zoomedOut||this._locked||(h.fadeIn(this._sezoButton),this._sezoButton.style.visibility="visible",this._buttonShown=!0)},_hideSemanticZoomButton:function(a){if(!this._disposed&&this._buttonShown&&this._sezoButton){if(a)this._sezoButton.style.visibility="hidden";else{var b=this;h.fadeOut(this._sezoButton).then(function(){b._sezoButton.style.visibility="hidden"})}this._buttonShown=!1}},_onSeZoChildrenScroll:function(a){a.target!==this.element&&this._hideSemanticZoomButton(!0)},_onWheel:function(a){a.ctrlKey&&(this._zoom(a.deltaY>0,this._getPointerLocation(a)),a.stopPropagation(),a.preventDefault())},_onMouseWheel:function(a){a.ctrlKey&&(this._zoom(a.wheelDelta<0,this._getPointerLocation(a)),a.stopPropagation(),a.preventDefault())},_onPenHover:function(a){a.pointerType===ea&&0===a.buttons&&this._displayButton()},_onSeZoButtonZoomOutClick:function(){this._hideSemanticZoomButton(),this._zoom(!0,{x:.5*this._sezoClientWidth,y:.5*this._sezoClientHeight},!1)},_onKeyDown:function(a){var b=!1;if(a.ctrlKey){var c=n.Key;switch(a.keyCode){case c.add:case c.equal:case 61:this._zoom(!1),b=!0;break;case c.subtract:case c.dash:case 173:this._zoom(!0),b=!0}}b&&(a.stopPropagation(),a.preventDefault())},_createPointerRecord:function(a,b){var c=this._getPointerLocation(a),d={};return d.startX=d.currentX=c.x,d.startY=d.currentY=c.y,d.fireCancelOnPinch=b,this._pointerRecords[a.pointerId]=d,this._pointerCount=Object.keys(this._pointerRecords).length,d},_deletePointerRecord:function(a){var b=this._pointerRecords[a];return delete this._pointerRecords[a],this._pointerCount=Object.keys(this._pointerRecords).length,2!==this._pointerCount&&(this._pinching=!1),b},_fakeCancelOnPointer:function(b){var c=a.document.createEvent("UIEvent");c.initUIEvent("touchcancel",!0,!0,a,0),c.touches=b.touches,c.targetTouches=b.targetTouches,c.changedTouches=[b._currentTouch],c._fakedBySemanticZoom=!0,b.target.dispatchEvent(c)},_handlePointerDown:function(a){this._createPointerRecord(a,!1);for(var b=Object.keys(this._pointerRecords),c=0,d=b.length;d>c;c++)try{n._setPointerCapture(this._hiddenElement,b[c]||0)}catch(e){return void this._resetPointerRecords()}a.stopImmediatePropagation(),a.preventDefault()},_handleFirstPointerDown:function(a){this._resetPointerRecords(),this._createPointerRecord(a,this._shouldFakeTouchCancel),this._startedZoomedOut=this._zoomedOut},_onClick:function(a){a.target!==this._element&&this._isBouncing&&a.stopImmediatePropagation()},_onPointerDown:function(a){a.pointerType===da&&(0===this._pointerCount?this._handleFirstPointerDown(a):this._handlePointerDown(a))},_onPointerMove:function(a){function b(a,b,c,d){return Math.sqrt((c-a)*(c-a)+(d-b)*(d-b))}function c(a,b){return{x:.5*(a.currentX+b.currentX)|0,y:.5*(a.currentY+b.currentY)|0}}if(a.pointerType===fa||a.pointerType===ea)return void this._onMouseMove(a);if(a.pointerType===da){var d=this._pointerRecords[a.pointerId],e=this._getPointerLocation(a);if(d){if(d.currentX=e.x,d.currentY=e.y,2===this._pointerCount){this._pinching=!0;var f=Object.keys(this._pointerRecords),h=this._pointerRecords[f[0]],i=this._pointerRecords[f[1]];this._currentMidPoint=c(h,i);var j=b(h.currentX,h.currentY,i.currentX,i.currentY),k=this,l=function(a){var b=a?ca.zoomedOut:ca.zoomedIn,d=a?k._pinchedDirection===ca.zoomedIn&&!k._zoomingOut:k._pinchedDirection===ca.zoomedOut&&k._zoomingOut,e=a?!k._zoomedOut:k._zoomedOut;if(k._pinchedDirection===ca.none)e?(k._isBouncingIn=!1,k._zoom(a,c(h,i),!0),k._pinchedDirection=b):k._isBouncingIn||k._playBounce(!0,c(h,i));else if(d){var f=k._lastPinchDistance/k._lastPinchStartDistance,g=k._lastLastPinchDistance/k._lastPinchDistance;(a&&f>$||!a&&g>_)&&(k._zoom(a,c(h,i),!0),k._pinchedDirection=b)}};this._updatePinchDistanceRecords(j),this._pinchDistanceCount>=Z&&(this._zooming||this._isBouncing||(g("WinJS.UI.SemanticZoom:EndPinchDetection,info"),l(this._lastPinchDirection===ca.zoomedOut)))}else this._pointerCount>2&&this._resetPinchDistanceRecords();this._pointerCount>=2&&(d.fireCancelOnPinch&&(this._fakeCancelOnPointer(a,d),d.fireCancelOnPinch=!1),a.stopImmediatePropagation(),a.preventDefault()),2!==this._pointerCount&&this._isBouncingIn&&this._playBounce(!1)}}},_onPointerOut:function(a){a.pointerType===da&&a.target===this._element&&this._completePointerUp(a,!1)},_onPointerUp:function(a){this._releasePointerCapture(a),this._completePointerUp(a,!0),this._completeZoomingIfTimeout()},_onPointerCancel:function(a){a._fakedBySemanticZoom||(this._releasePointerCapture(a),this._completePointerUp(a,!1),this._completeZoomingIfTimeout())},_onGotPointerCapture:function(a){var b=this._pointerRecords[a.pointerId];b&&(b.dirty=!1)},_onLostPointerCapture:function(a){var b=this._pointerRecords[a.pointerId];if(b){b.dirty=!0;var c=this;k.timeout(ba).then(function(){b.dirty&&c._completePointerUp(a,!1)})}},_onMSContentZoom:function(a){var b=a.target;if(b===this._opticalViewportIn||b===this._opticalViewportOut){var c=b.msContentZoomFactor<.995,d=b.msContentZoomFactor>1.005;!c||this._zoomedOut||this._zoomingOut?d&&(this._zoomedOut||this._zoomingOut)&&(this.zoomedOut=!1):this.zoomedOut=!0}},_updatePinchDistanceRecords:function(a){function b(b){c._lastPinchDirection===b?c._pinchDistanceCount++:(c._pinchGesture++,c._pinchDistanceCount=0,c._lastPinchStartDistance=a),c._lastPinchDirection=b,c._lastPinchDistance=a,c._lastLastPinchDistance=c._lastPinchDistance}var c=this;-1===this._lastPinchDistance?(g("WinJS.UI.SemanticZoom:StartPinchDetection,info"),this._lastPinchDistance=a):this._lastPinchDistance!==a&&b(this._lastPinchDistance>a?ca.zoomedOut:ca.zoomedIn)},_zoomFromCurrent:function(a){this._zoom(a,null,!1,!0)},_zoom:function(a,b,d,e,f){if(g("WinJS.UI.SemanticZoom:StartZoom(zoomOut="+a+"),info"),this._clearTimeout(this._completeZoomTimer),this._clearTimeout(this._TTFFTimer),this._hideSemanticZoomButton(),this._resetPinchDistanceRecords(),!this._locked&&!this._gestureEnding)if(this._zoomInProgress){if(this._gesturing===!d)return;a!==this._zoomingOut&&this._startAnimations(a)}else if(a!==this._zoomedOut){this._zooming=!0,this._aligning=!0,this._gesturing=!!d,b&&(a?this._viewIn:this._viewOut).setCurrentItem(b.x,b.y),this._zoomInProgress=!0,(a?this._opticalViewportOut:this._opticalViewportIn).style.visibility="visible",a&&c.isPhone&&(this._canvasOut.style.opacity=1);var h=this._viewIn.beginZoom(),i=this._viewOut.beginZoom(),j=null;if((h||i)&&c.isPhone&&(j=k.join([h,i])),e&&!f){var l=this;(a?this._viewIn:this._viewOut).getCurrentItem().then(function(b){var c=b.position;l._prepareForZoom(a,{x:l._rtl()?l._sezoClientWidth-c.left-.5*c.width:c.left+.5*c.width,y:c.top+.5*c.height},k.wrap(b),j)})}else this._prepareForZoom(a,b||{},null,j,f)}},_prepareForZoom:function(a,b,c,d,e){function f(a,b){h._canvasIn.style[z["transform-origin"].scriptName]=h._canvasLeftIn+i-a.x+"px "+(h._canvasTopIn+j-a.y)+"px",h._canvasOut.style[z["transform-origin"].scriptName]=h._canvasLeftOut+i-b.x+"px "+(h._canvasTopOut+j-b.y)+"px"}g("WinJS.UI.SemanticZoom:prepareForZoom,StartTM");var h=this,i=b.x,j=b.y;"number"==typeof i&&this._pansHorizontallyIn&&this._pansHorizontallyOut||(i=.5*this._sezoClientWidth),"number"==typeof j&&this._pansVerticallyIn&&this._pansVerticallyOut||(j=.5*this._sezoClientHeight),f(ga,ga),e?this._aligning=!1:this._alignViewsPromise=this._alignViews(a,i,j,c).then(function(){h._aligning=!1,h._gestureEnding=!1,h._alignViewsPromise=null,h._zooming||h._gesturing||h._completeZoom()}),this._zoomingOut=a,n._getComputedStyle(this._canvasIn).opacity,n._getComputedStyle(this._canvasOut).opacity,g("WinJS.UI.SemanticZoom:prepareForZoom,StopTM"),this._startAnimations(a,d)},_alignViews:function(a,b,c,d){var e=1-this._zoomFactor,f=this._rtl(),g=e*(f?this._viewportWidth-b:b),h=e*c,i=this;if(a){var j=d||this._viewIn.getCurrentItem();if(j)return j.then(function(a){var b=a.position,c={left:b.left*i._zoomFactor+g,top:b.top*i._zoomFactor+h,width:b.width*i._zoomFactor,height:b.height*i._zoomFactor};return i._viewOut.positionItem(i._zoomedOutItem(a.item),c)})}else{var l=d||this._viewOut.getCurrentItem();if(l)return l.then(function(a){var b=a.position,c={left:(b.left-g)/i._zoomFactor,top:(b.top-h)/i._zoomFactor,width:b.width/i._zoomFactor,height:b.height/i._zoomFactor};return i._viewIn.positionItem(i._zoomedInItem(a.item),c)})}return new k(function(a){a({x:0,y:0})})},_startAnimations:function(a,b){this._zoomingOut=a;var d=c.isPhone;if(i.isAnimationEnabled()&&!d&&(g("WinJS.UI.SemanticZoom:ZoomAnimation,StartTM"),this._canvasIn.style[Y]=a?s():t(),this._canvasOut.style[Y]=a?t():s()),d||(x(this._canvasIn,a?this._zoomFactor:1),x(this._canvasOut,a?1:1/this._zoomFactor)),this._canvasIn.style.opacity=a&&!d?0:1,(!d||a)&&(this._canvasOut.style.opacity=a?1:0),i.isAnimationEnabled())if(b){var e=this,f=function(){e._canvasIn.style[X.scriptName]="",e._canvasOut.style[X.scriptName]="",e._onZoomAnimationComplete()};b.then(f,f)}else this.setTimeoutAfterTTFF(this._onZoomAnimationComplete.bind(this),i._animationTimeAdjustment(S));else this._zooming=!1,this._canvasIn.style[X.scriptName]="",this._canvasOut.style[X.scriptName]="",this._completeZoom()},_onBounceAnimationComplete:function(){this._isBouncingIn||this._disposed||this._completeZoom()},_onZoomAnimationComplete:function(){g("WinJS.UI.SemanticZoom:ZoomAnimation,StopTM"),this._disposed||(this._zooming=!1,this._aligning||this._gesturing||this._gestureEnding||this._completeZoom())},_onCanvasTransitionEnd:function(a){return this._disposed?void 0:a.target!==this._canvasOut&&a.target!==this._canvasIn||!this._isBouncing?void(a.target===this._canvasIn&&a.propertyName===X.cssName&&this._onZoomAnimationComplete()):void this._onBounceAnimationComplete()},_clearTimeout:function(b){b&&a.clearTimeout(b)},_completePointerUp:function(a,b){if(!this._disposed){var c=a.pointerId,d=this._pointerRecords[c];if(d&&(this._deletePointerRecord(c),this._isBouncingIn&&this._playBounce(!1),b&&this._pinchedDirection!==ca.none&&a.stopImmediatePropagation(),0===this._pointerCount)){if(1===this._pinchGesture&&!this._zooming&&this._lastPinchDirection!==ca.none&&this._pinchDistanceCount=0&&aa;a++)this.items.getAt(a).dispose()}},a.prototype.forceLayout=function(){this._disposed||this._resizeHandler()},a.prototype._applyProperties=function(){function a(a){for(var b=0,c=a.items.length;c>b;b++){var d=a._items.getAt(b);if(d.element.parentNode===a._surfaceElement)throw new p("WinJS.UI.Pivot.DuplicateItem",A.duplicateItem);d.element.style.display="none",a._surfaceElement.appendChild(d.element)}}if(!this._disposed){if(this._pendingItems){for(this._updateEvents(this._items,this._pendingItems),this._items=this._pendingItems,this._pendingItems=null;this.element.firstElementChild!==this._titleElement;){var b=this.element.firstElementChild;b.parentNode.removeChild(b)}o.empty(this._surfaceElement)}a(this),this._rtl="rtl"===o._getComputedStyle(this._element,null).direction,this._headersState.refreshHeadersState(!0),this._pendingRefresh=!1,this._firstLoad=!0,this.selectedIndex=this._selectedIndex,this._firstLoad=!1,this._recenterViewport()}},a.prototype._parse=function(){for(var a=[],b=this.element.firstElementChild;b!==this._titleElement;){g.processAll(b);var c=b.winControl;if(!c)throw new p("WinJS.UI.Pivot.InvalidContent",A.invalidContent);a.push(c);var d=b.nextElementSibling;b=d}this.items=new f.List(a)},a.prototype._refresh=function(){this._pendingRefresh||(this._pendingRefresh=!0,i.schedule(this._applyProperties.bind(this),i.Priority.high))},a.prototype._resizeHandler=function(){if(!this._disposed&&!this._pendingRefresh){var a=this._getViewportWidth(),b=this._getHeaderItemsWidth();this._invalidateMeasures(),a!==this._getViewportWidth()||b!==this._getHeaderItemsWidth()?(t.log&&t.log("_resizeHandler, viewport from:"+a+" to: "+this._getViewportWidth()),t.log&&t.log("_resizeHandler, headers from:"+b+" to: "+this._getHeaderItemsWidth()),this._hidePivotItemAnimation&&this._hidePivotItemAnimation.cancel(),this._showPivotItemAnimation&&this._showPivotItemAnimation.cancel(),this._slideHeadersAnimation&&this._slideHeadersAnimation.cancel(),this._recenterViewport(),this._headersState.handleResize()):t.log&&t.log("_resizeHandler worthless resize")}},a.prototype._activateHeader=function(a){if(!this.locked){var b=this._items.indexOf(a._item);b!==this.selectedIndex?this._headersState.activateHeader(a):o._setActiveFirstFocusableElement(this.selectedItem.element)}},a.prototype._goNext=function(){this.selectedIndex0?this.selectedIndex--:this.selectedIndex=this._items.length-1,this._animateToPrevious=!1},a.prototype._loadItem=function(a){var b=this;this._rtl="rtl"===o._getComputedStyle(this._element,null).direction,this._hidePivotItemAnimation.cancel(),this._showPivotItemAnimation.cancel(),this._slideHeadersAnimation.cancel();var c=this._animateToPrevious,d=this._items.getAt(a),e=this._firstLoad,f=this._loadPromise=this._loadPromise.then(function(){var g=b._items.getAt(b.selectedIndex);g&&b._hidePivotItem(g.element,c,e);var i=b._selectedIndex;b._selectedIndex=a;var j={index:a,direction:c?"backwards":"forward",item:d};return b._fireEvent(z.selectionChanged,!0,!1,j),b._headersState.handleNavigation(c,a,i),h.join([d._process(),b._hidePivotItemAnimation,h.timeout()]).then(function(){return b._disposed||b._loadPromise!==f?void 0:(b._recenterViewport(),b._showPivotItem(d.element,c,e).then(function(){b._disposed||b._loadPromise!==f||(b._loadPromise=h.wrap(),b._writeProfilerMark("itemAnimationStop,info"),b._fireEvent(z.itemAnimationEnd,!0,!1,null))}))})})},a.prototype._recenterViewport=function(){o.setScrollPosition(this._viewportElement,{scrollLeft:this._getViewportWidth()}),this.selectedItem&&(this.selectedItem.element.style[this._getDirectionAccessor()]=this._getViewportWidth()+"px")},a.prototype._fireEvent=function(a,b,d,e){var f=c.document.createEvent("CustomEvent");return f.initCustomEvent(a,!!b,!!d,e),this.element.dispatchEvent(f)},a.prototype._getDirectionAccessor=function(){return this._rtl?"right":"left"},a.prototype._getHeaderItemsWidth=function(){return this._headerItemsElWidth||(this._headerItemsElWidth=parseFloat(o._getComputedStyle(this._headerItemsElement).width)),this._headerItemsElWidth||G},a.prototype._getViewportWidth=function(){return this._viewportElWidth||(this._viewportElWidth=parseFloat(o._getComputedStyle(this._viewportElement).width),B&&(this._viewportElement.style[k._browserStyleEquivalents["scroll-snap-points-x"].scriptName]="snapInterval(0%, "+Math.ceil(this._viewportElWidth)+"px)")),this._viewportElWidth||G},a.prototype._invalidateMeasures=function(){this._viewportElWidth=this._headerItemsElWidth=null},a.prototype._updateEvents=function(a,b){a&&(a.removeEventListener("itemchanged",this._handleItemChanged),a.removeEventListener("iteminserted",this._handleItemInserted),a.removeEventListener("itemmoved",this._handleItemMoved),a.removeEventListener("itemremoved",this._handleItemRemoved),a.removeEventListener("reload",this._handleItemReload)),b&&(b.addEventListener("itemchanged",this._handleItemChanged),b.addEventListener("iteminserted",this._handleItemInserted),b.addEventListener("itemmoved",this._handleItemMoved),b.addEventListener("itemremoved",this._handleItemRemoved),b.addEventListener("reload",this._handleItemReload))},a.prototype._writeProfilerMark=function(a){var b="WinJS.UI.Pivot:"+this._id+":"+a;w(b),t.log&&t.log(b,null,"pivotprofiler")},a.prototype._handleItemChanged=function(a){if(!this._pendingItems){var b=a.detail.index,c=a.detail.newValue,d=a.detail.oldValue;if(c.element!==d.element){if(c.element.parentNode===this._surfaceElement)throw new p("WinJS.UI.Pivot.DuplicateItem",A.duplicateItem);c.element.style.display="none",this._surfaceElement.insertBefore(c.element,d.element),this._surfaceElement.removeChild(d.element),b===this.selectedIndex&&(this.selectedIndex=b)}this._headersState.render(),this._headersState.refreshHeadersState(!0)}},a.prototype._handleItemInserted=function(a){if(!this._pendingItems){var b=a.detail.index,c=a.detail.value;if(c.element.parentNode===this._surfaceElement)throw new p("WinJS.UI.Pivot.DuplicateItem",A.duplicateItem);c.element.style.display="none",b=this.selectedIndex?this._selectedIndex--:c>this.selectedIndex&&b<=this.selectedIndex?this._selectedIndex++:b===this.selectedIndex&&(this.selectedIndex=this.selectedIndex),this._headersState.render(),this._headersState.refreshHeadersState(!0)}},a.prototype._handleItemReload=function(){this.items=this.items},a.prototype._handleItemRemoved=function(a){if(!this._pendingItems){var b=a.detail.value,c=a.detail.index;this._surfaceElement.removeChild(b.element),cf;f++)e[f]===c&&(d=!0),o.hasClass(e[f],x._ClassNames.pivotHeader)&&(b=e[f]);d||(b=null)}b&&this._activateHeader(b)},a.prototype._elementPointerDownHandler=function(a){if(!B){var b=a.target;this._elementPointerDownPoint={x:a.clientX,y:a.clientY,type:a.pointerType||"mouse",time:Date.now(),inHeaders:this._headersContainerElement.contains(b)}}},a.prototype._elementPointerUpHandler=function(a){if(!this._elementPointerDownPoint||this.locked)return void(this._elementPointerDownPoint=null);var b=a.target,c=32,d=.4,e=Math.abs(a.clientY-this._elementPointerDownPoint.y),f=a.clientX-this._elementPointerDownPoint.x,g=Math.abs(f*d),h=g>e&&Math.abs(f)>c&&(!o._supportsTouchDetection||this._elementPointerDownPoint.type===a.pointerType&&a.pointerType===D)&&(!this.element.classList.contains(x._ClassNames.pivotDisableContentSwipeNavigation)||this._elementPointerDownPoint.inHeaders&&this._headersContainerElement.contains(b));if(this._navigationHandled=!1,h){var i=Date.now()-this._elementPointerDownPoint.time;f*=Math.max(1,Math.pow(350/i,2)),f=this._rtl?-f:f;var j=this._getViewportWidth()/4;-j>f?(this._goNext(),this._navigationHandled=!0):f>j&&(this._goPrevious(),this._navigationHandled=!0)}if(!this._navigationHandled){for(;null!==b&&!o.hasClass(b,x._ClassNames.pivotHeader);)b=b.parentElement;null!==b&&(this._activateHeader(b),this._navigationHandled=!0)}this._elementPointerDownPoint=null},a.prototype._headersKeyDown=function(a){this.locked||(a.keyCode===E.leftArrow||a.keyCode===E.pageUp?(this._rtl?this._goNext():this._goPrevious(),a.preventDefault()):(a.keyCode===E.rightArrow||a.keyCode===E.pageDown)&&(this._rtl?this._goPrevious():this._goNext(),a.preventDefault()))},a.prototype._hideNavButtons=function(a){a&&this._headersContainerElement.contains(a.relatedTarget)||o.removeClass(this._headersContainerElement,x._ClassNames.pivotShowNavButtons)},a.prototype._hidePivotItem=function(a,b,c){return c||!v.isAnimationEnabled()?(a.style.display="none",this._hidePivotItemAnimation=h.wrap(),this._hidePivotItemAnimation):(this._hidePivotItemAnimation=v.executeTransition(a,{property:"opacity",delay:0,duration:67,timing:"linear",from:"",to:"0"}).then(function(){a.style.display="none"}),this._hidePivotItemAnimation)},a.prototype._MSManipulationStateChangedHandler=function(a){if(a.target===this._viewportElement&&a.currentState===o._MSManipulationEvent.MS_MANIPULATION_STATE_INERTIA){var b=a.inertiaDestinationX-this._getViewportWidth();b>0?this._goNext():0>b&&this._goPrevious()}},a.prototype._updatePointerType=function(a){this._pointerType!==(a.pointerType||C)&&(this._pointerType=a.pointerType||C,this._pointerType===D?(o.removeClass(this.element,x._ClassNames.pivotInputTypeMouse),o.addClass(this.element,x._ClassNames.pivotInputTypeTouch),this._hideNavButtons()):(o.removeClass(this.element,x._ClassNames.pivotInputTypeTouch),o.addClass(this.element,x._ClassNames.pivotInputTypeMouse)))},a.prototype._showNavButtons=function(a){this.locked||a&&a.pointerType===D||o.addClass(this._headersContainerElement,x._ClassNames.pivotShowNavButtons)},a.prototype._showPivotItem=function(a,b,c){function e(a){var b=a.getBoundingClientRect();return b.topg.top}if(this._writeProfilerMark("itemAnimationStart,info"),this._fireEvent(z.itemAnimationStart,!0,!1,null),a.style.display="",c||!v.isAnimationEnabled())return a.style.opacity="",this._showPivotItemAnimation=h.wrap(),this._showPivotItemAnimation;var f=this._rtl?!b:b,g=this._viewportElement.getBoundingClientRect(),i=a.querySelectorAll(".win-pivot-slide1"),j=a.querySelectorAll(".win-pivot-slide2"),l=a.querySelectorAll(".win-pivot-slide3");return i=Array.prototype.filter.call(i,e),j=Array.prototype.filter.call(j,e),l=Array.prototype.filter.call(l,e),this._showPivotItemAnimation=h.join([v.executeTransition(a,{property:"opacity",delay:0,duration:333,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"0",to:""}),v.executeTransition(a,{property:k._browserStyleEquivalents.transform.cssName,delay:0,duration:767,timing:"cubic-bezier(0.1,0.9,0.2,1)",from:"translateX("+(f?"-20px":"20px")+")",to:""}),d[f?"slideRightIn":"slideLeftIn"](null,i,j,l)]),this._showPivotItemAnimation},a.supportedForProcessing=!0,a._ClassNames=x._ClassNames,a._EventNames=z,a}();b.Pivot=H;var I=function(){function a(a){this.pivot=a}return a.prototype.exit=function(){},a.prototype.render=function(a){},a.prototype.activateHeader=function(a){},a.prototype.handleNavigation=function(a,b,c){},a.prototype.handleResize=function(){},a.prototype.handleHeaderChanged=function(a){},a.prototype.getCumulativeHeaderWidth=function(b){if(0===b)return 0;for(var c=this.pivot._headersContainerElement.children.length,d=0;b>d;d++){var e=this.renderHeader(d,!1);this.pivot._headersContainerElement.appendChild(e)}var f=0,g=this.pivot._rtl?this.pivot._headersContainerElement.lastElementChild:this.pivot._headersContainerElement.children[c],h=this.pivot._rtl?this.pivot._headersContainerElement.children[c]:this.pivot._headersContainerElement.lastElementChild;f=h.offsetLeft+h.offsetWidth-g.offsetLeft,f+=2*a.headerHorizontalMargin;for(var d=0;b>d;d++)this.pivot._headersContainerElement.removeChild(this.pivot._headersContainerElement.lastElementChild);return f},a.prototype.refreshHeadersState=function(a){a&&(this.cachedHeaderWidth=0);var b=this.cachedHeaderWidth||this.getCumulativeHeaderWidth(this.pivot.items.length);this.cachedHeaderWidth=b,b>this.pivot._getHeaderItemsWidth()&&!(this.pivot._headersState instanceof K)?(this.exit(),this.pivot._headersState=new K(this.pivot)):b<=this.pivot._getHeaderItemsWidth()&&!(this.pivot._headersState instanceof J)&&(this.exit(),this.pivot._headersState=new J(this.pivot))},a.prototype.renderHeader=function(b,d){function e(){f.pivot._disposed||f.pivot._headersContainerElement.contains(i)&&b!==f.pivot.selectedIndex&&"true"===i.getAttribute("aria-selected")&&(f.pivot.selectedIndex=b)}var f=this,g=o._syncRenderer(y),h=this.pivot.items.getAt(b),i=c.document.createElement("BUTTON");return i.tabIndex=-1,i.setAttribute("type","button"),i.style.marginLeft=i.style.marginRight=a.headerHorizontalMargin+"px",o.addClass(i,x._ClassNames.pivotHeader),i._item=h,i._pivotItemIndex=b,g(h,i),d&&(i.setAttribute("aria-selected",""+(b===this.pivot.selectedIndex)),i.setAttribute("role","tab"),new o._MutationObserver(e).observe(i,{attributes:!0,attributeFilter:["aria-selected"]})),i},a.prototype.updateHeader=function(a){var b=this.pivot.items.indexOf(a),c=this.pivot._headersContainerElement.children[b];c.innerHTML="";var d=o._syncRenderer(y);d(a,c)},a.prototype.setActiveHeader=function(a){var b=!1,d=this.pivot._headersContainerElement.querySelector("."+x._ClassNames.pivotHeaderSelected);d&&(d.classList.remove(x._ClassNames.pivotHeaderSelected),d.setAttribute("aria-selected","false"),b=this.pivot._headersContainerElement.contains(c.document.activeElement)),a.classList.add(x._ClassNames.pivotHeaderSelected),a.setAttribute("aria-selected","true"),b&&this.pivot._headersContainerElement.focus()},a.headersContainerLeadingMargin=12,a.headerHorizontalMargin=12,a}(),J=function(a){function b(b){if(a.call(this,b),this._firstRender=!0,this._transitionAnimation=h.wrap(),b._headersContainerElement.children.length&&v.isAnimationEnabled()){var c=b._headersContainerElement.querySelector("."+x._ClassNames.pivotHeaderSelected),d=0,e=0;b._rtl?(d=c.offsetLeft+c.offsetWidth+I.headerHorizontalMargin,e=b._getHeaderItemsWidth()-this.getCumulativeHeaderWidth(b.selectedIndex)-I.headersContainerLeadingMargin,e+=parseFloat(b._headersContainerElement.style.marginLeft)):(d=c.offsetLeft,d+=parseFloat(b._headersContainerElement.style.marginLeft),e=this.getCumulativeHeaderWidth(b.selectedIndex)+I.headersContainerLeadingMargin+I.headerHorizontalMargin);var f=d-e;this.render();for(var g=k._browserStyleEquivalents.transform.cssName,i="translateX("+f+"px)",j=0,l=b._headersContainerElement.children.length;l>j;j++)b._headersContainerElement.children[j].style[g]=i;this._transitionAnimation=v.executeTransition(b._headersContainerElement.querySelectorAll("."+x._ClassNames.pivotHeader),{property:g,delay:0,duration:F,timing:"ease-out",to:""})}else this.render()}return e(b,a),b.prototype.exit=function(){this._transitionAnimation.cancel()},b.prototype.render=function(){var a=this.pivot;if(!a._pendingRefresh&&a._items){if(m._disposeElement(a._headersContainerElement),o.empty(a._headersContainerElement),a._rtl?(a._headersContainerElement.style.marginLeft="0px",a._headersContainerElement.style.marginRight=I.headersContainerLeadingMargin+"px"):(a._headersContainerElement.style.marginLeft=I.headersContainerLeadingMargin+"px",a._headersContainerElement.style.marginRight="0px"),a._viewportElement.style.overflow=1===a.items.length?"hidden":"",a.items.length)for(var b=0;b1){var f=b._items.length+(a?2:1),g=.8*b._getHeaderItemsWidth(),h=b.selectedIndex-1;b._viewportElement.style.overflow&&(b._viewportElement.style.overflow="");for(var i=0;f>i;i++){-1===h?h=b._items.length-1:h===b._items.length&&(h=0);var e=this.renderHeader(h,!0);b._headersContainerElement.appendChild(e),e.offsetWidth>g&&(e.style.textOverflow="ellipsis",e.style.width=g+"px"),h===b.selectedIndex&&e.classList.add(x._ClassNames.pivotHeaderSelected),h++}if(!b._firstLoad&&!this._firstRender){var j,l;a?(j="",l="0"):(j="0",l="");var n=b._headersContainerElement.children[f-1];n.style.opacity=j;var p=.167;n.style[k._browserStyleEquivalents.transition.scriptName]="opacity "+v._animationTimeAdjustment(p)+"s",o._getComputedStyle(n).opacity,n.style.opacity=l}b._headersContainerElement.children[0].setAttribute("aria-hidden","true"),b._headersContainerElement.style.marginLeft="0px",b._headersContainerElement.style.marginRight="0px";var q=b._rtl?"marginRight":"marginLeft",r=b._headersContainerElement.children[0],s=o.getTotalWidth(r)-I.headersContainerLeadingMargin;if(r!==b._headersContainerElement.children[0])return;b._headersContainerElement.style[q]=-1*s+"px",b._prevButton=c.document.createElement("button"),b._prevButton.setAttribute("type","button"),o.addClass(b._prevButton,x._ClassNames.pivotNavButton),o.addClass(b._prevButton,x._ClassNames.pivotNavButtonPrev),b._prevButton.addEventListener("click",function(){b.locked||(b._rtl?b._goNext():b._goPrevious()); -}),b._headersContainerElement.appendChild(b._prevButton),b._prevButton.style.left=b._rtl?"0px":s+"px",b._nextButton=c.document.createElement("button"),b._nextButton.setAttribute("type","button"),o.addClass(b._nextButton,x._ClassNames.pivotNavButton),o.addClass(b._nextButton,x._ClassNames.pivotNavButtonNext),b._nextButton.addEventListener("click",function(){b.locked||(b._rtl?b._goPrevious():b._goNext())}),b._headersContainerElement.appendChild(b._nextButton),b._nextButton.style.right=b._rtl?s+"px":"0px"}b._headersContainerElement.children.length>1?1:0;d&&b._headersContainerElement.focus(),this._firstRender=!1}},b.prototype.activateHeader=function(a){a.previousSibling&&(this.pivot.selectedIndex=a._pivotItemIndex)},b.prototype.handleNavigation=function(a,b,c){function d(a){return j?a.offsetParent.offsetWidth-a.offsetLeft-a.offsetWidth:a.offsetLeft}function e(){g._disposed||(f.render(a),g._slideHeadersAnimation=h.wrap())}var f=this,g=this.pivot;if(this._blocked||0>b||g._firstLoad)return void this.render(a);var i;if(a?i=g._headersContainerElement.children[0]:(c>b&&(b+=g._items.length),i=g._headersContainerElement.children[1+b-c]),!i)return void this.render(a);o.removeClass(g._headersContainerElement.children[1],x._ClassNames.pivotHeaderSelected),o.addClass(i,x._ClassNames.pivotHeaderSelected);var j=g._rtl,l=d(g._headersContainerElement.children[1])-d(i);j&&(l*=-1);var m;m=v.isAnimationEnabled()?v.executeTransition(g._headersContainerElement.querySelectorAll("."+x._ClassNames.pivotHeader),{property:k._browserStyleEquivalents.transform.cssName,delay:0,duration:F,timing:"ease-out",to:"translateX("+l+"px)"}):h.wrap(),g._slideHeadersAnimation=m.then(e,e)},b.prototype.handleResize=function(){this.refreshHeadersState(!1)},b.prototype.handleHeaderChanged=function(a){this.render(),this.refreshHeadersState(!0)},b}(I);j.Class.mix(H,q.createEventProperties(z.itemAnimationEnd,z.itemAnimationStart,z.selectionChanged)),j.Class.mix(H,l.DOMEventMixin)}),d("WinJS/Controls/Pivot",["require","exports","../Core/_Base","./Pivot/_Item"],function(a,b,c,d){d.touch;var e=null;c.Namespace.define("WinJS.UI",{Pivot:{get:function(){return e||a(["./Pivot/_Pivot"],function(a){e=a}),e.Pivot}}})}),d("WinJS/Controls/Hub/_Section",["exports","../../Core/_Global","../../Core/_Base","../../Core/_BaseUtils","../../Core/_ErrorFromName","../../Core/_Resources","../../ControlProcessor","../../Promise","../../Utilities/_Control","../../Utilities/_Dispose","../../Utilities/_ElementUtilities","../../Utilities/_KeyboardBehavior"],function(a,b,c,d,e,f,g,h,i,j,k,l){"use strict";c.Namespace._moduleDefine(a,"WinJS.UI",{HubSection:c.Namespace._lazy(function(){var a={get duplicateConstruction(){return"Invalid argument: Controls may only be instantiated one time for each DOM element"},get seeMore(){return f._getWinJSString("ui/seeMore").value}},m=c.Class.define(function(c,d){if(c=c||b.document.createElement("DIV"),d=d||{},c.winControl)throw new e("WinJS.UI.HubSection.DuplicateConstruction",a.duplicateConstruction);c.winControl=this,this._element=c,k.addClass(this.element,m._ClassName.hubSection),k.addClass(this.element,"win-disposable"),this._headerElement=b.document.createElement("DIV"),this._headerElement.className=m._ClassName.hubSectionHeader,this._headerElement.innerHTML='",this._headerTabStopElement=this._headerElement.firstElementChild,this._headerWrapperElement=this._headerTabStopElement.firstElementChild,this._headerContentElement=this._headerWrapperElement.firstElementChild,this._headerChevronElement=this._headerWrapperElement.lastElementChild,c.appendChild(this._headerElement),this._winKeyboard=new l._WinKeyboard(this._headerElement),this._contentElement=b.document.createElement("DIV"),this._contentElement.className=m._ClassName.hubSectionContent,this._contentElement.style.visibility="hidden",c.appendChild(this._contentElement);for(var f=this.element.firstChild;f!==this._headerElement;){var h=f.nextSibling;this._contentElement.appendChild(f),f=h}this._processors=[g.processAll],i.setOptions(this,d)},{element:{get:function(){return this._element}},isHeaderStatic:{get:function(){return this._isHeaderStatic},set:function(a){this._isHeaderStatic=a,this._isHeaderStatic?(this._headerTabStopElement.setAttribute("role","heading"),k.removeClass(this._headerTabStopElement,m._ClassName.hubSectionInteractive)):(this._headerTabStopElement.setAttribute("role","link"),k.addClass(this._headerTabStopElement,m._ClassName.hubSectionInteractive))}},contentElement:{get:function(){return this._contentElement}},header:{get:function(){return this._header},set:function(a){this._header=a,this._renderHeader()}},_setHeaderTemplate:function(a){this._template=k._syncRenderer(a),this._renderHeader()},_renderHeader:function(){this._template&&(j._disposeElement(this._headerContentElement),k.empty(this._headerContentElement),this._template(this,this._headerContentElement))},_process:function(){var a=this;return this._processed=(this._processors||[]).reduce(function(b,c){return b.then(function(){return c(a.contentElement)})},this._processed||h.as()),this._processors=null,this._processed},dispose:function(){this._disposed||(this._disposed=!0,this._processors=null,j._disposeElement(this._headerContentElement),j.disposeSubTree(this.contentElement))}},{_ClassName:{hubSection:"win-hub-section",hubSectionHeader:"win-hub-section-header",hubSectionHeaderTabStop:"win-hub-section-header-tabstop",hubSectionHeaderWrapper:"win-hub-section-header-wrapper",hubSectionInteractive:"win-hub-section-header-interactive",hubSectionHeaderContent:"win-hub-section-header-content",hubSectionHeaderChevron:"win-hub-section-header-chevron",hubSectionContent:"win-hub-section-content"},isDeclarativeControlContainer:d.markSupportedForProcessing(function(a,b){b!==g.processAll&&(a._processors=a._processors||[],a._processors.push(b),a._processed&&a._process())})});return m})})}),d("require-style!less/styles-hub",[],function(){}),d("require-style!less/colors-hub",[],function(){}),d("WinJS/Controls/Hub",["../Core/_Global","../Core/_Base","../Core/_BaseUtils","../Core/_ErrorFromName","../Core/_Events","../Core/_Log","../Core/_Resources","../Core/_WriteProfilerMark","../_Accents","../Animations","../Animations/_TransitionAnimation","../BindingList","../ControlProcessor","../Promise","../_Signal","../Scheduler","../Utilities/_Control","../Utilities/_ElementUtilities","../Utilities/_Hoverable","../Utilities/_UI","./ElementResizeInstrument","./Hub/_Section","require-style!less/styles-hub","require-style!less/colors-hub"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){"use strict";i.createAccentRule(".win-semanticzoom-zoomedoutview .win-hub-section-header-interactive .win-hub-section-header-content, .win-hub-section-header-interactive .win-hub-section-header-chevron",[{name:"color",value:i.ColorTypes.accent}]),b.Namespace.define("WinJS.UI",{Hub:b.Namespace._lazy(function(){function i(b){var c=a.document.createTextNode("object"==typeof b.header?JSON.stringify(b.header):""+b.header);return c}var s=r.Key,w=e._createEventProperty,x={contentAnimating:"contentanimating",headerInvoked:"headerinvoked",loadingStateChanged:"loadingstatechanged"},y=500,z={scrollPos:"scrollTop",scrollSize:"scrollHeight",offsetPos:"offsetTop",offsetSize:"offsetHeight",oppositeOffsetSize:"offsetWidth",marginStart:"marginTop",marginEnd:"marginBottom",borderStart:"borderTopWidth",borderEnd:"borderBottomWidth",paddingStart:"paddingTop",paddingEnd:"paddingBottom"},A={scrollPos:"scrollLeft",scrollSize:"scrollWidth",offsetPos:"offsetLeft",offsetSize:"offsetWidth",oppositeOffsetSize:"offsetHeight",marginStart:"marginRight",marginEnd:"marginLeft",borderStart:"borderRightWidth",borderEnd:"borderLeftWidth",paddingStart:"paddingRight",paddingEnd:"paddingLeft"},B={scrollPos:"scrollLeft",scrollSize:"scrollWidth",offsetPos:"offsetLeft",offsetSize:"offsetWidth",oppositeOffsetSize:"offsetHeight",marginStart:"marginLeft",marginEnd:"marginRight",borderStart:"borderLeftWidth",borderEnd:"borderRightWidth",paddingStart:"paddingLeft",paddingEnd:"paddingRight"},C=b.Class.define(function(b,c){if(b=b||a.document.createElement("DIV"),c=c||{},b.winControl)throw new d("WinJS.UI.Hub.DuplicateConstruction",E.duplicateConstruction);this._id=b.id||r._uniqueID(b),this._writeProfilerMark("constructor,StartTM"),this._windowKeyDownHandlerBound=this._windowKeyDownHandler.bind(this),a.addEventListener("keydown",this._windowKeyDownHandlerBound),b.winControl=this,this._element=b,r.addClass(this.element,C._ClassName.hub),r.addClass(this.element,"win-disposable"),this._parse(),this._viewportElement=a.document.createElement("DIV"),this._viewportElement.className=C._ClassName.hubViewport,this._element.appendChild(this._viewportElement),this._viewportElement.setAttribute("role","group"),this._viewportElement.setAttribute("aria-label",E.hubViewportAriaLabel),this._surfaceElement=a.document.createElement("DIV"),this._surfaceElement.className=C._ClassName.hubSurface,this._viewportElement.appendChild(this._surfaceElement),this._visible=!1,this._viewportElement.style.opacity=0,c.orientation||(this._orientation=t.Orientation.horizontal,r.addClass(this.element,C._ClassName.hubHorizontal)),this._fireEntrance=!0,this._animateEntrance=!0,this._loadId=0,this.runningAnimations=new n.wrap,this._currentIndexForSezo=0,q.setOptions(this,c),r._addEventListener(this.element,"focusin",this._focusin.bind(this),!1),this.element.addEventListener("keydown",this._keyDownHandler.bind(this)),this.element.addEventListener("click",this._clickHandler.bind(this)),this._viewportElement.addEventListener("scroll",this._scrollHandler.bind(this)),this._resizeHandlerBound=this._resizeHandler.bind(this),this._elementResizeInstrument=new u._ElementResizeInstrument,this._element.appendChild(this._elementResizeInstrument.element),this._elementResizeInstrument.addEventListener("resize",this._resizeHandlerBound);var e=this;r._inDom(this.element).then(function(){e._disposed||e._elementResizeInstrument.addedToDom()}),r._resizeNotifier.subscribe(this.element,this._resizeHandlerBound),this._handleSectionChangedBind=this._handleSectionChanged.bind(this),this._handleSectionInsertedBind=this._handleSectionInserted.bind(this),this._handleSectionMovedBind=this._handleSectionMoved.bind(this),this._handleSectionRemovedBind=this._handleSectionRemoved.bind(this),this._handleSectionReloadBind=this._handleSectionReload.bind(this),this._refresh(),this._writeProfilerMark("constructor,StopTM")},{element:{get:function(){return this._element}},orientation:{get:function(){return this._orientation},set:function(a){if(a!==this._orientation){if(this._measured=!1,this._names){var b={};b[this._names.scrollPos]=0,r.setScrollPosition(this._viewportElement,b)}a===t.Orientation.vertical?(r.removeClass(this.element,C._ClassName.hubHorizontal),r.addClass(this.element,C._ClassName.hubVertical)):(a=t.Orientation.horizontal,r.removeClass(this.element,C._ClassName.hubVertical),r.addClass(this.element,C._ClassName.hubHorizontal)),this._orientation=a,p.schedule(this._updateSnapList.bind(this),p.Priority.idle)}}},sections:{get:function(){return this._pendingSections?this._pendingSections:this._sections},set:function(a){var b=!this._pendingSections;this._pendingSections=a,this._refresh(),b&&(this.scrollPosition=0)}},headerTemplate:{get:function(){return this._pendingHeaderTemplate?this._pendingHeaderTemplate:(this._headerTemplate||(this._headerTemplate=i),this._headerTemplate)},set:function(a){this._pendingHeaderTemplate=a||i,this._refresh()}},scrollPosition:{get:function(){return+this._pendingScrollLocation===this._pendingScrollLocation?this._pendingScrollLocation:(this._measure(),this._scrollPosition)},set:function(a){if(a=Math.max(0,a),this._pendingRefresh)this._pendingScrollLocation=a,this._pendingSectionOnScreen=null;else{this._measure();var b=Math.max(0,Math.min(this._scrollLength-this._viewportSize,a));this._scrollPosition=b;var c={};c[this._names.scrollPos]=b,r.setScrollPosition(this._viewportElement,c)}}},sectionOnScreen:{get:function(){if(+this._pendingSectionOnScreen===this._pendingSectionOnScreen)return this._pendingSectionOnScreen;this._measure();for(var a=0;athis._scrollPosition+this._startSpacer+b.borderStart+b.paddingStart)return a}return-1},set:function(a){a=Math.max(0,a),this._pendingRefresh?(this._pendingSectionOnScreen=a,this._pendingScrollLocation=null):(this._measure(),a>=0&&athis._scrollPosition)return a}return-1}},indexOfLastVisible:{get:function(){this._measure();for(var a=this._sectionSizes.length-1;a>=0;a--){var b=this._sectionSizes[a];if(b.offset+b.paddingStart+b.borderStart=s;s++)l.push(this._loadSection(s));for(m--,q++;m>=0||q=0&&(g.push(m),m--);var t=n.join(l);t.done(function(){d!==this._loadId||e._disposed||(this._showProgressPromise&&this._showProgressPromise.cancel(),this._progressBar&&this._progressBar.parentNode&&this._progressBar.parentNode.removeChild(this._progressBar),p.schedule(function(){if(d===this._loadId&&!e._disposed&&!this._visible){if(this._visible=!0,this._viewportElement.style.opacity=1,this._animateEntrance&&k.isAnimationEnabled()){var b={type:C.AnimationType.entrance};(!this._fireEntrance||this._fireEvent(C._EventName.contentAnimating,b))&&(this._viewportElement.style["-ms-overflow-style"]="none",f=j.enterContent(this._viewportElement).then(function(){this._viewportElement.style["-ms-overflow-style"]="",this._viewportElement.onmousewheel=function(){}}.bind(this)))}this._element===a.document.activeElement&&this._moveFocusIn(this.sectionOnScreen)}},p.Priority.high,this,"WinJS.UI.Hub.entranceAnimation"))}.bind(this)),b(t)}else this._showProgressPromise&&this._showProgressPromise.cancel(),this._progressBar&&this._progressBar.parentNode&&this._progressBar.parentNode.removeChild(this._progressBar);n.join([this.runningAnimations,f,h]).done(function(){d!==this._loadId||e._disposed||(this.runningAnimations=n.wrap(),this._measured&&this._scrollLength!==this._viewportElement[this._names.scrollSize]&&(this._measured=!1),this._setState(C.LoadingState.complete),p.schedule(this._updateSnapList.bind(this),p.Priority.idle))}.bind(this))},loadingState:{get:function(){return this._loadingState}},_setState:function(b){if(b!==this._loadingState){this._writeProfilerMark("loadingStateChanged:"+b+",info"),this._loadingState=b;var c=a.document.createEvent("CustomEvent");c.initCustomEvent(C._EventName.loadingStateChanged,!0,!1,{loadingState:b}),this._element.dispatchEvent(c)}},_parse:function(){for(var a=[],b=this.element.firstElementChild;b;){m.processAll(b);var c=b.winControl;if(!c)throw new d("WinJS.UI.Hub.InvalidContent",E.invalidContent);a.push(c);var e=b.nextElementSibling;b.parentElement.removeChild(b),b=e}this.sections=new l.List(a)},_fireEvent:function(b,c){var d=a.document.createEvent("CustomEvent");return d.initCustomEvent(b,!0,!0,c),this.element.dispatchEvent(d)},_findHeaderTabStop:function(a){if(a.parentNode&&r._matchesSelector(a,".win-hub-section-header-tabstop, .win-hub-section-header-tabstop *")){for(;!r.hasClass(a,"win-hub-section-header-tabstop");)a=a.parentElement;return a}return null},_isInteractive:function(b){for(;b&&b!==a.document.body;){if(r.hasClass(b,"win-interactive"))return!0;b=b.parentElement}return!1},_clickHandler:function(a){var b=this._findHeaderTabStop(a.target);if(b&&!this._isInteractive(a.target)){var c=b.parentElement.parentElement.winControl;if(!c.isHeaderStatic){var d=this.sections.indexOf(c);this._fireEvent(C._EventName.headerInvoked,{index:d,section:c})}}},_resizeHandler:function(){this._measured=!1,p.schedule(this._updateSnapList.bind(this),p.Priority.idle)},_scrollHandler:function(){this._measured=!1,this._pendingSections||(this._pendingScrollLocation=null,this._pendingSectionOnScreen=null,this._pendingScrollHandler||(this._pendingScrollHandler=c._requestAnimationFrame(function(){this._pendingScrollHandler=null,this._pendingSections||this.loadingState!==C.LoadingState.complete&&this._loadSections()}.bind(this))))},_measure:function(){if(!this._measured||0===this._scrollLength){this._writeProfilerMark("measure,StartTM"),this._measured=!0,this._rtl="rtl"===r._getComputedStyle(this._element,null).direction,this.orientation===t.Orientation.vertical?this._names=z:this._rtl?this._names=A:this._names=B,this._viewportSize=this._viewportElement[this._names.offsetSize],this._viewportOppositeSize=this._viewportElement[this._names.oppositeOffsetSize],this._scrollPosition=r.getScrollPosition(this._viewportElement)[this._names.scrollPos],this._scrollLength=this._viewportElement[this._names.scrollSize];var a=r._getComputedStyle(this._surfaceElement);this._startSpacer=parseFloat(a[this._names.marginStart])+parseFloat(a[this._names.borderStart])+parseFloat(a[this._names.paddingStart]),this._endSpacer=parseFloat(a[this._names.marginEnd])+parseFloat(a[this._names.borderEnd])+parseFloat(a[this._names.paddingEnd]),this._sectionSizes=[];for(var b=0;b0&&(a+=",");var c=this._sectionSizes[b];a+=c.offset-c.marginStart-this._startSpacer+"px"}a+=")";var d="",e="";this.orientation===t.Orientation.vertical?d=a:e=a,this._lastSnapPointY!==d&&(this._lastSnapPointY=d,this._viewportElement.style["-ms-scroll-snap-points-y"]=d),this._lastSnapPointX!==e&&(this._lastSnapPointX=e,this._viewportElement.style["-ms-scroll-snap-points-x"]=e),this._writeProfilerMark("updateSnapList,StopTM")},_scrollToSection:function(a,b){this._measure();var c=this._sectionSizes[a],d=Math.min(this._scrollLength-this._viewportSize,c.offset-c.marginStart-this._startSpacer);this._scrollTo(d,b)},_ensureVisible:function(a,b){this._measure();var c=this._ensureVisibleMath(a,this._scrollPosition);this._scrollTo(c,b)},_ensureVisibleMath:function(a,b){this._measure();var c=this._sectionSizes[a],d=Math.min(this._scrollLength-this._viewportSize,c.offset-c.marginStart-this._startSpacer),e=Math.max(0,c.offset+c.size+c.marginEnd+this._endSpacer-this._viewportSize+1);return b>d?b=d:e>b&&(b=Math.min(d,e)),b},_scrollTo:function(a,b){if(this._scrollPosition=a,b)this.orientation===t.Orientation.vertical?r._zoomTo(this._viewportElement,{contentX:0,contentY:this._scrollPosition,viewportX:0,viewportY:0}):r._zoomTo(this._viewportElement,{contentX:this._scrollPosition,contentY:0,viewportX:0,viewportY:0});else{var c={};c[this._names.scrollPos]=this._scrollPosition,r.setScrollPosition(this._viewportElement,c)}},_windowKeyDownHandler:function(a){if(a.keyCode===s.tab){this._tabSeenLast=!0;var b=this;c._yieldForEvents(function(){b._tabSeenLast=!1})}},_focusin:function(a){if(this._tabSeenLast){var b=this._findHeaderTabStop(a.target);if(b&&!this._isInteractive(a.target)){var c=this.sections.indexOf(b.parentElement.parentElement.winControl);c>-1&&this._ensureVisible(c,!0)}}for(var d=a.target;d&&!r.hasClass(d,v.HubSection._ClassName.hubSection);)d=d.parentElement;if(d){var c=this.sections.indexOf(d.winControl);c>-1&&(this._currentIndexForSezo=c)}if(a.target===this.element){var e;+this._sectionToFocus===this._sectionToFocus&&this._sectionToFocus>=0&&this._sectionToFocus=0){for(var b=a;b=0;b--){var c=this.sections.getAt(b);if(r._setActiveFirstFocusableElement(c.contentElement,this._viewportElement))return;var d=r._trySetActive(c._headerTabStopElement,this._viewportElement);if(d)return}}},_keyDownHandler:function(a){if(!this._isInteractive(a.target)&&!r._hasCursorKeysBehaviors(a.target)){var b=this._rtl?s.rightArrow:s.leftArrow,c=this._rtl?s.leftArrow:s.rightArrow;if(a.keyCode===s.upArrow||a.keyCode===s.downArrow||a.keyCode===s.leftArrow||a.keyCode===s.rightArrow||a.keyCode===s.pageUp||a.keyCode===s.pageDown){var d=this._findHeaderTabStop(a.target);if(d){var e,f=this.sections.indexOf(d.parentElement.parentElement.winControl),g=!1;if(a.keyCode===s.pageDown||this.orientation===t.Orientation.horizontal&&a.keyCode===c||this.orientation===t.Orientation.vertical&&a.keyCode===s.downArrow){for(var h=f+1;h=0;h--)if(this._tryFocus(h)){e=h;break}(a.keyCode===s.upArrow||a.keyCode===s.downArrow||a.keyCode===s.leftArrow||a.keyCode===s.rightArrow)&&(g=!0),+e===e&&(g?this._ensureVisible(e,!0):this._scrollToSection(e,!0),a.preventDefault())}}else if(a.keyCode===s.home||a.keyCode===s.end){this._measure();var i=Math.max(0,this._scrollLength-this._viewportSize);this._scrollTo(a.keyCode===s.home?0:i,!0),a.preventDefault()}}},_tryFocus:function(b){var c=this.sections.getAt(b);return r._setActive(c._headerTabStopElement,this._viewportElement),a.document.activeElement===c._headerTabStopElement},zoomableView:{get:function(){return this._zoomableView||(this._zoomableView=new D(this)),this._zoomableView}},_getPanAxis:function(){return this.orientation===t.Orientation.horizontal?"horizontal":"vertical"},_configureForZoom:function(){},_setCurrentItem:function(a,b){var c;c=this.orientation===t.Orientation.horizontal?a:b,this._measure(),c+=this._scrollPosition,this._currentIndexForSezo=this._sectionSizes.length-1;for(var d=1;dc){this._currentIndexForSezo=d-1;break}}},_getCurrentItem:function(){var a;if(this._sectionSizes.length>0){this._measure();var b=Math.max(0,Math.min(this._currentIndexForSezo,this._sectionSizes.length)),c=this._sectionSizes[b];a=this.orientation===t.Orientation.horizontal?{left:Math.max(0,c.offset-c.marginStart-this._scrollPosition),top:0,width:c.size,height:this._viewportOppositeSize}:{left:0,top:Math.max(0,c.offset-c.marginStart-this._scrollPosition),width:this._viewportOppositeSize,height:c.size};var d=this.sections.getAt(b);return n.wrap({item:{data:d,index:b,groupIndexHint:b},position:a})}},_beginZoom:function(){this._viewportElement.style["-ms-overflow-style"]="none"},_positionItem:function(a,b){if(a.index>=0&&a.index1;if(e!==d.serviceActive){if(e)c.addEventListener("beforerequestingfocusonkeyboardinput",this._onBeforeRequestingFocusOnKeyboardInputBound),g._addEventListener(h.document.documentElement,"focusin",this._onFocusInBound),h.document.documentElement.addEventListener("keydown",this._onKeyDownBound),h.window.addEventListener("resize",this._onWindowResizeBound),this._bodyClient.currentFocus=h.document.activeElement,h.document.body.appendChild(this._clickEaterEl);else{c.removeEventListener("beforerequestingfocusonkeyboardinput",this._onBeforeRequestingFocusOnKeyboardInputBound),g._removeEventListener(h.document.documentElement,"focusin",this._onFocusInBound),h.document.documentElement.removeEventListener("keydown",this._onKeyDownBound),h.window.removeEventListener("resize",this._onWindowResizeBound);var f=this._clickEaterEl.parentNode;f&&f.removeChild(this._clickEaterEl)}d.serviceActive=e}var j=0,k=l+1;this._clients.forEach(function(a,b){var c=k+j;a.setZIndex(""+c),k=c,j=a.getZIndexCount()+1}),e&&(this._clickEaterEl.style.zIndex=""+(k-1));var m=this._clients.length>0?this._clients[this._clients.length-1]:null;if(this._activeDismissable!==m&&(this._activeDismissable=m,b=!0),b){var n=!i._keyboardSeenLast;this._activeDismissable&&this._activeDismissable.onTakeFocus(n)}}},a.prototype._dispatchKeyboardEvent=function(a,b,c){var d=this._clients.indexOf(a);if(-1!==d)for(var e={type:b,keyCode:c.keyCode,propagationStopped:!1,stopPropagation:function(){this.propagationStopped=!0,c.stopPropagation()}},f=this._clients.slice(0,d+1),g=f.length-1;g>=0&&!e.propagationStopped;g--)f[g].onKeyInStack(e)},a.prototype._dispatchLightDismiss=function(a,b,c){if(this._notifying)return void(j.log&&j.log('_LightDismissService ignored dismiss trigger to avoid re-entrancy: "'+a+'"',"winjs _LightDismissService","warning"));if(b=b||this._clients.slice(0),0!==b.length){this._notifying=!0;for(var d={reason:a,active:!1,_stop:!1,stopPropagation:function(){this._stop=!0},_doDefault:!0,preventDefault:function(){this._doDefault=!1}},e=b.length-1;e>=0&&!d._stop;e--)d.active=this._activeDismissable===b[e],b[e].onShouldLightDismiss(d)&&b[e].onLightDismiss(d);return this._notifying=!1,this._updateDom(c),d._doDefault}},a.prototype._onBeforeRequestingFocusOnKeyboardInput=function(a){return!0},a.prototype._clickEaterTapped=function(){this._dispatchLightDismiss(b.LightDismissalReasons.tap)},a.prototype._onFocusIn=function(a){for(var c=a.target,d=this._clients.length-1;d>=0&&!this._clients[d].containsElement(c);d--);-1!==d&&this._clients[d].onFocus(c),d+10}catch(a){return!1}},get _extraOccluded(){var a=0;return!b._KeyboardInfo._isResized&&e.Windows.UI.ViewManagement.InputPane&&(a=e.Windows.UI.ViewManagement.InputPane.getForCurrentView().occludedRect.height),a},get _isResized(){var a=d.document.documentElement.clientHeight/d.innerHeight,b=d.document.documentElement.clientWidth/d.innerWidth;return.99>b/a},get _visibleDocBottom(){return b._KeyboardInfo._visibleDocTop+b._KeyboardInfo._visibleDocHeight},get _visibleDocHeight(){return b._KeyboardInfo._visualViewportHeight-b._KeyboardInfo._extraOccluded},get _visibleDocTop(){return 0},get _visibleDocBottomOffset(){return b._KeyboardInfo._extraOccluded},get _visualViewportHeight(){var a=b._KeyboardInfo._visualViewportSpace;return a.height},get _visualViewportWidth(){var a=b._KeyboardInfo._visualViewportSpace;return a.width},get _visualViewportSpace(){var a=d.document.body.querySelector("."+f.visualViewportClass);return a||(a=d.document.createElement("DIV"),a.className=f.visualViewportClass,d.document.body.appendChild(a)),a.getBoundingClientRect()},get _animationShowLength(){if(c.hasWinRT){if(e.Windows.UI.Core.AnimationMetrics){for(var a=e.Windows.UI.Core.AnimationMetrics,b=new a.AnimationDescription(a.AnimationEffect.showPanel,a.AnimationEffectTarget.primary),d=b.animations,f=0,g=0;gg;g++){var h=e[g],i=h.winControl;if(!i._disposed&&i){var j=i[c](a);if(d&&j)return j}}}function e(a){if(!a)return[];"string"!=typeof a&&a&&a.length||(a=[a]);var c,d=[];for(c=0;c0&&(e=k.createDeleteFromListAnimation(b,0===a.length?c:void 0)),a.length>0&&(d=k.createAddToListAnimation(a,c));for(var f=0,g=b.length;g>f;f++){var h=b[f].getBoundingClientRect(),i=q._getComputedStyle(b[f]);b[f].style.top=h.top-parseFloat(i.marginTop)+"px",b[f].style.left=h.left-parseFloat(i.marginLeft)+"px",b[f].style.opacity=0,b[f].style.position="fixed"}this._element.winAnimating="rearranging";var j=null;for(e&&(j=e.execute()),f=0;fe;e++)b=c[e].winControl||c[e],b.hidden||d.push(b);return d},_baseEndAnimateCommands:function(a){if(!this._disposed){var b;for(b=0;b