├── .gitignore ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── app.json ├── config.js ├── package-lock.json ├── package.json ├── public ├── css │ └── main.css ├── index.html └── js │ ├── ExportXLS.js │ ├── libraries │ ├── Blob.js │ ├── FileSaver.min.js │ ├── jquery.min.js │ └── notify.min.js │ └── viewer.js ├── routes └── api.js ├── samples └── rac_advanced_sample_project.rvt ├── services └── aps.js ├── start.js └── thumbnail.png /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | 13 | # Directory for instrumented libs generated by jscoverage/JSCover 14 | lib-cov 15 | 16 | # Coverage directory used by tools like istanbul 17 | coverage 18 | 19 | # nyc test coverage 20 | .nyc_output 21 | 22 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 23 | .grunt 24 | 25 | # node-waf configuration 26 | .lock-wscript 27 | 28 | # Compiled binary addons (http://nodejs.org/api/addons.html) 29 | build/Release 30 | 31 | # Dependency directories 32 | node_modules 33 | jspm_packages 34 | 35 | # Optional npm cache directory 36 | .npm 37 | 38 | # Optional REPL history 39 | .node_repl_history 40 | 41 | # webstorm files 42 | .DS_Store 43 | .idea 44 | 45 | # vscode files 46 | .env -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Server", 11 | "runtimeExecutable": "npm", 12 | "runtimeArgs": [ 13 | "start" 14 | ], 15 | "skipFiles": [ 16 | "/**/*.js" 17 | ] 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2022 Autodesk, Inc. 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. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Extract Revit Properties into Excel 2 | 3 | JavaScript sample to extract Revit files from [Model Derivative API](https://developer.autodesk.com/en/docs/model-derivative/v2) as Spreadsheet (Excel XLSX) 4 | 5 | [![Viewer](https://img.shields.io/badge/Viewer-v7-green.svg)](http://developer.autodesk.com/) 6 | [![License](http://img.shields.io/:license-mit-blue.svg)](http://opensource.org/licenses/MIT) 7 | [![Model-Derivative](https://img.shields.io/badge/Model%20Derivative-v2-green.svg)](http://developer.autodesk.com/) 8 | 9 | # Description 10 | 11 | This sample uses Model Derivative API endpoints to read a Revit project properties and create a XLSX Excel file with one sheet for each type/category with all objects on it. Non-Revit files are not supported (different structure). [Here is another version](https://github.com/autodesk-platform-services/model.derivative-csharp-context.menu) for desktop. 12 | 13 | ![thumbnail](/thumbnail.png) 14 | 15 | ## Demonstration 16 | 17 | Run it live at [this page](https://viewerxls.autodesk.io), or locally by following these steps: 18 | 19 | - create an APS application if you don't have one yet ([tutorial](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app/)) 20 | - make sure you have at least one file prepared for viewing ([tutorial](https://aps.autodesk.com/en/docs/model-derivative/v2/tutorials/prep-file4viewer/)) 21 | - clone this git repository 22 | - navigate to the repository root folder and install npm dependencies 23 | - on Windows/macOS/Linux: `npm install` 24 | - prepare required environment variables 25 | - on Windows: 26 | ``` 27 | set APS_CLIENT_ID= 28 | set APS_CLIENT_SECRET= 29 | set APS_BUCKET= 30 | ``` 31 | - on macOS/Linux: 32 | ``` 33 | export APS_CLIENT_ID= 34 | export APS_CLIENT_SECRET= 35 | export APS_BUCKET= 36 | ``` 37 | - run the application 38 | - on Windows/macOS/Linux: `npm run dev` 39 | - go to http://localhost:3000 40 | 41 | # Usage 42 | 43 | Add reference to the ExportXLS file: 44 | 45 | ``` 46 | 47 | ``` 48 | 49 | Then call **downloadXLSX** method passing the URN and a data:read token. 50 | 51 | ``` 52 | function downloadExcel() { 53 | ExportXLS.downloadXLS(theURN, token, statusCallback /*Optional*/); 54 | } 55 | ``` 56 | 57 | ## Dependencies 58 | 59 | This project depends on [Sheet JS](https://github.com/SheetJS/js-xlsx) to manipulate spreadsheet files. The [FileSaver](https://github.com/eligrey/FileSaver.js/) library is used to create & download a file on the client. [BlobJS](https://github.com/eligrey/Blob.js) is required for older browsers ([see compatibility](https://github.com/eligrey/FileSaver.js/#supported-browsers)). [jQuery](https://jquery.com) is also used. 60 | 61 | ``` 62 | 63 | 64 | 65 | 66 | ``` 67 | 68 | # License 69 | 70 | This sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). 71 | Please see the [LICENSE](LICENSE) file for full details. 72 | 73 | ## Written by 74 | 75 | Augusto Goncalves [@augustomaia](https://twitter.com/augustomaia), [APS Partner Development](http://aps.autodesk.com) 76 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aps-extract-spreadsheet", 3 | "description": "JavaScript sample to extract Revit files properties as Spreadsheet (Excel XLSX)", 4 | "repository": "https://github.com/autodesk-platform-services/aps-extract-spreadsheet", 5 | "logo": "https://avatars0.githubusercontent.com/u/8017462?v=3&s=200", 6 | "keywords": [ 7 | "express", 8 | "framework", 9 | "autodesk-platform-services", 10 | "template" 11 | ], 12 | "env": { 13 | "APS_CLIENT_ID": { 14 | "description": "APS Client ID" 15 | }, 16 | "APS_CLIENT_SECRET": { 17 | "description": "APS Client Secret" 18 | }, 19 | "APS_BUCKET": { 20 | "description": "APS Data Bucket" 21 | } 22 | }, 23 | "website": "https://developer.autodesk.com/", 24 | "success_url": "/" 25 | } -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config(); 2 | 3 | let { APS_CLIENT_ID, APS_CLIENT_SECRET, APS_BUCKET, PORT } = process.env; 4 | if (!APS_CLIENT_ID || !APS_CLIENT_SECRET) { 5 | console.warn('Missing some of the environment variables.'); 6 | process.exit(1); 7 | } 8 | APS_BUCKET = APS_BUCKET || `${APS_CLIENT_ID.toLowerCase()}-basic-app`; 9 | PORT = PORT || 8080; 10 | 11 | module.exports = { 12 | APS_CLIENT_ID, 13 | APS_CLIENT_SECRET, 14 | APS_BUCKET, 15 | PORT 16 | }; -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aps-extract-spreadsheet", 3 | "version": "1.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "aps-extract-spreadsheet", 9 | "version": "1.0.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "@aps_sdk/authentication": "^0.1.0-beta.1", 13 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 14 | "@aps_sdk/model-derivative": "^0.1.0-beta.1", 15 | "@aps_sdk/oss": "^0.1.0-beta.1", 16 | "dotenv": "^16.4.5", 17 | "express": "^4.17.1", 18 | "express-formidable": "^1.2.0" 19 | } 20 | }, 21 | "node_modules/@aps_sdk/authentication": { 22 | "version": "0.1.0-beta.1", 23 | "resolved": "https://registry.npmjs.org/@aps_sdk/authentication/-/authentication-0.1.0-beta.1.tgz", 24 | "integrity": "sha512-b09vBx19HqixLeBrMZWqUdqyINAJNK9Ed0PL+qVVHunTGJ+6TxXwM8omjiHPF6a3ksgy4qAsjwjyWMn70784sg==", 25 | "dependencies": { 26 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 27 | "@types/node": "^20.9.0", 28 | "axios": "^1.6.1" 29 | } 30 | }, 31 | "node_modules/@aps_sdk/autodesk-sdkmanager": { 32 | "version": "0.0.7-beta.1", 33 | "resolved": "https://registry.npmjs.org/@aps_sdk/autodesk-sdkmanager/-/autodesk-sdkmanager-0.0.7-beta.1.tgz", 34 | "integrity": "sha512-RqHLuyUb80j+zo2hmvxzg9ievKBieM5bqYf8f2iVMFo41iB6c9PYWxAmWpq4v1cXlj2/VqTGCRxUFaTjA6q4SQ==", 35 | "dependencies": { 36 | "axios": "^1.4.0", 37 | "cockatiel": "^3.1.1", 38 | "winston": "^3.9.0" 39 | } 40 | }, 41 | "node_modules/@aps_sdk/model-derivative": { 42 | "version": "0.1.0-beta.1", 43 | "resolved": "https://registry.npmjs.org/@aps_sdk/model-derivative/-/model-derivative-0.1.0-beta.1.tgz", 44 | "integrity": "sha512-8b1nlcPw/cDJRLpmp5aYktzANf0JzjAssC8+epSM7pCQnnT5B3gl/06UN0RK43P5fSdWE8EGxsOztCG5mZY71A==", 45 | "dependencies": { 46 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 47 | "@types/node": "^20.9.0", 48 | "axios": "^1.6.1" 49 | } 50 | }, 51 | "node_modules/@aps_sdk/oss": { 52 | "version": "0.1.0-beta.1", 53 | "resolved": "https://registry.npmjs.org/@aps_sdk/oss/-/oss-0.1.0-beta.1.tgz", 54 | "integrity": "sha512-Iy96kIJu82QjjeHXJHuPKQ4PJo1m7Yxp/c+06j9BqHx6SSLyCZ4eHs1NW0cv0kV6PkfbN846+8dbtD8aU4DWqw==", 55 | "dependencies": { 56 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 57 | "@types/node": "^20.9.0", 58 | "axios": "^1.6.2" 59 | } 60 | }, 61 | "node_modules/@colors/colors": { 62 | "version": "1.6.0", 63 | "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", 64 | "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", 65 | "engines": { 66 | "node": ">=0.1.90" 67 | } 68 | }, 69 | "node_modules/@dabh/diagnostics": { 70 | "version": "2.0.3", 71 | "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", 72 | "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", 73 | "dependencies": { 74 | "colorspace": "1.1.x", 75 | "enabled": "2.0.x", 76 | "kuler": "^2.0.0" 77 | } 78 | }, 79 | "node_modules/@types/node": { 80 | "version": "20.12.7", 81 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", 82 | "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", 83 | "dependencies": { 84 | "undici-types": "~5.26.4" 85 | } 86 | }, 87 | "node_modules/@types/triple-beam": { 88 | "version": "1.3.5", 89 | "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", 90 | "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==" 91 | }, 92 | "node_modules/accepts": { 93 | "version": "1.3.8", 94 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 95 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 96 | "dependencies": { 97 | "mime-types": "~2.1.34", 98 | "negotiator": "0.6.3" 99 | }, 100 | "engines": { 101 | "node": ">= 0.6" 102 | } 103 | }, 104 | "node_modules/array-flatten": { 105 | "version": "1.1.1", 106 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 107 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 108 | }, 109 | "node_modules/async": { 110 | "version": "3.2.5", 111 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", 112 | "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" 113 | }, 114 | "node_modules/asynckit": { 115 | "version": "0.4.0", 116 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 117 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 118 | }, 119 | "node_modules/axios": { 120 | "version": "1.6.8", 121 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", 122 | "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", 123 | "dependencies": { 124 | "follow-redirects": "^1.15.6", 125 | "form-data": "^4.0.0", 126 | "proxy-from-env": "^1.1.0" 127 | } 128 | }, 129 | "node_modules/body-parser": { 130 | "version": "1.20.1", 131 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 132 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 133 | "dependencies": { 134 | "bytes": "3.1.2", 135 | "content-type": "~1.0.4", 136 | "debug": "2.6.9", 137 | "depd": "2.0.0", 138 | "destroy": "1.2.0", 139 | "http-errors": "2.0.0", 140 | "iconv-lite": "0.4.24", 141 | "on-finished": "2.4.1", 142 | "qs": "6.11.0", 143 | "raw-body": "2.5.1", 144 | "type-is": "~1.6.18", 145 | "unpipe": "1.0.0" 146 | }, 147 | "engines": { 148 | "node": ">= 0.8", 149 | "npm": "1.2.8000 || >= 1.4.16" 150 | } 151 | }, 152 | "node_modules/bytes": { 153 | "version": "3.1.2", 154 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 155 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 156 | "engines": { 157 | "node": ">= 0.8" 158 | } 159 | }, 160 | "node_modules/call-bind": { 161 | "version": "1.0.2", 162 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 163 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 164 | "dependencies": { 165 | "function-bind": "^1.1.1", 166 | "get-intrinsic": "^1.0.2" 167 | }, 168 | "funding": { 169 | "url": "https://github.com/sponsors/ljharb" 170 | } 171 | }, 172 | "node_modules/cockatiel": { 173 | "version": "3.1.2", 174 | "resolved": "https://registry.npmjs.org/cockatiel/-/cockatiel-3.1.2.tgz", 175 | "integrity": "sha512-5yARKww0dWyWg2/3xZeXgoxjHLwpVqFptj9Zy7qioJ6+/L0ARM184sgMUrQDjxw7ePJWlGhV998mKhzrxT0/Kg==", 176 | "engines": { 177 | "node": ">=16" 178 | } 179 | }, 180 | "node_modules/color": { 181 | "version": "3.2.1", 182 | "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", 183 | "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", 184 | "dependencies": { 185 | "color-convert": "^1.9.3", 186 | "color-string": "^1.6.0" 187 | } 188 | }, 189 | "node_modules/color-convert": { 190 | "version": "1.9.3", 191 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 192 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 193 | "dependencies": { 194 | "color-name": "1.1.3" 195 | } 196 | }, 197 | "node_modules/color-name": { 198 | "version": "1.1.3", 199 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 200 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" 201 | }, 202 | "node_modules/color-string": { 203 | "version": "1.9.1", 204 | "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", 205 | "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", 206 | "dependencies": { 207 | "color-name": "^1.0.0", 208 | "simple-swizzle": "^0.2.2" 209 | } 210 | }, 211 | "node_modules/colorspace": { 212 | "version": "1.1.4", 213 | "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", 214 | "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", 215 | "dependencies": { 216 | "color": "^3.1.3", 217 | "text-hex": "1.0.x" 218 | } 219 | }, 220 | "node_modules/combined-stream": { 221 | "version": "1.0.8", 222 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 223 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 224 | "dependencies": { 225 | "delayed-stream": "~1.0.0" 226 | }, 227 | "engines": { 228 | "node": ">= 0.8" 229 | } 230 | }, 231 | "node_modules/content-disposition": { 232 | "version": "0.5.4", 233 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 234 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 235 | "dependencies": { 236 | "safe-buffer": "5.2.1" 237 | }, 238 | "engines": { 239 | "node": ">= 0.6" 240 | } 241 | }, 242 | "node_modules/content-type": { 243 | "version": "1.0.4", 244 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 245 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", 246 | "engines": { 247 | "node": ">= 0.6" 248 | } 249 | }, 250 | "node_modules/cookie": { 251 | "version": "0.5.0", 252 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 253 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 254 | "engines": { 255 | "node": ">= 0.6" 256 | } 257 | }, 258 | "node_modules/cookie-signature": { 259 | "version": "1.0.6", 260 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 261 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 262 | }, 263 | "node_modules/debug": { 264 | "version": "2.6.9", 265 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 266 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 267 | "dependencies": { 268 | "ms": "2.0.0" 269 | } 270 | }, 271 | "node_modules/delayed-stream": { 272 | "version": "1.0.0", 273 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 274 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 275 | "engines": { 276 | "node": ">=0.4.0" 277 | } 278 | }, 279 | "node_modules/depd": { 280 | "version": "2.0.0", 281 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 282 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 283 | "engines": { 284 | "node": ">= 0.8" 285 | } 286 | }, 287 | "node_modules/destroy": { 288 | "version": "1.2.0", 289 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 290 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 291 | "engines": { 292 | "node": ">= 0.8", 293 | "npm": "1.2.8000 || >= 1.4.16" 294 | } 295 | }, 296 | "node_modules/dotenv": { 297 | "version": "16.4.5", 298 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", 299 | "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", 300 | "engines": { 301 | "node": ">=12" 302 | }, 303 | "funding": { 304 | "url": "https://dotenvx.com" 305 | } 306 | }, 307 | "node_modules/ee-first": { 308 | "version": "1.1.1", 309 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 310 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 311 | }, 312 | "node_modules/enabled": { 313 | "version": "2.0.0", 314 | "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", 315 | "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" 316 | }, 317 | "node_modules/encodeurl": { 318 | "version": "1.0.2", 319 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 320 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 321 | "engines": { 322 | "node": ">= 0.8" 323 | } 324 | }, 325 | "node_modules/escape-html": { 326 | "version": "1.0.3", 327 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 328 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 329 | }, 330 | "node_modules/etag": { 331 | "version": "1.8.1", 332 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 333 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 334 | "engines": { 335 | "node": ">= 0.6" 336 | } 337 | }, 338 | "node_modules/express": { 339 | "version": "4.18.2", 340 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 341 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 342 | "dependencies": { 343 | "accepts": "~1.3.8", 344 | "array-flatten": "1.1.1", 345 | "body-parser": "1.20.1", 346 | "content-disposition": "0.5.4", 347 | "content-type": "~1.0.4", 348 | "cookie": "0.5.0", 349 | "cookie-signature": "1.0.6", 350 | "debug": "2.6.9", 351 | "depd": "2.0.0", 352 | "encodeurl": "~1.0.2", 353 | "escape-html": "~1.0.3", 354 | "etag": "~1.8.1", 355 | "finalhandler": "1.2.0", 356 | "fresh": "0.5.2", 357 | "http-errors": "2.0.0", 358 | "merge-descriptors": "1.0.1", 359 | "methods": "~1.1.2", 360 | "on-finished": "2.4.1", 361 | "parseurl": "~1.3.3", 362 | "path-to-regexp": "0.1.7", 363 | "proxy-addr": "~2.0.7", 364 | "qs": "6.11.0", 365 | "range-parser": "~1.2.1", 366 | "safe-buffer": "5.2.1", 367 | "send": "0.18.0", 368 | "serve-static": "1.15.0", 369 | "setprototypeof": "1.2.0", 370 | "statuses": "2.0.1", 371 | "type-is": "~1.6.18", 372 | "utils-merge": "1.0.1", 373 | "vary": "~1.1.2" 374 | }, 375 | "engines": { 376 | "node": ">= 0.10.0" 377 | } 378 | }, 379 | "node_modules/express-formidable": { 380 | "version": "1.2.0", 381 | "resolved": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.2.0.tgz", 382 | "integrity": "sha512-w1vXjF3gb50UKTNkFaW8/4rqY4dUrKfZ1sAZzwAF9YxCAgj/29QZsycf71di0GkskrZOAkubk9pvGYfxyAMYiw==", 383 | "dependencies": { 384 | "formidable": "^1.0.17" 385 | }, 386 | "engines": { 387 | "node": ">= 8" 388 | } 389 | }, 390 | "node_modules/fecha": { 391 | "version": "4.2.3", 392 | "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", 393 | "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" 394 | }, 395 | "node_modules/finalhandler": { 396 | "version": "1.2.0", 397 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 398 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 399 | "dependencies": { 400 | "debug": "2.6.9", 401 | "encodeurl": "~1.0.2", 402 | "escape-html": "~1.0.3", 403 | "on-finished": "2.4.1", 404 | "parseurl": "~1.3.3", 405 | "statuses": "2.0.1", 406 | "unpipe": "~1.0.0" 407 | }, 408 | "engines": { 409 | "node": ">= 0.8" 410 | } 411 | }, 412 | "node_modules/fn.name": { 413 | "version": "1.1.0", 414 | "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", 415 | "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" 416 | }, 417 | "node_modules/follow-redirects": { 418 | "version": "1.15.6", 419 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", 420 | "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", 421 | "funding": [ 422 | { 423 | "type": "individual", 424 | "url": "https://github.com/sponsors/RubenVerborgh" 425 | } 426 | ], 427 | "engines": { 428 | "node": ">=4.0" 429 | }, 430 | "peerDependenciesMeta": { 431 | "debug": { 432 | "optional": true 433 | } 434 | } 435 | }, 436 | "node_modules/form-data": { 437 | "version": "4.0.0", 438 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", 439 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", 440 | "dependencies": { 441 | "asynckit": "^0.4.0", 442 | "combined-stream": "^1.0.8", 443 | "mime-types": "^2.1.12" 444 | }, 445 | "engines": { 446 | "node": ">= 6" 447 | } 448 | }, 449 | "node_modules/formidable": { 450 | "version": "1.2.6", 451 | "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", 452 | "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==", 453 | "deprecated": "Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau", 454 | "funding": { 455 | "url": "https://ko-fi.com/tunnckoCore/commissions" 456 | } 457 | }, 458 | "node_modules/forwarded": { 459 | "version": "0.2.0", 460 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 461 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 462 | "engines": { 463 | "node": ">= 0.6" 464 | } 465 | }, 466 | "node_modules/fresh": { 467 | "version": "0.5.2", 468 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 469 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 470 | "engines": { 471 | "node": ">= 0.6" 472 | } 473 | }, 474 | "node_modules/function-bind": { 475 | "version": "1.1.1", 476 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 477 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 478 | }, 479 | "node_modules/get-intrinsic": { 480 | "version": "1.1.3", 481 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", 482 | "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", 483 | "dependencies": { 484 | "function-bind": "^1.1.1", 485 | "has": "^1.0.3", 486 | "has-symbols": "^1.0.3" 487 | }, 488 | "funding": { 489 | "url": "https://github.com/sponsors/ljharb" 490 | } 491 | }, 492 | "node_modules/has": { 493 | "version": "1.0.3", 494 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 495 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 496 | "dependencies": { 497 | "function-bind": "^1.1.1" 498 | }, 499 | "engines": { 500 | "node": ">= 0.4.0" 501 | } 502 | }, 503 | "node_modules/has-symbols": { 504 | "version": "1.0.3", 505 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 506 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 507 | "engines": { 508 | "node": ">= 0.4" 509 | }, 510 | "funding": { 511 | "url": "https://github.com/sponsors/ljharb" 512 | } 513 | }, 514 | "node_modules/http-errors": { 515 | "version": "2.0.0", 516 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 517 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 518 | "dependencies": { 519 | "depd": "2.0.0", 520 | "inherits": "2.0.4", 521 | "setprototypeof": "1.2.0", 522 | "statuses": "2.0.1", 523 | "toidentifier": "1.0.1" 524 | }, 525 | "engines": { 526 | "node": ">= 0.8" 527 | } 528 | }, 529 | "node_modules/iconv-lite": { 530 | "version": "0.4.24", 531 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 532 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 533 | "dependencies": { 534 | "safer-buffer": ">= 2.1.2 < 3" 535 | }, 536 | "engines": { 537 | "node": ">=0.10.0" 538 | } 539 | }, 540 | "node_modules/inherits": { 541 | "version": "2.0.4", 542 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 543 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 544 | }, 545 | "node_modules/ipaddr.js": { 546 | "version": "1.9.1", 547 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 548 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 549 | "engines": { 550 | "node": ">= 0.10" 551 | } 552 | }, 553 | "node_modules/is-arrayish": { 554 | "version": "0.3.2", 555 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", 556 | "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" 557 | }, 558 | "node_modules/is-stream": { 559 | "version": "2.0.1", 560 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 561 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", 562 | "engines": { 563 | "node": ">=8" 564 | }, 565 | "funding": { 566 | "url": "https://github.com/sponsors/sindresorhus" 567 | } 568 | }, 569 | "node_modules/kuler": { 570 | "version": "2.0.0", 571 | "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", 572 | "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" 573 | }, 574 | "node_modules/logform": { 575 | "version": "2.6.0", 576 | "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz", 577 | "integrity": "sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==", 578 | "dependencies": { 579 | "@colors/colors": "1.6.0", 580 | "@types/triple-beam": "^1.3.2", 581 | "fecha": "^4.2.0", 582 | "ms": "^2.1.1", 583 | "safe-stable-stringify": "^2.3.1", 584 | "triple-beam": "^1.3.0" 585 | }, 586 | "engines": { 587 | "node": ">= 12.0.0" 588 | } 589 | }, 590 | "node_modules/logform/node_modules/ms": { 591 | "version": "2.1.3", 592 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 593 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 594 | }, 595 | "node_modules/media-typer": { 596 | "version": "0.3.0", 597 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 598 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 599 | "engines": { 600 | "node": ">= 0.6" 601 | } 602 | }, 603 | "node_modules/merge-descriptors": { 604 | "version": "1.0.1", 605 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 606 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 607 | }, 608 | "node_modules/methods": { 609 | "version": "1.1.2", 610 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 611 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 612 | "engines": { 613 | "node": ">= 0.6" 614 | } 615 | }, 616 | "node_modules/mime": { 617 | "version": "1.6.0", 618 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 619 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 620 | "bin": { 621 | "mime": "cli.js" 622 | }, 623 | "engines": { 624 | "node": ">=4" 625 | } 626 | }, 627 | "node_modules/mime-db": { 628 | "version": "1.52.0", 629 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 630 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 631 | "engines": { 632 | "node": ">= 0.6" 633 | } 634 | }, 635 | "node_modules/mime-types": { 636 | "version": "2.1.35", 637 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 638 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 639 | "dependencies": { 640 | "mime-db": "1.52.0" 641 | }, 642 | "engines": { 643 | "node": ">= 0.6" 644 | } 645 | }, 646 | "node_modules/ms": { 647 | "version": "2.0.0", 648 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 649 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 650 | }, 651 | "node_modules/negotiator": { 652 | "version": "0.6.3", 653 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 654 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 655 | "engines": { 656 | "node": ">= 0.6" 657 | } 658 | }, 659 | "node_modules/object-inspect": { 660 | "version": "1.12.2", 661 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 662 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", 663 | "funding": { 664 | "url": "https://github.com/sponsors/ljharb" 665 | } 666 | }, 667 | "node_modules/on-finished": { 668 | "version": "2.4.1", 669 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 670 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 671 | "dependencies": { 672 | "ee-first": "1.1.1" 673 | }, 674 | "engines": { 675 | "node": ">= 0.8" 676 | } 677 | }, 678 | "node_modules/one-time": { 679 | "version": "1.0.0", 680 | "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", 681 | "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", 682 | "dependencies": { 683 | "fn.name": "1.x.x" 684 | } 685 | }, 686 | "node_modules/parseurl": { 687 | "version": "1.3.3", 688 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 689 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 690 | "engines": { 691 | "node": ">= 0.8" 692 | } 693 | }, 694 | "node_modules/path-to-regexp": { 695 | "version": "0.1.7", 696 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 697 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 698 | }, 699 | "node_modules/proxy-addr": { 700 | "version": "2.0.7", 701 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 702 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 703 | "dependencies": { 704 | "forwarded": "0.2.0", 705 | "ipaddr.js": "1.9.1" 706 | }, 707 | "engines": { 708 | "node": ">= 0.10" 709 | } 710 | }, 711 | "node_modules/proxy-from-env": { 712 | "version": "1.1.0", 713 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 714 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" 715 | }, 716 | "node_modules/qs": { 717 | "version": "6.11.0", 718 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 719 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 720 | "dependencies": { 721 | "side-channel": "^1.0.4" 722 | }, 723 | "engines": { 724 | "node": ">=0.6" 725 | }, 726 | "funding": { 727 | "url": "https://github.com/sponsors/ljharb" 728 | } 729 | }, 730 | "node_modules/range-parser": { 731 | "version": "1.2.1", 732 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 733 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 734 | "engines": { 735 | "node": ">= 0.6" 736 | } 737 | }, 738 | "node_modules/raw-body": { 739 | "version": "2.5.1", 740 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 741 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 742 | "dependencies": { 743 | "bytes": "3.1.2", 744 | "http-errors": "2.0.0", 745 | "iconv-lite": "0.4.24", 746 | "unpipe": "1.0.0" 747 | }, 748 | "engines": { 749 | "node": ">= 0.8" 750 | } 751 | }, 752 | "node_modules/readable-stream": { 753 | "version": "3.6.2", 754 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 755 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 756 | "dependencies": { 757 | "inherits": "^2.0.3", 758 | "string_decoder": "^1.1.1", 759 | "util-deprecate": "^1.0.1" 760 | }, 761 | "engines": { 762 | "node": ">= 6" 763 | } 764 | }, 765 | "node_modules/safe-buffer": { 766 | "version": "5.2.1", 767 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 768 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 769 | "funding": [ 770 | { 771 | "type": "github", 772 | "url": "https://github.com/sponsors/feross" 773 | }, 774 | { 775 | "type": "patreon", 776 | "url": "https://www.patreon.com/feross" 777 | }, 778 | { 779 | "type": "consulting", 780 | "url": "https://feross.org/support" 781 | } 782 | ] 783 | }, 784 | "node_modules/safe-stable-stringify": { 785 | "version": "2.4.3", 786 | "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", 787 | "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", 788 | "engines": { 789 | "node": ">=10" 790 | } 791 | }, 792 | "node_modules/safer-buffer": { 793 | "version": "2.1.2", 794 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 795 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 796 | }, 797 | "node_modules/send": { 798 | "version": "0.18.0", 799 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 800 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 801 | "dependencies": { 802 | "debug": "2.6.9", 803 | "depd": "2.0.0", 804 | "destroy": "1.2.0", 805 | "encodeurl": "~1.0.2", 806 | "escape-html": "~1.0.3", 807 | "etag": "~1.8.1", 808 | "fresh": "0.5.2", 809 | "http-errors": "2.0.0", 810 | "mime": "1.6.0", 811 | "ms": "2.1.3", 812 | "on-finished": "2.4.1", 813 | "range-parser": "~1.2.1", 814 | "statuses": "2.0.1" 815 | }, 816 | "engines": { 817 | "node": ">= 0.8.0" 818 | } 819 | }, 820 | "node_modules/send/node_modules/ms": { 821 | "version": "2.1.3", 822 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 823 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 824 | }, 825 | "node_modules/serve-static": { 826 | "version": "1.15.0", 827 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 828 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 829 | "dependencies": { 830 | "encodeurl": "~1.0.2", 831 | "escape-html": "~1.0.3", 832 | "parseurl": "~1.3.3", 833 | "send": "0.18.0" 834 | }, 835 | "engines": { 836 | "node": ">= 0.8.0" 837 | } 838 | }, 839 | "node_modules/setprototypeof": { 840 | "version": "1.2.0", 841 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 842 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 843 | }, 844 | "node_modules/side-channel": { 845 | "version": "1.0.4", 846 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 847 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 848 | "dependencies": { 849 | "call-bind": "^1.0.0", 850 | "get-intrinsic": "^1.0.2", 851 | "object-inspect": "^1.9.0" 852 | }, 853 | "funding": { 854 | "url": "https://github.com/sponsors/ljharb" 855 | } 856 | }, 857 | "node_modules/simple-swizzle": { 858 | "version": "0.2.2", 859 | "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", 860 | "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", 861 | "dependencies": { 862 | "is-arrayish": "^0.3.1" 863 | } 864 | }, 865 | "node_modules/stack-trace": { 866 | "version": "0.0.10", 867 | "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", 868 | "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", 869 | "engines": { 870 | "node": "*" 871 | } 872 | }, 873 | "node_modules/statuses": { 874 | "version": "2.0.1", 875 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 876 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 877 | "engines": { 878 | "node": ">= 0.8" 879 | } 880 | }, 881 | "node_modules/string_decoder": { 882 | "version": "1.3.0", 883 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 884 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 885 | "dependencies": { 886 | "safe-buffer": "~5.2.0" 887 | } 888 | }, 889 | "node_modules/text-hex": { 890 | "version": "1.0.0", 891 | "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", 892 | "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" 893 | }, 894 | "node_modules/toidentifier": { 895 | "version": "1.0.1", 896 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 897 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 898 | "engines": { 899 | "node": ">=0.6" 900 | } 901 | }, 902 | "node_modules/triple-beam": { 903 | "version": "1.4.1", 904 | "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", 905 | "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", 906 | "engines": { 907 | "node": ">= 14.0.0" 908 | } 909 | }, 910 | "node_modules/type-is": { 911 | "version": "1.6.18", 912 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 913 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 914 | "dependencies": { 915 | "media-typer": "0.3.0", 916 | "mime-types": "~2.1.24" 917 | }, 918 | "engines": { 919 | "node": ">= 0.6" 920 | } 921 | }, 922 | "node_modules/undici-types": { 923 | "version": "5.26.5", 924 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", 925 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" 926 | }, 927 | "node_modules/unpipe": { 928 | "version": "1.0.0", 929 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 930 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 931 | "engines": { 932 | "node": ">= 0.8" 933 | } 934 | }, 935 | "node_modules/util-deprecate": { 936 | "version": "1.0.2", 937 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 938 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 939 | }, 940 | "node_modules/utils-merge": { 941 | "version": "1.0.1", 942 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 943 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 944 | "engines": { 945 | "node": ">= 0.4.0" 946 | } 947 | }, 948 | "node_modules/vary": { 949 | "version": "1.1.2", 950 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 951 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 952 | "engines": { 953 | "node": ">= 0.8" 954 | } 955 | }, 956 | "node_modules/winston": { 957 | "version": "3.13.0", 958 | "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", 959 | "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", 960 | "dependencies": { 961 | "@colors/colors": "^1.6.0", 962 | "@dabh/diagnostics": "^2.0.2", 963 | "async": "^3.2.3", 964 | "is-stream": "^2.0.0", 965 | "logform": "^2.4.0", 966 | "one-time": "^1.0.0", 967 | "readable-stream": "^3.4.0", 968 | "safe-stable-stringify": "^2.3.1", 969 | "stack-trace": "0.0.x", 970 | "triple-beam": "^1.3.0", 971 | "winston-transport": "^4.7.0" 972 | }, 973 | "engines": { 974 | "node": ">= 12.0.0" 975 | } 976 | }, 977 | "node_modules/winston-transport": { 978 | "version": "4.7.0", 979 | "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.0.tgz", 980 | "integrity": "sha512-ajBj65K5I7denzer2IYW6+2bNIVqLGDHqDw3Ow8Ohh+vdW+rv4MZ6eiDvHoKhfJFZ2auyN8byXieDDJ96ViONg==", 981 | "dependencies": { 982 | "logform": "^2.3.2", 983 | "readable-stream": "^3.6.0", 984 | "triple-beam": "^1.3.0" 985 | }, 986 | "engines": { 987 | "node": ">= 12.0.0" 988 | } 989 | } 990 | }, 991 | "dependencies": { 992 | "@aps_sdk/authentication": { 993 | "version": "0.1.0-beta.1", 994 | "resolved": "https://registry.npmjs.org/@aps_sdk/authentication/-/authentication-0.1.0-beta.1.tgz", 995 | "integrity": "sha512-b09vBx19HqixLeBrMZWqUdqyINAJNK9Ed0PL+qVVHunTGJ+6TxXwM8omjiHPF6a3ksgy4qAsjwjyWMn70784sg==", 996 | "requires": { 997 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 998 | "@types/node": "^20.9.0", 999 | "axios": "^1.6.1" 1000 | } 1001 | }, 1002 | "@aps_sdk/autodesk-sdkmanager": { 1003 | "version": "0.0.7-beta.1", 1004 | "resolved": "https://registry.npmjs.org/@aps_sdk/autodesk-sdkmanager/-/autodesk-sdkmanager-0.0.7-beta.1.tgz", 1005 | "integrity": "sha512-RqHLuyUb80j+zo2hmvxzg9ievKBieM5bqYf8f2iVMFo41iB6c9PYWxAmWpq4v1cXlj2/VqTGCRxUFaTjA6q4SQ==", 1006 | "requires": { 1007 | "axios": "^1.4.0", 1008 | "cockatiel": "^3.1.1", 1009 | "winston": "^3.9.0" 1010 | } 1011 | }, 1012 | "@aps_sdk/model-derivative": { 1013 | "version": "0.1.0-beta.1", 1014 | "resolved": "https://registry.npmjs.org/@aps_sdk/model-derivative/-/model-derivative-0.1.0-beta.1.tgz", 1015 | "integrity": "sha512-8b1nlcPw/cDJRLpmp5aYktzANf0JzjAssC8+epSM7pCQnnT5B3gl/06UN0RK43P5fSdWE8EGxsOztCG5mZY71A==", 1016 | "requires": { 1017 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 1018 | "@types/node": "^20.9.0", 1019 | "axios": "^1.6.1" 1020 | } 1021 | }, 1022 | "@aps_sdk/oss": { 1023 | "version": "0.1.0-beta.1", 1024 | "resolved": "https://registry.npmjs.org/@aps_sdk/oss/-/oss-0.1.0-beta.1.tgz", 1025 | "integrity": "sha512-Iy96kIJu82QjjeHXJHuPKQ4PJo1m7Yxp/c+06j9BqHx6SSLyCZ4eHs1NW0cv0kV6PkfbN846+8dbtD8aU4DWqw==", 1026 | "requires": { 1027 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 1028 | "@types/node": "^20.9.0", 1029 | "axios": "^1.6.2" 1030 | } 1031 | }, 1032 | "@colors/colors": { 1033 | "version": "1.6.0", 1034 | "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", 1035 | "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==" 1036 | }, 1037 | "@dabh/diagnostics": { 1038 | "version": "2.0.3", 1039 | "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", 1040 | "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", 1041 | "requires": { 1042 | "colorspace": "1.1.x", 1043 | "enabled": "2.0.x", 1044 | "kuler": "^2.0.0" 1045 | } 1046 | }, 1047 | "@types/node": { 1048 | "version": "20.12.7", 1049 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", 1050 | "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", 1051 | "requires": { 1052 | "undici-types": "~5.26.4" 1053 | } 1054 | }, 1055 | "@types/triple-beam": { 1056 | "version": "1.3.5", 1057 | "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", 1058 | "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==" 1059 | }, 1060 | "accepts": { 1061 | "version": "1.3.8", 1062 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 1063 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 1064 | "requires": { 1065 | "mime-types": "~2.1.34", 1066 | "negotiator": "0.6.3" 1067 | } 1068 | }, 1069 | "array-flatten": { 1070 | "version": "1.1.1", 1071 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 1072 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 1073 | }, 1074 | "async": { 1075 | "version": "3.2.5", 1076 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", 1077 | "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" 1078 | }, 1079 | "asynckit": { 1080 | "version": "0.4.0", 1081 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 1082 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 1083 | }, 1084 | "axios": { 1085 | "version": "1.6.8", 1086 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", 1087 | "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", 1088 | "requires": { 1089 | "follow-redirects": "^1.15.6", 1090 | "form-data": "^4.0.0", 1091 | "proxy-from-env": "^1.1.0" 1092 | } 1093 | }, 1094 | "body-parser": { 1095 | "version": "1.20.1", 1096 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 1097 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 1098 | "requires": { 1099 | "bytes": "3.1.2", 1100 | "content-type": "~1.0.4", 1101 | "debug": "2.6.9", 1102 | "depd": "2.0.0", 1103 | "destroy": "1.2.0", 1104 | "http-errors": "2.0.0", 1105 | "iconv-lite": "0.4.24", 1106 | "on-finished": "2.4.1", 1107 | "qs": "6.11.0", 1108 | "raw-body": "2.5.1", 1109 | "type-is": "~1.6.18", 1110 | "unpipe": "1.0.0" 1111 | } 1112 | }, 1113 | "bytes": { 1114 | "version": "3.1.2", 1115 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 1116 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" 1117 | }, 1118 | "call-bind": { 1119 | "version": "1.0.2", 1120 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 1121 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 1122 | "requires": { 1123 | "function-bind": "^1.1.1", 1124 | "get-intrinsic": "^1.0.2" 1125 | } 1126 | }, 1127 | "cockatiel": { 1128 | "version": "3.1.2", 1129 | "resolved": "https://registry.npmjs.org/cockatiel/-/cockatiel-3.1.2.tgz", 1130 | "integrity": "sha512-5yARKww0dWyWg2/3xZeXgoxjHLwpVqFptj9Zy7qioJ6+/L0ARM184sgMUrQDjxw7ePJWlGhV998mKhzrxT0/Kg==" 1131 | }, 1132 | "color": { 1133 | "version": "3.2.1", 1134 | "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", 1135 | "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", 1136 | "requires": { 1137 | "color-convert": "^1.9.3", 1138 | "color-string": "^1.6.0" 1139 | } 1140 | }, 1141 | "color-convert": { 1142 | "version": "1.9.3", 1143 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1144 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1145 | "requires": { 1146 | "color-name": "1.1.3" 1147 | } 1148 | }, 1149 | "color-name": { 1150 | "version": "1.1.3", 1151 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1152 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" 1153 | }, 1154 | "color-string": { 1155 | "version": "1.9.1", 1156 | "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", 1157 | "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", 1158 | "requires": { 1159 | "color-name": "^1.0.0", 1160 | "simple-swizzle": "^0.2.2" 1161 | } 1162 | }, 1163 | "colorspace": { 1164 | "version": "1.1.4", 1165 | "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", 1166 | "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", 1167 | "requires": { 1168 | "color": "^3.1.3", 1169 | "text-hex": "1.0.x" 1170 | } 1171 | }, 1172 | "combined-stream": { 1173 | "version": "1.0.8", 1174 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1175 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1176 | "requires": { 1177 | "delayed-stream": "~1.0.0" 1178 | } 1179 | }, 1180 | "content-disposition": { 1181 | "version": "0.5.4", 1182 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 1183 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 1184 | "requires": { 1185 | "safe-buffer": "5.2.1" 1186 | } 1187 | }, 1188 | "content-type": { 1189 | "version": "1.0.4", 1190 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 1191 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 1192 | }, 1193 | "cookie": { 1194 | "version": "0.5.0", 1195 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 1196 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==" 1197 | }, 1198 | "cookie-signature": { 1199 | "version": "1.0.6", 1200 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 1201 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 1202 | }, 1203 | "debug": { 1204 | "version": "2.6.9", 1205 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1206 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1207 | "requires": { 1208 | "ms": "2.0.0" 1209 | } 1210 | }, 1211 | "delayed-stream": { 1212 | "version": "1.0.0", 1213 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1214 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" 1215 | }, 1216 | "depd": { 1217 | "version": "2.0.0", 1218 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 1219 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" 1220 | }, 1221 | "destroy": { 1222 | "version": "1.2.0", 1223 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 1224 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" 1225 | }, 1226 | "dotenv": { 1227 | "version": "16.4.5", 1228 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", 1229 | "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==" 1230 | }, 1231 | "ee-first": { 1232 | "version": "1.1.1", 1233 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 1234 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 1235 | }, 1236 | "enabled": { 1237 | "version": "2.0.0", 1238 | "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", 1239 | "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" 1240 | }, 1241 | "encodeurl": { 1242 | "version": "1.0.2", 1243 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 1244 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" 1245 | }, 1246 | "escape-html": { 1247 | "version": "1.0.3", 1248 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 1249 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 1250 | }, 1251 | "etag": { 1252 | "version": "1.8.1", 1253 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1254 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" 1255 | }, 1256 | "express": { 1257 | "version": "4.18.2", 1258 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 1259 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 1260 | "requires": { 1261 | "accepts": "~1.3.8", 1262 | "array-flatten": "1.1.1", 1263 | "body-parser": "1.20.1", 1264 | "content-disposition": "0.5.4", 1265 | "content-type": "~1.0.4", 1266 | "cookie": "0.5.0", 1267 | "cookie-signature": "1.0.6", 1268 | "debug": "2.6.9", 1269 | "depd": "2.0.0", 1270 | "encodeurl": "~1.0.2", 1271 | "escape-html": "~1.0.3", 1272 | "etag": "~1.8.1", 1273 | "finalhandler": "1.2.0", 1274 | "fresh": "0.5.2", 1275 | "http-errors": "2.0.0", 1276 | "merge-descriptors": "1.0.1", 1277 | "methods": "~1.1.2", 1278 | "on-finished": "2.4.1", 1279 | "parseurl": "~1.3.3", 1280 | "path-to-regexp": "0.1.7", 1281 | "proxy-addr": "~2.0.7", 1282 | "qs": "6.11.0", 1283 | "range-parser": "~1.2.1", 1284 | "safe-buffer": "5.2.1", 1285 | "send": "0.18.0", 1286 | "serve-static": "1.15.0", 1287 | "setprototypeof": "1.2.0", 1288 | "statuses": "2.0.1", 1289 | "type-is": "~1.6.18", 1290 | "utils-merge": "1.0.1", 1291 | "vary": "~1.1.2" 1292 | } 1293 | }, 1294 | "express-formidable": { 1295 | "version": "1.2.0", 1296 | "resolved": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.2.0.tgz", 1297 | "integrity": "sha512-w1vXjF3gb50UKTNkFaW8/4rqY4dUrKfZ1sAZzwAF9YxCAgj/29QZsycf71di0GkskrZOAkubk9pvGYfxyAMYiw==", 1298 | "requires": { 1299 | "formidable": "^1.0.17" 1300 | } 1301 | }, 1302 | "fecha": { 1303 | "version": "4.2.3", 1304 | "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", 1305 | "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" 1306 | }, 1307 | "finalhandler": { 1308 | "version": "1.2.0", 1309 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 1310 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 1311 | "requires": { 1312 | "debug": "2.6.9", 1313 | "encodeurl": "~1.0.2", 1314 | "escape-html": "~1.0.3", 1315 | "on-finished": "2.4.1", 1316 | "parseurl": "~1.3.3", 1317 | "statuses": "2.0.1", 1318 | "unpipe": "~1.0.0" 1319 | } 1320 | }, 1321 | "fn.name": { 1322 | "version": "1.1.0", 1323 | "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", 1324 | "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" 1325 | }, 1326 | "follow-redirects": { 1327 | "version": "1.15.6", 1328 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", 1329 | "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" 1330 | }, 1331 | "form-data": { 1332 | "version": "4.0.0", 1333 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", 1334 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", 1335 | "requires": { 1336 | "asynckit": "^0.4.0", 1337 | "combined-stream": "^1.0.8", 1338 | "mime-types": "^2.1.12" 1339 | } 1340 | }, 1341 | "formidable": { 1342 | "version": "1.2.6", 1343 | "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", 1344 | "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==" 1345 | }, 1346 | "forwarded": { 1347 | "version": "0.2.0", 1348 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 1349 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" 1350 | }, 1351 | "fresh": { 1352 | "version": "0.5.2", 1353 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1354 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" 1355 | }, 1356 | "function-bind": { 1357 | "version": "1.1.1", 1358 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1359 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1360 | }, 1361 | "get-intrinsic": { 1362 | "version": "1.1.3", 1363 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", 1364 | "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", 1365 | "requires": { 1366 | "function-bind": "^1.1.1", 1367 | "has": "^1.0.3", 1368 | "has-symbols": "^1.0.3" 1369 | } 1370 | }, 1371 | "has": { 1372 | "version": "1.0.3", 1373 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1374 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1375 | "requires": { 1376 | "function-bind": "^1.1.1" 1377 | } 1378 | }, 1379 | "has-symbols": { 1380 | "version": "1.0.3", 1381 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1382 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 1383 | }, 1384 | "http-errors": { 1385 | "version": "2.0.0", 1386 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1387 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1388 | "requires": { 1389 | "depd": "2.0.0", 1390 | "inherits": "2.0.4", 1391 | "setprototypeof": "1.2.0", 1392 | "statuses": "2.0.1", 1393 | "toidentifier": "1.0.1" 1394 | } 1395 | }, 1396 | "iconv-lite": { 1397 | "version": "0.4.24", 1398 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1399 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1400 | "requires": { 1401 | "safer-buffer": ">= 2.1.2 < 3" 1402 | } 1403 | }, 1404 | "inherits": { 1405 | "version": "2.0.4", 1406 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1407 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1408 | }, 1409 | "ipaddr.js": { 1410 | "version": "1.9.1", 1411 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1412 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 1413 | }, 1414 | "is-arrayish": { 1415 | "version": "0.3.2", 1416 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", 1417 | "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" 1418 | }, 1419 | "is-stream": { 1420 | "version": "2.0.1", 1421 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 1422 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" 1423 | }, 1424 | "kuler": { 1425 | "version": "2.0.0", 1426 | "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", 1427 | "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" 1428 | }, 1429 | "logform": { 1430 | "version": "2.6.0", 1431 | "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz", 1432 | "integrity": "sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==", 1433 | "requires": { 1434 | "@colors/colors": "1.6.0", 1435 | "@types/triple-beam": "^1.3.2", 1436 | "fecha": "^4.2.0", 1437 | "ms": "^2.1.1", 1438 | "safe-stable-stringify": "^2.3.1", 1439 | "triple-beam": "^1.3.0" 1440 | }, 1441 | "dependencies": { 1442 | "ms": { 1443 | "version": "2.1.3", 1444 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1445 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1446 | } 1447 | } 1448 | }, 1449 | "media-typer": { 1450 | "version": "0.3.0", 1451 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 1452 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" 1453 | }, 1454 | "merge-descriptors": { 1455 | "version": "1.0.1", 1456 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 1457 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 1458 | }, 1459 | "methods": { 1460 | "version": "1.1.2", 1461 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1462 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" 1463 | }, 1464 | "mime": { 1465 | "version": "1.6.0", 1466 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1467 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 1468 | }, 1469 | "mime-db": { 1470 | "version": "1.52.0", 1471 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1472 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" 1473 | }, 1474 | "mime-types": { 1475 | "version": "2.1.35", 1476 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1477 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1478 | "requires": { 1479 | "mime-db": "1.52.0" 1480 | } 1481 | }, 1482 | "ms": { 1483 | "version": "2.0.0", 1484 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1485 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 1486 | }, 1487 | "negotiator": { 1488 | "version": "0.6.3", 1489 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 1490 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" 1491 | }, 1492 | "object-inspect": { 1493 | "version": "1.12.2", 1494 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 1495 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" 1496 | }, 1497 | "on-finished": { 1498 | "version": "2.4.1", 1499 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 1500 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 1501 | "requires": { 1502 | "ee-first": "1.1.1" 1503 | } 1504 | }, 1505 | "one-time": { 1506 | "version": "1.0.0", 1507 | "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", 1508 | "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", 1509 | "requires": { 1510 | "fn.name": "1.x.x" 1511 | } 1512 | }, 1513 | "parseurl": { 1514 | "version": "1.3.3", 1515 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 1516 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 1517 | }, 1518 | "path-to-regexp": { 1519 | "version": "0.1.7", 1520 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 1521 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 1522 | }, 1523 | "proxy-addr": { 1524 | "version": "2.0.7", 1525 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 1526 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 1527 | "requires": { 1528 | "forwarded": "0.2.0", 1529 | "ipaddr.js": "1.9.1" 1530 | } 1531 | }, 1532 | "proxy-from-env": { 1533 | "version": "1.1.0", 1534 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 1535 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" 1536 | }, 1537 | "qs": { 1538 | "version": "6.11.0", 1539 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 1540 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 1541 | "requires": { 1542 | "side-channel": "^1.0.4" 1543 | } 1544 | }, 1545 | "range-parser": { 1546 | "version": "1.2.1", 1547 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1548 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1549 | }, 1550 | "raw-body": { 1551 | "version": "2.5.1", 1552 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 1553 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 1554 | "requires": { 1555 | "bytes": "3.1.2", 1556 | "http-errors": "2.0.0", 1557 | "iconv-lite": "0.4.24", 1558 | "unpipe": "1.0.0" 1559 | } 1560 | }, 1561 | "readable-stream": { 1562 | "version": "3.6.2", 1563 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 1564 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 1565 | "requires": { 1566 | "inherits": "^2.0.3", 1567 | "string_decoder": "^1.1.1", 1568 | "util-deprecate": "^1.0.1" 1569 | } 1570 | }, 1571 | "safe-buffer": { 1572 | "version": "5.2.1", 1573 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1574 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1575 | }, 1576 | "safe-stable-stringify": { 1577 | "version": "2.4.3", 1578 | "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", 1579 | "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==" 1580 | }, 1581 | "safer-buffer": { 1582 | "version": "2.1.2", 1583 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1584 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1585 | }, 1586 | "send": { 1587 | "version": "0.18.0", 1588 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1589 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1590 | "requires": { 1591 | "debug": "2.6.9", 1592 | "depd": "2.0.0", 1593 | "destroy": "1.2.0", 1594 | "encodeurl": "~1.0.2", 1595 | "escape-html": "~1.0.3", 1596 | "etag": "~1.8.1", 1597 | "fresh": "0.5.2", 1598 | "http-errors": "2.0.0", 1599 | "mime": "1.6.0", 1600 | "ms": "2.1.3", 1601 | "on-finished": "2.4.1", 1602 | "range-parser": "~1.2.1", 1603 | "statuses": "2.0.1" 1604 | }, 1605 | "dependencies": { 1606 | "ms": { 1607 | "version": "2.1.3", 1608 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1609 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1610 | } 1611 | } 1612 | }, 1613 | "serve-static": { 1614 | "version": "1.15.0", 1615 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 1616 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 1617 | "requires": { 1618 | "encodeurl": "~1.0.2", 1619 | "escape-html": "~1.0.3", 1620 | "parseurl": "~1.3.3", 1621 | "send": "0.18.0" 1622 | } 1623 | }, 1624 | "setprototypeof": { 1625 | "version": "1.2.0", 1626 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1627 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 1628 | }, 1629 | "side-channel": { 1630 | "version": "1.0.4", 1631 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1632 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1633 | "requires": { 1634 | "call-bind": "^1.0.0", 1635 | "get-intrinsic": "^1.0.2", 1636 | "object-inspect": "^1.9.0" 1637 | } 1638 | }, 1639 | "simple-swizzle": { 1640 | "version": "0.2.2", 1641 | "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", 1642 | "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", 1643 | "requires": { 1644 | "is-arrayish": "^0.3.1" 1645 | } 1646 | }, 1647 | "stack-trace": { 1648 | "version": "0.0.10", 1649 | "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", 1650 | "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==" 1651 | }, 1652 | "statuses": { 1653 | "version": "2.0.1", 1654 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1655 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" 1656 | }, 1657 | "string_decoder": { 1658 | "version": "1.3.0", 1659 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1660 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1661 | "requires": { 1662 | "safe-buffer": "~5.2.0" 1663 | } 1664 | }, 1665 | "text-hex": { 1666 | "version": "1.0.0", 1667 | "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", 1668 | "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" 1669 | }, 1670 | "toidentifier": { 1671 | "version": "1.0.1", 1672 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1673 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" 1674 | }, 1675 | "triple-beam": { 1676 | "version": "1.4.1", 1677 | "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", 1678 | "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==" 1679 | }, 1680 | "type-is": { 1681 | "version": "1.6.18", 1682 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1683 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1684 | "requires": { 1685 | "media-typer": "0.3.0", 1686 | "mime-types": "~2.1.24" 1687 | } 1688 | }, 1689 | "undici-types": { 1690 | "version": "5.26.5", 1691 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", 1692 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" 1693 | }, 1694 | "unpipe": { 1695 | "version": "1.0.0", 1696 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1697 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" 1698 | }, 1699 | "util-deprecate": { 1700 | "version": "1.0.2", 1701 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1702 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 1703 | }, 1704 | "utils-merge": { 1705 | "version": "1.0.1", 1706 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1707 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" 1708 | }, 1709 | "vary": { 1710 | "version": "1.1.2", 1711 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1712 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" 1713 | }, 1714 | "winston": { 1715 | "version": "3.13.0", 1716 | "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", 1717 | "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", 1718 | "requires": { 1719 | "@colors/colors": "^1.6.0", 1720 | "@dabh/diagnostics": "^2.0.2", 1721 | "async": "^3.2.3", 1722 | "is-stream": "^2.0.0", 1723 | "logform": "^2.4.0", 1724 | "one-time": "^1.0.0", 1725 | "readable-stream": "^3.4.0", 1726 | "safe-stable-stringify": "^2.3.1", 1727 | "stack-trace": "0.0.x", 1728 | "triple-beam": "^1.3.0", 1729 | "winston-transport": "^4.7.0" 1730 | } 1731 | }, 1732 | "winston-transport": { 1733 | "version": "4.7.0", 1734 | "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.0.tgz", 1735 | "integrity": "sha512-ajBj65K5I7denzer2IYW6+2bNIVqLGDHqDw3Ow8Ohh+vdW+rv4MZ6eiDvHoKhfJFZ2auyN8byXieDDJ96ViONg==", 1736 | "requires": { 1737 | "logform": "^2.3.2", 1738 | "readable-stream": "^3.6.0", 1739 | "triple-beam": "^1.3.0" 1740 | } 1741 | } 1742 | } 1743 | } 1744 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aps-extract-spreadsheet", 3 | "version": "1.0.0", 4 | "description": "JavaScript sample to extract Revit files properties as Spreadsheet (Excel XLSX)", 5 | "main": "start.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/autodesk-platform-services/aps-extract-spreadsheet" 9 | }, 10 | "scripts": { 11 | "start": "node start.js" 12 | }, 13 | "author": "APS Partner Development", 14 | "license": "MIT", 15 | "dependencies": { 16 | "@aps_sdk/authentication": "^0.1.0-beta.1", 17 | "@aps_sdk/autodesk-sdkmanager": "^0.0.7-beta.1", 18 | "@aps_sdk/model-derivative": "^0.1.0-beta.1", 19 | "@aps_sdk/oss": "^0.1.0-beta.1", 20 | "dotenv": "^16.4.5", 21 | "express": "^4.17.1", 22 | "express-formidable": "^1.2.0" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /public/css/main.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | height: 100%; 3 | } 4 | 5 | body { 6 | margin: 0px; 7 | } 8 | 9 | #top { 10 | position: fixed; 11 | width: 100%; 12 | height: 100px; 13 | z-index: 1; 14 | top: 0; 15 | left: 0; 16 | padding: 15px; 17 | } 18 | 19 | #viewer { 20 | display: block; 21 | position: absolute; 22 | height: auto; 23 | bottom: 0; 24 | top: 0; 25 | left: 0; 26 | right: 0; 27 | margin-top: 50px; 28 | margin-bottom: 0px; 29 | margin-right: 0px; 30 | margin-left: 0px; 31 | background-color: #F0F0F0; 32 | } -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Autodesk Platform Services: Export Spreadsheet 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 76 | 77 | 78 |
79 | This samples exports a model to Excel: 80 | 81 |
82 |
83 | 84 | -------------------------------------------------------------------------------- /public/js/ExportXLS.js: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////// 2 | // Copyright (c) Autodesk, Inc. All rights reserved 3 | // Written by APS Partner Development 4 | // 5 | // Permission to use, copy, modify, and distribute this software in 6 | // object code form for any purpose and without fee is hereby granted, 7 | // provided that the above copyright notice appears in all copies and 8 | // that both that copyright notice and the limited warranty and 9 | // restricted rights notice below appear in all supporting 10 | // documentation. 11 | // 12 | // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. 13 | // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF 14 | // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. 15 | // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE 16 | // UNINTERRUPTED OR ERROR FREE. 17 | ///////////////////////////////////////////////////////////////////// 18 | 19 | if (!window.jQuery) alert('jQuery is required for this sample'); 20 | if (!window.XLSX) alert('Sheet JS is required for this sample'); 21 | 22 | var ExportXLS = { 23 | Utility: { 24 | Constants: { 25 | BASE_URL: 'https://developer.api.autodesk.com', 26 | MODEL_DERIVATIVE_V2: '/modelderivative/v2/designdata/' 27 | }, 28 | 29 | request: function (url, token, callback) { 30 | jQuery.ajax({ 31 | url: url, 32 | beforeSend: function (request) { 33 | request.setRequestHeader('Authorization', 'Bearer ' + token); 34 | }, 35 | success: function (response) { 36 | if (response.result && response.result === 'success') { 37 | setTimeout(function () { 38 | console.log('Data not ready... retry in 1 second'); 39 | ExportXLS.Utility.request(url, token, callback); 40 | }, 1000); 41 | return; 42 | } 43 | if (callback) 44 | callback(response); 45 | } 46 | }); 47 | }, 48 | getMetadata: function (urn, token, callback) { 49 | console.log('Downloading metadata...'); 50 | this.request(this.Constants.BASE_URL + this.Constants.MODEL_DERIVATIVE_V2 + urn + '/metadata', token, callback); 51 | }, 52 | 53 | getHierarchy: function (urn, guid, token, callback) { 54 | console.log('Downloading hierarchy...'); 55 | this.request(this.Constants.BASE_URL + this.Constants.MODEL_DERIVATIVE_V2 + urn + '/metadata/' + guid, token, callback); 56 | }, 57 | 58 | getProperties: function (urn, guid, token, callback) { 59 | console.log('Downloading properties...'); 60 | this.request(this.Constants.BASE_URL + this.Constants.MODEL_DERIVATIVE_V2 + urn + '/metadata/' + guid + '/properties', token, callback); 61 | } 62 | }, 63 | 64 | downloadXLSX: function (urn, token, status) { 65 | var fileName = decodeURIComponent(atob(urn).replace(/^.*[\\\/]/, '')) + '.xlsx'; 66 | if (fileName.indexOf('.rvt') == -1) { 67 | if (status) status(true, 'Not a Revit file, aborting.'); 68 | return; 69 | } 70 | 71 | if (status) { 72 | status(false, 'Preparing ' + fileName); 73 | status(false, 'Reading project information....'); 74 | } 75 | 76 | this.prepareTables(urn, token, function (tables) { 77 | if (status) status(false, 'Building XLSX file...'); 78 | 79 | var wb = new Workbook(); 80 | jQuery.each(tables, function (name, table) { 81 | if (name.indexOf('<')==-1) { // skip tables starting with < 82 | var ws = ExportXLS.sheetFromTable(table); 83 | wb.SheetNames.push(name); 84 | wb.Sheets[name] = ws; 85 | } 86 | }); 87 | 88 | var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: true, type: 'binary'}); 89 | saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), fileName); 90 | 91 | if (status) status(true, 'Downloading...'); 92 | }) 93 | }, 94 | 95 | sheetFromTable: function (table) { 96 | var ws = {}; 97 | var range = {s: {c: 10000000, r: 10000000}, e: {c: 0, r: 0}}; 98 | 99 | var allProperties = []; 100 | table.forEach(function (object) { 101 | jQuery.each(object, function (propName, propValue) { 102 | if (allProperties.indexOf(propName) == -1) 103 | allProperties.push(propName); 104 | }) 105 | }); 106 | 107 | table.forEach(function (object) { 108 | allProperties.forEach(function (propName) { 109 | if (!object.hasOwnProperty(propName)) 110 | object[propName] = ''; 111 | }); 112 | }); 113 | 114 | var propsNames = []; 115 | for (var propName in table[0]) { 116 | propsNames.push(propName); 117 | } 118 | //propsNames.sort(); // removed due first 3 ID columns 119 | 120 | var R = 0; 121 | var C = 0; 122 | for (; C != propsNames.length; ++C) { 123 | var cell_ref = XLSX.utils.encode_cell({c: C, r: R}); 124 | ws[cell_ref] = {v: propsNames[C], t: 's'}; 125 | } 126 | R++; 127 | 128 | for (var index = 0; index != table.length; ++index) { 129 | C = 0; 130 | propsNames.forEach(function (propName) { 131 | if (range.s.r > R) range.s.r = 0; 132 | if (range.s.c > C) range.s.c = 0; 133 | if (range.e.r < R) range.e.r = R; 134 | if (range.e.c < C) range.e.c = C; 135 | var cell = {v: table[index][propName]}; 136 | if (cell.v == null) return; 137 | var cell_ref = XLSX.utils.encode_cell({c: C, r: R}); 138 | 139 | if (typeof cell.v === 'number') cell.t = 'n'; 140 | else if (typeof cell.v === 'boolean') cell.t = 'b'; 141 | else if (cell.v instanceof Date) { 142 | cell.t = 'n'; 143 | cell.z = XLSX.SSF._table[14]; 144 | cell.v = datenum(cell.v); 145 | } 146 | else cell.t = 's'; 147 | 148 | ws[cell_ref] = cell; 149 | C++; 150 | }); 151 | R++; 152 | } 153 | if (range.s.c < 10000000) ws['!ref'] = XLSX.utils.encode_range(range); 154 | return ws; 155 | }, 156 | 157 | prepareTables: function (urn, token, callback) { 158 | this.Utility.getMetadata(urn, token, function (metadata) { 159 | if (metadata.data.metadata.length == 0) { 160 | alert('Unexpected metadata'); 161 | return; 162 | } 163 | var guid = metadata.data.metadata[0].guid; 164 | 165 | ExportXLS.Utility.getHierarchy(urn, guid, token, function (hierarchy) { 166 | ExportXLS.Utility.getProperties(urn, guid, token, function (properties) { 167 | callback(ExportXLS.prepareRawData(hierarchy, properties)); 168 | }); 169 | }); 170 | }); 171 | }, 172 | 173 | prepareRawData: function (hierarchy, properties) { 174 | var tables = {}; 175 | hierarchy.data.objects[0].objects.forEach(function (category) { 176 | var idsOnCategory = []; 177 | ExportXLS.getAllElementsOnCategory(idsOnCategory, category.objects); 178 | 179 | var rows = []; 180 | idsOnCategory.forEach(function (objectid) { 181 | var columns = ExportXLS.getProperties(objectid, properties); 182 | rows.push(columns); 183 | }); 184 | tables[category.name] = rows; 185 | }); 186 | return tables; 187 | }, 188 | 189 | getAllElementsOnCategory: function (ids, category) { 190 | category.forEach(function (item) { 191 | if (typeof(item.objects) === 'undefined') { 192 | if (!ids.indexOf(item.objectid) >= 0) 193 | ids.push(item.objectid); 194 | } 195 | else 196 | ExportXLS.getAllElementsOnCategory(ids, item.objects); 197 | }); 198 | }, 199 | 200 | getProperties: function (id, objCollection) { 201 | var data = {}; 202 | objCollection.data.collection.forEach(function (obj) { 203 | if (obj.objectid != id) return; 204 | 205 | data['Viewer ID'] = id; 206 | data['Revit ID'] = obj.name.match(/\d+/g)[0]; 207 | data['Name'] = obj.name.replace('[' + data['Revit ID'] + ']', '').trim(); 208 | 209 | for (var propGroup in obj.properties) { 210 | if (propGroup.indexOf('__') > -1) break; 211 | if (obj.properties.hasOwnProperty(propGroup)) { 212 | for (var propName in obj.properties[propGroup]) { 213 | if (obj.properties[propGroup].hasOwnProperty(propName) && !Array.isArray(obj.properties[propGroup][propName])) 214 | data[propGroup + ':' + propName] = obj.properties[propGroup][propName]; 215 | } 216 | } 217 | } 218 | }); 219 | return data; 220 | } 221 | }; 222 | 223 | function Workbook() { 224 | if (!(this instanceof Workbook)) return new Workbook(); 225 | this.SheetNames = []; 226 | this.Sheets = {}; 227 | } 228 | 229 | function datenum(v, date1904) { 230 | if (date1904) v += 1462; 231 | var epoch = Date.parse(v); 232 | return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000); 233 | } 234 | 235 | function s2ab(s) { 236 | var buf = new ArrayBuffer(s.length); 237 | var view = new Uint8Array(buf); 238 | for (var i = 0; i != s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF; 239 | return buf; 240 | } -------------------------------------------------------------------------------- /public/js/libraries/Blob.js: -------------------------------------------------------------------------------- 1 | /* Blob.js 2 | * A Blob implementation. 3 | * 2014-07-24 4 | * 5 | * By Eli Grey, http://eligrey.com 6 | * By Devin Samarin, https://github.com/dsamarin 7 | * License: MIT 8 | * See https://github.com/eligrey/Blob.js/blob/master/LICENSE.md 9 | */ 10 | 11 | /*global self, unescape */ 12 | /*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true, 13 | plusplus: true */ 14 | 15 | /*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */ 16 | 17 | (function (view) { 18 | "use strict"; 19 | 20 | view.URL = view.URL || view.webkitURL; 21 | 22 | if (view.Blob && view.URL) { 23 | try { 24 | new Blob; 25 | return; 26 | } catch (e) {} 27 | } 28 | 29 | // Internally we use a BlobBuilder implementation to base Blob off of 30 | // in order to support older browsers that only have BlobBuilder 31 | var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || (function(view) { 32 | var 33 | get_class = function(object) { 34 | return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1]; 35 | } 36 | , FakeBlobBuilder = function BlobBuilder() { 37 | this.data = []; 38 | } 39 | , FakeBlob = function Blob(data, type, encoding) { 40 | this.data = data; 41 | this.size = data.length; 42 | this.type = type; 43 | this.encoding = encoding; 44 | } 45 | , FBB_proto = FakeBlobBuilder.prototype 46 | , FB_proto = FakeBlob.prototype 47 | , FileReaderSync = view.FileReaderSync 48 | , FileException = function(type) { 49 | this.code = this[this.name = type]; 50 | } 51 | , file_ex_codes = ( 52 | "NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR " 53 | + "NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR" 54 | ).split(" ") 55 | , file_ex_code = file_ex_codes.length 56 | , real_URL = view.URL || view.webkitURL || view 57 | , real_create_object_URL = real_URL.createObjectURL 58 | , real_revoke_object_URL = real_URL.revokeObjectURL 59 | , URL = real_URL 60 | , btoa = view.btoa 61 | , atob = view.atob 62 | 63 | , ArrayBuffer = view.ArrayBuffer 64 | , Uint8Array = view.Uint8Array 65 | 66 | , origin = /^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/ 67 | ; 68 | FakeBlob.fake = FB_proto.fake = true; 69 | while (file_ex_code--) { 70 | FileException.prototype[file_ex_codes[file_ex_code]] = file_ex_code + 1; 71 | } 72 | // Polyfill URL 73 | if (!real_URL.createObjectURL) { 74 | URL = view.URL = function(uri) { 75 | var 76 | uri_info = document.createElementNS("http://www.w3.org/1999/xhtml", "a") 77 | , uri_origin 78 | ; 79 | uri_info.href = uri; 80 | if (!("origin" in uri_info)) { 81 | if (uri_info.protocol.toLowerCase() === "data:") { 82 | uri_info.origin = null; 83 | } else { 84 | uri_origin = uri.match(origin); 85 | uri_info.origin = uri_origin && uri_origin[1]; 86 | } 87 | } 88 | return uri_info; 89 | }; 90 | } 91 | URL.createObjectURL = function(blob) { 92 | var 93 | type = blob.type 94 | , data_URI_header 95 | ; 96 | if (type === null) { 97 | type = "application/octet-stream"; 98 | } 99 | if (blob instanceof FakeBlob) { 100 | data_URI_header = "data:" + type; 101 | if (blob.encoding === "base64") { 102 | return data_URI_header + ";base64," + blob.data; 103 | } else if (blob.encoding === "URI") { 104 | return data_URI_header + "," + decodeURIComponent(blob.data); 105 | } if (btoa) { 106 | return data_URI_header + ";base64," + btoa(blob.data); 107 | } else { 108 | return data_URI_header + "," + encodeURIComponent(blob.data); 109 | } 110 | } else if (real_create_object_URL) { 111 | return real_create_object_URL.call(real_URL, blob); 112 | } 113 | }; 114 | URL.revokeObjectURL = function(object_URL) { 115 | if (object_URL.substring(0, 5) !== "data:" && real_revoke_object_URL) { 116 | real_revoke_object_URL.call(real_URL, object_URL); 117 | } 118 | }; 119 | FBB_proto.append = function(data/*, endings*/) { 120 | var bb = this.data; 121 | // decode data to a binary string 122 | if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) { 123 | var 124 | str = "" 125 | , buf = new Uint8Array(data) 126 | , i = 0 127 | , buf_len = buf.length 128 | ; 129 | for (; i < buf_len; i++) { 130 | str += String.fromCharCode(buf[i]); 131 | } 132 | bb.push(str); 133 | } else if (get_class(data) === "Blob" || get_class(data) === "File") { 134 | if (FileReaderSync) { 135 | var fr = new FileReaderSync; 136 | bb.push(fr.readAsBinaryString(data)); 137 | } else { 138 | // async FileReader won't work as BlobBuilder is sync 139 | throw new FileException("NOT_READABLE_ERR"); 140 | } 141 | } else if (data instanceof FakeBlob) { 142 | if (data.encoding === "base64" && atob) { 143 | bb.push(atob(data.data)); 144 | } else if (data.encoding === "URI") { 145 | bb.push(decodeURIComponent(data.data)); 146 | } else if (data.encoding === "raw") { 147 | bb.push(data.data); 148 | } 149 | } else { 150 | if (typeof data !== "string") { 151 | data += ""; // convert unsupported types to strings 152 | } 153 | // decode UTF-16 to binary string 154 | bb.push(unescape(encodeURIComponent(data))); 155 | } 156 | }; 157 | FBB_proto.getBlob = function(type) { 158 | if (!arguments.length) { 159 | type = null; 160 | } 161 | return new FakeBlob(this.data.join(""), type, "raw"); 162 | }; 163 | FBB_proto.toString = function() { 164 | return "[object BlobBuilder]"; 165 | }; 166 | FB_proto.slice = function(start, end, type) { 167 | var args = arguments.length; 168 | if (args < 3) { 169 | type = null; 170 | } 171 | return new FakeBlob( 172 | this.data.slice(start, args > 1 ? end : this.data.length) 173 | , type 174 | , this.encoding 175 | ); 176 | }; 177 | FB_proto.toString = function() { 178 | return "[object Blob]"; 179 | }; 180 | FB_proto.close = function() { 181 | this.size = 0; 182 | delete this.data; 183 | }; 184 | return FakeBlobBuilder; 185 | }(view)); 186 | 187 | view.Blob = function(blobParts, options) { 188 | var type = options ? (options.type || "") : ""; 189 | var builder = new BlobBuilder(); 190 | if (blobParts) { 191 | for (var i = 0, len = blobParts.length; i < len; i++) { 192 | if (Uint8Array && blobParts[i] instanceof Uint8Array) { 193 | builder.append(blobParts[i].buffer); 194 | } 195 | else { 196 | builder.append(blobParts[i]); 197 | } 198 | } 199 | } 200 | var blob = builder.getBlob(type); 201 | if (!blob.slice && blob.webkitSlice) { 202 | blob.slice = blob.webkitSlice; 203 | } 204 | return blob; 205 | }; 206 | 207 | var getPrototypeOf = Object.getPrototypeOf || function(object) { 208 | return object.__proto__; 209 | }; 210 | view.Blob.prototype = getPrototypeOf(new view.Blob()); 211 | }(typeof self !== "undefined" && self || typeof window !== "undefined" && window || this.content || this)); 212 | -------------------------------------------------------------------------------- /public/js/libraries/FileSaver.min.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */ 2 | var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})} 3 | -------------------------------------------------------------------------------- /public/js/libraries/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v3.1.1 | (c) jQuery Foundation | jquery.org/license */ 2 | !function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):C.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/[^\x20\t\r\n\f]+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R), 3 | a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,ka=/^$|\/(?:java|ecma)script/i,la={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};la.optgroup=la.option,la.tbody=la.tfoot=la.colgroup=la.caption=la.thead,la.th=la.td;function ma(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function na(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=ma(l.appendChild(f),"script"),j&&na(g),c){k=0;while(f=g[k++])ka.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var qa=d.documentElement,ra=/^key/,sa=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ta=/^([^.]*)(?:\.(.+)|)/;function ua(){return!0}function va(){return!1}function wa(){try{return d.activeElement}catch(a){}}function xa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)xa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=va;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(qa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\x20\t\r\n\f]*)[^>]*)\/>/gi,za=/\s*$/g;function Da(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Ea(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Fa(a){var b=Ba.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ga(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&"string"==typeof q&&!o.checkClone&&Aa.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ia(f,b,c,d)});if(m&&(e=pa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(ma(e,"script"),Ea),i=h.length;l")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=ma(h),f=ma(a),d=0,e=f.length;d0&&na(g,!i&&ma(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ja(this,a,!0)},remove:function(a){return Ja(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ia(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Da(this,a);b.appendChild(a)}})},prepend:function(){return Ia(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Da(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ia(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ia(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(ma(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!za.test(a)&&!la[(ja.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function Ya(a,b,c,d,e){return new Ya.prototype.init(a,b,c,d,e)}r.Tween=Ya,Ya.prototype={constructor:Ya,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Ya.propHooks[this.prop];return a&&a.get?a.get(this):Ya.propHooks._default.get(this)},run:function(a){var b,c=Ya.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ya.propHooks._default.set(this),this}},Ya.prototype.init.prototype=Ya.prototype,Ya.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Ya.propHooks.scrollTop=Ya.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Ya.prototype.init,r.fx.step={};var Za,$a,_a=/^(?:toggle|show|hide)$/,ab=/queueHooks$/;function bb(){$a&&(a.requestAnimationFrame(bb),r.fx.tick())}function cb(){return a.setTimeout(function(){Za=void 0}),Za=r.now()}function db(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ba[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function eb(a,b,c){for(var d,e=(hb.tweeners[b]||[]).concat(hb.tweeners["*"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?ib:void 0)), 4 | void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),ib={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=jb[b]||r.find.attr;jb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=jb[g],jb[g]=e,e=null!=c(a,b,d)?g:null,jb[g]=f),e}});var kb=/^(?:input|select|textarea|button)$/i,lb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):kb.test(a.nodeName)||lb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function mb(a){var b=a.match(K)||[];return b.join(" ")}function nb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,nb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=nb(c),d=1===c.nodeType&&" "+mb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=mb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,nb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=nb(c),d=1===c.nodeType&&" "+mb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=mb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,nb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=nb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(nb(c))+" ").indexOf(b)>-1)return!0;return!1}});var ob=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ob,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:mb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ia.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,"$1"),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("