xlwings-server 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xlwings_server/.env.template +145 -0
- xlwings_server/__init__.py +12 -0
- xlwings_server/_version.py +34 -0
- xlwings_server/auth/__init__.py +0 -0
- xlwings_server/auth/custom/__init__.py +26 -0
- xlwings_server/auth/entraid/__init__.py +131 -0
- xlwings_server/auth/entraid/jwks.py +10 -0
- xlwings_server/azure_functions_templates/.funcignore +28 -0
- xlwings_server/azure_functions_templates/function_app.py +28 -0
- xlwings_server/azure_functions_templates/host.json +22 -0
- xlwings_server/azure_functions_templates/local.settings.json +8 -0
- xlwings_server/build_utils/__init__.py +9 -0
- xlwings_server/build_utils/static_file_hasher.py +212 -0
- xlwings_server/cli.py +1592 -0
- xlwings_server/config.py +228 -0
- xlwings_server/custom_functions/__init__.py +8 -0
- xlwings_server/custom_functions/examples.py +177 -0
- xlwings_server/custom_scripts/__init__.py +8 -0
- xlwings_server/custom_scripts/examples.py +94 -0
- xlwings_server/databases.py +19 -0
- xlwings_server/dependencies.py +126 -0
- xlwings_server/docker_templates/.dockerignore +15 -0
- xlwings_server/docker_templates/Dockerfile +60 -0
- xlwings_server/docker_templates/docker-compose.yaml +32 -0
- xlwings_server/hotreload.py +59 -0
- xlwings_server/main.py +242 -0
- xlwings_server/models/__init__.py +14 -0
- xlwings_server/models/user.py +53 -0
- xlwings_server/object_handles.py +142 -0
- xlwings_server/routers/__init__.py +0 -0
- xlwings_server/routers/manifest.py +82 -0
- xlwings_server/routers/root.py +16 -0
- xlwings_server/routers/socketio.py +69 -0
- xlwings_server/routers/taskpane.py +12 -0
- xlwings_server/routers/xlwings.py +197 -0
- xlwings_server/security_headers.json +53 -0
- xlwings_server/serializers/__init__.py +25 -0
- xlwings_server/serializers/default_serializer.py +19 -0
- xlwings_server/serializers/dictionary_serializer.py +25 -0
- xlwings_server/serializers/framework.py +50 -0
- xlwings_server/serializers/numpy_serializer.py +26 -0
- xlwings_server/serializers/pandas_serializer.py +95 -0
- xlwings_server/static/css/core.css +28 -0
- xlwings_server/static/css/style.css +0 -0
- xlwings_server/static/images/favicon.png +0 -0
- xlwings_server/static/images/xlwings-16.png +0 -0
- xlwings_server/static/images/xlwings-32.png +0 -0
- xlwings_server/static/images/xlwings-64.png +0 -0
- xlwings_server/static/images/xlwings-80.png +0 -0
- xlwings_server/static/js/auth.js +13 -0
- xlwings_server/static/js/config.js +4 -0
- xlwings_server/static/js/core/alpinejs-csp-boilerplate.js +11 -0
- xlwings_server/static/js/core/bootstrap-customizations.js +7 -0
- xlwings_server/static/js/core/custom-functions-code.js +296 -0
- xlwings_server/static/js/core/examples.js +62 -0
- xlwings_server/static/js/core/hotreload.js +3 -0
- xlwings_server/static/js/core/htmx-handlers.js +86 -0
- xlwings_server/static/js/core/officejs-history-fix-part1.js +3 -0
- xlwings_server/static/js/core/officejs-history-fix-part2.js +2 -0
- xlwings_server/static/js/core/reload-custom-functions.js +79 -0
- xlwings_server/static/js/core/socketio-handlers.js +34 -0
- xlwings_server/static/js/core/xlwings-alert.js +22 -0
- xlwings_server/static/js/core/xlwingsjs/alert.js +85 -0
- xlwings_server/static/js/core/xlwingsjs/auth.js +63 -0
- xlwings_server/static/js/core/xlwingsjs/sheet-buttons.js +133 -0
- xlwings_server/static/js/core/xlwingsjs/utils.js +119 -0
- xlwings_server/static/js/core/xlwingsjs/wasm.js +131 -0
- xlwings_server/static/js/core/xlwingsjs/xlwings.js +1060 -0
- xlwings_server/static/js/main.js +0 -0
- xlwings_server/static/js/ribbon.js +17 -0
- xlwings_server/static/vendor/@alpinejs/LICENSE +21 -0
- xlwings_server/static/vendor/@alpinejs/csp/dist/cdn.min.js +7 -0
- xlwings_server/static/vendor/@microsoft/office-js/LICENSE.md +76 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/af-za/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/agaveerrorux.js +18 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/agavedefaulticon32x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/agavedefaulticon96x96.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/businessbarclose_16x16x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/dropdownarrow_16x16x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/ellipsis_16x16x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/miniinfoblue_16x16x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/moe_default_icon.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/moe_status_icons.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/office.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/refresh_16x16x32.png +0 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/index.html +16 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/style/agaveerrorux.css +482 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/am-et/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-ae/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-bh/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-dz/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-eg/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-iq/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-jo/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-kw/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-lb/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-ly/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-ma/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-om/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-qa/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-sa/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-sy/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-tn/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ar-ye/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ariatelemetry/aria-web-telemetry-2.8.0.min.js +2 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ariatelemetry/aria-web-telemetry-2.9.0.min.js +2 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ariatelemetry/aria-web-telemetry.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/az-latn-az/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/be-by/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/bg-bg/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/bn-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/bs-latn-ba/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ca-es/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/cs-cz/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/cy-gb/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/da-dk/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/de-at/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/de-ch/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/de-de/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/de-li/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/de-lu/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/el-gr/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-029/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-au/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-bz/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-ca/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-gb/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-ie/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-in/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-jm/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-my/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-nz/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-ph/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-sg/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-tt/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-us/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-za/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/en-zw/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-ar/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-bo/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-cl/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-co/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-cr/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-do/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-ec/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-es/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-gt/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-hn/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-mx/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-ni/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-pa/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-pe/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-pr/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-py/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-sv/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-us/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-uy/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es-ve/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/es6-promise.js +5 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/et-ee/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/eu-es/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-15.01.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-15.02.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-15.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-mac-16.00-core.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-mac-16.00.js +25 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-web-16.00-core.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-web-16.00.js +25 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-win32-16.00.js +19 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-win32-16.01-core.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-win32-16.01.js +25 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excel-winrt-16.00.js +25 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excelios-15.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excelwebapp-15.01.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excelwebapp-15.02.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/excelwebapp-15.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fa-ir/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fi-fi/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fil-ph/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-be/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-ca/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-ch/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-fr/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-lu/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/fr-mc/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ga-ie/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/gl-es/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/gu-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/he-il/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/hi-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/hr-ba/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/hr-hr/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/html2canvas.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/hu-hu/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/hy-am/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/id-id/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/is-is/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/it-ch/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/it-it/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ja-jp/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ka-ge/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/kk-kz/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/km-kh/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/kn-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ko-kr/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/lb-lu/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/lo-la/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/lt-lt/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/lv-lv/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/mk-mk/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ml-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/mn-mn/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/mr-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ms-bn/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ms-my/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/mt-mt/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/nb-no/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ne-np/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/nl-be/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/nl-nl/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/nn-no/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/o15apptofilemappingtable.js +11 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/office-vsdoc.js +28596 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/office.js +84 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/pl-pl/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/pt-br/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/pt-pt/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ro-ro/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ru-ru/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/si-lk/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sk-sk/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sl-si/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sq-al/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sr-cyrl-cs/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sr-cyrl-rs/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sr-latn-cs/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sr-latn-rs/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sv-fi/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sv-se/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/sw-ke/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ta-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/te-in/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/telemetry/oteljs.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/telemetry/oteljs_agave.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/th-th/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/tr-tr/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/uk-ua/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/ur-pk/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/vi-vn/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/webauth/webauth.browserauth.js +77 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/webauth/webauth.implicit.js +35 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/zh-cn/office_strings.js +1 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/zh-hk/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/zh-mo/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/zh-sg/office_strings.js +8 -0
- xlwings_server/static/vendor/@microsoft/office-js/dist/zh-tw/office_strings.js +1 -0
- xlwings_server/static/vendor/axios/dist/axios.min.js +3 -0
- xlwings_server/static/vendor/axios/dist/axios.min.js.map +1 -0
- xlwings_server/static/vendor/bootstrap/LICENSE +21 -0
- xlwings_server/static/vendor/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
- xlwings_server/static/vendor/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
- xlwings_server/static/vendor/bootstrap-xlwings/dist/bootstrap-xlwings.min.css +12 -0
- xlwings_server/static/vendor/bootstrap-xlwings/dist/bootstrap-xlwings.min.css.map +1 -0
- xlwings_server/static/vendor/htmx-ext-head-support/head-support.js +144 -0
- xlwings_server/static/vendor/htmx-ext-loading-states/loading-states.js +184 -0
- xlwings_server/static/vendor/htmx.org/LICENSE +13 -0
- xlwings_server/static/vendor/htmx.org/dist/htmx.min.js +1 -0
- xlwings_server/static/vendor/socket.io/LICENSE +22 -0
- xlwings_server/static/vendor/socket.io/client-dist/socket.io.min.js +7 -0
- xlwings_server/static/vendor/socket.io/client-dist/socket.io.min.js.map +1 -0
- xlwings_server/templates/_book.html +8 -0
- xlwings_server/templates/alert_base.html +16 -0
- xlwings_server/templates/base.html +117 -0
- xlwings_server/templates/examples/alpine/README.md +26 -0
- xlwings_server/templates/examples/alpine/taskpane.html +47 -0
- xlwings_server/templates/examples/auth/README.md +38 -0
- xlwings_server/templates/examples/auth/protected.html +8 -0
- xlwings_server/templates/examples/auth/public.html +11 -0
- xlwings_server/templates/examples/excel_object_model/README.md +49 -0
- xlwings_server/templates/examples/excel_object_model/add_name_form.html +27 -0
- xlwings_server/templates/examples/hello_world/README.md +9 -0
- xlwings_server/templates/examples/hello_world/taskpane_hello.html +24 -0
- xlwings_server/templates/examples/htmx_form/README.md +44 -0
- xlwings_server/templates/examples/htmx_form/_greeting.html +6 -0
- xlwings_server/templates/examples/htmx_form/taskpane_htmx_form.html +21 -0
- xlwings_server/templates/examples/live_form_validation/README.md +60 -0
- xlwings_server/templates/examples/live_form_validation/add_name_form.html +33 -0
- xlwings_server/templates/examples/multi_app/README.md +34 -0
- xlwings_server/templates/examples/multi_app/taskpane1.html +7 -0
- xlwings_server/templates/examples/multi_app/taskpane2.html +7 -0
- xlwings_server/templates/examples/multi_app/taskpane_loader.html +5 -0
- xlwings_server/templates/examples/navigation/README.md +28 -0
- xlwings_server/templates/examples/navigation/_navigation.html +16 -0
- xlwings_server/templates/examples/navigation/taskpane_one.html +8 -0
- xlwings_server/templates/examples/navigation/taskpane_three.html +8 -0
- xlwings_server/templates/examples/navigation/taskpane_two.html +8 -0
- xlwings_server/templates/examples/pictures/README.md +42 -0
- xlwings_server/templates/examples/pictures/_picture.html +4 -0
- xlwings_server/templates/examples/pictures/taskpane_pictures.html +26 -0
- xlwings_server/templates/manifest.xml +155 -0
- xlwings_server/templates/taskpane.html +1 -0
- xlwings_server/templates/xlwings_alert.html +27 -0
- xlwings_server/templates.py +61 -0
- xlwings_server/utils.py +32 -0
- xlwings_server/wasm/__init__.py +0 -0
- xlwings_server/wasm/config.py +24 -0
- xlwings_server/wasm/main.py +236 -0
- xlwings_server/wasm/requirements.txt +5 -0
- xlwings_server-1.1.0.dist-info/METADATA +61 -0
- xlwings_server-1.1.0.dist-info/RECORD +313 -0
- xlwings_server-1.1.0.dist-info/WHEEL +4 -0
- xlwings_server-1.1.0.dist-info/entry_points.txt +2 -0
- xlwings_server-1.1.0.dist-info/licenses/LICENSE.md +223 -0
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Button on Ribbon
|
|
2
|
+
// Needs event.completed() and Office.actions.associate
|
|
3
|
+
// "hello-ribbon" is the identifier in manifest.xml
|
|
4
|
+
async function helloRibbon(event) {
|
|
5
|
+
let scriptName = "hello_world";
|
|
6
|
+
let authResult =
|
|
7
|
+
typeof globalThis.getAuth === "function"
|
|
8
|
+
? await globalThis.getAuth()
|
|
9
|
+
: { token: "", provider: "" };
|
|
10
|
+
await xlwings.runPython({
|
|
11
|
+
auth: authResult.token,
|
|
12
|
+
scriptName: scriptName,
|
|
13
|
+
headers: { "Auth-Provider": authResult.provider },
|
|
14
|
+
});
|
|
15
|
+
event.completed();
|
|
16
|
+
}
|
|
17
|
+
Office.actions.associate("hello-ribbon", helloRibbon);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2019-2021 Caleb Porzio and contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
(()=>{var ot=!1,st=!1,Y=[],at=-1;function Zt(e){Dn(e)}function Dn(e){Y.includes(e)||Y.push(e),Un()}function Xt(e){let t=Y.indexOf(e);t!==-1&&t>at&&Y.splice(t,1)}function Un(){!st&&!ot&&(ot=!0,queueMicrotask(Ln))}function Ln(){ot=!1,st=!0;for(let e=0;e<Y.length;e++)Y[e](),at=e;Y.length=0,at=-1,st=!1}var R,M,z,ct,ut=!0;function Qt(e){ut=!1,e(),ut=!0}function er(e){R=e.reactive,z=e.release,M=t=>e.effect(t,{scheduler:r=>{ut?Zt(r):r()}}),ct=e.raw}function lt(e){M=e}function tr(e){let t=()=>{};return[n=>{let i=M(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(o=>o())}),e._x_effects.add(i),t=()=>{i!==void 0&&(e._x_effects.delete(i),z(i))},i},()=>{t()}]}function Oe(e,t){let r=!0,n,i=M(()=>{let o=e();JSON.stringify(o),r?n=o:queueMicrotask(()=>{t(o,n),n=o}),r=!1});return()=>z(i)}var rr=[],nr=[],ir=[];function or(e){ir.push(e)}function ie(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,nr.push(t))}function Se(e){rr.push(e)}function Ne(e,t,r){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(r)}function ft(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([r,n])=>{(t===void 0||t.includes(r))&&(n.forEach(i=>i()),delete e._x_attributeCleanups[r])})}function sr(e){for(e._x_effects?.forEach(Xt);e._x_cleanups?.length;)e._x_cleanups.pop()()}var pt=new MutationObserver(_t),dt=!1;function he(){pt.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),dt=!0}function ht(){$n(),pt.disconnect(),dt=!1}var de=[];function $n(){let e=pt.takeRecords();de.push(()=>e.length>0&&_t(e));let t=de.length;queueMicrotask(()=>{if(de.length===t)for(;de.length>0;)de.shift()()})}function _(e){if(!dt)return e();ht();let t=e();return he(),t}var mt=!1,Te=[];function ar(){mt=!0}function ur(){mt=!1,_t(Te),Te=[]}function _t(e){if(mt){Te=Te.concat(e);return}let t=[],r=new Set,n=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&(e[o].type==="childList"&&(e[o].removedNodes.forEach(s=>{s.nodeType===1&&s._x_marker&&r.add(s)}),e[o].addedNodes.forEach(s=>{if(s.nodeType===1){if(r.has(s)){r.delete(s);return}s._x_marker||t.push(s)}})),e[o].type==="attributes")){let s=e[o].target,a=e[o].attributeName,u=e[o].oldValue,l=()=>{n.has(s)||n.set(s,[]),n.get(s).push({name:a,value:s.getAttribute(a)})},c=()=>{i.has(s)||i.set(s,[]),i.get(s).push(a)};s.hasAttribute(a)&&u===null?l():s.hasAttribute(a)?(c(),l()):c()}i.forEach((o,s)=>{ft(s,o)}),n.forEach((o,s)=>{rr.forEach(a=>a(s,o))});for(let o of r)t.some(s=>s.contains(o))||nr.forEach(s=>s(o));for(let o of t)o.isConnected&&ir.forEach(s=>s(o));t=null,r=null,n=null,i=null}function Ce(e){return L(D(e))}function U(e,t,r){return e._x_dataStack=[t,...D(r||e)],()=>{e._x_dataStack=e._x_dataStack.filter(n=>n!==t)}}function D(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?D(e.host):e.parentNode?D(e.parentNode):[]}function L(e){return new Proxy({objects:e},jn)}var jn={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(r=>Object.prototype.hasOwnProperty.call(r,t)||Reflect.has(r,t))},get({objects:e},t,r){return t=="toJSON"?Fn:Reflect.get(e.find(n=>Reflect.has(n,t))||{},t,r)},set({objects:e},t,r,n){let i=e.find(s=>Object.prototype.hasOwnProperty.call(s,t))||e[e.length-1],o=Object.getOwnPropertyDescriptor(i,t);return o?.set&&o?.get?o.set.call(n,r)||!0:Reflect.set(i,t,r)}};function Fn(){return Reflect.ownKeys(this).reduce((t,r)=>(t[r]=Reflect.get(this,r),t),{})}function ke(e){let t=n=>typeof n=="object"&&!Array.isArray(n)&&n!==null,r=(n,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([o,{value:s,enumerable:a}])=>{if(a===!1||s===void 0||typeof s=="object"&&s!==null&&s.__v_skip)return;let u=i===""?o:`${i}.${o}`;typeof s=="object"&&s!==null&&s._x_interceptor?n[o]=s.initialize(e,u,o):t(s)&&s!==n&&!(s instanceof Element)&&r(s,u)})};return r(e)}function Re(e,t=()=>{}){let r={initialValue:void 0,_x_interceptor:!0,initialize(n,i,o){return e(this.initialValue,()=>Bn(n,i),s=>gt(n,i,s),i,o)}};return t(r),n=>{if(typeof n=="object"&&n!==null&&n._x_interceptor){let i=r.initialize.bind(r);r.initialize=(o,s,a)=>{let u=n.initialize(o,s,a);return r.initialValue=u,i(o,s,a)}}else r.initialValue=n;return r}}function Bn(e,t){return t.split(".").reduce((r,n)=>r[n],e)}function gt(e,t,r){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=r;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),gt(e[t[0]],t.slice(1),r)}}var cr={};function E(e,t){cr[e]=t}function G(e,t){let r=zn(t);return Object.entries(cr).forEach(([n,i])=>{Object.defineProperty(e,`$${n}`,{get(){return i(t,r)},enumerable:!1})}),e}function zn(e){let[t,r]=xt(e),n={interceptor:Re,...t};return ie(e,r),n}function Pe(e,t,r,...n){try{return r(...n)}catch(i){oe(i,e,t)}}function oe(e,t,r=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message}
|
|
2
|
+
|
|
3
|
+
${r?'Expression: "'+r+`"
|
|
4
|
+
|
|
5
|
+
`:""}`,t),setTimeout(()=>{throw e},0)}var se=!0;function Me(e){let t=se;se=!1;let r=e();return se=t,r}function P(e,t,r={}){let n;return b(e,t)(i=>n=i,r),n}function b(...e){return lr(...e)}var lr=Kn;function fr(e){lr=e}function Kn(e,t){let r={};G(r,e);let n=[r,...D(e)],i=typeof t=="function"?bt(n,t):Hn(n,t,e);return Pe.bind(null,e,t,i)}function bt(e,t){return(r=()=>{},{scope:n={},params:i=[],context:o}={})=>{let s=t.apply(L([n,...e]),i);Ie(r,s)}}var yt={};function Vn(e,t){if(yt[e])return yt[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let s=new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${e}`}),s}catch(s){return oe(s,t,e),Promise.resolve()}})();return yt[e]=o,o}function Hn(e,t,r){let n=Vn(t,r);return(i=()=>{},{scope:o={},params:s=[],context:a}={})=>{n.result=void 0,n.finished=!1;let u=L([o,...e]);if(typeof n=="function"){let l=n.call(a,n,u).catch(c=>oe(c,r,t));n.finished?(Ie(i,n.result,u,s,r),n.result=void 0):l.then(c=>{Ie(i,c,u,s,r)}).catch(c=>oe(c,r,t)).finally(()=>n.result=void 0)}}}function Ie(e,t,r,n,i){if(se&&typeof t=="function"){let o=t.apply(r,n);o instanceof Promise?o.then(s=>Ie(e,s,r,n)).catch(s=>oe(s,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}var vt="x-";function C(e=""){return vt+e}function pr(e){vt=e}var De={};function h(e,t){return De[e]=t,{before(r){if(!De[r]){console.warn(String.raw`Cannot find directive \`${r}\`. \`${e}\` will use the default order of execution`);return}let n=Z.indexOf(r);Z.splice(n>=0?n:Z.indexOf("DEFAULT"),0,e)}}}function dr(e){return Object.keys(De).includes(e)}function _e(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),s=At(o);o=o.map(a=>s.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(o)}let n={};return t.map(_r((o,s)=>n[o]=s)).filter(xr).map(Wn(n,r)).sort(Jn).map(o=>qn(e,o))}function At(e){return Array.from(e).map(_r()).filter(t=>!xr(t))}var Et=!1,me=new Map,hr=Symbol();function mr(e){Et=!0;let t=Symbol();hr=t,me.set(t,[]);let r=()=>{for(;me.get(t).length;)me.get(t).shift()();me.delete(t)},n=()=>{Et=!1,r()};e(r),n()}function xt(e){let t=[],r=a=>t.push(a),[n,i]=tr(e);return t.push(i),[{Alpine:V,effect:n,cleanup:r,evaluateLater:b.bind(b,e),evaluate:P.bind(P,e)},()=>t.forEach(a=>a())]}function qn(e,t){let r=()=>{},n=De[t.type]||r,[i,o]=xt(e);Ne(e,t.original,o);let s=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),Et?me.get(hr).push(n):n())};return s.runCleanups=o,s}var Ue=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),Le=e=>e;function _r(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=gr.reduce((o,s)=>s(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var gr=[];function ae(e){gr.push(e)}function xr({name:e}){return yr().test(e)}var yr=()=>new RegExp(`^${vt}([^:^.]+)\\b`);function Wn(e,t){return({name:r,value:n})=>{let i=r.match(yr()),o=r.match(/:([a-zA-Z0-9\-_:]+)/),s=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:s.map(u=>u.replace(".","")),expression:n,original:a}}}var wt="DEFAULT",Z=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",wt,"teleport"];function Jn(e,t){let r=Z.indexOf(e.type)===-1?wt:e.type,n=Z.indexOf(t.type)===-1?wt:t.type;return Z.indexOf(r)-Z.indexOf(n)}function X(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function $(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>$(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)$(n,t,!1),n=n.nextElementSibling}function A(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var br=!1;function Er(){br&&A("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),br=!0,document.body||A("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),X(document,"alpine:init"),X(document,"alpine:initializing"),he(),or(t=>T(t,$)),ie(t=>j(t)),Se((t,r)=>{_e(t,r).forEach(n=>n())});let e=t=>!Q(t.parentElement,!0);Array.from(document.querySelectorAll(Ar().join(","))).filter(e).forEach(t=>{T(t)}),X(document,"alpine:initialized"),setTimeout(()=>{Gn()})}var Ot=[],wr=[];function vr(){return Ot.map(e=>e())}function Ar(){return Ot.concat(wr).map(e=>e())}function $e(e){Ot.push(e)}function je(e){wr.push(e)}function Q(e,t=!1){return K(e,r=>{if((t?Ar():vr()).some(i=>r.matches(i)))return!0})}function K(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),!!e.parentElement)return K(e.parentElement,t)}}function Or(e){return vr().some(t=>e.matches(t))}var Tr=[];function Sr(e){Tr.push(e)}var Yn=1;function T(e,t=$,r=()=>{}){K(e,n=>n._x_ignore)||mr(()=>{t(e,(n,i)=>{n._x_marker||(r(n,i),Tr.forEach(o=>o(n,i)),_e(n,n.attributes).forEach(o=>o()),n._x_ignore||(n._x_marker=Yn++),n._x_ignore&&i())})})}function j(e,t=$){t(e,r=>{sr(r),ft(r),delete r._x_marker})}function Gn(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([t,r,n])=>{dr(r)||n.some(i=>{if(document.querySelector(i))return A(`found "${i}", but missing ${t} plugin`),!0})})}var Tt=[],St=!1;function ue(e=()=>{}){return queueMicrotask(()=>{St||setTimeout(()=>{Fe()})}),new Promise(t=>{Tt.push(()=>{e(),t()})})}function Fe(){for(St=!1;Tt.length;)Tt.shift()()}function Nr(){St=!0}function ge(e,t){return Array.isArray(t)?Cr(e,t.join(" ")):typeof t=="object"&&t!==null?Zn(e,t):typeof t=="function"?ge(e,t()):Cr(e,t)}function Cr(e,t){let r=o=>o.split(" ").filter(Boolean),n=o=>o.split(" ").filter(s=>!e.classList.contains(s)).filter(Boolean),i=o=>(e.classList.add(...o),()=>{e.classList.remove(...o)});return t=t===!0?t="":t||"",i(n(t))}function Zn(e,t){let r=a=>a.split(" ").filter(Boolean),n=Object.entries(t).flatMap(([a,u])=>u?r(a):!1).filter(Boolean),i=Object.entries(t).flatMap(([a,u])=>u?!1:r(a)).filter(Boolean),o=[],s=[];return i.forEach(a=>{e.classList.contains(a)&&(e.classList.remove(a),s.push(a))}),n.forEach(a=>{e.classList.contains(a)||(e.classList.add(a),o.push(a))}),()=>{s.forEach(a=>e.classList.add(a)),o.forEach(a=>e.classList.remove(a))}}function ee(e,t){return typeof t=="object"&&t!==null?Xn(e,t):Qn(e,t)}function Xn(e,t){let r={};return Object.entries(t).forEach(([n,i])=>{r[n]=e.style[n],n.startsWith("--")||(n=ei(n)),e.style.setProperty(n,i)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{ee(e,r)}}function Qn(e,t){let r=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",r||"")}}function ei(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function xe(e,t=()=>{}){let r=!1;return function(){r?t.apply(this,arguments):(r=!0,e.apply(this,arguments))}}h("transition",(e,{value:t,modifiers:r,expression:n},{evaluate:i})=>{typeof n=="function"&&(n=i(n)),n!==!1&&(!n||typeof n=="boolean"?ri(e,r,t):ti(e,n,t))});function ti(e,t,r){kr(e,ge,""),{enter:i=>{e._x_transition.enter.during=i},"enter-start":i=>{e._x_transition.enter.start=i},"enter-end":i=>{e._x_transition.enter.end=i},leave:i=>{e._x_transition.leave.during=i},"leave-start":i=>{e._x_transition.leave.start=i},"leave-end":i=>{e._x_transition.leave.end=i}}[r](t)}function ri(e,t,r){kr(e,ee);let n=!t.includes("in")&&!t.includes("out")&&!r,i=n||t.includes("in")||["enter"].includes(r),o=n||t.includes("out")||["leave"].includes(r);t.includes("in")&&!n&&(t=t.filter((m,w)=>w<t.indexOf("out"))),t.includes("out")&&!n&&(t=t.filter((m,w)=>w>t.indexOf("out")));let s=!t.includes("opacity")&&!t.includes("scale"),a=s||t.includes("opacity"),u=s||t.includes("scale"),l=a?0:1,c=u?ye(t,"scale",95)/100:1,d=ye(t,"delay",0)/1e3,g=ye(t,"origin","center"),y="opacity, transform",k=ye(t,"duration",150)/1e3,p=ye(t,"duration",75)/1e3,f="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:g,transitionDelay:`${d}s`,transitionProperty:y,transitionDuration:`${k}s`,transitionTimingFunction:f},e._x_transition.enter.start={opacity:l,transform:`scale(${c})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(e._x_transition.leave.during={transformOrigin:g,transitionDelay:`${d}s`,transitionProperty:y,transitionDuration:`${p}s`,transitionTimingFunction:f},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function kr(e,t,r={}){e._x_transition||(e._x_transition={enter:{during:r,start:r,end:r},leave:{during:r,start:r,end:r},in(n=()=>{},i=()=>{}){Be(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,i)},out(n=()=>{},i=()=>{}){Be(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,i)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,r,n){let i=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>i(r);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(r):o():e._x_transition?e._x_transition.in(r):o();return}e._x_hidePromise=e._x_transition?new Promise((s,a)=>{e._x_transition.out(()=>{},()=>s(n)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(n),queueMicrotask(()=>{let s=Rr(e);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(e)):i(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c?.());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(e).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Rr(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Rr(t)}function Be(e,t,{during:r,start:n,end:i}={},o=()=>{},s=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(r).length===0&&Object.keys(n).length===0&&Object.keys(i).length===0){o(),s();return}let a,u,l;ni(e,{start(){a=t(e,n)},during(){u=t(e,r)},before:o,end(){a(),l=t(e,i)},after:s,cleanup(){u(),l()}})}function ni(e,t){let r,n,i,o=xe(()=>{_(()=>{r=!0,n||t.before(),i||(t.end(),Fe()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:xe(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},_(()=>{t.start(),t.during()}),Nr(),requestAnimationFrame(()=>{if(r)return;let s=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),_(()=>{t.before()}),n=!0,requestAnimationFrame(()=>{r||(_(()=>{t.end()}),Fe(),setTimeout(e._x_transitioning.finish,s+a),i=!0)})})}function ye(e,t,r){if(e.indexOf(t)===-1)return r;let n=e[e.indexOf(t)+1];if(!n||t==="scale"&&isNaN(n))return r;if(t==="duration"||t==="delay"){let i=n.match(/([0-9]+)ms/);if(i)return i[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[n,e[e.indexOf(t)+2]].join(" "):n}var F=!1;function S(e,t=()=>{}){return(...r)=>F?t(...r):e(...r)}function Pr(e){return(...t)=>F&&e(...t)}var Ir=[];function H(e){Ir.push(e)}function Mr(e,t){Ir.forEach(r=>r(e,t)),F=!0,Ur(()=>{T(t,(r,n)=>{n(r,()=>{})})}),F=!1}var ze=!1;function Dr(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),F=!0,ze=!0,Ur(()=>{ii(t)}),F=!1,ze=!1}function ii(e){let t=!1;T(e,(n,i)=>{$(n,(o,s)=>{if(t&&Or(o))return s();t=!0,i(o,s)})})}function Ur(e){let t=M;lt((r,n)=>{let i=t(r);return z(i),()=>{}}),e(),lt(t)}function be(e,t,r,n=[]){switch(e._x_bindings||(e._x_bindings=R({})),e._x_bindings[t]=r,t=n.includes("camel")?pi(t):t,t){case"value":oi(e,r);break;case"style":ai(e,r);break;case"class":si(e,r);break;case"selected":case"checked":ui(e,t,r);break;default:$r(e,t,r);break}}function oi(e,t){if(Nt(e))e.attributes.value===void 0&&(e.value=t),window.fromModel&&(typeof t=="boolean"?e.checked=Ee(e.value)===t:e.checked=Lr(e.value,t));else if(Ke(e))Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(r=>Lr(r,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")fi(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function si(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=ge(e,t)}function ai(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=ee(e,t)}function ui(e,t,r){$r(e,t,r),li(e,t,r)}function $r(e,t,r){[null,void 0,!1].includes(r)&&hi(t)?e.removeAttribute(t):(jr(t)&&(r=t),ci(e,t,r))}function ci(e,t,r){e.getAttribute(t)!=r&&e.setAttribute(t,r)}function li(e,t,r){e[t]!==r&&(e[t]=r)}function fi(e,t){let r=[].concat(t).map(n=>n+"");Array.from(e.options).forEach(n=>{n.selected=r.includes(n.value)})}function pi(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperCase())}function Lr(e,t){return e==t}function Ee(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0","false","off","no",!1].includes(e)?!1:e?Boolean(e):null}var di=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function jr(e){return di.has(e)}function hi(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function Fr(e,t,r){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:zr(e,t,r)}function Br(e,t,r,n=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let i=e._x_inlineBindings[t];return i.extract=n,Me(()=>P(e,i.expression))}return zr(e,t,r)}function zr(e,t,r){let n=e.getAttribute(t);return n===null?typeof r=="function"?r():r:n===""?!0:jr(t)?!![t,"true"].includes(n):n}function Ke(e){return e.type==="checkbox"||e.localName==="ui-checkbox"||e.localName==="ui-switch"}function Nt(e){return e.type==="radio"||e.localName==="ui-radio"}function Ve(e,t){let r;return function(){let n=this,i=arguments,o=function(){r=null,e.apply(n,i)};clearTimeout(r),r=setTimeout(o,t)}}function He(e,t){let r;return function(){let n=this,i=arguments;r||(e.apply(n,i),r=!0,setTimeout(()=>r=!1,t))}}function qe({get:e,set:t},{get:r,set:n}){let i=!0,o,s,a=M(()=>{let u=e(),l=r();if(i)n(Ct(u)),i=!1;else{let c=JSON.stringify(u),d=JSON.stringify(l);c!==o?n(Ct(u)):c!==d&&t(Ct(l))}o=JSON.stringify(e()),s=JSON.stringify(r())});return()=>{z(a)}}function Ct(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function Kr(e){(Array.isArray(e)?e:[e]).forEach(r=>r(V))}var te={},Vr=!1;function Hr(e,t){if(Vr||(te=R(te),Vr=!0),t===void 0)return te[e];te[e]=t,ke(te[e]),typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&te[e].init()}function qr(){return te}var Wr={};function Jr(e,t){let r=typeof t!="function"?()=>t:t;return e instanceof Element?kt(e,r()):(Wr[e]=r,()=>{})}function Yr(e){return Object.entries(Wr).forEach(([t,r])=>{Object.defineProperty(e,t,{get(){return(...n)=>r(...n)}})}),e}function kt(e,t,r){let n=[];for(;n.length;)n.pop()();let i=Object.entries(t).map(([s,a])=>({name:s,value:a})),o=At(i);return i=i.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),_e(e,i,r).map(s=>{n.push(s.runCleanups),s()}),()=>{for(;n.length;)n.pop()()}}var Gr={};function Zr(e,t){Gr[e]=t}function Xr(e,t){return Object.entries(Gr).forEach(([r,n])=>{Object.defineProperty(e,r,{get(){return(...i)=>n.bind(t)(...i)},enumerable:!1})}),e}var mi={get reactive(){return R},get release(){return z},get effect(){return M},get raw(){return ct},version:"3.15.0",flushAndStopDeferringMutations:ur,dontAutoEvaluateFunctions:Me,disableEffectScheduling:Qt,startObservingMutations:he,stopObservingMutations:ht,setReactivityEngine:er,onAttributeRemoved:Ne,onAttributesAdded:Se,closestDataStack:D,skipDuringClone:S,onlyDuringClone:Pr,addRootSelector:$e,addInitSelector:je,interceptClone:H,addScopeToNode:U,deferMutations:ar,mapAttributes:ae,evaluateLater:b,interceptInit:Sr,setEvaluator:fr,mergeProxies:L,extractProp:Br,findClosest:K,onElRemoved:ie,closestRoot:Q,destroyTree:j,interceptor:Re,transition:Be,setStyles:ee,mutateDom:_,directive:h,entangle:qe,throttle:He,debounce:Ve,evaluate:P,initTree:T,nextTick:ue,prefixed:C,prefix:pr,plugin:Kr,magic:E,store:Hr,start:Er,clone:Dr,cloneNode:Mr,bound:Fr,$data:Ce,watch:Oe,walk:$,data:Zr,bind:Jr},V=mi;var v=class{constructor(t,r,n,i){this.type=t,this.value=r,this.start=n,this.end=i}},Rt=class{constructor(t){this.input=t,this.position=0,this.tokens=[]}tokenize(){for(;this.position<this.input.length&&(this.skipWhitespace(),!(this.position>=this.input.length));){let t=this.input[this.position];this.isDigit(t)?this.readNumber():this.isAlpha(t)||t==="_"||t==="$"?this.readIdentifierOrKeyword():t==='"'||t==="'"?this.readString():t==="/"&&this.peek()==="/"?this.skipLineComment():this.readOperatorOrPunctuation()}return this.tokens.push(new v("EOF",null,this.position,this.position)),this.tokens}skipWhitespace(){for(;this.position<this.input.length&&/\s/.test(this.input[this.position]);)this.position++}skipLineComment(){for(;this.position<this.input.length&&this.input[this.position]!==`
|
|
6
|
+
`;)this.position++}isDigit(t){return/[0-9]/.test(t)}isAlpha(t){return/[a-zA-Z]/.test(t)}isAlphaNumeric(t){return/[a-zA-Z0-9_$]/.test(t)}peek(t=1){return this.input[this.position+t]||""}readNumber(){let t=this.position,r=!1;for(;this.position<this.input.length;){let i=this.input[this.position];if(this.isDigit(i))this.position++;else if(i==="."&&!r)r=!0,this.position++;else break}let n=this.input.slice(t,this.position);this.tokens.push(new v("NUMBER",parseFloat(n),t,this.position))}readIdentifierOrKeyword(){let t=this.position;for(;this.position<this.input.length&&this.isAlphaNumeric(this.input[this.position]);)this.position++;let r=this.input.slice(t,this.position);["true","false","null","undefined","new","typeof","void","delete","in","instanceof"].includes(r)?r==="true"||r==="false"?this.tokens.push(new v("BOOLEAN",r==="true",t,this.position)):r==="null"?this.tokens.push(new v("NULL",null,t,this.position)):r==="undefined"?this.tokens.push(new v("UNDEFINED",void 0,t,this.position)):this.tokens.push(new v("KEYWORD",r,t,this.position)):this.tokens.push(new v("IDENTIFIER",r,t,this.position))}readString(){let t=this.position,r=this.input[this.position];this.position++;let n="",i=!1;for(;this.position<this.input.length;){let o=this.input[this.position];if(i){switch(o){case"n":n+=`
|
|
7
|
+
`;break;case"t":n+=" ";break;case"r":n+="\r";break;case"\\":n+="\\";break;case r:n+=r;break;default:n+=o}i=!1}else if(o==="\\")i=!0;else if(o===r){this.position++,this.tokens.push(new v("STRING",n,t,this.position));return}else n+=o;this.position++}throw new Error(`Unterminated string starting at position ${t}`)}readOperatorOrPunctuation(){let t=this.position,r=this.input[this.position],n=this.peek(),i=this.peek(2);if(r==="="&&n==="="&&i==="=")this.position+=3,this.tokens.push(new v("OPERATOR","===",t,this.position));else if(r==="!"&&n==="="&&i==="=")this.position+=3,this.tokens.push(new v("OPERATOR","!==",t,this.position));else if(r==="="&&n==="=")this.position+=2,this.tokens.push(new v("OPERATOR","==",t,this.position));else if(r==="!"&&n==="=")this.position+=2,this.tokens.push(new v("OPERATOR","!=",t,this.position));else if(r==="<"&&n==="=")this.position+=2,this.tokens.push(new v("OPERATOR","<=",t,this.position));else if(r===">"&&n==="=")this.position+=2,this.tokens.push(new v("OPERATOR",">=",t,this.position));else if(r==="&"&&n==="&")this.position+=2,this.tokens.push(new v("OPERATOR","&&",t,this.position));else if(r==="|"&&n==="|")this.position+=2,this.tokens.push(new v("OPERATOR","||",t,this.position));else if(r==="+"&&n==="+")this.position+=2,this.tokens.push(new v("OPERATOR","++",t,this.position));else if(r==="-"&&n==="-")this.position+=2,this.tokens.push(new v("OPERATOR","--",t,this.position));else{this.position++;let o="()[]{},.;:?".includes(r)?"PUNCTUATION":"OPERATOR";this.tokens.push(new v(o,r,t,this.position))}}},Pt=class{constructor(t){this.tokens=t,this.position=0}parse(){if(this.isAtEnd())throw new Error("Empty expression");let t=this.parseExpression();if(this.match("PUNCTUATION",";"),!this.isAtEnd())throw new Error(`Unexpected token: ${this.current().value}`);return t}parseExpression(){return this.parseAssignment()}parseAssignment(){let t=this.parseTernary();if(this.match("OPERATOR","=")){let r=this.parseAssignment();if(t.type==="Identifier"||t.type==="MemberExpression")return{type:"AssignmentExpression",left:t,operator:"=",right:r};throw new Error("Invalid assignment target")}return t}parseTernary(){let t=this.parseLogicalOr();if(this.match("PUNCTUATION","?")){let r=this.parseExpression();this.consume("PUNCTUATION",":");let n=this.parseExpression();return{type:"ConditionalExpression",test:t,consequent:r,alternate:n}}return t}parseLogicalOr(){let t=this.parseLogicalAnd();for(;this.match("OPERATOR","||");){let r=this.previous().value,n=this.parseLogicalAnd();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseLogicalAnd(){let t=this.parseEquality();for(;this.match("OPERATOR","&&");){let r=this.previous().value,n=this.parseEquality();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseEquality(){let t=this.parseRelational();for(;this.match("OPERATOR","==","!=","===","!==");){let r=this.previous().value,n=this.parseRelational();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseRelational(){let t=this.parseAdditive();for(;this.match("OPERATOR","<",">","<=",">=");){let r=this.previous().value,n=this.parseAdditive();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseAdditive(){let t=this.parseMultiplicative();for(;this.match("OPERATOR","+","-");){let r=this.previous().value,n=this.parseMultiplicative();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseMultiplicative(){let t=this.parseUnary();for(;this.match("OPERATOR","*","/","%");){let r=this.previous().value,n=this.parseUnary();t={type:"BinaryExpression",operator:r,left:t,right:n}}return t}parseUnary(){if(this.match("OPERATOR","++","--")){let t=this.previous().value,r=this.parseUnary();return{type:"UpdateExpression",operator:t,argument:r,prefix:!0}}if(this.match("OPERATOR","!","-","+")){let t=this.previous().value,r=this.parseUnary();return{type:"UnaryExpression",operator:t,argument:r,prefix:!0}}return this.parsePostfix()}parsePostfix(){let t=this.parseMember();return this.match("OPERATOR","++","--")?{type:"UpdateExpression",operator:this.previous().value,argument:t,prefix:!1}:t}parseMember(){let t=this.parsePrimary();for(;;)if(this.match("PUNCTUATION",".")){let r=this.consume("IDENTIFIER");t={type:"MemberExpression",object:t,property:{type:"Identifier",name:r.value},computed:!1}}else if(this.match("PUNCTUATION","[")){let r=this.parseExpression();this.consume("PUNCTUATION","]"),t={type:"MemberExpression",object:t,property:r,computed:!0}}else if(this.match("PUNCTUATION","(")){let r=this.parseArguments();t={type:"CallExpression",callee:t,arguments:r}}else break;return t}parseArguments(){let t=[];if(!this.check("PUNCTUATION",")"))do t.push(this.parseExpression());while(this.match("PUNCTUATION",","));return this.consume("PUNCTUATION",")"),t}parsePrimary(){if(this.match("NUMBER"))return{type:"Literal",value:this.previous().value};if(this.match("STRING"))return{type:"Literal",value:this.previous().value};if(this.match("BOOLEAN"))return{type:"Literal",value:this.previous().value};if(this.match("NULL"))return{type:"Literal",value:null};if(this.match("UNDEFINED"))return{type:"Literal",value:void 0};if(this.match("IDENTIFIER"))return{type:"Identifier",name:this.previous().value};if(this.match("PUNCTUATION","(")){let t=this.parseExpression();return this.consume("PUNCTUATION",")"),t}if(this.match("PUNCTUATION","["))return this.parseArrayLiteral();if(this.match("PUNCTUATION","{"))return this.parseObjectLiteral();throw new Error(`Unexpected token: ${this.current().type} "${this.current().value}"`)}parseArrayLiteral(){let t=[];for(;!this.check("PUNCTUATION","]")&&!this.isAtEnd()&&(t.push(this.parseExpression()),this.match("PUNCTUATION",","));)if(this.check("PUNCTUATION","]"))break;return this.consume("PUNCTUATION","]"),{type:"ArrayExpression",elements:t}}parseObjectLiteral(){let t=[];for(;!this.check("PUNCTUATION","}")&&!this.isAtEnd();){let r,n=!1;if(this.match("STRING"))r={type:"Literal",value:this.previous().value};else if(this.match("IDENTIFIER"))r={type:"Identifier",name:this.previous().value};else if(this.match("PUNCTUATION","["))r=this.parseExpression(),n=!0,this.consume("PUNCTUATION","]");else throw new Error("Expected property key");this.consume("PUNCTUATION",":");let i=this.parseExpression();if(t.push({type:"Property",key:r,value:i,computed:n,shorthand:!1}),this.match("PUNCTUATION",",")){if(this.check("PUNCTUATION","}"))break}else break}return this.consume("PUNCTUATION","}"),{type:"ObjectExpression",properties:t}}match(...t){for(let r=0;r<t.length;r++){let n=t[r];if(r===0&&t.length>1){let i=n;for(let o=1;o<t.length;o++)if(this.check(i,t[o]))return this.advance(),!0;return!1}else if(t.length===1)return this.checkType(n)?(this.advance(),!0):!1}return!1}check(t,r){return this.isAtEnd()?!1:r!==void 0?this.current().type===t&&this.current().value===r:this.current().type===t}checkType(t){return this.isAtEnd()?!1:this.current().type===t}advance(){return this.isAtEnd()||this.position++,this.previous()}isAtEnd(){return this.current().type==="EOF"}current(){return this.tokens[this.position]}previous(){return this.tokens[this.position-1]}consume(t,r){if(r!==void 0){if(this.check(t,r))return this.advance();throw new Error(`Expected ${t} "${r}" but got ${this.current().type} "${this.current().value}"`)}if(this.check(t))return this.advance();throw new Error(`Expected ${t} but got ${this.current().type} "${this.current().value}"`)}},It=class{evaluate({node:t,scope:r={},context:n=null,allowGlobal:i=!1,forceBindingRootScopeToFunctions:o=!0}){switch(t.type){case"Literal":return t.value;case"Identifier":if(t.name in r){let p=r[t.name];return typeof p=="function"?p.bind(r):p}if(i&&typeof globalThis[t.name]<"u"){let p=globalThis[t.name];return typeof p=="function"?p.bind(globalThis):p}throw new Error(`Undefined variable: ${t.name}`);case"MemberExpression":let s=this.evaluate({node:t.object,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});if(s==null)throw new Error("Cannot read property of null or undefined");let a;if(t.computed){let p=this.evaluate({node:t.property,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});a=s[p]}else a=s[t.property.name];return typeof a=="function"?o?a.bind(r):a.bind(s):a;case"CallExpression":let u=t.arguments.map(p=>this.evaluate({node:p,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}));if(t.callee.type==="MemberExpression"){let p=this.evaluate({node:t.callee.object,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}),f;if(t.callee.computed){let m=this.evaluate({node:t.callee.property,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});f=p[m]}else f=p[t.callee.property.name];if(typeof f!="function")throw new Error("Value is not a function");return f.apply(p,u)}else if(t.callee.type==="Identifier"){let p=t.callee.name,f;if(p in r)f=r[p];else if(i&&typeof globalThis[p]<"u")f=globalThis[p];else throw new Error(`Undefined variable: ${p}`);if(typeof f!="function")throw new Error("Value is not a function");let m=n!==null?n:r;return f.apply(m,u)}else{let p=this.evaluate({node:t.callee,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});if(typeof p!="function")throw new Error("Value is not a function");return p.apply(n,u)}case"UnaryExpression":let l=this.evaluate({node:t.argument,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});switch(t.operator){case"!":return!l;case"-":return-l;case"+":return+l;default:throw new Error(`Unknown unary operator: ${t.operator}`)}case"UpdateExpression":if(t.argument.type==="Identifier"){let p=t.argument.name;if(!(p in r))throw new Error(`Undefined variable: ${p}`);let f=r[p];return t.operator==="++"?r[p]=f+1:t.operator==="--"&&(r[p]=f-1),t.prefix?r[p]:f}else if(t.argument.type==="MemberExpression"){let p=this.evaluate({node:t.argument.object,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}),f=t.argument.computed?this.evaluate({node:t.argument.property,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}):t.argument.property.name,m=p[f];return t.operator==="++"?p[f]=m+1:t.operator==="--"&&(p[f]=m-1),t.prefix?p[f]:m}throw new Error("Invalid update expression target");case"BinaryExpression":let c=this.evaluate({node:t.left,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}),d=this.evaluate({node:t.right,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});switch(t.operator){case"+":return c+d;case"-":return c-d;case"*":return c*d;case"/":return c/d;case"%":return c%d;case"==":return c==d;case"!=":return c!=d;case"===":return c===d;case"!==":return c!==d;case"<":return c<d;case">":return c>d;case"<=":return c<=d;case">=":return c>=d;case"&&":return c&&d;case"||":return c||d;default:throw new Error(`Unknown binary operator: ${t.operator}`)}case"ConditionalExpression":return this.evaluate({node:t.test,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o})?this.evaluate({node:t.consequent,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}):this.evaluate({node:t.alternate,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});case"AssignmentExpression":let y=this.evaluate({node:t.right,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});if(t.left.type==="Identifier")return r[t.left.name]=y,y;if(t.left.type==="MemberExpression"){let p=this.evaluate({node:t.left.object,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});if(t.left.computed){let f=this.evaluate({node:t.left.property,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});p[f]=y}else p[t.left.property.name]=y;return y}throw new Error("Invalid assignment target");case"ArrayExpression":return t.elements.map(p=>this.evaluate({node:p,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}));case"ObjectExpression":let k={};for(let p of t.properties){let f=p.computed?this.evaluate({node:p.key,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}):p.key.type==="Identifier"?p.key.name:this.evaluate({node:p.key,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o}),m=this.evaluate({node:p.value,scope:r,context:n,allowGlobal:i,forceBindingRootScopeToFunctions:o});k[f]=m}return k;default:throw new Error(`Unknown node type: ${t.type}`)}}};function Qr(e){try{let r=new Rt(e).tokenize(),i=new Pt(r).parse(),o=new It;return function(s={}){let{scope:a={},context:u=null,allowGlobal:l=!1,forceBindingRootScopeToFunctions:c=!1}=s;return o.evaluate({node:i,scope:a,context:u,allowGlobal:l,forceBindingRootScopeToFunctions:c})}}catch(t){throw new Error(`CSP Parser Error: ${t.message}`)}}function en(e,t){let r=_i(e);if(typeof t=="function")return bt(r,t);let n=gi(e,t,r);return Pe.bind(null,e,t,n)}function _i(e){let t={};return G(t,e),[t,...D(e)]}function gi(e,t,r){return(n=()=>{},{scope:i={},params:o=[]}={})=>{let s=L([i,...r]),u=Qr(t)({scope:s,allowGlobal:!0,forceBindingRootScopeToFunctions:!0});if(se&&typeof u=="function"){let l=u.apply(u,o);l instanceof Promise?l.then(c=>n(c)):n(l)}else typeof u=="object"&&u instanceof Promise?u.then(l=>n(l)):n(u)}}function Mt(e,t){let r=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)r[n[i]]=!0;return t?i=>!!r[i.toLowerCase()]:i=>!!r[i]}var xi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly";var Zs=Mt(xi+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");var tn=Object.freeze({}),Xs=Object.freeze([]);var yi=Object.prototype.hasOwnProperty,we=(e,t)=>yi.call(e,t),q=Array.isArray,ce=e=>rn(e)==="[object Map]";var bi=e=>typeof e=="string",We=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object";var Ei=Object.prototype.toString,rn=e=>Ei.call(e),Dt=e=>rn(e).slice(8,-1);var Je=e=>bi(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e;var Ye=e=>{let t=Object.create(null);return r=>t[r]||(t[r]=e(r))},wi=/-(\w)/g,Qs=Ye(e=>e.replace(wi,(t,r)=>r?r.toUpperCase():"")),vi=/\B([A-Z])/g,ea=Ye(e=>e.replace(vi,"-$1").toLowerCase()),Ut=Ye(e=>e.charAt(0).toUpperCase()+e.slice(1)),ta=Ye(e=>e?`on${Ut(e)}`:""),Lt=(e,t)=>e!==t&&(e===e||t===t);var $t=new WeakMap,Ae=[],B,re=Symbol("iterate"),jt=Symbol("Map key iterate");function Ai(e){return e&&e._isEffect===!0}function cn(e,t=tn){Ai(e)&&(e=e.raw);let r=Ti(e,t);return t.lazy||r(),r}function ln(e){e.active&&(fn(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var Oi=0;function Ti(e,t){let r=function(){if(!r.active)return e();if(!Ae.includes(r)){fn(r);try{return Ni(),Ae.push(r),B=r,e()}finally{Ae.pop(),pn(),B=Ae[Ae.length-1]}}};return r.id=Oi++,r.allowRecurse=!!t.allowRecurse,r._isEffect=!0,r.active=!0,r.raw=e,r.deps=[],r.options=t,r}function fn(e){let{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var le=!0,Bt=[];function Si(){Bt.push(le),le=!1}function Ni(){Bt.push(le),le=!0}function pn(){let e=Bt.pop();le=e===void 0?!0:e}function I(e,t,r){if(!le||B===void 0)return;let n=$t.get(e);n||$t.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=new Set),i.has(B)||(i.add(B),B.deps.push(i),B.options.onTrack&&B.options.onTrack({effect:B,target:e,type:t,key:r}))}function J(e,t,r,n,i,o){let s=$t.get(e);if(!s)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==B||d.allowRecurse)&&a.add(d)})};if(t==="clear")s.forEach(u);else if(r==="length"&&q(e))s.forEach((c,d)=>{(d==="length"||d>=n)&&u(c)});else switch(r!==void 0&&u(s.get(r)),t){case"add":q(e)?Je(r)&&u(s.get("length")):(u(s.get(re)),ce(e)&&u(s.get(jt)));break;case"delete":q(e)||(u(s.get(re)),ce(e)&&u(s.get(jt)));break;case"set":ce(e)&&u(s.get(re));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:e,key:r,type:t,newValue:n,oldValue:i,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var Ci=Mt("__proto__,__v_isRef,__isVue"),dn=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(We)),ki=hn();var Ri=hn(!0);var nn=Pi();function Pi(){let e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){let n=x(this);for(let o=0,s=this.length;o<s;o++)I(n,"get",o+"");let i=n[t](...r);return i===-1||i===!1?n[t](...r.map(x)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Si();let n=x(this)[t].apply(this,r);return pn(),n}}),e}function hn(e=!1,t=!1){return function(n,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_raw"&&o===(e?t?Ji:xn:t?Wi:gn).get(n))return n;let s=q(n);if(!e&&s&&we(nn,i))return Reflect.get(nn,i,o);let a=Reflect.get(n,i,o);return(We(i)?dn.has(i):Ci(i))||(e||I(n,"get",i),t)?a:Ft(a)?!s||!Je(i)?a.value:a:ve(a)?e?yn(a):rt(a):a}}var Ii=Mi();function Mi(e=!1){return function(r,n,i,o){let s=r[n];if(!e&&(i=x(i),s=x(s),!q(r)&&Ft(s)&&!Ft(i)))return s.value=i,!0;let a=q(r)&&Je(n)?Number(n)<r.length:we(r,n),u=Reflect.set(r,n,i,o);return r===x(o)&&(a?Lt(i,s)&&J(r,"set",n,i,s):J(r,"add",n,i)),u}}function Di(e,t){let r=we(e,t),n=e[t],i=Reflect.deleteProperty(e,t);return i&&r&&J(e,"delete",t,void 0,n),i}function Ui(e,t){let r=Reflect.has(e,t);return(!We(t)||!dn.has(t))&&I(e,"has",t),r}function Li(e){return I(e,"iterate",q(e)?"length":re),Reflect.ownKeys(e)}var $i={get:ki,set:Ii,deleteProperty:Di,has:Ui,ownKeys:Li},ji={get:Ri,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}};var zt=e=>ve(e)?rt(e):e,Kt=e=>ve(e)?yn(e):e,Vt=e=>e,tt=e=>Reflect.getPrototypeOf(e);function Ge(e,t,r=!1,n=!1){e=e.__v_raw;let i=x(e),o=x(t);t!==o&&!r&&I(i,"get",t),!r&&I(i,"get",o);let{has:s}=tt(i),a=n?Vt:r?Kt:zt;if(s.call(i,t))return a(e.get(t));if(s.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function Ze(e,t=!1){let r=this.__v_raw,n=x(r),i=x(e);return e!==i&&!t&&I(n,"has",e),!t&&I(n,"has",i),e===i?r.has(e):r.has(e)||r.has(i)}function Xe(e,t=!1){return e=e.__v_raw,!t&&I(x(e),"iterate",re),Reflect.get(e,"size",e)}function on(e){e=x(e);let t=x(this);return tt(t).has.call(t,e)||(t.add(e),J(t,"add",e,e)),this}function sn(e,t){t=x(t);let r=x(this),{has:n,get:i}=tt(r),o=n.call(r,e);o?_n(r,n,e):(e=x(e),o=n.call(r,e));let s=i.call(r,e);return r.set(e,t),o?Lt(t,s)&&J(r,"set",e,t,s):J(r,"add",e,t),this}function an(e){let t=x(this),{has:r,get:n}=tt(t),i=r.call(t,e);i?_n(t,r,e):(e=x(e),i=r.call(t,e));let o=n?n.call(t,e):void 0,s=t.delete(e);return i&&J(t,"delete",e,void 0,o),s}function un(){let e=x(this),t=e.size!==0,r=ce(e)?new Map(e):new Set(e),n=e.clear();return t&&J(e,"clear",void 0,void 0,r),n}function Qe(e,t){return function(n,i){let o=this,s=o.__v_raw,a=x(s),u=t?Vt:e?Kt:zt;return!e&&I(a,"iterate",re),s.forEach((l,c)=>n.call(i,u(l),u(c),o))}}function et(e,t,r){return function(...n){let i=this.__v_raw,o=x(i),s=ce(o),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,l=i[e](...n),c=r?Vt:t?Kt:zt;return!t&&I(o,"iterate",u?jt:re),{next(){let{value:d,done:g}=l.next();return g?{value:d,done:g}:{value:a?[c(d[0]),c(d[1])]:c(d),done:g}},[Symbol.iterator](){return this}}}}function W(e){return function(...t){{let r=t[0]?`on key "${t[0]}" `:"";console.warn(`${Ut(e)} operation ${r}failed: target is readonly.`,x(this))}return e==="delete"?!1:this}}function Fi(){let e={get(o){return Ge(this,o)},get size(){return Xe(this)},has:Ze,add:on,set:sn,delete:an,clear:un,forEach:Qe(!1,!1)},t={get(o){return Ge(this,o,!1,!0)},get size(){return Xe(this)},has:Ze,add:on,set:sn,delete:an,clear:un,forEach:Qe(!1,!0)},r={get(o){return Ge(this,o,!0)},get size(){return Xe(this,!0)},has(o){return Ze.call(this,o,!0)},add:W("add"),set:W("set"),delete:W("delete"),clear:W("clear"),forEach:Qe(!0,!1)},n={get(o){return Ge(this,o,!0,!0)},get size(){return Xe(this,!0)},has(o){return Ze.call(this,o,!0)},add:W("add"),set:W("set"),delete:W("delete"),clear:W("clear"),forEach:Qe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=et(o,!1,!1),r[o]=et(o,!0,!1),t[o]=et(o,!1,!0),n[o]=et(o,!0,!0)}),[e,r,t,n]}var[Bi,zi,Ki,Vi]=Fi();function mn(e,t){let r=t?e?Vi:Ki:e?zi:Bi;return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(we(r,i)&&i in n?r:n,i,o)}var Hi={get:mn(!1,!1)};var qi={get:mn(!0,!1)};function _n(e,t,r){let n=x(r);if(n!==r&&t.call(e,n)){let i=Dt(e);console.warn(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var gn=new WeakMap,Wi=new WeakMap,xn=new WeakMap,Ji=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gi(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(Dt(e))}function rt(e){return e&&e.__v_isReadonly?e:bn(e,!1,$i,Hi,gn)}function yn(e){return bn(e,!0,ji,qi,xn)}function bn(e,t,r,n,i){if(!ve(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let o=i.get(e);if(o)return o;let s=Gi(e);if(s===0)return e;let a=new Proxy(e,s===2?n:r);return i.set(e,a),a}function x(e){return e&&x(e.__v_raw)||e}function Ft(e){return Boolean(e&&e.__v_isRef===!0)}E("nextTick",()=>ue);E("dispatch",e=>X.bind(X,e));E("watch",(e,{evaluateLater:t,cleanup:r})=>(n,i)=>{let o=t(n),a=Oe(()=>{let u;return o(l=>u=l),u},i);r(a)});E("store",qr);E("data",e=>Ce(e));E("root",e=>Q(e));E("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=L(Zi(e))),e._x_refs_proxy));function Zi(e){let t=[];return K(e,r=>{r._x_refs&&t.push(r._x_refs)}),t}var Ht={};function qt(e){return Ht[e]||(Ht[e]=0),++Ht[e]}function En(e,t){return K(e,r=>{if(r._x_ids&&r._x_ids[t])return!0})}function wn(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=qt(t))}E("id",(e,{cleanup:t})=>(r,n=null)=>{let i=`${r}${n?`-${n}`:""}`;return Xi(e,i,t,()=>{let o=En(e,r),s=o?o._x_ids[r]:qt(r);return n?`${r}-${s}-${n}`:`${r}-${s}`})});H((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function Xi(e,t,r,n){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let i=n();return e._x_id[t]=i,r(()=>{delete e._x_id[t]}),i}E("el",e=>e);vn("Focus","focus","focus");vn("Persist","persist","persist");function vn(e,t,r){E(t,n=>A(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${r}`,n))}h("modelable",(e,{expression:t},{effect:r,evaluateLater:n,cleanup:i})=>{let o=n(t),s=()=>{let c;return o(d=>c=d),c},a=n(`${t} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=s();u(l),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let c=e._x_model.get,d=e._x_model.set,g=qe({get(){return c()},set(y){d(y)}},{get(){return s()},set(y){u(y)}});i(g)})});h("teleport",(e,{modifiers:t,expression:r},{cleanup:n})=>{e.tagName.toLowerCase()!=="template"&&A("x-teleport can only be used on a <template> tag",e);let i=An(r),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(a=>{o.addEventListener(a,u=>{u.stopPropagation(),e.dispatchEvent(new u.constructor(u.type,u))})}),U(o,{},e);let s=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};_(()=>{s(o,i,t),S(()=>{T(o)})()}),e._x_teleportPutBack=()=>{let a=An(r);_(()=>{s(e._x_teleport,a,t)})},n(()=>_(()=>{o.remove(),j(o)}))});var Qi=document.createElement("div");function An(e){let t=S(()=>document.querySelector(e),()=>Qi)();return t||A(`Cannot find x-teleport element for selector: "${e}"`),t}var On=()=>{};On.inline=(e,{modifiers:t},{cleanup:r})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,r(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};h("ignore",On);h("effect",S((e,{expression:t},{effect:r})=>{r(b(e,t))}));function fe(e,t,r,n){let i=e,o=u=>n(u),s={},a=(u,l)=>c=>l(u,c);if(r.includes("dot")&&(t=eo(t)),r.includes("camel")&&(t=to(t)),r.includes("passive")&&(s.passive=!0),r.includes("capture")&&(s.capture=!0),r.includes("window")&&(i=window),r.includes("document")&&(i=document),r.includes("debounce")){let u=r[r.indexOf("debounce")+1]||"invalid-wait",l=nt(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=Ve(o,l)}if(r.includes("throttle")){let u=r[r.indexOf("throttle")+1]||"invalid-wait",l=nt(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=He(o,l)}return r.includes("prevent")&&(o=a(o,(u,l)=>{l.preventDefault(),u(l)})),r.includes("stop")&&(o=a(o,(u,l)=>{l.stopPropagation(),u(l)})),r.includes("once")&&(o=a(o,(u,l)=>{u(l),i.removeEventListener(t,o,s)})),(r.includes("away")||r.includes("outside"))&&(i=document,o=a(o,(u,l)=>{e.contains(l.target)||l.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&u(l))})),r.includes("self")&&(o=a(o,(u,l)=>{l.target===e&&u(l)})),(no(t)||Sn(t))&&(o=a(o,(u,l)=>{io(l,r)||u(l)})),i.addEventListener(t,o,s),()=>{i.removeEventListener(t,o,s)}}function eo(e){return e.replace(/-/g,".")}function to(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperCase())}function nt(e){return!Array.isArray(e)&&!isNaN(e)}function ro(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function no(e){return["keydown","keyup"].includes(e)}function Sn(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function io(e,t){let r=t.filter(o=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll"].includes(o));if(r.includes("debounce")){let o=r.indexOf("debounce");r.splice(o,nt((r[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(r.includes("throttle")){let o=r.indexOf("throttle");r.splice(o,nt((r[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(r.length===0||r.length===1&&Tn(e.key).includes(r[0]))return!1;let i=["ctrl","shift","alt","meta","cmd","super"].filter(o=>r.includes(o));return r=r.filter(o=>!i.includes(o)),!(i.length>0&&i.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),e[`${s}Key`])).length===i.length&&(Sn(e.type)||Tn(e.key).includes(r[0])))}function Tn(e){if(!e)return[];e=ro(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(r=>{if(t[r]===e)return r}).filter(r=>r)}h("model",(e,{modifiers:t,expression:r},{effect:n,cleanup:i})=>{let o=e;t.includes("parent")&&(o=e.parentNode);let s=b(o,r),a;typeof r=="string"?a=b(o,`${r} = __placeholder`):typeof r=="function"&&typeof r()=="string"?a=b(o,`${r()} = __placeholder`):a=()=>{};let u=()=>{let g;return s(y=>g=y),Nn(g)?g.get():g},l=g=>{let y;s(k=>y=k),Nn(y)?y.set(g):a(()=>{},{scope:{__placeholder:g}})};typeof r=="string"&&e.type==="radio"&&_(()=>{e.hasAttribute("name")||e.setAttribute("name",r)});let c=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input",d=F?()=>{}:fe(e,c,t,g=>{l(Wt(e,t,g,u()))});if(t.includes("fill")&&([void 0,null,""].includes(u())||Ke(e)&&Array.isArray(u())||e.tagName.toLowerCase()==="select"&&e.multiple)&&l(Wt(e,t,{target:e},u())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=d,i(()=>e._x_removeModelListeners.default()),e.form){let g=fe(e.form,"reset",[],y=>{ue(()=>e._x_model&&e._x_model.set(Wt(e,t,{target:e},u())))});i(()=>g())}e._x_model={get(){return u()},set(g){l(g)}},e._x_forceModelUpdate=g=>{g===void 0&&typeof r=="string"&&r.match(/\./)&&(g=""),window.fromModel=!0,_(()=>be(e,"value",g)),delete window.fromModel},n(()=>{let g=u();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(g)})});function Wt(e,t,r,n){return _(()=>{if(r instanceof CustomEvent&&r.detail!==void 0)return r.detail!==null&&r.detail!==void 0?r.detail:r.target.value;if(Ke(e))if(Array.isArray(n)){let i=null;return t.includes("number")?i=Jt(r.target.value):t.includes("boolean")?i=Ee(r.target.value):i=r.target.value,r.target.checked?n.includes(i)?n:n.concat([i]):n.filter(o=>!oo(o,i))}else return r.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(r.target.selectedOptions).map(i=>{let o=i.value||i.text;return Jt(o)}):t.includes("boolean")?Array.from(r.target.selectedOptions).map(i=>{let o=i.value||i.text;return Ee(o)}):Array.from(r.target.selectedOptions).map(i=>i.value||i.text);{let i;return Nt(e)?r.target.checked?i=r.target.value:i=n:i=r.target.value,t.includes("number")?Jt(i):t.includes("boolean")?Ee(i):t.includes("trim")?i.trim():i}}})}function Jt(e){let t=e?parseFloat(e):null;return so(t)?t:e}function oo(e,t){return e==t}function so(e){return!Array.isArray(e)&&!isNaN(e)}function Nn(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}h("cloak",e=>queueMicrotask(()=>_(()=>e.removeAttribute(C("cloak")))));je(()=>`[${C("init")}]`);h("init",S((e,{expression:t},{evaluate:r})=>typeof t=="string"?!!t.trim()&&r(t,{},!1):r(t,{},!1)));h("text",(e,{expression:t},{effect:r,evaluateLater:n})=>{let i=n(t);r(()=>{i(o=>{_(()=>{e.textContent=o})})})});h("html",(e,{expression:t},{effect:r,evaluateLater:n})=>{let i=n(t);r(()=>{i(o=>{_(()=>{e.innerHTML=o,e._x_ignoreSelf=!0,T(e),delete e._x_ignoreSelf})})})});ae(Ue(":",Le(C("bind:"))));var Cn=(e,{value:t,modifiers:r,expression:n,original:i},{effect:o,cleanup:s})=>{if(!t){let u={};Yr(u),b(e,n)(c=>{kt(e,c,i)},{scope:u});return}if(t==="key")return ao(e,n);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let a=b(e,n);o(()=>a(u=>{u===void 0&&typeof n=="string"&&n.match(/\./)&&(u=""),_(()=>be(e,t,u,r))})),s(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};Cn.inline=(e,{value:t,modifiers:r,expression:n})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:n,extract:!1})};h("bind",Cn);function ao(e,t){e._x_keyExpression=t}$e(()=>`[${C("data")}]`);h("data",(e,{expression:t},{cleanup:r})=>{if(uo(e))return;t=t===""?"{}":t;let n={};G(n,e);let i={};Xr(i,n);let o=P(e,t,{scope:i});(o===void 0||o===!0)&&(o={}),G(o,e);let s=R(o);ke(s);let a=U(e,s);s.init&&P(e,s.init),r(()=>{s.destroy&&P(e,s.destroy),a()})});H((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function uo(e){return F?ze?!0:e.hasAttribute("data-has-alpine-state"):!1}h("show",(e,{modifiers:t,expression:r},{effect:n})=>{let i=b(e,r);e._x_doHide||(e._x_doHide=()=>{_(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{_(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let o=()=>{e._x_doHide(),e._x_isShown=!1},s=()=>{e._x_doShow(),e._x_isShown=!0},a=()=>setTimeout(s),u=xe(d=>d?s():o(),d=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,d,s,o):d?a():o()}),l,c=!0;n(()=>i(d=>{!c&&d===l||(t.includes("immediate")&&(d?a():o()),u(d),l=d,c=!1)}))});h("for",(e,{expression:t},{effect:r,cleanup:n})=>{let i=lo(t),o=b(e,i.items),s=b(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},r(()=>co(e,i,o,s)),n(()=>{Object.values(e._x_lookup).forEach(a=>_(()=>{j(a),a.remove()})),delete e._x_prevKeys,delete e._x_lookup})});function co(e,t,r,n){let i=s=>typeof s=="object"&&!Array.isArray(s),o=e;r(s=>{fo(s)&&s>=0&&(s=Array.from(Array(s).keys(),f=>f+1)),s===void 0&&(s=[]);let a=e._x_lookup,u=e._x_prevKeys,l=[],c=[];if(i(s))s=Object.entries(s).map(([f,m])=>{let w=kn(t,m,f,s);n(O=>{c.includes(O)&&A("Duplicate key on x-for",e),c.push(O)},{scope:{index:f,...w}}),l.push(w)});else for(let f=0;f<s.length;f++){let m=kn(t,s[f],f,s);n(w=>{c.includes(w)&&A("Duplicate key on x-for",e),c.push(w)},{scope:{index:f,...m}}),l.push(m)}let d=[],g=[],y=[],k=[];for(let f=0;f<u.length;f++){let m=u[f];c.indexOf(m)===-1&&y.push(m)}u=u.filter(f=>!y.includes(f));let p="template";for(let f=0;f<c.length;f++){let m=c[f],w=u.indexOf(m);if(w===-1)u.splice(f,0,m),d.push([p,f]);else if(w!==f){let O=u.splice(f,1)[0],N=u.splice(w-1,1)[0];u.splice(f,0,N),u.splice(w,0,O),g.push([O,N])}else k.push(m);p=m}for(let f=0;f<y.length;f++){let m=y[f];m in a&&(_(()=>{j(a[m]),a[m].remove()}),delete a[m])}for(let f=0;f<g.length;f++){let[m,w]=g[f],O=a[m],N=a[w],ne=document.createElement("div");_(()=>{N||A('x-for ":key" is undefined or invalid',o,w,a),N.after(ne),O.after(N),N._x_currentIfEl&&N.after(N._x_currentIfEl),ne.before(O),O._x_currentIfEl&&O.after(O._x_currentIfEl),ne.remove()}),N._x_refreshXForScope(l[c.indexOf(w)])}for(let f=0;f<d.length;f++){let[m,w]=d[f],O=m==="template"?o:a[m];O._x_currentIfEl&&(O=O._x_currentIfEl);let N=l[w],ne=c[w],pe=document.importNode(o.content,!0).firstElementChild,Gt=R(N);U(pe,Gt,o),pe._x_refreshXForScope=Pn=>{Object.entries(Pn).forEach(([In,Mn])=>{Gt[In]=Mn})},_(()=>{O.after(pe),S(()=>T(pe))()}),typeof ne=="object"&&A("x-for key cannot be an object, it must be a string or an integer",o),a[ne]=pe}for(let f=0;f<k.length;f++)a[k[f]]._x_refreshXForScope(l[c.indexOf(k[f])]);o._x_prevKeys=c})}function lo(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,r=/^\s*\(|\)\s*$/g,n=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(n);if(!i)return;let o={};o.items=i[2].trim();let s=i[1].replace(r,"").trim(),a=s.match(t);return a?(o.item=s.replace(t,"").trim(),o.index=a[1].trim(),a[2]&&(o.collection=a[2].trim())):o.item=s,o}function kn(e,t,r,n){let i={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{i[s]=t[a]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{i[s]=t[s]}):i[e.item]=t,e.index&&(i[e.index]=r),e.collection&&(i[e.collection]=n),i}function fo(e){return!Array.isArray(e)&&!isNaN(e)}function Rn(){}Rn.inline=(e,{expression:t},{cleanup:r})=>{let n=Q(e);n._x_refs||(n._x_refs={}),n._x_refs[t]=e,r(()=>delete n._x_refs[t])};h("ref",Rn);h("if",(e,{expression:t},{effect:r,cleanup:n})=>{e.tagName.toLowerCase()!=="template"&&A("x-if can only be used on a <template> tag",e);let i=b(e,t),o=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let a=e.content.cloneNode(!0).firstElementChild;return U(a,{},e),_(()=>{e.after(a),S(()=>T(a))()}),e._x_currentIfEl=a,e._x_undoIf=()=>{_(()=>{j(a),a.remove()}),delete e._x_currentIfEl},a},s=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};r(()=>i(a=>{a?o():s()})),n(()=>e._x_undoIf&&e._x_undoIf())});h("id",(e,{expression:t},{evaluate:r})=>{r(t).forEach(i=>wn(e,i))});H((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)});ae(Ue("@",Le(C("on:"))));h("on",S((e,{value:t,modifiers:r,expression:n},{cleanup:i})=>{let o=n?b(e,n):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let s=fe(e,t,r,a=>{o(()=>{},{scope:{$event:a},params:[a]})});i(()=>s())}));it("Collapse","collapse","collapse");it("Intersect","intersect","intersect");it("Focus","trap","focus");it("Mask","mask","mask");function it(e,t,r){h(t,n=>A(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${r}`,n))}V.setEvaluator(en);V.setReactivityEngine({reactive:rt,effect:cn,release:ln,raw:x});var Yt=V;window.Alpine=Yt;queueMicrotask(()=>{Yt.start()});})();
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# MICROSOFT SOFTWARE LICENSE TERMS
|
|
2
|
+
|
|
3
|
+
## MICROSOFT OFFICE JAVASCRIPT (OFFICE.JS) API LIBRARY
|
|
4
|
+
|
|
5
|
+
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to your use of the software named above, which includes the media on which you received it, if any, and supersede any other agreement referenced in the software that may apply to your use of the software. The terms also apply to any Microsoft
|
|
6
|
+
|
|
7
|
+
- updates,
|
|
8
|
+
- supplements,
|
|
9
|
+
- Internet-based services, and
|
|
10
|
+
- support services
|
|
11
|
+
|
|
12
|
+
for this software, unless other terms accompany those items. If so, those terms apply.
|
|
13
|
+
|
|
14
|
+
**By using the software, you accept these terms. If you do not accept them, do not use the software.**
|
|
15
|
+
|
|
16
|
+
**YOU MAY USE THE SOFTWARE SOLELY IN APPS DEVELOPED BY YOU THAT INTEROPERATE WITH MICROSOFT 365 PRODUCTS, APPS, AND SERVICES (REFERRED TO AS "AUTHORIZED APPS").**
|
|
17
|
+
|
|
18
|
+
**IF YOU RECEIVE THE SOFTWARE AS PART OF OR IN CONNECTION WITH AN APPLICATION DEVELOPED BY A THIRD PARTY, THESE LICENSE TERMS DO NOT APPLY TO YOU. THE LICENSE TERMS APPLICABLE TO THE THIRD PARTY APPLICATION APPLY TO YOUR USE OF THE SOFTWARE.**
|
|
19
|
+
|
|
20
|
+
**If you comply with these license terms, you have the rights below.**
|
|
21
|
+
|
|
22
|
+
1. **INSTALLATION AND USE RIGHTS.** You may install and use any number of copies of the software on your devices to design, develop and test Authorized Apps. You may also use any number of copies of the software as part of the Authorized Apps you develop for your internal business purposes.
|
|
23
|
+
1. **ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.**
|
|
24
|
+
1. **Distributable Code.** The software contains code that you are permitted to distribute (a) as part of the Authorized Apps you develop; or (b) in a stand-alone manner, but for the sole purpose of enabling the use of or updating the Authorized Apps you develop, if you comply with the terms below.
|
|
25
|
+
1. **Right to Use and Distribute. "Distributable Code" is code from the Office.JS API Library.**
|
|
26
|
+
- You may copy and distribute all the code provided in the source code form in the software in its original form.
|
|
27
|
+
- Third Party Distribution. You may permit the distributor of the Authorized Apps to copy and distribute the Distributable Code as part of the Authorized Apps, or in a stand-alone manner solely for the purpose of enabling the use of or updating the Authorized Apps.
|
|
28
|
+
1. **Distribution Requirements. For any Distributable Code you distribute, you must**
|
|
29
|
+
- add significant primary functionality to it in Authorized Apps;
|
|
30
|
+
- distribute the Distributable Code only for use with the Authorized Apps;
|
|
31
|
+
- require distributors and external end users to agree to terms that protect it at least as much as this agreement; include in these terms, user interface or documentation, a notice that Microsoft is not responsible for maintaining, updating or supporting the Authorized Apps
|
|
32
|
+
- display your valid copyright notice on Authorized Apps; and
|
|
33
|
+
- indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of Authorized Apps.
|
|
34
|
+
1. **Distribution Restrictions. You may not**
|
|
35
|
+
- alter any copyright, trademark or patent notice in the Distributable Code;
|
|
36
|
+
- use Microsoft’s trademarks in the names of Authorized Apps in a way that suggests Authorized Apps come from or are endorsed by Microsoft;
|
|
37
|
+
- include Distributable Code in malicious, deceptive or unlawful programs;
|
|
38
|
+
- modify the Distributable Code; or
|
|
39
|
+
- modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
|
|
40
|
+
- the code be disclosed or distributed in source code form; or
|
|
41
|
+
- others have the right to modify it.
|
|
42
|
+
1. **PRE-RELEASE SOFTWARE.** If you are using a pre-release or beta version of the software, the terms of this section also apply to the pre-release or beta software:
|
|
43
|
+
1. The software is a pre-release version and is provided "AS-IS," "WITH ALL FAULTS," AND "AS AVAILABLE." It may not operate correctly, and it may be different from the commercially released version.
|
|
44
|
+
1. **Confidential Information.** The software, including its user interface, features and documentation, is confidential and proprietary to Microsoft and its suppliers.
|
|
45
|
+
1. **Use.** For five years after installation of the software or its commercial release, whichever is first, you may not disclose confidential information to third parties. You may disclose confidential information only to your employees and consultants who need to know the information. You must have written agreements with them that protect the confidential information at least as much as this agreement.
|
|
46
|
+
1. **Survival.** Your duty to protect confidential information survives this agreement.
|
|
47
|
+
1. **Exclusions.** You may disclose confidential information in response to a judicial or governmental order. You must first give written notice to Microsoft to allow it to seek a protective order or otherwise protect the information. Confidential information does not include information that:
|
|
48
|
+
1. becomes publicly known through no wrongful act;
|
|
49
|
+
1. you received from a third party who did not breach confidentiality obligations to Microsoft or its suppliers; or
|
|
50
|
+
1. you developed independently.
|
|
51
|
+
1. **FEEDBACK.** If you give feedback about the software to Microsoft, you give to Microsoft, without charge, the right to use, share and commercialize your feedback in any way and for any purpose. You also give to third parties, without charge, any patent rights needed for their products, technologies and services to use or interface with any specific parts of a Microsoft software or service that includes the feedback. You will not give feedback that is subject to a license that requires Microsoft to license its software or documentation to third parties because we include your feedback in them. These rights survive this agreement.
|
|
52
|
+
1. **SCOPE OF LICENSE.** You may only use the software in Authorized Apps. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
|
53
|
+
- work around any technical limitations in the software;
|
|
54
|
+
- use the software in any way that intentionally harms services provided by Microsoft or impairs anyone else’s use of such services;
|
|
55
|
+
- use the software to try to gain unauthorized access to any service, data, account or network by any means;
|
|
56
|
+
- make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
|
|
57
|
+
- publish the software for others to copy; or
|
|
58
|
+
- rent, lease or lend the software.
|
|
59
|
+
1. **BACKUP COPY.** You may make one backup copy of the software. You may use it only to reinstall the software.
|
|
60
|
+
1. **DOCUMENTATION.** Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
|
|
61
|
+
1. **TRANSFER TO A THIRD PARTY.** The first user of the software may transfer it and this agreement directly to a third party. Before the transfer, that party must agree that this agreement applies to the transfer and use of the software. The first user must uninstall the software before transferring it separately from the device. The first user may not retain any copies.
|
|
62
|
+
1. **EXPORT RESTRICTIONS.** The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
|
|
63
|
+
1. **SUPPORT SERVICES.** Because this software is "as is," we will not provide support services for it.
|
|
64
|
+
1. **ENTIRE AGREEMENT.** This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
|
65
|
+
1. **APPLICABLE LAW.**
|
|
66
|
+
1. **United States.** If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
|
|
67
|
+
1. **Outside the United States.** If you acquired the software in any other country, the laws of that country apply.
|
|
68
|
+
1. **LEGAL EFFECT.** This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
|
|
69
|
+
1. **DISCLAIMER OF WARRANTY. The software is licensed "as-is." You bear the risk of using it. Microsoft gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, Microsoft excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.**
|
|
70
|
+
1. **LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.**
|
|
71
|
+
This limitation applies to
|
|
72
|
+
|
|
73
|
+
- anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
|
|
74
|
+
- claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
|
75
|
+
|
|
76
|
+
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
if (window.Type && window.Type.registerNamespace) {
|
|
2
|
+
Type.registerNamespace("Strings");} else {
|
|
3
|
+
if(typeof(window['"Strings"']) == 'undefined') {
|
|
4
|
+
window['"Strings"'] = new Object(); window['"Strings"']. __namespace = true;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
Strings.OfficeOM=function(){};if (Strings.OfficeOM.registerClass) Strings.OfficeOM.registerClass("Strings.OfficeOM");Strings.OfficeOM.L_APICallFailed="API Call Failed";Strings.OfficeOM.L_APINotSupported="API Not Supported";Strings.OfficeOM.L_ActivityLimitReached="Activity limit has been reached.";Strings.OfficeOM.L_AddBindingFromPromptDefaultText="Please make a selection.";Strings.OfficeOM.L_AddinIsAlreadyRequestingToken="Add-in is already requesting an access token.";Strings.OfficeOM.L_AddinIsAlreadyRequestingTokenMessage="The operation failed because this add-in is already requesting an access token.";Strings.OfficeOM.L_ApiNotFoundDetails="The method or property {0} is part of the {1} requirement set, which is not available in your version of {2}.";Strings.OfficeOM.L_AppNameNotExist="Add-in Name for {0} doesn't exist.";Strings.OfficeOM.L_AppNotExistInitializeNotCalled="Application {0} does not exist. Microsoft.Office.WebExtension.initialize(reason) is not called.";Strings.OfficeOM.L_AttemptingToSetReadOnlyProperty="Attempting to set read-only property '{0}'.";Strings.OfficeOM.L_BadSelectorString="The string passed into the selector is improperly formatted or unsupported.";Strings.OfficeOM.L_BindingCreationError="Binding Creation Error";Strings.OfficeOM.L_BindingNotExist="The specified binding does not exist.";Strings.OfficeOM.L_BindingToMultipleSelection="Noncontiguous selections are not supported.";Strings.OfficeOM.L_BrowserAPINotSupported="This browser does not support the requested API.";Strings.OfficeOM.L_CallbackNotAFunction="Callback must be of type function, was of type {0}.";Strings.OfficeOM.L_CancelButton="Cancel";Strings.OfficeOM.L_CannotApplyPropertyThroughSetMethod="Changes to property '{0}' cannot be applied through an \"object.set\" method.";Strings.OfficeOM.L_CannotNavigateTo="The object is located in a place where navigation is not supported.";Strings.OfficeOM.L_CannotRegisterEvent="The event handler cannot be registered.";Strings.OfficeOM.L_CannotWriteToSelection="Cannot write to the current selection.";Strings.OfficeOM.L_CellDataAmountBeyondLimits="Note: The number of cells in a table is suggested to be below 20,000 cells.";Strings.OfficeOM.L_CellFormatAmountBeyondLimits="Note: The formatting sets set by a Formatting API call is suggested to be below 100.";Strings.OfficeOM.L_CloseFileBeforeRetrieve="Call closeAsync on the current File before retrieving another.";Strings.OfficeOM.L_CoercionTypeNotMatchBinding="The specified coercion type is not compatible with this binding type.";Strings.OfficeOM.L_CoercionTypeNotSupported="The specified coercion type is not supported.";Strings.OfficeOM.L_ColIndexOutOfRange="The column index value is out of the allowed range. Use a value (0 or higher) that's less than the number of columns.";Strings.OfficeOM.L_ConfirmCancelMessage="Sorry, we can't continue.";Strings.OfficeOM.L_ConfirmDialog="The domain {0} is acting as Microsoft Office and can run Office add-ins, which may access your personal data. If you trust the domain to run as Office and access your data, click OK to continue.";Strings.OfficeOM.L_ConfirmDialogApiTrustsParent="You are about to send and receive potentially sensitive information from {0}. Only click OK if you trust the following website recieving the sensitive information: {1}.";Strings.OfficeOM.L_ConfirmDialogConsent="By clicking OK, you will allow {0} access to your content and personal information. ";Strings.OfficeOM.L_ConfirmDialogConsentTitle="One moment ...";Strings.OfficeOM.L_ConfirmRefreshMessage="To continue, remove the add-in and add it again, or refresh the page.";Strings.OfficeOM.L_ConnectionFailureWithDetails="The request failed with status code of {0}, error code {1} and the following error message: {2}";Strings.OfficeOM.L_ConnectionFailureWithStatus="The request failed with status code of {0}.";Strings.OfficeOM.L_ContinueButton="Continue";Strings.OfficeOM.L_CustomFunctionDefinitionMissing="A property with this name that represents the function's definition must exist on Excel.Script.CustomFunctions.";Strings.OfficeOM.L_CustomFunctionImplementationMissing="The property with this name on Excel.Script.CustomFunctions that represents the function's definition must contain a 'call' property that implements the function.";Strings.OfficeOM.L_CustomFunctionNameCannotSplit="The function name must contain a non-empty namespace and a non-empty short name.";Strings.OfficeOM.L_CustomFunctionNameContainsBadChars="The function name may only contain letters, digits, underscores, and periods.";Strings.OfficeOM.L_CustomXmlError="Custom XML Error.";Strings.OfficeOM.L_CustomXmlExceedQuotaMessage="XPath limits selection to 1024 items.";Strings.OfficeOM.L_CustomXmlExceedQuotaName="Selection Limit Reached";Strings.OfficeOM.L_CustomXmlNodeNotFound="The specified node was not found.";Strings.OfficeOM.L_CustomXmlOutOfDateMessage="The data is out of date. Retrieve the object again.";Strings.OfficeOM.L_CustomXmlOutOfDateName="Data Not Current";Strings.OfficeOM.L_DataNotMatchBindingSize="The supplied data object does not match the size of the current selection.";Strings.OfficeOM.L_DataNotMatchBindingType="The specified data object is not compatible with the binding type.";Strings.OfficeOM.L_DataNotMatchCoercionType="The type of the specified data object is not compatible with the current selection.";Strings.OfficeOM.L_DataNotMatchSelection="The supplied data object is not compatible with the shape or dimensions of the current selection.";Strings.OfficeOM.L_DataReadError="Data Read Error";Strings.OfficeOM.L_DataStale="Data Not Current";Strings.OfficeOM.L_DataWriteError="Data Write Error";Strings.OfficeOM.L_DataWriteReminder="Data Write Reminder";Strings.OfficeOM.L_DialogAddressNotTrusted="The domain of the URL is not included in the AppDomains element in the manifest, and is not subdomain of source location.";Strings.OfficeOM.L_DialogAlreadyOpened="The operation failed because this add-in already has an active dialog.";Strings.OfficeOM.L_DialogInvalidScheme="The URL scheme is not supported. Use HTTPS instead.";Strings.OfficeOM.L_DialogNavigateError="Dialog Navigation Error";Strings.OfficeOM.L_DialogOK="OK";Strings.OfficeOM.L_DialogParentIsMinimized="The operation failed because parent window is minimized.";Strings.OfficeOM.L_DialogRequireHTTPS="The HTTP protocol is not supported. Use HTTPS instead";Strings.OfficeOM.L_DisplayDialogError="Display Dialog Error";Strings.OfficeOM.L_DocumentIsInactive="The operation failed because the document containing this add-in is inactive.";Strings.OfficeOM.L_DocumentReadOnly="The requested operation is not allowed on the current document mode.";Strings.OfficeOM.L_ElementMissing="We couldn't format the table cell because some parameter values are missing. Double-check the parameters and try again.";Strings.OfficeOM.L_EventHandlerAdditionFailed="Failed to add the event handler.";Strings.OfficeOM.L_EventHandlerNotExist="The specified event handler was not found for this binding.";Strings.OfficeOM.L_EventHandlerRemovalFailed="Failed to remove the event handler.";Strings.OfficeOM.L_EventRegistrationError="Event Registration Error";Strings.OfficeOM.L_FileTypeNotSupported="The specified file type is not supported.";Strings.OfficeOM.L_FormatValueOutOfRange="The value is out of the allowed range.";Strings.OfficeOM.L_FormattingReminder="Formatting Reminder";Strings.OfficeOM.L_FunctionCallFailed="Function {0} call failed, error code: {1}.";Strings.OfficeOM.L_GetDataIsTooLarge="The requested data set is too large.";Strings.OfficeOM.L_GetDataParametersConflict="The specified parameters conflict.";Strings.OfficeOM.L_GetSelectionNotSupported="The current selection is not supported.";Strings.OfficeOM.L_HostError="Host Error";Strings.OfficeOM.L_ImplicitGetAuthContextMissing="The function to get authentication context is missing";Strings.OfficeOM.L_ImplicitNotLoaded="The module is not loaded before acquire a token";Strings.OfficeOM.L_InValidOptionalArgument="invalid optional argument";Strings.OfficeOM.L_IndexOutOfRange="Index out of range.";Strings.OfficeOM.L_InitializeNotReady="Office.js has not been fully loaded yet. Please try again later or make sure to add your initialization code on the Office.initialize function.";Strings.OfficeOM.L_InternalError="Internal Error";Strings.OfficeOM.L_InternalErrorDescription="An internal error has occurred.";Strings.OfficeOM.L_InvalidAPICall="Invalid API Call";Strings.OfficeOM.L_InvalidApiArgumentsMessage="Invalid input arguments.";Strings.OfficeOM.L_InvalidApiCallInContext="Invalid API call in the current context.";Strings.OfficeOM.L_InvalidArgument="The argument '{0}' doesn't work for this situation, is missing, or isn't in the right format.";Strings.OfficeOM.L_InvalidArgumentGeneric="The argument(s) passed into the function don't work for this situation, are missing, or aren't in the right format.";Strings.OfficeOM.L_InvalidBinding="Invalid Binding";Strings.OfficeOM.L_InvalidBindingError="Invalid Binding Error";Strings.OfficeOM.L_InvalidBindingOperation="Invalid Binding Operation";Strings.OfficeOM.L_InvalidCellsValue="One or more of the cells parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_InvalidCoercion="Invalid Coercion Type";Strings.OfficeOM.L_InvalidColumnsForBinding="The specified columns are invalid.";Strings.OfficeOM.L_InvalidDataFormat="The format of the specified data object is invalid.";Strings.OfficeOM.L_InvalidDataObject="Invalid Data Object";Strings.OfficeOM.L_InvalidFormat="Invalid Format Error";Strings.OfficeOM.L_InvalidFormatValue="One or more of the format parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_InvalidGetColumns="The specified columns are invalid.";Strings.OfficeOM.L_InvalidGetRowColumnCounts="The specified rowCount or columnCount values are invalid.";Strings.OfficeOM.L_InvalidGetRows="The specified rows are invalid.";Strings.OfficeOM.L_InvalidGetStartRowColumn="The specified startRow or startColumn values are invalid.";Strings.OfficeOM.L_InvalidGrant="Preauthorization missing.";Strings.OfficeOM.L_InvalidGrantMessage="Missing grant for this add-in.";Strings.OfficeOM.L_InvalidNamedItemForBindingType="The specified binding type is not compatible with the supplied named item.";Strings.OfficeOM.L_InvalidNode="Invalid Node";Strings.OfficeOM.L_InvalidObjectPath='The object path \'{0}\' isn\'t working for what you\'re trying to do. If you\'re using the object across multiple "context.sync" calls and outside the sequential execution of a ".run" batch, please use the "context.trackedObjects.add()" and "context.trackedObjects.remove()" methods to manage the object\'s lifetime.';Strings.OfficeOM.L_InvalidOperationInCellEditMode="Excel is in cell-editing mode. Please exit the edit mode by pressing ENTER or TAB or selecting another cell, and then try again.";Strings.OfficeOM.L_InvalidOrTimedOutSession="Invalid Or Timed Out Session";Strings.OfficeOM.L_InvalidOrTimedOutSessionMessage="Your Office session has expired or is invalid. To continue, refresh the page.";Strings.OfficeOM.L_InvalidParameters="Function {0} has invalid parameters.";Strings.OfficeOM.L_InvalidReadForBlankRow="The specified row is blank.";Strings.OfficeOM.L_InvalidRequestContext="Cannot use the object across different request contexts.";Strings.OfficeOM.L_InvalidResourceUrl="Invalid application resource Url provided.";Strings.OfficeOM.L_InvalidResourceUrlMessage="Invalid resource Url specified in the manifest.";Strings.OfficeOM.L_InvalidSSOAddinMessage="The identity API is not supported for this add-in.";Strings.OfficeOM.L_InvalidSelectionForBindingType="A binding cannot be created with the current selection and the specified binding type.";Strings.OfficeOM.L_InvalidSetColumns="The specified columns are invalid.";Strings.OfficeOM.L_InvalidSetRows="The specified rows are invalid.";Strings.OfficeOM.L_InvalidSetStartRowColumn="The specified startRow or startColumn values are invalid.";Strings.OfficeOM.L_InvalidTableOptionValue="One or more of the tableOptions parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_InvalidValue="Invalid Value";Strings.OfficeOM.L_MemoryLimit="Memory Limit Exceeded";Strings.OfficeOM.L_MissingParameter="Missing Parameter";Strings.OfficeOM.L_MissingRequiredArguments="missing some required arguments";Strings.OfficeOM.L_ModalDialogOpeng="The operation failed because this add-in already has an active modal dialog.";Strings.OfficeOM.L_MultipleNamedItemFound="Multiple objects with the same name were found.";Strings.OfficeOM.L_NamedItemNotFound="The named item does not exist.";Strings.OfficeOM.L_NavOutOfBound="The operation failed because the index is out of range.";Strings.OfficeOM.L_NetworkProblem="Network Problem";Strings.OfficeOM.L_NetworkProblemRetrieveFile="A network problem has prevented retrieval of the file.";Strings.OfficeOM.L_NewWindowCrossZone="The security settings in your browser prevent us from creating a dialog box. Try a different browser, or {0} so that '{1}' and the domain shown in your address bar are in the same security zone.";Strings.OfficeOM.L_NewWindowCrossZoneConfigureBrowserLink="configure your browser";Strings.OfficeOM.L_NewWindowCrossZoneErrorString="Browser restrictions prevented us from creating the dialog box. The domain of dialog box and the domain of the add-in host are not in the same security zone.";Strings.OfficeOM.L_NoCapability="You don't have sufficient permissions for this action.";Strings.OfficeOM.L_NoHttpsWAC="This Office session is not using a secure connection. We recommend that you take extra precautions.";Strings.OfficeOM.L_NonUniformPartialGetNotSupported="Coordinate parameters cannot be used with coercion type Table when the table contains merged cells.";Strings.OfficeOM.L_NonUniformPartialSetNotSupported="Coordinate parameters cannot be used with coercion type Table when the table contains merged cells.";Strings.OfficeOM.L_NotImplemented="Function {0} is not implemented.";Strings.OfficeOM.L_NotSupported="Function {0} is not supported.";Strings.OfficeOM.L_NotSupportedBindingType="The specified binding type {0} is not supported.";Strings.OfficeOM.L_NotSupportedEventType="The specified event type {0} is not supported.";Strings.OfficeOM.L_NotTrustedWAC="This add-in has been disabled to help keep you safe. To continue using the add-in, validate that this item is hosted in a trusted domain or open it in the Office desktop app.";Strings.OfficeOM.L_OKButton="OK";Strings.OfficeOM.L_OperationCancelledError="Operation Cancelled";Strings.OfficeOM.L_OperationCancelledErrorMessage="The operation was cancelled by the user.";Strings.OfficeOM.L_OperationNotSupported="The operation is not supported.";Strings.OfficeOM.L_OperationNotSupportedOnMatrixData="Selected content needs to be in table format. Format the data as a table and try again.";Strings.OfficeOM.L_OperationNotSupportedOnThisBindingType="Operation is not supported on this binding type.";Strings.OfficeOM.L_OsfControlTypeNotSupported="OsfControl type not supported.";Strings.OfficeOM.L_OutOfRange="Out of Range";Strings.OfficeOM.L_OverwriteWorksheetData="The set operation failed because the supplied data object will overwrite or shift data.";Strings.OfficeOM.L_PermissionDenied="Permission Denied";Strings.OfficeOM.L_PropertyDoesNotExist="Property '{0}' does not exist on the object.";Strings.OfficeOM.L_PropertyNotLoaded="The property '{0}' is not available. Before reading the property's value, call the load method on the containing object and call \"context.sync()\" on the associated request context.";Strings.OfficeOM.L_ReadSettingsError="Read Settings Error";Strings.OfficeOM.L_RedundantCallbackSpecification="Callback cannot be specified both in argument list and in optional object.";Strings.OfficeOM.L_RequestPayloadSizeLimitExceededMessage='The request payload size has exceeded the limit. Please refer to the documentation: "https://docs.microsoft.com/office/dev/add-ins/concepts/resource-limits-and-performance-optimization#excel-add-ins".';Strings.OfficeOM.L_RequestTimeout="The call took too long to execute.";Strings.OfficeOM.L_RequestTokenUnavailable="This API has been throttled to slow the call frequency.";Strings.OfficeOM.L_ResponsePayloadSizeLimitExceededMessage='The response payload size has exceeded the limit. Please refer to the documentation: "https://docs.microsoft.com/office/dev/add-ins/concepts/resource-limits-and-performance-optimization#excel-add-ins".';Strings.OfficeOM.L_RowIndexOutOfRange="The row index value is out of the allowed range. Use a value (0 or higher) that's less than the number of rows.";Strings.OfficeOM.L_RunMustReturnPromise='The batch function passed to the ".run" method didn\'t return a promise. The function must return a promise, so that any automatically-tracked objects can be released at the completion of the batch operation. Typically, you return a promise by returning the response from "context.sync()".';Strings.OfficeOM.L_SSOClientError="Error occurred in the authentication request from Office.";Strings.OfficeOM.L_SSOClientErrorMessage="An unexpected error occurred in the client.";Strings.OfficeOM.L_SSOConnectionLostError="A connection was lost during the sign in process.";Strings.OfficeOM.L_SSOConnectionLostErrorMessage="A connection was lost during the sign in process, and the user may not be signed in. This was likely due to the user's browser configuration settings, such as security zones.";Strings.OfficeOM.L_SSOServerError="Error occurred in the authentication provider.";Strings.OfficeOM.L_SSOServerErrorMessage="An unexpected error occurred on the server.";Strings.OfficeOM.L_SSOUnsupportedPlatform="API is not supported in this platform.";Strings.OfficeOM.L_SSOUserConsentNotSupportedByCurrentAddinCategory="This add-in does not support user consent.";Strings.OfficeOM.L_SSOUserConsentNotSupportedByCurrentAddinCategoryMessage="The operation failed because this add-in does not support user consent in this category";Strings.OfficeOM.L_SaveSettingsError="Save Settings Error";Strings.OfficeOM.L_SelectionCannotBound="Cannot bind to the current selection.";Strings.OfficeOM.L_SelectionNotSupportCoercionType="The current selection is not compatible with the specified coercion type.";Strings.OfficeOM.L_SetDataIsTooLarge="The specified data object is too large.";Strings.OfficeOM.L_SetDataParametersConflict="The specified parameters conflict.";Strings.OfficeOM.L_SettingNameNotExist="The specified setting name does not exist.";Strings.OfficeOM.L_SettingsAreStale="Settings could not be saved because they are not current.";Strings.OfficeOM.L_SettingsCannotSave="The settings could not be saved.";Strings.OfficeOM.L_SettingsStaleError="Settings Stale Error";Strings.OfficeOM.L_ShowWindowDialogNotification="{0} wants to display a new window.";Strings.OfficeOM.L_ShowWindowDialogNotificationAllow="Allow";Strings.OfficeOM.L_ShowWindowDialogNotificationIgnore="Ignore";Strings.OfficeOM.L_ShuttingDown="Operation failed because the data is not current on the server.";Strings.OfficeOM.L_SliceSizeNotSupported="The specified slice size is not supported.";Strings.OfficeOM.L_SpecifiedIdNotExist="The specified ID does not exist.";Strings.OfficeOM.L_Timeout="The operation has timed out.";Strings.OfficeOM.L_TooManyArguments="too many arguments";Strings.OfficeOM.L_TooManyIncompleteRequests="Wait until the previous call completes.";Strings.OfficeOM.L_TooManyOptionalFunction="multiple optional functions in parameter list";Strings.OfficeOM.L_TooManyOptionalObjects="multiple optional objects in parameter list";Strings.OfficeOM.L_UnknownBindingType="The binding type is not supported.";Strings.OfficeOM.L_UnsupportedDataObject="The supplied data object type is not supported.";Strings.OfficeOM.L_UnsupportedEnumeration="Unsupported Enumeration";Strings.OfficeOM.L_UnsupportedEnumerationMessage="The enumeration isn't supported in the current host application.";Strings.OfficeOM.L_UnsupportedUserIdentity="User identity type is not supported.";Strings.OfficeOM.L_UnsupportedUserIdentityMessage="The identity type of the user is not supported.";Strings.OfficeOM.L_UserAborted="User aborted the consent request.";Strings.OfficeOM.L_UserAbortedMessage="The user did not consent the add-in permissions.";Strings.OfficeOM.L_UserClickIgnore="The user chose to ignore the dialog box.";Strings.OfficeOM.L_UserNotSignedIn="No user is signed into Office.";Strings.OfficeOM.L_ValueNotLoaded='The value of the result object has not been loaded yet. Before reading the value property, call "context.sync()" on the associated request context.';Strings.OfficeOM.L_WorkbookHiddenMessage="The JavaScript API request failed because the workbook was hidden. Please unhide the workbook and try again.";Strings.OfficeOM.L_WriteNotSupportedWhenModalDialogOpen="Write operation is not supported for Office when a modal dialog is open."
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* Agave error ux page javascript */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419.
|
|
10
|
+
|
|
11
|
+
This file also contains the following Promise implementation (with a few small modifications):
|
|
12
|
+
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
13
|
+
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
14
|
+
* @license Licensed under MIT license
|
|
15
|
+
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
|
|
16
|
+
* @version 2.3.0
|
|
17
|
+
*/
|
|
18
|
+
var OfficeExt;(function(b){var a=function(){var a=true;function b(){}b.prototype.isMsAjaxLoaded=function(){var b="function",c="undefined";if(typeof Sys!==c&&typeof Type!==c&&Sys.StringBuilder&&typeof Sys.StringBuilder===b&&Type.registerNamespace&&typeof Type.registerNamespace===b&&Type.registerClass&&typeof Type.registerClass===b&&typeof Function._validateParams===b&&Sys.Serialization&&Sys.Serialization.JavaScriptSerializer&&typeof Sys.Serialization.JavaScriptSerializer.serialize===b)return a;else return false};b.prototype.loadMsAjaxFull=function(b){var a=(window.location.protocol.toLowerCase()==="https:"?"https:":"http:")+"//ajax.aspnetcdn.com/ajax/3.5/MicrosoftAjax.js";OSF.OUtil.loadScript(a,b)};Object.defineProperty(b.prototype,"msAjaxError",{"get":function(){var a=this;if(a._msAjaxError==null&&a.isMsAjaxLoaded())a._msAjaxError=Error;return a._msAjaxError},"set":function(a){this._msAjaxError=a},enumerable:a,configurable:a});Object.defineProperty(b.prototype,"msAjaxString",{"get":function(){var a=this;if(a._msAjaxString==null&&a.isMsAjaxLoaded())a._msAjaxString=String;return a._msAjaxString},"set":function(a){this._msAjaxString=a},enumerable:a,configurable:a});Object.defineProperty(b.prototype,"msAjaxDebug",{"get":function(){var a=this;if(a._msAjaxDebug==null&&a.isMsAjaxLoaded())a._msAjaxDebug=Sys.Debug;return a._msAjaxDebug},"set":function(a){this._msAjaxDebug=a},enumerable:a,configurable:a});return b}();b.MicrosoftAjaxFactory=a})(OfficeExt||(OfficeExt={}));var OsfMsAjaxFactory=new OfficeExt.MicrosoftAjaxFactory,OSF=OSF||{};(function(b){var a=function(){function a(a){this._internalStorage=a}a.prototype.getItem=function(a){try{return this._internalStorage&&this._internalStorage.getItem(a)}catch(b){return null}};a.prototype.setItem=function(b,a){try{this._internalStorage&&this._internalStorage.setItem(b,a)}catch(c){}};a.prototype.clear=function(){try{this._internalStorage&&this._internalStorage.clear()}catch(a){}};a.prototype.removeItem=function(a){try{this._internalStorage&&this._internalStorage.removeItem(a)}catch(b){}};a.prototype.getKeysWithPrefix=function(d){var b=[];try{for(var e=this._internalStorage&&this._internalStorage.length||0,a=0;a<e;a++){var c=this._internalStorage.key(a);c.indexOf(d)===0&&b.push(c)}}catch(f){}return b};a.prototype.isLocalStorageAvailable=function(){return this._internalStorage!=null};return a}();b.SafeStorage=a})(OfficeExt||(OfficeExt={}));OSF.XdmFieldName={ConversationUrl:"ConversationUrl",AppId:"AppId"};OSF.TestFlightStart=1e3;OSF.TestFlightEnd=1009;OSF.FlightNames={UseOriginNotUrl:0,AddinEnforceHttps:2,FirstPartyAnonymousProxyReadyCheckTimeout:6,AddinRibbonIdAllowUnknown:9,ManifestParserDevConsoleLog:15,AddinActionDefinitionHybridMode:18,UseActionIdForUILessCommand:20,RequirementSetRibbonApiOnePointTwo:21,SetFocusToTaskpaneIsEnabled:22,ShortcutInfoArrayInUserPreferenceData:23,OSFTestFlight1000:OSF.TestFlightStart,OSFTestFlight1001:OSF.TestFlightStart+1,OSFTestFlight1002:OSF.TestFlightStart+2,OSFTestFlight1003:OSF.TestFlightStart+3,OSFTestFlight1004:OSF.TestFlightStart+4,OSFTestFlight1005:OSF.TestFlightStart+5,OSFTestFlight1006:OSF.TestFlightStart+6,OSFTestFlight1007:OSF.TestFlightStart+7,OSFTestFlight1008:OSF.TestFlightStart+8,OSFTestFlight1009:OSF.TestFlightEnd};OSF.TrustUXFlightValues={TrustUXControlA:0,TrustUXExperimentB:1,TrustUXExperimentC:2};OSF.FlightTreatmentNames={AddinDialogIFrameContentWindowKillSwitch:"Microsoft.Office.SharedOnline.AddinDialogIFrameContentWindowKillSwitch",AddinTrustUXImprovement:"Microsoft.Office.SharedOnline.AddinTrustUXImprovement",AllowStorageAccessByUserActivationOnIFrameCheck:"Microsoft.Office.SharedOnline.AllowStorageAccessByUserActivationOnIFrameCheck",BlockAutoOpenAddInIfStoreDisabled:"Microsoft.Office.SharedOnline.BlockAutoOpenAddInIfStoreDisabled",CheckProxyIsReadyRetry:"Microsoft.Office.SharedOnline.OEP.CheckProxyIsReadyRetry",InsertionDialogFixesEnabled:"Microsoft.Office.SharedOnline.InsertionDialogFixesEnabled",TeachingUIForPrivateCatelogEnabled:"Microsoft.Office.SharedOnline.TeachingUIForPrivateCatelogEnabled",WopiPreinstalledAddInsEnabled:"Microsoft.Office.SharedOnline.WopiPreinstalledAddInsEnabled",WopiUseNewActivate:"Microsoft.Office.SharedOnline.WopiUseNewActivate",MosManifestEnabled:"Microsoft.Office.SharedOnline.OEP.MosManifest"};OSF.Flights=[];OSF.IntFlights={};OSF.Settings={};OSF.WindowNameItemKeys={BaseFrameName:"baseFrameName",HostInfo:"hostInfo",XdmInfo:"xdmInfo",SerializerVersion:"serializerVersion",AppContext:"appContext",Flights:"flights"};OSF.OUtil=function(){var l="focus",k="https:",j="on",q="configurable",p="writable",i="enumerable",e="",f="undefined",c=false,b=true,h="string",m=2147483647,a=null,g="#",d=-1,w=d,C="&_xdm_Info=",z="&_serializer_version=",B="&_flights=",A="_xdm_",F="_serializer_version=",G="_flights=",s=g,y="&",n="class",v={},E=3e4,r=a,u=a,o=(new Date).getTime();function D(){var a=m*Math.random();a^=o^(new Date).getMilliseconds()<<Math.floor(Math.random()*(31-10));return a.toString(16)}function t(){if(!r){try{var b=window.sessionStorage}catch(c){b=a}r=new OfficeExt.SafeStorage(b)}return r}function x(e){for(var c=[],b=[],f=e.length,a,d=0;d<f;d++){a=e[d];if(a.tabIndex)if(a.tabIndex>0)b.push(a);else a.tabIndex===0&&c.push(a);else c.push(a)}b=b.sort(function(d,c){var a=d.tabIndex-c.tabIndex;if(a===0)a=b.indexOf(d)-b.indexOf(c);return a});return [].concat(b,c)}return {set_entropy:function(a){if(typeof a==h)for(var b=0;b<a.length;b+=4){for(var d=0,c=0;c<4&&b+c<a.length;c++)d=(d<<8)+a.charCodeAt(b+c);o^=d}else if(typeof a=="number")o^=a;else o^=m*Math.random();o&=m},extend:function(b,a){var c=function(){};c.prototype=a.prototype;b.prototype=new c;b.prototype.constructor=b;b.uber=a.prototype;if(a.prototype.constructor===Object.prototype.constructor)a.prototype.constructor=a},setNamespace:function(b,a){if(a&&b&&!a[b])a[b]={}},unsetNamespace:function(b,a){if(a&&b&&a[b])delete a[b]},serializeSettings:function(b){var d={};for(var c in b){var a=b[c];try{if(JSON)a=JSON.stringify(a,function(a,b){return OSF.OUtil.isDate(this[a])?OSF.DDA.SettingsManager.DateJSONPrefix+this[a].getTime()+OSF.DDA.SettingsManager.DataJSONSuffix:b});else a=Sys.Serialization.JavaScriptSerializer.serialize(a);d[c]=a}catch(e){}}return d},deserializeSettings:function(c){var f={};c=c||{};for(var e in c){var a=c[e];try{if(JSON)a=JSON.parse(a,function(c,a){var b;if(typeof a===h&&a&&a.length>6&&a.slice(0,5)===OSF.DDA.SettingsManager.DateJSONPrefix&&a.slice(d)===OSF.DDA.SettingsManager.DataJSONSuffix){b=new Date(parseInt(a.slice(5,d)));if(b)return b}return a});else a=Sys.Serialization.JavaScriptSerializer.deserialize(a,b);f[e]=a}catch(g){}}return f},loadScript:function(f,g,i){if(f&&g){var k=window.document,d=v[f];if(!d){var e=k.createElement("script");e.type="text/javascript";d={loaded:c,pendingCallbacks:[g],timer:a};v[f]=d;var j=function(){if(d.timer!=a){clearTimeout(d.timer);delete d.timer}d.loaded=b;for(var e=d.pendingCallbacks.length,c=0;c<e;c++){var f=d.pendingCallbacks.shift();f()}},l=function(){if(window.navigator.userAgent.indexOf("Trident")>0)h(a);else h(new Event("Script load timed out"))},h=function(g){delete v[f];if(d.timer!=a){clearTimeout(d.timer);delete d.timer}for(var c=d.pendingCallbacks.length,b=0;b<c;b++){var e=d.pendingCallbacks.shift();e(g)}};if(e.readyState)e.onreadystatechange=function(){if(e.readyState=="loaded"||e.readyState=="complete"){e.onreadystatechange=a;j()}};else e.onload=j;e.onerror=h;i=i||E;d.timer=setTimeout(l,i);e.setAttribute("crossOrigin","anonymous");e.src=f;k.getElementsByTagName("head")[0].appendChild(e)}else if(d.loaded)g();else d.pendingCallbacks.push(g)}},loadCSS:function(c){if(c){var b=window.document,a=b.createElement("link");a.type="text/css";a.rel="stylesheet";a.href=c;b.getElementsByTagName("head")[0].appendChild(a)}},parseEnum:function(b,c){var a=c[b.trim()];if(typeof a==f){OsfMsAjaxFactory.msAjaxDebug.trace("invalid enumeration string:"+b);throw OsfMsAjaxFactory.msAjaxError.argument("str")}return a},delayExecutionAndCache:function(){var a={calc:arguments[0]};return function(){if(a.calc){a.val=a.calc.apply(this,arguments);delete a.calc}return a.val}},getUniqueId:function(){w=w+1;return w.toString()},formatString:function(){var a=arguments,b=a[0];return b.replace(/{(\d+)}/gm,function(d,b){var c=parseInt(b,10)+1;return a[c]===undefined?"{"+b+"}":a[c]})},generateConversationId:function(){return [D(),D(),(new Date).getTime().toString()].join("_")},getFrameName:function(a){return A+a+this.generateConversationId()},addXdmInfoAsHash:function(b,a){return OSF.OUtil.addInfoAsHash(b,C,a,c)},addSerializerVersionAsHash:function(c,a){return OSF.OUtil.addInfoAsHash(c,z,a,b)},addFlightsAsHash:function(c,a){return OSF.OUtil.addInfoAsHash(c,B,a,b)},addInfoAsHash:function(b,g,c,i){b=b.trim()||e;var f=b.split(s),h=f.shift(),d=f.join(s),a;if(i)a=[g,encodeURIComponent(c),d].join(e);else a=[d,g,c].join(e);return [h,s,a].join(e)},parseHostInfoFromWindowName:function(a,b){return OSF.OUtil.parseInfoFromWindowName(a,b,OSF.WindowNameItemKeys.HostInfo)},parseXdmInfo:function(b){var a=OSF.OUtil.parseXdmInfoWithGivenFragment(b,window.location.hash);if(!a)a=OSF.OUtil.parseXdmInfoFromWindowName(b,window.name);return a},parseXdmInfoFromWindowName:function(a,b){return OSF.OUtil.parseInfoFromWindowName(a,b,OSF.WindowNameItemKeys.XdmInfo)},parseXdmInfoWithGivenFragment:function(a,b){return OSF.OUtil.parseInfoWithGivenFragment(C,A,c,a,b)},parseSerializerVersion:function(b){var a=OSF.OUtil.parseSerializerVersionWithGivenFragment(b,window.location.hash);if(isNaN(a))a=OSF.OUtil.parseSerializerVersionFromWindowName(b,window.name);return a},parseSerializerVersionFromWindowName:function(a,b){return parseInt(OSF.OUtil.parseInfoFromWindowName(a,b,OSF.WindowNameItemKeys.SerializerVersion))},parseSerializerVersionWithGivenFragment:function(a,c){return parseInt(OSF.OUtil.parseInfoWithGivenFragment(z,F,b,a,c))},parseFlights:function(b){var a=OSF.OUtil.parseFlightsWithGivenFragment(b,window.location.hash);if(a.length==0)a=OSF.OUtil.parseFlightsFromWindowName(b,window.name);return a},checkFlight:function(a){return OSF.Flights&&OSF.Flights.indexOf(a)>=0},pushFlight:function(a){if(OSF.Flights.indexOf(a)<0){OSF.Flights.push(a);return b}return c},getBooleanSetting:function(a){return OSF.OUtil.getBooleanFromDictionary(OSF.Settings,a)},getBooleanFromDictionary:function(b,a){var d=b&&a&&b[a]!==undefined&&b[a]&&(typeof b[a]===h&&b[a].toUpperCase()==="TRUE"||typeof b[a]==="boolean"&&b[a]);return d!==undefined?d:c},getIntFromDictionary:function(b,a){if(b&&a&&b[a]!==undefined&&typeof b[a]===h)return parseInt(b[a]);else return NaN},pushIntFlight:function(a,d){if(!(a in OSF.IntFlights)){OSF.IntFlights[a]=d;return b}return c},getIntFlight:function(a){if(OSF.IntFlights&&a in OSF.IntFlights)return OSF.IntFlights[a];else return NaN},parseFlightsFromWindowName:function(a,b){return OSF.OUtil.parseArrayWithDefault(OSF.OUtil.parseInfoFromWindowName(a,b,OSF.WindowNameItemKeys.Flights))},parseFlightsWithGivenFragment:function(a,c){return OSF.OUtil.parseArrayWithDefault(OSF.OUtil.parseInfoWithGivenFragment(B,G,b,a,c))},parseArrayWithDefault:function(b){var a=[];try{a=JSON.parse(b)}catch(c){}if(!Array.isArray(a))a=[];return a},parseInfoFromWindowName:function(g,h,f){try{var b=JSON.parse(h),c=b!=a?b[f]:a,d=t();if(!g&&d&&b!=a){var e=b[OSF.WindowNameItemKeys.BaseFrameName]+f;if(c)d.setItem(e,c);else c=d.getItem(e)}return c}catch(i){return a}},parseInfoWithGivenFragment:function(m,j,k,i,l){var f=l.split(m),b=f.length>1?f[f.length-1]:a;if(k&&b!=a){if(b.indexOf(y)>=0)b=b.split(y)[0];b=decodeURIComponent(b)}var c=t();if(!i&&c){var e=window.name.indexOf(j);if(e>d){var g=window.name.indexOf(";",e);if(g==d)g=window.name.length;var h=window.name.substring(e,g);if(b)c.setItem(h,b);else b=c.getItem(h)}}return b},getConversationId:function(){var c=window.location.search,b=a;if(c){var d=c.indexOf("&");b=d>0?c.substring(1,d):c.substr(1);if(b&&b.charAt(b.length-1)==="="){b=b.substring(0,b.length-1);if(b)b=decodeURIComponent(b)}}return b},getInfoItems:function(b){var a=b.split("$");if(typeof a[1]==f)a=b.split("|");if(typeof a[1]==f)a=b.split("%7C");return a},getXdmFieldValue:function(f,d){var b=e,c=OSF.OUtil.parseXdmInfo(d);if(c){var a=OSF.OUtil.getInfoItems(c);if(a!=undefined&&a.length>=3)switch(f){case OSF.XdmFieldName.ConversationUrl:b=a[2];break;case OSF.XdmFieldName.AppId:b=a[1]}}return b},validateParamObject:function(f,e){var a=Function._validateParams(arguments,[{name:"params",type:Object,mayBeNull:c},{name:"expectedProperties",type:Object,mayBeNull:c},{name:"callback",type:Function,mayBeNull:b}]);if(a)throw a;for(var d in e){a=Function._validateParameter(f[d],e[d],d);if(a)throw a}},writeProfilerMark:function(a){if(window.msWriteProfilerMark){window.msWriteProfilerMark(a);OsfMsAjaxFactory.msAjaxDebug.trace(a)}},outputDebug:function(a){typeof OsfMsAjaxFactory!==f&&OsfMsAjaxFactory.msAjaxDebug&&OsfMsAjaxFactory.msAjaxDebug.trace&&OsfMsAjaxFactory.msAjaxDebug.trace(a)},defineNondefaultProperty:function(e,f,a,c){a=a||{};for(var g in c){var d=c[g];if(a[d]==undefined)a[d]=b}Object.defineProperty(e,f,a);return e},defineNondefaultProperties:function(c,a,d){a=a||{};for(var b in a)OSF.OUtil.defineNondefaultProperty(c,b,a[b],d);return c},defineEnumerableProperty:function(c,b,a){return OSF.OUtil.defineNondefaultProperty(c,b,a,[i])},defineEnumerableProperties:function(b,a){return OSF.OUtil.defineNondefaultProperties(b,a,[i])},defineMutableProperty:function(c,b,a){return OSF.OUtil.defineNondefaultProperty(c,b,a,[p,i,q])},defineMutableProperties:function(b,a){return OSF.OUtil.defineNondefaultProperties(b,a,[p,i,q])},finalizeProperties:function(e,d){d=d||{};for(var g=Object.getOwnPropertyNames(e),i=g.length,f=0;f<i;f++){var h=g[f],a=Object.getOwnPropertyDescriptor(e,h);if(!a.get&&!a.set)a.writable=d.writable||c;a.configurable=d.configurable||c;a.enumerable=d.enumerable||b;Object.defineProperty(e,h,a)}return e},mapList:function(a,c){var b=[];if(a)for(var d in a)b.push(c(a[d]));return b},listContainsKey:function(d,e){for(var a in d)if(e==a)return b;return c},listContainsValue:function(a,d){for(var e in a)if(d==a[e])return b;return c},augmentList:function(a,b){var d=a.push?function(c,b){a.push(b)}:function(c,b){a[c]=b};for(var c in b)d(c,b[c])},redefineList:function(a,b){for(var d in a)delete a[d];for(var c in b)a[c]=b[c]},isArray:function(a){return Object.prototype.toString.apply(a)==="[object Array]"},isFunction:function(a){return Object.prototype.toString.apply(a)==="[object Function]"},isDate:function(a){return Object.prototype.toString.apply(a)==="[object Date]"},addEventListener:function(a,b,d){if(a.addEventListener)a.addEventListener(b,d,c);else if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&a.attachEvent)a.attachEvent(j+b,d);else a[j+b]=d},removeEventListener:function(b,d,e){if(b.removeEventListener)b.removeEventListener(d,e,c);else if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&b.detachEvent)b.detachEvent(j+d,e);else b[j+d]=a},xhrGet:function(f,e,c){var a;try{a=new XMLHttpRequest;a.onreadystatechange=function(){if(a.readyState==4)if(a.status==200)e(a.responseText);else c(a.status)};a.open("GET",f,b);a.send()}catch(d){c(d)}},encodeBase64:function(c){if(!c)return c;var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m=[],b=[],i=0,k,h,j,d,f,g,a,n=c.length;do{k=c.charCodeAt(i++);h=c.charCodeAt(i++);j=c.charCodeAt(i++);a=0;d=k&255;f=k>>8;g=h&255;b[a++]=d>>2;b[a++]=(d&3)<<4|f>>4;b[a++]=(f&15)<<2|g>>6;b[a++]=g&63;if(!isNaN(h)){d=h>>8;f=j&255;g=j>>8;b[a++]=d>>2;b[a++]=(d&3)<<4|f>>4;b[a++]=(f&15)<<2|g>>6;b[a++]=g&63}if(isNaN(h))b[a-1]=64;else if(isNaN(j)){b[a-2]=64;b[a-1]=64}for(var l=0;l<a;l++)m.push(o.charAt(b[l]))}while(i<n);return m.join(e)},getSessionStorage:function(){return t()},getLocalStorage:function(){if(!u){try{var b=window.localStorage}catch(c){b=a}u=new OfficeExt.SafeStorage(b)}return u},convertIntToCssHexColor:function(b){var a=g+(Number(b)+16777216).toString(16).slice(-6);return a},attachClickHandler:function(a,b){a.onclick=function(){b()};a.ontouchend=function(a){b();a.preventDefault()}},getQueryStringParamValue:function(a,d){var f=Function._validateParams(arguments,[{name:"queryString",type:String,mayBeNull:c},{name:"paramName",type:String,mayBeNull:c}]);if(f){OsfMsAjaxFactory.msAjaxDebug.trace("OSF_Outil_getQueryStringParamValue: Parameters cannot be null.");return e}var b=new RegExp("[\\?&]"+d+"=([^&#]*)","i");if(!b.test(a)){OsfMsAjaxFactory.msAjaxDebug.trace("OSF_Outil_getQueryStringParamValue: The parameter is not found.");return e}return b.exec(a)[1]},getHostnamePortionForLogging:function(d){var f=Function._validateParams(arguments,[{name:"hostname",type:String,mayBeNull:c}]);if(f)return e;var a=d.split("."),b=a.length;if(b>=2)return a[b-2]+"."+a[b-1];else if(b==1)return a[0]},isiOS:function(){return window.navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?b:c},isChrome:function(){return window.navigator.userAgent.indexOf("Chrome")>0&&!OSF.OUtil.isEdge()},isEdge:function(){return window.navigator.userAgent.indexOf("Edge")>0},isIE:function(){return window.navigator.userAgent.indexOf("Trident")>0},isFirefox:function(){return window.navigator.userAgent.indexOf("Firefox")>0},startsWith:function(b,a,c){if(c)return b.substr(0,a.length)===a;else return b.startsWith(a)},containsPort:function(d,e,c,a){return this.startsWith(d,e+"//"+c+":"+a,b)||this.startsWith(d,c+":"+a,b)},getRedundandPortString:function(b,a){if(!b||!a)return e;if(a.protocol==k&&this.containsPort(b,k,a.hostname,"443"))return ":443";else if(a.protocol=="http:"&&this.containsPort(b,"http:",a.hostname,"80"))return ":80";return e},removeChar:function(a,b){if(b<a.length-1)return a.substring(0,b)+a.substring(b+1);else if(b==a.length-1)return a.substring(0,a.length-1);else return a},cleanUrlOfChar:function(a,c){for(var b=0;b<a.length;b++)if(a.charAt(b)===c)if(b+1>=a.length)return this.removeChar(a,b);else if(c==="/"){if(a.charAt(b+1)==="?"||a.charAt(b+1)===g)return this.removeChar(a,b)}else if(c==="?")if(a.charAt(b+1)===g)return this.removeChar(a,b);return a},cleanUrl:function(a){a=this.cleanUrlOfChar(a,"/");a=this.cleanUrlOfChar(a,"?");a=this.cleanUrlOfChar(a,g);if(a.substr(0,8)=="https://"){var b=a.indexOf(":443");if(b!=d)if(b==a.length-4||a.charAt(b+4)=="/"||a.charAt(b+4)=="?"||a.charAt(b+4)==g)a=a.substring(0,b)+a.substring(b+4)}else if(a.substr(0,7)=="http://"){var b=a.indexOf(":80");if(b!=d)if(b==a.length-3||a.charAt(b+3)=="/"||a.charAt(b+3)=="?"||a.charAt(b+3)==g)a=a.substring(0,b)+a.substring(b+3)}return a},parseUrl:function(g,i){var h=this;if(i===void 0)i=c;if(typeof g===f||!g)return undefined;var j="NotHttps",o="InvalidUrl",n=h.isIE(),b={protocol:undefined,hostname:undefined,host:undefined,port:undefined,pathname:undefined,search:undefined,hash:undefined,isPortPartOfUrl:undefined};try{if(n){var a=document.createElement("a");a.href=g;if(!a||!a.protocol||!a.host||!a.hostname||!a.href||h.cleanUrl(a.href).toLowerCase()!==h.cleanUrl(g).toLowerCase())throw o;if(OSF.OUtil.checkFlight(OSF.FlightNames.AddinEnforceHttps))if(i&&a.protocol!=k)throw new Error(j);var m=h.getRedundandPortString(g,a);b.protocol=a.protocol;b.hostname=a.hostname;b.port=m==e?a.port:e;b.host=m!=e?a.hostname:a.host;b.pathname=(n?"/":e)+a.pathname;b.search=a.search;b.hash=a.hash;b.isPortPartOfUrl=h.containsPort(g,a.protocol,a.hostname,a.port)}else{var d=new URL(g);if(d&&d.protocol&&d.host&&d.hostname){if(OSF.OUtil.checkFlight(OSF.FlightNames.AddinEnforceHttps))if(i&&d.protocol!=k)throw new Error(j);b.protocol=d.protocol;b.hostname=d.hostname;b.port=d.port;b.host=d.host;b.pathname=d.pathname;b.search=d.search;b.hash=d.hash;b.isPortPartOfUrl=d.host.lastIndexOf(":"+d.port)==d.host.length-d.port.length-1}}}catch(l){if(l.message===j)throw l}return b},shallowCopy:function(b){if(b==a)return a;else if(!(b instanceof Object))return b;else if(Array.isArray(b)){for(var e=[],d=0;d<b.length;d++)e.push(b[d]);return e}else{var f=b.constructor();for(var c in b)if(b.hasOwnProperty(c))f[c]=b[c];return f}},createObject:function(b){var d=a;if(b){d={};for(var e=b.length,c=0;c<e;c++)d[b[c].name]=b[c].value}return d},addClass:function(a,b){if(!OSF.OUtil.hasClass(a,b)){var c=a.getAttribute(n);if(c)a.setAttribute(n,c+" "+b);else a.setAttribute(n,b)}},removeClass:function(b,c){if(OSF.OUtil.hasClass(b,c)){var a=b.getAttribute(n),d=new RegExp("(\\s|^)"+c+"(\\s|$)");a=a.replace(d,e);b.setAttribute(n,a)}},hasClass:function(c,b){var a=c.getAttribute(n);return a&&a.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))},focusToFirstTabbable:function(e,i){var g,h=c,f,j=function(){h=b},k=function(c,a,b){if(a<0||a>c)return d;else if(a===0&&b)return d;else if(a===c-1&&!b)return d;if(b)return a-1;else return a+1};e=x(e);g=i?e.length-1:0;if(e.length===0)return a;while(!h&&g>=0&&g<e.length){f=e[g];window.focus();f.addEventListener(l,j);f.focus();f.removeEventListener(l,j);g=k(e.length,g,i);if(!h&&f===document.activeElement)h=b}if(h)return f;else return a},focusToNextTabbable:function(f,o,m){var j,e,h=c,g,k=function(){h=b},n=function(b,c){for(var a=0;a<b.length;a++)if(b[a]===c)return a;return d},i=function(c,a,b){if(a<0||a>c)return d;else if(a===0&&b)return d;else if(a===c-1&&!b)return d;if(b)return a-1;else return a+1};f=x(f);j=n(f,o);e=i(f.length,j,m);if(e<0)return a;while(!h&&e>=0&&e<f.length){g=f[e];g.addEventListener(l,k);g.focus();g.removeEventListener(l,k);e=i(f.length,e,m);if(!h&&g===document.activeElement)h=b}if(h)return g;else return a},isNullOrUndefined:function(d){if(typeof d===f)return b;if(d===a)return b;return c},stringEndsWith:function(d,a){if(!OSF.OUtil.isNullOrUndefined(d)&&!OSF.OUtil.isNullOrUndefined(a)){if(a.length>d.length)return c;if(d.substr(d.length-a.length)===a)return b}return c},hashCode:function(b){var a=0;if(!OSF.OUtil.isNullOrUndefined(b)){var c=0,d=b.length;while(c<d)a=(a<<5)-a+b.charCodeAt(c++)|0}return a},getValue:function(a,b){if(OSF.OUtil.isNullOrUndefined(a))return b;return a},externalNativeFunctionExists:function(a){return a==="unknown"||a!==f}}}();OSF.OUtil.Guid=function(){var a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return {generateNewGuid:function(){for(var c="",d=(new Date).getTime(),b=0;b<32&&d>0;b++){if(b==8||b==12||b==16||b==20)c+="-";c+=a[d%16];d=Math.floor(d/16)}for(;b<32;b++){if(b==8||b==12||b==16||b==20)c+="-";c+=a[Math.floor(Math.random()*16)]}return c}}}();try{(function(){OSF.Flights=OSF.OUtil.parseFlights(true)})()}catch(ex){}window.OSF=OSF;(function(g){var c="\n",d=true,a=null,b="undefined",j=function(){function c(){}c.isInstanceOfType=function(f,e){if(typeof e===b||e===a)return false;if(e instanceof f)return d;var c=e.constructor;if(!c||typeof c!=="function"||!c.__typeName||c.__typeName==="Object")c=Object;return !!(c===f)||c.__typeName&&f.__typeName&&c.__typeName===f.__typeName};return c}();g.MsAjaxTypeHelper=j;var h=function(){var e="Parameter name: {0}";function d(){}d.create=function(c,b){var a=new Error(c);a.message=c;if(b)for(var d in b)a[d]=b[d];a.popStackFrame();return a};d.parameterCount=function(a){var c="Sys.ParameterCountException: "+(a?a:"Parameter count mismatch."),b=d.create(c,{name:"Sys.ParameterCountException"});b.popStackFrame();return b};d.argument=function(a,g){var b="Sys.ArgumentException: "+(g?g:"Value does not fall within the expected range.");if(a)b+=c+f.format(e,a);var h=d.create(b,{name:"Sys.ArgumentException",paramName:a});h.popStackFrame();return h};d.argumentNull=function(a,g){var b="Sys.ArgumentNullException: "+(g?g:"Value cannot be null.");if(a)b+=c+f.format(e,a);var h=d.create(b,{name:"Sys.ArgumentNullException",paramName:a});h.popStackFrame();return h};d.argumentOutOfRange=function(i,g,j){var h="Sys.ArgumentOutOfRangeException: "+(j?j:"Specified argument was out of the range of valid values.");if(i)h+=c+f.format(e,i);if(typeof g!==b&&g!==a)h+=c+f.format("Actual value was {0}.",g);var k=d.create(h,{name:"Sys.ArgumentOutOfRangeException",paramName:i,actualValue:g});k.popStackFrame();return k};d.argumentType=function(h,g,b,i){var a="Sys.ArgumentTypeException: ";if(i)a+=i;else if(g&&b)a+=f.format("Object of type '{0}' cannot be converted to type '{1}'.",g.getName?g.getName():g,b.getName?b.getName():b);else a+="Object cannot be converted to the required type.";if(h)a+=c+f.format(e,h);var j=d.create(a,{name:"Sys.ArgumentTypeException",paramName:h,actualType:g,expectedType:b});j.popStackFrame();return j};d.argumentUndefined=function(a,g){var b="Sys.ArgumentUndefinedException: "+(g?g:"Value cannot be undefined.");if(a)b+=c+f.format(e,a);var h=d.create(b,{name:"Sys.ArgumentUndefinedException",paramName:a});h.popStackFrame();return h};d.invalidOperation=function(a){var c="Sys.InvalidOperationException: "+(a?a:"Operation is not valid due to the current state of the object."),b=d.create(c,{name:"Sys.InvalidOperationException"});b.popStackFrame();return b};return d}();g.MsAjaxError=h;var f=function(){function a(){}a.format=function(c){for(var b=[],a=1;a<arguments.length;a++)b[a-1]=arguments[a];var d=c;return d.replace(/{(\d+)}/gm,function(d,a){var c=parseInt(a,10);return b[c]===undefined?"{"+a+"}":b[c]})};a.startsWith=function(b,a){return b.substr(0,a.length)===a};return a}();g.MsAjaxString=f;var i=function(){function a(){}a.trace=function(){};return a}();g.MsAjaxDebug=i;if(!OsfMsAjaxFactory.isMsAjaxLoaded()){var e=function(b,d,c){if(b.__typeName===undefined||b.__typeName===a)b.__typeName=d;if(b.__class===undefined||b.__class===a)b.__class=c};e(Function,"Function",d);e(Error,"Error",d);e(Object,"Object",d);e(String,"String",d);e(Boolean,"Boolean",d);e(Date,"Date",d);e(Number,"Number",d);e(RegExp,"RegExp",d);e(Array,"Array",d);if(!Function.createCallback)Function.createCallback=function(b,a){var c=Function._validateParams(arguments,[{name:"method",type:Function},{name:"context",mayBeNull:d}]);if(c)throw c;return function(){var e=arguments.length;if(e>0){for(var d=[],c=0;c<e;c++)d[c]=arguments[c];d[e]=a;return b.apply(this,d)}return b.call(this,a)}};if(!Function.createDelegate)Function.createDelegate=function(b,c){var a=Function._validateParams(arguments,[{name:"instance",mayBeNull:d},{name:"method",type:Function}]);if(a)throw a;return function(){return c.apply(b,arguments)}};if(!Function._validateParams)Function._validateParams=function(i,g,e){var c,f=g.length;e=e||typeof e===b;c=Function._validateParameterCount(i,g,e);if(c){c.popStackFrame();return c}for(var d=0,k=i.length;d<k;d++){var h=g[Math.min(d,f-1)],j=h.name;if(h.parameterArray)j+="["+(d-f+1)+"]";else if(!e&&d>=f)break;c=Function._validateParameter(i[d],h,j);if(c){c.popStackFrame();return c}}return a};if(!Function._validateParameterCount)Function._validateParameterCount=function(m,f,l){var b,e,c=f.length,g=m.length;if(g<c){var i=c;for(b=0;b<c;b++){var j=f[b];if(j.optional||j.parameterArray)i--}if(g<i)e=d}else if(l&&g>c){e=d;for(b=0;b<c;b++)if(f[b].parameterArray){e=false;break}}if(e){var k=h.parameterCount();k.popStackFrame();return k}return a};if(!Function._validateParameter)Function._validateParameter=function(e,c,j){var d,i=c.type,n=!!c.integer,m=!!c.domElement,o=!!c.mayBeNull;d=Function._validateParameterType(e,i,n,m,o,j);if(d){d.popStackFrame();return d}var g=c.elementType,h=!!c.elementMayBeNull;if(i===Array&&typeof e!==b&&e!==a&&(g||!h))for(var l=!!c.elementInteger,k=!!c.elementDomElement,f=0;f<e.length;f++){var p=e[f];d=Function._validateParameterType(p,g,l,k,h,j+"["+f+"]");if(d){d.popStackFrame();return d}}return a};if(!Function._validateParameterType)Function._validateParameterType=function(d,e,j,i,h,f){var c,k;if(typeof d===b)if(h)return a;else{c=g.MsAjaxError.argumentUndefined(f);c.popStackFrame();return c}if(d===a)if(h)return a;else{c=g.MsAjaxError.argumentNull(f);c.popStackFrame();return c}if(e&&!g.MsAjaxTypeHelper.isInstanceOfType(e,d)){c=g.MsAjaxError.argumentType(f,typeof d,e);c.popStackFrame();return c}return a};if(!window.Type)window.Type=Function;if(!Type.registerNamespace)Type.registerNamespace=function(d){for(var c=d.split("."),b=window,a=0;a<c.length;a++){b[c[a]]=b[c[a]]||{};b=b[c[a]]}};if(!Type.prototype.registerClass)Type.prototype.registerClass=function(a){a={}};typeof Sys===b&&Type.registerNamespace("Sys");if(!Error.prototype.popStackFrame)Error.prototype.popStackFrame=function(){var d=this;if(arguments.length!==0)throw h.parameterCount();if(typeof d.stack===b||d.stack===a||typeof d.fileName===b||d.fileName===a||typeof d.lineNumber===b||d.lineNumber===a)return;var e=d.stack.split(c),g=e[0],j=d.fileName+":"+d.lineNumber;while(typeof g!==b&&g!==a&&g.indexOf(j)===-1){e.shift();g=e[0]}var i=e[1];if(typeof i===b||i===a)return;var f=i.match(/@(.*):(\d+)$/);if(typeof f===b||f===a)return;d.fileName=f[1];d.lineNumber=parseInt(f[2]);e.shift();d.stack=e.join(c)};OsfMsAjaxFactory.msAjaxError=h;OsfMsAjaxFactory.msAjaxString=f;OsfMsAjaxFactory.msAjaxDebug=i}})(OfficeExt||(OfficeExt={}));OSF.SupportedLocales={"ar-sa":true,"bg-bg":true,"bn-in":true,"ca-es":true,"cs-cz":true,"da-dk":true,"de-de":true,"el-gr":true,"en-us":true,"es-es":true,"et-ee":true,"eu-es":true,"fa-ir":true,"fi-fi":true,"fr-fr":true,"gl-es":true,"he-il":true,"hi-in":true,"hr-hr":true,"hu-hu":true,"id-id":true,"it-it":true,"ja-jp":true,"kk-kz":true,"ko-kr":true,"lo-la":true,"lt-lt":true,"lv-lv":true,"ms-my":true,"nb-no":true,"nl-nl":true,"nn-no":true,"pl-pl":true,"pt-br":true,"pt-pt":true,"ro-ro":true,"ru-ru":true,"sk-sk":true,"sl-si":true,"sr-cyrl-cs":true,"sr-cyrl-rs":true,"sr-latn-cs":true,"sr-latn-rs":true,"sv-se":true,"th-th":true,"tr-tr":true,"uk-ua":true,"ur-pk":true,"vi-vn":true,"zh-cn":true,"zh-tw":true};OSF.AssociatedLocales={ar:"ar-sa",bg:"bg-bg",bn:"bn-in",ca:"ca-es",cs:"cs-cz",da:"da-dk",de:"de-de",el:"el-gr",en:"en-us",es:"es-es",et:"et-ee",eu:"eu-es",fa:"fa-ir",fi:"fi-fi",fr:"fr-fr",gl:"gl-es",he:"he-il",hi:"hi-in",hr:"hr-hr",hu:"hu-hu",id:"id-id",it:"it-it",ja:"ja-jp",kk:"kk-kz",ko:"ko-kr",lo:"lo-la",lt:"lt-lt",lv:"lv-lv",ms:"ms-my",nb:"nb-no",nl:"nl-nl",nn:"nn-no",pl:"pl-pl",pt:"pt-br",ro:"ro-ro",ru:"ru-ru",sk:"sk-sk",sl:"sl-si",sr:"sr-cyrl-cs",sv:"sv-se",th:"th-th",tr:"tr-tr",uk:"uk-ua",ur:"ur-pk",vi:"vi-vn",zh:"zh-cn"};OSF.getSupportedLocale=function(a,c){if(c===void 0)c="en-us";if(!a)return c;var b;a=a.toLowerCase();if(a in OSF.SupportedLocales)b=a;else{var d=a.split("-",1);if(d&&d.length>0)b=OSF.AssociatedLocales[d[0]]}if(!b)b=c;return b};var InfoType;(function(a){var c="SecurityInfo",b="Information";a[a["Error"]=0]="Error";a[a["Warning"]=1]="Warning";a[a[b]=2]=b;a[a[c]=3]=c})(InfoType||(InfoType={}));var TrustResult;(function(a){var b="Prompting";a[a["Unknown"]=0]="Unknown";a[a["Trusted"]=1]="Trusted";a[a[b]=2]=b})(TrustResult||(TrustResult={}));var SupportedError={APICallFailed:true,NotTrustedWAC:true};function _loadJs(c,b){var a=document.createElement("script");a.src=c;a.type="text/javascript";a.addEventListener("load",b);document.getElementsByTagName("head")[0].appendChild(a)}var PathToStringFile="../{locale}/office_strings.js",Strings={};function _getUrlParams(){var a=window.location.hash.replace("#","");a=decodeURIComponent(a);return JSON.parse(a)}function _loadStrings(c,b){var a=OSF.getSupportedLocale(c),d=PathToStringFile.replace("{locale}",a);_loadJs(d,b)}function _getConfirmedResultKey(a,b){return "OfficeJSTrustKeyV2_"+(b?"http_":"https_")+a}function _hostTrustResult(c,d){var b=OSF.OUtil.getLocalStorage(),a=JSON.parse(b.getItem(_getConfirmedResultKey(c,d)));return a?a.Result:TrustResult.Unknown}function _confirmHost(a,b,f){var e=_getConfirmedResultKey(a,b),c=e+"TimeStamp",d=_hostTrustResult(a,b);if(d==TrustResult.Prompting){var i=OSF.OUtil.getLocalStorage(),h=JSON.parse(i.getItem(c)),j=Date.now()-h;if(j>=3e4)d=TrustResult.Unknown}switch(+d){case TrustResult.Unknown:function k(){var d=OSF.OUtil.getLocalStorage(),f={Result:TrustResult.Prompting};d.setItem(e,JSON.stringify(f));d.setItem(c,JSON.stringify(Date.now()));var g=Strings.OfficeOM["L_ConfirmDialog"].replace("{0}",a);if(b)g+=" "+Strings.OfficeOM["L_NoHttpsWAC"];var h=confirm(g);f.Result=h?TrustResult.Trusted:TrustResult.Unknown;d.setItem(e,JSON.stringify(f));d.removeItem(c);return h}f(k());break;case TrustResult.Trusted:f(true);break;case TrustResult.Prompting:function g(){OSF.OUtil.removeEventListener(window,"storage",g);var c=_hostTrustResult(a,b);f(c==TrustResult.Trusted)}OSF.OUtil.addEventListener(window,"storage",g)}}function _showInfoBar(E,C,h,A){var o="display:none",e="style",n="br",s="moe-infobar-message",m="span",z="presentation",b="class",l="div",x=h;if(h.length>255)h=h.substring(0,254);var p=document.createElement(l);p.setAttribute(b,"moe-infobar-body");var B=document.createElement(l);B.innerHTML=x;p.setAttribute("title",B.textContent);var j=document.createElement("table");j.setAttribute(b,"moe-infobar-infotable");j.setAttribute("role",z);for(var D,w=0;w<3;w++){D=j.insertRow(w);D.setAttribute("role",z)}var a=j.rows;a[0].insertCell(0);a[0].insertCell(1);a[0].cells[1].setAttribute("rowSpan","2");a[1].insertCell(0);a[1].insertCell(1);a[2].insertCell(0);a[2].insertCell(1);a[0].cells[0].setAttribute(b,"moe-infobar-top-left-cell");a[0].cells[1].setAttribute(b,"moe-infobar-message-cell");a[2].cells[1].setAttribute(b,"moe-infobar-button-cell");var k=document.createElement("img");k.src="images/moe_status_icons.png";var i,t=InfoType.Error;if(t===InfoType.Error)i="moe-infobar-error";else if(t===InfoType.Warning)i="moe-infobar-warning";else if(t===InfoType.Information)i="moe-infobar-info";else i="moe-infobar-secinfo";k.setAttribute(b,i);k.setAttribute("alt",x);a[0].cells[0].appendChild(k);var c=document.createElement("a");c.setAttribute(b,"moe-infobar-message-div");c.setAttribute("tabindex","1");if(A){var u=document.createElement(m);u.setAttribute(b,"moe-infobar-title");u.innerHTML=A;c.appendChild(u)}var v=document.createElement(m);v.setAttribute(b,s);v.innerHTML=h;c.appendChild(v);if(C){var q=document.createElement(m);q.setAttribute(b,s);q.innerHTML=Strings.OfficeOM["L_NoHttpsWAC"];c.appendChild(document.createElement(n));c.appendChild(document.createElement(n));c.appendChild(q);c.appendChild(document.createElement(n));c.appendChild(document.createElement(n))}a[0].cells[1].appendChild(c);var f=document.createElement(m);f.setAttribute(b,s);f.setAttribute(e,o);f.innerHTML=Strings.OfficeOM["L_ConfirmCancelMessage"];var g=document.createElement("button");g.setAttribute(b,"moe-infobar-button");g.setAttribute("type","button");g.innerHTML=Strings.OfficeOM["L_ContinueButton"];g.onclick=function(){_confirmHost(E,C,function(a){if(a)f.innerHTML=Strings.OfficeOM["L_ConfirmRefreshMessage"];g.setAttribute(e,o);f.removeAttribute(e)})};a[2].cells[1].appendChild(g);a[2].cells[1].appendChild(f);p.appendChild(j);var d=document.createElement(l);d.setAttribute(b,"moe-background");d.style.backgroundImage="url(images/agavedefaulticon96x96.png)";d.style.backgroundColor="white";d.style.opacity="1";d.style.filter="alpha(opacity=100)";d.style.backgroundRepeat="no-repeat";d.style.backgroundPosition="center";var r=document.createElement(l);r.setAttribute(b,"moe-infobar-out");r.appendChild(p);d.appendChild(r);var y=document.getElementById("container");y&&y.appendChild(d)}try{var urlParams_1=_getUrlParams(),e=Function._validateParams(urlParams_1,[{name:"error",type:String,mayBeNull:false},{name:"locale",type:String,mayBeNull:false},{name:"hostname",type:String,mayBeNull:false},{name:"noHttps",type:Boolean,mayBeNull:false},{name:"validate",type:Boolean,mayBeNull:false}]);if(!e){var locale_1=window.navigator.language;if(urlParams_1.validate){function validateHostnameTrust(b){var a=JSON.parse(b.data),f=Function._validateParams(a,[{name:"hostname",type:String,mayBeNull:false},{name:"noHttps",type:Boolean,mayBeNull:false}]);if(!f){var d=_hostTrustResult(a.hostname,a.noHttps),c=d===TrustResult.Trusted;if(!c)_loadStrings(locale_1,function(){_confirmHost(a.hostname,a.noHttps,function(a){var c={hostUserTrusted:a};b.source.postMessage(JSON.stringify(c),b.origin)})});else{var e={hostUserTrusted:c};b.source.postMessage(JSON.stringify(e),b.origin)}}}OSF.OUtil.addEventListener(window,"message",validateHostnameTrust)}else _loadStrings(locale_1,function(){SupportedError[urlParams_1.error]&&_showInfoBar(urlParams_1.hostname,urlParams_1.noHttps,Strings.OfficeOM["L_"+urlParams_1.error])})}}catch(err){}
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/agavedefaulticon32x32.png
ADDED
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/agavedefaulticon96x96.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/ellipsis_16x16x32.png
ADDED
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/miniinfoblue_16x16x32.png
ADDED
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/moe_default_icon.png
ADDED
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/moe_status_icons.png
ADDED
|
Binary file
|
|
Binary file
|
xlwings_server/static/vendor/@microsoft/office-js/dist/agaveerrorux/images/refresh_16x16x32.png
ADDED
|
Binary file
|