1"use strict"; 2(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["common"],{ 3 4/***/ 249: 5/*!*******************************************************!*\ 6 !*** ./src/app/services/category/category.service.ts ***! 7 \*******************************************************/ 8/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 10__webpack_require__.r(__webpack_exports__); 11/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12/* harmony export */ "CategoryService": () => (/* binding */ CategoryService) 13/* harmony export */ }); 14/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 4929); 15/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 3184); 16/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 8784); 17/* harmony import */ var _api_api_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../api/api.service */ 5146); 18 19 20 21 22let CategoryService = class CategoryService { 23 constructor(apiservice) { 24 this.apiservice = apiservice; 25 } 26 selectCategorys(module) { 27 return this.apiservice.get('selectCategorys' + '/' + module).then((categorys) => { 28 return categorys; 29 }).catch((error) => { console.log(error); }); 30 } 31 updateInventoryStatus(categorys, authenticationtoken) { 32 return this.apiservice.post('updateInventoryStatus', categorys, { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({ "AUTHENTICATION_TOKEN": '' + authenticationtoken }) }).then((message) => { 33 return message; 34 }).catch((error) => { console.log(error); }); 35 } 36}; 37CategoryService.ctorParameters = () => [ 38 { type: _api_api_service__WEBPACK_IMPORTED_MODULE_0__.ApiService } 39]; 40CategoryService = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([ 41 (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Injectable)({ 42 providedIn: 'root' 43 }) 44], CategoryService); 45 46 47 48/***/ }), 49 50/***/ 9770: 51/*!*********************************************************************!*\ 52 !*** ./node_modules/@ionic/core/dist/esm/button-active-80cd2e37.js ***! 53 \*********************************************************************/ 54/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 55 56__webpack_require__.r(__webpack_exports__); 57/* harmony export */ __webpack_require__.d(__webpack_exports__, { 58/* harmony export */ "c": () => (/* binding */ createButtonActiveGesture) 59/* harmony export */ }); 60/* harmony import */ var _index_b3eecb14_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-b3eecb14.js */ 1049); 61/* harmony import */ var _haptic_9a9aa7ec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./haptic-9a9aa7ec.js */ 475); 62/* harmony import */ var _index_41bf41f2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index-41bf41f2.js */ 7974); 63/*! 64 * (C) Ionic http://ionicframework.com - MIT License 65 */ 66 67 68 69 70const createButtonActiveGesture = (el, isButton) => { 71 let currentTouchedButton; 72 let initialTouchedButton; 73 const activateButtonAtPoint = (x, y, hapticFeedbackFn) => { 74 if (typeof document === 'undefined') { 75 return; 76 } 77 const target = document.elementFromPoint(x, y); 78 if (!target || !isButton(target)) { 79 clearActiveButton(); 80 return; 81 } 82 if (target !== currentTouchedButton) { 83 clearActiveButton(); 84 setActiveButton(target, hapticFeedbackFn); 85 } 86 }; 87 const setActiveButton = (button, hapticFeedbackFn) => { 88 currentTouchedButton = button; 89 if (!initialTouchedButton) { 90 initialTouchedButton = currentTouchedButton; 91 } 92 const buttonToModify = currentTouchedButton; 93 (0,_index_b3eecb14_js__WEBPACK_IMPORTED_MODULE_0__.c)(() => buttonToModify.classList.add('ion-activated')); 94 hapticFeedbackFn(); 95 }; 96 const clearActiveButton = (dispatchClick = false) => { 97 if (!currentTouchedButton) { 98 return; 99 } 100 const buttonToModify = currentTouchedButton; 101 (0,_index_b3eecb14_js__WEBPACK_IMPORTED_MODULE_0__.c)(() => buttonToModify.classList.remove('ion-activated')); 102 /** 103 * Clicking on one button, but releasing on another button 104 * does not dispatch a click event in browsers, so we 105 * need to do it manually here. Some browsers will 106 * dispatch a click if clicking on one button, dragging over 107 * another button, and releasing on the original button. In that 108 * case, we need to make sure we do not cause a double click there. 109 */
110 if (dispatchClick && initialTouchedButton !== currentTouchedButton) { 111 currentTouchedButton.click(); 112 } 113 currentTouchedButton = undefined; 114 }; 115 return (0,_index_41bf41f2_js__WEBPACK_IMPORTED_MODULE_2__.createGesture)({ 116 el, 117 gestureName: 'buttonActiveDrag', 118 threshold: 0, 119 onStart: ev => activateButtonAtPoint(ev.currentX, ev.currentY, _haptic_9a9aa7ec_js__WEBPACK_IMPORTED_MODULE_1__.a), 120 onMove: ev => activateButtonAtPoint(ev.currentX, ev.currentY, _haptic_9a9aa7ec_js__WEBPACK_IMPORTED_MODULE_1__.b), 121 onEnd: () => { 122 clearActiveButton(true); 123 (0,_haptic_9a9aa7ec_js__WEBPACK_IMPORTED_MODULE_1__.h)(); 124 initialTouchedButton = undefined; 125 } 126 }); 127}; 128 129 130 131 132/***/ }), 133 134/***/ 7481: 135/*!***********************************************************!*\ 136 !*** ./node_modules/@ionic/core/dist/esm/dir-e8b767a8.js ***! 137 \***********************************************************/ 138/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 139 140__webpack_require__.r(__webpack_exports__); 141/* harmony export */ __webpack_require__.d(__webpack_exports__, { 142/* harmony export */ "i": () => (/* binding */ isRTL) 143/* harmony export */ }); 144/*! 145 * (C) Ionic http://ionicframework.com - MIT License 146 */ 147/** 148 * Returns `true` if the document or host element 149 * has a `dir` set to `rtl`. The host value will always 150 * take priority over the root document value. 151 */ 152const isRTL = (hostEl) => { 153 if (hostEl) { 154 if (hostEl.dir !== '') { 155 return hostEl.dir.toLowerCase() === 'rtl'; 156 } 157 } 158 return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl'; 159}; 160 161 162 163 164/***/ }), 165 166/***/ 1550: 167/*!*********************************************************************!*\ 168 !*** ./node_modules/@ionic/core/dist/esm/focus-visible-02bf7a99.js ***! 169 \*********************************************************************/ 170/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 171 172__webpack_require__.r(__webpack_exports__); 173/* harmony export */ __webpack_require__.d(__webpack_exports__, { 174/* harmony export */ "startFocusVisible": () => (/* binding */ startFocusVisible) 175/* harmony export */ }); 176/*! 177 * (C) Ionic http://ionicframework.com - MIT License 178 */ 179const ION_FOCUSED = 'ion-focused'; 180const ION_FOCUSABLE = 'ion-focusable'; 181const FOCUS_KEYS = ['Tab', 'ArrowDown', 'Space', 'Escape', ' ', 'Shift', 'Enter', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'Home', 'End']; 182const startFocusVisible = (rootEl) => { 183 let currentFocus = []; 184 let keyboardMode = true; 185 const ref = (rootEl) ? rootEl.shadowRoot : document; 186 const root = (rootEl) ? rootEl : document.body; 187 const setFocus = (elements) => { 188 currentFocus.forEach(el => el.classList.remove(ION_FOCUSED)); 189 elements.forEach(el => el.classList.add(ION_FOCUSED)); 190 currentFocus = elements; 191 }; 192 const pointerDown = () => { 193 keyboardMode = false; 194 setFocus([]); 195 }; 196 const onKeydown = (ev) => { 197 keyboardMode = FOCUS_KEYS.includes(ev.key); 198 if (!keyboardMode) { 199 setFocus([]); 200 } 201 }; 202 const onFocusin = (ev) => { 203 if (keyboardMode && ev.composedPath) { 204 const toFocus = ev.composedPath().filter((el) => { 205 if (el.classList) { 206 return el.classList.contains(ION_FOCUSABLE); 207 } 208 return false; 209 }); 210 setFocus(toFocus); 211 } 212 }; 213 const onFocusout = () => { 214 if (ref.activeElement === root) { 215 setFocus([]); 216 } 217 }; 218 ref.addEventListener('keydown', onKeydown); 219 ref.addEventListener('focusin', onFocusin); 220 ref.addEventListener('focusout', onFocusout); 221 ref.addEventListener('touchstart', pointerDown); 222 ref.addEventListener('mousedown', pointerDown); 223 const destroy = () => { 224 ref.removeEventListener('keydown', onKeydown); 225 ref.removeEventListener('focusin', onFocusin); 226 ref.removeEventListener('focusout', onFocusout); 227 ref.removeEventListener('touchstart', pointerDown); 228 ref.removeEventListener('mousedown', pointerDown); 229 }; 230 return { 231 destroy, 232 setFocus 233 }; 234}; 235 236 237 238 239/***/ }), 240 241/***/ 2673: 242/*!**************************************************************************!*\ 243 !*** ./node_modules/@ionic/core/dist/esm/framework-delegate-0e9f0224.js ***! 244 \**************************************************************************/ 245/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 246 247__webpack_require__.r(__webpack_exports__); 248/* harmony export */ __webpack_require__.d(__webpack_exports__, { 249/* harmony export */ "C": () => (/* binding */ CoreDelegate),
250/* harmony export */ "a": () => (/* binding */ attachComponent), 251/* harmony export */ "d": () => (/* binding */ detachComponent) 252/* harmony export */ }); 253/* harmony import */ var C_Visual_TRUV2_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670); 254/* harmony import */ var _helpers_6e1e5b65_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers-6e1e5b65.js */ 8345); 255 256 257/*! 258 * (C) Ionic http://ionicframework.com - MIT License 259 */ 260 261 262const attachComponent = /*#__PURE__*/function () { 263 var _ref = (0,C_Visual_TRUV2_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (delegate, container, component, cssClasses, componentProps, inline) { 264 if (delegate) { 265 return delegate.attachViewToDom(container, component, componentProps, cssClasses); 266 } 267 268 if (!inline && typeof component !== 'string' && !(component instanceof HTMLElement)) { 269 throw new Error('framework delegate is missing'); 270 } 271 272 const el = typeof component === 'string' ? container.ownerDocument && container.ownerDocument.createElement(component) : component; 273 274 if (cssClasses) { 275 cssClasses.forEach(c => el.classList.add(c)); 276 } 277 278 if (componentProps) { 279 Object.assign(el, componentProps); 280 } 281 282 container.appendChild(el); 283 yield new Promise(resolve => (0,_helpers_6e1e5b65_js__WEBPACK_IMPORTED_MODULE_1__.c)(el, resolve)); 284 return el; 285 }); 286 287 return function attachComponent(_x, _x2, _x3, _x4, _x5, _x6) { 288 return _ref.apply(this, arguments); 289 }; 290}(); 291 292const detachComponent = (delegate, element) => { 293 if (element) { 294 if (delegate) { 295 const container = element.parentElement; 296 return delegate.removeViewFromDom(container, element); 297 } 298 299 element.remove(); 300 } 301 302 return Promise.resolve(); 303}; 304 305const CoreDelegate = () => { 306 let BaseComponent; 307 let Reference; 308 309 const attachViewToDom = /*#__PURE__*/function () { 310 var _ref2 = (0,C_Visual_TRUV2_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (parentElement, userComponent, userComponentProps = {}
310, cssClasses = []) { 311 BaseComponent = parentElement; 312 /** 313 * If passing in a component via the `component` props 314 * we need to append it inside of our overlay component. 315 */ 316 317 if (userComponent) { 318 /** 319 * If passing in the tag name, create 320 * the element otherwise just get a reference 321 * to the component. 322 */ 323 const el = typeof userComponent === 'string' ? BaseComponent.ownerDocument && BaseComponent.ownerDocument.createElement(userComponent) : userComponent; 324 /** 325 * Add any css classes passed in 326 * via the cssClasses prop on the overlay. 327 */ 328 329 cssClasses.forEach(c => el.classList.add(c)); 330 /** 331 * Add any props passed in 332 * via the componentProps prop on the overlay. 333 */ 334 335 Object.assign(el, userComponentProps); 336 /** 337 * Finally, append the component 338 * inside of the overlay component. 339 */ 340 341 BaseComponent.appendChild(el); 342 yield new Promise(resolve => (0,_helpers_6e1e5b65_js__WEBPACK_IMPORTED_MODULE_1__.c)(el, resolve)); 343 } else if (BaseComponent.children.length > 0) { 344 // If there is no component, then we need to create a new parent 345 // element to apply the css classes to. 346 const el = BaseComponent.ownerDocument && BaseComponent.ownerDocument.createElement('div'); 347 cssClasses.forEach(c => el.classList.add(c)); // Move each child from the original template to the new parent element. 348 349 el.append(...BaseComponent.children); // Append the new parent element to the original parent element. 350 351 BaseComponent.appendChild(el); 352 } 353 /** 354 * Get the root of the app and 355 * add the overlay there. 356 */ 357 358 359 const app = document.querySelector('ion-app') || document.body; 360 /** 361 * Create a placeholder comment so that 362 * we can return this component to where 363 * it was previously. 364 */ 365 366 Reference = document.createComment('ionic teleport'); 367 BaseComponent.parentNode.insertBefore(Reference, BaseComponent); 368 app.appendChild(BaseComponent); 369 return BaseComponent; 370 }); 371 372 return function attachViewToDom(_x7, _x8) { 373 return _ref2.apply(this, arguments); 374 }; 375 }(); 376 377 const removeViewFromDom = () => { 378 /** 379 * Return component to where it was previously in the DOM. 380 */ 381 if (BaseComponent && Reference) { 382 Reference.parentNode.insertBefore(BaseComponent, Reference); 383 Reference.remove(); 384 } 385 386 return Promise.resolve(); 387 }; 388 389 return { 390 attachViewToDom, 391 removeViewFromDom 392 }; 393}; 394 395 396 397/***/ }), 398 399/***/ 475: 400/*!**************************************************************!*\ 401 !*** ./node_modules/@ionic/core/dist/esm/haptic-9a9aa7ec.js ***! 402 \**************************************************************/ 403/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 404 405__webpack_require__.r(__webpack_exports__); 406/* harmony export */ __webpack_require__.d(__webpack_exports__, { 407/* harmony export */ "a": () => (/* binding */ hapticSelectionStart), 408/* harmony export */ "b": () => (/* binding */ hapticSelectionChanged), 409/* harmony export */ "c": () => (/* binding */ hapticSelection), 410/* harmony export */ "d": () => (/* binding */ hapticImpact), 411/* harmony export */ "h": () => (/* binding */ hapticSelectionEnd) 412/* harmony export */ }); 413/*! 414 * (C) Ionic http://ionicframework.com - MIT License 415 */ 416const HapticEngine = { 417 getEngine() { 418 const win = window; 419 return (win.TapticEngine) || (win.Capacitor && win.Capacitor.isPluginAvailable('Haptics') && win.Capacitor.Plugins.Haptics); 420 }, 421 available() { 422 return !!this.getEngine(); 423 }, 424 isCordova() { 425 return !!window.TapticEngine; 426 }, 427 isCapacitor() { 428 const win = window; 429 return !!win.Capacitor; 430 }, 431 impact(options) { 432 const engine = this.getEngine(); 433 if (!engine) { 434 return; 435 } 436 const style = this.isCapacitor() ? options.style.toUpperCase() : options.style; 437 engine.impact({ style }); 438 }, 439 notification(options) { 440 const engine = this.getEngine(); 441 if (!engine) { 442 return; 443 } 444 const style = this.isCapacitor() ? options.style.toUpperCase() : options.style; 445 engine.notification({ style }); 446 }, 447 selection() { 448 this.impact({ style: 'light' }); 449 }, 450 selectionStart() { 451 const engine = this.getEngine(); 452 if (!engine) { 453 return; 454 } 455 if (this.isCapacitor()) { 456 engine.selectionStart(); 457 } 458 else { 459 engine.gestureSelectionStart(); 460 } 461 }, 462 selectionChanged() { 463 const engine = this.getEngine(); 464 if (!engine) { 465 return; 466 } 467 if (this.isCapacitor()) { 468 engine.selectionChanged(); 469 } 470 else { 471 engine.gestureSelectionChanged(); 472 } 473 }, 474 selectionEnd() { 475 const engine = this.getEngine(); 476 if (!engine) { 477 return; 478 } 479 if (this.isCapacitor()) { 480 engine.selectionEnd(); 481 } 482 else { 483 engine.gestureSelectionEnd(); 484 } 485 } 486}; 487/** 488 * Trigger a selection changed haptic event. Good for one-time events 489 * (not for gestures) 490 */ 491const hapticSelection = () => { 492 HapticEngine.selection(); 493}; 494/** 495 * Tell the haptic engine that a gesture for a selection change is starting. 496 */ 497const hapticSelectionStart = () => { 498 HapticEngine.selectionStart(); 499}; 500/** 501 * Tell the haptic engine that a selection changed during a gesture. 502 */ 503const hapticSelectionChanged = () => { 504 HapticEngine.selectionChanged(); 505}; 506/** 507 * Tell the haptic engine we are done with a gesture. This needs to be 508 * called lest resources are not properly recycled. 509 */ 510const hapticSelectionEnd = () => { 511 HapticEngine.selectionEnd(); 512}; 513/** 514 * Use this to indicate success/failure/warning to the user. 515 * options should be of the type `{ style: 'light' }` (or `medium`/`heavy`) 516 */ 517const hapticImpact = (options) => { 518 HapticEngine.impact(options); 519}; 520 521 522 523 524/***/ }), 525 526/***/ 341: 527/*!*************************************************************!*\ 528 !*** ./node_modules/@ionic/core/dist/esm/index-e3f61316.js ***! 529 \*************************************************************/ 530/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 531 532__webpack_require__.r(__webpack_exports__); 533/* harmony export */ __webpack_require__.d(__webpack_exports__, { 534/* harmony export */ "a": () => (/* binding */ arrowBackSharp), 535/* harmony export */ "b": () => (/* binding */ closeCircle), 536/* harmony export */ "c": () => (/* binding */ chevronBack), 537/* harmony export */ "d": () => (/* binding */ closeSharp), 538/* harmony export */ "e": () => (/* binding */ searchSharp), 539/* harmony export */ "f": () => (/* binding */ caretBackSharp), 540/* harmony export */ "g": () => (/* binding */ arrowDown), 541/* harmony export */ "h": () => (/* binding */ reorderTwoSharp), 542/* harmony export */ "i": () => (/* binding */ chevronDown), 543/* harmony export */ "j": () => (/* binding */ chevronForwardOutline), 544/* harmony export */ "k": () => (/* binding */ ellipsisHorizontal), 545/* harmony export */ "l": () => (/* binding */ chevronForward), 546/* harmony export */ "m": () => (/* binding */ caretUpSharp), 547/* harmony export */ "n": () => (/* binding */ caretDownSharp), 548/* harmony export */ "o": () => (/* binding */ close), 549/* harmony export */ "p": () => (/* binding */ menuOutline), 550/* harmony export */ "q": () => (/* binding */ menuSharp), 551/* harmony export */ "r": () => (/* binding */ reorderThreeOutline), 552/* harmony export */ "s": () => (/* binding */ searchOutline) 553/* harmony export */ }); 554/*! 555 * (C) Ionic http://ionicframework.com - MIT License 556 */ 557/* Ionicons v6.0.0, ES Modules */ 558const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewB
558ox='0 0 512 512'><title>Arrow Back</title><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>"; 559const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>"; 560const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Back</title><path d='M368 64L144 256l224 192V64z'/></svg>"; 561const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Down</title><path d='M64 144l192 224 192-224H64z'/></svg>"; 562const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Up</title><path d='M448 368L256 144 64 368h384z'/></svg>"; 563const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Back</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>"; 564const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>"; 565const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>"; 566const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>"; 567const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>"; 568const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close Circle</title><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>"; 569const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>"; 570const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipsis Horizontal</title><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>"; 571const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>"; 572const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>"; 573const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewB
573ox='0 0 512 512'><title>Reorder Three</title><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>"; 574const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Two</title><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>"; 575const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>"; 576const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>"; 577 578 579 580 581/***/ }), 582 583/***/ 8022: 584/*!****************************************************************!*\ 585 !*** ./node_modules/@ionic/core/dist/esm/keyboard-808e4e15.js ***! 586 \****************************************************************/ 587/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 588 589__webpack_require__.r(__webpack_exports__); 590/* harmony export */ __webpack_require__.d(__webpack_exports__, { 591/* harmony export */ "KEYBOARD_DID_CLOSE": () => (/* binding */ KEYBOARD_DID_CLOSE), 592/* harmony export */ "KEYBOARD_DID_OPEN": () => (/* binding */ KEYBOARD_DID_OPEN), 593/* harmony export */ "copyVisualViewport": () => (/* binding */ copyVisualViewport), 594/* harmony export */ "keyboardDidClose": () => (/* binding */ keyboardDidClose), 595/* harmony export */ "keyboardDidOpen": () => (/* binding */ keyboardDidOpen), 596/* harmony export */ "keyboardDidResize": () => (/* binding */ keyboardDidResize), 597/* harmony export */ "resetKeyboardAssist": () => (/* binding */ resetKeyboardAssist), 598/* harmony export */ "setKeyboardClose": () => (/* binding */ setKeyboardClose), 599/* harmony export */ "setKeyboardOpen": () => (/* binding */ setKeyboardOpen), 600/* harmony export */ "startKeyboardAssist": () => (/* binding */ startKeyboardAssist), 601/* harmony export */ "trackViewportChanges": () => (/* binding */ trackViewportChanges) 602/* harmony export */ }); 603/*! 604 * (C) Ionic http://ionicframework.com - MIT License 605 */ 606const KEYBOARD_DID_OPEN = 'ionKeyboardDidShow'; 607const KEYBOARD_DID_CLOSE = 'ionKeyboardDidHide'; 608const KEYBOARD_THRESHOLD = 150; 609let previousVisualViewport = {}; 610let currentVisualViewport = {}; 611let keyboardOpen = false; 612/** 613 * This is only used for tests 614 */ 615const resetKeyboardAssist = () => { 616 previousVisualViewport = {}; 617 currentVisualViewport = {}; 618 keyboardOpen = false; 619}; 620const startKeyboardAssist = (win) => { 621 startNativeListeners(win); 622 if (!win.visualViewport) { 623 return; 624 } 625 currentVisualViewport = copyVisualViewport(win.visualViewport); 626 win.visualViewport.onresize = () => { 627 trackViewportChanges(win); 628 if (keyboardDidOpen() || keyboardDidResize(win)) { 629 setKeyboardOpen(win); 630 } 631 else if (keyboardDidClose(win)) { 632 setKeyboardClose(win); 633 } 634 }; 635}; 636/** 637 * Listen for events fired by native keyboard plugin 638 * in Capacitor/Cordova so devs only need to listen 639 * in one place. 640 */ 641const startNativeListeners = (win) => { 642 win.addEventListener('keyboardDidShow', ev => setKeyboardOpen(win, ev)); 643 win.addEventListener('keyboardDidHide', () => setKeyboardClose(win)); 644}; 645const setKeyboardOpen = (win, ev) => { 646 fireKeyboardOpenEvent(win, ev); 647 keyboardOpen = true; 648}; 649const setKeyboardClose = (win) => { 650 fireKeyboardCloseEvent(win); 651 keyboardOpen = false; 652}; 653/** 654 * Returns `true` if the `keyboardOpen` flag is not 655 * set, the previous visual viewport width equal the current 656 * visual viewport width, and if the scaled difference 657 * of the previous visual viewport height minus the current 658 * visual viewport height is greater than KEYBOARD_THRESHOLD 659 * 660 * We need to be able to accommodate users who have zooming 661 * enabled in their browser (or have zoomed in manually) which
662 * is why we take into account the current visual viewport's 663 * scale value. 664 */ 665const keyboardDidOpen = () => { 666 const scaledHeightDifference = (previousVisualViewport.height - currentVisualViewport.height) * currentVisualViewport.scale; 667 return (!keyboardOpen && 668 previousVisualViewport.width === currentVisualViewport.width && 669 scaledHeightDifference > KEYBOARD_THRESHOLD); 670}; 671/** 672 * Returns `true` if the keyboard is open, 673 * but the keyboard did not close 674 */ 675const keyboardDidResize = (win) => { 676 return keyboardOpen && !keyboardDidClose(win); 677}; 678/** 679 * Determine if the keyboard was closed 680 * Returns `true` if the `keyboardOpen` flag is set and 681 * the current visual viewport height equals the 682 * layout viewport height. 683 */ 684const keyboardDidClose = (win) => { 685 return keyboardOpen && currentVisualViewport.height === win.innerHeight; 686}; 687/** 688 * Dispatch a keyboard open event 689 */ 690const fireKeyboardOpenEvent = (win, nativeEv) => { 691 const keyboardHeight = nativeEv ? nativeEv.keyboardHeight : win.innerHeight - currentVisualViewport.height; 692 const ev = new CustomEvent(KEYBOARD_DID_OPEN, { 693 detail: { keyboardHeight } 694 }); 695 win.dispatchEvent(ev); 696}; 697/** 698 * Dispatch a keyboard close event 699 */ 700const fireKeyboardCloseEvent = (win) => { 701 const ev = new CustomEvent(KEYBOARD_DID_CLOSE); 702 win.dispatchEvent(ev); 703}; 704/** 705 * Given a window object, create a copy of 706 * the current visual and layout viewport states 707 * while also preserving the previous visual and 708 * layout viewport states 709 */ 710const trackViewportChanges = (win) => { 711 previousVisualViewport = Object.assign({}, currentVisualViewport); 712 currentVisualViewport = copyVisualViewport(win.visualViewport); 713}; 714/** 715 * Creates a deep copy of the visual viewport 716 * at a given state 717 */ 718const copyVisualViewport = (visualViewport) => { 719 return { 720 width: Math.round(visualViewport.width), 721 height: Math.round(visualViewport.height), 722 offsetTop: visualViewport.offsetTop, 723 offsetLeft: visualViewport.offsetLeft, 724 pageTop: visualViewport.pageTop, 725 pageLeft: visualViewport.pageLeft,
726 scale: visualViewport.scale 727 }; 728}; 729 730 731 732 733/***/ }), 734 735/***/ 3966: 736/*!***********************************************************************!*\ 737 !*** ./node_modules/@ionic/core/dist/esm/spinner-configs-163ed7fb.js ***! 738 \***********************************************************************/ 739/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 740 741__webpack_require__.r(__webpack_exports__); 742/* harmony export */ __webpack_require__.d(__webpack_exports__, { 743/* harmony export */ "S": () => (/* binding */ SPINNERS) 744/* harmony export */ }); 745/*! 746 * (C) Ionic http://ionicframework.com - MIT License 747 */ 748const spinners = { 749 'bubbles': { 750 dur: 1000, 751 circles: 9, 752 fn: (dur, index, total) => { 753 const animationDelay = `${(dur * index / total) - dur}ms`; 754 const angle = 2 * Math.PI * index / total; 755 return { 756 r: 5, 757 style: { 758 'top': `${9 * Math.sin(angle)}px`, 759 'left': `${9 * Math.cos(angle)}px`, 760 'animation-delay': animationDelay, 761 } 762 }; 763 } 764 }, 765 'circles': { 766 dur: 1000, 767 circles: 8, 768 fn: (dur, index, total) => { 769 const step = index / total; 770 const animationDelay = `${(dur * step) - dur}ms`; 771 const angle = 2 * Math.PI * step; 772 return { 773 r: 5, 774 style: { 775 'top': `${9 * Math.sin(angle)}px`, 776 'left': `${9 * Math.cos(angle)}px`, 777 'animation-delay': animationDelay, 778 } 779 }; 780 } 781 }, 782 'circular': { 783 dur: 1400, 784 elmDuration: true, 785 circles: 1, 786 fn: () => { 787 return { 788 r: 20, 789 cx: 48, 790 cy: 48, 791 fill: 'none',
792 viewBox: '24 24 48 48', 793 transform: 'translate(0,0)', 794 style: {} 795 }; 796 } 797 }, 798 'crescent': { 799 dur: 750, 800 circles: 1, 801 fn: () => { 802 return { 803 r: 26, 804 style: {} 805 }; 806 } 807 }, 808 'dots': { 809 dur: 750, 810 circles: 3, 811 fn: (_, index) => { 812 const animationDelay = -(110 * index) + 'ms'; 813 return { 814 r: 6, 815 style: { 816 'left': `${9 - (9 * index)}px`, 817 'animation-delay': animationDelay, 818 } 819 }; 820 } 821 }, 822 'lines': { 823 dur: 1000, 824 lines: 8, 825 fn: (dur, index, total) => { 826 const transform = `rotate(${(360 / total) * index + (index < (total / 2) ? 180 : -180)}deg)`; 827 const animationDelay = `${(dur * index / total) - dur}ms`; 828 return { 829 y1: 14, 830 y2: 26, 831 style: { 832 'transform': transform, 833 'animation-delay': animationDelay, 834 } 835 }; 836 } 837 }, 838 'lines-small': { 839 dur: 1000, 840 lines: 8, 841 fn: (dur, index, total) => { 842 const transform = `rotate(${(360 / total) * index + (index < (total / 2) ? 180 : -180)}deg)`; 843 const animationDelay = `${(dur * index / total) - dur}ms`; 844 return { 845 y1: 12, 846 y2: 20, 847 style: { 848 'transform': transform, 849 'animation-delay': animationDelay, 850 } 851 }; 852 } 853 }, 854 'lines-sharp': { 855 dur: 1000, 856 lines: 12, 857 fn: (dur, index, total) => { 858 const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`; 859 const animationDelay = `${(dur * index / total) - dur}ms`; 860 return { 861 y1: 17, 862 y2: 29, 863 style: { 864 'transform': transform, 865 'animation-delay': animationDelay, 866 } 867 }; 868 } 869 }, 870 'lines-sharp-small': { 871 dur: 1000, 872 lines: 12, 873 fn: (dur, index, total) => { 874 const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`; 875 const animationDelay = `${(dur * index / total) - dur}ms`; 876 return { 877 y1: 12, 878 y2: 20, 879 style: { 880 'transform': transform, 881 'animation-delay': animationDelay, 882 } 883 }; 884 } 885 } 886}; 887const SPINNERS = spinners; 888 889 890 891 892/***/ }), 893 894/***/ 6718: 895/*!******************************************************************!*\ 896 !*** ./node_modules/@ionic/core/dist/esm/swipe-back-f65c5686.js ***! 897 \******************************************************************/ 898/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 899 900__webpack_require__.r(__webpack_exports__); 901/* harmony export */ __webpack_require__.d(__webpack_exports__, { 902/* harmony export */ "createSwipeBackGesture": () => (/* binding */ createSwipeBackGesture) 903/* harmony export */ }); 904/* harmony import */ var _helpers_6e1e5b65_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers-6e1e5b65.js */ 8345); 905/* harmony import */ var _dir_e8b767a8_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dir-e8b767a8.js */ 7481); 906/* harmony import */ var _index_41bf41f2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index-41bf41f2.js */ 7974); 907/* harmony import */ var _gesture_controller_68c023a4_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gesture-controller-68c023a4.js */ 5627); 908/*! 909 * (C) Ionic http://ionicframework.com - MIT License 910 */ 911 912 913 914 915 916const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => { 917 const win = el.ownerDocument.defaultView; 918 const rtl = (0,_dir_e8b767a8_js__WEBPACK_IMPORTED_MODULE_1__.i)(el); 919 /** 920 * Determine if a gesture is near the edge 921 * of the screen. If true, then the swipe 922 * to go back gesture should proceed. 923 */ 924 const isAtEdge = (detail) => { 925 const threshold = 50; 926 const { startX } = detail; 927 if (rtl) { 928 return startX >= win.innerWidth - threshold; 929 } 930 return startX <= threshold; 931 }; 932 const getDeltaX = (detail) => { 933 return rtl ? -detail.deltaX : detail.deltaX; 934 }; 935 const getVelocityX = (detail) => { 936 return rtl ? -detail.velocityX : detail.velocityX; 937 };
938 const canStart = (detail) => { 939 return isAtEdge(detail) && canStartHandler(); 940 }; 941 const onMove = (detail) => { 942 // set the transition animation's progress 943 const delta = getDeltaX(detail); 944 const stepValue = delta / win.innerWidth; 945 onMoveHandler(stepValue); 946 }; 947 const onEnd = (detail) => { 948 // the swipe back gesture has ended 949 const delta = getDeltaX(detail); 950 const width = win.innerWidth; 951 const stepValue = delta / width; 952 const velocity = getVelocityX(detail); 953 const z = width / 2.0; 954 const shouldComplete = velocity >= 0 && (velocity > 0.2 || delta > z); 955 const missing = shouldComplete ? 1 - stepValue : stepValue; 956 const missingDistance = missing * width; 957 let realDur = 0; 958 if (missingDistance > 5) { 959 const dur = missingDistance / Math.abs(velocity); 960 realDur = Math.min(dur, 540); 961 } 962 /** 963 * TODO: stepValue can sometimes return negative values 964 * or values greater than 1 which should not be possible. 965 * Need to investigate more to find where the issue is. 966 */ 967 onEndHandler(shouldComplete, (stepValue <= 0) ? 0.01 : (0,_helpers_6e1e5b65_js__WEBPACK_IMPORTED_MODULE_0__.k)(0, stepValue, 0.9999), realDur); 968 }; 969 return (0,_index_41bf41f2_js__WEBPACK_IMPORTED_MODULE_2__.createGesture)({ 970 el, 971 gestureName: 'goback-swipe', 972 gesturePriority: 40, 973 threshold: 10, 974 canStart, 975 onStart: onStartHandler, 976 onMove, 977 onEnd 978 }); 979}; 980 981 982 983 984/***/ }), 985 986/***/ 4596: 987/*!*************************************************************!*\ 988 !*** ./node_modules/@ionic/core/dist/esm/theme-a24ff1ad.js ***! 989 \*************************************************************/ 990/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 991 992__webpack_require__.r(__webpack_exports__); 993/* harmony export */ __webpack_require__.d(__webpack_exports__, { 994/* harmony export */ "c": () => (/* binding */ createColorClasses), 995/* harmony export */ "g": () => (/* binding */ getClassMap), 996/* harmony export */ "h": () => (/* binding */ hostContext), 997/* harmony export */ "o": () => (/* binding */ openURL) 998/* harmony export */ }); 999/* harmony import */ var C_Visual_TRUV2_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670); 1000 1001 1002/*! 1003 * (C) Ionic http://ionicframework.com - MIT License 1004 */ 1005const hostContext = (selector, el) => { 1006 return el.closest(selector) !== null; 1007}; 1008/** 1009 * Create the mode and color classes for the component based on the classes passed in 1010 */ 1011 1012 1013const createColorClasses = (color, cssClassMap) => { 1014 return typeof color === 'string' && color.length > 0 ? Object.assign({ 1015 'ion-color': true, 1016 [`ion-color-${color}`]: true 1017 }, cssClassMap) : cssClassMap; 1018}; 1019 1020const getClassList = classes => { 1021 if (classes !== undefined) { 1022 const array = Array.isArray(classes) ? classes : classes.split(' '); 1023 return array.filter(c => c != null).map(c => c.trim()).filter(c => c !== ''); 1024 } 1025 1026 return []; 1027}; 1028 1029const getClassMap = classes => { 1030 const map = {}; 1031 getClassList(classes).forEach(c => map[c] = true); 1032 return map; 1033}; 1034 1035const SCHEME = /^[a-z][a-z0-9+\-.]*:/; 1036 1037const openURL = /*#__PURE__*/function () { 1038 var _ref = (0,C_Visual_TRUV2_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (url, ev, direction, animation) { 1039 if (url != null && url[0] !== '#' && !SCHEME.test(url)) { 1040 const router = document.querySelector('ion-router'); 1041 1042 if (router) { 1043 if (ev != null) { 1044 ev.preventDefault(); 1045 } 1046 1047 return router.push(url, direction, animation); 1048 } 1049 } 1050 1051 return false; 1052 }); 1053 1054 return function openURL(_x, _x2, _x3, _x4) { 1055 return _ref.apply(this, arguments); 1056 }; 1057}(); 1058 1059 1060 1061/***/ }) 1062 1063}]); 1064//# sourceMappingURL=common.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.