diff --git a/samples/react-accordion-dynamic-section/.gitignore b/samples/react-accordion-dynamic-section/.gitignore new file mode 100644 index 000000000..b19bbe123 --- /dev/null +++ b/samples/react-accordion-dynamic-section/.gitignore @@ -0,0 +1,32 @@ +# Logs +logs +*.log +npm-debug.log* + +# Dependency directories +node_modules + +# Build generated files +dist +lib +solution +temp +*.sppkg + +# Coverage directory used by tools like istanbul +coverage + +# OSX +.DS_Store + +# Visual Studio files +.ntvs_analysis.dat +.vs +bin +obj + +# Resx Generated Code +*.resx.ts + +# Styles Generated Code +*.scss.ts diff --git a/samples/react-accordion-dynamic-section/README.md b/samples/react-accordion-dynamic-section/README.md index c5f3ccad6..f651fd123 100644 --- a/samples/react-accordion-dynamic-section/README.md +++ b/samples/react-accordion-dynamic-section/README.md @@ -28,17 +28,22 @@ **2) Add the Dynamic Accordion Section web part to your page & select your list, category, title and content columns. Click Apply and Publish:** -![Select list and other properties from property panel for use with the Accordion](./assets/AccordionSettings1.png) -![Completed properties.](./assets/AccordionSettings2.png) +![Select list and other properties from property panel for use with the Accordion](./assets/AccordionSettings4.png) +![Completed properties.](./assets/AccordionSettings3.png) -## Used SharePoint Framework Version -![1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg) +## Compatibility + +![SPFx 1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg) +![Node.js LTS v10](https://img.shields.io/badge/Node.js-LTS%20v10-green.svg) +![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg) +![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams") ## Applies to -- [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview) -- [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment) +* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview) +* [Microsoft 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment) + ## Prerequisites @@ -46,24 +51,22 @@ Please create the list as described above ## Solution -| Solution | Author(s) | -| ------------------------------------------ | ---------------------------------------------------------------------------------------- | -| SPFx Collapsible Accordion Section | [Erik Benke](https://github.com/ejbenke) ([@erikjbenke](https://twitter.com/erikjbenke)) | -| SPFx Collapsible Accordion Section | [Mike Zimmerman](https://github.com/mikezimm) | -| Dynamic SPFx Collapsible Accordion Section | [Jerry Yasir](https://github.com/jyasir) | +| Solution | Author(s) | +| ------------------------------------------ | -----------------------------------------------------------------------------------------------------| +| SPFx Collapsible Accordion Section | [Erik Benke](https://github.com/ejbenke) ([@erikjbenke](https://twitter.com/erikjbenke)) | +| SPFx Collapsible Accordion Section | [Mike Zimmerman](https://github.com/mikezimm) | +| Dynamic SPFx Collapsible Accordion Section | [Jerry Yasir](https://github.com/jyasir) | +| Dynamic SPFx Collapsible Accordion Section | [Ari Gunawan](https://github.com/AriGunawan) ([@AriGunawan3023](https://twitter.com/AriGunawan3023)) | ## Version history | Version | Date | Comments | | ------- | ------------------ | --------------------------------------------------------------------------------------------------- | -| 1.0 | September 20, 2020 | Reused [Erik Benke] and [Mike Zimmerman] web part | +| 1.0 | September 20, 2020 | Reused [Erik Benke] and [Mike Zimmerman] web part | | 1.1 | September 20, 2020 | Added Support for Dynamic Column selection for reuseability, Dynamic Property Selection for Columns | +| 1.8 | August 8, 2021 | Add configuration for sorting the items | -## Disclaimer -**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- ## Minimal Path to Awesome @@ -75,4 +78,19 @@ Please create the list as described above - Use `gulp bundle --ship` & `gulp package-solution --ship` - Add the `.sppkg` to your SharePoint App Catalog +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + +## Help + +We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. + +If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20). + +For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20). + +Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20). + + diff --git a/samples/react-accordion-dynamic-section/assets/AccordionSettings3.png b/samples/react-accordion-dynamic-section/assets/AccordionSettings3.png new file mode 100644 index 000000000..10a6c776a Binary files /dev/null and b/samples/react-accordion-dynamic-section/assets/AccordionSettings3.png differ diff --git a/samples/react-accordion-dynamic-section/assets/AccordionSettings4.png b/samples/react-accordion-dynamic-section/assets/AccordionSettings4.png new file mode 100644 index 000000000..56497391c Binary files /dev/null and b/samples/react-accordion-dynamic-section/assets/AccordionSettings4.png differ diff --git a/samples/react-accordion-dynamic-section/assets/sample.json b/samples/react-accordion-dynamic-section/assets/sample.json index cad5d007f..8800ef1dc 100644 --- a/samples/react-accordion-dynamic-section/assets/sample.json +++ b/samples/react-accordion-dynamic-section/assets/sample.json @@ -9,7 +9,7 @@ "This sample is based on Erik Benke and Mike Zimmerman Accordion Section FAQ Builder web part. It was extended support single FAQs list based on Category and dynamic properties selection." ], "creationDateTime": "2021-01-05", - "updateDateTime": "2021-01-05", + "updateDateTime": "2021-08-08", "products": [ "SharePoint", "Office" diff --git a/samples/react-accordion-dynamic-section/config/package-solution.json b/samples/react-accordion-dynamic-section/config/package-solution.json index 3f6005c4b..7c508f61a 100644 --- a/samples/react-accordion-dynamic-section/config/package-solution.json +++ b/samples/react-accordion-dynamic-section/config/package-solution.json @@ -3,7 +3,7 @@ "solution": { "name": "Accordion Section FAQ Builder", "id": "bf6fa974-fd40-45a3-80e9-e826abe025b9", - "version": "1.6.0.0", + "version": "1.7.0.0", "includeClientSideAssets": true, "skipFeatureDeployment": true }, diff --git a/samples/react-accordion-dynamic-section/dist/061da2cd-f680-4da5-ab30-40a8ba1aafd8.manifest.json b/samples/react-accordion-dynamic-section/dist/061da2cd-f680-4da5-ab30-40a8ba1aafd8.manifest.json deleted file mode 100644 index f042f0654..000000000 --- a/samples/react-accordion-dynamic-section/dist/061da2cd-f680-4da5-ab30-40a8ba1aafd8.manifest.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "id": "061da2cd-f680-4da5-ab30-40a8ba1aafd8", - "alias": "ReactAccordionWebPart", - "componentType": "WebPart", - "version": "1.6.0", - "manifestVersion": 2, - "requiresCustomScript": false, - "supportedHosts": [ - "SharePointWebPart", - "TeamsTab" - ], - "loadLegacyFabricCss": true, - "preconfiguredEntries": [ - { - "groupId": "5c03119e-3074-46fd-976b-c60198311f70", - "group": { - "default": "Other" - }, - "title": { - "default": "Dynamic Accordion Section" - }, - "description": { - "default": "Collapsible accordion section for displaying list data based on Category and Dynamic selection" - }, - "officeFabricIconFontName": "MusicInCollectionFill", - "properties": { - "description": "Dynamic React Accordion", - "listId": "", - "columnTitle": "", - "selectedChoice": "", - "accordianTitleColumn": "", - "accordianContentColumn": "", - "allowZeroExpanded": true - } - } - ], - "loaderConfig": { - "entryModuleId": "react-accordion-web-part", - "internalModuleBaseUrls": [ - "https://localhost:4321/" - ], - "scriptResources": { - "react-accordion-web-part": { - "type": "path", - "path": "dist/react-accordion-web-part.js" - }, - "ReactAccordionWebPartStrings": { - "defaultPath": "lib/webparts/reactAccordion/loc/en-us.js", - "type": "localizedPath", - "paths": {} - }, - "ControlStrings": { - "defaultPath": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "type": "localizedPath", - "paths": { - "de-DE": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js", - "de": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js", - "dsb": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js", - "rm": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js", - "hsb": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js", - "en-US": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "bn": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "chr": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "dv": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "div": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "en": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "fil": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "haw": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "iu": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "lo": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "moh": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js", - "fr-FR": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "gsw": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "br": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "tzm-Tfng": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "co": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "fr": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "ff": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "lb": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "mg": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "oc": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "zgh": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "wo": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js", - "lt-LT": "node_modules/@pnp/spfx-controls-react/lib/loc/lt-lt.js", - "nl-NL": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js", - "nl": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js", - "fy": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js", - "ru-RU": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "ru": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "ba": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "be": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "ky": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "mn": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "sah": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "tg": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "tt": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js", - "tk": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js" - } - }, - "@microsoft/sp-property-pane": { - "type": "component", - "version": "1.10.0", - "id": "f9e737b7-f0df-4597-ba8c-3060f82380db" - }, - "@microsoft/sp-core-library": { - "type": "component", - "version": "1.10.0", - "id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b" - }, - "@microsoft/sp-webpart-base": { - "type": "component", - "version": "1.10.0", - "id": "974a7777-0990-4136-8fa6-95d80114c2e0" - }, - "react": { - "type": "component", - "version": "16.8.5", - "id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d", - "failoverPath": "node_modules/react/dist/react.js" - }, - "react-dom": { - "type": "component", - "version": "16.8.5", - "id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a", - "failoverPath": "node_modules/react-dom/dist/react-dom.js" - }, - "@microsoft/sp-http": { - "type": "component", - "version": "1.10.0", - "id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6" - } - } - } -} \ No newline at end of file diff --git a/samples/react-accordion-dynamic-section/dist/react-accordion-web-part.js b/samples/react-accordion-dynamic-section/dist/react-accordion-web-part.js deleted file mode 100644 index 77903b981..000000000 --- a/samples/react-accordion-dynamic-section/dist/react-accordion-web-part.js +++ /dev/null @@ -1 +0,0 @@ -define("061da2cd-f680-4da5-ab30-40a8ba1aafd8_1.6.0",["@microsoft/sp-property-pane","ReactAccordionWebPartStrings","ControlStrings","@microsoft/sp-core-library","@microsoft/sp-webpart-base","react","react-dom","@microsoft/sp-http"],function(e,t,n,r,o,i,s,a){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="Fygh")}({"++6r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/[\{\}]/g,o=/\{\d+\}/g;t.format=function(e){for(var t=[],n=1;n0){for(var V=0,q=0,G=0,Z=p;G0?o.createElement("li",{role:"presentation",key:u.key},o.createElement("div",{role:"group"},o.createElement("ul",{className:this._classNames.list},u.topDivider&&this._renderSeparator(n,t,!0,!0),l&&this._renderListItem(l,e.key||n,t,e.title),u.items.map(function(e,t){return a._renderMenuItem(e,t,t,u.items.length,r,s)}),u.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,r){return o.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?o.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider}):null},t.prototype._renderNormalItem=function(e,t,n,o,i,s,a){return e.onRender?[e.onRender(r.__assign({"aria-posinset":o+1,"aria-setsize":i},e),this.dismiss)]:e.href?this._renderAnchorMenuItem(e,t,n,o,i,s,a):e.split&&l.hasSubmenu(e)?this._renderSplitButton(e,t,n,o,i,s,a):this._renderButtonItem(e,t,n,o,i,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,r,i){var s=this.props.contextualMenuItemAs,a=void 0===s?p.ContextualMenuItem:s;return o.createElement("div",{className:this._classNames.header,style:e.style,role:"heading","aria-level":this.props.title?2:1},o.createElement(a,{item:e,classNames:t,index:n,onCheckmarkClick:r?this._onItemClick:void 0,hasIcons:i}))},t.prototype._renderAnchorMenuItem=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuAnchor,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:l,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuButton,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:l,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuSplitButton,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:l,onTap:this._onPointerAndTouchEvent})},t.prototype._getIconProps=function(e){return e.iconProps?e.iconProps:{iconName:e.icon}},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var r=this,o=n||t.currentTarget,i=this.props.subMenuHoverDelay,s=void 0===i?g:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&o.focus(),l.hasSubmenu(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){o.focus(),r.setState({expandedByMouseClick:!0}),r._onItemSubMenuExpand(e,o),r._enterTimerId=void 0},s)):this._enterTimerId=this._async.setTimeout(function(){r._onSubMenuDismiss(t),o.focus(),r._enterTimerId=void 0},s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,r=this._findItemByKey(n),o=null;return r&&(o={items:f(r),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:u.getRTL()?8:11,className:this.props.className,gapSpace:0,isBeakVisible:!1},r.subMenuProps&&u.assign(o,r.subMenuProps)),o},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,r=t;n-1}},"+XMV":function(e,t,n){"use strict";e.exports=n("GOzd")()?String.prototype.contains:n("+Wds")},"+aGg":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("iRzo"),o=n("XZgV"),i=n("XHtT");t.CalloutContent=r.styled(o.CalloutContentBase,i.getStyles)},"+fC3":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("9uoN")),r(n("b58g")),r(n("Y8Tu"))},"+lvF":function(e,t,n){e.exports=n("VTer")("native-function-to-string",Function.toString)},"+rLv":function(e,t,n){var r=n("dyZX").document;e.exports=r&&r.documentElement},"//B1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hoistStatics=function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},"//Os":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("H+sk"),t)},"/A2d":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.prototype._onFocus=function(){this._containsFocus=!0},t.prototype._onBlur=function(e){this._root.value&&this._root.value.contains(e.relatedTarget)&&(this._containsFocus=!1)},t.defaultProps={shouldRestoreFocus:!0},t}(i.BaseComponent);t.Popup=s},"1m9z":function(e,t,n){"use strict";var r=n("sYVv"),o=n("IDEf"),i=n("lq5y");e.exports=function(e){var t=Object(i(e)),n=arguments[1],s=Object(arguments[2]);if(t!==e&&!n)return t;var a={};return n?r(n,function(t){(s.ensure||t in e)&&(a[t]=e[t])}):o(a,e),a}},"1sZu":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ");r.__exportStar(n("Mz9Y"),t),r.__exportStar(n("pRvW"),t)},"1v3R":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("4ytl");t.baseElementEvents=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel"],t.baseElementProperties=["defaultChecked","defaultValue","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","challenge","checked","children","classID","className","cols","colSpan","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","placeholder","poster","preload","radioGroup","readOnly","rel","required","role","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","title","type","useMap","value","width","wmode","wrap"],t.htmlElementProperties=t.baseElementProperties.concat(t.baseElementEvents),t.anchorProperties=t.htmlElementProperties.concat(["href","target"]),t.buttonProperties=t.htmlElementProperties.concat(["disabled"]),t.divProperties=t.htmlElementProperties.concat(["align","noWrap"]),t.inputProperties=t.buttonProperties,t.textAreaProperties=t.buttonProperties,t.imageProperties=t.divProperties,t.getNativeProps=function(e,t,n){return r.filteredAssign(function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}},"1xxT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("wXwR");t.CommandButton=r.ActionButton},"26ea":function(t,n){t.exports=e},"2F8+":function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&r>t)&&(n=u(),r=0),s=n;for(var l=0;l0){for(var V=0,q=0,G=0,Z=p;G0?o.createElement("li",{role:"presentation",key:u.key},o.createElement("div",{role:"group"},o.createElement("ul",{className:this._classNames.list},u.topDivider&&this._renderSeparator(n,t,!0,!0),l&&this._renderListItem(l,e.key||n,t,e.title),u.items.map(function(e,t){return a._renderMenuItem(e,t,t,u.items.length,r,s)}),u.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,r){return o.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?o.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider}):null},t.prototype._renderNormalItem=function(e,t,n,o,i,s,a){return e.onRender?[e.onRender(r.__assign({"aria-posinset":o+1,"aria-setsize":i},e),this.dismiss)]:e.href?this._renderAnchorMenuItem(e,t,n,o,i,s,a):e.split&&l.hasSubmenu(e)?this._renderSplitButton(e,t,n,o,i,s,a):this._renderButtonItem(e,t,n,o,i,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,r,i){var s=this.props.contextualMenuItemAs,a=void 0===s?p.ContextualMenuItem:s;return o.createElement("div",{className:this._classNames.header,style:e.style,role:"heading","aria-level":this.props.title?2:1},o.createElement(a,{item:e,classNames:t,index:n,onCheckmarkClick:r?this._onItemClick:void 0,hasIcons:i}))},t.prototype._renderAnchorMenuItem=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuAnchor,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:l,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuButton,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:l,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,r,i,s,a){var u=this.props.contextualMenuItemAs,l=this.state.expandedMenuItemKey;return o.createElement(h.ContextualMenuSplitButton,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:l,onTap:this._onPointerAndTouchEvent})},t.prototype._getIconProps=function(e){return e.iconProps?e.iconProps:{iconName:e.icon}},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var r=this,o=n||t.currentTarget,i=this.props.subMenuHoverDelay,s=void 0===i?g:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&o.focus(),l.hasSubmenu(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){o.focus(),r.setState({expandedByMouseClick:!0}),r._onItemSubMenuExpand(e,o),r._enterTimerId=void 0},s)):this._enterTimerId=this._async.setTimeout(function(){r._onSubMenuDismiss(t),o.focus(),r._enterTimerId=void 0},s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,r=this._findItemByKey(n),o=null;return r&&(o={items:f(r),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:u.getRTL()?8:11,className:this.props.className,gapSpace:0,isBeakVisible:!1},r.subMenuProps&&u.assign(o,r.subMenuProps)),o},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,r=t;n=s&&(!t||a)?(l=n,c&&(r.clearTimeout(c),c=null),o=e.apply(r._parent,i)):null===c&&u&&(c=r.setTimeout(d,h)),o};return function(){for(var e=[],t=0;t=a&&(n=!0),d=t);var o=t-d,s=a-o,f=t-p,y=!1;return null!==c&&(f>=c&&h?y=!0:s=Math.min(s,c-f)),o>=a||y||n?m(t):null!==h&&e||!l||(h=r.setTimeout(g,s)),i},y=function(){return!!h},v=function(){for(var e=[],t=0;t=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=o[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,o,(t=e[n](t)).done,t.value)})}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function w(e){return e&&e.__esModule?e:{default:e}}},"52x2":function(e,t,n){"use strict";e.exports=function(){}},"5KZn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("/EXG"),i="left",s="right",a="@noflip",u=((r={})[i]=s,r[s]=i,r),l={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},c=d();function d(){return void 0===c&&(c="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),c}t.setRTL=function(e){c!==e&&(o.Stylesheet.getInstance().resetKeys(),c=e)},t.getRTL=d,t.rtlifyRules=function(e,t){if(d()){var n=e[t];if(!n)return;var r=e[t+1];if("string"==typeof r&&r.indexOf(a)>=0)e[t+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(i)>=0)e[t]=n.replace(i,s);else if(n.indexOf(s)>=0)e[t]=n.replace(s,i);else if(String(r).indexOf(i)>=0)e[t+1]=r.replace(i,s);else if(String(r).indexOf(s)>=0)e[t+1]=r.replace(s,i);else if(u[n])e[t]=u[n];else if(l[r])e[t+1]=l[r];else switch(n){case"margin":case"padding":e[t+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":e[t+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r,0)}}}},"5SYA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Gc2k"),o={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"};t.getStyles=function(e){var t=e.className,n=e.isNotHost,i=e.theme,s=r.getGlobalClassNames(o,i);return{root:[s.root,n&&[s.rootNoHost,{position:"fixed",zIndex:r.ZIndexes.Layer,top:0,left:0,width:"100vw",height:"100vh",visibility:"hidden"}],t],content:[s.content,{visibility:"visible"}]}}},"5U38":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("1sZu"),t)},"5Ymc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStyles=function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[o&&"ms-Icon-imageContainer",r&&"ms-Icon-placeHolder",{display:"inline-block"},r&&{width:"1em"},o&&{overflow:"hidden"},n,t,i&&i.root,i&&i.imageContainer]}}},"5ZAT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("iRzo"),o=n("Gc2k");t.getBaseButtonClassNames=r.memoizeFunction(function(e,t,n,r,i,s,a,u,l){var c=u&&!l;return o.mergeStyleSets({root:["ms-Button",e.root,t,n,a&&["is-checked",e.rootChecked],c&&["is-expanded",e.rootExpanded,{selectors:{":hover .ms-Button-icon":e.iconExpandedHovered,":hover .ms-Button-menuIcon":e.rootExpandedHovered,":hover":e.rootExpandedHovered}}],s&&["is-disabled",e.rootDisabled],!s&&!c&&!a&&{selectors:{":hover":e.rootHovered,":hover .ms-Button-icon":e.iconHovered,":hover .ms-Button-description":e.descriptionHovered,":hover .ms-Button-menuIcon":e.menuIconHovered,":focus":e.rootFocused,":active":e.rootPressed,":active .ms-Button-icon":e.iconPressed,":active .ms-Button-description":e.descriptionPressed,":active .ms-Button-menuIcon":e.menuIconPressed}},s&&a&&[e.rootCheckedDisabled],!s&&a&&{selectors:{":hover":e.rootCheckedHovered,":active":e.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",e.flexContainer],textContainer:["ms-Button-textContainer",e.textContainer],icon:["ms-Button-icon",r,e.icon,c&&e.iconExpanded,a&&e.iconChecked,s&&e.iconDisabled],label:["ms-Button-label",e.label,a&&e.labelChecked,s&&e.labelDisabled],menuIcon:["ms-Button-menuIcon",i,e.menuIcon,a&&e.menuIconChecked,s&&e.menuIconDisabled,!s&&!c&&!a&&{selectors:{":hover":e.menuIconHovered,":active":e.menuIconPressed}},c&&["is-expanded",e.menuIconExpanded,{selectors:{":hover":e.menuIconExpandedHovered}}]],description:["ms-Button-description",e.description,a&&e.descriptionChecked,s&&e.descriptionDisabled],screenReaderText:["ms-Button-screenReaderText",e.screenReaderText]})})},"5a0N":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("PGnG"),o=n("jydc"),i=n("8tWw"),s=n("Hlgl");t.getSplitButtonVerticalDividerClassNames=s.memoizeFunction(function(e){return i.mergeStyleSets(r.getDividerClassNames(e),{divider:{height:16,width:1}})}),t.getContextualMenuClassNames=s.memoizeFunction(function(e,t){var n=o.getStyles(e);return i.mergeStyleSets({container:["ms-ContextualMenu-container",n.container,t,[{selectors:{":focus":{outline:0}}}]],root:["ms-ContextualMenu is-open",n.root],list:["ms-ContextualMenu-list is-open",n.list],header:["ms-ContextualMenu-header",n.header],title:n.title})}),t.getItemClassNames=s.memoizeFunction(function(e,t,n,r,s,a,u,l,c,d,p){var h=o.getMenuItemStyles(e);return i.mergeStyleSets({item:["ms-ContextualMenu-item",h.item,u],divider:["ms-ContextualMenu-divider",h.divider,l],root:["ms-ContextualMenu-link",h.root,r&&["is-checked",h.rootChecked],s&&h.anchorLink,n&&["is-expanded",h.rootExpanded],t&&["is-disabled",h.rootDisabled],!t&&!n&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover":h.rootFocused,".ms-Fabric--isFocusVisible &:hover":{background:"inherit;"}}}]],splitPrimary:[h.root,r&&["is-checked",h.rootChecked],(t||p)&&["is-disabled",h.rootDisabled],!(t||p)&&!r&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover":h.rootFocused,".ms-Fabric--isFocusVisible &:hover":{background:"inherit;"}}}]],splitMenu:[h.root,{width:32},n&&["is-expanded",h.rootExpanded],t&&["is-disabled",h.rootDisabled],!t&&!n&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover":h.rootFocused,".ms-Fabric--isFocusVisible &:hover":{background:"inherit;"}}}]],linkContent:["ms-ContextualMenu-linkContent",h.linkContent],linkContentMenu:["ms-ContextualMenu-linkContent",h.linkContent,{justifyContent:"center"}],icon:["ms-ContextualMenu-icon",a&&h.iconColor,h.icon,c,t&&["is-disabled",h.iconDisabled]],checkmarkIcon:["ms-ContextualMenu-checkmarkIcon",a&&h.checkmarkIcon,h.icon,c],subMenuIcon:["ms-ContextualMenu-submenuIcon",h.subMenuIcon,d],label:["ms-ContextualMenu-itemText",h.label],secondaryText:["ms-ContextualMenu-secondaryText",h.secondaryText],splitContainer:[h.splitButtonFlexContainer,!t&&!r&&[{selectors:{".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover":h.rootFocused}}]]})})},"5mzH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(t.SpinnerSize||(t.SpinnerSize={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(t.SpinnerType||(t.SpinnerType={}))},"5uXd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:!1},n}return r.__extends(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?o.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(o.Component);t.DelayedRender=i},"61Fo":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Gc2k"),o={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"};t.getStyles=function(e){var t=e.className,n=e.width,i=e.height,s=e.maximizeFrame,a=e.isLoaded,u=e.shouldFadeIn,l=e.shouldStartVisible,c=e.isLandscape,d=e.isCenter,p=e.isContain,h=e.isCover,f=e.isNone,m=e.isError,g=e.isNotImageFit,y=e.theme,v=r.getGlobalClassNames(o,y),_={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"};return{root:[v.root,{overflow:"hidden"},s&&[v.rootMaximizeFrame,{height:"100%",width:"100%"}],(d||p||h)&&{position:"relative"},t],image:[v.image,{display:"block",opacity:0},a&&["is-loaded",{opacity:1}],d&&[v.imageCenter,_],p&&[v.imageContain,c&&{width:"100%",height:"auto"},!c&&{width:"auto",height:"100%"},_],h&&[v.imageCover,c&&{width:"auto",height:"100%"},!c&&{width:"100%",height:"auto"},_],f&&[v.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!i&&{height:"auto",width:"100%"},!n&&!!i&&{height:"100%",width:"auto"},!!n&&!!i&&{height:"100%",width:"100%"}],a&&u&&!l&&r.AnimationClassNames.fadeIn400,c&&v.imageLandscape,!c&&v.imagePortrait,!a&&"is-notLoaded",u&&"is-fadeIn",m&&"is-error"]}}},"6AQ9":function(e,t,n){"use strict";var r=n("XKFU"),o=n("8a7r");r(r.S+r.F*n("eeVq")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},"6FMO":function(e,t,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},"6b34":function(e,t,n){"use strict";var r=Object.prototype.toString,o=r.call(function(){return arguments}());e.exports=function(e){return r.call(e)===o}},"6iJD":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getVendorSettings=function(){if(!r){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;r=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return r},t.setVendorSettings=function(e){r=e}},"6jGb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("cDcd"),i=n("Hlgl"),s=n("mw/c"),a=n("C/8z"),u=n("BT1k"),l=n("QfZx"),c=n("//Os"),d=function(e){function t(t,n){var u=e.call(this,t)||this;u._buttonElement=i.createRef(),u._splitButtonContainer=i.createRef(),u._onRenderIcon=function(e,t){var n=u.props.iconProps;return n?o.createElement(s.Icon,r.__assign({},n,{className:u._classNames.icon})):null},u._onRenderTextContents=function(){var e=u.props,t=e.text,n=e.children,r=e.secondaryText,i=void 0===r?u.props.description:r,s=e.onRenderText,a=void 0===s?u._onRenderText:s,l=e.onRenderDescription,c=void 0===l?u._onRenderDescription:l;return t||"string"==typeof n||i?o.createElement("div",{className:u._classNames.textContainer},a(u.props,u._onRenderText),c(u.props,u._onRenderDescription)):[a(u.props,u._onRenderText),c(u.props,u._onRenderDescription)]},u._onRenderText=function(){var e=u.props.text,t=u.props.children;return void 0===e&&"string"==typeof t&&(e=t),u._hasText()?o.createElement("div",{key:u._labelId,className:u._classNames.label,id:u._labelId},e):null},u._onRenderChildren=function(){var e=u.props.children;return"string"==typeof e?null:e},u._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?u.props.description:t;return n?o.createElement("div",{key:u._descriptionId,className:u._classNames.description,id:u._descriptionId},n):null},u._onRenderAriaDescription=function(){var e=u.props.ariaDescription;return e?o.createElement("span",{className:u._classNames.screenReaderText,id:u._ariaDescriptionId},e):null},u._onRenderMenuIcon=function(e){var t=u.props.menuIconProps;return o.createElement(s.Icon,r.__assign({iconName:"ChevronDown"},t,{className:u._classNames.menuIcon}))},u._onRenderMenu=function(e){var t=e.onDismiss,n=void 0===t?u._dismissMenu:t;return e.ariaLabel||e.labelElementId||!u._hasText()||(e=r.__assign({},e,{labelElementId:u._labelId})),o.createElement(a.ContextualMenu,r.__assign({id:u._labelId+"-menu",directionalHint:4},e,{shouldFocusOnContainer:u.state.menuProps?u.state.menuProps.shouldFocusOnContainer:void 0,className:i.css("ms-BaseButton-menuhost",e.className),target:u._isSplitButton?u._splitButtonContainer.current:u._buttonElement.current,onDismiss:n}))},u._dismissMenu=function(){var e=null;u.props.persistMenu&&u.state.menuProps&&((e=u.state.menuProps).hidden=!0),u.setState({menuProps:e})},u._openMenu=function(e){if(u.props.menuProps){var t=r.__assign({},u.props.menuProps,{shouldFocusOnContainer:e});u.props.persistMenu&&(t.hidden=!1),u.setState({menuProps:t})}},u._onToggleMenu=function(e){u._splitButtonContainer.current&&u._splitButtonContainer.current.focus();var t=u.state.menuProps;u.props.persistMenu?t&&t.hidden?u._openMenu(e):u._dismissMenu():t?u._dismissMenu():u._openMenu(e)},u._onSplitButtonPrimaryClick=function(e){u._isExpanded&&u._dismissMenu(),!u._processingTouch&&u.props.onClick?u.props.onClick(e):u._processingTouch&&u._onMenuClick(e)},u._onMouseDown=function(e){u.props.onMouseDown&&u.props.onMouseDown(e),e.preventDefault()},u._onSplitButtonContainerKeyDown=function(e){13===e.which?u._buttonElement.current&&(u._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):u._onMenuKeyDown(e)},u._onMenuKeyDown=function(e){if(!u.props.disabled&&(u.props.onKeyDown&&u.props.onKeyDown(e),!e.defaultPrevented&&u._isValidMenuOpenKey(e))){var t=u.props.onMenuClick;t&&t(e,u),u._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}},u._onTouchStart=function(){!u._isSplitButton||!u._splitButtonContainer.value||"onpointerdown"in u._splitButtonContainer.value||u._handleTouchAndPointerEvent()},u._onMenuClick=function(e){var t=u.props.onMenuClick;if(t&&t(e,u),!e.defaultPrevented){var n=0!==e.nativeEvent.detail;u._onToggleMenu(n),e.preventDefault(),e.stopPropagation()}},u._warnConditionallyRequiredProps(["menuProps","onClick"],"split",u.props.split),u._warnDeprecations({rootProps:void 0,description:"secondaryText"}),u._labelId=i.getId(),u._descriptionId=i.getId(),u._ariaDescriptionId=i.getId();var l=null;return t.persistMenu&&t.menuProps&&((l=t.menuProps).hidden=!0),u.state={menuProps:l},u}return r.__extends(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isExpanded",{get:function(){return this.props.persistMenu?!this.state.menuProps.hidden:!!this.state.menuProps},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.ariaDescription,n=e.ariaLabel,r=e.ariaHidden,o=e.className,s=e.disabled,a=e.primaryDisabled,l=e.secondaryText,c=void 0===l?this.props.description:l,d=e.href,p=e.iconProps,h=e.menuIconProps,f=e.styles,m=e.text,g=e.checked,y=e.variantClassName,v=e.theme,_=e.getClassNames,b=this.state.menuProps,S=s||a;this._classNames=_?_(v,o,y,p&&p.className,h&&h.className,S,g,!!b,this.props.split):u.getBaseButtonClassNames(f,o,y,p&&p.className,h&&h.className,S,g,!!b,this.props.split);var x,w=this._ariaDescriptionId,I=this._labelId,P=this._descriptionId,C=!S&&!!d,E=C?"a":"button",k=i.getNativeProps(i.assign(C?{}:{type:"button"},this.props.rootProps,this.props),C?i.anchorProperties:i.buttonProperties,["disabled"]);x=t?w:c?P:k["aria-describedby"]?k["aria-describedby"]:null;var T=null;n||(k["aria-labelledby"]?T=k["aria-labelledby"]:x&&(T=m?I:null));var D=i.assign(k,{className:this._classNames.root,ref:this._buttonElement,disabled:S,"aria-label":n,"aria-labelledby":T,"aria-describedby":x,"data-is-focusable":!1!==this.props["data-is-focusable"]&&!s&&!this._isSplitButton,"aria-pressed":g});return r&&(D["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(E,D):(this.props.menuProps&&i.assign(D,{onKeyDown:this._onMenuKeyDown,onClick:this._onMenuClick,"aria-expanded":this._isExpanded,"aria-owns":this.state.menuProps?this._labelId+"-menu":null,"aria-haspopup":!0}),this._onRenderContent(E,D))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.value&&"onpointerdown"in this._splitButtonContainer.value&&this._events.on(this._splitButtonContainer.value,"pointerdown",this._onPointerDown,!0)},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&t.menuProps&&!this.state.menuProps&&this.props.onAfterMenuDismiss()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(){this._openMenu()},t.prototype._onRenderContent=function(e,t){var n=this,i=this.props,s=e,a=i.menuIconProps,u=i.menuProps,l=i.onRenderIcon,d=void 0===l?this._onRenderIcon:l,p=i.onRenderAriaDescription,h=void 0===p?this._onRenderAriaDescription:p,f=i.onRenderChildren,m=void 0===f?this._onRenderChildren:f,g=i.onRenderMenu,y=void 0===g?this._onRenderMenu:g,v=i.onRenderMenuIcon,_=void 0===v?this._onRenderMenuIcon:v,b=i.disabled,S=i.keytipProps;S&&u&&(S=r.__assign({},S,{hasMenu:!0}));var x=o.createElement(c.KeytipData,{keytipProps:this._isSplitButton?void 0:S,ariaDescribedBy:t["aria-describedby"],disabled:b},function(e){return o.createElement(s,r.__assign({},t,e),o.createElement("div",{className:n._classNames.flexContainer},d(i,n._onRenderIcon),n._onRenderTextContents(),h(i,n._onRenderAriaDescription),m(i,n._onRenderChildren),!n._isSplitButton&&(u||a||n.props.onRenderMenuIcon)&&_(n.props,n._onRenderMenuIcon),n.state.menuProps&&!n.state.menuProps.doNotLayer&&y(u,n._onRenderMenu)))});return u&&u.doNotLayer?o.createElement("div",{style:{display:"inline-block"}},x,this.state.menuProps&&y(u,this._onRenderMenu)):x},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,s=this.props,a=s.styles,u=void 0===a?{}:a,d=s.disabled,p=s.checked,h=s.getSplitButtonClassNames,f=s.primaryDisabled,m=s.menuProps,g=this.props.keytipProps,y=h?h(!!d,!!this.state.menuProps,!!p):u&&l.getClassNames(u,!!d,!!this.state.menuProps,!!p);i.assign(t,{onClick:void 0,tabIndex:-1,"data-is-focusable":!1});var v=t.ariaDescription||"";return g&&m&&(g=r.__assign({},g,{hasMenu:!0})),o.createElement(c.KeytipData,{keytipProps:g,disabled:d},function(r){return o.createElement("div",{"data-ktp-target":r["data-ktp-target"],role:"button","aria-labelledby":t.ariaLabel,"aria-disabled":d,"aria-haspopup":!0,"aria-expanded":n._isExpanded,"aria-pressed":n.props.checked,"aria-describedby":v+(r["aria-describedby"]||""),className:y&&y.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:d||f?void 0:n._onSplitButtonPrimaryClick,tabIndex:d?void 0:0},o.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(y,r),n._onRenderSplitButtonDivider(y)))})},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?o.createElement("span",{className:e.divider}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var i=this.props.menuIconProps,s=this.props.splitButtonAriaLabel;void 0===i&&(i={iconName:"ChevronDown"});var a={styles:e,checked:this.props.checked,disabled:this.props.disabled,onClick:this._onMenuClick,menuProps:void 0,iconProps:i,ariaLabel:s,"aria-haspopup":!0,"aria-expanded":this._isExpanded,"data-is-focusable":!1};return o.createElement(t,r.__assign({},a,{"data-ktp-execute-target":n["data-ktp-execute-target"],onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(40===e.which&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(i.BaseComponent);t.BaseButton=d},"6ocw":function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(s=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([o]).join("\n")}var s;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o0?1:-1}},"7PmA":function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},"7wWa":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("iRzo"),s=n("NUVe"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){s.LayerBase.notifyHostChanged(this.props.id)},t.prototype.componentWillUnmount=function(){s.LayerBase.notifyHostChanged(this.props.id)},t.prototype.render=function(){return o.createElement("div",r.__assign({},this.props,{className:i.css("ms-LayerHost",this.props.className)}))},t}(i.BaseComponent);t.LayerHost=a},"8+KV":function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(0),i=n("LyE8")([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},"86bp":function(e,t,n){"use strict";var r=n("YsTz"),o=Array.prototype.forEach,i=Object.create;e.exports=function(e){var t=i(null);return o.call(arguments,function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)}),t}},"8Hty":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(t.ElementType||(t.ElementType={})),function(e){e[e.normal=0]="normal",e[e.primary=1]="primary",e[e.hero=2]="hero",e[e.compound=3]="compound",e[e.command=4]="command",e[e.icon=5]="icon",e[e.default=6]="default"}(t.ButtonType||(t.ButtonType={}))},"8K2u":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8tWw");t.standardStyles=function(e){var t,n,o,i=e.semanticColors,s=i.buttonBackground,a=i.buttonBackgroundChecked,u=i.buttonBackgroundHovered,l=i.buttonText,c=i.buttonTextHovered,d=i.buttonTextChecked,p=i.buttonTextCheckedHovered;return{root:{backgroundColor:s,color:l},rootHovered:{backgroundColor:u,color:c,selectors:(t={},t[r.HighContrastSelector]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:a,color:d},rootExpanded:{backgroundColor:a,color:d},rootChecked:{backgroundColor:a,color:d},rootCheckedHovered:{backgroundColor:e.palette.neutralLight,color:p},splitButtonContainer:{selectors:(n={},n[r.HighContrastSelector]={border:"none"},n)},splitButtonMenuButton:{color:e.palette.white,backgroundColor:e.palette.neutralLighter,selectors:{":hover":{backgroundColor:e.palette.neutralLight,selectors:(o={},o[r.HighContrastSelector]={color:"Highlight"},o)}}},splitButtonMenuButtonDisabled:{backgroundColor:e.palette.neutralLighter,selectors:{":hover":{backgroundColor:e.palette.neutralLighter}}},splitButtonDivider:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:e.palette.themePrimary},splitButtonMenuButtonExpanded:{backgroundColor:e.palette.neutralLight},splitButtonMenuIcon:{color:e.palette.neutralPrimary},splitButtonMenuIconDisabled:{color:e.palette.neutralTertiary}}},t.primaryStyles=function(e){return{root:{backgroundColor:e.palette.themePrimary,color:e.palette.white,selectors:(t={},t[r.HighContrastSelector]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},t)},rootHovered:{backgroundColor:e.palette.themeDarkAlt,color:e.palette.white,selectors:(n={},n[r.HighContrastSelector]={color:"Window",backgroundColor:"Highlight"},n)},rootPressed:{backgroundColor:e.palette.themeDark,color:e.palette.white,selectors:(o={},o[r.HighContrastSelector]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},o)},rootExpanded:{backgroundColor:e.palette.themeDark,color:e.palette.white},rootChecked:{backgroundColor:e.palette.themeDark,color:e.palette.white},rootCheckedHovered:{backgroundColor:e.palette.themePrimary,color:e.palette.white},rootDisabled:{selectors:(i={},i[r.HighContrastSelector]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(s={},s[r.HighContrastSelector]={border:"none"},s)},splitButtonDivider:{backgroundColor:e.palette.themeLighter},splitButtonMenuButton:{backgroundColor:e.palette.themePrimary,color:e.palette.white,selectors:{":hover":{backgroundColor:e.palette.themeDark,selectors:(a={},a[r.HighContrastSelector]={color:"Highlight"},a)}}},splitButtonMenuButtonDisabled:{backgroundColor:e.palette.neutralLighter,selectors:{":hover":{backgroundColor:e.palette.neutralLighter}}},splitButtonMenuButtonChecked:{backgroundColor:e.palette.themeDark},splitButtonMenuButtonExpanded:{backgroundColor:e.palette.themeDark},splitButtonMenuIcon:{color:e.palette.white},splitButtonMenuIconDisabled:{color:e.palette.neutralTertiary}};var t,n,o,i,s,a}},"8Rrq":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getVendorSettings=function(){if(!r){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;r=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return r},t.setVendorSettings=function(e){r=e}},"8a7r":function(e,t,n){"use strict";var r=n("hswa"),o=n("RjD/");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"8d6d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0;function o(e){r?r(e):console&&console.warn&&console.warn(e)}t.warnDeprecations=function(e,t,n){for(var r in n)if(t&&r in t){var i=e+" property '"+r+"' was used but has been deprecated.",s=n[r];s&&(i+=" Use '"+s+"' instead."),o(i)}},t.warnMutuallyExclusive=function(e,t,n){for(var r in n)if(t&&r in t){var i=n[r];i&&i in t&&o(e+" property '"+r+"' is mutually exclusive with '"+n[r]+"'. Use one or the other.")}},t.warnConditionallyRequiredProps=function(e,t,n,r,i){if(!0===i)for(var s=0,a=n;s1)for(var n=1;n0&&(n=60*this.defaultTimeoutMinutes),t=Object(o.c)(new Date,"second",n)}return Object(o.k)({pnp:1,expiration:t,value:e})},e.prototype.cacheExpirationHandler=function(){var e=this;this.enabled&&this.deleteExpired().then(function(t){setTimeout(Object(o.d)(e,e.cacheExpirationHandler),i.a.cacheExpirationIntervalMilliseconds)}).catch(console.error)},e}(),a=function(){function e(e){void 0===e&&(e=new Map),this._store=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this._store.size},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this._store.clear()},e.prototype.getItem=function(e){return this._store.get(e)},e.prototype.key=function(e){return Array.from(this._store)[e][0]},e.prototype.removeItem=function(e){this._store.delete(e)},e.prototype.setItem=function(e,t){this._store.set(e,t)},e}(),u=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=null),this._local=e,this._session=t}return Object.defineProperty(e.prototype,"local",{get:function(){return null===this._local&&(this._local=new s("undefined"==typeof localStorage?new a:localStorage)),this._local},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"session",{get:function(){return null===this._session&&(this._session=new s("undefined"==typeof sessionStorage?new a:sessionStorage)),this._session},enumerable:!1,configurable:!0}),e}()},"9UcU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},t.noWrap={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},"9crM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("umtj");t.initializeDir=function(e){var t=e||r.getWindow();if(t&&!t.__hasInitializedDir__){t.__hasInitializedDir__=!0;var n=t.document.documentElement;n.hasAttribute("dir")||n.setAttribute("dir","ltr")}}},"9fiv":function(e,t,n){!function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.prototype._onFocus=function(){this._containsFocus=!0},t.prototype._onBlur=function(e){this._root.value&&this._root.value.contains(e.relatedTarget)&&(this._containsFocus=!1)},t.defaultProps={shouldRestoreFocus:!0},t}(i.BaseComponent);t.Popup=s},"9klN":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighContrastSelector="@media screen and (-ms-high-contrast: active)",t.ScreenWidthMinSmall=320,t.ScreenWidthMinMedium=480,t.ScreenWidthMinLarge=640,t.ScreenWidthMinXLarge=1024,t.ScreenWidthMinXXLarge=1366,t.ScreenWidthMinXXXLarge=1920,t.ScreenWidthMaxSmall=t.ScreenWidthMinMedium-1,t.ScreenWidthMaxMedium=t.ScreenWidthMinLarge-1,t.ScreenWidthMaxLarge=t.ScreenWidthMinXLarge-1,t.ScreenWidthMaxXLarge=t.ScreenWidthMinXXLarge-1,t.ScreenWidthMaxXXLarge=t.ScreenWidthMinXXXLarge-1,t.getScreenSelector=function(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}},"9szA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("Uh61"),t)},"9uoN":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("cDcd"),o=n("faye"),i=n("br4S"),s=n("Y8Tu"),a=n("uPdp"),u=function(){function e(e,t){this.type=i.PropertyPaneFieldType.Custom,this.disabled=!1,this.deferredValidationTime=200,this.disableReactivePropertyChanges=!1,this.render=this.render.bind(this),this.targetProperty=e,this.properties=t,this.properties.onDispose=this.dispose,this.properties.onRender=this.render,this.label=t.label,this.context=t.context,this.webAbsoluteUrl=t.webAbsoluteUrl,this.selectedList=t.selectedList,this.selectedLists=t.selectedLists,this.baseTemplate=t.baseTemplate,this.orderBy=t.orderBy,this.multiSelect=t.multiSelect,this.showSelectAll=t.showSelectAll,this.selectAllInList=t.selectAllInList,this.selectAllInListLabel=t.selectAllInListLabel,this.includeHidden=t.includeHidden,this.onPropertyChange=t.onPropertyChange,this.customProperties=t.properties,this.key=t.key,this.onGetErrorMessage=t.onGetErrorMessage,this.listsToExclude=t.listsToExclude,this.filter=t.filter,this.onListsRetrieved=t.onListsRetrieved,!0===t.disabled&&(this.disabled=t.disabled),t.deferredValidationTime&&(this.deferredValidationTime=t.deferredValidationTime)}return e.prototype.onPropertyChange=function(e,t,n){},e.prototype.render=function(e,t,n){var i={label:this.label,targetProperty:this.targetProperty,context:this.context,webAbsoluteUrl:this.webAbsoluteUrl,baseTemplate:this.baseTemplate,orderBy:this.orderBy,multiSelect:this.multiSelect,includeHidden:this.includeHidden,onDispose:this.dispose,onRender:this.render,onChange:n,onPropertyChange:this.onPropertyChange,properties:this.customProperties,key:this.key,disabled:this.disabled,onGetErrorMessage:this.onGetErrorMessage,deferredValidationTime:this.deferredValidationTime,listsToExclude:this.listsToExclude,filter:this.filter,onListsRetrieved:this.onListsRetrieved};if(this.multiSelect){i.selectedLists=this.selectedLists,i.showSelectAll=this.showSelectAll,i.selectAllInList=this.selectAllInList,i.selectAllInListLabel=this.selectAllInListLabel;var u=r.createElement(a.default,i);o.render(u,e)}else{i.selectedList=this.selectedList;u=r.createElement(s.default,i);o.render(u,e)}},e.prototype.dispose=function(e){},e}();t.PropertyFieldListPicker=function(e,t){var n={label:t.label,targetProperty:e,context:t.context,webAbsoluteUrl:t.webAbsoluteUrl,selectedList:"string"==typeof t.selectedList?t.selectedList:null,selectedLists:"string"!=typeof t.selectedList?t.selectedList:null,baseTemplate:t.baseTemplate,orderBy:t.orderBy,multiSelect:t.multiSelect||!1,showSelectAll:t.showSelectAll||!1,selectAllInList:t.selectAllInList||!1,selectAllInListLabel:t.selectAllInListLabel,includeHidden:t.includeHidden,onPropertyChange:t.onPropertyChange,properties:t.properties,onDispose:null,onRender:null,key:t.key,disabled:t.disabled,onGetErrorMessage:t.onGetErrorMessage,deferredValidationTime:t.deferredValidationTime,listsToExclude:t.listsToExclude,filter:t.filter,onListsRetrieved:t.onListsRetrieved};return new u(e,n)}},A9FN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("zKx7"),s=n("iRzo"),a=n("bAjc"),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldUpdateComponentRef=!1,t}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,s=e.styles,u=e.theme;return o.createElement(i.BaseButton,r.__assign({},this.props,{variantClassName:n?"ms-Button--compoundPrimary":"ms-Button--compound",styles:a.getStyles(u,s,n)}))},t=r.__decorate([s.customizable("CompoundButton",["theme"])],t)}(s.BaseComponent);t.CompoundButton=u},ASEy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("IMrf"),t)},ASyi:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return o}),n.d(t,"__assign",function(){return i}),n.d(t,"__rest",function(){return s}),n.d(t,"__decorate",function(){return a}),n.d(t,"__param",function(){return u}),n.d(t,"__metadata",function(){return l}),n.d(t,"__awaiter",function(){return c}),n.d(t,"__generator",function(){return d}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return h}),n.d(t,"__read",function(){return f}),n.d(t,"__spread",function(){return m}),n.d(t,"__await",function(){return g}),n.d(t,"__asyncGenerator",function(){return y}),n.d(t,"__asyncDelegator",function(){return v}),n.d(t,"__asyncValues",function(){return _}),n.d(t,"__makeTemplateObject",function(){return b});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=o[e](t)).value instanceof g?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function v(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){e[r]&&(t[r]=function(t){return(n=!n)?{value:g(e[r](t)),done:"return"===r}:o?o(t):t})}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):h(e)}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}},AZzy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ggy3");t.classNamesFunction=function(){return function(e,t){return r.mergeStyleSets(e&&e(t))}}},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),s=n("Mukb"),a=n("hPIQ"),u=n("QaDb"),l=n("fyDq"),c=n("OP3Y"),d=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,f,m,g,y){u(n,t,f);var v,_,b,S=function(e){if(!p&&e in P)return P[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",w="values"==m,I=!1,P=e.prototype,C=P[d]||P["@@iterator"]||m&&P[m],E=C||S(m),k=m?w?S("entries"):E:void 0,T="Array"==t&&P.entries||C;if(T&&(b=c(T.call(new e)))!==Object.prototype&&b.next&&(l(b,x,!0),r||"function"==typeof b[d]||s(b,d,h)),w&&C&&"values"!==C.name&&(I=!0,E=function(){return C.call(this)}),r&&!y||!p&&!I&&P[d]||s(P,d,E),a[t]=E,a[x]=h,m)if(v={values:w?E:S("values"),keys:g?E:S("keys"),entries:k},y)for(_ in v)_ in P||i(P,_,v[_]);else o(o.P+o.F*(p||I),t,v);return v}},ApDL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("X6uu");t.DirectionalHint=r.DirectionalHint,function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(t.ContextualMenuItemType||(t.ContextualMenuItemType={}))},Aphm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];t.provideUnits=function(e,t){var n=e[t],o=e[t+1];if("number"==typeof o){var i=-1===r.indexOf(n)?"px":"";e[t+1]=""+o+i}}},AvRE:function(e,t,n){var r=n("RYi7"),o=n("vhPU");e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),u=r(n),l=a.length;return u<0||u>=l?e?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):i:e?a.slice(u,u+2):s-56320+(i-55296<<10)+65536}}},AvzG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("QBoD"),t)},AzTC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("iRzo"),s=n("uUJR"),a=n("2OT2"),u=n("pqMv"),l=n("ASEy"),c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._checkBox=i.createRef(),r._onFocus=function(e){var t=r.props.inputProps;t&&t.onFocus&&t.onFocus(e)},r._onBlur=function(e){var t=r.props.inputProps;t&&t.onBlur&&t.onBlur(e)},r._onClick=function(e){var t=r.props,n=t.disabled,o=t.onChange,i=r.state.isChecked;e.preventDefault(),e.stopPropagation(),n||(o&&o(e,!i),void 0===r.props.checked&&r.setState({isChecked:!i}))},r._onRenderLabel=function(e){var t=e.label;return t?o.createElement("span",{className:r._classNames.text},t):null},r._warnMutuallyExclusive({checked:"defaultChecked"}),r._id=i.getId("checkbox-"),r.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked)},r}return r.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){void 0!==e.checked&&this.setState({isChecked:!!e.checked})},t.prototype.render=function(){var e=this,t=this.props,n=t.checked,i=t.className,c=t.defaultChecked,d=t.disabled,p=t.inputProps,h=t.name,f=t.boxSide,m=t.theme,g=t.ariaLabel,y=t.ariaLabelledBy,v=t.ariaDescribedBy,_=t.styles,b=t.onRenderLabel,S=void 0===b?this._onRenderLabel:b,x=t.checkmarkIconProps,w=t.ariaPositionInSet,I=t.ariaSetSize,P=t.keytipProps,C=void 0===n?this.state.isChecked:n,E="start"!==f;return this._classNames=this.props.getClassNames?this.props.getClassNames(m,!!d,!!C,!!E,i):a.getClassNames(u.getStyles(m,_),!!d,!!C,!!E,i),o.createElement(l.KeytipData,{keytipProps:P,disabled:d},function(t){return o.createElement("button",r.__assign({},p,{"data-ktp-execute-target":t["data-ktp-execute-target"]},void 0!==n&&{checked:n},void 0!==c&&{defaultChecked:c},{disabled:d,ref:e._checkBox,name:h,id:e._id,role:"checkbox",type:"button",className:e._classNames.root,onClick:e._onClick,onFocus:e._onFocus,onBlur:e._onBlur,"aria-checked":C,"aria-disabled":d,"aria-label":g,"aria-labelledby":y,"aria-describedby":(v||"")+(t["aria-describedby"]||""),"aria-posinset":w,"aria-setsize":I}),o.createElement("label",{className:e._classNames.label,htmlFor:e._id},o.createElement("div",{className:e._classNames.checkbox,"data-ktp-target":t["data-ktp-target"]},o.createElement(s.Icon,r.__assign({iconName:"CheckMark"},x,{className:e._classNames.checkmark}))),S(e.props,e._onRenderLabel)))})},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t=r.__decorate([i.customizable("Checkbox",["theme"])],t)}(i.BaseComponent);t.Checkbox=c},BGyn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("qIec"),s=n("pQEv"),a=n("Bswb"),u=n("AvzG"),l=n("9QpN"),c=n("ruqu"),d=n("uUJR"),p=n("5U38"),h=n("p6i1"),f=n("iRzo"),m=n("c1k0"),g=n("jgR0"),y=n("pqMv"),v=n("Gc2k"),_=n("ASEy"),b=function(e){function t(t){var u=e.call(this,t)||this;if(u._host=f.createRef(),u._focusZone=f.createRef(),u._dropDown=f.createRef(),u._scrollIdleDelay=250,u._onRenderTitle=function(e){var t=u.props.multiSelectDelimiter,n=void 0===t?", ":t,r=e.map(function(e){return e.text}).join(n);return o.createElement("span",null,r)},u._onRenderPlaceHolder=function(e){return e.placeHolder?o.createElement("span",null,e.placeHolder):null},u._onRenderContainer=function(e){var t=u.props,n=t.onRenderList,i=void 0===n?u._onRenderList:n,s=t.responsiveMode,l=t.calloutProps,d=t.panelProps,p=t.dropdownWidth;return s<=h.ResponsiveMode.medium?o.createElement(c.Panel,r.__assign({className:f.css("ms-Dropdown-panel",g.panel,!!d&&d.className),isOpen:!0,isLightDismiss:!0,onDismissed:u._onDismiss,hasCloseButton:!1},d),i(e,u._onRenderList)):o.createElement(a.Callout,r.__assign({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!0,directionalHint:4},l,{className:f.css("ms-Dropdown-callout",g.callout,!!l&&l.className),target:u._dropDown.current,onDismiss:u._onDismiss,onScroll:u._onScroll,onPositioned:u._onPositioned,calloutWidth:p||(u._dropDown.current?u._dropDown.current.clientWidth:0)}),i(e,u._onRenderList))},u._onRenderCaretDown=function(e){return o.createElement(d.Icon,{className:f.css("ms-Dropdown-caretDown",g.caretDown),iconName:"ChevronDown"})},u._onRenderList=function(e){var t=u.props.onRenderItem,n=void 0===t?u._onRenderItem:t,i=u._id,s=u.state.selectedIndices,a=void 0===s?[]:s;return o.createElement("div",{className:g.listWrapper,onKeyDown:u._onZoneKeyDown,ref:u._host,tabIndex:0},o.createElement(p.FocusZone,{ref:u._focusZone,direction:p.FocusZoneDirection.vertical,defaultActiveElement:void 0!==a[0]?"#"+i+"-list"+a[0]:void 0,id:i+"-list",className:f.css("ms-Dropdown-items",g.items),"aria-labelledby":i+"-label",role:"listbox"},u.props.options.map(function(e,t){return n(r.__assign({},e,{index:t}),u._onRenderItem)})))},u._onRenderItem=function(e){switch(e.itemType){case m.SelectableOptionMenuItemType.Divider:return u._renderSeparator(e);case m.SelectableOptionMenuItemType.Header:return u._renderHeader(e);default:return u._renderOption(e)}},u._renderOption=function(e){var t,r,i=u.props.onRenderOption,a=void 0===i?u._onRenderOption:i,c=u.state.selectedIndices,d=void 0===c?[]:c,p=u._id,h=!(void 0===e.index||!d)&&d.indexOf(e.index)>-1,m=y.getStyles(v.getTheme());return u.props.multiSelect?o.createElement(s.Checkbox,{id:p+"-list"+e.index,ref:n.Option+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:u._onItemClick(e),inputProps:{onMouseEnter:u._onItemMouseEnter.bind(u,e),onMouseLeave:u._onMouseItemLeave.bind(u,e),onMouseMove:u._onItemMouseMove.bind(u,e)},label:e.text,onRenderLabel:u._onRenderLabel.bind(u,e),className:f.css("ms-ColumnManagementPanel-checkbox",g.dropdownCheckbox,"ms-Dropdown-item",g.item,(r={},r["is-selected "+g.itemIsSelected]=h,r["is-disabled "+g.itemIsDisabled]=e.disabled,r)),role:"option","aria-selected":h?"true":"false",checked:h,styles:{checkboxHovered:m.checkbox,checkboxCheckedHovered:m.checkboxChecked,textHovered:m.text}}):o.createElement(l.CommandButton,{id:p+"-list"+e.index,ref:n.Option+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:f.css("ms-Dropdown-item",g.item,(t={},t["is-selected "+g.itemIsSelected]=h,t["is-disabled "+g.itemIsDisabled]=!0===e.disabled,t)),onClick:u._onItemClick(e),onMouseEnter:u._onItemMouseEnter.bind(u,e),onMouseLeave:u._onMouseItemLeave.bind(u,e),onMouseMove:u._onItemMouseMove.bind(u,e),role:"option","aria-selected":h?"true":"false",ariaLabel:e.ariaLabel||e.text},a(e,u._onRenderOption))},u._onRenderOption=function(e){return o.createElement("span",{className:f.css("ms-Dropdown-optionText",g.optionText)},e.text)},u._onRenderLabel=function(e){var t=u.props.onRenderOption;return(void 0===t?u._onRenderOption:t)(e,u._onRenderOption)},u._onPositioned=function(){u._focusZone.current&&u._async.requestAnimationFrame(function(){return u._focusZone.current.focus()})},u._onItemClick=function(e){return function(){e.disabled||(u.setSelectedIndex(e.index),u.props.multiSelect||u.setState({isOpen:!1}))}},u._onScroll=function(){u._isScrollIdle||void 0===u._scrollIdleTimeoutId?u._isScrollIdle=!1:(u._async.clearTimeout(u._scrollIdleTimeoutId),u._scrollIdleTimeoutId=void 0),u._scrollIdleTimeoutId=u._async.setTimeout(function(){u._isScrollIdle=!0},u._scrollIdleDelay)},u._onMouseItemLeave=function(e,t){u._isScrollIdle&&u._host.current&&(u._host.current.setActive?u._host.current.setActive():u._host.current.focus())},u._onDismiss=function(){u.setState({isOpen:!1}),u._dropDown.current&&u._dropDown.current.focus()},u._onDropdownBlur=function(e){u.state.isOpen||u.props.onBlur&&u.props.onBlur(e)},u._onDropdownKeyDown=function(e){if(!u.props.onKeyDown||(u.props.onKeyDown(e),!e.defaultPrevented)){var t,n=u.state.selectedIndices.length?u.state.selectedIndices[0]:-1;switch(e.which){case 13:u.setState({isOpen:!u.state.isOpen});break;case 27:if(!u.state.isOpen)return;u.setState({isOpen:!1});break;case 38:u.props.multiSelect?u.setState({isOpen:!0}):t=u._moveIndex(-1,n-1,n);break;case 40:e.altKey||e.metaKey||u.props.multiSelect?u.setState({isOpen:!0}):t=u._moveIndex(1,n+1,n);break;case 36:u.props.multiSelect||(t=u._moveIndex(1,0,n));break;case 35:u.props.multiSelect||(t=u._moveIndex(-1,u.props.options.length-1,n));break;case 32:break;default:return void((e.altKey||e.metaKey)&&(u.setState({isOpen:!1}),e.stopPropagation(),e.preventDefault()))}t!==n&&(e.stopPropagation(),e.preventDefault())}},u._onDropdownKeyUp=function(e){if(!u.props.onKeyUp||(u.props.onKeyUp(e),!e.preventDefault)){switch(e.which){case 32:u.setState({isOpen:!u.state.isOpen});break;default:return}e.stopPropagation(),e.preventDefault()}},u._onZoneKeyDown=function(e){var t;switch(e.which){case 38:e.altKey||e.metaKey?u.setState({isOpen:!1}):u._host.current&&(t=f.getLastFocusable(u._host.current,u._host.current.lastChild,!0));break;case 36:case 35:case 33:case 34:break;case 40:u._host.current&&(t=f.getFirstFocusable(u._host.current,u._host.current.firstChild,!0));break;case 27:u.setState({isOpen:!1});break;case 9:return void u.setState({isOpen:!1});default:if(e.altKey||e.metaKey){u.setState({isOpen:!1});break}return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},u._onDropdownClick=function(e){if(!u.props.onClick||(u.props.onClick(e),!e.preventDefault)){var t=u.props.disabled,n=u.props.isDisabled,r=u.state.isOpen;void 0!==n&&(t=n),t||u.setState({isOpen:!r})}},t.options.forEach(function(e){e.itemType||(e.itemType=i.DropdownMenuItemType.Normal)}),(u=e.call(this,t)||this)._warnDeprecations({isDisabled:"disabled"}),u._warnMutuallyExclusive({defaultSelectedKey:"selectedKey",defaultSelectedKeys:"selectedKeys",selectedKeys:"selectedKey",multiSelect:"defaultSelectedKey",selectedKey:"multiSelect"}),u._id=t.id||f.getId("Dropdown"),u._isScrollIdle=!0,u.state={isOpen:!1},u.props.multiSelect){var _=void 0!==t.defaultSelectedKeys?t.defaultSelectedKeys:t.selectedKeys;u.state={selectedIndices:u._getSelectedIndexes(t.options,_)}}else{var b=void 0!==t.defaultSelectedKey?t.defaultSelectedKey:t.selectedKey;u.state={selectedIndices:u._getSelectedIndexes(t.options,b)}}return u}return r.__extends(t,e),n=t,t.prototype.componentWillReceiveProps=function(e){var t=this.props.multiSelect?"selectedKeys":"selectedKey";void 0===e[t]||e[t]===this.props[t]&&e.options===this.props.options||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])})},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._dropDown.current&&this._dropDown.current.focus(),this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props.disabled,i=this.props,s=i.className,a=i.label,l=i.options,c=i.isDisabled,d=i.ariaLabel,p=i.required,h=i.errorMessage,m=i.keytipProps,y=i.onRenderTitle,v=void 0===y?this._onRenderTitle:y,b=i.onRenderContainer,S=void 0===b?this._onRenderContainer:b,x=i.onRenderPlaceHolder,w=void 0===x?this._onRenderPlaceHolder:x,I=i.onRenderCaretDown,P=void 0===I?this._onRenderCaretDown:I,C=this.state,E=C.isOpen,k=C.selectedIndices,T=void 0===k?[]:k,D=this._getAllSelectedOptions(l,T),O=f.getNativeProps(this.props,f.divProperties);void 0!==c&&(n=c);var M=t+"-option";return o.createElement("div",{className:f.css("ms-Dropdown-container")},a&&o.createElement(u.Label,{className:f.css("ms-Dropdown-label"),id:t+"-label",htmlFor:t,required:p},a),o.createElement(_.KeytipData,{keytipProps:m,disabled:n},function(i){return o.createElement("div",r.__assign({},i,{"data-is-focusable":!n,ref:e._dropDown,id:t,tabIndex:n?-1:0,"aria-expanded":E?"true":"false",role:"listbox","aria-live":n||E?"off":"assertive","aria-label":d,"aria-describedby":M+(i["aria-describedby"]||""),"aria-activedescendant":E&&1===T.length&&T[0]>=0?e._id+"-list"+T[0]:void 0,"aria-disabled":n,"aria-owns":E?t+"-list":void 0},O,{className:f.css("ms-Dropdown",g.root,s,E&&"is-open",n&&"is-disabled "+g.rootIsDisabled,p&&"is-required"),onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick}),o.createElement("span",{id:t+"-option",className:f.css("ms-Dropdown-title",g.title,!D.length&&"ms-Dropdown-titleIsPlaceHolder",!D.length&&g.titleIsPlaceHolder,h&&h.length>0?g.titleIsError:null),"aria-atomic":!0,role:"listbox"},D.length?v(D,e._onRenderTitle):w(e.props,e._onRenderPlaceHolder)),o.createElement("span",{className:f.css("ms-Dropdown-caretDownWrapper",g.caretDownWrapper)},P(e.props,e._onRenderCaretDown)))}),E&&S(this.props,this._onRenderContainer),h&&o.createElement("div",{className:f.css(g.errorMessage)},h))},t.prototype.focus=function(e){this._dropDown.current&&-1!==this._dropDown.current.tabIndex&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e){var t=this.props,n=t.onChanged,o=t.options,i=t.selectedKey,s=t.selectedKeys,a=t.multiSelect,u=this.state.selectedIndices,l=void 0===u?[]:u,c=!!l&&l.indexOf(e)>-1;if(e=Math.max(0,Math.min(o.length-1,e)),a||e!==l[0]){if(a||void 0!==i){if(a&&void 0===s){var d=l?this._copyArray(l):[];if(c){var p=d.indexOf(e);p>-1&&d.splice(p,1)}else d.push(e);this.setState({selectedIndices:d})}}else this.setState({selectedIndices:[e]});if(n)n(a?r.__assign({},o[e],{selected:!c}):o[e],e)}},t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n=r.length&&(t=r.length-1);for(var o=0;r[t].itemType===i.DropdownMenuItemType.Header||r[t].itemType===i.DropdownMenuItemType.Divider||r[t].disabled;){if(o>=r.length)return n;t+e<0?t=r.length:t+e>=r.length&&(t=-1),t+=e,o++}return this.setSelectedIndex(t),t},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?o.createElement("div",{role:"separator",key:n,className:f.css("ms-Dropdown-divider",g.divider)}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key;return o.createElement("div",{key:r,className:f.css("ms-Dropdown-header",g.header)},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._isScrollIdle&&t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t){if(this.props.multiSelect)return this._getAllSelectedIndices(e);var n=this._getSelectedIndex(e,null);return-1!==n?[n]:[]}if(!Array.isArray(t))return[this._getSelectedIndex(e,t)];for(var r=[],o=0,i=t;o1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.Async(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new s.EventGroup(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),this._shouldUpdateComponentRef&&(!e&&t.componentRef||e&&e.componentRef!==t.componentRef)&&(e&&e.componentRef&&e.componentRef(null),t.componentRef&&t.componentRef(this))},t.prototype._warnDeprecations=function(e){a.warnDeprecations(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){a.warnMutuallyExclusive(this.className,this.props,e)},t.prototype._warnConditionallyRequiredProps=function(e,t,n){a.warnConditionallyRequiredProps(this.className,this.props,e,t,n)},t}(o.Component);function d(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){var e;return o&&(e=o.apply(this,arguments)),r!==o&&(e=r.apply(this,arguments)),e})}t.BaseComponent=c,t.nullRender=function(){return null}},BevS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("Hlgl"),i=n("ojL8"),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(o.Rectangle);function a(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}t.Rectangle=s;var u,l,c=((u={})[0]=a(i.RectangleEdge.top,i.RectangleEdge.left),u[1]=a(i.RectangleEdge.top),u[2]=a(i.RectangleEdge.top,i.RectangleEdge.right),u[3]=a(i.RectangleEdge.top,void 0,!0),u[4]=a(i.RectangleEdge.bottom,i.RectangleEdge.left),u[5]=a(i.RectangleEdge.bottom),u[6]=a(i.RectangleEdge.bottom,i.RectangleEdge.right),u[7]=a(i.RectangleEdge.bottom,void 0,!0),u[8]=a(i.RectangleEdge.left,i.RectangleEdge.top),u[9]=a(i.RectangleEdge.left),u[10]=a(i.RectangleEdge.left,i.RectangleEdge.bottom),u[11]=a(i.RectangleEdge.right,i.RectangleEdge.top),u[12]=a(i.RectangleEdge.right),u[13]=a(i.RectangleEdge.right,i.RectangleEdge.bottom),u),d=((l={})[i.RectangleEdge.top]="slideUpIn20",l[i.RectangleEdge.bottom]="slideDownIn20",l[i.RectangleEdge.left]="slideLeftIn20",l[i.RectangleEdge.right]="slideRightIn20",l);function p(e,t){return!(e.topt.bottom)&&(!(e.leftt.right)))}function h(e,t){var n=new Array;return e.topt.bottom&&n.push(i.RectangleEdge.bottom),e.leftt.right&&n.push(i.RectangleEdge.right),n}function f(e,t){return e[i.RectangleEdge[t]]}function m(e,t,n){return e[i.RectangleEdge[t]]=n,e}function g(e,t){var n=C(t);return(f(e,n.positiveEdge)+f(e,n.negativeEdge))/2}function y(e,t){return e>0?t:-1*t}function v(e,t){return y(e,f(t,e))}function _(e,t,n){return y(n,f(e,n)-f(t,n))}function b(e,t,n){var r=f(e,t)-n;return e=m(e,t,n),e=m(e,-1*t,f(e,-1*t)-r)}function S(e,t,n,r){return void 0===r&&(r=0),b(e,n,f(t,n)+y(n,r))}function x(e,t,n){return v(n,e)>v(n,t)}function w(e,t,n,r,o,s,a){void 0===o&&(o=0);var u=r.alignmentEdge,l={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:u};s||a||(l=function(e,t,n,r,o){void 0===o&&(o=0);for(var s=[i.RectangleEdge.left,i.RectangleEdge.right,i.RectangleEdge.bottom,i.RectangleEdge.top],a=e,u=r.targetEdge,l=r.alignmentEdge,c=0;c<4;c++){if(x(a,n,u))return{elementRectangle:a,targetEdge:u,alignmentEdge:l};s.splice(s.indexOf(u),1),s.indexOf(-1*u)>-1?u*=-1:(l=u,u=s.slice(-1)[0]),a=P(e,t,{targetEdge:u,alignmentEdge:l},o)}return{elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:l}}(e,t,n,r,o));for(var c=0,d=h(e,n);c0?s:r.height}function B(e,t,n,a){var u=e.gapSpace?e.gapSpace:0,l=e.bounds?F(e.bounds):new s(0,window.innerWidth-o.getScrollbarWidth(),0,window.innerHeight),c=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new s(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=M(t);else{var o=t;n=new s(o.x,o.x,o.y,o.y)}if(!p(n,e))for(var a=0,u=h(n,e);a=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(t,n){t>=e&&(this.__redo__[n]=++t)},this),this.__redo__.push(e)):d(this,"__redo__",u("c",[e])))}),_onDelete:u(function(e){var t;e>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(t=this.__redo__.indexOf(e))&&this.__redo__.splice(t,1),this.__redo__.forEach(function(t,n){t>e&&(this.__redo__[n]=--t)},this)))}),_onClear:u(function(){this.__redo__&&o.call(this.__redo__),this.__nextIndex__=0})}))),d(r.prototype,c.iterator,u(function(){return this}))},Bswb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("z2r6"),t)},BxdP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("iRzo"),o=n("Gc2k");t.getClassNames=r.memoizeFunction(function(e,t,n,r){return{root:o.mergeStyles(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:o.mergeStyles(e.splitButtonContainer,r&&!t&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!r&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:o.mergeStyles(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled),flexContainer:o.mergeStyles(e.splitButtonFlexContainer),divider:o.mergeStyles(e.splitButtonDivider)}})},Bxs9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ");r.__exportStar(n("v+No"),t),r.__exportStar(n("nTT2"),t),r.__exportStar(n("XnjA"),t)},"C/8z":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("mFTx"),t)},CZVv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Gc2k"),o=n("iRzo"),i=n("ME9p"),s=n("aWrN");t.getStyles=o.memoizeFunction(function(e,t,n,o){var a,u,l,c=i.getStyles(e),d=s.getStyles(e),p={root:[r.getFocusStyle(e,-1,"relative",{left:4,top:4,bottom:4,right:4,border:"none"}),{minWidth:"40px",backgroundColor:e.palette.neutralLighter,color:e.palette.neutralPrimary,padding:"0 4px",selectors:(a={},a[r.HighContrastSelector]={border:"none"},a)}],rootHovered:{backgroundColor:e.palette.neutralLight,color:e.palette.neutralDark},rootPressed:{backgroundColor:e.palette.neutralQuaternaryAlt,color:e.palette.black},rootChecked:{backgroundColor:e.palette.neutralQuaternaryAlt,color:e.palette.black},rootExpanded:{backgroundColor:e.palette.neutralQuaternaryAlt,color:e.palette.black},rootCheckedHovered:{backgroundColor:e.palette.neutralQuaternary,color:e.palette.black},splitButtonContainer:{selectors:(u={},u[r.HighContrastSelector]={border:"none"},u)},splitButtonDivider:{backgroundColor:e.palette.neutralTertiaryAlt,marginTop:4,marginBottom:4},splitButtonMenuButton:{backgroundColor:e.palette.neutralLighter,color:e.palette.neutralPrimary,selectors:{":hover":{backgroundColor:e.palette.neutralLight,color:e.palette.neutralDark,selectors:(l={},l[r.HighContrastSelector]={color:"Highlight"},l)}}},splitButtonMenuButtonDisabled:{backgroundColor:e.palette.neutralLighter,selectors:{":hover":{backgroundColor:e.palette.neutralLighter}}},splitButtonMenuButtonChecked:{backgroundColor:e.palette.neutralQuaternaryAlt,color:e.palette.black,selectors:{":hover":{backgroundColor:e.palette.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:e.palette.neutralQuaternaryAlt,color:e.palette.black,selectors:{":hover":{backgroundColor:e.palette.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:e.palette.neutralPrimary},splitButtonMenuIconDisabled:{color:e.palette.neutralTertiary},label:{fontWeight:"normal"},icon:{color:e.palette.themeDarkAlt},menuIcon:{color:e.palette.neutralSecondary}};return r.concatStyleSets(c,p,d,t)})},Cdli:function(e,t,n){"use strict";var r,o=n("4PY8"),i=n("9Qh4"),s=n("HEoz"),a=n("BqIt"),u=Object.defineProperty;r=e.exports=function(e){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e=String(e),a.call(this,e),u(this,"__length__",i("",e.length))},o&&o(r,a),delete r.prototype.constructor,r.prototype=Object.create(a.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&t<=56319?n+this.__list__[this.__nextIndex__++]:n})}),u(r.prototype,s.toStringTag,i("c","String Iterator"))},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),s=n("ne8i"),a=n("zRwo");e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,p=5==e||d,h=t||a;return function(t,a,f){for(var m,g,y=i(t),v=o(y),_=r(a,f,3),b=s(v.length),S=0,x=n?h(t,b):u?h(t,0):void 0;b>S;S++)if((p||S in v)&&(g=_(m=v[S],S,y),e))if(n)x[S]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:x.push(m)}else if(c)return!1;return d?-1:l||c?c:x}}},CyQl:function(e,t,n){"use strict";var r,o=n("pnHa"),i=n("NSes"),s=n("4PY8"),a=n("GpRL"),u=n("lq5y"),l=n("9Qh4"),c=n("yfwS"),d=n("HEoz"),p=n("NHMy"),h=n("w1Ht"),f=n("EZVN"),m=n("t3nS"),g=Function.prototype.call,y=Object.defineProperties,v=Object.getPrototypeOf;e.exports=r=function(){var e,t,n,o=arguments[0];if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");return n=m&&s&&Map!==r?s(new Map,v(this)):this,null!=o&&p(o),y(n,{__mapKeysData__:l("c",e=[]),__mapValuesData__:l("c",t=[])}),o?(h(o,function(n){var r=u(n)[0];n=n[1],-1===i.call(e,r)&&(e.push(r),t.push(n))},n),n):n},m&&(s&&s(r,Map),r.prototype=Object.create(Map.prototype,{constructor:l(r)})),c(y(r.prototype,{clear:l(function(){this.__mapKeysData__.length&&(o.call(this.__mapKeysData__),o.call(this.__mapValuesData__),this.emit("_clear"))}),delete:l(function(e){var t=i.call(this.__mapKeysData__,e);return-1!==t&&(this.__mapKeysData__.splice(t,1),this.__mapValuesData__.splice(t,1),this.emit("_delete",t,e),!0)}),entries:l(function(){return new f(this,"key+value")}),forEach:l(function(e){var t,n,r=arguments[1];for(a(e),n=(t=this.entries())._next();void 0!==n;)g.call(e,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=t._next()}),get:l(function(e){var t=i.call(this.__mapKeysData__,e);if(-1!==t)return this.__mapValuesData__[t]}),has:l(function(e){return-1!==i.call(this.__mapKeysData__,e)}),keys:l(function(){return new f(this,"key")}),set:l(function(e,t){var n,r=i.call(this.__mapKeysData__,e);return-1===r&&(r=this.__mapKeysData__.push(e)-1,n=!0),this.__mapValuesData__[r]=t,n&&this.emit("_add",r,e),this}),size:l.gs(function(){return this.__mapKeysData__.length}),values:l(function(){return new f(this,"value")}),toString:l(function(){return"[object Map]"})})),Object.defineProperty(r.prototype,d.iterator,l(function(){return this.entries()})),Object.defineProperty(r.prototype,d.toStringTag,l("c","Map"))},D2h3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("cDcd"),i=n("Hlgl"),s=n("NlB6"),a=n("uoCI"),u=function(e){function t(t){var n=e.call(this,t)||this;return n._warnDeprecations({targetPoint:"target",useTargetPoint:"target"}),n}return r.__extends(t,e),t.prototype.render=function(){var e=o.createElement(s.CalloutContent,r.__assign({},this.props));return this.props.doNotLayer?e:o.createElement(a.Layer,null,e)},t}(i.BaseComponent);t.Callout=u},D89h:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ");r.__exportStar(n("iePh"),t),r.__exportStar(n("NUVe"),t),r.__exportStar(n("7wWa"),t)},DCO0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("iRzo"),i=function(e){function t(t){var n=e.call(this,t)||this;return n._shouldUpdateComponentRef=!1,n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return r.__extends(t,e),t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e,e?this._hoisted=o.hoistMethods(this,e):this._hoisted&&o.unhoistMethods(this,this._hoisted)},t}(o.BaseComponent);t.BaseDecorator=i},DNiP:function(e,t,n){"use strict";var r=n("XKFU"),o=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},DZRq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("cDcd"),i=n("6jGb"),s=n("Hlgl"),a=n("pZGg"),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldUpdateComponentRef=!1,t}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return o.createElement(i.BaseButton,r.__assign({},this.props,{variantClassName:"ms-Button--icon",styles:a.getStyles(n,t),onRenderText:s.nullRender,onRenderDescription:s.nullRender}))},t=r.__decorate([s.customizable("IconButton",["theme"])],t)}(s.BaseComponent);t.IconButton=u},DrT7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("ggy3"),i="14s",s="2s",a="1";function u(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function l(e){return{opacity:1,borderWidth:e}}function c(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function d(e,t){return r.__assign({},u(e,t),{opacity:0})}t.PulsingBeaconAnimationStyles={continuousPulseAnimationDouble:function(e,t,n,r,i){return o.keyframes({"0%":u(e,n),"1.42%":l(i),"3.57%":{opacity:1},"7.14%":c(t,r),"8%":d(e,n),"29.99%":d(e,n),"30%":u(e,n),"31.42%":l(i),"33.57%":{opacity:1},"37.14%":c(t,r),"38%":d(e,n),"79.42%":d(e,n),79.43:u(e,n),81.85:l(i),83.42:{opacity:1},"87%":c(t,r),"100%":{}})},continuousPulseAnimationSingle:function(e,t,n,r,i){return o.keyframes({"0%":u(e,n),"14.2%":l(i),"35.7%":{opacity:1},"71.4%":c(t,r),"100%":{}})},createDefaultAnimation:function(e){return{animationName:e,animationIterationCount:a,animationDuration:i,animationDelay:s}}}},"Dx+s":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi");r.__exportStar(n("I83t"),t),r.__exportStar(n("o+dI"),t)},E7D7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("Vi1w"),t)},"EC+E":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("SPHF"),t)},ESbf:function(e,t,n){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EZVN:function(e,t,n){"use strict";var r,o=n("4PY8"),i=n("9Qh4"),s=n("BqIt"),a=n("HEoz").toStringTag,u=n("xoK8"),l=Object.defineProperties,c=s.prototype._unBind;r=e.exports=function(e,t){if(!(this instanceof r))return new r(e,t);s.call(this,e.__mapKeysData__,e),t&&u[t]||(t="key+value"),l(this,{__kind__:i("",t),__values__:i("w",e.__mapValuesData__)})},o&&o(r,s),r.prototype=Object.create(s.prototype,{constructor:i(r),_resolve:i(function(e){return"value"===this.__kind__?this.__values__[e]:"key"===this.__kind__?this.__list__[e]:[this.__list__[e],this.__values__[e]]}),_unBind:i(function(){this.__values__=null,c.call(this)}),toString:i(function(){return"[object Map Iterator]"})}),Object.defineProperty(r.prototype,a,i("c","Map Iterator"))},Ea3Q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Iwy9"),i=n("RGr6"),s=0,a=i.mergeStyles({overflow:"hidden !important"});t.DATA_IS_SCROLLABLE_ATTRIBUTE="data-is-scrollable",t.disableBodyScroll=function(){var e=o.getDocument();e&&e.body&&!s&&e.body.classList.add(a),s++},t.enableBodyScroll=function(){if(s>0){var e=o.getDocument();e&&e.body&&1===s&&e.body.classList.remove(a),s--}},t.getScrollbarWidth=function(){if(void 0===r){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),r=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return r},t.findScrollableParent=function(e){for(var n=e;n&&n!==document.body;){if("true"===n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE))return n;n=n.parentElement}for(n=e;n&&n!==document.body;){if("false"!==n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE)){var r=getComputedStyle(n),o=r?r.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return n}n=n.parentElement}return n&&n!==document.body||(n=window),n}},EvAo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobalClassNames=function(e,t){return t.disableGlobalClassNames?{}:e}},F0JN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("zHyq");t.extractStyleParts=function(){for(var e=[],t=0;t=0)e(a.split(" "));else{var u=i.argsFromClassName(a);u?e(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&o.push(a)}}(e),{classes:n,objects:o}}},FEKS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web"}(r=t.LocalizedFontNames||(t.LocalizedFontNames={})),function(e){e.Arabic="'"+r.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+r.Cyrillic+"'",e.EastEuropean="'"+r.EastEuropean+"'",e.Greek="'"+r.Greek+"'",e.Hebrew="'"+r.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+r.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+r.Vietnamese+"'",e.WestEuropean="'"+r.WestEuropean+"'"}(o=t.LocalizedFontFamilies||(t.LocalizedFontFamilies={}));var s,a,u="'Segoe UI', '"+r.WestEuropean+"'",l={ar:o.Arabic,bg:o.Cyrillic,cs:o.EastEuropean,el:o.Greek,et:o.EastEuropean,he:o.Hebrew,hi:o.Hindi,hr:o.EastEuropean,hu:o.EastEuropean,ja:o.Japanese,kk:o.EastEuropean,ko:o.Korean,lt:o.EastEuropean,lv:o.EastEuropean,pl:o.EastEuropean,ru:o.Cyrillic,sk:o.EastEuropean,"sr-latn":o.EastEuropean,th:o.Thai,tr:o.EastEuropean,uk:o.Cyrillic,vi:o.Vietnamese,"zh-hans":o.ChineseSimplified,"zh-hant":o.ChineseTraditional};function c(e){return e+", "+i}function d(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="11px",e.small="12px",e.smallPlus="13px",e.medium="14px",e.mediumPlus="15px",e.icon="16px",e.large="17px",e.xLarge="21px",e.xxLarge="28px",e.superLarge="42px",e.mega="72px"}(s=t.FontSizes||(t.FontSizes={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(a=t.FontWeights||(t.FontWeights={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(t.IconFontSizes||(t.IconFontSizes={})),t.createFontStyles=function(e){var t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&e&&0===t.indexOf(e))return l[t];return u}(e),n=c(t),r=n;return t===u&&(r=c(o.WestEuropean)),{tiny:d(s.mini,a.semibold,n),xSmall:d(s.xSmall,a.regular,n),small:d(s.small,a.regular,n),smallPlus:d(s.smallPlus,a.regular,n),medium:d(s.medium,a.regular,n),mediumPlus:d(s.mediumPlus,a.regular,n),large:d(s.large,a.semilight,r),xLarge:d(s.xLarge,a.light,n),xxLarge:d(s.xxLarge,a.light,n),superLarge:d(s.superLarge,a.light,n),mega:d(s.mega,a.light,n)}}},FFpV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("Y8by"),s=n("IsBh"),a=n("Sl+4"),u=n("jALF"),l=n("o2Ng"),c=function(e){function t(n,r){var o=e.call(this,n,r)||this;return u.initializeFocusRects(),l.initializeDir(),o._shouldUpdateComponentRef=!0,function(e,t,n){for(var r=0,o=n.length;r1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.Async(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new s.EventGroup(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),this._shouldUpdateComponentRef&&(!e&&t.componentRef||e&&e.componentRef!==t.componentRef)&&(e&&e.componentRef&&e.componentRef(null),t.componentRef&&t.componentRef(this))},t.prototype._warnDeprecations=function(e){a.warnDeprecations(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){a.warnMutuallyExclusive(this.className,this.props,e)},t.prototype._warnConditionallyRequiredProps=function(e,t,n){a.warnConditionallyRequiredProps(this.className,this.props,e,t,n)},t}(o.Component);function d(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){var e;return o&&(e=o.apply(this,arguments)),r!==o&&(e=r.apply(this,arguments)),e})}t.BaseComponent=c,t.nullRender=function(){return null}},FGNF:function(e,t,n){(e.exports=n("6ocw")(!1)).push([e.i,".errorMessage_7ca6e9f6{font-size:12px;font-weight:400;color:#a80000;margin:0;padding-top:5px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.errorIcon_7ca6e9f6{font-size:14px;margin-right:5px}",""])},FHnq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("yyay");t.default={webPartHeader:"webPartHeader_5e1bf371",webPartTitle:"webPartTitle_5e1bf371",moreLink:"moreLink_5e1bf371"}},FIUR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("/EXG"),o=n("JOBJ");t.fontFace=function(e){r.Stylesheet.getInstance().insertRule("@font-face{"+o.serializeRuleEntries(e)+"}")}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,u=0;a>u;)r.f(e,n=s[u++],t[n]);return e}},FKvE:function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"FM/B":function(e,t,n){"use strict";e.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},FQnb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("D89h"),t)},Fa1i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8tWw"),o={fontFamily:"inherit"},i={root:"ms-Fabric"};t.getStyles=function(e){var t=e.theme,n=e.className,s=e.isFocusVisible;return{root:[r.getGlobalClassNames(i,t).root,s&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":o,"& input":o,"& textarea":o,":global(button)":{overflow:"visible",margin:0}}},n]}}},FmHk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("RGr6"),o="cubic-bezier(.1,.9,.2,1)",i="cubic-bezier(.1,.25,.75,.9)",s=r.keyframes({from:{opacity:0},to:{opacity:1}}),a=r.keyframes({from:{opacity:1},to:{opacity:0}}),u=N(-10),l=N(-20),c=N(-40),d=N(-400),p=N(10),h=N(20),f=N(40),m=N(400),g=U(10),y=U(20),v=U(-10),_=U(-20),b=H(10),S=H(20),x=H(40),w=H(400),I=H(-10),P=H(-20),C=H(-40),E=H(-400),k=W(-10),T=W(-20),D=W(10),O=W(20),M=r.keyframes({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),F=r.keyframes({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),A=r.keyframes({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),B=r.keyframes({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),R=r.keyframes({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),j=r.keyframes({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}});function L(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function N(e){return r.keyframes({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function U(e){return r.keyframes({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function H(e){return r.keyframes({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function W(e){return r.keyframes({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}t.AnimationVariables={easeFunction1:o,easeFunction2:i,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},t.AnimationStyles={slideRightIn10:L(s+","+u,"0.367s",o),slideRightIn20:L(s+","+l,"0.367s",o),slideRightIn40:L(s+","+c,"0.367s",o),slideRightIn400:L(s+","+d,"0.367s",o),slideLeftIn10:L(s+","+p,"0.367s",o),slideLeftIn20:L(s+","+h,"0.367s",o),slideLeftIn40:L(s+","+f,"0.367s",o),slideLeftIn400:L(s+","+m,"0.367s",o),slideUpIn10:L(s+","+g,"0.367s",o),slideUpIn20:L(s+","+y,"0.367s",o),slideDownIn10:L(s+","+v,"0.367s",o),slideDownIn20:L(s+","+_,"0.367s",o),slideRightOut10:L(a+","+b,"0.367s",o),slideRightOut20:L(a+","+S,"0.367s",o),slideRightOut40:L(a+","+x,"0.367s",o),slideRightOut400:L(a+","+w,"0.367s",o),slideLeftOut10:L(a+","+I,"0.367s",o),slideLeftOut20:L(a+","+P,"0.367s",o),slideLeftOut40:L(a+","+C,"0.367s",o),slideLeftOut400:L(a+","+E,"0.367s",o),slideUpOut10:L(a+","+k,"0.367s",o),slideUpOut20:L(a+","+T,"0.367s",o),slideDownOut10:L(a+","+D,"0.367s",o),slideDownOut20:L(a+","+O,"0.367s",o),scaleUpIn100:L(s+","+M,"0.367s",o),scaleDownIn100:L(s+","+A,"0.367s",o),scaleUpOut103:L(a+","+B,"0.167s",i),scaleDownOut98:L(a+","+F,"0.167s",i),fadeIn100:L(s,"0.167s",i),fadeIn200:L(s,"0.267s",i),fadeIn400:L(s,"0.367s",i),fadeIn500:L(s,"0.467s",i),fadeOut100:L(a,"0.167s",i),fadeOut200:L(a,"0.267s",i),fadeOut400:L(a,"0.367s",i),fadeOut500:L(a,"0.467s",i),rotate90deg:L(R,"0.1s",i),rotateN90deg:L(j,"0.1s",i)}},Fuyy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kebabRules=function(e,t){e[t]=e[t].replace(/([A-Z])/g,"-$1").toLowerCase()}},FwMN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.topLeftEdge=0]="topLeftEdge",e[e.topCenter=1]="topCenter",e[e.topRightEdge=2]="topRightEdge",e[e.topAutoEdge=3]="topAutoEdge",e[e.bottomLeftEdge=4]="bottomLeftEdge",e[e.bottomCenter=5]="bottomCenter",e[e.bottomRightEdge=6]="bottomRightEdge",e[e.bottomAutoEdge=7]="bottomAutoEdge",e[e.leftTopEdge=8]="leftTopEdge",e[e.leftCenter=9]="leftCenter",e[e.leftBottomEdge=10]="leftBottomEdge",e[e.rightTopEdge=11]="rightTopEdge",e[e.rightCenter=12]="rightCenter",e[e.rightBottomEdge=13]="rightBottomEdge"}(t.DirectionalHint||(t.DirectionalHint={}))},Fygh:function(e,t,n){"use strict";n.r(t);var r=n("cDcd"),o=n("faye"),i=n("UWqr"),s=n("br4S"),a=n("26ea"),u=n("zqEK"),l="00000000-0000-0000-0000-000000000000";function c(e){u.RuntimeConfig.assign(e)}var d=new(function(){function e(){}return Object.defineProperty(e.prototype,"headers",{get:function(){var e=u.RuntimeConfig.get("sp");return void 0!==e&&void 0!==e.headers?e.headers:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseUrl",{get:function(){var e=u.RuntimeConfig.get("sp");return void 0!==e&&void 0!==e.baseUrl?e.baseUrl:Object(u.objectDefinedNotNull)(u.RuntimeConfig.spfxContext)?u.RuntimeConfig.spfxContext.pageContext.web.absoluteUrl:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchClientFactory",{get:function(){var e=u.RuntimeConfig.get("sp");return void 0!==e&&void 0!==e.fetchClientFactory?e.fetchClientFactory:function(){return new u.FetchClient}},enumerable:!1,configurable:!0}),e}()),p=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t=""),this._options=e,this._baseUrl=t}return e.prototype.configure=function(t,n){return void 0===n&&(n=""),new e(t,n)},e.prototype.setup=function(e){e.pageContext?c({spfxContext:e}):c(e)},e}(),h=(new p,function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)});function f(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function m(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function g(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})}function y(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function b(){for(var e=[],t=0;t=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function k(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})}function T(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function O(){for(var e=[],t=0;t0?JSON.parse(e):{}}).then(function(e){return t(r.parseODataJSON(e))}).catch(function(e){return n(e)})},e.prototype.handleError=function(e,t){return e.ok||q.init(e).then(t),e.ok},e.prototype.parseODataJSON=function(e){var t=e;return Object(u.hOP)(e,"d")?t=Object(u.hOP)(e.d,"results")?e.d.results:e.d:Object(u.hOP)(e,"value")&&(t=e.value),t},e}(),W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.parseImpl=function(e,t){e.text().then(t)},t}(H),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.parseImpl=function(e,t){e.blob().then(t)},t}(H),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.parseImpl=function(e,t){e.json().then(t)},t}(H),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.parseImpl=function(e,t){Object(u.isFunc)(e.arrayBuffer)?e.arrayBuffer().then(t):e.buffer().then(t)},t}(H),q=(function(e){function t(t){var n=e.call(this)||this;return n.parser=t,n}C(t,e),t.prototype.parseImpl=function(e,t){this.parser(e).then(t)}}(H),function(e){function t(t,n,r,o){void 0===r&&(r=n.status),void 0===o&&(o=n.statusText);var i=e.call(this,t)||this;return i.response=n,i.status=r,i.statusText=o,i.isHttpRequestError=!0,i}return C(t,e),t.init=function(e){return k(this,void 0,void 0,function(){var n;return T(this,function(r){switch(r.label){case 0:return[4,e.clone().text()];case 1:return n=r.sent(),[2,new t("Error making HttpClient request in queryable ["+e.status+"] "+e.statusText+" ::> "+n,e.clone())]}})})},t}(Error));function G(e){var t;e.options&&e.options.body&&(t=e.options.body,e.options.body="-");var n=JSON.stringify(e,function(e,t){switch(e){case"query":return JSON.stringify(O(t));case"batch":case"batchDependency":case"cachingOptions":case"clientFactory":case"parser":return"-";default:return t}},0),r=JSON.parse(n,function(t,n){switch(t){case"query":return new Map(JSON.parse(n));case"batch":return e.batch;case"batchDependency":return e.batchDependency;case"cachingOptions":return e.cachingOptions;case"clientFactory":return e.clientFactory;case"parser":return e.parser;default:return n}});return t&&(r.options.body=t,e.options.body=t),r}var Z,Q=function(){function e(e){void 0===e&&(e={}),this._data=Object.assign({},{cloneParentWasCaching:!1,options:{},parentUrl:"",parser:new H,query:new Map,url:"",useCaching:!1},G(e))}return Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=Object.assign({},this.data,G(e))},enumerable:!1,configurable:!0}),e.prototype.toUrl=function(){return this.data.url},e.prototype.concat=function(e){return this.data.url+=e,this},Object.defineProperty(e.prototype,"query",{get:function(){return this.data.query},enumerable:!1,configurable:!0}),e.prototype.configure=function(e){return Object(u.mergeOptions)(this.data.options,e),this},e.prototype.configureFrom=function(e){return Object(u.mergeOptions)(this.data.options,e.data.options),this},e.prototype.usingCaching=function(e){return u.RuntimeConfig.globalCacheDisable||(this.data.useCaching=!0,void 0!==e&&(this.data.cachingOptions=e)),this},e.prototype.usingParser=function(e){return this.data.parser=e,this},e.prototype.withPipeline=function(e){return this.data.pipes=e.slice(0),this},e.prototype.append=function(e){this.data.url=Object(u.combine)(this.data.url,e)},e.prototype.inBatch=function(e){if(this.hasBatch)throw Error("This query is already part of a batch.");return Object(u.objectDefinedNotNull)(e)&&e.track(this),this},e.prototype.addBatchDependency=function(){return Object(u.objectDefinedNotNull)(this.data.batch)?this.data.batch.addDependency():function(){return null}},Object.defineProperty(e.prototype,"hasBatch",{get:function(){return Object(u.objectDefinedNotNull)(this.data.batch)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"batch",{get:function(){return this.hasBatch?this.data.batch:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentUrl",{get:function(){return this.data.parentUrl},enumerable:!1,configurable:!0}),e.prototype.cloneTo=function(e,t){return void 0===t&&(t={}),t=Object(u.assign)({includeBatch:!0,includeQuery:!1},t),e.data=Object.assign({},G(this.data),{batch:null,cloneParentCacheOptions:null,cloneParentWasCaching:!1},G(e.data)),e.configureFrom(this),t.includeBatch&&e.inBatch(this.batch),t.includeQuery&&this.query.size>0&&this.query.forEach(function(t,n){return e.query.set(n,t)}),this.data.useCaching&&(e.data.cloneParentWasCaching=!0,e.data.cloneParentCacheOptions=this.data.cachingOptions),e},e}(),X=function(){function e(){}return Object.defineProperty(e,"activeLogLevel",{get:function(){return e.instance.activeLogLevel},set:function(t){e.instance.activeLogLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"instance",{get:function(){return void 0!==e._instance&&null!==e._instance||(e._instance=new Y),e._instance},enumerable:!1,configurable:!0}),e.subscribe=function(){for(var t=[],n=0;n0?e.pipes.shift()(e):Promise.resolve(e)}function ee(e){if(e.pipes.length<1)throw X.write("["+e.requestId+"] ("+(new Date).getTime()+") Request pipeline contains no methods!",3),Error("Request pipeline contains no methods!");var t=$(e).then(function(e){return t=e,X.log({data:0===X.activeLogLevel?t.result:{},level:1,message:"["+t.requestId+"] ("+(new Date).getTime()+") Returning result from pipeline. Set logging to verbose to see data."}),Promise.resolve(t.result);var t}).catch(function(e){throw X.error(e),e});return e.isBatched&&e.batch.addResolveBatchDependency(t),t}function te(e){return void 0===e&&(e=!1),function(t,n,r){var o=r.value;r.value=function(){for(var r=[],i=0;i0&&Object(u.hOP)(r[0],"hasResult")&&r[0].hasResult?(X.write("["+r[0].requestId+"] ("+(new Date).getTime()+") Skipping request pipeline method "+n+", existing result in pipeline.",0),Promise.resolve(r[0])):(X.write("["+r[0].requestId+"] ("+(new Date).getTime()+") Calling request pipeline method "+n+".",0),o.apply(t,r).then(function(e){return $(e)}))}}}var ne=function(){function e(){}return e.logStart=function(e){return new Promise(function(t){X.log({data:1===X.activeLogLevel?{}:e,level:1,message:"["+e.requestId+"] ("+(new Date).getTime()+") Beginning "+e.method+" request ("+e.url+")"}),t(e)})},e.caching=function(e){return new Promise(function(t){if(e.useCaching){X.write("["+e.requestId+"] ("+(new Date).getTime()+") Caching is enabled for request, checking cache...",1);var n=new x(e.url.toLowerCase());if(void 0!==e.cachingOptions&&(n=Object(u.assign)(n,e.cachingOptions)),null!==n.store){var r=n.store.get(n.key);if(null!==r)return X.log({data:1===X.activeLogLevel?{}:r,level:1,message:"["+e.requestId+"] ("+(new Date).getTime()+") Value returned from cache."}),Object(u.isFunc)(e.batchDependency)&&e.batchDependency(),Object(u.hOP)(e.parser,"hydrate")&&(r=e.parser.hydrate(r)),J(e,r).then(function(e){return t(e)})}X.write("["+e.requestId+"] ("+(new Date).getTime()+") Value not found in cache.",1),e.parser=new w(e.parser,n)}return t(e)})},e.send=function(e){return new Promise(function(t,n){if(e.isBatched){var r=e.batch.add(e);Object(u.isFunc)(e.batchDependency)&&e.batchDependency(),X.write("["+e.requestId+"] ("+(new Date).getTime()+") Batching request in batch "+e.batch.batchId+".",1),t(J(e,r))}else{X.write("["+e.requestId+"] ("+(new Date).getTime()+") Sending request.",1);var o=e.clientFactory(),i=Object(u.assign)(e.options||{},{method:e.method});o.fetch(e.url,i).then(function(t){return e.parser.parse(t)}).then(function(t){return J(e,t)}).then(function(e){return t(e)}).catch(function(e){return n(e)})}})},e.logEnd=function(e){return new Promise(function(t){e.isBatched?X.log({data:1===X.activeLogLevel?{}:e,level:1,message:"["+e.requestId+"] ("+(new Date).getTime()+") "+e.method+" request will complete in batch "+e.batch.batchId+"."}):X.log({data:1===X.activeLogLevel?{}:e,level:1,message:"["+e.requestId+"] ("+(new Date).getTime()+") Completing "+e.method+" request."}),t(e)})},E([te(!0)],e,"logStart",null),E([te()],e,"caching",null),E([te()],e,"send",null),E([te(!0)],e,"logEnd",null),e}();var re,oe=(re=[ne.logStart,ne.caching,ne.send,ne.logEnd].slice(0),function(e){return function(t){return function(n){return ee(Object.assign({},{batch:null,batchDependency:null,batchIndex:-1,cachingOptions:null,clientFactory:e,cloneParentCacheOptions:null,cloneParentWasCaching:!1,hasResult:!1,isBatched:Object(u.objectDefinedNotNull)(n.batch),method:t,options:null,parentUrl:"",parser:new H,pipes:re.slice(0),query:new Map,requestId:Object(u.getGUID)(),url:"",useCaching:/^get$/i.test(n.method)&&n.useCaching},G(n)))}}});function ie(e,t){return Object.assign({body:Object(u.jsS)(e)},t)}function se(e,t){return Object.assign({headers:e},t)}function ae(e){return{__metadata:{type:e}}}function ue(e){if(Object(u.stringIsNullOrEmpty)(e))return"";var t=e.indexOf("_api/");return t<0&&(t=e.indexOf("_vti_bin/")),t>-1?e.substr(0,t):e}function le(e){return function(t,n,r){void 0===r&&(r=Object.getOwnPropertyDescriptor(t,n));var o=r.value;return r.value=function(){for(var t=[],n=0;n32&&(i=i.substr(0,32)),r.append("X-ClientService-ClientTag",i)),!(n=Object(u.assign)(n,{headers:r})).method||"GET"===n.method.toUpperCase()||r.has("X-RequestDigest")||r.has("Authorization")?[3,2]:[4,this._digestCache(ue(e))];case 1:s=a.sent(),r.append("X-RequestDigest",s),a.label=2;case 2:return[2,this.fetchRaw(e,n)]}})})},e.prototype.fetchRaw=function(e,t){var n=this;void 0===t&&(t={});var r=new Headers;Object(u.mergeHeaders)(r,t.headers),t=Object(u.assign)(t,{headers:r});var o=function(r){var i=function(e){var t;e.headers.has("Retry-After")?t=1e3*parseInt(e.headers.get("Retry-After"),10):(t=r.delay,r.delay*=2),r.attempts++,r.retryCount<=r.attempts?r.reject(Error("Retry count exceeded ("+r.retryCount+") for request. Response status: ["+e.status+"] "+e.statusText)):setTimeout(Object(u.getCtxCallback)(n,o,r),t)};n._impl.fetch(e,t).then(function(e){429===e.status?i(e):r.resolve(e)}).catch(function(e){503===e.status||504===e.status?i(e):r.reject(e)})};return new Promise(function(e,t){o.call(n,{attempts:0,delay:100,reject:t,resolve:e,retryCount:7})})},e.prototype.get=function(e,t){void 0===t&&(t={});var n=Object(u.assign)(t,{method:"GET"});return this.fetch(e,n)},e.prototype.post=function(e,t){void 0===t&&(t={});var n=Object(u.assign)(t,{method:"POST"});return this.fetch(e,n)},e.prototype.patch=function(e,t){void 0===t&&(t={});var n=Object(u.assign)(t,{method:"PATCH"});return this.fetch(e,n)},e.prototype.delete=function(e,t){void 0===t&&(t={});var n=Object(u.assign)(t,{method:"DELETE"});return this.fetch(e,n)},e}(),de=new Map;function pe(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){if(Object(u.isUrlAbsolute)(e))return[2,e];if(null!==d.baseUrl)return[2,Object(u.combine)(d.baseUrl,e)];if(void 0!==u.safeGlobal._spPageContextInfo){if(Object(u.hOP)(u.safeGlobal._spPageContextInfo,"webAbsoluteUrl"))return[2,Object(u.combine)(u.safeGlobal._spPageContextInfo.webAbsoluteUrl,e)];if(Object(u.hOP)(u.safeGlobal._spPageContextInfo,"webServerRelativeUrl"))return[2,Object(u.combine)(u.safeGlobal._spPageContextInfo.webServerRelativeUrl,e)]}return void 0!==u.safeGlobal.location&&(t=u.safeGlobal.location.toString().toLowerCase(),["/_layouts/","/siteassets/"].forEach(function(n){var r=t.indexOf(n);if(r>0)return Object(u.combine)(t.substr(0,r),e)})),[2,e]})})}var he=function(){return new ce},fe=function(e){var t=oe(he)(e);return function(e,n){return g(this,void 0,void 0,function(){var r,o,i;return y(this,function(s){switch(s.label){case 0:return r=G(e.data),o=Object(u.objectDefinedNotNull)(r.batch)?r.batch.addDependency():function(){},[4,pe(e.toUrlAndQuery())];case 1:return i=s.sent(),Object(u.mergeOptions)(r.options,n),[2,t(Object.assign({},r,{batchDependency:o,url:i}))]}})})}},me=function(e,t){return e.data.cloneParentWasCaching&&e.usingCaching(e.data.cloneParentCacheOptions),e._forceCaching&&(e.data.useCaching=!0),fe("GET")(e,t)},ge=function(e,t){return fe("POST")(e,t)},ye=function(e,t){var n=Object.assign(se({"X-HTTP-Method":"DELETE"}),t);return ge(e,n)},ve=function(e,t,n){void 0===n&&(n="*");var r=Object.assign(se({"X-HTTP-Method":"DELETE","IF-Match":n}),t);return ge(e,r)},_e=function(e){return U(e)},be=function(e){function t(t,n){var r=this,o="",i="",s=new Map;if("string"==typeof t)if(Object(u.isUrlAbsolute)(t)||t.lastIndexOf("/")<0)i=t,o=Object(u.combine)(t,n);else if(t.lastIndexOf("/")>t.lastIndexOf("(")){var a=t.lastIndexOf("/");i=t.slice(0,a),n=Object(u.combine)(t.slice(a),n),o=Object(u.combine)(i,n)}else{a=t.lastIndexOf("(");i=t.slice(0,a),o=Object(u.combine)(t,n)}else{i=t.toUrl(),o=Object(u.combine)(i,n||"");var l=t.query.get("@target");void 0!==l&&s.set("@target",l)}return r=e.call(this,{parentUrl:i,query:s,url:o})||this,"string"!=typeof t&&r.configureFrom(t),r._forceCaching=!1,r}return f(t,e),t.prototype.toUrlAndQuery=function(){var e=new Map(this.query),t=this.toUrl().replace(/'!(@.*?)::(.*?)'/gi,function(t,n,r){return X.write("Rewriting aliased parameter from match "+t+" to label: "+n+" value: "+r,0),e.set(n,"'"+r+"'"),n});if(e.size>0){var n=t.indexOf("?")>-1?"&":"?";t+=""+n+Array.from(e).map(function(e){return e[0]+"="+e[1]}).join("&")}return t},t.prototype.select=function(){for(var e=[],t=0;t0&&this.query.set("$select",e.map(encodeURIComponent).join(",")),this},t.prototype.get=function(e){return me(this,e)},t.prototype.expand=function(){for(var e=[],t=0;t0&&this.query.set("$expand",e.map(encodeURIComponent).join(",")),this},t.prototype.clone=function(t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!1);var i=e.prototype.cloneTo.call(this,t(this,n),{includeBatch:r,includeQuery:o});if(!o){var s="@target";this.query.has(s)&&i.query.set(s,this.query.get(s))}return i},t.prototype.defaultAction=function(e){return me(this,e)},t.prototype.getParent=function(e,t,n,r){void 0===t&&(t=this.parentUrl);var o=e(t,n).configureFrom(this),i="@target";return this.query.has(i)&&o.query.set(i,this.query.get(i)),void 0!==r&&(o=o.inBatch(r)),o},t}(Q),Se=_e(be),xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.filter=function(e){return this.query.set("$filter",encodeURIComponent(e)),this},t.prototype.orderBy=function(e,t){void 0===t&&(t=!0);var n="$orderby",r=this.query.has(n)?this.query.get(n).split(","):[];return r.push(encodeURIComponent(e)+" "+(t?"asc":"desc")),this.query.set(n,r.join(",")),this},t.prototype.skip=function(e){return this.query.set("$skip",e.toString()),this},t.prototype.top=function(e){return this.query.set("$top",e.toString()),this},t}(be),we=_e(xe),Ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype._update=function(e,t){var n=this;return function(r){return ge(le.configure(n,e+".Update"),{body:Object(u.jsS)(Object(u.assign)(ae(e),r)),headers:{"X-HTTP-Method":"MERGE"}}).then(function(e){return t(e,r)})}},t}(be),Pe=_e(Ie);function Ce(e){return function(){return ye(le.configure(this,e+".delete"))}}function Ee(e){return function(t){return void 0===t&&(t="*"),ve(le.configure(this,e+".delete"),{},t)}}function ke(e){return function(t){return function(t){function n(){for(var n=[],r=0;r1&&void 0!==n[1]?n[1]:e)||this}return f(n,t),n}(t)}}function Te(e){var t=[],n=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(Object(u.hOP)(e,n[0])&&"SP.Web"===e[n[0]])Object(u.hOP)(e,n[4])?t.push(e[n[4]]):Object(u.hOP)(e,n[2])&&t.push(e.__metadata.uri);else if(Object(u.hOP)(e,n[3])&&Object(u.hOP)(e,n[1])){var r=Object(u.isUrlAbsolute)(e[n[1]])?e[n[1]].split("_api")[1]:e[n[1]];t.push(ue(e[n[3]]),"_api",r)}else Object(u.hOP)(e,n[1])?t.push("_api",e[n[1]]):Object(u.hOP)(e,n[2])&&t.push(e.__metadata.uri);return t.length<1?(X.write("No uri information found in ODataEntity parsing, chaining will fail for this object.",2),""):u.combine.apply(void 0,b(t))}var De=function(e){function t(t){var n=e.call(this)||this;return n.factory=t,n.hydrate=function(e){var t=n.factory(Te(e),null);return Object(u.assign)(t,e)},n}return f(t,e),t.prototype.parse=function(t){var n=this;return e.prototype.parse.call(this,t).then(function(e){var t=n.factory(Te(e),null);return Object(u.assign)(t,e)})},t}(H);!function(e){function t(t){var n=e.call(this)||this;return n.factory=t,n.hydrate=function(e){return e.map(function(e){var t=n.factory(Te(e),null);return Object(u.assign)(t,e)})},n}f(t,e),t.prototype.parse=function(t){var n=this;return e.prototype.parse.call(this,t).then(function(e){return e.map(function(e){var t=n.factory(Te(e),null);return Object(u.assign)(t,e)})})}}(H);var Oe=function(e){function t(t){var n=e.call(this)||this;return n.baseUrl=t,n}return f(t,e),t.ParseResponse=function(e){for(var t,n,r=[],o=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),i=e.split("\n"),s="batch",a=0;a0&&(r.push("--changeset_"+o+"--\n\n"),o=""),r.push("--batch_"+this.batchId+"\n")):(o.length<1&&(o=Object(u.getGUID)(),r.push("--batch_"+this.batchId+"\n"),r.push('Content-Type: multipart/mixed; boundary="changeset_'+o+'"\n\n')),r.push("--changeset_"+o+"\n")),r.push("Content-Type: application/http\n"),r.push("Content-Transfer-Encoding: binary\n\n"),a=new Headers,l=Object(u.isUrlAbsolute)(s.url)?s.url:Object(u.combine)(n,s.url),X.write("["+this.batchId+"] ("+(new Date).getTime()+") Adding request "+s.method+" "+l+" to batch.",0),"GET"!==s.method?(c=s.method,p=s.options.headers,Object(u.hOP)(s,"options")&&Object(u.hOP)(s.options,"headers")&&void 0!==p["X-HTTP-Method"]&&(c=p["X-HTTP-Method"],delete p["X-HTTP-Method"]),r.push(c+" "+l+" HTTP/1.1\n"),a.set("Content-Type","application/json;odata=verbose;charset=utf-8")):r.push(s.method+" "+l+" HTTP/1.1\n"),Object(u.mergeHeaders)(a,d.headers),s.options&&Object(u.mergeHeaders)(a,s.options.headers),a.has("Accept")||a.append("Accept","application/json"),a.has("Content-Type")||a.append("Content-Type","application/json;odata=verbose;charset=utf-8"),a.has("X-ClientService-ClientTag")||a.append("X-ClientService-ClientTag","PnPCoreJS:@pnp-2.0.10:batch"),a.forEach(function(e,t){r.push(t+": "+e+"\n")}),r.push("\n"),s.options.body&&r.push(s.options.body+"\n\n");return o.length>0&&(r.push("--changeset_"+o+"--\n\n"),o=""),r.push("--batch_"+this.batchId+"--\n"),h={body:r.join(""),headers:{"Content-Type":"multipart/mixed; boundary=batch_"+this.batchId},method:"POST"},X.write("["+this.batchId+"] ("+(new Date).getTime()+") Sending batch request.",1),[4,e.fetch(Object(u.combine)(n,"/_api/$batch"),h)];case 2:return(f=b.sent()).ok?[3,4]:[4,q.init(f)];case 3:throw b.sent();case 4:return[4,f.clone().text()];case 5:if(m=b.sent(),(v=t.ParseResponse(m)).length!==this.requests.length)throw Error("Could not properly parse responses to match requests in batch.");return X.write("["+this.batchId+"] ("+(new Date).getTime()+") Resolving batched requests.",1),[2,v.reduce(function(e,t,n){return e.then(function(e){return g(_,void 0,void 0,function(){var e,r,o,i;return y(this,function(s){switch(s.label){case 0:e=this.requests[n],X.write("["+e.id+"] ("+(new Date).getTime()+") Resolving request in batch "+this.batchId+".",1),s.label=1;case 1:return s.trys.push([1,3,,4]),o=(r=e).resolve,[4,e.parser.parse(t)];case 2:return o.apply(r,[s.sent()]),[3,4];case 3:return i=s.sent(),e.reject(i),[3,4];case 4:return[2]}})})})},Promise.resolve(void 0))]}})})},t}(S);function Me(e){return Object(u.stringIsNullOrEmpty)(e)?"":/!(@.*?)::(.*?)/gi.test(e)?e.replace(/!(@.*?)::(.*)$/gi,function(e,t,n){return X.write("Rewriting aliased parameter from match "+e+" to label: "+t+" value: "+n,0),"!"+t+"::"+encodeURIComponent(n.replace(/\'/gi,"''"))}):encodeURIComponent(e.replace(/\'/gi,"''"))}var Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"rootWeb",{get:function(){return le.configure(je(this,"rootweb"),"si.rootWeb")},enumerable:!1,configurable:!0}),t.prototype.getRootWeb=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.rootWeb.select("Url")()];case 1:return e=t.sent(),[2,le.configure(je(e.Url),"si.getRootWeb")]}})})},t.prototype.getContextInfo=function(){return g(this,void 0,void 0,function(){var e,t,n;return y(this,function(r){switch(r.label){case 0:return e=le.configure(Ae(this.parentUrl,"_api/contextinfo"),"si.getContextInfo"),[4,ge(e)];case 1:return t=r.sent(),Object(u.hOP)(t,"GetContextWebInformation")?((n=t.GetContextWebInformation).SupportedSchemaVersions=n.SupportedSchemaVersions.results,[2,n]):[2,t]}})})},t.prototype.createBatch=function(){return new Oe(this.parentUrl)},t.prototype.delete=function(){return g(this,void 0,void 0,function(){var e,t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(Ae,"").select("Id")()];case 1:return e=n.sent(),t=le.configure(Ae(this.parentUrl,"_api/SPSiteManager/Delete"),"si.delete"),[4,ge(t,ie({siteId:e.Id}))];case 2:return n.sent(),[2]}})})},t.prototype.getDocumentLibraries=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return(t=le.configure(Se("","_api/sp.web.getdocumentlibraries(@v)"),"si.getDocumentLibraries")).query.set("@v","'"+Me(e)+"'"),[4,t()];case 1:return n=r.sent(),[2,Object(u.hOP)(n,"GetDocumentLibraries")?n.GetDocumentLibraries:n]}})})},t.prototype.getWebUrlFromPageUrl=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return(t=le.configure(Se("","_api/sp.web.getweburlfrompageurl(@v)"),"si.getWebUrlFromPageUrl")).query.set("@v","'"+Me(e)+"'"),[4,t()];case 1:return n=r.sent(),[2,Object(u.hOP)(n,"GetWebUrlFromPageUrl")?n.GetWebUrlFromPageUrl:n]}})})},t.prototype.getChanges=function(e){var t=ie({query:Object(u.assign)(ae("SP.ChangeQuery"),e)});return ge(this.clone(je,"getchanges"),t)},t.prototype.openWebById=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Ae,"openWebById('"+e+"')"))];case 1:return[2,{data:t=n.sent(),web:je(ue(Te(t)))}]}})})},t.prototype.createCommunicationSite=function(e,t,n,r,o,i,s,a,u){return void 0===t&&(t=1033),void 0===n&&(n=!1),g(this,void 0,void 0,function(){return y(this,function(l){return[2,this.createCommunicationSiteFromProps({Classification:i,Description:o,HubSiteId:a,Lcid:t,Owner:u,ShareByEmailEnabled:n,SiteDesignId:s,Title:e,Url:r})]})})},t.prototype.createCommunicationSiteFromProps=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){return t=Object.assign({},{Classification:"",Description:"",HubSiteId:l,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:l,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:l},e),n=ie({request:Object(u.assign)(ae("Microsoft.SharePoint.Portal.SPSiteCreationRequest"),t)}),[2,ge(Ae(ue(this.toUrl()),"/_api/SPSiteManager/Create"),n)]})})},t.prototype.exists=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return t=ie({url:e}),[4,ge(Ae(ue(this.toUrl()),"/_api/SP.Site.Exists"),t)];case 1:return[2,n.sent()]}})})},t.prototype.createModernTeamSite=function(e,t,n,r,o,i,s,a,u){return g(this,void 0,void 0,function(){return y(this,function(l){return[2,this.createModernTeamSiteFromProps({alias:t,classification:i,description:o,displayName:e,hubSiteId:a,isPublic:n,lcid:r,owners:s,siteDesignId:u})]})})},t.prototype.createModernTeamSiteFromProps=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){return t=Object.assign({},{classification:"",description:"",hubSiteId:l,isPublic:!0,lcid:1033,owners:[]},e),n={alias:t.alias,displayName:t.displayName,isPublic:t.isPublic,optionalParams:{Classification:t.classification,CreationOptions:{results:["SPSiteLanguage:"+t.lcid,"HubSiteId:"+t.hubSiteId]},Description:t.description,Owners:{results:t.owners}}},t.siteDesignId&&n.optionalParams.CreationOptions.results.push("implicit_formula_292aa8a00786498a87a5ca52d9f4214a_"+t.siteDesignId),[2,ge(Ae(ue(this.toUrl()),"/_api/GroupSiteManager/CreateGroupEx"),ie(n))]})})},m([le("si.getChanges")],t.prototype,"getChanges",null),m([le("si.openWebById")],t.prototype,"openWebById",null),t=m([ke("_api/site")],t)}(Ie),Ae=_e(Fe);Reflect.defineProperty(p.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return Ae(this._baseUrl).configure(this._options)}});var Be=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.add=function(e,t,n,r,o,i){return void 0===n&&(n=""),void 0===r&&(r="STS"),void 0===o&&(o=1033),void 0===i&&(i=!0),g(this,void 0,void 0,function(){var s,a;return y(this,function(l){switch(l.label){case 0:return s=ie({parameters:Object(u.assign)(ae("SP.WebCreationInformation"),{Description:n,Language:o,Title:e,Url:t,UseSamePermissionsAsParentSite:i,WebTemplate:r})}),[4,ge(this.clone(Be,"add"),s)];case 1:return[2,{data:a=l.sent(),web:je(Te(a).replace(/_api\/web\/?/i,""))}]}})})},m([le("ws.add")],t.prototype,"add",null),t=m([ke("webs")],t)}(xe)),Re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("w"),t}return f(t,e),Object.defineProperty(t.prototype,"webs",{get:function(){return Be(this)},enumerable:!1,configurable:!0}),t.prototype.getParentWeb=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,me(this.select("ParentWeb/Id").expand("ParentWeb"))];case 1:return[2,(null==(e=t.sent().ParentWeb)?void 0:e.Id)?Ae(this.parentUrl).openWebById(e.Id):null]}})})},t.prototype.getSubwebsFilteredForCurrentUser=function(e,t){void 0===e&&(e=-1),void 0===t&&(t=-1);var n=this.clone(Be,"getSubwebsFilteredForCurrentUser(nWebTemplateFilter="+e+",nConfigurationFilter="+t+")");return le.configure(n,"w.getSubwebsFilteredForCurrentUser")},Object.defineProperty(t.prototype,"allProperties",{get:function(){return le.configure(this.clone(Pe,"allproperties"),"w.allprops")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"webinfos",{get:function(){return le.configure(we(this,"webinfos"),"w.webinfos")},enumerable:!1,configurable:!0}),t.prototype.createBatch=function(){return new Oe(this.parentUrl)},t.prototype.update=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return t=ie(Object(u.assign)(ae("SP.Web"),e),se({"X-HTTP-Method":"MERGE"})),[4,ge(this,t)];case 1:return[2,{data:n.sent(),web:this}]}})})},t.prototype.applyTheme=function(e,t,n,r){var o=ie({backgroundImageUrl:n,colorPaletteUrl:e,fontSchemeUrl:t,shareGenerated:r});return ge(this.clone(je,"applytheme"),o)},t.prototype.applyWebTemplate=function(e){var t=this.clone(je,"applywebtemplate");return t.concat("(webTemplate='"+Me(e)+"')"),ge(t)},t.prototype.availableWebTemplates=function(e,t){void 0===e&&(e=1033),void 0===t&&(t=!0);var n="getavailablewebtemplates(lcid="+e+", doincludecrosslanguage="+t+")";return le.configure(we(this,n),"w.availableWebTemplates")},t.prototype.getChanges=function(e){var t=ie({query:Object(u.assign)(ae("SP.ChangeQuery"),e)});return ge(this.clone(je,"getchanges"),t)},t.prototype.mapToIcon=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=""),me(this.clone(je,"maptoicon(filename='"+Me(e)+"', progid='"+Me(n)+"', size="+t+")"))},t.prototype.getStorageEntity=function(e){return me(this.clone(je,"getStorageEntity('"+Me(e)+"')"))},t.prototype.setStorageEntity=function(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),ge(this.clone(je,"setStorageEntity"),ie({comments:r,description:n,key:e,value:t}))},t.prototype.removeStorageEntity=function(e){return ge(this.clone(je,"removeStorageEntity('"+Me(e)+"')"))},m([le("w.getParentWeb")],t.prototype,"getParentWeb",null),m([le("w.update")],t.prototype,"update",null),m([le("w.applyTheme")],t.prototype,"applyTheme",null),m([le("w.applyWebTemplate")],t.prototype,"applyWebTemplate",null),m([le("w.getChanges")],t.prototype,"getChanges",null),m([le("w.mapToIcon")],t.prototype,"mapToIcon",null),m([le("w.getStorageEntity")],t.prototype,"getStorageEntity",null),m([le("w.setStorageEntity")],t.prototype,"setStorageEntity",null),m([le("w.removeStorageEntity")],t.prototype,"removeStorageEntity",null),t=m([ke("_api/web")],t)}(Ie),je=_e(Re);function Le(e){return{DecodedUrl:e,__metadata:{type:"SP.ResourcePath"}}}var Ne,Ue,He=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(ze(this).concat("('"+e+"')"),"ls.getById")},t.prototype.getByTitle=function(e){return le.configure(ze(this,"getByTitle('"+Me(e)+"')"),"ls.getByTitle")},t.prototype.add=function(e,t,n,r,o){return void 0===t&&(t=""),void 0===n&&(n=100),void 0===r&&(r=!1),void 0===o&&(o={}),g(this,void 0,void 0,function(){var i;return y(this,function(s){switch(s.label){case 0:return i=Object.assign({AllowContentTypes:r,BaseTemplate:n,ContentTypesEnabled:r,Description:t,Title:e},ae("SP.List"),o),[4,ge(this,ie(i))];case 1:return[2,{data:s.sent(),list:this.getByTitle(i.Title)}]}})})},t.prototype.ensure=function(e,t,n,r,o){return void 0===t&&(t=""),void 0===n&&(n=100),void 0===r&&(r=!1),void 0===o&&(o={}),g(this,void 0,void 0,function(){var i,s;return y(this,function(a){switch(a.label){case 0:if(this.hasBatch)throw Error("The ensure list method is not supported for use in a batch.");i=Object(u.assign)(o,{Title:e,Description:t,ContentTypesEnabled:r},!0),s=this.getByTitle(i.Title),a.label=1;case 1:return a.trys.push([1,4,,6]),[4,s.select("Title")()];case 2:return a.sent(),[4,s.update(i).then(function(e){return e.data})];case 3:return[2,{created:!1,data:a.sent(),list:this.getByTitle(i.Title)}];case 4:return a.sent(),[4,this.add(e,t,n,r,i).then(function(e){return e.data})];case 5:return[2,{created:!0,data:a.sent(),list:this.getByTitle(i.Title)}];case 6:return[2]}})})},t.prototype.ensureSiteAssetsLibrary=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(He,"ensuresiteassetslibrary"))];case 1:return e=t.sent(),[2,ze(Te(e))]}})})},t.prototype.ensureSitePagesLibrary=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(He,"ensuresitepageslibrary"))];case 1:return e=t.sent(),[2,ze(Te(e))]}})})},m([le("ls.add")],t.prototype,"add",null),m([le("ls.ensure")],t.prototype,"ensure",null),m([le("ls.ensureSiteAssetsLibrary")],t.prototype,"ensureSiteAssetsLibrary",null),m([le("ls.ensureSitePagesLibrary")],t.prototype,"ensureSitePagesLibrary",null),t=m([ke("lists")],t)}(xe)),We=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ee("l"),t}return f(t,e),Object.defineProperty(t.prototype,"effectiveBasePermissions",{get:function(){return le.configure(Se(this,"EffectiveBasePermissions"),"l.effectiveBasePermissions")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"eventReceivers",{get:function(){return le.configure(we(this,"EventReceivers"),"l.eventReceivers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedFields",{get:function(){return le.configure(Se(this,"getRelatedFields"),"l.relatedFields")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"informationRightsManagementSettings",{get:function(){return le.configure(Se(this,"InformationRightsManagementSettings"),"l.informationRightsManagementSettings")},enumerable:!1,configurable:!0}),t.prototype.update=function(e,t){return void 0===t&&(t="*"),g(this,void 0,void 0,function(){var n,r,o;return y(this,function(i){switch(i.label){case 0:return n=ie(Object(u.assign)(ae("SP.List"),e),se({"IF-Match":t,"X-HTTP-Method":"MERGE"})),[4,ge(this,n)];case 1:return r=i.sent(),o=this,Object(u.hOP)(e,"Title")&&(o=this.getParent(ze,this.parentUrl,"getByTitle('"+e.Title+"')")),[2,{data:r,list:o}]}})})},t.prototype.getChanges=function(e){return ge(this.clone(ze,"getchanges"),ie({query:Object(u.assign)(ae("SP.ChangeQuery"),e)}))},t.prototype.getItemsByCAMLQuery=function(e){for(var t=[],n=1;n0},enumerable:!1,configurable:!0}),e.prototype.getNext=function(){return this.hasNext?le.configure(Ke(this.nextUrl,null).configureFrom(this.parent),"ip.getNext").getPaged():new Promise(function(e){return e(null)})},e}(),Xe=function(e){function t(t){var n=e.call(this)||this;return n._parent=t,n}return f(t,e),t.prototype.parse=function(e){var t=this;return new Promise(function(n,r){t.handleError(e,r)&&e.json().then(function(e){var r=Object(u.hOP)(e,"d")&&Object(u.hOP)(e.d,"__next")?e.d.__next:e["odata.nextLink"];n(new Qe(t._parent,r,t.parseODataJSON(e)))})})},t}(H),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.parse=function(e){var t=this;return new Promise(function(n,r){t.handleError(e,r)&&n({"odata.etag":e.headers.get("etag")})})},t}(H);I(We,"items",Ke);var Je,$e,et,tt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getByName=function(e){if(/\%#/.test(e))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return le.configure(rt(this).concat("('"+Me(e)+"')"),"fis.getByName")},t.prototype.add=function(e,t,n){return void 0===n&&(n=!0),g(this,void 0,void 0,function(){return y(this,function(r){switch(r.label){case 0:return[4,ge(tt(this,"add(overwrite="+n+",url='"+Me(e)+"')"),{body:t})];case 1:return[2,{data:r.sent(),file:this.getByName(e)}]}})})},t.prototype.addUsingPath=function(e,t,n){return void 0===n&&(n={Overwrite:!1}),g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=["AddUsingPath(decodedurl='"+Me(e)+"'"],n&&(n.Overwrite&&r.push(",Overwrite=true"),n.AutoCheckoutOnInvalidData&&r.push(",AutoCheckoutOnInvalidData=true"),Object(u.stringIsNullOrEmpty)(n.XorHash)||r.push(",XorHash="+Me(n.XorHash))),r.push(")"),[4,ge(tt(this,r.join("")),{body:t})];case 1:return[2,{data:o=i.sent(),file:rt(Te(o))}]}})})},t.prototype.addChunked=function(e,t,n,r,o){return void 0===r&&(r=!0),void 0===o&&(o=10485760),g(this,void 0,void 0,function(){return y(this,function(i){switch(i.label){case 0:return[4,ge(this.clone(tt,"add(overwrite="+r+",url='"+Me(e)+"')",!1))];case 1:return i.sent(),[4,this.getByName(e).setContentChunked(t,n,o)];case 2:return[2,i.sent()]}})})},t.prototype.addTemplateFile=function(e,t){return g(this,void 0,void 0,function(){var n;return y(this,function(r){switch(r.label){case 0:return[4,ge(this.clone(tt,"addTemplateFile(urloffile='"+Me(e)+"',templatefiletype="+t+")",!1))];case 1:return[2,{data:n=r.sent(),file:rt(Te(n))}]}})})},m([le("fis.add")],t.prototype,"add",null),m([le("fis.addUsingPath")],t.prototype,"addUsingPath",null),m([le("fis.addChunked")],t.prototype,"addChunked",null),m([le("fis.addTemplateFile")],t.prototype,"addTemplateFile",null),t=m([ke("files")],t)}(xe)),nt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ee("fi"),t}return f(t,e),Object.defineProperty(t.prototype,"listItemAllFields",{get:function(){return le.configure(Pe(this,"listItemAllFields"),"fi.listItemAllFields")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"versions",{get:function(){return le.configure(ot(this),"fi.versions")},enumerable:!1,configurable:!0}),t.prototype.approve=function(e){return void 0===e&&(e=""),ge(this.clone(rt,"approve(comment='"+Me(e)+"')"))},t.prototype.cancelUpload=function(e){return ge(this.clone(rt,"cancelUpload(uploadId=guid'"+e+"')",!1))},t.prototype.checkin=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=Je.Major),e.length>1023)throw Error("The maximum comment length is 1023 characters.");return ge(this.clone(rt,"checkin(comment='"+Me(e)+"',checkintype="+t+")"))},t.prototype.checkout=function(){return ge(this.clone(rt,"checkout"))},t.prototype.copyTo=function(e,t){return void 0===t&&(t=!0),ge(this.clone(rt,"copyTo(strnewurl='"+Me(e)+"',boverwrite="+t+")"))},t.prototype.copyByPath=function(e,t,n){return void 0===n&&(n=!1),g(this,void 0,void 0,function(){var r,o,i,s,a;return y(this,function(l){switch(l.label){case 0:return[4,this.select("ServerRelativeUrl")()];case 1:return r=l.sent(),o=r.ServerRelativeUrl,i=r["odata.id"],s=ue(i),a=s.replace("://","___").split("/")[0].replace("___","://"),[4,ge(rt(s,"/_api/SP.MoveCopyUtil.CopyFileByPath(overwrite=@a1)?@a1="+t),ie({destPath:Le(Object(u.isUrlAbsolute)(e)?e:""+a+e),options:{KeepBoth:n,ResetAuthorAndCreatedOnCopy:!0,ShouldBypassSharedLocks:!0,__metadata:{type:"SP.MoveCopyOptions"}},srcPath:Le(Object(u.isUrlAbsolute)(o)?o:""+a+o)}))];case 2:return l.sent(),[2]}})})},t.prototype.deny=function(e){if(void 0===e&&(e=""),e.length>1023)throw Error("The maximum comment length is 1023 characters.");return ge(this.clone(rt,"deny(comment='"+Me(e)+"')"))},t.prototype.moveTo=function(e,t){return void 0===t&&(t=$e.Overwrite),ge(this.clone(rt,"moveTo(newurl='"+Me(e)+"',flags="+t+")"))},t.prototype.moveByPath=function(e,t,n){return void 0===n&&(n=!1),g(this,void 0,void 0,function(){var r,o,i,s,a;return y(this,function(l){switch(l.label){case 0:return[4,this.select("ServerRelativeUrl")()];case 1:return r=l.sent(),o=r.ServerRelativeUrl,i=r["odata.id"],s=ue(i),a=s.replace("://","___").split("/")[0].replace("___","://"),[4,ge(rt(s,"/_api/SP.MoveCopyUtil.MoveFileByPath(overwrite=@a1)?@a1="+t),ie({destPath:Le(Object(u.isUrlAbsolute)(e)?e:""+a+e),options:{KeepBoth:n,ResetAuthorAndCreatedOnCopy:!1,ShouldBypassSharedLocks:!0,__metadata:{type:"SP.MoveCopyOptions"}},srcPath:Le(Object(u.isUrlAbsolute)(o)?o:""+a+o)}))];case 2:return l.sent(),[2]}})})},t.prototype.publish=function(e){if(void 0===e&&(e=""),e.length>1023)throw Error("The maximum comment length is 1023 characters.");return ge(this.clone(rt,"publish(comment='"+Me(e)+"')"))},t.prototype.recycle=function(){return ge(this.clone(rt,"recycle"))},t.prototype.deleteWithParams=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){return[2,ge(this.clone(rt,"DeleteWithParameters"),ie({parameters:e}))]})})},t.prototype.undoCheckout=function(){return ge(this.clone(rt,"undoCheckout"))},t.prototype.unpublish=function(e){if(void 0===e&&(e=""),e.length>1023)throw Error("The maximum comment length is 1023 characters.");return ge(this.clone(rt,"unpublish(comment='"+Me(e)+"')"))},t.prototype.exists=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.clone(rt).select("Exists")()];case 1:return[2,e.sent().Exists];case 2:return e.sent(),[2,!1];case 3:return[2]}})})},t.prototype.getText=function(){return this.clone(rt,"$value",!1).usingParser(new W)(se({binaryStringResponseBody:"true"}))},t.prototype.getBlob=function(){return this.clone(rt,"$value",!1).usingParser(new z)(se({binaryStringResponseBody:"true"}))},t.prototype.getBuffer=function(){return this.clone(rt,"$value",!1).usingParser(new V)(se({binaryStringResponseBody:"true"}))},t.prototype.getJSON=function(){return this.clone(rt,"$value",!1).usingParser(new K)(se({binaryStringResponseBody:"true"}))},t.prototype.setContent=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(rt,"$value",!1),{body:e,headers:{"X-HTTP-Method":"PUT"}})];case 1:return t.sent(),[2,rt(this)]}})})},t.prototype.getItem=function(){for(var e=[],t=0;t0))throw Error("Did not find the app with id "+e+" in the appcatalog.");n=s[0].Id,u.label=4;case 4:return a=le.configure(st(r,"_api/web/tenantappcatalog/SyncSolutionToTeams(id="+n+")"),"ac.syncSolutionToTeams"),[4,ge(a,{})];case 5:return[2,u.sent()]}})})},t.prototype.add=function(e,t,n){return void 0===n&&(n=!0),g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=le.configure(st(ue(this.toUrl()),"_api/web/tenantappcatalog/add(overwrite="+n+",url='"+e+"')"),"ac.add"),[4,ge(r,{body:t,headers:{binaryStringRequestBody:"true"}})];case 1:return[2,{data:o=i.sent(),file:rt(Te(o))}]}})})},t}(xe)),at=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.deploy=function(e){return void 0===e&&(e=!1),this.do("Deploy("+e+")")},t.prototype.retract=function(){return this.do("Retract")},t.prototype.install=function(){return this.do("Install")},t.prototype.uninstall=function(){return this.do("Uninstall")},t.prototype.upgrade=function(){return this.do("Upgrade")},t.prototype.remove=function(){return this.do("Remove")},t.prototype.do=function(e){return ge(this.clone(at,e))},m([le("app.deploy")],t.prototype,"deploy",null),m([le("app.retract")],t.prototype,"retract",null),m([le("app.install")],t.prototype,"install",null),m([le("app.uninstall")],t.prototype,"uninstall",null),m([le("app.upgrade")],t.prototype,"upgrade",null),m([le("app.remove")],t.prototype,"remove",null),t}(Ie));Re.prototype.getAppCatalog=function(e){return st(e||this)},p.prototype.getTenantAppCatalogWeb=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,Se("/","_api/SP_TenantSettings_Current")()];case 1:return e=t.sent(),[2,je(e.CorporateCatalogUrl)]}})})};var ut=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getByName=function(e){var t=le.configure(lt(this),"ats.getByName");return t.concat("('"+e+"')"),t},t.prototype.add=function(e,t){return g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(ut,"add(FileName='"+e+"')",!1),{body:t})];case 1:return[2,{data:n.sent(),file:this.getByName(e)}]}})})},t.prototype.addMultiple=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:t=0,n.label=1;case 1:return t255)throw Error("Modern Page description is limited to 255 chars.");this.json.Description=e,Object(u.hOP)(this._pageSettings,"htmlAttributes")||(this._pageSettings.htmlAttributes=[]),this._pageSettings.htmlAttributes.indexOf("modifiedDescription")<0&&this._pageSettings.htmlAttributes.push("modifiedDescription"),this._pageSettings.pageSettingsSlice.isDefaultDescription=!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layoutType",{get:function(){return this._layoutPart.properties.layoutType},set:function(e){this._layoutPart.properties.layoutType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"headerTextAlignment",{get:function(){return this._layoutPart.properties.textAlignment},set:function(e){this._layoutPart.properties.textAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTopicHeader",{get:function(){return this._layoutPart.properties.showTopicHeader},set:function(e){this._layoutPart.properties.showTopicHeader=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPublishDate",{get:function(){return this._layoutPart.properties.showPublishDate},set:function(e){this._layoutPart.properties.showPublishDate=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVerticalSection",{get:function(){return this.sections.findIndex(function(e){return 2===e.layoutIndex})>-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorByLine",{get:function(){return Object(u.isArray)(this.json.AuthorByline)&&this.json.AuthorByline.length>0?this.json.AuthorByline[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"verticalSection",{get:function(){return this.hasVerticalSection?this.addVerticalSection():null},enumerable:!1,configurable:!0}),t.prototype.addSection=function(){var e=new bt(this,ct(this.sections),1);return this.sections.push(e),e},t.prototype.addVerticalSection=function(){var e=this.sections.findIndex(function(e){return 2===e.layoutIndex});if(e>-1)return this.sections[e];var t=new bt(this,ct(this.sections),2);return this.sections.push(t),t},t.prototype.fromJSON=function(e){this.json=e;var t=JSON.parse(e.CanvasContent1),n=JSON.parse(e.LayoutWebpartsContent);return n&&n.length>0&&(this._layoutPart=n[0]),this.setControls(t),this},t.prototype.load=function(){return g(this,void 0,void 0,function(){var e,t;return y(this,function(n){switch(n.label){case 0:return[4,this.getItem("Id","CommentsDisabled")];case 1:return e=n.sent(),[4,Se(this,"_api/sitepages/pages("+e.Id+")")()];case 2:return t=n.sent(),this.commentsDisabled=e.CommentsDisabled,[2,this.fromJSON(t)]}})})},t.prototype.save=function(e){return void 0===e&&(e=!0),g(this,void 0,void 0,function(){var t,n,r,o,i,s,a,l,c,d,p,h,f,m,g;return y(this,function(y){switch(y.label){case 0:if(null===this.json.Id)throw Error("The id for this page is null. If you want to create a new page, please use ClientSidePage.Create");return this._bannerImageDirty?(t=this.json.BannerImageUrl,Object(u.isUrlAbsolute)(t)&&(t=t.replace(/^https?:\/\/[a-z0-9\.]*?\.[a-z]{2,3}\//i,"/")),n=Ae(ue(this.toUrl())),r=je(ue(this.toUrl())),o=r.getFileByServerRelativePath(t.replace(/%20/gi," ")),i="",s="",a="",l="",c="",d=r.createBatch(),n.select("Id","Url").inBatch(d)().then(function(e){return i=e.Id}),r.select("Id","Url").inBatch(d)().then(function(e){s=e.Id,c=e.Url}),o.listItemAllFields.select("UniqueId","ParentList/Id").expand("ParentList").inBatch(d)().then(function(e){a=e.UniqueId,l=e.ParentList.Id}),[4,d.execute()]):[3,2];case 1:y.sent(),(p=Se(c,"_layouts/15/getpreview.ashx")).query.set("guidSite",""+i),p.query.set("guidWeb",""+s),p.query.set("guidFile",""+a),this.bannerImageUrl=p.toUrlAndQuery(),Object(u.objectDefinedNotNull)(this._layoutPart.serverProcessedContent)||(this._layoutPart.serverProcessedContent={}),this._layoutPart.serverProcessedContent.imageSources={imageSource:t},Object(u.objectDefinedNotNull)(this._layoutPart.serverProcessedContent.customMetadata)||(this._layoutPart.serverProcessedContent.customMetadata={}),this._layoutPart.serverProcessedContent.customMetadata.imageSource={listId:l,siteId:i,uniqueId:a,webId:s},this._layoutPart.properties.webId=s,this._layoutPart.properties.siteId=i,this._layoutPart.properties.listId=l,this._layoutPart.properties.uniqueId=a,y.label=2;case 2:return this.json.IsPageCheckedOutToCurrentUser?[3,4]:[4,ge(gt(this,"_api/sitepages/pages("+this.json.Id+")/checkoutpage"))];case 3:y.sent(),y.label=4;case 4:return h=Object.assign(ae("SP.Publishing.SitePage"),{AuthorByline:this.json.AuthorByline||[],CanvasContent1:this.getCanvasContent1(),Description:this.description,LayoutWebpartsContent:this.getLayoutWebpartsContent(),Title:this.title,TopicHeader:this.topicHeader}),(this._bannerImageDirty||this._bannerImageThumbnailUrlDirty)&&(f=this._bannerImageThumbnailUrlDirty?this.thumbnailUrl:this.bannerImageUrl,h=Object(u.assign)(h,{BannerImageUrl:f})),m=gt(this,"_api/sitepages/pages("+this.json.Id+")/savepage"),[4,ge(m,se({"if-match":"*"},ie(h)))];case 5:return y.sent(),g=!0,e?[4,ge(gt(this,"_api/sitepages/pages("+this.json.Id+")/publish"))]:[3,7];case 6:(g=y.sent())&&(this.json.IsPageCheckedOutToCurrentUser=!1),y.label=7;case 7:return this._bannerImageDirty=!1,this._bannerImageThumbnailUrlDirty=!1,[2,g]}})})},t.prototype.discardPageCheckout=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:if(null===this.json.Id)throw Error("The id for this page is null. If you want to create a new page, please use ClientSidePage.Create");return[4,ge(gt(this,"_api/sitepages/pages("+this.json.Id+")/discardPage"),ie(ae("SP.Publishing.SitePage")))];case 1:return e=t.sent(),this.fromJSON(e),[2]}})})},t.prototype.promoteToNews=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return[2,this.promoteNewsImpl("promoteToNews")]})})},t.prototype.findControlById=function(e){return this.findControl(function(t){return t.id===e})},t.prototype.findControl=function(e){for(var t=0;t3?{}:{zoneEmphasis:e}},t.prototype.promoteNewsImpl=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:if(null===this.json.Id)throw Error("The id for this page is null.");return Object(u.stringIsNullOrEmpty)(this.json.VersionInfo.LastVersionCreatedBy)&&new Date(this.json.VersionInfo.LastVersionCreated).getFullYear()<2e3?[4,this.save(!0)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[4,ge(gt(this,"_api/sitepages/pages("+this.json.Id+")/"+e),ie(ae("SP.Publishing.SitePage")))];case 3:return[2,t.sent()]}})})},t.prototype.mergePartToTree=function(e,t){var n,r,o,i=null,s=12,a=0,l=0,c=1;t&&(Object(u.hOP)(t,"zoneIndex")&&(l=t.zoneIndex),Object(u.hOP)(t,"sectionIndex")&&(a=t.sectionIndex),Object(u.hOP)(t,"sectionFactor")&&(s=t.sectionFactor),Object(u.hOP)(t,"layoutIndex")&&(c=t.layoutIndex));var d=null!==(o=null===(r=null===(n=e.data)||void 0===n?void 0:n.emphasis)||void 0===r?void 0:r.zoneEmphasis)&&void 0!==o?o:0,p=this.getOrCreateSection(l,c,d),h=p.columns.filter(function(e){return e.order===a});i=h.length<1?p.addColumn(s,c):h[0],e.column=i,i.addControl(e)},t.prototype.mergeColumnToTree=function(e){var t,n,r=Object(u.hOP)(e.data,"position")&&Object(u.hOP)(e.data.position,"zoneIndex")?e.data.position.zoneIndex:0,o=Object(u.hOP)(e.data,"position")&&Object(u.hOP)(e.data.position,"layoutIndex")?e.data.position.layoutIndex:1,i=this.getOrCreateSection(r,o,(null===(n=null===(t=e.data)||void 0===t?void 0:t.emphasis)||void 0===n?void 0:n.zoneEmphasis)||0);e.section=i,i.columns.push(e)},t.prototype.getOrCreateSection=function(e,t,n){var r=null,o=this.sections.filter(function(n){return n.order===e&&n.layoutIndex===t});return o.length<1?((r=2===t?this.addVerticalSection():this.addSection()).order=e,r.emphasis=n):r=o[0],r},m([le("csp.load")],t.prototype,"load",null),m([le("csp.save")],t.prototype,"save",null),m([le("csp.discardPageCheckout")],t.prototype,"discardPageCheckout",null),m([le("csp.promoteToNews")],t.prototype,"promoteToNews",null),m([le("csp.copy")],t.prototype,"copy",null),m([le("csp.getItem")],t.prototype,"getItem",null),t}(be),vt=function(e,t,n,r,o,i){return void 0===r&&(r=!1),void 0===o&&(o=[]),void 0===i&&(i=!1),U(yt)(e,t,n,r,o,i)},_t=function(e,t,n,r,o){return void 0===r&&(r="Article"),void 0===o&&(o=0),g(void 0,void 0,void 0,function(){var i,s;return y(this,function(a){switch(a.label){case 0:return t=t.replace(/\.aspx$/i,""),[4,ge(gt(e,"_api/sitepages/pages"),ie(Object.assign(ae("SP.Publishing.SitePage"),{PageLayoutType:r,PromotedState:o})))];case 1:return i=a.sent(),(s=vt(e,"",i)).title=t,[4,s.save(!1)];case 2:return a.sent(),s.title=n,[2,s]}})})},bt=function(){function e(e,t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=0),this.page=e,this.columns=r,this._emphasis=o,this._memId=Object(u.getGUID)(),this._order=t,this._layoutIndex=n}return Object.defineProperty(e.prototype,"order",{get:function(){return this._order},set:function(e){this._order=e;for(var t=0;t")||(e="

"+e+"

"),this.data.innerHTML=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"order",{get:function(){return this.data.position.controlIndex},set:function(e){this.data.position.controlIndex=e},enumerable:!1,configurable:!0}),t.prototype.onColumnChange=function(e){this.data.position.sectionFactor=e.factor,this.data.position.controlIndex=ct(e.controls),this.data.position.zoneIndex=e.data.position.zoneIndex,this.data.position.sectionIndex=e.order,this.data.position.layoutIndex=e.data.position.layoutIndex},t.Default={addedFromPersistedData:!1,anchorComponentId:"",controlType:4,displayMode:2,editorType:"CKEditor",emphasis:{},id:"",innerHTML:"",position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1}},t}(xt),It=function(e){function t(n){return void 0===n&&(n=JSON.parse(JSON.stringify(t.Default))),e.call(this,n)||this}return f(t,e),t.fromComponentDef=function(e){var n=new t;return n.import(e),n},Object.defineProperty(t.prototype,"title",{get:function(){return this.data.webPartData.title},set:function(e){this.data.webPartData.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this.data.webPartData.description},set:function(e){this.data.webPartData.description=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"order",{get:function(){return this.data.position.controlIndex},set:function(e){this.data.position.controlIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.data.reservedHeight},set:function(e){this.data.reservedHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.data.reservedWidth},set:function(e){this.data.reservedWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataVersion",{get:function(){return this.data.webPartData.dataVersion},set:function(e){this.data.webPartData.dataVersion=e},enumerable:!1,configurable:!0}),t.prototype.setProperties=function(e){return this.data.webPartData.properties=Object(u.assign)(this.data.webPartData.properties,e),this},t.prototype.getProperties=function(){return this.data.webPartData.properties},t.prototype.onColumnChange=function(e){this.data.position.sectionFactor=e.factor,this.data.position.controlIndex=ct(e.controls),this.data.position.zoneIndex=e.data.position.zoneIndex,this.data.position.sectionIndex=e.data.position.sectionIndex,this.data.position.layoutIndex=e.data.position.layoutIndex},t.prototype.import=function(e){var t=Object(u.getGUID)(),n=e.Id.replace(/^\{|\}$/g,"").toLowerCase(),r=JSON.parse(e.Manifest).preconfiguredEntries[0];this.setData(Object.assign({},this.data,{id:t,webPartData:{dataVersion:"1.0",description:r.description.default,id:n,instanceId:t,properties:r.properties,title:r.title.default},webPartId:n}))},t.Default={addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:null,position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1},reservedHeight:500,reservedWidth:500,webPartData:null,webPartId:null},t}(xt);Re.prototype.getClientsideWebParts=function(){return this.clone(we,"GetClientSideWebParts")()},Re.prototype.addClientsidePage=function(e,t,n,r){return void 0===t&&(t=e.replace(/\.[^\/.]+$/,"")),_t(this,e,t,n,r)},Re.prototype.loadClientsidePage=function(e){return t=this.getFileByServerRelativePath(e),g(void 0,void 0,void 0,function(){var e;return y(this,function(n){switch(n.label){case 0:return[4,t.getItem()];case 1:return e=n.sent(),[2,vt(ue(t.toUrl()),"",{Id:e.Id},!0).configureFrom(t).load()]}})});var t};var Pt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getByName=function(e){return le.configure(Et(this).concat("('"+Me(e)+"')"),"fs.getByName")},t.prototype.add=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(Pt,"add('"+Me(e)+"')"))];case 1:return[2,{data:t.sent(),folder:this.getByName(e)}]}})})},t.prototype.addUsingPath=function(e,t){return void 0===t&&(t=!1),g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Pt,"addUsingPath(DecodedUrl='"+Me(e)+"',overwrite="+t+")"))];case 1:return[2,{data:n.sent(),folder:Et(ue(this.toUrl()),"_api/web/getFolderByServerRelativePath(decodedUrl='"+Me(e)+"')")}]}})})},m([le("fs.add")],t.prototype,"add",null),m([le("fs.addUsingPath")],t.prototype,"addUsingPath",null),t=m([ke("folders")],t)}(xe)),Ct=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ee("f"),t.update=t._update("SP.Folder",function(e){return{data:e,folder:t}}),t}return f(t,e),Object.defineProperty(t.prototype,"contentTypeOrder",{get:function(){return le.configure(we(this,"contentTypeOrder"),"f.contentTypeOrder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"folders",{get:function(){return Pt(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listItemAllFields",{get:function(){return le.configure(Pe(this,"listItemAllFields"),"f.listItemAllFields")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentFolder",{get:function(){return le.configure(Et(this,"parentFolder"),"f.parentFolder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return le.configure(Pe(this,"properties"),"f.properties")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"serverRelativeUrl",{get:function(){return le.configure(Se(this,"serverRelativeUrl"),"f.serverRelativeUrl")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uniqueContentTypeOrder",{get:function(){return le.configure(we(this,"uniqueContentTypeOrder"),"f.uniqueContentTypeOrder")},enumerable:!1,configurable:!0}),t.prototype.recycle=function(){return ge(this.clone(Et,"recycle"))},t.prototype.getItem=function(){for(var e=[],t=0;t/gi),[2,(null===s?[]:s.map(function(e){return e.trim()})).map(function(e){var t=/(.*?)<\/DefaultValue>/gi.exec(e);return t.length<1?(X.write("Could not parse default column value from '"+e+"'",2),null):{name:t[2],path:decodeURIComponent(t[1]),value:t[3]}}).filter(function(e){return null!==e})]}})})},We.prototype.setDefaultColumnValues=function(e){return g(this,void 0,void 0,function(){var t,n,r,o,i,s,a;return y(this,function(l){switch(l.label){case 0:return[4,we(this,"fields").select("InternalName","TypeAsString").filter("Hidden ne true")()];case 1:return t=l.sent(),n=e.map(function(e){var n=t.findIndex(function(t){return t.InternalName===e.name});if(n<0)throw Error("Field '"+e.name+"' does not exist in the list. Please check the internal field name. Failed to set defaults.");var r=t[n],o="";switch(r.TypeAsString){case"Boolean":case"Currency":case"Text":case"DateTime":case"Number":case"Choice":case"User":if(Object(u.isArray)(e.value))throw Error("The type '"+r.TypeAsString+"' does not support multiple values.");o=""+e.value;break;case"MultiChoice":o=Object(u.isArray)(e.value)?e.value.map(function(e){return""+e}).join(";"):""+e.value;break;case"UserMulti":o=Object(u.isArray)(e.value)?e.value.map(function(e){return""+e}).join(";#"):""+e.value;break;case"Taxonomy":if(Object(u.isArray)(e.value))throw Error("The type '"+r.TypeAsString+"' does not support multiple values.");o=e.value.wssId+";#"+e.value.termName+"|"+e.value.termId;break;case"TaxonomyMulti":Object(u.isArray)(e.value)&&(o=e.value.map(function(e){return e.wssId+";#"+e.termName+"|"+e.termId}).join(";#")),o=e.value.wssId+";#"+e.value.termName+"|"+e.value.termId}return''+o+""}),r=""+n.join("")+"",[4,this.rootFolder.select("ServerRelativePath")()];case 2:return o=l.sent(),[4,this.select("ParentWeb/Url").expand("ParentWeb")()];case 3:return i=l.sent(),s=Object(u.combine)("/",o.ServerRelativePath.DecodedUrl,"Forms"),a=Object(u.combine)(i.ParentWeb.Url,"_api/web","getFolderByServerRelativePath(decodedUrl='"+Me(s)+"')","files"),[4,ge(Et(a,"add(overwrite=true,url='client_LocationBasedDefaults.html')"),{body:r})];case 4:return l.sent(),[4,this.eventReceivers.filter("ReceiverName eq 'LocationBasedMetadataDefaultsReceiver ItemAdded'").select("ReceiverId")()];case 5:return l.sent().length<1?[4,ge(ze(this.eventReceivers,"add"),ie({eventReceiverCreationInformation:{EventType:10001,ReceiverAssembly:"Microsoft.Office.DocumentManagement, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c",ReceiverClass:"Microsoft.Office.DocumentManagement.LocationBasedMetadataDefaultsReceiver",ReceiverName:"LocationBasedMetadataDefaultsReceiver ItemAdded",SequenceNumber:1e3,Synchronization:1}}))]:[3,7];case 6:l.sent(),l.label=7;case 7:return[2]}})})},I(Re,"lists",He),I(Re,"siteUserInfoList",ze,"siteuserinfolist"),I(Re,"defaultDocumentLibrary",ze,"DefaultDocumentLibrary"),I(Re,"customListTemplates",we,"getcustomlisttemplates"),Re.prototype.getList=function(e){return ze(this,"getList('"+Me(e)+"')")},Re.prototype.getCatalog=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(je,"getcatalog("+e+")").select("Id").get()];case 1:return t=n.sent(),[2,ze(Te(t))]}})})},Ct.prototype.getDefaultColumnValues=function(){return g(this,void 0,void 0,function(){var e,t,n;return y(this,function(r){switch(r.label){case 0:return[4,Et(this,"Properties").select("vti_x005f_listname")()];case 1:return e=r.sent(),[4,this.select("ServerRelativePath")()];case 2:return t=r.sent().ServerRelativePath,n=je(ue(Te(e))),[4,n.lists.getById(e.vti_x005f_listname).getDefaultColumnValues()];case 3:return[2,r.sent().filter(function(e){return e.path.toLowerCase()===t.DecodedUrl.toLowerCase()})]}})})},Ct.prototype.setDefaultColumnValues=function(e,t){return void 0===t&&(t=!0),g(this,void 0,void 0,function(){var n,r,o,i,s,a;return y(this,function(u){switch(u.label){case 0:return[4,Et(this,"Properties").select("vti_x005f_listname")()];case 1:return n=u.sent(),r=je(ue(Te(n))),o=r.lists.getById(n.vti_x005f_listname),[4,this.select("ServerRelativePath")()];case 2:return i=u.sent().ServerRelativePath.DecodedUrl,[4,o.getDefaultColumnValues()];case 3:return s=u.sent(),a=t?s:s.filter(function(e){return e.path!==i}),e.forEach(function(e){var t=a.find(function(t){return t.name===e.name&&t.path===i});t?t.value=e.value:a.push({name:e.name,path:i,value:e.value})}),[4,o.setDefaultColumnValues(a)];case 4:return u.sent(),[2]}})})},Ct.prototype.clearDefaultColumnValues=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:return[4,this.setDefaultColumnValues([],!1)];case 1:return e.sent(),[2]}})})};var kt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.addAvailableContentType=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(kt,"addAvailableContentType"),ie({contentTypeId:e}))];case 1:return t=n.sent(),[2,{contentType:this.getById(t.id),data:t}]}})})},t.prototype.getById=function(e){return le.configure(Dt(this).concat("('"+e+"')"),"cts.getById")},t.prototype.add=function(e,t,n,r,o){return void 0===n&&(n=""),void 0===r&&(r="Custom Content Types"),void 0===o&&(o={}),g(this,void 0,void 0,function(){var i,s;return y(this,function(a){switch(a.label){case 0:return i=ie(Object.assign(ae("SP.ContentType"),{Description:n,Group:r,Id:{StringValue:e},Name:t},o)),[4,ge(this,i)];case 1:return s=a.sent(),[2,{contentType:this.getById(s.id),data:s}]}})})},m([le("cts.addAvailableContentType")],t.prototype,"addAvailableContentType",null),m([le("cts.add")],t.prototype,"add",null),t=m([ke("contenttypes")],t)}(xe)),Tt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("ct"),t}return f(t,e),Object.defineProperty(t.prototype,"fieldLinks",{get:function(){return le.configure(Ot(this),"ct.fieldLinks")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fields",{get:function(){return le.configure(we(this,"fields"),"ct.fields")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return le.configure(Dt(this,"parent"),"ct.parent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"workflowAssociations",{get:function(){return le.configure(we(this,"workflowAssociations"),"ct.workflowAssociations")},enumerable:!1,configurable:!0}),t}(Ie),Dt=_e(Tt),Ot=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Mt(this).concat("(guid'"+e+"')"),"fls.getById")},t=m([ke("fieldlinks")],t)}(xe)),Mt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t}(Ie));I(Re,"contentTypes",kt),I(Ve,"contentType",Dt,"ContentType"),I(We,"contentTypes",kt);var Ft=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.add=function(e,t){return void 0===t&&(t=!1),g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Ft,"add"),ie({featdefScope:0,featureId:e,force:t}))];case 1:return[2,{data:n.sent(),feature:this.getById(e)}]}})})},t.prototype.getById=function(e){var t=At(this);return t.concat("('"+e+"')"),le.configure(t,"fes.getById")},t.prototype.remove=function(e,t){return void 0===t&&(t=!1),ge(this.clone(Ft,"remove"),ie({featureId:e,force:t}))},m([le("fes.add")],t.prototype,"add",null),m([le("fes.remove")],t.prototype,"remove",null),t=m([ke("features")],t)}(xe)),At=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.deactivate=function(e){return void 0===e&&(e=!1),g(this,void 0,void 0,function(){var t,n,r;return y(this,function(o){switch(o.label){case 0:return t=this.addBatchDependency(),[4,At(this).select("DefinitionId")()];case 1:return n=o.sent(),r=this.getParent(Ft,this.parentUrl,"",this.batch).remove(n.DefinitionId,e),t(),[2,r]}})})},m([le("fe.deactivate")],t.prototype,"deactivate",null),t}(Ie));I(Fe,"features",Ft),I(Re,"features",Ft);var Bt,Rt,jt,Lt,Nt,Ut,Ht,Wt,zt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Vt(this).concat("('"+e+"')"),"fs.getById")},t.prototype.getByTitle=function(e){return le.configure(Vt(this,"getByTitle('"+e+"')"),"fs.getByTitle")},t.prototype.getByInternalNameOrTitle=function(e){return le.configure(Vt(this,"getByInternalNameOrTitle('"+e+"')"),"fs.getByInternalNameOrTitle")},t.prototype.createFieldAsXml=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return"string"==typeof e&&(e={SchemaXml:e}),t=ie({parameters:Object(u.assign)(ae("SP.XmlSchemaFieldCreationInformation"),e)}),[4,ge(this.clone(zt,"createfieldasxml"),t)];case 1:return[2,{data:n=r.sent(),field:this.getById(n.Id)}]}})})},t.prototype.add=function(e,t,n){return g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=ie(Object.assign(ae(t),{Title:e},n)),le.isTagged(this)||le.configure(this,"fs.add"),[4,ge(this.clone(zt,null),r)];case 1:return[2,{data:o=i.sent(),field:this.getById(o.Id)}]}})})},t.prototype.addText=function(e,t,n){void 0===t&&(t=255);var r={FieldTypeKind:2,MaxLength:t};return this.add(e,"SP.FieldText",Object(u.assign)(r,n))},t.prototype.addCalculated=function(e,t,n,r,o){void 0===r&&(r=Bt.Text);var i={DateFormat:n,FieldTypeKind:17,Formula:t,OutputType:r};return this.add(e,"SP.FieldCalculated",Object(u.assign)(i,o))},t.prototype.addDateTime=function(e,t,n,r,o){void 0===t&&(t=Rt.DateOnly),void 0===n&&(n=Nt.Gregorian),void 0===r&&(r=jt.Unspecified);var i={DateTimeCalendarType:n,DisplayFormat:t,FieldTypeKind:4,FriendlyDisplayFormat:r};return this.add(e,"SP.FieldDateTime",Object(u.assign)(i,o))},t.prototype.addNumber=function(e,t,n,r){var o={FieldTypeKind:9};return void 0!==t&&(o=Object(u.assign)({MinimumValue:t},o)),void 0!==n&&(o=Object(u.assign)({MaximumValue:n},o)),this.add(e,"SP.FieldNumber",Object(u.assign)(o,r))},t.prototype.addCurrency=function(e,t,n,r,o){void 0===r&&(r=1033);var i={CurrencyLocaleId:r,FieldTypeKind:10};return void 0!==t&&(i=Object(u.assign)({MinimumValue:t},i)),void 0!==n&&(i=Object(u.assign)({MaximumValue:n},i)),this.add(e,"SP.FieldCurrency",Object(u.assign)(i,o))},t.prototype.addMultilineText=function(e,t,n,r,o,i,s){void 0===t&&(t=6),void 0===n&&(n=!0),void 0===r&&(r=!1),void 0===o&&(o=!1),void 0===i&&(i=!0);var a={AllowHyperlink:i,AppendOnly:o,FieldTypeKind:3,NumberOfLines:t,RestrictedMode:r,RichText:n};return this.add(e,"SP.FieldMultiLineText",Object(u.assign)(a,s))},t.prototype.addUrl=function(e,t,n){void 0===t&&(t=Ut.Hyperlink);var r={DisplayFormat:t,FieldTypeKind:11};return this.add(e,"SP.FieldUrl",Object(u.assign)(r,n))},t.prototype.addUser=function(e,t,n){var r={FieldTypeKind:20,SelectionMode:t};return this.add(e,"SP.FieldUser",Object(u.assign)(r,n))},t.prototype.addLookup=function(e,t,n,r){return g(this,void 0,void 0,function(){var o,i,s;return y(this,function(a){switch(a.label){case 0:return o=Object(u.assign)({FieldTypeKind:7,LookupFieldName:n,LookupListId:t,Title:e},r),i=ie({parameters:Object(u.assign)(ae("SP.FieldCreationInformation"),o)}),[4,ge(this.clone(zt,"addfield"),i)];case 1:return[2,{data:s=a.sent(),field:this.getById(s.Id)}]}})})},t.prototype.addChoice=function(e,t,n,r,o){void 0===n&&(n=Wt.Dropdown);var i={Choices:{results:t},EditFormat:n,FieldTypeKind:6,FillInChoice:r};return this.add(e,"SP.FieldChoice",Object(u.assign)(i,o))},t.prototype.addMultiChoice=function(e,t,n,r){var o={Choices:{results:t},FieldTypeKind:15,FillInChoice:n};return this.add(e,"SP.FieldMultiChoice",Object(u.assign)(o,r))},t.prototype.addBoolean=function(e,t){return this.add(e,"SP.Field",Object(u.assign)({FieldTypeKind:8},t))},t.prototype.addDependentLookupField=function(e,t,n){return g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r="adddependentlookupfield(displayName='"+e+"', primarylookupfieldid='"+t+"', showfield='"+n+"')",[4,ge(this.clone(zt,r))];case 1:return[2,{data:o=i.sent(),field:this.getById(o.Id)}]}})})},t.prototype.addLocation=function(e,t){return this.add(e,"SP.FieldLocation",Object(u.assign)({FieldTypeKind:33},t))},m([le("fs.createFieldAsXml")],t.prototype,"createFieldAsXml",null),m([le("fs.addText")],t.prototype,"addText",null),m([le("fs.addCalculated")],t.prototype,"addCalculated",null),m([le("fs.addDateTime")],t.prototype,"addDateTime",null),m([le("fs.addNumber")],t.prototype,"addNumber",null),m([le("fs.addCurrency")],t.prototype,"addCurrency",null),m([le("fs.addMultilineText")],t.prototype,"addMultilineText",null),m([le("fs.addUrl")],t.prototype,"addUrl",null),m([le("fs.addUser")],t.prototype,"addUser",null),m([le("fs.addLookup")],t.prototype,"addLookup",null),m([le("fs.addChoice")],t.prototype,"addChoice",null),m([le("fs.addMultiChoice")],t.prototype,"addMultiChoice",null),m([le("fs.addBoolean")],t.prototype,"addBoolean",null),m([le("fs.addDependentLookupField")],t.prototype,"addDependentLookupField",null),m([le("fs.addLocation")],t.prototype,"addLocation",null),t=m([ke("fields")],t)}(xe)),Kt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("f"),t}return f(t,e),t.prototype.update=function(e,t){return g(this,void 0,void 0,function(){var n,r;return y(this,function(o){switch(o.label){case 0:return null!=t?[3,2]:[4,Vt(this).select("FieldTypeKind").configure({headers:{Accept:"application/json"}})()];case 1:n=o.sent(),t=n["odata.type"],o.label=2;case 2:return r=ie(Object(u.assign)(ae(t),e),se({"X-HTTP-Method":"MERGE"})),[4,ge(this,r)];case 3:return[2,{data:o.sent(),field:this}]}})})},t.prototype.setShowInDisplayForm=function(e){return ge(this.clone(Vt,"setshowindisplayform("+e+")"))},t.prototype.setShowInEditForm=function(e){return ge(this.clone(Vt,"setshowineditform("+e+")"))},t.prototype.setShowInNewForm=function(e){return ge(this.clone(Vt,"setshowinnewform("+e+")"))},m([le("f.update")],t.prototype,"update",null),m([le("f.setShowInDisplayForm")],t.prototype,"setShowInDisplayForm",null),m([le("f.setShowInEditForm")],t.prototype,"setShowInEditForm",null),m([le("f.setShowInNewForm")],t.prototype,"setShowInNewForm",null),t}(Ie),Vt=_e(Kt);!function(e){e[e.Invalid=0]="Invalid",e[e.Integer=1]="Integer",e[e.Text=2]="Text",e[e.Note=3]="Note",e[e.DateTime=4]="DateTime",e[e.Counter=5]="Counter",e[e.Choice=6]="Choice",e[e.Lookup=7]="Lookup",e[e.Boolean=8]="Boolean",e[e.Number=9]="Number",e[e.Currency=10]="Currency",e[e.URL=11]="URL",e[e.Computed=12]="Computed",e[e.Threading=13]="Threading",e[e.Guid=14]="Guid",e[e.MultiChoice=15]="MultiChoice",e[e.GridChoice=16]="GridChoice",e[e.Calculated=17]="Calculated",e[e.File=18]="File",e[e.Attachments=19]="Attachments",e[e.User=20]="User",e[e.Recurrence=21]="Recurrence",e[e.CrossProjectLink=22]="CrossProjectLink",e[e.ModStat=23]="ModStat",e[e.Error=24]="Error",e[e.ContentTypeId=25]="ContentTypeId",e[e.PageSeparator=26]="PageSeparator",e[e.ThreadIndex=27]="ThreadIndex",e[e.WorkflowStatus=28]="WorkflowStatus",e[e.AllDayEvent=29]="AllDayEvent",e[e.WorkflowEventType=30]="WorkflowEventType"}(Bt||(Bt={})),function(e){e[e.DateOnly=0]="DateOnly",e[e.DateTime=1]="DateTime"}(Rt||(Rt={})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Disabled=1]="Disabled",e[e.Relative=2]="Relative"}(jt||(jt={})),function(e){e[e.DefaultValue=0]="DefaultValue",e[e.AddToDefaultContentType=1]="AddToDefaultContentType",e[e.AddToNoContentType=2]="AddToNoContentType",e[e.AddToAllContentTypes=4]="AddToAllContentTypes",e[e.AddFieldInternalNameHint=8]="AddFieldInternalNameHint",e[e.AddFieldToDefaultView=16]="AddFieldToDefaultView",e[e.AddFieldCheckDisplayName=32]="AddFieldCheckDisplayName"}(Lt||(Lt={})),function(e){e[e.Gregorian=1]="Gregorian",e[e.Japan=3]="Japan",e[e.Taiwan=4]="Taiwan",e[e.Korea=5]="Korea",e[e.Hijri=6]="Hijri",e[e.Thai=7]="Thai",e[e.Hebrew=8]="Hebrew",e[e.GregorianMEFrench=9]="GregorianMEFrench",e[e.GregorianArabic=10]="GregorianArabic",e[e.GregorianXLITEnglish=11]="GregorianXLITEnglish",e[e.GregorianXLITFrench=12]="GregorianXLITFrench",e[e.KoreaJapanLunar=14]="KoreaJapanLunar",e[e.ChineseLunar=15]="ChineseLunar",e[e.SakaEra=16]="SakaEra",e[e.UmAlQura=23]="UmAlQura"}(Nt||(Nt={})),function(e){e[e.Hyperlink=0]="Hyperlink",e[e.Image=1]="Image"}(Ut||(Ut={})),function(e){e[e.PeopleAndGroups=1]="PeopleAndGroups",e[e.PeopleOnly=0]="PeopleOnly"}(Ht||(Ht={})),function(e){e[e.Dropdown=0]="Dropdown",e[e.RadioButtons=1]="RadioButtons"}(Wt||(Wt={})),I(Re,"fields",zt),I(Re,"availablefields",zt,"availablefields"),I(We,"fields",zt),I(Ct,"files",tt),I(Ve,"file",rt,"file"),I(Ve,"folder",Et,"folder"),I(We,"rootFolder",Et,"rootFolder"),I(Re,"folders",Pt),I(Re,"rootFolder",Et,"rootFolder"),Re.prototype.getFolderByServerRelativeUrl=function(e){return Et(this,"getFolderByServerRelativeUrl('"+Me(e)+"')")},Re.prototype.getFolderByServerRelativePath=function(e){return Et(this,"getFolderByServerRelativePath(decodedUrl='"+Me(e)+"')")},Re.prototype.getFolderById=function(e){return Et(this,"getFolderById('"+e+"')")};var qt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Gt(this).concat("('"+e+"')"),"fos.getById")},t=m([ke("forms")],t)}(xe)),Gt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t}(Ie));I(We,"forms",qt,"forms");var Zt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Qt(this,"GetById?hubSiteId='"+e+"'"),"hss.getById")},t=m([ke("_api/hubsites")],t)}(xe)),Qt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getSite=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.select("SiteUrl")()];case 1:return e=t.sent(),[2,Ae(e.SiteUrl)]}})})},m([le("hs.getSite")],t.prototype,"getSite",null),t}(Ie));Fe.prototype.joinHubSite=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(Ae,"joinHubSite('"+e+"')"))];case 1:return t.sent(),[2]}})})},Fe.prototype.registerHubSite=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:return[4,ge(this.clone(Ae,"registerHubSite"))];case 1:return e.sent(),[2]}})})},Fe.prototype.unRegisterHubSite=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:return[4,ge(this.clone(Ae,"unRegisterHubSite"))];case 1:return e.sent(),[2]}})})},Re.prototype.hubSiteData=function(e){return void 0===e&&(e=!1),g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(je,"hubSiteData("+e+")")()];case 1:return"string"==typeof(t=n.sent())?[2,JSON.parse(t)]:[2,t]}})})},Re.prototype.syncHubSiteTheme=function(){return ge(this.clone(je,"syncHubSiteTheme"))},Reflect.defineProperty(p.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return Zt(this._baseUrl).configure(this._options)}});var Xt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Yt(this).concat("("+e+")"),"nns.getById")},t.prototype.add=function(e,t,n){return void 0===n&&(n=!0),g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=ie(Object(u.assign)(ae("SP.NavigationNode"),{IsVisible:n,Title:e,Url:t})),[4,ge(this.clone(Xt,null),r)];case 1:return[2,{data:o=i.sent(),node:this.getById(o.Id)}]}})})},t.prototype.moveAfter=function(e,t){var n=ie({nodeId:e,previousNodeId:t});return ge(this.clone(Xt,"MoveAfter"),n)},m([le("nns.add")],t.prototype,"add",null),m([le("nns.moveAfter")],t.prototype,"moveAfter",null),t}(xe)),Yt=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("nn"),t}return f(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return le.configure(Xt(this,"children"),"nn.children")},enumerable:!1,configurable:!0}),t.prototype.update=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return t=ie(Object(u.assign)(ae("SP.NavigationNode"),e),se({"X-HTTP-Method":"MERGE"})),[4,ge(this,t)];case 1:return[2,{data:n.sent(),node:this}]}})})},m([le("nn.update")],t.prototype,"update",null),t}(Ie)),Jt=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"quicklaunch",{get:function(){return le.configure(Xt(this,"quicklaunch"),"n.quicklaunch")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"topNavigationBar",{get:function(){return le.configure(Xt(this,"topnavigationbar"),"n.topnavigationbar")},enumerable:!1,configurable:!0}),t=m([ke("navigation")],t)}(be)),$t=function(e){function t(t){return void 0===t&&(t=null),e.call(this,"_api/navigation",t)||this}return f(t,e),t.prototype.getMenuState=function(e,t,n,r){return void 0===e&&(e=null),void 0===t&&(t=10),void 0===n&&(n=null),void 0===r&&(r=null),ge(en("MenuState"),ie({customProperties:r,depth:t,mapProviderName:n,menuNodeKey:e}))},t.prototype.getMenuNodeKey=function(e,t){return void 0===t&&(t=null),ge(en("MenuNodeKey"),ie({currentUrl:e,mapProviderName:t}))},m([le("ns.getMenuState")],t.prototype,"getMenuState",null),m([le("ns.getMenuNodeKey")],t.prototype,"getMenuNodeKey",null),t}(be),en=function(e){return new $t(e)};I(Re,"navigation",Jt),Reflect.defineProperty(p.prototype,"navigation",{configurable:!0,enumerable:!0,get:function(){return en().configure(this._options)}});var tn,nn=_e(function(e){function t(t,n){void 0===n&&(n="_api/sp.userprofiles.peoplemanager");var r=e.call(this,t,n)||this;return r.clientPeoplePickerQuery=new sn(t).configureFrom(r),r.profileLoader=new rn(t).configureFrom(r),r}return f(t,e),Object.defineProperty(t.prototype,"editProfileLink",{get:function(){return this.clone(nn,"EditProfileLink").get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMyPeopleListPublic",{get:function(){return this.clone(nn,"IsMyPeopleListPublic").get()},enumerable:!1,configurable:!0}),t.prototype.amIFollowedBy=function(e){var t=this.clone(nn,"amifollowedby(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),t.get()},t.prototype.amIFollowing=function(e){var t=this.clone(nn,"amifollowing(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),t.get()},t.prototype.getFollowedTags=function(e){return void 0===e&&(e=20),this.clone(nn,"getfollowedtags("+e+")").get()},t.prototype.getFollowersFor=function(e){var t=this.clone(nn,"getfollowersfor(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),t.get()},Object.defineProperty(t.prototype,"myFollowers",{get:function(){return we(this,"getmyfollowers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"myProperties",{get:function(){return new t(this,"getmyproperties")},enumerable:!1,configurable:!0}),t.prototype.getPeopleFollowedBy=function(e){var t=this.clone(nn,"getpeoplefollowedby(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),t.get()},t.prototype.getPropertiesFor=function(e){var t=this.clone(nn,"getpropertiesfor(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),t.get()},Object.defineProperty(t.prototype,"trendingTags",{get:function(){var e=this.clone(nn,null);return e.concat(".gettrendingtags"),e.get()},enumerable:!1,configurable:!0}),t.prototype.getUserProfilePropertyFor=function(e,t){var n=this.clone(nn,"getuserprofilepropertyfor(accountname=@v, propertyname='"+t+"')");return n.query.set("@v","'"+encodeURIComponent(e)+"'"),n.get()},t.prototype.hideSuggestion=function(e){var t=this.clone(nn,"hidesuggestion(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),ge(t)},t.prototype.isFollowing=function(e,t){var n=this.clone(nn,null);return n.concat(".isfollowing(possiblefolloweraccountname=@v, possiblefolloweeaccountname=@y)"),n.query.set("@v","'"+encodeURIComponent(e)+"'"),n.query.set("@y","'"+encodeURIComponent(t)+"'"),n.get()},t.prototype.setMyProfilePic=function(e){var t=this;return new Promise(function(n,r){var o=new FileReader;o.onload=function(e){return g(t,void 0,void 0,function(){var t,o;return y(this,function(i){switch(i.label){case 0:t=e.target.result,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,ge(nn(this,"setmyprofilepicture"),{body:t})];case 2:return i.sent(),n(),[3,4];case 3:return o=i.sent(),r(o),[3,4];case 4:return[2]}})})},o.readAsArrayBuffer(e)})},t.prototype.setSingleValueProfileProperty=function(e,t,n){return ge(this.clone(nn,"SetSingleValueProfileProperty"),ie({accountName:e,propertyName:t,propertyValue:n}))},t.prototype.setMultiValuedProfileProperty=function(e,t,n){return ge(this.clone(nn,"SetMultiValuedProfileProperty"),ie({accountName:e,propertyName:t,propertyValues:n}))},t.prototype.createPersonalSiteEnqueueBulk=function(){for(var e=[],t=0;tthis.TotalRows?Promise.resolve(null):In(this._url)(r)},e.prototype.formatSearchResults=function(e){var t,n,r=new Array;if(void 0===e||null==e)return[];var o=e.results?e.results:e;try{for(var i=v(o),s=i.next();!s.done;s=i.next()){var a=s.value,u=a.Cells.results?a.Cells.results:a.Cells;r.push(u.reduce(function(e,t){return Reflect.defineProperty(e,t.Key,{configurable:!1,enumerable:!0,value:t.Value,writable:!1}),e},{}))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},e}(),Cn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.execute=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return this.mapQueryToQueryString(e),[4,this.get()];case 1:return t=r.sent(),[2,{PeopleNames:(n=Object(u.hOP)(t,"suggest")?function(e){return t.suggest[e].results}:function(e){return t[e]})("PeopleNames"),PersonalResults:n("PersonalResults"),Queries:n("Queries")}]}})})},t.prototype.mapQueryToQueryString=function(e){var t=this;this.query.set("querytext","'"+e.querytext+"'");var n,r=(n=e,function(e){return function(r){Object(u.hOP)(n,e)&&t.query.set(r,n[e].toString())}});r("count")("inumberofquerysuggestions"),r("personalCount")("inumberofresultsuggestions"),r("preQuery")("fprequerysuggestions"),r("hitHighlighting")("fhithighlighting"),r("capitalize")("fcapitalizefirstletters"),r("culture")("culture"),r("stemming")("enablestemming"),r("includePeople")("showpeoplenamesuggestions"),r("queryRules")("enablequeryrules"),r("prefixMatch")("fprefixmatchallterms")},m([le("su.execute")],t.prototype,"execute",null),t=m([ke("_api/search/suggest")],t)}(Ie);!function(e){e[e.Ascending=0]="Ascending",e[e.Descending=1]="Descending",e[e.FQLFormula=2]="FQLFormula"}(_n||(_n={})),function(e){e[e.ResultContainsKeyword=0]="ResultContainsKeyword",e[e.TitleContainsKeyword=1]="TitleContainsKeyword",e[e.TitleMatchesKeyword=2]="TitleMatchesKeyword",e[e.UrlStartsWith=3]="UrlStartsWith",e[e.UrlExactlyMatches=4]="UrlExactlyMatches",e[e.ContentTypeIs=5]="ContentTypeIs",e[e.FileExtensionMatches=6]="FileExtensionMatches",e[e.ResultHasTag=7]="ResultHasTag",e[e.ManualCondition=8]="ManualCondition"}(bn||(bn={})),function(e){e[e.None=0]="None",e[e.StringType=1]="StringType",e[e.Int32Type=2]="Int32Type",e[e.BooleanType=3]="BooleanType",e[e.StringArrayType=4]="StringArrayType",e[e.UnSupportedType=5]="UnSupportedType"}(Sn||(Sn={}));!function(){function e(){}e.Documents="e7ec8cee-ded8-43c9-beb5-436b54b31e84",e.ItemsMatchingContentType="5dc9f503-801e-4ced-8a2c-5d1237132419",e.ItemsMatchingTag="e1327b9c-2b8c-4b23-99c9-3730cb29c3f7",e.ItemsRelatedToCurrentUser="48fec42e-4a92-48ce-8363-c2703a40e67d",e.ItemsWithSameKeywordAsThisItem="5c069288-1d17-454a-8ac6-9c642a065f48",e.LocalPeopleResults="b09a7990-05ea-4af9-81ef-edfab16c4e31",e.LocalReportsAndDataResults="203fba36-2763-4060-9931-911ac8c0583b",e.LocalSharePointResults="8413cd39-2156-4e00-b54d-11efd9abdb89",e.LocalVideoResults="78b793ce-7956-4669-aa3b-451fc5defebf",e.Pages="5e34578e-4d08-4edc-8bf3-002acf3cdbcc",e.Pictures="38403c8c-3975-41a8-826e-717f2d41568a",e.Popular="97c71db1-58ce-4891-8b64-585bc2326c12",e.RecentlyChangedItems="ba63bbae-fa9c-42c0-b027-9a878f16557c",e.RecommendedItems="ec675252-14fa-4fbe-84dd-8d098ed74181",e.Wiki="9479bf85-e257-4318-b5a8-81a180f5faa1"}();p.prototype.search=function(e){return In(this._baseUrl,this._options)(e)},p.prototype.searchWithCaching=function(e,t){return new wn(this._baseUrl).configure(this._options).usingCaching(t).execute(e)},p.prototype.searchSuggest=function(e){return(t=this._baseUrl,void 0===(n=this._options)&&(n={}),function(e){return new Cn(t).configure(n).execute(e)})("string"==typeof e?{querytext:e}:e);var t,n};var En,kn,Tn,Dn,On,Mn,Fn,An=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Bn(this,"getById("+e+")"),"sus.getById")},t.prototype.getByEmail=function(e){return le.configure(Bn(this,"getByEmail('"+e+"')"),"sus.getByEmail")},t.prototype.getByLoginName=function(e){return le.configure(Bn(this).concat("('!@v::"+encodeURIComponent(e)+"')"),"sus.getByLoginName")},t.prototype.removeById=function(e){return ge(this.clone(An,"removeById("+e+")"))},t.prototype.removeByLoginName=function(e){var t=this.clone(An,"removeByLoginName(@v)");return t.query.set("@v","'"+encodeURIComponent(e)+"'"),ge(t)},t.prototype.add=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this,ie(Object(u.assign)(ae("SP.User"),{LoginName:e})))];case 1:return t.sent(),[2,this.getByLoginName(e)]}})})},m([le("sus.remId")],t.prototype,"removeById",null),m([le("sus.remLoginName")],t.prototype,"removeByLoginName",null),m([le("sus.add")],t.prototype,"add",null),t=m([ke("siteusers")],t)}(xe)),Bn=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("su"),t.update=t._update("SP.User",function(e){return{data:e,user:t}}),t}return f(t,e),Object.defineProperty(t.prototype,"groups",{get:function(){return le.configure(Rn(this,"groups"),"su.groups")},enumerable:!1,configurable:!0}),t}(Ie)),Rn=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(jn(this).concat("("+e+")"),"sgs.getById")},t.prototype.add=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return t=ie(Object(u.assign)(ae("SP.Group"),e)),[4,ge(le.configure(this,"sgs.add"),t)];case 1:return[2,{data:n=r.sent(),group:this.getById(n.Id)}]}})})},t.prototype.getByName=function(e){return le.configure(jn(this,"getByName('"+e+"')"),"sgs.getByName")},t.prototype.removeById=function(e){return ge(this.clone(Rn,"removeById('"+e+"')"))},t.prototype.removeByLoginName=function(e){return ge(this.clone(Rn,"removeByLoginName('"+e+"')"))},m([le("sgs.removeById")],t.prototype,"removeById",null),m([le("sgs.removeByLoginName")],t.prototype,"removeByLoginName",null),t=m([ke("sitegroups")],t)}(xe)),jn=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.update=t._update("SP.Group",function(e,n){var r=t;return Object(u.hOP)(n,"Title")&&(r=t.getParent(jn,t.parentUrl,"getByName('"+n.Title+"')")),{data:e,group:r}}),t}return f(t,e),Object.defineProperty(t.prototype,"users",{get:function(){return le.configure(An(this,"users"),"sg.users")},enumerable:!1,configurable:!0}),t.prototype.setUserAsOwner=function(e){return ge(this.clone(jn,"SetUserAsOwner("+e+")"))},m([le("sg.setUserAsOwner")],t.prototype,"setUserAsOwner",null),t}(Ie)),Ln=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return Nn(this).concat("("+e+")")},t.prototype.add=function(e,t){return g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Ln,"addroleassignment(principalid="+e+", roledefid="+t+")"))];case 1:return n.sent(),[2]}})})},t.prototype.remove=function(e,t){return g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Ln,"removeroleassignment(principalid="+e+", roledefid="+t+")"))];case 1:return n.sent(),[2]}})})},t=m([ke("roleassignments")],t)}(xe)),Nn=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("ra"),t}return f(t,e),Object.defineProperty(t.prototype,"groups",{get:function(){return le.configure(Rn(this,"groups"),"ra.groups")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bindings",{get:function(){return we(this,"roledefinitionbindings")},enumerable:!1,configurable:!0}),t}(Ie)),Un=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return Hn(this,"getById("+e+")")},t.prototype.getByName=function(e){return Hn(this,"getbyname('"+e+"')")},t.prototype.getByType=function(e){return Hn(this,"getbytype("+e+")")},t.prototype.add=function(e,t,n,r){return g(this,void 0,void 0,function(){var o,i;return y(this,function(s){switch(s.label){case 0:return o=ie({BasePermissions:{High:r.High.toString(),Low:r.Low.toString()},Description:t,Name:e,Order:n,__metadata:{type:"SP.RoleDefinition"}}),[4,ge(this,o)];case 1:return[2,{data:i=s.sent(),definition:this.getById(i.Id)}]}})})},t=m([ke("roledefinitions")],t)}(xe)),Hn=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("rd"),t}return f(t,e),t.prototype.update=function(e){return g(this,void 0,void 0,function(){var t,n,r,o,i;return y(this,function(s){switch(s.label){case 0:return t=["BasePermissions"],void 0!==Object(u.hOP)(e,t[0])&&(e[t[0]]=Object(u.assign)(ae("SP."+t[0]),e[t[0]])),n=ie(Object(u.assign)(ae("SP.RoleDefinition"),e),se({"X-HTTP-Method":"MERGE"})),[4,ge(this,n)];case 1:return r=s.sent(),o=this,Object(u.hOP)(e,"Name")&&(i=this.getParent(Un,this.parentUrl,""),o=i.getByName(e.Name)),[2,{data:r,definition:o}]}})})},t}(Ie));function Wn(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return(t=this.clone(Pe,"getUserEffectivePermissions(@user)")).query.set("@user","'"+encodeURIComponent(e)+"'"),[4,t.get()];case 1:return n=r.sent(),[2,Object(u.hOP)(n,"GetUserEffectivePermissions")?n.GetUserEffectivePermissions:n]}})})}function zn(){return g(this,void 0,void 0,function(){return y(this,function(e){return[2,this.clone(Se,"EffectiveBasePermissions").get().then(function(e){return Object(u.hOP)(e,"EffectiveBasePermissions")?e.EffectiveBasePermissions:e})]})})}function Kn(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!1),g(this,void 0,void 0,function(){return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(Se,"breakroleinheritance(copyroleassignments="+e+", clearsubscopes="+t+")"))];case 1:return n.sent(),[2]}})})}function Vn(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:return[4,ge(this.clone(Se,"resetroleinheritance"))];case 1:return e.sent(),[2]}})})}function qn(e,t){return g(this,void 0,void 0,function(){var n;return y(this,function(r){switch(r.label){case 0:return[4,Wn.call(this,e)];case 1:return n=r.sent(),[2,this.hasPermissions(n,t)]}})})}function Gn(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,zn.call(this)];case 1:return t=n.sent(),[2,this.hasPermissions(t,e)]}})})}function Zn(e,t){if(!t)return!0;if(t===En.FullMask)return 32767==(32767&e.High)&&65535===e.Low;var n=1;return(t-=1)>=0&&t<32?(n<<=t,0!=(e.Low&n)):t>=32&&t<64&&(n<<=t-32,0!=(e.High&n))}function Qn(e,t,n){return void 0===n&&(n=!1),g(this,void 0,void 0,function(){var r,o,i;return y(this,function(s){switch(s.label){case 0:return n?[2,or(e,t)]:[4,ir((t=Object(u.assign)(t,{group:null,includeAnonymousLinkInEmail:!1,propagateAcl:!1,useSimplifiedRoles:!0},!0)).role,t.group)];case 1:return r=s.sent(),Array.isArray(t.loginNames)||(t.loginNames=[t.loginNames]),o=Object(u.jsS)(t.loginNames.map(function(e){return{Key:e}})),i={peoplePickerInput:o,roleValue:r,url:t.url},void 0!==t.emailData&&null!==t.emailData&&(i=Object(u.assign)(i,{emailBody:t.emailData.body,emailSubject:void 0!==t.emailData.subject?t.emailData.subject:"Shared with you.",sendEmail:!0})),[2,or(e,i)]}})})}function Xn(e,t){void 0===t&&(t=null);var n=null!==t?t.toISOString():null,r=le.configure(this.clone(Pe,"shareLink"),"sh.getShareLink");return ge(r,ie({request:{createLink:!0,emailData:null,settings:{expiration:n,linkKind:e}}}))}function Yn(e){var t=le.configure(this.clone(Pe,"checkPermissions"),"sh.checkPermissions");return ge(t,ie({recipients:e}))}function Jn(e,t){void 0===e&&(e=null),void 0===t&&(t=[]);var n=le.configure(this.clone(Pe,"getSharingInformation"),"sh.getSharingInformation");return ge(n.expand.apply(n,b(t)),ie({request:e}))}function $n(e){void 0===e&&(e=!0);var t=le.configure(this.clone(Pe,"getObjectSharingSettings"),"sh.getObjectSharingSettings");return ge(t,ie({useSimplifiedRoles:e}))}function er(){return ge(le.configure(this.clone(Pe,"unshareObject"),"sh.unshareObject"))}function tr(e){return ge(le.configure(this.clone(Pe,"deleteLinkByKind"),"sh.deleteLinkByKind"),ie({linkKind:e}))}function nr(e,t){return void 0===t&&(t=l),ge(le.configure(this.clone(Pe,"unshareLink"),"sh.unshareLink"),ie({linkKind:e,shareId:t}))}function rr(e,t,n,r,o,i){return void 0===r&&(r=!1),void 0===o&&(o=!1),g(this,void 0,void 0,function(){var s,a,l,c;return y(this,function(d){switch(d.label){case 0:return Array.isArray(t)||(t=[t]),s=Object(u.jsS)(t.map(function(e){return{Key:e}})),a=n===kn.Edit?Fn.Contributor:Fn.Reader,[4,we("_api/web","roledefinitions").select("Id").filter("RoleTypeKind eq "+a).get()];case 1:if(l=d.sent(),!Array.isArray(l)||l.length<1)throw Error("Could not locate a role defintion with RoleTypeKind "+a);return c={includeAnonymousLinkInEmail:r,peoplePickerInput:s,propagateAcl:o,roleValue:"role:"+l[0].Id,useSimplifiedRoles:!0},void 0!==i&&(c=Object(u.assign)(c,{emailBody:i.body,emailSubject:void 0!==i.subject?i.subject:"",sendEmail:!0})),[2,ge(le.configure(e.clone(Pe,"shareObject"),"sh.shareWith"),ie(c))]}})})}function or(e,t){var n=le.configure(je(ue(e.toUrl()),"/_api/SP.Web.ShareObject"),"sh.sendShareObjectRequest");return ge(n.expand("UsersWithAccessRequests","GroupsSharedWith"),ie(t))}function ir(e,t){return g(this,void 0,void 0,function(){var n,r;return y(this,function(o){switch(o.label){case 0:if(null==t)return[3,7];switch(t){case Fn.Contributor:return[3,1];case Fn.Reader:case Fn.Guest:return[3,3]}return[3,5];case 1:return[4,je("_api/web","associatedmembergroup").select("Id")()];case 2:return[2,"group: "+o.sent().Id];case 3:return[4,je("_api/web","associatedvisitorgroup").select("Id")()];case 4:return[2,"group: "+o.sent().Id];case 5:throw Error("Could not determine role value for supplied value. Contributor, Reader, and Guest are supported");case 6:return[3,9];case 7:return n=e===kn.Edit?Fn.Contributor:Fn.Reader,[4,Un("_api/web").select("Id").top(1).filter("RoleTypeKind eq "+n)()];case 8:if((r=o.sent()).length<1)throw Error("Could not locate associated role definition for supplied role. Edit and View are supported");return[2,"role: "+r[0].Id];case 9:return[2]}})})}!function(e){e[e.EmptyMask=0]="EmptyMask",e[e.ViewListItems=1]="ViewListItems",e[e.AddListItems=2]="AddListItems",e[e.EditListItems=3]="EditListItems",e[e.DeleteListItems=4]="DeleteListItems",e[e.ApproveItems=5]="ApproveItems",e[e.OpenItems=6]="OpenItems",e[e.ViewVersions=7]="ViewVersions",e[e.DeleteVersions=8]="DeleteVersions",e[e.CancelCheckout=9]="CancelCheckout",e[e.ManagePersonalViews=10]="ManagePersonalViews",e[e.ManageLists=12]="ManageLists",e[e.ViewFormPages=13]="ViewFormPages",e[e.AnonymousSearchAccessList=14]="AnonymousSearchAccessList",e[e.Open=17]="Open",e[e.ViewPages=18]="ViewPages",e[e.AddAndCustomizePages=19]="AddAndCustomizePages",e[e.ApplyThemeAndBorder=20]="ApplyThemeAndBorder",e[e.ApplyStyleSheets=21]="ApplyStyleSheets",e[e.ViewUsageData=22]="ViewUsageData",e[e.CreateSSCSite=23]="CreateSSCSite",e[e.ManageSubwebs=24]="ManageSubwebs",e[e.CreateGroups=25]="CreateGroups",e[e.ManagePermissions=26]="ManagePermissions",e[e.BrowseDirectories=27]="BrowseDirectories",e[e.BrowseUserInfo=28]="BrowseUserInfo",e[e.AddDelPrivateWebParts=29]="AddDelPrivateWebParts",e[e.UpdatePersonalWebParts=30]="UpdatePersonalWebParts",e[e.ManageWeb=31]="ManageWeb",e[e.AnonymousSearchAccessWebLists=32]="AnonymousSearchAccessWebLists",e[e.UseClientIntegration=37]="UseClientIntegration",e[e.UseRemoteAPIs=38]="UseRemoteAPIs",e[e.ManageAlerts=39]="ManageAlerts",e[e.CreateAlerts=40]="CreateAlerts",e[e.EditMyUserInfo=41]="EditMyUserInfo",e[e.EnumeratePermissions=63]="EnumeratePermissions",e[e.FullMask=65]="FullMask"}(En||(En={})),I(Ve,"roleAssignments",Ln),I(Ve,"firstUniqueAncestorSecurableObject",Pe),Ve.prototype.getUserEffectivePermissions=Wn,Ve.prototype.getCurrentUserEffectivePermissions=zn,Ve.prototype.breakRoleInheritance=Kn,Ve.prototype.resetRoleInheritance=Vn,Ve.prototype.userHasPermissions=qn,Ve.prototype.currentUserHasPermissions=Gn,Ve.prototype.hasPermissions=Zn,I(We,"roleAssignments",Ln),I(We,"firstUniqueAncestorSecurableObject",Pe),We.prototype.getUserEffectivePermissions=Wn,We.prototype.getCurrentUserEffectivePermissions=zn,We.prototype.breakRoleInheritance=Kn,We.prototype.resetRoleInheritance=Vn,We.prototype.userHasPermissions=qn,We.prototype.currentUserHasPermissions=Gn,We.prototype.hasPermissions=Zn,I(Re,"roleDefinitions",Un),I(Re,"roleAssignments",Ln),I(Re,"firstUniqueAncestorSecurableObject",Pe),Re.prototype.getUserEffectivePermissions=Wn,Re.prototype.getCurrentUserEffectivePermissions=zn,Re.prototype.breakRoleInheritance=Kn,Re.prototype.resetRoleInheritance=Vn,Re.prototype.userHasPermissions=qn,Re.prototype.currentUserHasPermissions=Gn,Re.prototype.hasPermissions=Zn,function(e){e[e.None=0]="None",e[e.View=1]="View",e[e.Edit=2]="Edit",e[e.Owner=3]="Owner"}(kn||(kn={})),function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Folder=2]="Folder",e[e.Item=3]="Item",e[e.List=4]="List",e[e.Web=5]="Web",e[e.Max=6]="Max"}(Tn||(Tn={})),function(e){e[e.None=0]="None",e[e.AllowList=1]="AllowList",e[e.BlockList=2]="BlockList"}(Dn||(Dn={})),function(e){e[e.CompletedSuccessfully=0]="CompletedSuccessfully",e[e.AccessRequestsQueued=1]="AccessRequestsQueued",e[e.NoResolvedUsers=-1]="NoResolvedUsers",e[e.AccessDenied=-2]="AccessDenied",e[e.CrossSiteRequestNotSupported=-3]="CrossSiteRequestNotSupported",e[e.UnknowError=-4]="UnknowError",e[e.EmailBodyTooLong=-5]="EmailBodyTooLong",e[e.ListUniqueScopesExceeded=-6]="ListUniqueScopesExceeded",e[e.CapabilityDisabled=-7]="CapabilityDisabled",e[e.ObjectNotSupported=-8]="ObjectNotSupported",e[e.NestedGroupsNotSupported=-9]="NestedGroupsNotSupported"}(On||(On={})),function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Direct=1]="Direct",e[e.OrganizationView=2]="OrganizationView",e[e.OrganizationEdit=3]="OrganizationEdit",e[e.AnonymousView=4]="AnonymousView",e[e.AnonymousEdit=5]="AnonymousEdit",e[e.Flexible=6]="Flexible"}(Mn||(Mn={})),function(e){e[e.None=0]="None",e[e.Guest=1]="Guest",e[e.Reader=2]="Reader",e[e.Contributor=3]="Contributor",e[e.WebDesigner=4]="WebDesigner",e[e.Administrator=5]="Administrator"}(Fn||(Fn={})),nt.prototype.shareWith=function(e,t,n,r){return void 0===t&&(t=kn.View),void 0===n&&(n=!1),rr(this,e,t,n,!1,r)},nt.prototype.getShareLink=Xn,nt.prototype.checkSharingPermissions=Yn,nt.prototype.getSharingInformation=Jn,nt.prototype.getObjectSharingSettings=$n,nt.prototype.unshare=er,nt.prototype.deleteSharingLinkByKind=tr,nt.prototype.unshareLink=nr,Ct.prototype.shareWith=function(e,t,n,r,o){return void 0===t&&(t=kn.View),void 0===n&&(n=!1),void 0===r&&(r=!1),g(this,void 0,void 0,function(){var i,s;return y(this,function(a){switch(a.label){case 0:return i=this.addBatchDependency(),[4,this.getShareable()];case 1:return s=a.sent(),i(),[2,s.shareWith(e,t,n,r,o)]}})})},Ct.prototype.getShareLink=function(e,t){return void 0===t&&(t=null),g(this,void 0,void 0,function(){var n,r;return y(this,function(o){switch(o.label){case 0:return n=this.addBatchDependency(),[4,this.getShareable()];case 1:return r=o.sent(),n(),[2,r.getShareLink(e,t)]}})})},Ct.prototype.checkSharingPermissions=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return t=this.addBatchDependency(),[4,this.getShareable()];case 1:return n=r.sent(),t(),[2,n.checkSharingPermissions(e)]}})})},Ct.prototype.getSharingInformation=function(e,t){return g(this,void 0,void 0,function(){var n,r;return y(this,function(o){switch(o.label){case 0:return n=this.addBatchDependency(),[4,this.getShareable()];case 1:return r=o.sent(),n(),[2,r.getSharingInformation(e,t)]}})})},Ct.prototype.getObjectSharingSettings=function(e){return void 0===e&&(e=!0),g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return t=this.addBatchDependency(),[4,this.getShareable()];case 1:return n=r.sent(),t(),[2,n.getObjectSharingSettings(e)]}})})},Ct.prototype.unshare=function(){return g(this,void 0,void 0,function(){var e,t;return y(this,function(n){switch(n.label){case 0:return e=this.addBatchDependency(),[4,this.getShareable()];case 1:return t=n.sent(),e(),[2,t.unshare()]}})})},Ct.prototype.deleteSharingLinkByKind=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return t=this.addBatchDependency(),[4,this.getShareable()];case 1:return n=r.sent(),t(),[2,n.deleteSharingLinkByKind(e)]}})})},Ct.prototype.unshareLink=function(e,t){return g(this,void 0,void 0,function(){var n,r;return y(this,function(o){switch(o.label){case 0:return n=this.addBatchDependency(),[4,this.getShareable()];case 1:return r=o.sent(),n(),[2,r.unshareLink(e,t)]}})})},Ve.prototype.shareWith=function(e,t,n,r){return void 0===t&&(t=kn.View),void 0===n&&(n=!1),rr(this,e,t,n,!1,r)},Ve.prototype.getShareLink=Xn,Ve.prototype.checkSharingPermissions=Yn,Ve.prototype.getSharingInformation=Jn,Ve.prototype.getObjectSharingSettings=$n,Ve.prototype.unshare=er,Ve.prototype.deleteSharingLinkByKind=tr,Ve.prototype.unshareLink=nr,Re.prototype.shareWith=function(e,t,n){return void 0===t&&(t=kn.View),g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=this.addBatchDependency(),[4,new Ie(ue(this.toUrl()),"/_api/web/url").get()];case 1:return o=i.sent(),r(),[2,this.shareObject(Object(u.combine)(o,"/_layouts/15/aclinv.aspx?forSharing=1&mbypass=1"),e,t,n)]}})})},Re.prototype.shareObject=function(e,t,n,r,o,i,s,a){return void 0===i&&(i=!1),void 0===s&&(s=!1),void 0===a&&(a=!0),Qn(this,{emailData:r,group:o,includeAnonymousLinkInEmail:s,loginNames:t,propagateAcl:i,role:n,url:e,useSimplifiedRoles:a})},Re.prototype.shareObjectRaw=function(e){return Qn(this,e,!0)},Re.prototype.unshareObject=function(e){return ge(je(this,"unshareObject"),ie({url:e}))};var sr=function(e){function t(t,n){void 0===n&&(n="");var r="string"==typeof t?t:t.toUrl();return e.call(this,ue(r),"_api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptUtility."+n)||this}return f(t,e),t.prototype.execute=function(e){return ge(this,ie(e,se({"Content-Type":"application/json;charset=utf-8"})))},t.prototype.createSiteDesign=function(e){return this.clone(ur,"CreateSiteDesign").execute({info:e})},t.prototype.applySiteDesign=function(e,t){return this.clone(ur,"ApplySiteDesign").execute({siteDesignId:e,webUrl:t})},t.prototype.getSiteDesigns=function(){return this.clone(ur,"GetSiteDesigns").execute({})},t.prototype.getSiteDesignMetadata=function(e){return this.clone(ur,"GetSiteDesignMetadata").execute({id:e})},t.prototype.updateSiteDesign=function(e){return this.clone(ur,"UpdateSiteDesign").execute({updateInfo:e})},t.prototype.deleteSiteDesign=function(e){return this.clone(ur,"DeleteSiteDesign").execute({id:e})},t.prototype.getSiteDesignRights=function(e){return this.clone(ur,"GetSiteDesignRights").execute({id:e})},t.prototype.grantSiteDesignRights=function(e,t,n){return void 0===n&&(n=1),this.clone(ur,"GrantSiteDesignRights").execute({grantedRights:n.toString(),id:e,principalNames:t})},t.prototype.revokeSiteDesignRights=function(e,t){return this.clone(ur,"RevokeSiteDesignRights").execute({id:e,principalNames:t})},t.prototype.addSiteDesignTask=function(e,t){return this.clone(ur,"AddSiteDesignTask").execute({webUrl:e,siteDesignId:t})},t.prototype.addSiteDesignTaskToCurrentWeb=function(e){return this.clone(ur,"AddSiteDesignTaskToCurrentWeb").execute({siteDesignId:e})},t.prototype.getSiteDesignTask=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(ur,"GetSiteDesignTask").execute({taskId:e})];case 1:return t=n.sent(),[2,Object(u.hOP)(t,"ID")?t:null]}})})},t.prototype.getSiteDesignRun=function(e,t){return this.clone(ur,"GetSiteDesignRun").execute({webUrl:e,siteDesignId:t})},t.prototype.getSiteDesignRunStatus=function(e,t){return this.clone(ur,"GetSiteDesignRunStatus").execute({webUrl:e,runId:t})},m([le("sd.createSiteDesign")],t.prototype,"createSiteDesign",null),m([le("sd.applySiteDesign")],t.prototype,"applySiteDesign",null),m([le("sd.getSiteDesigns")],t.prototype,"getSiteDesigns",null),m([le("sd.getSiteDesignMetadata")],t.prototype,"getSiteDesignMetadata",null),m([le("sd.updateSiteDesign")],t.prototype,"updateSiteDesign",null),m([le("sd.deleteSiteDesign")],t.prototype,"deleteSiteDesign",null),m([le("sd.getSiteDesignRights")],t.prototype,"getSiteDesignRights",null),m([le("sd.grantSiteDesignRights")],t.prototype,"grantSiteDesignRights",null),m([le("sd.revokeSiteDesignRights")],t.prototype,"revokeSiteDesignRights",null),m([le("sd.addSiteDesignTask")],t.prototype,"addSiteDesignTask",null),m([le("sd.addSiteDesignTaskToCurrentWeb")],t.prototype,"addSiteDesignTaskToCurrentWeb",null),m([le("sd.getSiteDesignTask")],t.prototype,"getSiteDesignTask",null),m([le("sd.getSiteDesignRun")],t.prototype,"getSiteDesignRun",null),m([le("sd.getSiteDesignRunStatus")],t.prototype,"getSiteDesignRunStatus",null),t}(be),ar=function(e,t){return new sr(e,t)},ur=function(e,t){return void 0===t&&(t=""),ar(e,t)};Re.prototype.getSiteDesignRuns=function(e){return ar(this,"").getSiteDesignRun(void 0,e)},Re.prototype.addSiteDesignTask=function(e){return ar(this,"").addSiteDesignTaskToCurrentWeb(e)},Re.prototype.getSiteDesignRunStatus=function(e){return ar(this,"").getSiteDesignRunStatus(void 0,e)},Reflect.defineProperty(p.prototype,"siteDesigns",{configurable:!0,enumerable:!0,get:function(){return ar(this._baseUrl)}}),I(Re,"siteGroups",Rn),I(Re,"associatedOwnerGroup",Rn,"associatedownergroup"),I(Re,"associatedMemberGroup",Rn,"associatedmembergroup"),I(Re,"associatedVisitorGroup",Rn,"associatedvisitorgroup"),Re.prototype.createDefaultAssociatedGroups=function(e,t,n,r,o){return void 0===n&&(n=!1),void 0===r&&(r=!0),g(this,void 0,void 0,function(){var i;return y(this,function(s){switch(s.label){case 0:return[4,this.breakRoleInheritance(n,r)];case 1:return s.sent(),(i=this.clone(je,"createDefaultAssociatedGroups(userLogin=@u,userLogin2=@v,groupNameSeed=@s)")).query.set("@u","'"+Me(t||"")+"'"),i.query.set("@v","'"+Me(o||"")+"'"),i.query.set("@s","'"+Me(e||"")+"'"),[2,ge(i)]}})})};var lr,cr=function(e){function t(t,n){void 0===n&&(n="");var r="string"==typeof t?t:t.toUrl();return e.call(this,ue(r),"_api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptUtility."+n)||this}return f(t,e),t.prototype.execute=function(e){return ge(this,ie(e))},t.prototype.getSiteScripts=function(){return this.clone(pr,"GetSiteScripts",!0).execute({})},t.prototype.createSiteScript=function(e,t,n){return this.clone(pr,"CreateSiteScript(Title=@title,Description=@desc)?@title='"+Me(e)+"'&@desc='"+Me(t)+"'").execute(n)},t.prototype.getSiteScriptMetadata=function(e){return this.clone(pr,"GetSiteScriptMetadata").execute({id:e})},t.prototype.deleteSiteScript=function(e){return this.clone(pr,"DeleteSiteScript").execute({id:e})},t.prototype.updateSiteScript=function(e,t){return t&&(e.Content=JSON.stringify(t)),this.clone(pr,"UpdateSiteScript").execute({updateInfo:e})},t.prototype.getSiteScriptFromList=function(e){return this.clone(pr,"GetSiteScriptFromList").execute({listUrl:e})},t.prototype.getSiteScriptFromWeb=function(e,t){return this.clone(pr,"getSiteScriptFromWeb").execute({webUrl:e,info:t})},t.prototype.executeSiteScriptAction=function(e){return this.clone(pr,"executeSiteScriptAction").execute({actionDefinition:e})},m([le("ss.getSiteScripts")],t.prototype,"getSiteScripts",null),m([le("ss.createSiteScript")],t.prototype,"createSiteScript",null),m([le("ss.getSiteScriptMetadata")],t.prototype,"getSiteScriptMetadata",null),m([le("ss.deleteSiteScript")],t.prototype,"deleteSiteScript",null),m([le("ss.updateSiteScript")],t.prototype,"updateSiteScript",null),m([le("ss.getSiteScriptFromList")],t.prototype,"getSiteScriptFromList",null),m([le("ss.getSiteScriptFromWeb")],t.prototype,"getSiteScriptFromWeb",null),m([le("ss.executeSiteScriptAction")],t.prototype,"executeSiteScriptAction",null),t}(be),dr=function(e,t){return new cr(e,t)},pr=function(e,t){return void 0===t&&(t=""),dr(e,t)};!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure",e[e.NoOp=2]="NoOp",e[e.SucceededWithException=3]="SucceededWithException"}(lr||(lr={})),Re.prototype.getSiteScript=function(e){return dr(this.toUrl(),"").getSiteScriptFromWeb(void 0,e)},We.prototype.getSiteScript=function(){return g(this,void 0,void 0,function(){var e,t,n;return y(this,function(r){switch(r.label){case 0:return[4,this.clone(ze).rootFolder.get()];case 1:return e=r.sent(),[4,je(ue(this.toUrl())).select("Url").get()];case 2:return t=r.sent(),n=Object(u.combine)(t.Url,"Lists",e.Name),[2,dr(this,"").getSiteScriptFromList(n)]}})})},Reflect.defineProperty(p.prototype,"siteScripts",{configurable:!0,enumerable:!0,get:function(){return dr(this._baseUrl)}}),I(Re,"siteUsers",An),I(Re,"currentUser",Bn,"currentuser"),Re.prototype.ensureUser=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,ge(this.clone(je,"ensureuser"),ie({logonName:e}))];case 1:return[2,{data:t=n.sent(),user:Bn(Te(t))}]}})})},Re.prototype.getUserById=function(e){return Bn(this,"getUserById("+e+")")};var hr,fr,mr,gr,yr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"my",{get:function(){return _r(this)},enumerable:!1,configurable:!0}),t.prototype.getFollowedSitesUri=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.clone(vr,"FollowedSitesUri").get()];case 1:return[2,(e=t.sent()).FollowedSitesUri||e]}})})},t.prototype.getFollowedDocumentsUri=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.clone(vr,"FollowedDocumentsUri").get()];case 1:return[2,(e=t.sent()).FollowedDocumentsUri||e]}})})},t.prototype.follow=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(vr,"follow"),this.createSocialActorInfoRequestBody(e))];case 1:return[2,t.sent()]}})})},t.prototype.isFollowed=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(vr,"isfollowed"),this.createSocialActorInfoRequestBody(e))];case 1:return[2,t.sent()]}})})},t.prototype.stopFollowing=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,ge(this.clone(vr,"stopfollowing"),this.createSocialActorInfoRequestBody(e))];case 1:return[2,t.sent()]}})})},t.prototype.createSocialActorInfoRequestBody=function(e){return ie({actor:Object.assign(ae("SP.Social.SocialActorInfo"),{Id:null},e)})},m([le("soc.getFollowedSitesUri")],t.prototype,"getFollowedSitesUri",null),m([le("soc.getFollowedDocumentsUri")],t.prototype,"getFollowedDocumentsUri",null),m([le("soc.follow")],t.prototype,"follow",null),m([le("soc.isFollowed")],t.prototype,"isFollowed",null),m([le("soc.stopFollowing")],t.prototype,"stopFollowing",null),t=m([ke("_api/social.following")],t)}(Ie),vr=function(e,t){return new yr(e,t)},_r=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.followed=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(br,"followed(types="+e+")")()];case 1:return t=n.sent(),[2,Object(u.hOP)(t,"Followed")?t.Followed.results:t]}})})},t.prototype.followedCount=function(e){return g(this,void 0,void 0,function(){var t;return y(this,function(n){switch(n.label){case 0:return[4,this.clone(br,"followedcount(types="+e+")")()];case 1:return[2,(t=n.sent()).FollowedCount||t]}})})},t.prototype.followers=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.clone(br,"followers")()];case 1:return e=t.sent(),[2,Object(u.hOP)(e,"Followers")?e.Followers.results:e]}})})},t.prototype.suggestions=function(){return g(this,void 0,void 0,function(){var e;return y(this,function(t){switch(t.label){case 0:return[4,this.clone(br,"suggestions")()];case 1:return e=t.sent(),[2,Object(u.hOP)(e,"Suggestions")?e.Suggestions.results:e]}})})},m([le("msoc.followed")],t.prototype,"followed",null),m([le("msoc.followedCount")],t.prototype,"followedCount",null),m([le("msoc.followers")],t.prototype,"followers",null),m([le("msoc.suggestions")],t.prototype,"suggestions",null),t=m([ke("my")],t)}(Ie)),br=function(e,t){return _r(e,t)};!function(e){e[e.User=0]="User",e[e.Document=1]="Document",e[e.Site=2]="Site",e[e.Tag=3]="Tag"}(hr||(hr={})),function(e){e[e.None=0]="None",e[e.User=1]="User",e[e.Document=2]="Document",e[e.Site=4]="Site",e[e.Tag=8]="Tag",e[e.ExcludeContentWithoutFeeds=268435456]="ExcludeContentWithoutFeeds",e[e.IncludeGroupsSites=536870912]="IncludeGroupsSites",e[e.WithinLast24Hours=1073741824]="WithinLast24Hours"}(fr||(fr={})),function(e){e[e.Ok=0]="Ok",e[e.AlreadyFollowing=1]="AlreadyFollowing",e[e.LimitReached=2]="LimitReached",e[e.InternalError=3]="InternalError"}(mr||(mr={})),function(e){e[e.OK=0]="OK",e[e.InvalidRequest=1]="InvalidRequest",e[e.AccessDenied=2]="AccessDenied",e[e.ItemNotFound=3]="ItemNotFound",e[e.InvalidOperation=4]="InvalidOperation",e[e.ItemNotModified=5]="ItemNotModified",e[e.InternalError=6]="InternalError",e[e.CacheReadError=7]="CacheReadError",e[e.CacheUpdateError=8]="CacheUpdateError",e[e.PersonalSiteNotFound=9]="PersonalSiteNotFound",e[e.FailedToCreatePersonalSite=10]="FailedToCreatePersonalSite",e[e.NotAuthorizedToCreatePersonalSite=11]="NotAuthorizedToCreatePersonalSite",e[e.CannotCreatePersonalSite=12]="CannotCreatePersonalSite",e[e.LimitReached=13]="LimitReached",e[e.AttachmentError=14]="AttachmentError",e[e.PartialData=15]="PartialData",e[e.FeatureDisabled=16]="FeatureDisabled",e[e.StorageQuotaExceeded=17]="StorageQuotaExceeded",e[e.DatabaseError=18]="DatabaseError"}(gr||(gr={})),Reflect.defineProperty(p.prototype,"social",{configurable:!0,enumerable:!0,get:function(){return e=this._baseUrl,new yr(e);var e}});var Sr=_e(function(e){function t(t,n){var r="string"==typeof t?t:t.toUrl();return e.call(this,ue(r),"_api/SP.Utilities.Utility."+n)||this}return f(t,e),t.prototype.excute=function(e){return ge(this,ie(e))},t.prototype.sendEmail=function(e){var t,n={properties:Object(u.assign)(ae("SP.Utilities.EmailProperties"),{Body:e.Body,From:e.From,Subject:e.Subject})};return e.To&&e.To.length>0&&(n.properties=Object(u.assign)(n.properties,{To:{results:e.To}})),e.CC&&e.CC.length>0&&(n.properties=Object(u.assign)(n.properties,{CC:{results:e.CC}})),e.BCC&&e.BCC.length>0&&(n.properties=Object(u.assign)(n.properties,{BCC:{results:e.BCC}})),e.AdditionalHeaders&&(n.properties=Object(u.assign)(n.properties,{AdditionalHeaders:(t=e.AdditionalHeaders,Object(u.assign)(ae("Collection(SP.KeyValue)"),{results:Object.keys(t).map(function(e){return Object(u.assign)(ae("SP.KeyValue"),{Key:e,Value:Reflect.get(t,e),ValueType:"Edm.String"})})}))})),le.configure(this.clone(xr,"SendEmail",!0),"u.sendEmail").excute(n)},t.prototype.getCurrentUserEmailAddresses=function(){return le.configure(this.clone(xr,"GetCurrentUserEmailAddresses",!0),"u.getCurrentUserEmailAddresses").excute({})},t.prototype.resolvePrincipal=function(e,t,n,r,o,i){void 0===i&&(i=!1);var s={addToUserInfoList:o,input:e,inputIsEmailOnly:r,matchUserInfoList:i,scopes:t,sources:n},a=this.clone(xr,"ResolvePrincipalInCurrentContext",!0);return le.configure(a,"u.ResolvePrincipalInCurrentContext").excute(s)},t.prototype.searchPrincipals=function(e,t,n,r,o){var i={groupName:r,input:e,maxCount:o,scopes:t,sources:n},s=this.clone(xr,"SearchPrincipalsUsingContextWeb",!0);return le.configure(s,"u.SearchPrincipalsUsingContextWeb").excute(i)},t.prototype.createEmailBodyForInvitation=function(e){var t={pageAddress:e},n=this.clone(xr,"CreateEmailBodyForInvitation",!0);return le.configure(n,"u.CreateEmailBodyForInvitation").excute(t)},t.prototype.expandGroupsToPrincipals=function(e,t){void 0===t&&(t=30);var n={inputs:e,maxCount:t},r=this.clone(xr,"ExpandGroupsToPrincipals",!0);return le.configure(r,"u.ExpandGroupsToPrincipals").excute(n)},t.prototype.createWikiPage=function(e){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return t=this.clone(xr,"CreateWikiPageInContextWeb",!0),[4,le.configure(t,"u.CreateWikiPageInContextWeb").excute({parameters:e})];case 1:return[2,{data:n=r.sent(),file:rt(Te(n))}]}})})},t}(be)),xr=function(e,t){return Sr(e,t)};Reflect.defineProperty(p.prototype,"utility",{configurable:!0,enumerable:!0,get:function(){return Sr(this._baseUrl,"")}});var wr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Ir(this).concat("('"+e+"')"),"subs.getById")},t.prototype.add=function(e,t,n){return g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r={expirationDateTime:t,notificationUrl:e,resource:this.toUrl()},n&&(r.clientState=n),[4,ge(this,ie(r,se({"Content-Type":"application/json"})))];case 1:return[2,{data:o=i.sent(),subscription:this.getById(o.id)}]}})})},m([le("subs.add")],t.prototype,"add",null),t=m([ke("subscriptions")],t)}(xe)),Ir=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.update=function(e,t,n){return g(this,void 0,void 0,function(){var r;return y(this,function(o){switch(o.label){case 0:return r={},e&&(r.expirationDateTime=e),t&&(r.notificationUrl=t),n&&(r.clientState=n),[4,(i=this,s=ie(r,se({"Content-Type":"application/json"})),fe("PATCH")(i,s))];case 1:return[2,{data:o.sent(),subscription:this}]}var i,s})})},t.prototype.delete=function(){return e=this,fe("DELETE")(e,t);var e,t},m([le("sub.update")],t.prototype,"update",null),m([le("sub.delete")],t.prototype,"delete",null),t}(Ie));I(We,"subscriptions",wr);var Pr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"groups",{get:function(){return le.configure(Cr(this),"txts.groups")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sets",{get:function(){return le.configure(kr(this),"txts.sets")},enumerable:!1,configurable:!0}),t=m([ke("_api/v2.1/termstore")],t)}(Ie)),Cr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Er(this,e),"txtgs.getById")},t=m([ke("groups")],t)}(xe)),Er=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"sets",{get:function(){return le.configure(kr(this,"sets"),"txtg.sets")},enumerable:!1,configurable:!0}),t}(Ie)),kr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Tr(this,e),"txts.getById")},t=m([ke("sets")],t)}(xe)),Tr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"parentGroup",{get:function(){return le.configure(Er(this,"parentGroup"),"txts.parentGroup")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return le.configure(Dr(this),"txts.children")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relations",{get:function(){return le.configure(Mr(this),"txts.relations")},enumerable:!1,configurable:!0}),t.prototype.getTermById=function(e){return le.configure(this.clone(Or,"terms/"+e),"txts.getTermById")},t}(Ie)),Dr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t=m([ke("children")],t)}(xe)),Or=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return le.configure(Or(this,"parent"),"txt.parent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return le.configure(Dr(this),"txt.children")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relations",{get:function(){return le.configure(Mr(this),"txt.relations")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"set",{get:function(){return le.configure(Tr(this,"set"),"txt.set")},enumerable:!1,configurable:!0}),t}(Ie)),Mr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return le.configure(Fr(this,e),"txrs.getById")},t=m([ke("relations")],t)}(xe)),Fr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"fromTerm",{get:function(){return le.configure(Or(this,"fromTerm"),"txr.fromTerm")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toTerm",{get:function(){return le.configure(Or(this,"toTerm"),"txr.toTerm")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"set",{get:function(){return le.configure(Tr(this,"set"),"txr.set")},enumerable:!1,configurable:!0}),t}(Ie));Reflect.defineProperty(p.prototype,"termStore",{configurable:!0,enumerable:!0,get:function(){return Pr(this._baseUrl).configure(this._options)}}),I(We,"userCustomActions",fn),I(Re,"userCustomActions",fn),I(Fe,"userCustomActions",fn);var Ar,Br=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return Rr(this).concat("('"+e+"')")},t.prototype.getByTitle=function(e){return Rr(this,"getByTitle('"+e+"')")},t.prototype.add=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n={}),g(this,void 0,void 0,function(){var r,o;return y(this,function(i){switch(i.label){case 0:return r=ie(Object.assign(ae("SP.View"),{PersonalView:t,Title:e},n)),[4,ge(this.clone(Br,null),r)];case 1:return[2,{data:o=i.sent(),view:this.getById(o.Id)}]}})})},m([le("vs.add")],t.prototype,"add",null),t=m([ke("views")],t)}(xe)),Rr=_e(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.delete=Ce("vw"),t.update=t._update("SP.View",function(e){return{data:e,view:t}}),t}return f(t,e),Object.defineProperty(t.prototype,"fields",{get:function(){return jr(this)},enumerable:!1,configurable:!0}),t.prototype.renderAsHtml=function(){return this.clone(Rr,"renderashtml")()},t.prototype.setViewXml=function(e){return ge(this.clone(Rr,"SetViewXml"),ie({viewXml:e}))},m([le("v.renderAsHtml")],t.prototype,"renderAsHtml",null),m([le("v.setViewXml")],t.prototype,"setViewXml",null),t}(Ie)),jr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getSchemaXml=function(){return this.clone(jr,"schemaxml")()},t.prototype.add=function(e){return ge(this.clone(jr,"addviewfield('"+e+"')"))},t.prototype.move=function(e,t){return ge(this.clone(jr,"moveviewfieldto"),ie({field:e,index:t}))},t.prototype.removeAll=function(){return ge(this.clone(jr,"removeallviewfields"))},t.prototype.remove=function(e){return ge(this.clone(jr,"removeviewfield('"+e+"')"))},m([le("vfs.getSchemaXml")],t.prototype,"getSchemaXml",null),m([le("vfs.add")],t.prototype,"add",null),m([le("vfs.move")],t.prototype,"move",null),m([le("vfs.removeAll")],t.prototype,"removeAll",null),m([le("vfs.remove")],t.prototype,"remove",null),t=m([ke("viewfields")],t)}(xe));!function(e){e[e.DefaultValue=0]="DefaultValue",e[e.Recursive=1]="Recursive",e[e.RecursiveAll=2]="RecursiveAll",e[e.FilesOnly=3]="FilesOnly"}(Ar||(Ar={})),I(We,"views",Br),I(We,"defaultView",Rr,"DefaultView"),We.prototype.getView=function(e){return Rr(this,"getView('"+e+"')")};var Lr,Nr,Ur,Hr,Wr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"scope",{get:function(){return le.configure(Se(this,"Scope"),"f.scope")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"webparts",{get:function(){return Vr(this,"webparts")},enumerable:!1,configurable:!0}),t.prototype.export=function(e){return ge(this.clone(Kr,"ExportWebPart"),ie({webPartId:e}))},t.prototype.import=function(e){return ge(this.clone(Kr,"ImportWebPart"),ie({webPartXml:e}))},t}(be),zr=function(e,t){return new Wr(e,t)},Kr=function(e,t){return zr(e,t)},Vr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getById=function(e){return qr(this,"getbyid('"+e+"')")},t.prototype.getByControlId=function(e){return qr(this,"getByControlId('"+e+"')")},t}(xe)),qr=_e(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"webpart",{get:function(){return Pe(this,"webpart")},enumerable:!1,configurable:!0}),t.prototype.saveChanges=function(){return ge(this.clone(qr,"SaveWebPartChanges"))},t.prototype.moveTo=function(e,t){return ge(this.clone(qr,"MoveWebPartTo(zoneID='"+e+"', zoneIndex="+t+")"))},t.prototype.close=function(){return ge(this.clone(qr,"CloseWebPart"))},t.prototype.open=function(){return ge(this.clone(qr,"OpenWebPart"))},t.prototype.delete=function(){return ge(this.clone(qr,"DeleteWebPart"))},t}(Ie));!function(e){e[e.User=0]="User",e[e.Shared=1]="Shared"}(Lr||(Lr={})),nt.prototype.getLimitedWebPartManager=function(e){return void 0===e&&(e=Lr.Shared),zr(this,"getLimitedWebPartManager(scope="+e+")")},function(e){e[e.None=0]="None",e[e.User=1]="User",e[e.DistributionList=2]="DistributionList",e[e.SecurityGroup=4]="SecurityGroup",e[e.SharePointGroup=8]="SharePointGroup",e[e.All=15]="All"}(Nr||(Nr={})),function(e){e[e.None=0]="None",e[e.UserInfoList=1]="UserInfoList",e[e.Windows=2]="Windows",e[e.MembershipProvider=4]="MembershipProvider",e[e.RoleProvider=8]="RoleProvider",e[e.All=15]="All"}(Ur||(Ur={})),function(e){e[e.Invalid=-1]="Invalid",e[e.DefaultView=0]="DefaultView",e[e.NormalView=1]="NormalView",e[e.DialogView=2]="DialogView",e[e.View=3]="View",e[e.DisplayForm=4]="DisplayForm",e[e.DisplayFormDialog=5]="DisplayFormDialog",e[e.EditForm=6]="EditForm",e[e.EditFormDialog=7]="EditFormDialog",e[e.NewForm=8]="NewForm",e[e.NewFormDialog=9]="NewFormDialog",e[e.SolutionForm=10]="SolutionForm",e[e.PAGE_MAXITEMS=11]="PAGE_MAXITEMS"}(Hr||(Hr={}));var Gr=new p,Zr=(n("dQfE"),n("HoRS"),n("dRSK"),n("OHjh")),Qr=n("Jdqw");n("y/Wi");var Xr={reactAccordion:"reactAccordion_b579c085",container:"container_b579c085",row:"row_b579c085",column:"column_b579c085","ms-Grid":"ms-Grid_b579c085",title:"title_b579c085",subTitle:"subTitle_b579c085",description:"description_b579c085",button:"button_b579c085",label:"label_b579c085"},Yr=n("0dZV"),Jr=n("x1ze"),$r=(n("gqLF"),n("9fiv")),eo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),to=function(e){function t(t){var n=e.call(this,t)||this;return n.state={items:new Array,choices:new Array,allowMultipleExpanded:n.props.allowMultipleExpanded,allowZeroExpanded:n.props.allowZeroExpanded},n.getListItems(),n}return eo(t,e),t.prototype.getListItems=function(){var e=this;if(void 0!==this.props.listId&&this.props.listId.length>0&&void 0!==this.props.columnTitle&&this.props.columnTitle.length>0&&void 0!==this.props.selectedChoice&&this.props.selectedChoice.length>0){var t=""+this.props.selectedChoice+"";Gr.web.lists.getById(this.props.listId).getItemsByCAMLQuery({ViewXml:t}).then(function(t){e.setState({items:t})}).catch(function(e){console.log("Failed to get list items!"),console.log(e)})}},t.prototype.componentDidUpdate=function(e){e.listId!==this.props.listId&&this.getListItems(),e.allowMultipleExpanded===this.props.allowMultipleExpanded&&e.allowZeroExpanded===this.props.allowZeroExpanded||this.setState({allowMultipleExpanded:this.props.allowMultipleExpanded,allowZeroExpanded:this.props.allowZeroExpanded})},t.prototype.render=function(){var e=this,t=void 0!==this.props.listId&&this.props.listId.length>0,n=this.state,o=n.allowMultipleExpanded,i=n.allowZeroExpanded;return r.createElement("div",{className:Xr.reactAccordion},!t&&r.createElement(Yr.Placeholder,{iconName:"MusicInCollectionFill",iconText:"Configure your web part",description:"Select a list with a Title field and Content field to have its items rendered in a collapsible accordion format",buttonLabel:"Choose a List",onConfigure:this.props.onConfigure}),t&&r.createElement("div",null,r.createElement(Jr.WebPartTitle,{displayMode:this.props.displayMode,title:this.props.selectedChoice,updateProperty:this.props.updateProperty}),r.createElement($r.Accordion,{allowZeroExpanded:i,allowMultipleExpanded:o},this.state.items.map(function(t){return r.createElement($r.AccordionItem,null,r.createElement($r.AccordionItemHeading,null,r.createElement($r.AccordionItemButton,{title:t[e.props.accordianTitleColumn]},t[e.props.accordianTitleColumn])),r.createElement($r.AccordionItemPanel,null,r.createElement("p",{dangerouslySetInnerHTML:{__html:t[e.props.accordianContentColumn]}})))}))))},t}(r.Component),no=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ro=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.columnsDropdownDisabled=!0,t.choicesDropdownDisabled=!0,t}return no(t,e),t.prototype.onInit=function(){var t=this;return e.prototype.onInit.call(this).then(function(e){Gr.setup({spfxContext:t.context})})},t.prototype.render=function(){var e=this,t=r.createElement(to,{listId:this.properties.listId,columnTitle:this.properties.columnTitle,selectedChoice:this.properties.selectedChoice,accordionTitle:this.properties.accordionTitle,accordianTitleColumn:this.properties.accordianTitleColumn,accordianContentColumn:this.properties.accordianContentColumn,allowZeroExpanded:this.properties.allowZeroExpanded,allowMultipleExpanded:this.properties.allowMultipleExpanded,displayMode:this.displayMode,updateProperty:function(t){e.properties.accordionTitle=t},onConfigure:function(){e.context.propertyPane.open()}});o.render(t,this.domElement)},t.prototype.onDispose=function(){o.unmountComponentAtNode(this.domElement)},Object.defineProperty(t.prototype,"disableReactivePropertyChanges",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataVersion",{get:function(){return i.Version.parse("1.0")},enumerable:!0,configurable:!0}),t.prototype.loadColumns=function(){var e=this;return new Promise(function(t,n){if(!e.properties.listId)return console.log("No List Selected"),null;Gr.web.lists.getById(e.properties.listId).fields.filter("ReadOnlyField eq false and Hidden eq false and TypeAsString eq 'Choice'").get().then(function(e){var n=[];e.forEach(function(e){n.push({key:e.Title,text:e.Title})}),t(n)})})},t.prototype.loadAllColumns=function(){var e=this;return new Promise(function(t,n){if(!e.properties.listId)return console.log("No List Selected"),null;Gr.web.lists.getById(e.properties.listId).fields.filter("ReadOnlyField eq false and Hidden eq false").get().then(function(e){var n=[];e.forEach(function(e){n.push({key:e.InternalName,text:e.Title+" - ["+e.InternalName+"]"})}),t(n)})})},t.prototype.loadCateogryChoices=function(){var e=this;return new Promise(function(t,n){if(!e.properties.columnTitle)return console.log("No Columns Selected"),null;Gr.web.lists.getById(e.properties.listId).fields.getByInternalNameOrTitle(e.properties.columnTitle).select("Choices")().then(function(e){var n=[];e.Choices.forEach(function(e){n.push({key:e,text:e})}),t(n)})})},t.prototype.onPropertyPaneConfigurationStart=function(){var e=this;this.columnsDropdownDisabled=!this.properties.listId,this.choicesDropdownDisabled=!this.properties.columnTitle,this.context.statusRenderer.displayLoadingIndicator(this.domElement,"lists, column and choices"),this.properties.listId&&(this.loadColumns().then(function(t){e.listColumns=t,e.columnsDropdownDisabled=!e.properties.listId,e.context.propertyPane.refresh(),e.context.statusRenderer.clearLoadingIndicator(e.domElement),e.render()}),this.loadAllColumns().then(function(t){e.allListColumns=t,e.columnsDropdownDisabled=!e.properties.listId,e.context.propertyPane.refresh(),e.context.statusRenderer.clearLoadingIndicator(e.domElement),e.render()})),this.properties.columnTitle&&this.loadCateogryChoices().then(function(t){e.columnChoices=t,e.choicesDropdownDisabled=!e.properties.columnTitle,e.context.propertyPane.refresh(),e.context.statusRenderer.clearLoadingIndicator(e.domElement),e.render()})},t.prototype.onPropertyPaneFieldChanged=function(e,t,n){var r=this;this.properties.listId&&(this.context.statusRenderer.displayLoadingIndicator(this.domElement,"Columns"),this.loadColumns().then(function(e){r.listColumns=e,r.columnsDropdownDisabled=!1,r.context.statusRenderer.clearLoadingIndicator(r.domElement),r.render(),r.context.propertyPane.refresh()}),this.loadAllColumns().then(function(e){r.allListColumns=e,r.columnsDropdownDisabled=!r.properties.listId,r.context.propertyPane.refresh(),r.context.statusRenderer.clearLoadingIndicator(r.domElement),r.render()})),this.properties.columnTitle&&(this.context.statusRenderer.displayLoadingIndicator(this.domElement,"Choices"),this.loadCateogryChoices().then(function(e){r.columnChoices=e,r.choicesDropdownDisabled=!1,r.context.statusRenderer.clearLoadingIndicator(r.domElement),r.render(),r.context.propertyPane.refresh()})),this.properties.selectedChoice&&(this.context.statusRenderer.displayLoadingIndicator(this.domElement,"Data"),this.context.statusRenderer.clearLoadingIndicator(this.domElement),this.render(),this.context.propertyPane.refresh())},t.prototype.getPropertyPaneConfiguration=function(){return{pages:[{header:{description:Qr.PropertyPaneDescription},groups:[{groupName:Qr.BasicGroupName,groupFields:[Object(Zr.PropertyFieldListPicker)("listId",{label:"Select a list",selectedList:this.properties.listId,includeHidden:!1,orderBy:Zr.PropertyFieldListPickerOrderBy.Title,disabled:!1,onPropertyChange:this.onPropertyPaneFieldChanged.bind(this),properties:this.properties,context:this.context,onGetErrorMessage:null,deferredValidationTime:0,key:"listPickerFieldId"}),Object(a.PropertyPaneDropdown)("columnTitle",{label:"Select the (Choice) Column for Categories.",options:this.listColumns,disabled:this.columnsDropdownDisabled}),Object(a.PropertyPaneDropdown)("selectedChoice",{label:"Select the Choice value for filter.",options:this.columnChoices,disabled:this.choicesDropdownDisabled}),Object(a.PropertyPaneDropdown)("accordianTitleColumn",{label:"Select the Column for Accordian Title Rows.",options:this.allListColumns,disabled:this.choicesDropdownDisabled}),Object(a.PropertyPaneDropdown)("accordianContentColumn",{label:"Select the Column for Accordian Content.",options:this.allListColumns,disabled:this.choicesDropdownDisabled}),Object(a.PropertyPaneToggle)("allowZeroExpanded",{label:"Allow zero expanded",checked:this.properties.allowZeroExpanded,key:"allowZeroExpanded"}),Object(a.PropertyPaneToggle)("allowMultipleExpanded",{label:"Allow multi expand",checked:this.properties.allowMultipleExpanded,key:"allowMultipleExpanded"})]}]}]}},t}(s.BaseClientSideWebPart);t.default=ro},G4dS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighContrastSelector="@media screen and (-ms-high-contrast: active)",t.ScreenWidthMinSmall=320,t.ScreenWidthMinMedium=480,t.ScreenWidthMinLarge=640,t.ScreenWidthMinXLarge=1024,t.ScreenWidthMinXXLarge=1366,t.ScreenWidthMinXXXLarge=1920,t.ScreenWidthMaxSmall=t.ScreenWidthMinMedium-1,t.ScreenWidthMaxMedium=t.ScreenWidthMinLarge-1,t.ScreenWidthMaxLarge=t.ScreenWidthMinXLarge-1,t.ScreenWidthMaxXLarge=t.ScreenWidthMinXXLarge-1,t.ScreenWidthMaxXXLarge=t.ScreenWidthMinXXXLarge-1,t.getScreenSelector=function(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}},GOk5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ASyi"),o=n("cDcd"),i=n("6jGb"),s=n("Hlgl"),a=n("6uqI"),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldUpdateComponentRef=!1,t}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,u=e.styles,l=e.theme;return o.createElement(i.BaseButton,r.__assign({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:a.getStyles(l,u,n),onRenderDescription:s.nullRender}))},t=r.__decorate([s.customizable("DefaultButton",["theme"])],t)}(s.BaseComponent);t.DefaultButton=u},GOzd:function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}},Gc2k:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("1F7j"),t)},GebR:function(e,t,n){"use strict";function r(e){return e.clientWidth1?arguments[1]:void 0,g=void 0!==m,y=0,v=c(p);if(g&&(m=r(m,f>2?arguments[2]:void 0,2)),null==v||h==Array&&a(v))for(n=new h(t=u(p.length));t>y;y++)l(n,y,g?m(p[y],y):p[y]);else for(d=v.call(p),n=new h;!(o=d.next()).done;y++)l(n,y,g?s(d,m,[o.value,y],!0):o.value);return n.length=y,n}})},Hlgl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("2FSo"),t)},HoRS:function(e,t,n){"use strict";n("PhWD")()||Object.defineProperty(n("Z4fQ"),"Map",{value:n("CyQl"),configurable:!0,enumerable:!1,writable:!0})},I78e:function(e,t,n){"use strict";var r=n("XKFU"),o=n("+rLv"),i=n("LZWt"),s=n("d/Gc"),a=n("ne8i"),u=[].slice;r(r.P+r.F*n("eeVq")(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=a(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=s(e,n),l=s(t,n),c=a(l-o),d=new Array(c),p=0;p-1&&(-1===a||p=0&&p<0)break}}while(o);if(u&&u!==this._activeElement)l=!0,this.focusElement(u);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(s.getNextElement(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(s.getPreviousElement(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return l},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left;return!!this._moveFocus(!0,function(r,o){var i=-1,s=Math.floor(o.top),a=Math.floor(r.bottom);return s=a||s===t)&&(t=s,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left;return!!this._moveFocus(!1,function(r,o){var i=-1,s=Math.floor(o.bottom),a=Math.floor(o.top),u=Math.floor(r.top);return s>u?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&s<=u||a===t)&&(t=a,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,a);return!!this._moveFocus(s.getRTL(),function(n,r){var o=-1;return r.bottom>n.top&&r.right<=n.right&&e.props.direction!==i.FocusZoneDirection.vertical?o=n.right-r.right:t||(o=-999999999),o},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,a);return!!this._moveFocus(!s.getRTL(),function(n,r){var o=-1;return r.top=n.left&&e.props.direction!==i.FocusZoneDirection.vertical?o=r.left-n.left:t||(o=-999999999),o},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===i.FocusZoneDirection.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,s=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:s}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=s)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=s.getParent(e,c);t&&t!==this._root.current&&t!==document.body;){if(s.isElementFocusZone(t))return t;t=s.getParent(t,c)}return this._root.current},t.prototype._updateTabIndexes=function(e){!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!s.elementContains(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!s.isElementTabbable(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n-1){var n=e.selectionStart,r=n!==e.selectionEnd,o=e.value;if(r||n>0&&!t||n!==o.length&&t||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||s.shouldWrapFocus(e,t)},t.defaultProps={isCircularNavigation:!1,direction:i.FocusZoneDirection.bidirectional},t}(s.BaseComponent);t.FocusZone=d},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},IDEf:function(e,t,n){"use strict";e.exports=n("FKvE")()?Object.assign:n("9g66")},IMrf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("5+DQ").__exportStar(n("bJL8"),t)},INYr:function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(6),i="findIndex",s=!0;i in[]&&Array(1)[i](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")(i)},IVfg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8Rrq"),o={"user-select":1};t.prefixRules=function(e,t){var n=r.getVendorSettings(),i=e[t];if(o[i]){var s=e[t+1];o[i]&&(n.isWebkit&&e.push("-webkit-"+i,s),n.isMoz&&e.push("-moz-"+i,s),n.isMs&&e.push("-ms-"+i,s),n.isOpera&&e.push("-o-"+i,s))}}},"IWB/":function(e,t,n){"use strict";var r=n("YsTz"),o={function:!0,object:!0};e.exports=function(e){return r(e)&&o[typeof e]||!1}},IaJs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Gc2k"),o=n("iRzo"),i=n("ME9p"),s=n("aWrN");t.getStyles=o.memoizeFunction(function(e,t){var n,o=i.getStyles(e),a=s.getStyles(e),u=e.palette,l=e.semanticColors,c={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:l.actionLink},rootHovered:{color:l.actionLinkHovered,selectors:(n={},n[r.HighContrastSelector]={borderColor:"Highlight",color:"Highlight"},n)},rootPressed:{color:u.themePrimary},rootExpanded:{color:u.themePrimary},rootChecked:{backgroundColor:l.buttonBackgroundChecked},rootCheckedHovered:{backgroundColor:l.buttonBackgroundHovered},rootDisabled:{color:l.disabledText}};return r.concatStyleSets(o,c,a,t)})},Inzz:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]-1)for(var s=n.split(/[ ,]+/),a=0;a-1&&o._virtual.children.splice(i,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))},t.getVirtualParent=r,t.getParent=o,t.getChildren=function(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var r=0;r=0&&(r.keytip.visible=this.keytips[s].keytip.visible,this.keytips=o.replaceElement(this.keytips,r,s),o.EventGroup.raise(this,i.KeytipEvents.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?this.persistedKeytips=this.persistedKeytips.filter(function(e){return e.uniqueID!==t}):this.keytips=this.keytips.filter(function(e){return e.uniqueID!==t});var r=n?i.KeytipEvents.PERSISTED_KEYTIP_REMOVED:i.KeytipEvents.KEYTIP_REMOVED;o.EventGroup.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){o.EventGroup.raise(this,i.KeytipEvents.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){o.EventGroup.raise(this,i.KeytipEvents.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map(function(e){return e.keytip})},e.prototype.addParentOverflow=function(e){var t=e.keySequences.slice();if(t.pop(),0!==t.length){var n=o.find(this.getKeytips(),function(e){return o.arraysEqual(t,e.keySequences)});if(n&&n.overflowSetSequence)return r.__assign({},e,{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){o.EventGroup.raise(this,i.KeytipEvents.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=o.getId()),{keytip:r.__assign({},e),uniqueID:t}},e._instance=new e,e}();t.KeytipManager=s},JJOr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5+DQ"),o=n("cDcd"),i=n("17x9"),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.state=r._getCustomizations(t,n),r}return r.__extends(t,e),t.prototype.getChildContext=function(){return this.state},t.prototype.componentWillReceiveProps=function(e,t){this.setState(this._getCustomizations(e,t))},t.prototype.render=function(){return o.Children.only(this.props.children)},t.prototype._getCustomizations=function(e,t){var n=t.customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:a(r.settings,e.settings),scopedSettings:u(r.scopedSettings,e.scopedSettings)}}},t.contextTypes={customizations:i.object},t.childContextTypes=t.contextTypes,t}(n("FFpV").BaseComponent);function a(e,t){return void 0===e&&(e={}),(l(t)?t:function(e){return function(t){return e?r.__assign({},e,t):t}}(t))(e)}function u(e,t){return void 0===e&&(e={}),(l(t)?t:function(e){void 0===e&&(e={});return function(t){var n=r.__assign({},t);for(var o in e)e.hasOwnProperty(o)&&(n[o]=r.__assign({},t[o],e[o]));return n}}(t))(e)}function l(e){return"function"==typeof e}t.Customizer=s},JOBJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("/EXG"),o=n("WPgJ"),i=n("LbRu"),s=n("Ll36"),a=n("5KZn"),u="displayName";function l(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function c(e){if(!e)return"";var t=[];for(var n in e)e.hasOwnProperty(n)&&n!==u&&void 0!==e[n]&&t.push(n,e[n]);for(var r=0;r10?" (+ "+(u.length-10)+" more)":"")),l=void 0,u=[]},2e3)))}},JnpH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("rcGz"),o=n("Uf3L");t.FontClassNames=r.buildClassMap(o.DefaultFontStyles)},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},K7IN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("mQpk"),t)},KJmp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=((r={})[38]=1,r[40]=1,r[37]=1,r[39]=1,r[36]=1,r[35]=1,r[9]=1,r[33]=1,r[34]=1,r);t.isDirectionalKeyCode=function(e){return!!o[e]},t.addDirectionalKeyCode=function(e){o[e]=1}},KQAI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("c5yY"),t)},KbBO:function(e,t,n){"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}},KdOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("ASyi").__exportStar(n("9jm5"),t)},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),s=n("ylqs")("src"),a=n("+lvF"),u=(""+a).split("toString");n("g3g5").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(i(n,s)||o(n,s,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),s=n("YTvA")("IE_PROTO"),a=function(){},u=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("