text
stringlengths
2
1.05M
Math.isOdd = function(iNum) { if (iNum % 2 === 0) { return true; } else { return false; } };
import { alias } from '@ember/object/computed'; import Component from '@ember/component'; export default Component.extend({ layout: alias('compiledTemplate') });
module.exports = async d => { const { code } = d.command const inside = d.unpack() const err = d.inside(inside) if (err) return d.error(err) let [hm] = inside.inside try { const queue = await d.client._distube.getQueue(d.message) if(!typeof hm === 'number') d.aoiError.fnError(d, 'custom', {inside:inside}, `Invalid Number Provided In ${hm}`) queue.jump(hm) } catch (e) { d.aoiError.fnError(d, 'custom', {}, e.message) } return { code: d.util.setCode({ function: d.func, code }) } }
/** * Copyright (c) 2014, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow */ 'use strict'; import type { Expect, ExpectationObject, ExpectationResult, MatcherContext, MatcherState, MatchersObject, RawMatcherFn, ThrowingMatcherFn, } from './types'; const matchers = require('./matchers'); const spyMatchers = require('./spyMatchers'); const toThrowMatchers = require('./toThrowMatchers'); const {stringify} = require('jest-matcher-utils'); const GLOBAL_STATE = Symbol.for('$$jest-matchers-object'); class JestAssertionError extends Error {} if (!global[GLOBAL_STATE]) { Object.defineProperty( global, GLOBAL_STATE, {value: {matchers: Object.create(null), state: {suppressedErrors: []}}}, ); } const expect: Expect = (actual: any): ExpectationObject => { const allMatchers = global[GLOBAL_STATE].matchers; const expectation = {not: {}}; Object.keys(allMatchers).forEach(name => { expectation[name] = makeThrowingMatcher(allMatchers[name], false, actual); expectation.not[name] = makeThrowingMatcher(allMatchers[name], true, actual); }); return expectation; }; const makeThrowingMatcher = ( matcher: RawMatcherFn, isNot: boolean, actual: any, ): ThrowingMatcherFn => { return function throwingMatcher(...args) { let throws = true; const matcherContext: MatcherContext = Object.assign( // When throws is disabled, the matcher will not throw errors during test // execution but instead add them to the global matcher state. If a // matcher throws, test execution is normally stopped immediately. The // snapshot matcher uses it because we want to log all snapshot // failures in a test. {dontThrow: () => throws = false}, global[GLOBAL_STATE].state, {isNot}, ); let result: ExpectationResult; try { result = matcher.apply( matcherContext, [actual].concat(args), ); } catch (error) { // Remove this and deeper functions from the stack trace frame. Error.captureStackTrace(error, throwingMatcher); throw error; } _validateResult(result); if ((result.pass && isNot) || (!result.pass && !isNot)) { // XOR let message = result.message; // for performance reasons some of the messages are evaluated // lazily if (typeof message === 'function') { message = message(); } const error = new JestAssertionError(message); // Remove this function from the stack trace frame. Error.captureStackTrace(error, throwingMatcher); if (throws) { throw error; } else { global[GLOBAL_STATE].state.suppressedErrors.push(error); } } }; }; const addMatchers = (matchersObj: MatchersObject): void => { Object.assign(global[GLOBAL_STATE].matchers, matchersObj); }; const _validateResult = result => { if ( typeof result !== 'object' || typeof result.pass !== 'boolean' || !( typeof result.message === 'string' || typeof result.message === 'function' ) ) { throw new Error( 'Unexpected return from a matcher function.\n' + 'Matcher functions should ' + 'return an object in the following format:\n' + ' {message: string | function, pass: boolean}\n' + `'${stringify(result)}' was returned`, ); } }; const setState = (state: MatcherState) => { Object.assign(global[GLOBAL_STATE].state, state); }; const getState = () => global[GLOBAL_STATE].state; // add default jest matchers addMatchers(matchers); addMatchers(spyMatchers); addMatchers(toThrowMatchers); module.exports = { addMatchers, expect, getState, setState, };
'use strict'; /*! * ws: a node.js websocket client * Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com> * MIT Licensed */ var bufferUtil; try { bufferUtil = require('bufferutil'); } catch (e) { bufferUtil = require('./BufferUtil.fallback'); } module.exports = bufferUtil.BufferUtil || bufferUtil;
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { eval("(function () {\n const ipc = __webpack_require__(1).ipcRenderer;\n let lastHeight = 0;\n let lastPaused = -1;\n let headlines = null;\n\n const MonocleRadio = function () {\n this.$$ = sel => document.querySelector(sel);\n this.show = el => el.style.display = '';\n this.hide = el => el.style.display = 'none';\n this.html = (el, html) => el.innerHTML = html;\n\n this.monocle_24 = data => {\n const cover = this.$$('#cover');\n const artist = this.$$('#artist');\n const space = this.$$('#space');\n const title = this.$$('#title');\n if (data.id) {\n if (data['image'] !== 'Null') {\n const filename = data['image'].replace('/uploads/image/radio/shows/', '');\n cover.setAttribute('style', `background: transparent url(https://img.monocle.com/radio/shows/${filename}?w=400&h=400&q=60) no-repeat 50% 50%; background-size: cover`);\n this.show(cover);\n } else {\n this.hide(cover);\n }\n if (data['current-track-artist'] !== 'Null') {\n this.html(artist, data['current-track-artist']);\n this.show(space);\n this.html(title, data['current-track-title']);\n } else {\n this.html(artist, data['show']);\n this.html(title, '');\n this.hide(space);\n }\n }\n this.updateSize();\n };\n\n this.showMenu = _ => {\n ipc.send('show-config-menu');\n };\n\n this.reloadRadio = _ => {\n if (this.shouldRefreshRadio()) {\n console.log('refreshing radio');\n this.refreshRadio(true);\n } else {\n console.log('no refresh needed');\n }\n };\n\n this.shouldRefreshRadio = _ => {\n if (lastPaused !== -1) {\n let now = new Date().getTime();\n let diff = parseInt((now - lastPaused) / 1000, 10);\n if (diff > 60) {\n // should be 60\n return true;\n }\n }\n return false;\n };\n\n this.refreshRadio = (reload = false) => {\n const sourceUrl = 'https://radio.monocle.com/live';\n const audio = this.$$('#player');\n const mp3Src = this.$$('#mp3_src');\n mp3Src.setAttribute('src', sourceUrl);\n /****************/\n audio.pause();\n audio.load(); // suspends and restores all audio element\n\n if (reload) {\n audio.play();\n }\n audio.oncanplaythrough = audio.play();\n audio.onpause = _ => {\n lastPaused = new Date().getTime();\n };\n audio.onplay = _ => {\n lastPaused = -1;\n };\n /****************/\n };\n\n this.updateSize = () => {\n const main = this.$$('.main');\n const height = main.offsetHeight;\n if (lastHeight !== height) {\n ipc.send('resize-window', { height: height });\n lastHeight = height;\n }\n };\n\n this.loadFeed = _ => {\n console.log('getting headlines');\n window.fetch('https://api.monocle.com/radio/?callback=monocle_24&_=' + Date.now()).then(response => {\n return response.text();\n }).then(text => {\n const json = text.replace(/monocle_24\\(/g, '').replace(/\\);/g, '');\n if (json) {\n const data = JSON.parse(json);\n if (data) {\n this.monocle_24(data);\n }\n }\n }).catch(error => {\n console.error('ERROR', error);\n });\n };\n\n this.init = _ => {\n ipc.addListener('reset-player', _ => {\n console.log('starting headlines');\n this.reloadRadio();\n this.loadFeed();\n headlines = window.setInterval(this.loadFeed, 20000);\n });\n\n ipc.addListener('stop-headlines', _ => {\n if (headlines) {\n console.log('stopping headlines');\n window.clearInterval(headlines);\n }\n });\n\n this.refreshRadio();\n this.loadFeed();\n this.updateSize();\n\n headlines = window.setInterval(this.loadFeed, 20000);\n };\n };\n\n const radio = new MonocleRadio();\n\n window.MonocleRadio = radio;\n window.monocle_24 = radio.monocle_24;\n // end\n\n radio.init();\n})();\n\n//////////////////\n// WEBPACK FOOTER\n// ./app.js\n// module id = 0\n// module chunks = 0\n\n//# sourceURL=webpack:///./app.js?"); /***/ }), /* 1 */ /***/ (function(module, exports) { eval("module.exports = require(\"electron\");\n\n//////////////////\n// WEBPACK FOOTER\n// external \"electron\"\n// module id = 1\n// module chunks = 0\n\n//# sourceURL=webpack:///external_%22electron%22?"); /***/ }) /******/ ]);
import { put, takeEvery, takeLatest, select, call } from 'redux-saga/effects' import * as Actions from '../actions/jobsActions' import * as Types from '../types/jobsTypes' import { getJobsFromFramework, getJobFromFramework, createJobInFramework, stopRunningJobInFramework, deleteJobInFramework } from '../apis/jobsApi'; import { stopTest } from './testsSagas'; export function * getJobs () { try { yield put(Actions.processingGetJobs(true)); let allJobs = yield call(getJobsFromFramework); let JobsPagination = allJobs; let testsData = allJobs.data; let nextUrl = JobsPagination.data.next; while (nextUrl) { let char = nextUrl.indexOf('?'); let newURL = nextUrl.substring(char); JobsPagination = yield call(getJobsFromFramework, newURL); let paginationData = JobsPagination.data; nextUrl = JobsPagination.data.next; testsData = testsData.concat(paginationData); } yield put(Actions.getJobsSuccess(testsData)); yield put(Actions.processingGetJobs(false)); } catch (e) { yield put(Actions.getJobsFaliure(e)); yield put(Actions.processingGetJobs(false)); } } export function * getJob ({ jobId }) { try { const job = yield call(getJobFromFramework, jobId); yield put(Actions.getJobSuccess(job.data)) } catch (e) { yield put(Actions.getJobFaliure(e)) } } export function * createJob ({ body }) { try { yield put(Actions.processingCreateJob(true)); let job = yield call(createJobInFramework, body); yield put(Actions.createJobSuccess(job.data)); } catch (e) { yield put(Actions.createJobFailure(e)) } yield put(Actions.processingCreateJob(false)); } export function * stopRunningJob ({ jobId, runId }) { try { const job = yield call(stopRunningJobInFramework, jobId, runId); yield put(Actions.stopRunningJobSuccess(true)) } catch (e) { yield put(Actions.stopRunningJobFailure(e)); } } export function * deleteJob ({ jobId }) { try { yield put(Actions.processingDeleteJob(true)); yield call(deleteJobInFramework, jobId); yield put(Actions.deleteJobSuccess()); yield put(Actions.processingDeleteJob(false)); } catch (e) { yield put(Actions.processingDeleteJob(false)); yield put(Actions.deleteJobFailure(e)) } } export function * jobsRegister () { yield takeLatest(Types.GET_JOBS, getJobs); yield takeLatest(Types.GET_JOB, getJob); yield takeEvery(Types.CREATE_JOB, createJob); yield takeLatest(Types.STOP_RUNNING_JOB, stopRunningJob); yield takeLatest(Types.DELETE_JOB, deleteJob); }
import React from "react" import { Link } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import "../styles/contact.sass" const ContactInfo = () => ( <Layout> <SEO title="Home" /> <div className="contact"> <h1>Moj email: moroz128@gmail.com</h1> </div> </Layout> ) export default ContactInfo
'use strict'; var aws = require('aws-sdk'); var elasticTranscoder = new aws.ElasticTranscoder({ apiVersion: '2012-09-25' }); var pub = {}; pub.validate = function (event) { if (!event.ResourceProperties.Container) { throw new Error('Missing required property Container'); } if (!event.ResourceProperties.Name) { throw new Error('Missing required property Name'); } }; pub.create = function (event, _context, callback) { delete event.ResourceProperties.ServiceToken; var params = event.ResourceProperties; elasticTranscoder.createPreset(params, function (error, response) { if (error) { return callback(error); } var data = { physicalResourceId: response.Preset.Id }; callback(null, data); }); }; pub.update = function (_event, _context, callback) { return setImmediate(callback); }; pub.delete = function (event, _context, callback) { if (!event.PhysicalResourceId.match(/^\d{13}-\w{6}$/)) { return setImmediate(callback); } var params = { Id: event.PhysicalResourceId }; elasticTranscoder.deletePreset(params, function (error) { if (error && error.code !== 'ResourceNotFoundException') { return callback(error); } callback(); }); }; module.exports = pub;
function sumNested(arr) { return arr.reduce((a, b) => a.concat(Array.isArray(b) ? sumNested(b) : b), []).reduce((x, y) => x + y, 0); } // From: https://www.codewars.com/kata/sum-of-a-nested-list // 7 kyu console.log(sumNested([1, [2, [3, [4]]]])); // 10
import React from 'react' import { Switch, Route } from "react-router-dom"; //local components import ContentPaths from './ContentPaths'; export default class Content extends React.Component { constructor(props) { super(props); this.props = props; } render() { return ( <div> <Switch> {ContentPaths.map(({path, ContentComponent, exact}, i) => ( <Route path={path} exact={exact} render={(routeProps) => ( <ContentComponent {...routeProps} {...this.props} /> )} key={i} /> ))} </Switch> </div> ); } } /* */
// @flow import type { Persistor, PersistConfig, PersistorOptions, PersistorState, MigrationManifest, RehydrateAction, RehydrateErrorType, } from './types' import { createStore } from 'redux' import { FLUSH, PAUSE, PERSIST, PURGE, REGISTER, REHYDRATE } from './constants' type PendingRehydrate = [Object, RehydrateErrorType, PersistConfig] type Persist = <R>(PersistConfig, MigrationManifest) => R => R type CreatePersistor = Object => void type BoostrappedCb = () => any const initialState: PersistorState = { registry: [], bootstrapped: false, } const persistorReducer = (state = initialState, action) => { switch (action.type) { case REGISTER: return { ...state, registry: [...state.registry, action.key] } case REHYDRATE: let firstIndex = state.registry.indexOf(action.key) let registry = [...state.registry] registry.splice(firstIndex, 1) return { ...state, registry, bootstrapped: registry.length === 0 } default: return state } } export default function persistStore( store: Object, options?: ?PersistorOptions, cb?: BoostrappedCb ): Persistor { // help catch incorrect usage of passing PersistConfig in as PersistorOptions if (process.env.NODE_ENV !== 'production') { let optionsToTest: Object = options || {} let bannedKeys = [ 'blacklist', 'whitelist', 'transforms', 'storage', 'keyPrefix', 'migrate', ] bannedKeys.forEach(k => { if (!!optionsToTest[k]) console.error( `redux-persist: invalid option passed to persistStore: "${k}". You may be incorrectly passing persistConfig into persistStore, whereas it should be passed into persistReducer.` ) }) } let boostrappedCb = cb || false let _pStore = createStore( persistorReducer, initialState, options ? options.enhancer : undefined ) let register = (key: string) => { _pStore.dispatch({ type: REGISTER, key, }) } let rehydrate = (key: string, payload: Object, err: any) => { let rehydrateAction = { type: REHYDRATE, payload, err, key, } // dispatch to `store` to rehydrate and `persistor` to track result store.dispatch(rehydrateAction) _pStore.dispatch(rehydrateAction) if (boostrappedCb && persistor.getState().bootstrapped) { boostrappedCb() boostrappedCb = false } } let persistor: Persistor = { ..._pStore, purge: () => { let results = [] store.dispatch({ type: PURGE, result: purgeResult => { results.push(purgeResult) }, }) return Promise.all(results) }, flush: () => { let results = [] store.dispatch({ type: FLUSH, result: flushResult => { results.push(flushResult) }, }) return Promise.all(results) }, pause: () => { store.dispatch({ type: PAUSE, }) }, persist: () => { store.dispatch({ type: PERSIST, register, rehydrate }) }, } persistor.persist() return persistor }
/* * © 2009 ROBO Design * http://www.robodesign.ro * * $Date: 2009-05-11 23:34:52 +0300 $ */ var PaintWebInstance = new (function () { var _self = this; this.layer = {canvas: null, context: null}; this.tool = null; this.doc = document; this.win = window; function init () { profiler.start('init'); _self.layer.canvas = _self.doc.getElementById('imageView'); _self.layer.context = _self.layer.canvas.getContext('2d'); _self.tool = new tool_pencil(); _self.layer.canvas.addEventListener('mousedown', _self.tool.mousedown, false); _self.layer.canvas.addEventListener('mousemove', _self.tool.mousemove, false); _self.layer.canvas.addEventListener('mouseup', _self.tool.mouseup, false); profiler.stop('init'); }; function tool_pencil () { profiler.start('pencil.constructor'); var tool = this, context = _self.layer.context; this.started = false; this.mousedown = function (ev) { profiler.start('pencil.mousedown'); if (typeof ev.x_ == 'undefined') { if (typeof ev.layerX != 'undefined') { tool.x = ev.layerX; tool.y = ev.layerY; } else if (typeof ev.offsetX != 'undefined') { tool.x = ev.offsetX; tool.y = ev.offsetY; } } else { tool.x = ev.x_; tool.y = ev.y_; } tool.started = true; profiler.stop('pencil.mousedown'); }; this.mousemove = function (ev) { profiler.start('pencil.mousemove'); if (tool.started) { context.beginPath(); context.moveTo(tool.x, tool.y); if (typeof ev.x_ == 'undefined') { if (typeof ev.layerX != 'undefined') { context.lineTo(ev.layerX, ev.layerY); tool.x = ev.layerX; tool.y = ev.layerY; } else if (typeof ev.offsetX != 'undefined') { context.lineTo(ev.offsetX, ev.offsetY); tool.x = ev.offsetX; tool.y = ev.offsetY; } } else { context.lineTo(ev.x_, ev.y_); tool.x = ev.x_; tool.y = ev.y_; } context.stroke(); context.closePath(); } profiler.stop('pencil.mousemove'); }; this.mouseup = function (ev) { profiler.start('pencil.mouseup'); if (tool.started) { tool.mousemove(ev); tool.started = false; } profiler.stop('pencil.mouseup'); }; profiler.stop('pencil.constructor'); }; init(); })(); // vim:set spell spl=en fo=wan1croqlt tw=80 ts=2 sw=2 sts=2 sta et ai cin fenc=utf-8 ff=unix:
export default { fonts: { family: { base: "'Open Sans', Arial, sans-serif", fallback: "Arial, sans-serif" }, size: { normal: "14px", small: "12px", large: "16px" } }, colors: { text: "#242424", inversedText: "#EBEBEB", background: "#FFF", inversedLink: "#FFF", inversedLinkHover: "#23aef4", black: "#000" }, flexboxgrid: { // Defaults gutterWidth: 1, // rem outerMargin: 2, // rem container: { sm: 38, // rem md: 58, // rem lg: 72 // rem }, breakpoints: { xs: 10, // em sm: 40, // em md: 60, // em lg: 75 // em } }, spacing: { xs: "5px", sm: "10px", md: "15px" } };
var targetItem, FlyingItem, prevScroll= 0, enableScrolling = true, isOnTop = false; $(".ct-nav-main li").on("click", function(e){ e.preventDefault(); FlyingItem = $(this); switchActiveMenu(FlyingItem) }) var scrollPosition = [ self.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, self.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop ]; var html = jQuery('html'); // it would make more sense to apply this to body, but IE7 won't have that html.data('scroll-position', scrollPosition); html.data('previous-overflow', html.css('overflow')); html.css('overflow', 'hidden'); var unLockScroll = () => { var html = jQuery('html'); var scrollPosition = html.data('scroll-position'); html.css('overflow', html.data('previous-overflow')); } var switchActiveMenu = (FlyingItem) => { if(enableScrolling == true){ enableScrolling = false; if($('.active').is(':last-child')){ $('.active').css({"top": FlyingItem.offset().top+22}); }else{ $('.active').css({"top": FlyingItem.offset().top-4}); } $('.active').next().attr("style",""); $('.active').attr("style","").removeClass("active"); if(FlyingItem.is(':last-child')){ FlyingItem.addClass('active').css({"left":FlyingItem.offset().left, "margin-top": "-26px", "top": FlyingItem.offset().top-$(window).scrollTop()+22}); }else{ FlyingItem.addClass('active').css({"top": FlyingItem.offset().top - $(window).scrollTop() - 4}); } FlyingItem.css({"position":"fixed"}); var activMenuWidth = FlyingItem.width()+4.5; FlyingItem.next().css({"margin-left":activMenuWidth}); $(".section").first().css({"margin-top":$("header").outerHeight()}) $("header").css({"position": "fixed","width": "100%", "top":"0"}); FlyingItem.css({ "-webkit-transition": "all .5s ease", "transition": "all .5s ease"}); var itemWidth = FlyingItem.width(); targetItem = FlyingItem.find('a').attr("href").substring(1); FlyingItem.css({ "height": itemWidth+"px", "line-height": itemWidth+"px", "margin-top": -1*(itemWidth/2)+10+"px", "background": "rgb(254, 15, 87)", "border-radius": "100%", "border": "2px solid rgb(255, 255, 255)" }); var windowHeight = $(window).height(); var scrollTop = $(window).scrollTop(), elementOffset = $("#"+targetItem).offset().top, distance = (elementOffset - scrollTop); if(FlyingItem.is(":first-child")){ FlyingItem.css({ "margin-top": "0px", "top": $("#"+targetItem).offset().top - (itemWidth/2) }); setTimeout(function(){ FlyingItem.css({ "-webkit-transition": "all .3s ease", "transition": "all .3s ease"}); FlyingItem.css({"box-shadow": "0px 0px 0px 0px #000"}) },300); }else if(distance < $("header").outerHeight()){ FlyingItem.css({ "margin-top": "0px", "top": $("header").outerHeight()-(itemWidth/2) }); }else if(distance < windowHeight){ FlyingItem.css({ "margin-top": "0px", "top": distance-(itemWidth/2) }); }else{ FlyingItem.css({ "margin-top": "0px", "top": windowHeight-itemWidth-20+"px" }); } FlyingItem.css({"box-shadow": "0px 0px 7px 2px #000"}) setTimeout(function(){ if (targetItem.length > 0) { var scroll =$("#"+targetItem).offset().top-$("header").outerHeight(); $('html, body').animate({ scrollTop: scroll }, 500); } },300); setTimeout(function(){ FlyingItem.css({ "-webkit-transition": "all .5s ease", "transition": "all .5s ease"}); FlyingItem.css({"box-shadow": "0px 0px 0px 0px #000"}); enableScrolling= true; prevScroll = $('body').scrollTop(); },1000); } } //init scroll position and first active itemWidth switchActiveMenu($('nav li:first-child')); isOnTop= true; var changetouch = 0; $(window).on("touchstart",function(e){ console.log(e); var elHeight = e.target.clientHeight - $(e.target).parent(".section").height(); if($(e.target).hasClass("section") || elHeight < 0){ e.preventDefault(); changetouch = e.originalEvent.changedTouches[0].clientY }else{ changetouch = 0 } }); $(window).on("touchend",function(e){ console.log(e); if(changetouch !== 0){ var clY = e.originalEvent.changedTouches[0].clientY - changetouch; console.log(e.target.clientHeight) console.log( e.target.clientHeight - $(e.target).parent(".section").height()) e.preventDefault(); if(clY > 0 && $("nav li.active").prev().length > 0){ FlyingItem = $("nav li.active").prev(); switchActiveMenu(FlyingItem); } else if (clY < 0 && $($("nav li.active").next()[0]).length > 0){ FlyingItem = $($("nav li.active").next()[0]); switchActiveMenu(FlyingItem); } } }); $("body").on("DOMMouseScroll mousewheel wheel",function(e){ var sp = st = true if($(e.target).parent(".section").length != 0){ var scrollTop = $(window).scrollTop(), elementOffset = $(e.target).offset().top, distance = (elementOffset - scrollTop); var scrollTop2 = $(window).scrollTop(), elementOffset2 = $(e.target).parent(".section").find(":first-child").offset().top - parseInt($(e.target).parent(".section").css("padding-top")), distanceParent = (elementOffset2 - scrollTop); var T = e.target.clientHeight - Math.abs(distance) - $("header").outerHeight(); var el = $(e.target).parent(".section").children(); var childrenHeight = 0; el.each(function(){childrenHeight = childrenHeight + $(this).height()}); var elHeight = childrenHeight - $(e.target).parent(".section").height(); sp = (T < $("#blueprints").outerHeight() + 10), st = (0 <= (distanceParent - $("header").outerHeight()) && (distanceParent - $("header").outerHeight()) < 1); } if(enableScrolling == true){ if(e.originalEvent.deltaY > 0 && $($("nav li.active").next()[0]).length > 0 && ($(e.target).hasClass("section") || elHeight < 0 || sp)){ FlyingItem = $($("nav li.active").next()[0]); switchActiveMenu(FlyingItem); } else if (e.originalEvent.deltaY < 0 && $("nav li.active").prev().length > 0 && ($(e.target).hasClass("section") || elHeight < 0 || st)){ FlyingItem = $("nav li.active").prev(); switchActiveMenu(FlyingItem); } } }); $(window).scroll(function(e){ if(targetItem && isOnTop == true){ var scrollTop = $(window).scrollTop(), elementOffset = $("#"+targetItem).offset().top, distance = (elementOffset - scrollTop); if($(window).height()-FlyingItem.width() >= distance && distance > $("header").outerHeight()){ FlyingItem.css({ "-webkit-transition": "all 0s ease", "transition": "all 0s ease"}); FlyingItem.css({"top": distance-56}) } } });
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import ReactPaginate from 'react-paginate'; import $ from 'jquery'; window.React = React; export class CommentList extends Component { render() { let commentNodes = this.props.data.map(function(comment, index) { return ( <div key={index}>{comment.comment}</div> ); }); return ( <div id="project-comments" className="commentList"> <ul> {commentNodes} </ul> </div> ); } }; export class App extends Component { constructor(props) { super(props); this.state = { data: [], offset: 0 } } loadCommentsFromServer() { $.ajax({ url : this.props.url, data : {limit: this.props.perPage, offset: this.state.offset}, dataType : 'json', type : 'GET', success: data => { this.setState({data: data.comments, pageCount: Math.ceil(data.meta.total_count / data.meta.limit)}); }, error: (xhr, status, err) => { console.error(this.props.url, status, err.toString()); } }); } componentDidMount() { this.loadCommentsFromServer(); } handlePageClick = (data) => { let selected = data.selected; let offset = Math.ceil(selected * this.props.perPage); this.setState({offset: offset}, () => { this.loadCommentsFromServer(); }); }; render() { return ( <div className="commentBox"> <CommentList data={this.state.data} /> <ReactPaginate previousLabel={"previous"} nextLabel={"next"} breakLabel={<a href="">...</a>} breakClassName={"break-me"} pageCount={this.state.pageCount} marginPagesDisplayed={2} pageRangeDisplayed={5} onPageChange={this.handlePageClick} containerClassName={"pagination"} subContainerClassName={"pages pagination"} activeClassName={"active"} /> </div> ); } }; ReactDOM.render( <App url={'http://localhost:3000/comments'} author={'adele'} perPage={10} />, document.getElementById('react-paginate') );
import Item from './index.vue' Item.install = function (Vue) { Vue.component(Item.name, Item) } export default Item
import { TestId, getSelector } from '../../../webapp/utils/testId' import { user, user2 } from '../mock/user' import { gotoUserList, gotoHome } from './_navigation' const expectUsers = (users) => { test(`Verify users to be ${users.length}`, async () => { const rowsSelector = getSelector(TestId.table.rows(TestId.userList.users)) await page.waitForSelector(rowsSelector) const rows = await page.$$(`${rowsSelector} div.table__row`) await expect(rows.length).toBe(users.length) }) test.each(users)(`Verify user %p`, async (email, group) => { const emailSelector = `${getSelector(TestId.userList.email)}[data-value="${email}"]` const groupSelector = `${getSelector(TestId.userList.authGroup)}` const groupEl = await page.waitForSelector(`${emailSelector} + ${groupSelector}`) await expect(await groupEl.getAttribute('data-value')).toBe(group) }) } const inviteUser = (userToInvite) => test(`Invite user`, async () => { await page.click(getSelector(TestId.userList.inviteBtn, 'a')) await page.fill(getSelector(TestId.userInvite.email, 'input'), userToInvite.email) await page.click(getSelector(TestId.dropdown.toggleBtn(TestId.userInvite.group), 'button')) await page.click(`text="${userToInvite.authGroup.label}"`) await Promise.all([ page.waitForNavigation(), page.waitForResponse('**/users/invite'), page.click(getSelector(TestId.userInvite.submitBtn, 'button')), ]) }) export default () => describe('User invite', () => { gotoUserList() expectUsers([[user.email, user.authGroup.key]]) inviteUser(user2) expectUsers([ [user.email, user.authGroup.key], [user2.email, user2.authGroup.key], ]) gotoHome() })
export { default } from './Barge'
import React, { Component } from 'react'; import HeaderJumbotron from './containers/header_jumbotron'; import NavMenu from './containers/nav_menu'; import ArticleRouter from './components/article_router'; import FooterBanners from './containers/footer_banners'; import Blurb from './containers/blurb'; // App is a class component to allow it to hold state class App extends Component { render() { return( <div className="App Theme"> <HeaderJumbotron /> <NavMenu /> <ArticleRouter /> <FooterBanners /> <Blurb /> </div> ); } } export default App;
/* @flow */ import React from 'react'; import Hello from './es6class-types-module'; import type {Node} from 'react'; type Props = {name: string}; class HelloLocal extends React.Component<Props> { render(): Node { return <div>{this.props.name}</div>; } } class Callsite extends React.Component<Props> { render(): Node { return ( <div> <Hello /> <HelloLocal /> </div> ); } } module.exports = Callsite;
module.exports = function(grunt) { // 1. All configuration goes here grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), banner: '\n /* \n * PikadayResponsive \n * A responsive datepicker built on top of Pikaday. It shows the native datepicker on mobile devices and a nice JS-picker on desktop. \n * \n * @author: Francesco Novy \n * @licence: MIT <http://www.opensource.org/licenses/mit-license.php> \n * @link https://github.com/mydea/PikadayResponsive \n * @copyright: (c) <%= grunt.template.today("yyyy") %> \n * @version: <%= pkg.version %> \n */ \n\n', modernizr: { dist: { 'dest': 'dist/dependencies/pikaday-responsive-modernizr.js', 'tests': [ 'inputtypes', 'touchevents' ], 'options': [ 'setClasses' ], 'crawl': false, 'uglify': true } }, cssmin: { minify: { files: { 'dist/pikaday-responsive.min.css': ['dist/pikaday-responsive.css'], 'dist/pikaday-package.min.css': ['dist/pikaday-package.css'], 'dist/dependencies/pikaday.min.css': ['dist/dependencies/pikaday.css'] } } }, uglify: { options: { mangle: false }, pikadayResponsive: { options: { banner: '<%= banner %>' }, files: { 'dist/pikaday-responsive.min.js': ['dist/pikaday-responsive.js'], 'dist/pikaday-package.min.js': ['dist/pikaday-package.js'] } }, vendor: { files: { 'dist/pikaday-responsive.min.js': ['dist/pikaday-responsive.js'], 'dist/dependencies/pikaday.min.js': ['dist/dependencies/pikaday.js'] } } }, concat: { lib: { options: { banner: '<%= banner %>' }, src: ['src/pikaday-responsive.js'], dest: 'dist/pikaday-responsive.js' }, dependencies: { files: { 'dist/dependencies/pikaday.js': ['bower_components/pikaday/pikaday.js'], 'dist/dependencies/pikaday.css': ['bower_components/pikaday/css/pikaday.css'], 'dist/dependencies/moment.js': ['bower_components/momentjs/moment.js'], 'dist/dependencies/moment.min.js': ['bower_components/momentjs/min/moment.min.js'], 'dist/dependencies/jquery.min.js': ['bower_components/jquery/dist/jquery.min.js'] } }, app: { options: { banner: '<%= banner %>' }, src: ['dist/dependencies/moment.js', 'dist/dependencies/pikaday.js', 'dist/pikaday-responsive.js'], dest: 'dist/pikaday-package.js' }, css: { src: ['dist/dependencies/pikaday.css', 'dist/pikaday-responsive.css'], dest: 'dist/pikaday-package.css' } }, sass: { dist: { options: { style: 'expanded', sourcemap: 'none' }, files: { 'dist/pikaday-responsive.css': 'src/css/scss/pikaday-responsive.scss' } } }, 'bower-install-simple': { options: { color: true }, 'prod': { options: { production: true } }, 'dev': { options: { production: false } } }, 'bower-update': { options: { pickAll: true, filter: function(package, options) { if (package.name.indexOf('jquery') === 0) { return false } return true }, rangeChar: '~' } } }); // 3. Where we tell Grunt we plan to use this plug-in. grunt.loadNpmTasks('grunt-modernizr'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-bower-install-simple'); grunt.loadNpmTasks('grunt-bower-update'); // 4. Where we tell Grunt what to do when we type 'grunt' into the terminal. grunt.registerTask('default', ['bower-update', 'bower-install-simple:prod', 'sass', 'concat', 'uglify', 'cssmin', 'modernizr']); };
"use strict"; var $ = require("../core/renderer"), Editor = require("./editor/editor"), registerComponent = require("../core/component_registrator"), extend = require("../core/utils/extend").extend, fx = require("../animation/fx"); var TRACKBAR_CLASS = "dx-trackbar", TRACKBAR_CONTAINER_CLASS = "dx-trackbar-container", TRACKBAR_RANGE_CLASS = "dx-trackbar-range", TRACKBAR_WRAPPER_CLASS = "dx-trackbar-wrapper"; /** * @name dxTrackBar * @publicName dxTrackBar * @inherits Editor * @hidden */ var TrackBar = Editor.inherit({ _getDefaultOptions: function() { return extend(this.callBase(), { /** * @name dxTrackBarOptions_min * @publicName min * @type number * @default 0 */ min: 0, /** * @name dxTrackBarOptions_max * @publicName max * @type number * @default 100 */ max: 100, value: 0 }); }, _render: function() { this.$element().addClass(TRACKBAR_CLASS); this._renderWrapper(); this._renderContainer(); this._renderRange(); this._renderValue(); this.callBase(); }, _renderWrapper: function() { this._$wrapper = $("<div>") .addClass(TRACKBAR_WRAPPER_CLASS) .appendTo(this.$element()); }, _renderContainer: function() { this._$bar = $("<div>") .addClass(TRACKBAR_CONTAINER_CLASS) .appendTo(this._$wrapper); }, _renderRange: function() { this._$range = $("<div>") .addClass(TRACKBAR_RANGE_CLASS) .appendTo(this._$bar); }, _renderValue: function() { var val = this.option("value"), min = this.option("min"), max = this.option("max"); if(min > max) { return; } if(val < min) { this.option("value", min); this._currentRatio = 0; return; } if(val > max) { this.option("value", max); this._currentRatio = 1; return; } var ratio = (min === max) ? 0 : (val - min) / (max - min); !this._needPreventAnimation && this._setRangeStyles({ width: ratio * 100 + "%" }); this.setAria({ "valuemin": this.option("min"), "valuemax": max, "valuenow": val }); this._currentRatio = ratio; }, _setRangeStyles: function(options) { fx.stop(this._$range); if(!this._needPreventAnimation) { fx.animate(this._$range, { type: "custom", duration: 100, to: options }); } }, _optionChanged: function(args) { switch(args.name) { case "value": this._renderValue(); this.callBase(args); break; case "max": case "min": this._renderValue(); break; default: this.callBase(args); } }, _dispose: function() { fx.stop(this._$range); this.callBase(); } }); registerComponent("dxTrackBar", TrackBar); module.exports = TrackBar;
module.exports={A:{A:{"2":"I D F E A B pB"},B:{"2":"C N O Q J K L","129":"b KB NB R S T M V W G bB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 YB H c I D F E A B C N O Q J K L d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB eB IB TB P LB MB X OB PB QB RB JB HB a Z UB VB WB XB SB b KB NB oB R S T M V W G wB zB","2":"iB"},D:{"2":"H c I D F E A B C","129":"0 1 2 3 4 5 6 7 8 9 N O Q J K L d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB eB IB TB P LB MB X OB PB QB RB JB HB a Z UB VB WB XB SB b KB NB R S T M V W G bB 1B fB gB"},E:{"2":"H c I D F E A B C N O hB ZB jB kB lB mB aB Y U qB rB"},F:{"2":"E B sB tB uB vB Y cB","129":"0 1 2 3 4 5 6 7 8 9 C Q J K L d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB IB P LB MB X OB PB QB RB JB HB a Z xB U"},G:{"2":"F ZB yB dB 0B ZC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC"},H:{"2":"HC"},I:{"2":"YB H G IC JC KC LC dB MC NC"},J:{"2":"D","129":"A"},K:{"2":"A B C P Y cB U"},L:{"2":"G"},M:{"2":"M"},N:{"2":"A B"},O:{"2":"OC"},P:{"2":"H PC QC RC SC TC aB UC VC WC"},Q:{"2":"XC"},R:{"2":"YC"},S:{"2":"nB"}},B:1,C:"Custom protocol handling"};
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require("babel-runtime/helpers/extends"); var _extends3 = _interopRequireDefault(_extends2); var _react = require("react"); var _react2 = _interopRequireDefault(_react); var _propTypes = require("prop-types"); var _propTypes2 = _interopRequireDefault(_propTypes); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function URLWidget(props) { var BaseInput = props.registry.widgets.BaseInput; return _react2.default.createElement(BaseInput, (0, _extends3.default)({ type: "url" }, props)); } if (process.env.NODE_ENV !== "production") { URLWidget.propTypes = { value: _propTypes2.default.string }; } exports.default = URLWidget;
'use strict'; var should = require('should'), request = require('supertest'), app = require('../../server'), mongoose = require('mongoose'), User = mongoose.model('User'), Qrpoint = mongoose.model('Qrpoint'), agent = request.agent(app); /** * Globals */ var credentials, user, qrpoint; /** * Qrpoint routes tests */ describe('Qrpoint CRUD tests', function() { beforeEach(function(done) { // Create user credentials credentials = { username: 'username', password: 'password' }; // Create a new user user = new User({ firstName: 'Full', lastName: 'Name', displayName: 'Full Name', email: 'test@test.com', username: credentials.username, password: credentials.password, provider: 'local' }); // Save a user to the test db and create new Qrpoint user.save(function() { qrpoint = { name: 'Qrpoint Name' }; done(); }); }); it('should be able to save Qrpoint instance if logged in', function(done) { agent.post('/auth/signin') .send(credentials) .expect(200) .end(function(signinErr, signinRes) { // Handle signin error if (signinErr) done(signinErr); // Get the userId var userId = user.id; // Save a new Qrpoint agent.post('/qrpoints') .send(qrpoint) .expect(200) .end(function(qrpointSaveErr, qrpointSaveRes) { // Handle Qrpoint save error if (qrpointSaveErr) done(qrpointSaveErr); // Get a list of Qrpoints agent.get('/qrpoints') .end(function(qrpointsGetErr, qrpointsGetRes) { // Handle Qrpoint save error if (qrpointsGetErr) done(qrpointsGetErr); // Get Qrpoints list var qrpoints = qrpointsGetRes.body; // Set assertions (qrpoints[0].user._id).should.equal(userId); (qrpoints[0].name).should.match('Qrpoint Name'); // Call the assertion callback done(); }); }); }); }); it('should not be able to save Qrpoint instance if not logged in', function(done) { agent.post('/qrpoints') .send(qrpoint) .expect(401) .end(function(qrpointSaveErr, qrpointSaveRes) { // Call the assertion callback done(qrpointSaveErr); }); }); it('should not be able to save Qrpoint instance if no name is provided', function(done) { // Invalidate name field qrpoint.name = ''; agent.post('/auth/signin') .send(credentials) .expect(200) .end(function(signinErr, signinRes) { // Handle signin error if (signinErr) done(signinErr); // Get the userId var userId = user.id; // Save a new Qrpoint agent.post('/qrpoints') .send(qrpoint) .expect(400) .end(function(qrpointSaveErr, qrpointSaveRes) { // Set message assertion (qrpointSaveRes.body.message).should.match('Please fill Qrpoint name'); // Handle Qrpoint save error done(qrpointSaveErr); }); }); }); it('should be able to update Qrpoint instance if signed in', function(done) { agent.post('/auth/signin') .send(credentials) .expect(200) .end(function(signinErr, signinRes) { // Handle signin error if (signinErr) done(signinErr); // Get the userId var userId = user.id; // Save a new Qrpoint agent.post('/qrpoints') .send(qrpoint) .expect(200) .end(function(qrpointSaveErr, qrpointSaveRes) { // Handle Qrpoint save error if (qrpointSaveErr) done(qrpointSaveErr); // Update Qrpoint name qrpoint.name = 'WHY YOU GOTTA BE SO MEAN?'; // Update existing Qrpoint agent.put('/qrpoints/' + qrpointSaveRes.body._id) .send(qrpoint) .expect(200) .end(function(qrpointUpdateErr, qrpointUpdateRes) { // Handle Qrpoint update error if (qrpointUpdateErr) done(qrpointUpdateErr); // Set assertions (qrpointUpdateRes.body._id).should.equal(qrpointSaveRes.body._id); (qrpointUpdateRes.body.name).should.match('WHY YOU GOTTA BE SO MEAN?'); // Call the assertion callback done(); }); }); }); }); it('should be able to get a list of Qrpoints if not signed in', function(done) { // Create new Qrpoint model instance var qrpointObj = new Qrpoint(qrpoint); // Save the Qrpoint qrpointObj.save(function() { // Request Qrpoints request(app).get('/qrpoints') .end(function(req, res) { // Set assertion res.body.should.be.an.Array.with.lengthOf(1); // Call the assertion callback done(); }); }); }); it('should be able to get a single Qrpoint if not signed in', function(done) { // Create new Qrpoint model instance var qrpointObj = new Qrpoint(qrpoint); // Save the Qrpoint qrpointObj.save(function() { request(app).get('/qrpoints/' + qrpointObj._id) .end(function(req, res) { // Set assertion res.body.should.be.an.Object.with.property('name', qrpoint.name); // Call the assertion callback done(); }); }); }); it('should be able to delete Qrpoint instance if signed in', function(done) { agent.post('/auth/signin') .send(credentials) .expect(200) .end(function(signinErr, signinRes) { // Handle signin error if (signinErr) done(signinErr); // Get the userId var userId = user.id; // Save a new Qrpoint agent.post('/qrpoints') .send(qrpoint) .expect(200) .end(function(qrpointSaveErr, qrpointSaveRes) { // Handle Qrpoint save error if (qrpointSaveErr) done(qrpointSaveErr); // Delete existing Qrpoint agent.delete('/qrpoints/' + qrpointSaveRes.body._id) .send(qrpoint) .expect(200) .end(function(qrpointDeleteErr, qrpointDeleteRes) { // Handle Qrpoint error error if (qrpointDeleteErr) done(qrpointDeleteErr); // Set assertions (qrpointDeleteRes.body._id).should.equal(qrpointSaveRes.body._id); // Call the assertion callback done(); }); }); }); }); it('should not be able to delete Qrpoint instance if not signed in', function(done) { // Set Qrpoint user qrpoint.user = user; // Create new Qrpoint model instance var qrpointObj = new Qrpoint(qrpoint); // Save the Qrpoint qrpointObj.save(function() { // Try deleting Qrpoint request(app).delete('/qrpoints/' + qrpointObj._id) .expect(401) .end(function(qrpointDeleteErr, qrpointDeleteRes) { // Set message assertion (qrpointDeleteRes.body.message).should.match('User is not logged in'); // Handle Qrpoint error error done(qrpointDeleteErr); }); }); }); afterEach(function(done) { User.remove().exec(); Qrpoint.remove().exec(); done(); }); });
const path = require("path"); const withPlugins = require("next-compose-plugins"); const cssPlugin = require("@zeit/next-css"); const typescriptPlugin = require("@zeit/next-typescript"); const bundleAnalyzerPlugin = require("@zeit/next-bundle-analyzer"); const lessPlugin = require("@zeit/next-less"); const optimizeImagesPlugin = require("next-optimized-images"); const nextConfig = require("./next.base.config"); const webpackConfig = { webpack: (config, options) => { config.resolve.alias = { "../../theme.config$": path.join(__dirname, "skrop_theme/theme.config"), "ui-components": path.join(__dirname, "ui-components"), models: path.join(__dirname, "models"), static: path.join(__dirname, "static") }; config.module.rules.push({ test: /\.(eot|otf|ttf|woff|woff2)$/, use: { loader: "url-loader", options: { limit: 8192, publicPath: "./", outputPath: "static/css/", name: "[name].[ext]" } } }); return config; } }; module.exports = withPlugins( [ typescriptPlugin, cssPlugin, lessPlugin, optimizeImagesPlugin, [ bundleAnalyzerPlugin, { analyzeServer: ["server", "both"].includes(process.env.BUNDLE_ANALYZE), analyzeBrowser: ["browser", "both"].includes( process.env.BUNDLE_ANALYZE ), bundleAnalyzerConfig: { server: { analyzerMode: "static", reportFilename: "../bundles/server.html" }, browser: { analyzerMode: "static", reportFilename: "./bundles/client.html" } } } ] ], Object.assign({}, nextConfig, webpackConfig) );
// automatically generated by the FlatBuffers compiler, do not modify /** * @const * @namespace */ var MNN = MNN || {}; /** * @enum {number} */ MNN.NetSource = { CAFFE: 0, TENSORFLOW: 1, TFLITE: 2, ONNX: 3 }; /** * @enum {string} */ MNN.NetSourceName = { '0': 'CAFFE', '1': 'TENSORFLOW', '2': 'TFLITE', '3': 'ONNX' }; /** * @enum {number} */ MNN.DataType = { DT_INVALID: 0, DT_FLOAT: 1, DT_DOUBLE: 2, DT_INT32: 3, DT_UINT8: 4, DT_INT16: 5, DT_INT8: 6, DT_STRING: 7, DT_COMPLEX64: 8, DT_INT64: 9, DT_BOOL: 10, DT_QINT8: 11, DT_QUINT8: 12, DT_QINT32: 13, DT_BFLOAT16: 14, DT_QINT16: 15, DT_QUINT16: 16, DT_UINT16: 17, DT_COMPLEX128: 18, DT_HALF: 19, DT_RESOURCE: 20, DT_VARIANT: 21 }; /** * @enum {string} */ MNN.DataTypeName = { '0': 'DT_INVALID', '1': 'DT_FLOAT', '2': 'DT_DOUBLE', '3': 'DT_INT32', '4': 'DT_UINT8', '5': 'DT_INT16', '6': 'DT_INT8', '7': 'DT_STRING', '8': 'DT_COMPLEX64', '9': 'DT_INT64', '10': 'DT_BOOL', '11': 'DT_QINT8', '12': 'DT_QUINT8', '13': 'DT_QINT32', '14': 'DT_BFLOAT16', '15': 'DT_QINT16', '16': 'DT_QUINT16', '17': 'DT_UINT16', '18': 'DT_COMPLEX128', '19': 'DT_HALF', '20': 'DT_RESOURCE', '21': 'DT_VARIANT' }; /** * @enum {number} */ MNN.MNN_DATA_FORMAT = { NCHW: 0, NHWC: 1, NC4HW4: 2, NHWC4: 3, UNKNOWN: 4 }; /** * @enum {string} */ MNN.MNN_DATA_FORMATName = { '0': 'NCHW', '1': 'NHWC', '2': 'NC4HW4', '3': 'NHWC4', '4': 'UNKNOWN' }; /** * @enum {number} */ MNN.PadMode = { CAFFE: 0, VALID: 1, SAME: 2 }; /** * @enum {string} */ MNN.PadModeName = { '0': 'CAFFE', '1': 'VALID', '2': 'SAME' }; /** * @enum {number} */ MNN.PoolType = { MAXPOOL: 0, AVEPOOL: 1 }; /** * @enum {string} */ MNN.PoolTypeName = { '0': 'MAXPOOL', '1': 'AVEPOOL' }; /** * @enum {number} */ MNN.PoolPadType = { CAFFE: 0, VALID: 1, SAME: 2 }; /** * @enum {string} */ MNN.PoolPadTypeName = { '0': 'CAFFE', '1': 'VALID', '2': 'SAME' }; /** * @enum {number} */ MNN.EltwiseType = { PROD: 0, SUM: 1, MAXIMUM: 2, SUB: 3 }; /** * @enum {string} */ MNN.EltwiseTypeName = { '0': 'PROD', '1': 'SUM', '2': 'MAXIMUM', '3': 'SUB' }; /** * @enum {number} */ MNN.BinaryOpOperation = { ADD: 0, SUB: 1, MUL: 2, DIV: 3, MAX_TEMP: 4, MIN_TEMP: 5, POW: 6, REALDIV: 7, MINIMUM: 8, MAXIMUM: 9, GREATER: 10, GREATER_EQUAL: 11, LESS: 12, FLOORDIV: 13, SquaredDifference: 14, EQUAL: 15, LESS_EQUAL: 16, FLOORMOD: 17, MOD: 19, ATAN2: 20, LOGICALOR: 21, NOTEQUAL: 22 }; /** * @enum {string} */ MNN.BinaryOpOperationName = { '0': 'ADD', '1': 'SUB', '2': 'MUL', '3': 'DIV', '4': 'MAX_TEMP', '5': 'MIN_TEMP', '6': 'POW', '7': 'REALDIV', '8': 'MINIMUM', '9': 'MAXIMUM', '10': 'GREATER', '11': 'GREATER_EQUAL', '12': 'LESS', '13': 'FLOORDIV', '14': 'SquaredDifference', '15': 'EQUAL', '16': 'LESS_EQUAL', '17': 'FLOORMOD', '19': 'MOD', '20': 'ATAN2', '21': 'LOGICALOR', '22': 'NOTEQUAL' }; /** * @enum {number} */ MNN.ReductionType = { SUM: 0, ASUM: 1, SUMSQ: 2, MEAN: 3, MAXIMUM: 4, MINIMUM: 5, PROD: 6, ANY: 7, ALL: 8 }; /** * @enum {string} */ MNN.ReductionTypeName = { '0': 'SUM', '1': 'ASUM', '2': 'SUMSQ', '3': 'MEAN', '4': 'MAXIMUM', '5': 'MINIMUM', '6': 'PROD', '7': 'ANY', '8': 'ALL' }; /** * @enum {number} */ MNN.UnaryOpOperation = { ABS: 0, NEG: 1, FLOOR: 2, CEIL: 3, SQUARE: 4, SQRT: 5, RSQRT: 6, EXP: 7, LOG: 8, SIN: 9, COS: 10, TAN: 11, ASIN: 12, ACOS: 13, ATAN: 14, RECIPROCAL: 15, LOG1P: 16, BNLL: 17, ACOSH: 18, SINH: 19, ASINH: 20, ATANH: 21, SIGN: 22, ROUND: 23, COSH: 24, ERF: 25, ERFC: 26, ERFINV: 27, EXPM1: 28 }; /** * @enum {string} */ MNN.UnaryOpOperationName = { '0': 'ABS', '1': 'NEG', '2': 'FLOOR', '3': 'CEIL', '4': 'SQUARE', '5': 'SQRT', '6': 'RSQRT', '7': 'EXP', '8': 'LOG', '9': 'SIN', '10': 'COS', '11': 'TAN', '12': 'ASIN', '13': 'ACOS', '14': 'ATAN', '15': 'RECIPROCAL', '16': 'LOG1P', '17': 'BNLL', '18': 'ACOSH', '19': 'SINH', '20': 'ASINH', '21': 'ATANH', '22': 'SIGN', '23': 'ROUND', '24': 'COSH', '25': 'ERF', '26': 'ERFC', '27': 'ERFINV', '28': 'EXPM1' }; /** * @enum {number} */ MNN.CropAndResizeMethod = { BILINEAR: 0, NEAREST: 1 }; /** * @enum {string} */ MNN.CropAndResizeMethodName = { '0': 'BILINEAR', '1': 'NEAREST' }; /** * @enum {number} */ MNN.PadValueMode = { CONSTANT: 0, REFLECT: 1, SYMMETRIC: 2 }; /** * @enum {string} */ MNN.PadValueModeName = { '0': 'CONSTANT', '1': 'REFLECT', '2': 'SYMMETRIC' }; /** * @enum {number} */ MNN.FusedActivation = { kTfLiteActNone: 0, kTfLiteActRelu: 1, kTfLiteActRelu1: 2, kTfLiteActRelu6: 3, kTfLiteActTanh: 4, kTfLiteActSignBit: 5, kTfLiteActSigmoid: 6 }; /** * @enum {string} */ MNN.FusedActivationName = { '0': 'kTfLiteActNone', '1': 'kTfLiteActRelu', '2': 'kTfLiteActRelu1', '3': 'kTfLiteActRelu6', '4': 'kTfLiteActTanh', '5': 'kTfLiteActSignBit', '6': 'kTfLiteActSigmoid' }; /** * @enum {number} */ MNN.ModeFormat = { TENSORFLOW: 0, TFLITE: 1 }; /** * @enum {string} */ MNN.ModeFormatName = { '0': 'TENSORFLOW', '1': 'TFLITE' }; /** * @enum {number} */ MNN.QuantizeMode = { MIN_COMBINED: 0, MIN_FIRST: 1, SCALED: 2 }; /** * @enum {string} */ MNN.QuantizeModeName = { '0': 'MIN_COMBINED', '1': 'MIN_FIRST', '2': 'SCALED' }; /** * @enum {number} */ MNN.QuantizeRoundMode = { HALF_AWAY_FROM_ZERO: 0, HALF_TO_EVEN: 1 }; /** * @enum {string} */ MNN.QuantizeRoundModeName = { '0': 'HALF_AWAY_FROM_ZERO', '1': 'HALF_TO_EVEN' }; /** * @enum {number} */ MNN.STORAGE_TYPE = { BUFFER: 0, UNIFORM: 1, IMAGE: 2 }; /** * @enum {string} */ MNN.STORAGE_TYPEName = { '0': 'BUFFER', '1': 'UNIFORM', '2': 'IMAGE' }; /** * @enum {number} */ MNN.ACCESS_TYPE = { READ_ONLY: 0, WRITE_ONLY: 1, READ_WRITE: 2 }; /** * @enum {string} */ MNN.ACCESS_TYPEName = { '0': 'READ_ONLY', '1': 'WRITE_ONLY', '2': 'READ_WRITE' }; /** * @enum {number} */ MNN.OpType = { AbsVal: 0, QuantizedAdd: 1, ArgMax: 2, AsString: 3, InstanceNorm: 4, BatchToSpaceND: 5, Bias: 6, BinaryOp: 7, Bnll: 8, Cast: 9, Concat: 10, Const: 11, Convolution: 12, ConvolutionDepthwise: 13, Crop: 14, CropAndResize: 15, Cubic: 16, Deconvolution: 17, DeconvolutionDepthwise: 18, Dequantize: 19, DetectionOutput: 20, Dropout: 21, Eltwise: 22, ELU: 23, Embed: 24, Exp: 25, ExpandDims: 26, Fill: 27, Flatten: 28, FloorMod: 29, Gather: 30, GatherV2: 31, Im2Seq: 32, InnerProduct: 33, Input: 34, Interp: 35, Log: 36, LRN: 37, LSTM: 38, MatMul: 39, MVN: 40, NonMaxSuppression: 41, NonMaxSuppressionV2: 42, Normalize: 43, Pack: 44, Padding: 45, Permute: 46, Pooling: 47, Power: 48, PReLU: 49, PriorBox: 50, Proposal: 51, QuantizedAvgPool: 52, QuantizedBiasAdd: 53, QuantizedConcat: 54, QuantizedDepthwiseConv2D: 55, QuantizedLogistic: 56, QuantizedMatMul: 57, QuantizedMaxPool: 58, QuantizedRelu: 59, QuantizedRelu6: 60, QuantizedReshape: 61, QuantizedSoftmax: 62, QuantizeMaxMin: 63, QuantizeV2: 64, Range: 65, Rank: 66, ReduceJoin: 67, Reduction: 68, ReLU: 69, ReLU6: 70, RequantizationRange: 71, Requantize: 72, Reshape: 73, Resize: 74, RNN: 75, ROIPooling: 76, Scale: 77, Selu: 78, Seq2Out: 79, Shape: 80, Sigmoid: 81, Size: 82, Slice: 83, SliceTf: 84, Softmax: 85, SpaceToBatchND: 86, SpatialProduct: 87, Split: 88, SPP: 89, Squeeze: 90, StridedSlice: 91, StringJoin: 92, StringSplit: 93, StringToNumber: 94, TanH: 95, TfQuantizedConv2D: 96, Threshold: 97, Tile: 98, TopKV2: 99, Transpose: 100, UnaryOp: 101, Unpack: 102, Where: 103, Moments: 104, RNNSequenceGRU: 105, BatchMatMul: 106, Unsqueeze: 107, CosineSimilarity: 108, DepthToSpace: 109, SpaceToDepth: 110, ReverseSequence: 111, Pooling3D: 112, Convolution3D: 113, MatrixBandPart: 114, GatherND: 115, DetectionPostProcess: 116, UnravelIndex: 117, ScatterNd: 118, OneHot: 119, BroadcastTo: 120, Dilation2D: 121, MaxLayerCount: 128, ConvertTensor: 129, ArgMin: 130, LinSpace: 131, Plugin: 256, Select: 257, ZerosLike: 258, Broastcast: 259, SetDiff1D: 260, ReluGrad: 261, Relu6Grad: 262, PoolGrad: 263, SoftmaxGrad: 264, Conv2DBackPropFilter: 265, TrainableParam: 266, BatchNorm: 267, ZeroGrad: 268, Extra: 512, ConvInt8: 513, Int8ToFloat: 514, DepthwiseConvInt8: 515, PoolInt8: 516, FloatToInt8: 517, EltwiseInt8: 518 }; /** * @enum {string} */ MNN.OpTypeName = { '0': 'AbsVal', '1': 'QuantizedAdd', '2': 'ArgMax', '3': 'AsString', '4': 'InstanceNorm', '5': 'BatchToSpaceND', '6': 'Bias', '7': 'BinaryOp', '8': 'Bnll', '9': 'Cast', '10': 'Concat', '11': 'Const', '12': 'Convolution', '13': 'ConvolutionDepthwise', '14': 'Crop', '15': 'CropAndResize', '16': 'Cubic', '17': 'Deconvolution', '18': 'DeconvolutionDepthwise', '19': 'Dequantize', '20': 'DetectionOutput', '21': 'Dropout', '22': 'Eltwise', '23': 'ELU', '24': 'Embed', '25': 'Exp', '26': 'ExpandDims', '27': 'Fill', '28': 'Flatten', '29': 'FloorMod', '30': 'Gather', '31': 'GatherV2', '32': 'Im2Seq', '33': 'InnerProduct', '34': 'Input', '35': 'Interp', '36': 'Log', '37': 'LRN', '38': 'LSTM', '39': 'MatMul', '40': 'MVN', '41': 'NonMaxSuppression', '42': 'NonMaxSuppressionV2', '43': 'Normalize', '44': 'Pack', '45': 'Padding', '46': 'Permute', '47': 'Pooling', '48': 'Power', '49': 'PReLU', '50': 'PriorBox', '51': 'Proposal', '52': 'QuantizedAvgPool', '53': 'QuantizedBiasAdd', '54': 'QuantizedConcat', '55': 'QuantizedDepthwiseConv2D', '56': 'QuantizedLogistic', '57': 'QuantizedMatMul', '58': 'QuantizedMaxPool', '59': 'QuantizedRelu', '60': 'QuantizedRelu6', '61': 'QuantizedReshape', '62': 'QuantizedSoftmax', '63': 'QuantizeMaxMin', '64': 'QuantizeV2', '65': 'Range', '66': 'Rank', '67': 'ReduceJoin', '68': 'Reduction', '69': 'ReLU', '70': 'ReLU6', '71': 'RequantizationRange', '72': 'Requantize', '73': 'Reshape', '74': 'Resize', '75': 'RNN', '76': 'ROIPooling', '77': 'Scale', '78': 'Selu', '79': 'Seq2Out', '80': 'Shape', '81': 'Sigmoid', '82': 'Size', '83': 'Slice', '84': 'SliceTf', '85': 'Softmax', '86': 'SpaceToBatchND', '87': 'SpatialProduct', '88': 'Split', '89': 'SPP', '90': 'Squeeze', '91': 'StridedSlice', '92': 'StringJoin', '93': 'StringSplit', '94': 'StringToNumber', '95': 'TanH', '96': 'TfQuantizedConv2D', '97': 'Threshold', '98': 'Tile', '99': 'TopKV2', '100': 'Transpose', '101': 'UnaryOp', '102': 'Unpack', '103': 'Where', '104': 'Moments', '105': 'RNNSequenceGRU', '106': 'BatchMatMul', '107': 'Unsqueeze', '108': 'CosineSimilarity', '109': 'DepthToSpace', '110': 'SpaceToDepth', '111': 'ReverseSequence', '112': 'Pooling3D', '113': 'Convolution3D', '114': 'MatrixBandPart', '115': 'GatherND', '116': 'DetectionPostProcess', '117': 'UnravelIndex', '118': 'ScatterNd', '119': 'OneHot', '120': 'BroadcastTo', '121': 'Dilation2D', '128': 'MaxLayerCount', '129': 'ConvertTensor', '130': 'ArgMin', '131': 'LinSpace', '256': 'Plugin', '257': 'Select', '258': 'ZerosLike', '259': 'Broastcast', '260': 'SetDiff1D', '261': 'ReluGrad', '262': 'Relu6Grad', '263': 'PoolGrad', '264': 'SoftmaxGrad', '265': 'Conv2DBackPropFilter', '266': 'TrainableParam', '267': 'BatchNorm', '268': 'ZeroGrad', '512': 'Extra', '513': 'ConvInt8', '514': 'Int8ToFloat', '515': 'DepthwiseConvInt8', '516': 'PoolInt8', '517': 'FloatToInt8', '518': 'EltwiseInt8' }; /** * @enum {number} */ MNN.OpParameter = { NONE: 0, QuantizedAdd: 1, ArgMax: 2, AsString: 3, Axis: 4, BatchNorm: 5, BinaryOp: 6, Blob: 7, CastParam: 8, Convolution2D: 9, Crop: 10, CropAndResize: 11, Dequantize: 12, DetectionOutput: 13, Eltwise: 14, ExpandDims: 15, Fill: 16, Flatten: 17, Gather: 18, GatherV2: 19, InnerProduct: 20, Input: 21, Interp: 22, LRN: 23, LSTM: 24, MatMul: 25, NonMaxSuppressionV2: 26, Normalize: 27, PackParam: 28, Permute: 29, Plugin: 30, Pool: 31, PRelu: 32, PriorBox: 33, Proposal: 34, QuantizedAvgPool: 35, QuantizedBiasAdd: 36, QuantizedConcat: 37, QuantizedLogistic: 38, QuantizedMatMul: 39, QuantizedMaxPool: 40, QuantizedRelu: 41, QuantizedRelu6: 42, QuantizedReshape: 43, QuantizedSoftmax: 44, QuantizeMaxMin: 45, QuantizeV2: 46, Range: 47, Rank: 48, ReduceJoin: 49, ReductionParam: 50, Relu: 51, Relu6: 52, RequantizationRange: 53, Requantize: 54, Reshape: 55, Resize: 56, RoiPooling: 57, Scale: 58, Selu: 59, Size: 60, Slice: 61, SliceTf: 62, SpaceBatch: 63, SqueezeParam: 64, StridedSliceParam: 65, TensorConvertInfo: 66, TfQuantizedConv2D: 67, TopKV2: 68, Transpose: 69, UnaryOp: 70, MomentsParam: 71, RNNParam: 72, BatchMatMulParam: 73, QuantizedFloatParam: 74, DepthSpaceParam: 75, EltwiseInt8: 76, ReverseSequenceParam: 77, Extra: 78, Pool3D: 79, Convolution3D: 80, ELU: 81, DetectionPostProcessParam: 82, OneHotParam: 83, PadParam: 84 }; /** * @enum {string} */ MNN.OpParameterName = { '0': 'NONE', '1': 'QuantizedAdd', '2': 'ArgMax', '3': 'AsString', '4': 'Axis', '5': 'BatchNorm', '6': 'BinaryOp', '7': 'Blob', '8': 'CastParam', '9': 'Convolution2D', '10': 'Crop', '11': 'CropAndResize', '12': 'Dequantize', '13': 'DetectionOutput', '14': 'Eltwise', '15': 'ExpandDims', '16': 'Fill', '17': 'Flatten', '18': 'Gather', '19': 'GatherV2', '20': 'InnerProduct', '21': 'Input', '22': 'Interp', '23': 'LRN', '24': 'LSTM', '25': 'MatMul', '26': 'NonMaxSuppressionV2', '27': 'Normalize', '28': 'PackParam', '29': 'Permute', '30': 'Plugin', '31': 'Pool', '32': 'PRelu', '33': 'PriorBox', '34': 'Proposal', '35': 'QuantizedAvgPool', '36': 'QuantizedBiasAdd', '37': 'QuantizedConcat', '38': 'QuantizedLogistic', '39': 'QuantizedMatMul', '40': 'QuantizedMaxPool', '41': 'QuantizedRelu', '42': 'QuantizedRelu6', '43': 'QuantizedReshape', '44': 'QuantizedSoftmax', '45': 'QuantizeMaxMin', '46': 'QuantizeV2', '47': 'Range', '48': 'Rank', '49': 'ReduceJoin', '50': 'ReductionParam', '51': 'Relu', '52': 'Relu6', '53': 'RequantizationRange', '54': 'Requantize', '55': 'Reshape', '56': 'Resize', '57': 'RoiPooling', '58': 'Scale', '59': 'Selu', '60': 'Size', '61': 'Slice', '62': 'SliceTf', '63': 'SpaceBatch', '64': 'SqueezeParam', '65': 'StridedSliceParam', '66': 'TensorConvertInfo', '67': 'TfQuantizedConv2D', '68': 'TopKV2', '69': 'Transpose', '70': 'UnaryOp', '71': 'MomentsParam', '72': 'RNNParam', '73': 'BatchMatMulParam', '74': 'QuantizedFloatParam', '75': 'DepthSpaceParam', '76': 'EltwiseInt8', '77': 'ReverseSequenceParam', '78': 'Extra', '79': 'Pool3D', '80': 'Convolution3D', '81': 'ELU', '82': 'DetectionPostProcessParam', '83': 'OneHotParam', '84': 'PadParam' }; /** * @enum {number} */ MNN.ForwardType = { CPU: 0, METAL: 1, OPENCL: 2, OPENGLES: 3, VULKAN: 4 }; /** * @enum {string} */ MNN.ForwardTypeName = { '0': 'CPU', '1': 'METAL', '2': 'OPENCL', '3': 'OPENGLES', '4': 'VULKAN' }; /** * @enum {number} */ MNN.Usage = { INFERENCE: 0, TRAIN: 1 }; /** * @enum {string} */ MNN.UsageName = { '0': 'INFERENCE', '1': 'TRAIN' }; /** * @constructor */ MNN.Blob = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Blob} */ MNN.Blob.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Blob=} obj * @returns {MNN.Blob} */ MNN.Blob.getRootAsBlob = function(bb, obj) { return (obj || new MNN.Blob).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Blob=} obj * @returns {MNN.Blob} */ MNN.Blob.getSizePrefixedRootAsBlob = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Blob).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Blob.prototype.dims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Blob.prototype.dimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Blob.prototype.dimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.Blob.prototype.dataFormat = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NCHW; }; /** * @returns {MNN.DataType} */ MNN.Blob.prototype.dataType = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @param {number} index * @returns {number} */ MNN.Blob.prototype.uint8s = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.Blob.prototype.uint8sLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Uint8Array} */ MNN.Blob.prototype.uint8sArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Blob.prototype.int8s = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.Blob.prototype.int8sLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.Blob.prototype.int8sArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Blob.prototype.int32s = function(index) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Blob.prototype.int32sLength = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Blob.prototype.int32sArray = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {flatbuffers.Long} */ MNN.Blob.prototype.int64s = function(index) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt64(this.bb.__vector(this.bb_pos + offset) + index * 8) : this.bb.createLong(0, 0); }; /** * @returns {number} */ MNN.Blob.prototype.int64sLength = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.Blob.prototype.float32s = function(index) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Blob.prototype.float32sLength = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Blob.prototype.float32sArray = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array} */ MNN.Blob.prototype.strings = function(index, optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncoding) : null; }; /** * @returns {number} */ MNN.Blob.prototype.stringsLength = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Blob.startBlob = function(builder) { builder.startObject(9); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset */ MNN.Blob.addDims = function(builder, dimsOffset) { builder.addFieldOffset(0, dimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} dataFormat */ MNN.Blob.addDataFormat = function(builder, dataFormat) { builder.addFieldInt8(1, dataFormat, MNN.MNN_DATA_FORMAT.NCHW); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dataType */ MNN.Blob.addDataType = function(builder, dataType) { builder.addFieldInt32(2, dataType, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} uint8sOffset */ MNN.Blob.addUint8s = function(builder, uint8sOffset) { builder.addFieldOffset(3, uint8sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createUint8sVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startUint8sVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} int8sOffset */ MNN.Blob.addInt8s = function(builder, int8sOffset) { builder.addFieldOffset(4, int8sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createInt8sVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startInt8sVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} int32sOffset */ MNN.Blob.addInt32s = function(builder, int32sOffset) { builder.addFieldOffset(5, int32sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createInt32sVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startInt32sVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} int64sOffset */ MNN.Blob.addInt64s = function(builder, int64sOffset) { builder.addFieldOffset(6, int64sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Long>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createInt64sVector = function(builder, data) { builder.startVector(8, data.length, 8); for (var i = data.length - 1; i >= 0; i--) { builder.addInt64(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startInt64sVector = function(builder, numElems) { builder.startVector(8, numElems, 8); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} float32sOffset */ MNN.Blob.addFloat32s = function(builder, float32sOffset) { builder.addFieldOffset(7, float32sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createFloat32sVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startFloat32sVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stringsOffset */ MNN.Blob.addStrings = function(builder, stringsOffset) { builder.addFieldOffset(8, stringsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Blob.createStringsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Blob.startStringsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Blob.endBlob = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset * @param {MNN.MNN_DATA_FORMAT} dataFormat * @param {MNN.DataType} dataType * @param {flatbuffers.Offset} uint8sOffset * @param {flatbuffers.Offset} int8sOffset * @param {flatbuffers.Offset} int32sOffset * @param {flatbuffers.Offset} int64sOffset * @param {flatbuffers.Offset} float32sOffset * @param {flatbuffers.Offset} stringsOffset * @returns {flatbuffers.Offset} */ MNN.Blob.createBlob = function(builder, dimsOffset, dataFormat, dataType, uint8sOffset, int8sOffset, int32sOffset, int64sOffset, float32sOffset, stringsOffset) { MNN.Blob.startBlob(builder); MNN.Blob.addDims(builder, dimsOffset); MNN.Blob.addDataFormat(builder, dataFormat); MNN.Blob.addDataType(builder, dataType); MNN.Blob.addUint8s(builder, uint8sOffset); MNN.Blob.addInt8s(builder, int8sOffset); MNN.Blob.addInt32s(builder, int32sOffset); MNN.Blob.addInt64s(builder, int64sOffset); MNN.Blob.addFloat32s(builder, float32sOffset); MNN.Blob.addStrings(builder, stringsOffset); return MNN.Blob.endBlob(builder); } /** * @constructor */ MNN.ListValue = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ListValue} */ MNN.ListValue.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ListValue=} obj * @returns {MNN.ListValue} */ MNN.ListValue.getRootAsListValue = function(bb, obj) { return (obj || new MNN.ListValue).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ListValue=} obj * @returns {MNN.ListValue} */ MNN.ListValue.getSizePrefixedRootAsListValue = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ListValue).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array} */ MNN.ListValue.prototype.s = function(index, optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncoding) : null; }; /** * @returns {number} */ MNN.ListValue.prototype.sLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.ListValue.prototype.i = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.ListValue.prototype.iLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.ListValue.prototype.iArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.ListValue.prototype.f = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.ListValue.prototype.fLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.ListValue.prototype.fArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {boolean} */ MNN.ListValue.prototype.b = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? !!this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : false; }; /** * @returns {number} */ MNN.ListValue.prototype.bLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.ListValue.prototype.bArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {MNN.DataType} */ MNN.ListValue.prototype.type = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4)) : /** @type {MNN.DataType} */ (0); }; /** * @returns {number} */ MNN.ListValue.prototype.typeLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.ListValue.prototype.typeArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.ListValue.startListValue = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} sOffset */ MNN.ListValue.addS = function(builder, sOffset) { builder.addFieldOffset(0, sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.ListValue.createSVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ListValue.startSVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} iOffset */ MNN.ListValue.addI = function(builder, iOffset) { builder.addFieldOffset(1, iOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.ListValue.createIVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ListValue.startIVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fOffset */ MNN.ListValue.addF = function(builder, fOffset) { builder.addFieldOffset(2, fOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.ListValue.createFVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ListValue.startFVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bOffset */ MNN.ListValue.addB = function(builder, bOffset) { builder.addFieldOffset(3, bOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<boolean>} data * @returns {flatbuffers.Offset} */ MNN.ListValue.createBVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(+data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ListValue.startBVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} typeOffset */ MNN.ListValue.addType = function(builder, typeOffset) { builder.addFieldOffset(4, typeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<MNN.DataType>} data * @returns {flatbuffers.Offset} */ MNN.ListValue.createTypeVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ListValue.startTypeVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ListValue.endListValue = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} sOffset * @param {flatbuffers.Offset} iOffset * @param {flatbuffers.Offset} fOffset * @param {flatbuffers.Offset} bOffset * @param {flatbuffers.Offset} typeOffset * @returns {flatbuffers.Offset} */ MNN.ListValue.createListValue = function(builder, sOffset, iOffset, fOffset, bOffset, typeOffset) { MNN.ListValue.startListValue(builder); MNN.ListValue.addS(builder, sOffset); MNN.ListValue.addI(builder, iOffset); MNN.ListValue.addF(builder, fOffset); MNN.ListValue.addB(builder, bOffset); MNN.ListValue.addType(builder, typeOffset); return MNN.ListValue.endListValue(builder); } /** * @constructor */ MNN.Attribute = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Attribute} */ MNN.Attribute.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Attribute=} obj * @returns {MNN.Attribute} */ MNN.Attribute.getRootAsAttribute = function(bb, obj) { return (obj || new MNN.Attribute).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Attribute=} obj * @returns {MNN.Attribute} */ MNN.Attribute.getSizePrefixedRootAsAttribute = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Attribute).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Attribute.prototype.s = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @returns {number} */ MNN.Attribute.prototype.i = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.Attribute.prototype.b = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Attribute.prototype.key = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @returns {MNN.DataType} */ MNN.Attribute.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.Attribute.prototype.f = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.Attribute.prototype.tensor = function(obj) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.ListValue=} obj * @returns {MNN.ListValue|null} */ MNN.Attribute.prototype.list = function(obj) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? (obj || new MNN.ListValue).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Attribute.startAttribute = function(builder) { builder.startObject(8); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} sOffset */ MNN.Attribute.addS = function(builder, sOffset) { builder.addFieldOffset(0, sOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} i */ MNN.Attribute.addI = function(builder, i) { builder.addFieldInt32(1, i, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} b */ MNN.Attribute.addB = function(builder, b) { builder.addFieldInt8(2, +b, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} keyOffset */ MNN.Attribute.addKey = function(builder, keyOffset) { builder.addFieldOffset(3, keyOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.Attribute.addType = function(builder, type) { builder.addFieldInt32(4, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} f */ MNN.Attribute.addF = function(builder, f) { builder.addFieldFloat32(5, f, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} tensorOffset */ MNN.Attribute.addTensor = function(builder, tensorOffset) { builder.addFieldOffset(6, tensorOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} listOffset */ MNN.Attribute.addList = function(builder, listOffset) { builder.addFieldOffset(7, listOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Attribute.endAttribute = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} sOffset * @param {number} i * @param {boolean} b * @param {flatbuffers.Offset} keyOffset * @param {MNN.DataType} type * @param {number} f * @param {flatbuffers.Offset} tensorOffset * @param {flatbuffers.Offset} listOffset * @returns {flatbuffers.Offset} */ MNN.Attribute.createAttribute = function(builder, sOffset, i, b, keyOffset, type, f, tensorOffset, listOffset) { MNN.Attribute.startAttribute(builder); MNN.Attribute.addS(builder, sOffset); MNN.Attribute.addI(builder, i); MNN.Attribute.addB(builder, b); MNN.Attribute.addKey(builder, keyOffset); MNN.Attribute.addType(builder, type); MNN.Attribute.addF(builder, f); MNN.Attribute.addTensor(builder, tensorOffset); MNN.Attribute.addList(builder, listOffset); return MNN.Attribute.endAttribute(builder); } /** * @constructor */ MNN.Convolution2DCommon = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Convolution2DCommon} */ MNN.Convolution2DCommon.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution2DCommon=} obj * @returns {MNN.Convolution2DCommon} */ MNN.Convolution2DCommon.getRootAsConvolution2DCommon = function(bb, obj) { return (obj || new MNN.Convolution2DCommon).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution2DCommon=} obj * @returns {MNN.Convolution2DCommon} */ MNN.Convolution2DCommon.getSizePrefixedRootAsConvolution2DCommon = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Convolution2DCommon).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.padX = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.padY = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.kernelX = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.kernelY = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.strideX = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.strideY = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.dilateX = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.dilateY = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {MNN.PadMode} */ MNN.Convolution2DCommon.prototype.padMode = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? /** @type {MNN.PadMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PadMode.CAFFE; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.group = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readInt32(this.bb_pos + offset) : 1; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.outputCount = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.inputCount = function() { var offset = this.bb.__offset(this.bb_pos, 26); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.Convolution2DCommon.prototype.relu = function() { var offset = this.bb.__offset(this.bb_pos, 28); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.Convolution2DCommon.prototype.relu6 = function() { var offset = this.bb.__offset(this.bb_pos, 30); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {number} index * @returns {number} */ MNN.Convolution2DCommon.prototype.pads = function(index) { var offset = this.bb.__offset(this.bb_pos, 32); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution2DCommon.prototype.padsLength = function() { var offset = this.bb.__offset(this.bb_pos, 32); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Convolution2DCommon.prototype.padsArray = function() { var offset = this.bb.__offset(this.bb_pos, 32); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Convolution2DCommon.startConvolution2DCommon = function(builder) { builder.startObject(15); }; /** * @param {flatbuffers.Builder} builder * @param {number} padX */ MNN.Convolution2DCommon.addPadX = function(builder, padX) { builder.addFieldInt32(0, padX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} padY */ MNN.Convolution2DCommon.addPadY = function(builder, padY) { builder.addFieldInt32(1, padY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX */ MNN.Convolution2DCommon.addKernelX = function(builder, kernelX) { builder.addFieldInt32(2, kernelX, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelY */ MNN.Convolution2DCommon.addKernelY = function(builder, kernelY) { builder.addFieldInt32(3, kernelY, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideX */ MNN.Convolution2DCommon.addStrideX = function(builder, strideX) { builder.addFieldInt32(4, strideX, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideY */ MNN.Convolution2DCommon.addStrideY = function(builder, strideY) { builder.addFieldInt32(5, strideY, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} dilateX */ MNN.Convolution2DCommon.addDilateX = function(builder, dilateX) { builder.addFieldInt32(6, dilateX, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} dilateY */ MNN.Convolution2DCommon.addDilateY = function(builder, dilateY) { builder.addFieldInt32(7, dilateY, 1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PadMode} padMode */ MNN.Convolution2DCommon.addPadMode = function(builder, padMode) { builder.addFieldInt8(8, padMode, MNN.PadMode.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {number} group */ MNN.Convolution2DCommon.addGroup = function(builder, group) { builder.addFieldInt32(9, group, 1); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount */ MNN.Convolution2DCommon.addOutputCount = function(builder, outputCount) { builder.addFieldInt32(10, outputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} inputCount */ MNN.Convolution2DCommon.addInputCount = function(builder, inputCount) { builder.addFieldInt32(11, inputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} relu */ MNN.Convolution2DCommon.addRelu = function(builder, relu) { builder.addFieldInt8(12, +relu, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} relu6 */ MNN.Convolution2DCommon.addRelu6 = function(builder, relu6) { builder.addFieldInt8(13, +relu6, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} padsOffset */ MNN.Convolution2DCommon.addPads = function(builder, padsOffset) { builder.addFieldOffset(14, padsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution2DCommon.createPadsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution2DCommon.startPadsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Convolution2DCommon.endConvolution2DCommon = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} padX * @param {number} padY * @param {number} kernelX * @param {number} kernelY * @param {number} strideX * @param {number} strideY * @param {number} dilateX * @param {number} dilateY * @param {MNN.PadMode} padMode * @param {number} group * @param {number} outputCount * @param {number} inputCount * @param {boolean} relu * @param {boolean} relu6 * @param {flatbuffers.Offset} padsOffset * @returns {flatbuffers.Offset} */ MNN.Convolution2DCommon.createConvolution2DCommon = function(builder, padX, padY, kernelX, kernelY, strideX, strideY, dilateX, dilateY, padMode, group, outputCount, inputCount, relu, relu6, padsOffset) { MNN.Convolution2DCommon.startConvolution2DCommon(builder); MNN.Convolution2DCommon.addPadX(builder, padX); MNN.Convolution2DCommon.addPadY(builder, padY); MNN.Convolution2DCommon.addKernelX(builder, kernelX); MNN.Convolution2DCommon.addKernelY(builder, kernelY); MNN.Convolution2DCommon.addStrideX(builder, strideX); MNN.Convolution2DCommon.addStrideY(builder, strideY); MNN.Convolution2DCommon.addDilateX(builder, dilateX); MNN.Convolution2DCommon.addDilateY(builder, dilateY); MNN.Convolution2DCommon.addPadMode(builder, padMode); MNN.Convolution2DCommon.addGroup(builder, group); MNN.Convolution2DCommon.addOutputCount(builder, outputCount); MNN.Convolution2DCommon.addInputCount(builder, inputCount); MNN.Convolution2DCommon.addRelu(builder, relu); MNN.Convolution2DCommon.addRelu6(builder, relu6); MNN.Convolution2DCommon.addPads(builder, padsOffset); return MNN.Convolution2DCommon.endConvolution2DCommon(builder); } /** * @constructor */ MNN.Convolution3DCommon = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Convolution3DCommon} */ MNN.Convolution3DCommon.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution3DCommon=} obj * @returns {MNN.Convolution3DCommon} */ MNN.Convolution3DCommon.getRootAsConvolution3DCommon = function(bb, obj) { return (obj || new MNN.Convolution3DCommon).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution3DCommon=} obj * @returns {MNN.Convolution3DCommon} */ MNN.Convolution3DCommon.getSizePrefixedRootAsConvolution3DCommon = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Convolution3DCommon).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Convolution3DCommon.prototype.dilates = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.dilatesLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Convolution3DCommon.prototype.dilatesArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution3DCommon.prototype.strides = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.stridesLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Convolution3DCommon.prototype.stridesArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution3DCommon.prototype.kernels = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.kernelsLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Convolution3DCommon.prototype.kernelsArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution3DCommon.prototype.pads = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.padsLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Convolution3DCommon.prototype.padsArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.PadMode} */ MNN.Convolution3DCommon.prototype.padMode = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.PadMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PadMode.CAFFE; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.inputCount = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Convolution3DCommon.prototype.outputCount = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.Convolution3DCommon.prototype.relu = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.Convolution3DCommon.prototype.relu6 = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.Convolution3DCommon.startConvolution3DCommon = function(builder) { builder.startObject(9); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dilatesOffset */ MNN.Convolution3DCommon.addDilates = function(builder, dilatesOffset) { builder.addFieldOffset(0, dilatesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.createDilatesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3DCommon.startDilatesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stridesOffset */ MNN.Convolution3DCommon.addStrides = function(builder, stridesOffset) { builder.addFieldOffset(1, stridesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.createStridesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3DCommon.startStridesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} kernelsOffset */ MNN.Convolution3DCommon.addKernels = function(builder, kernelsOffset) { builder.addFieldOffset(2, kernelsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.createKernelsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3DCommon.startKernelsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} padsOffset */ MNN.Convolution3DCommon.addPads = function(builder, padsOffset) { builder.addFieldOffset(3, padsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.createPadsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3DCommon.startPadsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PadMode} padMode */ MNN.Convolution3DCommon.addPadMode = function(builder, padMode) { builder.addFieldInt8(4, padMode, MNN.PadMode.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {number} inputCount */ MNN.Convolution3DCommon.addInputCount = function(builder, inputCount) { builder.addFieldInt32(5, inputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount */ MNN.Convolution3DCommon.addOutputCount = function(builder, outputCount) { builder.addFieldInt32(6, outputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} relu */ MNN.Convolution3DCommon.addRelu = function(builder, relu) { builder.addFieldInt8(7, +relu, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} relu6 */ MNN.Convolution3DCommon.addRelu6 = function(builder, relu6) { builder.addFieldInt8(8, +relu6, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.endConvolution3DCommon = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dilatesOffset * @param {flatbuffers.Offset} stridesOffset * @param {flatbuffers.Offset} kernelsOffset * @param {flatbuffers.Offset} padsOffset * @param {MNN.PadMode} padMode * @param {number} inputCount * @param {number} outputCount * @param {boolean} relu * @param {boolean} relu6 * @returns {flatbuffers.Offset} */ MNN.Convolution3DCommon.createConvolution3DCommon = function(builder, dilatesOffset, stridesOffset, kernelsOffset, padsOffset, padMode, inputCount, outputCount, relu, relu6) { MNN.Convolution3DCommon.startConvolution3DCommon(builder); MNN.Convolution3DCommon.addDilates(builder, dilatesOffset); MNN.Convolution3DCommon.addStrides(builder, stridesOffset); MNN.Convolution3DCommon.addKernels(builder, kernelsOffset); MNN.Convolution3DCommon.addPads(builder, padsOffset); MNN.Convolution3DCommon.addPadMode(builder, padMode); MNN.Convolution3DCommon.addInputCount(builder, inputCount); MNN.Convolution3DCommon.addOutputCount(builder, outputCount); MNN.Convolution3DCommon.addRelu(builder, relu); MNN.Convolution3DCommon.addRelu6(builder, relu6); return MNN.Convolution3DCommon.endConvolution3DCommon(builder); } /** * @constructor */ MNN.IDSTQuan = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.IDSTQuan} */ MNN.IDSTQuan.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.IDSTQuan=} obj * @returns {MNN.IDSTQuan} */ MNN.IDSTQuan.getRootAsIDSTQuan = function(bb, obj) { return (obj || new MNN.IDSTQuan).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.IDSTQuan=} obj * @returns {MNN.IDSTQuan} */ MNN.IDSTQuan.getSizePrefixedRootAsIDSTQuan = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.IDSTQuan).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.IDSTQuan.prototype.buffer = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.bufferLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.IDSTQuan.prototype.bufferArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.IDSTQuan.prototype.alpha = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.alphaLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.IDSTQuan.prototype.alphaArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.IDSTQuan.prototype.useInt32 = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.quantScale = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.scaleIn = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.scaleOut = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.aMax = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.aMin = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.IDSTQuan.prototype.readType = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.IDSTQuan.prototype.hasScaleInt = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.IDSTQuan.startIDSTQuan = function(builder) { builder.startObject(11); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bufferOffset */ MNN.IDSTQuan.addBuffer = function(builder, bufferOffset) { builder.addFieldOffset(0, bufferOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.IDSTQuan.createBufferVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.IDSTQuan.startBufferVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} alphaOffset */ MNN.IDSTQuan.addAlpha = function(builder, alphaOffset) { builder.addFieldOffset(1, alphaOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.IDSTQuan.createAlphaVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.IDSTQuan.startAlphaVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} type */ MNN.IDSTQuan.addType = function(builder, type) { builder.addFieldInt32(2, type, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} useInt32 */ MNN.IDSTQuan.addUseInt32 = function(builder, useInt32) { builder.addFieldInt8(3, +useInt32, +false); }; /** * @param {flatbuffers.Builder} builder * @param {number} quantScale */ MNN.IDSTQuan.addQuantScale = function(builder, quantScale) { builder.addFieldFloat32(4, quantScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} scaleIn */ MNN.IDSTQuan.addScaleIn = function(builder, scaleIn) { builder.addFieldFloat32(5, scaleIn, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} scaleOut */ MNN.IDSTQuan.addScaleOut = function(builder, scaleOut) { builder.addFieldFloat32(6, scaleOut, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} aMax */ MNN.IDSTQuan.addAMax = function(builder, aMax) { builder.addFieldInt32(7, aMax, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} aMin */ MNN.IDSTQuan.addAMin = function(builder, aMin) { builder.addFieldInt32(8, aMin, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} readType */ MNN.IDSTQuan.addReadType = function(builder, readType) { builder.addFieldInt32(9, readType, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} hasScaleInt */ MNN.IDSTQuan.addHasScaleInt = function(builder, hasScaleInt) { builder.addFieldInt8(10, +hasScaleInt, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.IDSTQuan.endIDSTQuan = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bufferOffset * @param {flatbuffers.Offset} alphaOffset * @param {number} type * @param {boolean} useInt32 * @param {number} quantScale * @param {number} scaleIn * @param {number} scaleOut * @param {number} aMax * @param {number} aMin * @param {number} readType * @param {boolean} hasScaleInt * @returns {flatbuffers.Offset} */ MNN.IDSTQuan.createIDSTQuan = function(builder, bufferOffset, alphaOffset, type, useInt32, quantScale, scaleIn, scaleOut, aMax, aMin, readType, hasScaleInt) { MNN.IDSTQuan.startIDSTQuan(builder); MNN.IDSTQuan.addBuffer(builder, bufferOffset); MNN.IDSTQuan.addAlpha(builder, alphaOffset); MNN.IDSTQuan.addType(builder, type); MNN.IDSTQuan.addUseInt32(builder, useInt32); MNN.IDSTQuan.addQuantScale(builder, quantScale); MNN.IDSTQuan.addScaleIn(builder, scaleIn); MNN.IDSTQuan.addScaleOut(builder, scaleOut); MNN.IDSTQuan.addAMax(builder, aMax); MNN.IDSTQuan.addAMin(builder, aMin); MNN.IDSTQuan.addReadType(builder, readType); MNN.IDSTQuan.addHasScaleInt(builder, hasScaleInt); return MNN.IDSTQuan.endIDSTQuan(builder); } /** * @constructor */ MNN.QuantizedFloatParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedFloatParam} */ MNN.QuantizedFloatParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam} */ MNN.QuantizedFloatParam.getRootAsQuantizedFloatParam = function(bb, obj) { return (obj || new MNN.QuantizedFloatParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam} */ MNN.QuantizedFloatParam.getSizePrefixedRootAsQuantizedFloatParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedFloatParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.QuantizedFloatParam.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.QuantizedFloatParam.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.QuantizedFloatParam.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.QuantizedFloatParam.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedFloatParam.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.QuantizedFloatParam.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.QuantizedFloatParam.prototype.scale = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedFloatParam.prototype.scaleLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.QuantizedFloatParam.prototype.scaleArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.QuantizedFloatParam.prototype.tensorScale = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedFloatParam.prototype.tensorScaleLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.QuantizedFloatParam.prototype.tensorScaleArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedFloatParam.startQuantizedFloatParam = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.QuantizedFloatParam.addWeight = function(builder, weightOffset) { builder.addFieldOffset(0, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.createWeightVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedFloatParam.startWeightVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.QuantizedFloatParam.addBias = function(builder, biasOffset) { builder.addFieldOffset(1, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedFloatParam.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} scaleOffset */ MNN.QuantizedFloatParam.addScale = function(builder, scaleOffset) { builder.addFieldOffset(2, scaleOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.createScaleVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedFloatParam.startScaleVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} tensorScaleOffset */ MNN.QuantizedFloatParam.addTensorScale = function(builder, tensorScaleOffset) { builder.addFieldOffset(3, tensorScaleOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.createTensorScaleVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedFloatParam.startTensorScaleVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.endQuantizedFloatParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset * @param {flatbuffers.Offset} biasOffset * @param {flatbuffers.Offset} scaleOffset * @param {flatbuffers.Offset} tensorScaleOffset * @returns {flatbuffers.Offset} */ MNN.QuantizedFloatParam.createQuantizedFloatParam = function(builder, weightOffset, biasOffset, scaleOffset, tensorScaleOffset) { MNN.QuantizedFloatParam.startQuantizedFloatParam(builder); MNN.QuantizedFloatParam.addWeight(builder, weightOffset); MNN.QuantizedFloatParam.addBias(builder, biasOffset); MNN.QuantizedFloatParam.addScale(builder, scaleOffset); MNN.QuantizedFloatParam.addTensorScale(builder, tensorScaleOffset); return MNN.QuantizedFloatParam.endQuantizedFloatParam(builder); } /** * @constructor */ MNN.Convolution2D = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Convolution2D} */ MNN.Convolution2D.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution2D=} obj * @returns {MNN.Convolution2D} */ MNN.Convolution2D.getRootAsConvolution2D = function(bb, obj) { return (obj || new MNN.Convolution2D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution2D=} obj * @returns {MNN.Convolution2D} */ MNN.Convolution2D.getSizePrefixedRootAsConvolution2D = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Convolution2D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.Convolution2DCommon=} obj * @returns {MNN.Convolution2DCommon|null} */ MNN.Convolution2D.prototype.common = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.Convolution2DCommon).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution2D.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution2D.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Convolution2D.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution2D.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution2D.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Convolution2D.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {MNN.IDSTQuan=} obj * @returns {MNN.IDSTQuan|null} */ MNN.Convolution2D.prototype.quanParameter = function(obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.IDSTQuan).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam|null} */ MNN.Convolution2D.prototype.symmetricQuan = function(obj) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? (obj || new MNN.QuantizedFloatParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Convolution2D.startConvolution2D = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} commonOffset */ MNN.Convolution2D.addCommon = function(builder, commonOffset) { builder.addFieldOffset(0, commonOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.Convolution2D.addWeight = function(builder, weightOffset) { builder.addFieldOffset(1, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution2D.createWeightVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution2D.startWeightVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.Convolution2D.addBias = function(builder, biasOffset) { builder.addFieldOffset(2, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution2D.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution2D.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} quanParameterOffset */ MNN.Convolution2D.addQuanParameter = function(builder, quanParameterOffset) { builder.addFieldOffset(3, quanParameterOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} symmetricQuanOffset */ MNN.Convolution2D.addSymmetricQuan = function(builder, symmetricQuanOffset) { builder.addFieldOffset(4, symmetricQuanOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Convolution2D.endConvolution2D = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} commonOffset * @param {flatbuffers.Offset} weightOffset * @param {flatbuffers.Offset} biasOffset * @param {flatbuffers.Offset} quanParameterOffset * @param {flatbuffers.Offset} symmetricQuanOffset * @returns {flatbuffers.Offset} */ MNN.Convolution2D.createConvolution2D = function(builder, commonOffset, weightOffset, biasOffset, quanParameterOffset, symmetricQuanOffset) { MNN.Convolution2D.startConvolution2D(builder); MNN.Convolution2D.addCommon(builder, commonOffset); MNN.Convolution2D.addWeight(builder, weightOffset); MNN.Convolution2D.addBias(builder, biasOffset); MNN.Convolution2D.addQuanParameter(builder, quanParameterOffset); MNN.Convolution2D.addSymmetricQuan(builder, symmetricQuanOffset); return MNN.Convolution2D.endConvolution2D(builder); } /** * @constructor */ MNN.Convolution3D = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Convolution3D} */ MNN.Convolution3D.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution3D=} obj * @returns {MNN.Convolution3D} */ MNN.Convolution3D.getRootAsConvolution3D = function(bb, obj) { return (obj || new MNN.Convolution3D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Convolution3D=} obj * @returns {MNN.Convolution3D} */ MNN.Convolution3D.getSizePrefixedRootAsConvolution3D = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Convolution3D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.Convolution3DCommon=} obj * @returns {MNN.Convolution3DCommon|null} */ MNN.Convolution3D.prototype.common = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.Convolution3DCommon).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution3D.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3D.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Convolution3D.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Convolution3D.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Convolution3D.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Convolution3D.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Convolution3D.startConvolution3D = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} commonOffset */ MNN.Convolution3D.addCommon = function(builder, commonOffset) { builder.addFieldOffset(0, commonOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.Convolution3D.addWeight = function(builder, weightOffset) { builder.addFieldOffset(1, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3D.createWeightVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3D.startWeightVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.Convolution3D.addBias = function(builder, biasOffset) { builder.addFieldOffset(2, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Convolution3D.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Convolution3D.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Convolution3D.endConvolution3D = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} commonOffset * @param {flatbuffers.Offset} weightOffset * @param {flatbuffers.Offset} biasOffset * @returns {flatbuffers.Offset} */ MNN.Convolution3D.createConvolution3D = function(builder, commonOffset, weightOffset, biasOffset) { MNN.Convolution3D.startConvolution3D(builder); MNN.Convolution3D.addCommon(builder, commonOffset); MNN.Convolution3D.addWeight(builder, weightOffset); MNN.Convolution3D.addBias(builder, biasOffset); return MNN.Convolution3D.endConvolution3D(builder); } /** * @constructor */ MNN.InnerProduct = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.InnerProduct} */ MNN.InnerProduct.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.InnerProduct=} obj * @returns {MNN.InnerProduct} */ MNN.InnerProduct.getRootAsInnerProduct = function(bb, obj) { return (obj || new MNN.InnerProduct).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.InnerProduct=} obj * @returns {MNN.InnerProduct} */ MNN.InnerProduct.getSizePrefixedRootAsInnerProduct = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.InnerProduct).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.InnerProduct.prototype.outputCount = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.InnerProduct.prototype.biasTerm = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.InnerProduct.prototype.weightSize = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.InnerProduct.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.InnerProduct.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.InnerProduct.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.InnerProduct.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.InnerProduct.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.InnerProduct.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {number} */ MNN.InnerProduct.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.InnerProduct.prototype.transpose = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {MNN.IDSTQuan=} obj * @returns {MNN.IDSTQuan|null} */ MNN.InnerProduct.prototype.quanParameter = function(obj) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? (obj || new MNN.IDSTQuan).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.InnerProduct.startInnerProduct = function(builder) { builder.startObject(8); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount */ MNN.InnerProduct.addOutputCount = function(builder, outputCount) { builder.addFieldInt32(0, outputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} biasTerm */ MNN.InnerProduct.addBiasTerm = function(builder, biasTerm) { builder.addFieldInt32(1, biasTerm, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} weightSize */ MNN.InnerProduct.addWeightSize = function(builder, weightSize) { builder.addFieldInt32(2, weightSize, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.InnerProduct.addWeight = function(builder, weightOffset) { builder.addFieldOffset(3, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.InnerProduct.createWeightVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.InnerProduct.startWeightVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.InnerProduct.addBias = function(builder, biasOffset) { builder.addFieldOffset(4, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.InnerProduct.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.InnerProduct.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.InnerProduct.addAxis = function(builder, axis) { builder.addFieldInt32(5, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transpose */ MNN.InnerProduct.addTranspose = function(builder, transpose) { builder.addFieldInt8(6, +transpose, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} quanParameterOffset */ MNN.InnerProduct.addQuanParameter = function(builder, quanParameterOffset) { builder.addFieldOffset(7, quanParameterOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.InnerProduct.endInnerProduct = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount * @param {number} biasTerm * @param {number} weightSize * @param {flatbuffers.Offset} weightOffset * @param {flatbuffers.Offset} biasOffset * @param {number} axis * @param {boolean} transpose * @param {flatbuffers.Offset} quanParameterOffset * @returns {flatbuffers.Offset} */ MNN.InnerProduct.createInnerProduct = function(builder, outputCount, biasTerm, weightSize, weightOffset, biasOffset, axis, transpose, quanParameterOffset) { MNN.InnerProduct.startInnerProduct(builder); MNN.InnerProduct.addOutputCount(builder, outputCount); MNN.InnerProduct.addBiasTerm(builder, biasTerm); MNN.InnerProduct.addWeightSize(builder, weightSize); MNN.InnerProduct.addWeight(builder, weightOffset); MNN.InnerProduct.addBias(builder, biasOffset); MNN.InnerProduct.addAxis(builder, axis); MNN.InnerProduct.addTranspose(builder, transpose); MNN.InnerProduct.addQuanParameter(builder, quanParameterOffset); return MNN.InnerProduct.endInnerProduct(builder); } /** * @constructor */ MNN.Pool = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Pool} */ MNN.Pool.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Pool=} obj * @returns {MNN.Pool} */ MNN.Pool.getRootAsPool = function(bb, obj) { return (obj || new MNN.Pool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Pool=} obj * @returns {MNN.Pool} */ MNN.Pool.getSizePrefixedRootAsPool = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Pool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Pool.prototype.padX = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Pool.prototype.padY = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.Pool.prototype.isGlobal = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {number} */ MNN.Pool.prototype.kernelX = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Pool.prototype.kernelY = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Pool.prototype.strideX = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Pool.prototype.strideY = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.PoolType} */ MNN.Pool.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? /** @type {MNN.PoolType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolType.MAXPOOL; }; /** * @returns {MNN.PoolPadType} */ MNN.Pool.prototype.padType = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? /** @type {MNN.PoolPadType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolPadType.CAFFE; }; /** * @returns {MNN.DataType} */ MNN.Pool.prototype.dataType = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @returns {boolean} */ MNN.Pool.prototype.ceilModel = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : true; }; /** * @param {number} index * @returns {number} */ MNN.Pool.prototype.pads = function(index) { var offset = this.bb.__offset(this.bb_pos, 26); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Pool.prototype.padsLength = function() { var offset = this.bb.__offset(this.bb_pos, 26); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Pool.prototype.padsArray = function() { var offset = this.bb.__offset(this.bb_pos, 26); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Pool.startPool = function(builder) { builder.startObject(12); }; /** * @param {flatbuffers.Builder} builder * @param {number} padX */ MNN.Pool.addPadX = function(builder, padX) { builder.addFieldInt32(0, padX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} padY */ MNN.Pool.addPadY = function(builder, padY) { builder.addFieldInt32(1, padY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} isGlobal */ MNN.Pool.addIsGlobal = function(builder, isGlobal) { builder.addFieldInt8(2, +isGlobal, +false); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX */ MNN.Pool.addKernelX = function(builder, kernelX) { builder.addFieldInt32(3, kernelX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelY */ MNN.Pool.addKernelY = function(builder, kernelY) { builder.addFieldInt32(4, kernelY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideX */ MNN.Pool.addStrideX = function(builder, strideX) { builder.addFieldInt32(5, strideX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideY */ MNN.Pool.addStrideY = function(builder, strideY) { builder.addFieldInt32(6, strideY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolType} type */ MNN.Pool.addType = function(builder, type) { builder.addFieldInt8(7, type, MNN.PoolType.MAXPOOL); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolPadType} padType */ MNN.Pool.addPadType = function(builder, padType) { builder.addFieldInt8(8, padType, MNN.PoolPadType.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dataType */ MNN.Pool.addDataType = function(builder, dataType) { builder.addFieldInt32(9, dataType, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} ceilModel */ MNN.Pool.addCeilModel = function(builder, ceilModel) { builder.addFieldInt8(10, +ceilModel, +true); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} padsOffset */ MNN.Pool.addPads = function(builder, padsOffset) { builder.addFieldOffset(11, padsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Pool.createPadsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Pool.startPadsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Pool.endPool = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} padX * @param {number} padY * @param {boolean} isGlobal * @param {number} kernelX * @param {number} kernelY * @param {number} strideX * @param {number} strideY * @param {MNN.PoolType} type * @param {MNN.PoolPadType} padType * @param {MNN.DataType} dataType * @param {boolean} ceilModel * @param {flatbuffers.Offset} padsOffset * @returns {flatbuffers.Offset} */ MNN.Pool.createPool = function(builder, padX, padY, isGlobal, kernelX, kernelY, strideX, strideY, type, padType, dataType, ceilModel, padsOffset) { MNN.Pool.startPool(builder); MNN.Pool.addPadX(builder, padX); MNN.Pool.addPadY(builder, padY); MNN.Pool.addIsGlobal(builder, isGlobal); MNN.Pool.addKernelX(builder, kernelX); MNN.Pool.addKernelY(builder, kernelY); MNN.Pool.addStrideX(builder, strideX); MNN.Pool.addStrideY(builder, strideY); MNN.Pool.addType(builder, type); MNN.Pool.addPadType(builder, padType); MNN.Pool.addDataType(builder, dataType); MNN.Pool.addCeilModel(builder, ceilModel); MNN.Pool.addPads(builder, padsOffset); return MNN.Pool.endPool(builder); } /** * @constructor */ MNN.Pool3D = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Pool3D} */ MNN.Pool3D.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Pool3D=} obj * @returns {MNN.Pool3D} */ MNN.Pool3D.getRootAsPool3D = function(bb, obj) { return (obj || new MNN.Pool3D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Pool3D=} obj * @returns {MNN.Pool3D} */ MNN.Pool3D.getSizePrefixedRootAsPool3D = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Pool3D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Pool3D.prototype.strides = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Pool3D.prototype.stridesLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Pool3D.prototype.stridesArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Pool3D.prototype.kernels = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Pool3D.prototype.kernelsLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Pool3D.prototype.kernelsArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Pool3D.prototype.pads = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Pool3D.prototype.padsLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Pool3D.prototype.padsArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.PoolType} */ MNN.Pool3D.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? /** @type {MNN.PoolType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolType.MAXPOOL; }; /** * @returns {MNN.PoolPadType} */ MNN.Pool3D.prototype.padType = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.PoolPadType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolPadType.CAFFE; }; /** * @param {flatbuffers.Builder} builder */ MNN.Pool3D.startPool3D = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stridesOffset */ MNN.Pool3D.addStrides = function(builder, stridesOffset) { builder.addFieldOffset(0, stridesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Pool3D.createStridesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Pool3D.startStridesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} kernelsOffset */ MNN.Pool3D.addKernels = function(builder, kernelsOffset) { builder.addFieldOffset(1, kernelsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Pool3D.createKernelsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Pool3D.startKernelsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} padsOffset */ MNN.Pool3D.addPads = function(builder, padsOffset) { builder.addFieldOffset(2, padsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Pool3D.createPadsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Pool3D.startPadsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolType} type */ MNN.Pool3D.addType = function(builder, type) { builder.addFieldInt8(3, type, MNN.PoolType.MAXPOOL); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolPadType} padType */ MNN.Pool3D.addPadType = function(builder, padType) { builder.addFieldInt8(4, padType, MNN.PoolPadType.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Pool3D.endPool3D = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stridesOffset * @param {flatbuffers.Offset} kernelsOffset * @param {flatbuffers.Offset} padsOffset * @param {MNN.PoolType} type * @param {MNN.PoolPadType} padType * @returns {flatbuffers.Offset} */ MNN.Pool3D.createPool3D = function(builder, stridesOffset, kernelsOffset, padsOffset, type, padType) { MNN.Pool3D.startPool3D(builder); MNN.Pool3D.addStrides(builder, stridesOffset); MNN.Pool3D.addKernels(builder, kernelsOffset); MNN.Pool3D.addPads(builder, padsOffset); MNN.Pool3D.addType(builder, type); MNN.Pool3D.addPadType(builder, padType); return MNN.Pool3D.endPool3D(builder); } /** * @constructor */ MNN.Relu = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Relu} */ MNN.Relu.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Relu=} obj * @returns {MNN.Relu} */ MNN.Relu.getRootAsRelu = function(bb, obj) { return (obj || new MNN.Relu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Relu=} obj * @returns {MNN.Relu} */ MNN.Relu.getSizePrefixedRootAsRelu = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Relu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Relu.prototype.slope = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Relu.startRelu = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {number} slope */ MNN.Relu.addSlope = function(builder, slope) { builder.addFieldFloat32(0, slope, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Relu.endRelu = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} slope * @returns {flatbuffers.Offset} */ MNN.Relu.createRelu = function(builder, slope) { MNN.Relu.startRelu(builder); MNN.Relu.addSlope(builder, slope); return MNN.Relu.endRelu(builder); } /** * @constructor */ MNN.Relu6 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Relu6} */ MNN.Relu6.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Relu6=} obj * @returns {MNN.Relu6} */ MNN.Relu6.getRootAsRelu6 = function(bb, obj) { return (obj || new MNN.Relu6).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Relu6=} obj * @returns {MNN.Relu6} */ MNN.Relu6.getSizePrefixedRootAsRelu6 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Relu6).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Relu6.prototype.slope = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Relu6.startRelu6 = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {number} slope */ MNN.Relu6.addSlope = function(builder, slope) { builder.addFieldFloat32(0, slope, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Relu6.endRelu6 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} slope * @returns {flatbuffers.Offset} */ MNN.Relu6.createRelu6 = function(builder, slope) { MNN.Relu6.startRelu6(builder); MNN.Relu6.addSlope(builder, slope); return MNN.Relu6.endRelu6(builder); } /** * @constructor */ MNN.PRelu = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.PRelu} */ MNN.PRelu.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PRelu=} obj * @returns {MNN.PRelu} */ MNN.PRelu.getRootAsPRelu = function(bb, obj) { return (obj || new MNN.PRelu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PRelu=} obj * @returns {MNN.PRelu} */ MNN.PRelu.getSizePrefixedRootAsPRelu = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.PRelu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.PRelu.prototype.slopeCount = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.PRelu.prototype.slope = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.PRelu.prototype.slopeLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.PRelu.prototype.slopeArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.PRelu.startPRelu = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} slopeCount */ MNN.PRelu.addSlopeCount = function(builder, slopeCount) { builder.addFieldInt32(0, slopeCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} slopeOffset */ MNN.PRelu.addSlope = function(builder, slopeOffset) { builder.addFieldOffset(1, slopeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.PRelu.createSlopeVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.PRelu.startSlopeVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.PRelu.endPRelu = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} slopeCount * @param {flatbuffers.Offset} slopeOffset * @returns {flatbuffers.Offset} */ MNN.PRelu.createPRelu = function(builder, slopeCount, slopeOffset) { MNN.PRelu.startPRelu(builder); MNN.PRelu.addSlopeCount(builder, slopeCount); MNN.PRelu.addSlope(builder, slopeOffset); return MNN.PRelu.endPRelu(builder); } /** * @constructor */ MNN.ELU = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ELU} */ MNN.ELU.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ELU=} obj * @returns {MNN.ELU} */ MNN.ELU.getRootAsELU = function(bb, obj) { return (obj || new MNN.ELU).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ELU=} obj * @returns {MNN.ELU} */ MNN.ELU.getSizePrefixedRootAsELU = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ELU).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.ELU.prototype.alpha = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.ELU.startELU = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {number} alpha */ MNN.ELU.addAlpha = function(builder, alpha) { builder.addFieldFloat32(0, alpha, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ELU.endELU = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} alpha * @returns {flatbuffers.Offset} */ MNN.ELU.createELU = function(builder, alpha) { MNN.ELU.startELU(builder); MNN.ELU.addAlpha(builder, alpha); return MNN.ELU.endELU(builder); } /** * @constructor */ MNN.LRN = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.LRN} */ MNN.LRN.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.LRN=} obj * @returns {MNN.LRN} */ MNN.LRN.getRootAsLRN = function(bb, obj) { return (obj || new MNN.LRN).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.LRN=} obj * @returns {MNN.LRN} */ MNN.LRN.getSizePrefixedRootAsLRN = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.LRN).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.LRN.prototype.regionType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.LRN.prototype.localSize = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.LRN.prototype.alpha = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.LRN.prototype.beta = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.LRN.startLRN = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {number} regionType */ MNN.LRN.addRegionType = function(builder, regionType) { builder.addFieldInt32(0, regionType, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} localSize */ MNN.LRN.addLocalSize = function(builder, localSize) { builder.addFieldInt32(1, localSize, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} alpha */ MNN.LRN.addAlpha = function(builder, alpha) { builder.addFieldFloat32(2, alpha, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} beta */ MNN.LRN.addBeta = function(builder, beta) { builder.addFieldFloat32(3, beta, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.LRN.endLRN = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} regionType * @param {number} localSize * @param {number} alpha * @param {number} beta * @returns {flatbuffers.Offset} */ MNN.LRN.createLRN = function(builder, regionType, localSize, alpha, beta) { MNN.LRN.startLRN(builder); MNN.LRN.addRegionType(builder, regionType); MNN.LRN.addLocalSize(builder, localSize); MNN.LRN.addAlpha(builder, alpha); MNN.LRN.addBeta(builder, beta); return MNN.LRN.endLRN(builder); } /** * @constructor */ MNN.ArgMax = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ArgMax} */ MNN.ArgMax.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ArgMax=} obj * @returns {MNN.ArgMax} */ MNN.ArgMax.getRootAsArgMax = function(bb, obj) { return (obj || new MNN.ArgMax).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ArgMax=} obj * @returns {MNN.ArgMax} */ MNN.ArgMax.getSizePrefixedRootAsArgMax = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ArgMax).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.ArgMax.prototype.outMaxVal = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.ArgMax.prototype.topK = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.ArgMax.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.ArgMax.prototype.softmaxThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.ArgMax.startArgMax = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {number} outMaxVal */ MNN.ArgMax.addOutMaxVal = function(builder, outMaxVal) { builder.addFieldInt32(0, outMaxVal, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} topK */ MNN.ArgMax.addTopK = function(builder, topK) { builder.addFieldInt32(1, topK, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.ArgMax.addAxis = function(builder, axis) { builder.addFieldInt32(2, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} softmaxThreshold */ MNN.ArgMax.addSoftmaxThreshold = function(builder, softmaxThreshold) { builder.addFieldInt32(3, softmaxThreshold, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ArgMax.endArgMax = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} outMaxVal * @param {number} topK * @param {number} axis * @param {number} softmaxThreshold * @returns {flatbuffers.Offset} */ MNN.ArgMax.createArgMax = function(builder, outMaxVal, topK, axis, softmaxThreshold) { MNN.ArgMax.startArgMax(builder); MNN.ArgMax.addOutMaxVal(builder, outMaxVal); MNN.ArgMax.addTopK(builder, topK); MNN.ArgMax.addAxis(builder, axis); MNN.ArgMax.addSoftmaxThreshold(builder, softmaxThreshold); return MNN.ArgMax.endArgMax(builder); } /** * @constructor */ MNN.Axis = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Axis} */ MNN.Axis.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Axis=} obj * @returns {MNN.Axis} */ MNN.Axis.getRootAsAxis = function(bb, obj) { return (obj || new MNN.Axis).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Axis=} obj * @returns {MNN.Axis} */ MNN.Axis.getSizePrefixedRootAsAxis = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Axis).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Axis.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Axis.startAxis = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.Axis.addAxis = function(builder, axis) { builder.addFieldInt32(0, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Axis.endAxis = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} axis * @returns {flatbuffers.Offset} */ MNN.Axis.createAxis = function(builder, axis) { MNN.Axis.startAxis(builder); MNN.Axis.addAxis(builder, axis); return MNN.Axis.endAxis(builder); } /** * @constructor */ MNN.Input = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Input} */ MNN.Input.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Input=} obj * @returns {MNN.Input} */ MNN.Input.getRootAsInput = function(bb, obj) { return (obj || new MNN.Input).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Input=} obj * @returns {MNN.Input} */ MNN.Input.getSizePrefixedRootAsInput = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Input).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Input.prototype.dims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Input.prototype.dimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Input.prototype.dimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.DataType} */ MNN.Input.prototype.dtype = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.Input.prototype.dformat = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NC4HW4; }; /** * @param {flatbuffers.Builder} builder */ MNN.Input.startInput = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset */ MNN.Input.addDims = function(builder, dimsOffset) { builder.addFieldOffset(0, dimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Input.createDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Input.startDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dtype */ MNN.Input.addDtype = function(builder, dtype) { builder.addFieldInt32(1, dtype, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} dformat */ MNN.Input.addDformat = function(builder, dformat) { builder.addFieldInt8(2, dformat, MNN.MNN_DATA_FORMAT.NC4HW4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Input.endInput = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset * @param {MNN.DataType} dtype * @param {MNN.MNN_DATA_FORMAT} dformat * @returns {flatbuffers.Offset} */ MNN.Input.createInput = function(builder, dimsOffset, dtype, dformat) { MNN.Input.startInput(builder); MNN.Input.addDims(builder, dimsOffset); MNN.Input.addDtype(builder, dtype); MNN.Input.addDformat(builder, dformat); return MNN.Input.endInput(builder); } /** * @constructor */ MNN.LSTM = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.LSTM} */ MNN.LSTM.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.LSTM=} obj * @returns {MNN.LSTM} */ MNN.LSTM.getRootAsLSTM = function(bb, obj) { return (obj || new MNN.LSTM).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.LSTM=} obj * @returns {MNN.LSTM} */ MNN.LSTM.getSizePrefixedRootAsLSTM = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.LSTM).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.LSTM.prototype.outputCount = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.LSTM.prototype.weightSize = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.LSTM.prototype.clippingThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.LSTM.prototype.weightI = function(obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.LSTM.prototype.weightH = function(obj) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.LSTM.prototype.bias = function(obj) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.LSTM.prototype.weightIQ = function(obj) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.LSTM.prototype.weightIA = function(obj) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @returns {number} */ MNN.LSTM.prototype.quantScale = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.LSTM.startLSTM = function(builder) { builder.startObject(9); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount */ MNN.LSTM.addOutputCount = function(builder, outputCount) { builder.addFieldInt32(0, outputCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} weightSize */ MNN.LSTM.addWeightSize = function(builder, weightSize) { builder.addFieldInt32(1, weightSize, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} clippingThreshold */ MNN.LSTM.addClippingThreshold = function(builder, clippingThreshold) { builder.addFieldFloat32(2, clippingThreshold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightIOffset */ MNN.LSTM.addWeightI = function(builder, weightIOffset) { builder.addFieldOffset(3, weightIOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightHOffset */ MNN.LSTM.addWeightH = function(builder, weightHOffset) { builder.addFieldOffset(4, weightHOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.LSTM.addBias = function(builder, biasOffset) { builder.addFieldOffset(5, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightIQOffset */ MNN.LSTM.addWeightIQ = function(builder, weightIQOffset) { builder.addFieldOffset(6, weightIQOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightIAOffset */ MNN.LSTM.addWeightIA = function(builder, weightIAOffset) { builder.addFieldOffset(7, weightIAOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} quantScale */ MNN.LSTM.addQuantScale = function(builder, quantScale) { builder.addFieldFloat32(8, quantScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.LSTM.endLSTM = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} outputCount * @param {number} weightSize * @param {number} clippingThreshold * @param {flatbuffers.Offset} weightIOffset * @param {flatbuffers.Offset} weightHOffset * @param {flatbuffers.Offset} biasOffset * @param {flatbuffers.Offset} weightIQOffset * @param {flatbuffers.Offset} weightIAOffset * @param {number} quantScale * @returns {flatbuffers.Offset} */ MNN.LSTM.createLSTM = function(builder, outputCount, weightSize, clippingThreshold, weightIOffset, weightHOffset, biasOffset, weightIQOffset, weightIAOffset, quantScale) { MNN.LSTM.startLSTM(builder); MNN.LSTM.addOutputCount(builder, outputCount); MNN.LSTM.addWeightSize(builder, weightSize); MNN.LSTM.addClippingThreshold(builder, clippingThreshold); MNN.LSTM.addWeightI(builder, weightIOffset); MNN.LSTM.addWeightH(builder, weightHOffset); MNN.LSTM.addBias(builder, biasOffset); MNN.LSTM.addWeightIQ(builder, weightIQOffset); MNN.LSTM.addWeightIA(builder, weightIAOffset); MNN.LSTM.addQuantScale(builder, quantScale); return MNN.LSTM.endLSTM(builder); } /** * @constructor */ MNN.Slice = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Slice} */ MNN.Slice.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Slice=} obj * @returns {MNN.Slice} */ MNN.Slice.getRootAsSlice = function(bb, obj) { return (obj || new MNN.Slice).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Slice=} obj * @returns {MNN.Slice} */ MNN.Slice.getSizePrefixedRootAsSlice = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Slice).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Slice.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.Slice.prototype.slicePoints = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Slice.prototype.slicePointsLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Slice.prototype.slicePointsArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.NetSource} */ MNN.Slice.prototype.sourceType = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.NetSource} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.NetSource.CAFFE; }; /** * @param {flatbuffers.Builder} builder */ MNN.Slice.startSlice = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.Slice.addAxis = function(builder, axis) { builder.addFieldInt32(0, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} slicePointsOffset */ MNN.Slice.addSlicePoints = function(builder, slicePointsOffset) { builder.addFieldOffset(1, slicePointsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Slice.createSlicePointsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Slice.startSlicePointsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.NetSource} sourceType */ MNN.Slice.addSourceType = function(builder, sourceType) { builder.addFieldInt8(2, sourceType, MNN.NetSource.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Slice.endSlice = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} axis * @param {flatbuffers.Offset} slicePointsOffset * @param {MNN.NetSource} sourceType * @returns {flatbuffers.Offset} */ MNN.Slice.createSlice = function(builder, axis, slicePointsOffset, sourceType) { MNN.Slice.startSlice(builder); MNN.Slice.addAxis(builder, axis); MNN.Slice.addSlicePoints(builder, slicePointsOffset); MNN.Slice.addSourceType(builder, sourceType); return MNN.Slice.endSlice(builder); } /** * @constructor */ MNN.BatchNorm = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.BatchNorm} */ MNN.BatchNorm.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BatchNorm=} obj * @returns {MNN.BatchNorm} */ MNN.BatchNorm.getRootAsBatchNorm = function(bb, obj) { return (obj || new MNN.BatchNorm).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BatchNorm=} obj * @returns {MNN.BatchNorm} */ MNN.BatchNorm.getSizePrefixedRootAsBatchNorm = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.BatchNorm).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.BatchNorm.prototype.channels = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.slopeData = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.slopeDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.slopeDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.meanData = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.meanDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.meanDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.varData = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.varDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.varDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.biasData = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.biasDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.biasDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.Adata = function(index) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.AdataLength = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.AdataArray = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.BatchNorm.prototype.Bdata = function(index) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.BatchNorm.prototype.BdataLength = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.BatchNorm.prototype.BdataArray = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {number} */ MNN.BatchNorm.prototype.epsilon = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.001; }; /** * @param {flatbuffers.Builder} builder */ MNN.BatchNorm.startBatchNorm = function(builder) { builder.startObject(8); }; /** * @param {flatbuffers.Builder} builder * @param {number} channels */ MNN.BatchNorm.addChannels = function(builder, channels) { builder.addFieldInt32(0, channels, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} slopeDataOffset */ MNN.BatchNorm.addSlopeData = function(builder, slopeDataOffset) { builder.addFieldOffset(1, slopeDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createSlopeDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startSlopeDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} meanDataOffset */ MNN.BatchNorm.addMeanData = function(builder, meanDataOffset) { builder.addFieldOffset(2, meanDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createMeanDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startMeanDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} varDataOffset */ MNN.BatchNorm.addVarData = function(builder, varDataOffset) { builder.addFieldOffset(3, varDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createVarDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startVarDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasDataOffset */ MNN.BatchNorm.addBiasData = function(builder, biasDataOffset) { builder.addFieldOffset(4, biasDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createBiasDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startBiasDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} AdataOffset */ MNN.BatchNorm.addAdata = function(builder, AdataOffset) { builder.addFieldOffset(5, AdataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createAdataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startAdataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} BdataOffset */ MNN.BatchNorm.addBdata = function(builder, BdataOffset) { builder.addFieldOffset(6, BdataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createBdataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.BatchNorm.startBdataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} epsilon */ MNN.BatchNorm.addEpsilon = function(builder, epsilon) { builder.addFieldFloat32(7, epsilon, 0.001); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.BatchNorm.endBatchNorm = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} channels * @param {flatbuffers.Offset} slopeDataOffset * @param {flatbuffers.Offset} meanDataOffset * @param {flatbuffers.Offset} varDataOffset * @param {flatbuffers.Offset} biasDataOffset * @param {flatbuffers.Offset} AdataOffset * @param {flatbuffers.Offset} BdataOffset * @param {number} epsilon * @returns {flatbuffers.Offset} */ MNN.BatchNorm.createBatchNorm = function(builder, channels, slopeDataOffset, meanDataOffset, varDataOffset, biasDataOffset, AdataOffset, BdataOffset, epsilon) { MNN.BatchNorm.startBatchNorm(builder); MNN.BatchNorm.addChannels(builder, channels); MNN.BatchNorm.addSlopeData(builder, slopeDataOffset); MNN.BatchNorm.addMeanData(builder, meanDataOffset); MNN.BatchNorm.addVarData(builder, varDataOffset); MNN.BatchNorm.addBiasData(builder, biasDataOffset); MNN.BatchNorm.addAdata(builder, AdataOffset); MNN.BatchNorm.addBdata(builder, BdataOffset); MNN.BatchNorm.addEpsilon(builder, epsilon); return MNN.BatchNorm.endBatchNorm(builder); } /** * @constructor */ MNN.Scale = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Scale} */ MNN.Scale.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Scale=} obj * @returns {MNN.Scale} */ MNN.Scale.getRootAsScale = function(bb, obj) { return (obj || new MNN.Scale).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Scale=} obj * @returns {MNN.Scale} */ MNN.Scale.getSizePrefixedRootAsScale = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Scale).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Scale.prototype.channels = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.Scale.prototype.scaleData = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Scale.prototype.scaleDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Scale.prototype.scaleDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.Scale.prototype.biasData = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Scale.prototype.biasDataLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Scale.prototype.biasDataArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Scale.startScale = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {number} channels */ MNN.Scale.addChannels = function(builder, channels) { builder.addFieldInt32(0, channels, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} scaleDataOffset */ MNN.Scale.addScaleData = function(builder, scaleDataOffset) { builder.addFieldOffset(1, scaleDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Scale.createScaleDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Scale.startScaleDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasDataOffset */ MNN.Scale.addBiasData = function(builder, biasDataOffset) { builder.addFieldOffset(2, biasDataOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Scale.createBiasDataVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Scale.startBiasDataVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Scale.endScale = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} channels * @param {flatbuffers.Offset} scaleDataOffset * @param {flatbuffers.Offset} biasDataOffset * @returns {flatbuffers.Offset} */ MNN.Scale.createScale = function(builder, channels, scaleDataOffset, biasDataOffset) { MNN.Scale.startScale(builder); MNN.Scale.addChannels(builder, channels); MNN.Scale.addScaleData(builder, scaleDataOffset); MNN.Scale.addBiasData(builder, biasDataOffset); return MNN.Scale.endScale(builder); } /** * @constructor */ MNN.Eltwise = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Eltwise} */ MNN.Eltwise.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Eltwise=} obj * @returns {MNN.Eltwise} */ MNN.Eltwise.getRootAsEltwise = function(bb, obj) { return (obj || new MNN.Eltwise).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Eltwise=} obj * @returns {MNN.Eltwise} */ MNN.Eltwise.getSizePrefixedRootAsEltwise = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Eltwise).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.EltwiseType} */ MNN.Eltwise.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.EltwiseType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.EltwiseType.PROD; }; /** * @param {number} index * @returns {number} */ MNN.Eltwise.prototype.coeff = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Eltwise.prototype.coeffLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Eltwise.prototype.coeffArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Eltwise.startEltwise = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.EltwiseType} type */ MNN.Eltwise.addType = function(builder, type) { builder.addFieldInt8(0, type, MNN.EltwiseType.PROD); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} coeffOffset */ MNN.Eltwise.addCoeff = function(builder, coeffOffset) { builder.addFieldOffset(1, coeffOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Eltwise.createCoeffVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Eltwise.startCoeffVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Eltwise.endEltwise = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.EltwiseType} type * @param {flatbuffers.Offset} coeffOffset * @returns {flatbuffers.Offset} */ MNN.Eltwise.createEltwise = function(builder, type, coeffOffset) { MNN.Eltwise.startEltwise(builder); MNN.Eltwise.addType(builder, type); MNN.Eltwise.addCoeff(builder, coeffOffset); return MNN.Eltwise.endEltwise(builder); } /** * @constructor */ MNN.Flatten = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Flatten} */ MNN.Flatten.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Flatten=} obj * @returns {MNN.Flatten} */ MNN.Flatten.getRootAsFlatten = function(bb, obj) { return (obj || new MNN.Flatten).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Flatten=} obj * @returns {MNN.Flatten} */ MNN.Flatten.getSizePrefixedRootAsFlatten = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Flatten).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Flatten.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Flatten.prototype.endAxis = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Flatten.startFlatten = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.Flatten.addAxis = function(builder, axis) { builder.addFieldInt32(0, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} endAxis */ MNN.Flatten.addEndAxis = function(builder, endAxis) { builder.addFieldInt32(1, endAxis, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Flatten.endFlatten = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} axis * @param {number} endAxis * @returns {flatbuffers.Offset} */ MNN.Flatten.createFlatten = function(builder, axis, endAxis) { MNN.Flatten.startFlatten(builder); MNN.Flatten.addAxis(builder, axis); MNN.Flatten.addEndAxis(builder, endAxis); return MNN.Flatten.endFlatten(builder); } /** * @constructor */ MNN.Permute = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Permute} */ MNN.Permute.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Permute=} obj * @returns {MNN.Permute} */ MNN.Permute.getRootAsPermute = function(bb, obj) { return (obj || new MNN.Permute).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Permute=} obj * @returns {MNN.Permute} */ MNN.Permute.getSizePrefixedRootAsPermute = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Permute).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Permute.prototype.dims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Permute.prototype.dimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Permute.prototype.dimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Permute.startPermute = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset */ MNN.Permute.addDims = function(builder, dimsOffset) { builder.addFieldOffset(0, dimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Permute.createDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Permute.startDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Permute.endPermute = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset * @returns {flatbuffers.Offset} */ MNN.Permute.createPermute = function(builder, dimsOffset) { MNN.Permute.startPermute(builder); MNN.Permute.addDims(builder, dimsOffset); return MNN.Permute.endPermute(builder); } /** * @constructor */ MNN.Reshape = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Reshape} */ MNN.Reshape.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Reshape=} obj * @returns {MNN.Reshape} */ MNN.Reshape.getRootAsReshape = function(bb, obj) { return (obj || new MNN.Reshape).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Reshape=} obj * @returns {MNN.Reshape} */ MNN.Reshape.getSizePrefixedRootAsReshape = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Reshape).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Reshape.prototype.dims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Reshape.prototype.dimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Reshape.prototype.dimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.Reshape.prototype.dimType = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NCHW; }; /** * @param {flatbuffers.Builder} builder */ MNN.Reshape.startReshape = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset */ MNN.Reshape.addDims = function(builder, dimsOffset) { builder.addFieldOffset(0, dimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Reshape.createDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Reshape.startDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} dimType */ MNN.Reshape.addDimType = function(builder, dimType) { builder.addFieldInt8(1, dimType, MNN.MNN_DATA_FORMAT.NCHW); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Reshape.endReshape = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset * @param {MNN.MNN_DATA_FORMAT} dimType * @returns {flatbuffers.Offset} */ MNN.Reshape.createReshape = function(builder, dimsOffset, dimType) { MNN.Reshape.startReshape(builder); MNN.Reshape.addDims(builder, dimsOffset); MNN.Reshape.addDimType(builder, dimType); return MNN.Reshape.endReshape(builder); } /** * @constructor */ MNN.DetectionOutput = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.DetectionOutput} */ MNN.DetectionOutput.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DetectionOutput=} obj * @returns {MNN.DetectionOutput} */ MNN.DetectionOutput.getRootAsDetectionOutput = function(bb, obj) { return (obj || new MNN.DetectionOutput).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DetectionOutput=} obj * @returns {MNN.DetectionOutput} */ MNN.DetectionOutput.getSizePrefixedRootAsDetectionOutput = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.DetectionOutput).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.DetectionOutput.prototype.classCount = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.nmsThresholdold = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.nmsTopK = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.keepTopK = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.confidenceThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.shareLocation = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.backgroundLable = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.varianceEncodedTarget = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.codeType = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionOutput.prototype.objectnessScore = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.01; }; /** * @param {flatbuffers.Builder} builder */ MNN.DetectionOutput.startDetectionOutput = function(builder) { builder.startObject(10); }; /** * @param {flatbuffers.Builder} builder * @param {number} classCount */ MNN.DetectionOutput.addClassCount = function(builder, classCount) { builder.addFieldInt32(0, classCount, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} nmsThresholdold */ MNN.DetectionOutput.addNmsThresholdold = function(builder, nmsThresholdold) { builder.addFieldFloat32(1, nmsThresholdold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} nmsTopK */ MNN.DetectionOutput.addNmsTopK = function(builder, nmsTopK) { builder.addFieldInt32(2, nmsTopK, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} keepTopK */ MNN.DetectionOutput.addKeepTopK = function(builder, keepTopK) { builder.addFieldInt32(3, keepTopK, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} confidenceThreshold */ MNN.DetectionOutput.addConfidenceThreshold = function(builder, confidenceThreshold) { builder.addFieldFloat32(4, confidenceThreshold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} shareLocation */ MNN.DetectionOutput.addShareLocation = function(builder, shareLocation) { builder.addFieldInt32(5, shareLocation, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} backgroundLable */ MNN.DetectionOutput.addBackgroundLable = function(builder, backgroundLable) { builder.addFieldInt32(6, backgroundLable, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} varianceEncodedTarget */ MNN.DetectionOutput.addVarianceEncodedTarget = function(builder, varianceEncodedTarget) { builder.addFieldInt32(7, varianceEncodedTarget, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} codeType */ MNN.DetectionOutput.addCodeType = function(builder, codeType) { builder.addFieldInt32(8, codeType, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} objectnessScore */ MNN.DetectionOutput.addObjectnessScore = function(builder, objectnessScore) { builder.addFieldFloat32(9, objectnessScore, 0.01); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.DetectionOutput.endDetectionOutput = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} classCount * @param {number} nmsThresholdold * @param {number} nmsTopK * @param {number} keepTopK * @param {number} confidenceThreshold * @param {number} shareLocation * @param {number} backgroundLable * @param {number} varianceEncodedTarget * @param {number} codeType * @param {number} objectnessScore * @returns {flatbuffers.Offset} */ MNN.DetectionOutput.createDetectionOutput = function(builder, classCount, nmsThresholdold, nmsTopK, keepTopK, confidenceThreshold, shareLocation, backgroundLable, varianceEncodedTarget, codeType, objectnessScore) { MNN.DetectionOutput.startDetectionOutput(builder); MNN.DetectionOutput.addClassCount(builder, classCount); MNN.DetectionOutput.addNmsThresholdold(builder, nmsThresholdold); MNN.DetectionOutput.addNmsTopK(builder, nmsTopK); MNN.DetectionOutput.addKeepTopK(builder, keepTopK); MNN.DetectionOutput.addConfidenceThreshold(builder, confidenceThreshold); MNN.DetectionOutput.addShareLocation(builder, shareLocation); MNN.DetectionOutput.addBackgroundLable(builder, backgroundLable); MNN.DetectionOutput.addVarianceEncodedTarget(builder, varianceEncodedTarget); MNN.DetectionOutput.addCodeType(builder, codeType); MNN.DetectionOutput.addObjectnessScore(builder, objectnessScore); return MNN.DetectionOutput.endDetectionOutput(builder); } /** * @constructor */ MNN.RoiPooling = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.RoiPooling} */ MNN.RoiPooling.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RoiPooling=} obj * @returns {MNN.RoiPooling} */ MNN.RoiPooling.getRootAsRoiPooling = function(bb, obj) { return (obj || new MNN.RoiPooling).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RoiPooling=} obj * @returns {MNN.RoiPooling} */ MNN.RoiPooling.getSizePrefixedRootAsRoiPooling = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.RoiPooling).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.RoiPooling.prototype.pooledWidth = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.RoiPooling.prototype.pooledHeight = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.RoiPooling.prototype.spatialScale = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.RoiPooling.startRoiPooling = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {number} pooledWidth */ MNN.RoiPooling.addPooledWidth = function(builder, pooledWidth) { builder.addFieldInt32(0, pooledWidth, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} pooledHeight */ MNN.RoiPooling.addPooledHeight = function(builder, pooledHeight) { builder.addFieldInt32(1, pooledHeight, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} spatialScale */ MNN.RoiPooling.addSpatialScale = function(builder, spatialScale) { builder.addFieldFloat32(2, spatialScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.RoiPooling.endRoiPooling = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} pooledWidth * @param {number} pooledHeight * @param {number} spatialScale * @returns {flatbuffers.Offset} */ MNN.RoiPooling.createRoiPooling = function(builder, pooledWidth, pooledHeight, spatialScale) { MNN.RoiPooling.startRoiPooling(builder); MNN.RoiPooling.addPooledWidth(builder, pooledWidth); MNN.RoiPooling.addPooledHeight(builder, pooledHeight); MNN.RoiPooling.addSpatialScale(builder, spatialScale); return MNN.RoiPooling.endRoiPooling(builder); } /** * @constructor */ MNN.Proposal = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Proposal} */ MNN.Proposal.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Proposal=} obj * @returns {MNN.Proposal} */ MNN.Proposal.getRootAsProposal = function(bb, obj) { return (obj || new MNN.Proposal).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Proposal=} obj * @returns {MNN.Proposal} */ MNN.Proposal.getSizePrefixedRootAsProposal = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Proposal).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Proposal.prototype.featStride = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Proposal.prototype.baseSize = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Proposal.prototype.preNmsTopN = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Proposal.prototype.afterNmsTopN = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Proposal.prototype.nmsThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.Proposal.prototype.minSize = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.Proposal.prototype.ratios = function(obj) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.Proposal.prototype.scales = function(obj) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.Proposal.prototype.anchors = function(obj) { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Proposal.startProposal = function(builder) { builder.startObject(9); }; /** * @param {flatbuffers.Builder} builder * @param {number} featStride */ MNN.Proposal.addFeatStride = function(builder, featStride) { builder.addFieldInt32(0, featStride, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} baseSize */ MNN.Proposal.addBaseSize = function(builder, baseSize) { builder.addFieldInt32(1, baseSize, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} preNmsTopN */ MNN.Proposal.addPreNmsTopN = function(builder, preNmsTopN) { builder.addFieldInt32(2, preNmsTopN, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} afterNmsTopN */ MNN.Proposal.addAfterNmsTopN = function(builder, afterNmsTopN) { builder.addFieldInt32(3, afterNmsTopN, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} nmsThreshold */ MNN.Proposal.addNmsThreshold = function(builder, nmsThreshold) { builder.addFieldFloat32(4, nmsThreshold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} minSize */ MNN.Proposal.addMinSize = function(builder, minSize) { builder.addFieldInt32(5, minSize, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} ratiosOffset */ MNN.Proposal.addRatios = function(builder, ratiosOffset) { builder.addFieldOffset(6, ratiosOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} scalesOffset */ MNN.Proposal.addScales = function(builder, scalesOffset) { builder.addFieldOffset(7, scalesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} anchorsOffset */ MNN.Proposal.addAnchors = function(builder, anchorsOffset) { builder.addFieldOffset(8, anchorsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Proposal.endProposal = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} featStride * @param {number} baseSize * @param {number} preNmsTopN * @param {number} afterNmsTopN * @param {number} nmsThreshold * @param {number} minSize * @param {flatbuffers.Offset} ratiosOffset * @param {flatbuffers.Offset} scalesOffset * @param {flatbuffers.Offset} anchorsOffset * @returns {flatbuffers.Offset} */ MNN.Proposal.createProposal = function(builder, featStride, baseSize, preNmsTopN, afterNmsTopN, nmsThreshold, minSize, ratiosOffset, scalesOffset, anchorsOffset) { MNN.Proposal.startProposal(builder); MNN.Proposal.addFeatStride(builder, featStride); MNN.Proposal.addBaseSize(builder, baseSize); MNN.Proposal.addPreNmsTopN(builder, preNmsTopN); MNN.Proposal.addAfterNmsTopN(builder, afterNmsTopN); MNN.Proposal.addNmsThreshold(builder, nmsThreshold); MNN.Proposal.addMinSize(builder, minSize); MNN.Proposal.addRatios(builder, ratiosOffset); MNN.Proposal.addScales(builder, scalesOffset); MNN.Proposal.addAnchors(builder, anchorsOffset); return MNN.Proposal.endProposal(builder); } /** * @constructor */ MNN.Interp = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Interp} */ MNN.Interp.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Interp=} obj * @returns {MNN.Interp} */ MNN.Interp.getRootAsInterp = function(bb, obj) { return (obj || new MNN.Interp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Interp=} obj * @returns {MNN.Interp} */ MNN.Interp.getSizePrefixedRootAsInterp = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Interp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Interp.prototype.widthScale = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.Interp.prototype.heightScale = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.Interp.prototype.outputWidth = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Interp.prototype.outputHeight = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Interp.prototype.resizeType = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.Interp.prototype.alignCorners = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.Interp.prototype.halfPixelCenters = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.Interp.startInterp = function(builder) { builder.startObject(7); }; /** * @param {flatbuffers.Builder} builder * @param {number} widthScale */ MNN.Interp.addWidthScale = function(builder, widthScale) { builder.addFieldFloat32(0, widthScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} heightScale */ MNN.Interp.addHeightScale = function(builder, heightScale) { builder.addFieldFloat32(1, heightScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputWidth */ MNN.Interp.addOutputWidth = function(builder, outputWidth) { builder.addFieldInt32(2, outputWidth, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputHeight */ MNN.Interp.addOutputHeight = function(builder, outputHeight) { builder.addFieldInt32(3, outputHeight, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} resizeType */ MNN.Interp.addResizeType = function(builder, resizeType) { builder.addFieldInt32(4, resizeType, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} alignCorners */ MNN.Interp.addAlignCorners = function(builder, alignCorners) { builder.addFieldInt8(5, +alignCorners, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} halfPixelCenters */ MNN.Interp.addHalfPixelCenters = function(builder, halfPixelCenters) { builder.addFieldInt8(6, +halfPixelCenters, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Interp.endInterp = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} widthScale * @param {number} heightScale * @param {number} outputWidth * @param {number} outputHeight * @param {number} resizeType * @param {boolean} alignCorners * @param {boolean} halfPixelCenters * @returns {flatbuffers.Offset} */ MNN.Interp.createInterp = function(builder, widthScale, heightScale, outputWidth, outputHeight, resizeType, alignCorners, halfPixelCenters) { MNN.Interp.startInterp(builder); MNN.Interp.addWidthScale(builder, widthScale); MNN.Interp.addHeightScale(builder, heightScale); MNN.Interp.addOutputWidth(builder, outputWidth); MNN.Interp.addOutputHeight(builder, outputHeight); MNN.Interp.addResizeType(builder, resizeType); MNN.Interp.addAlignCorners(builder, alignCorners); MNN.Interp.addHalfPixelCenters(builder, halfPixelCenters); return MNN.Interp.endInterp(builder); } /** * @constructor */ MNN.Resize = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Resize} */ MNN.Resize.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Resize=} obj * @returns {MNN.Resize} */ MNN.Resize.getRootAsResize = function(bb, obj) { return (obj || new MNN.Resize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Resize=} obj * @returns {MNN.Resize} */ MNN.Resize.getSizePrefixedRootAsResize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Resize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Resize.prototype.xScale = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.Resize.prototype.yScale = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Resize.startResize = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} xScale */ MNN.Resize.addXScale = function(builder, xScale) { builder.addFieldFloat32(0, xScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} yScale */ MNN.Resize.addYScale = function(builder, yScale) { builder.addFieldFloat32(1, yScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Resize.endResize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} xScale * @param {number} yScale * @returns {flatbuffers.Offset} */ MNN.Resize.createResize = function(builder, xScale, yScale) { MNN.Resize.startResize(builder); MNN.Resize.addXScale(builder, xScale); MNN.Resize.addYScale(builder, yScale); return MNN.Resize.endResize(builder); } /** * @constructor */ MNN.PriorBox = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.PriorBox} */ MNN.PriorBox.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PriorBox=} obj * @returns {MNN.PriorBox} */ MNN.PriorBox.getRootAsPriorBox = function(bb, obj) { return (obj || new MNN.PriorBox).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PriorBox=} obj * @returns {MNN.PriorBox} */ MNN.PriorBox.getSizePrefixedRootAsPriorBox = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.PriorBox).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.PriorBox.prototype.minSizes = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.minSizesLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.PriorBox.prototype.minSizesArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.PriorBox.prototype.maxSizes = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.maxSizesLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.PriorBox.prototype.maxSizesArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.PriorBox.prototype.aspectRatios = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.aspectRatiosLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.PriorBox.prototype.aspectRatiosArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.PriorBox.prototype.variances = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.variancesLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.PriorBox.prototype.variancesArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {boolean} */ MNN.PriorBox.prototype.flip = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.PriorBox.prototype.clip = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {number} */ MNN.PriorBox.prototype.imageWidth = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.imageHeight = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.stepWidth = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.stepHeight = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.PriorBox.prototype.offset = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.PriorBox.startPriorBox = function(builder) { builder.startObject(11); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} minSizesOffset */ MNN.PriorBox.addMinSizes = function(builder, minSizesOffset) { builder.addFieldOffset(0, minSizesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.PriorBox.createMinSizesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.PriorBox.startMinSizesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} maxSizesOffset */ MNN.PriorBox.addMaxSizes = function(builder, maxSizesOffset) { builder.addFieldOffset(1, maxSizesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.PriorBox.createMaxSizesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.PriorBox.startMaxSizesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} aspectRatiosOffset */ MNN.PriorBox.addAspectRatios = function(builder, aspectRatiosOffset) { builder.addFieldOffset(2, aspectRatiosOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.PriorBox.createAspectRatiosVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.PriorBox.startAspectRatiosVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} variancesOffset */ MNN.PriorBox.addVariances = function(builder, variancesOffset) { builder.addFieldOffset(3, variancesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.PriorBox.createVariancesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.PriorBox.startVariancesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} flip */ MNN.PriorBox.addFlip = function(builder, flip) { builder.addFieldInt8(4, +flip, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} clip */ MNN.PriorBox.addClip = function(builder, clip) { builder.addFieldInt8(5, +clip, +false); }; /** * @param {flatbuffers.Builder} builder * @param {number} imageWidth */ MNN.PriorBox.addImageWidth = function(builder, imageWidth) { builder.addFieldInt32(6, imageWidth, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} imageHeight */ MNN.PriorBox.addImageHeight = function(builder, imageHeight) { builder.addFieldInt32(7, imageHeight, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} stepWidth */ MNN.PriorBox.addStepWidth = function(builder, stepWidth) { builder.addFieldInt32(8, stepWidth, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} stepHeight */ MNN.PriorBox.addStepHeight = function(builder, stepHeight) { builder.addFieldInt32(9, stepHeight, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} offset */ MNN.PriorBox.addOffset = function(builder, offset) { builder.addFieldFloat32(10, offset, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.PriorBox.endPriorBox = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} minSizesOffset * @param {flatbuffers.Offset} maxSizesOffset * @param {flatbuffers.Offset} aspectRatiosOffset * @param {flatbuffers.Offset} variancesOffset * @param {boolean} flip * @param {boolean} clip * @param {number} imageWidth * @param {number} imageHeight * @param {number} stepWidth * @param {number} stepHeight * @param {number} offset * @returns {flatbuffers.Offset} */ MNN.PriorBox.createPriorBox = function(builder, minSizesOffset, maxSizesOffset, aspectRatiosOffset, variancesOffset, flip, clip, imageWidth, imageHeight, stepWidth, stepHeight, offset) { MNN.PriorBox.startPriorBox(builder); MNN.PriorBox.addMinSizes(builder, minSizesOffset); MNN.PriorBox.addMaxSizes(builder, maxSizesOffset); MNN.PriorBox.addAspectRatios(builder, aspectRatiosOffset); MNN.PriorBox.addVariances(builder, variancesOffset); MNN.PriorBox.addFlip(builder, flip); MNN.PriorBox.addClip(builder, clip); MNN.PriorBox.addImageWidth(builder, imageWidth); MNN.PriorBox.addImageHeight(builder, imageHeight); MNN.PriorBox.addStepWidth(builder, stepWidth); MNN.PriorBox.addStepHeight(builder, stepHeight); MNN.PriorBox.addOffset(builder, offset); return MNN.PriorBox.endPriorBox(builder); } /** * @constructor */ MNN.Normalize = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Normalize} */ MNN.Normalize.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Normalize=} obj * @returns {MNN.Normalize} */ MNN.Normalize.getRootAsNormalize = function(bb, obj) { return (obj || new MNN.Normalize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Normalize=} obj * @returns {MNN.Normalize} */ MNN.Normalize.getSizePrefixedRootAsNormalize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Normalize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Normalize.prototype.acrossSpatial = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Normalize.prototype.channelShared = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Normalize.prototype.eps = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {number} index * @returns {number} */ MNN.Normalize.prototype.scale = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Normalize.prototype.scaleLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.Normalize.prototype.scaleArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Normalize.startNormalize = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {number} acrossSpatial */ MNN.Normalize.addAcrossSpatial = function(builder, acrossSpatial) { builder.addFieldInt32(0, acrossSpatial, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} channelShared */ MNN.Normalize.addChannelShared = function(builder, channelShared) { builder.addFieldInt32(1, channelShared, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} eps */ MNN.Normalize.addEps = function(builder, eps) { builder.addFieldFloat32(2, eps, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} scaleOffset */ MNN.Normalize.addScale = function(builder, scaleOffset) { builder.addFieldOffset(3, scaleOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Normalize.createScaleVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Normalize.startScaleVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Normalize.endNormalize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} acrossSpatial * @param {number} channelShared * @param {number} eps * @param {flatbuffers.Offset} scaleOffset * @returns {flatbuffers.Offset} */ MNN.Normalize.createNormalize = function(builder, acrossSpatial, channelShared, eps, scaleOffset) { MNN.Normalize.startNormalize(builder); MNN.Normalize.addAcrossSpatial(builder, acrossSpatial); MNN.Normalize.addChannelShared(builder, channelShared); MNN.Normalize.addEps(builder, eps); MNN.Normalize.addScale(builder, scaleOffset); return MNN.Normalize.endNormalize(builder); } /** * @constructor */ MNN.EltwiseInt8 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.EltwiseInt8} */ MNN.EltwiseInt8.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.EltwiseInt8=} obj * @returns {MNN.EltwiseInt8} */ MNN.EltwiseInt8.getRootAsEltwiseInt8 = function(bb, obj) { return (obj || new MNN.EltwiseInt8).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.EltwiseInt8=} obj * @returns {MNN.EltwiseInt8} */ MNN.EltwiseInt8.getSizePrefixedRootAsEltwiseInt8 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.EltwiseInt8).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.EltwiseType} */ MNN.EltwiseInt8.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.EltwiseType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.EltwiseType.PROD; }; /** * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam|null} */ MNN.EltwiseInt8.prototype.inputQuan0 = function(obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.QuantizedFloatParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam|null} */ MNN.EltwiseInt8.prototype.inputQuan1 = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? (obj || new MNN.QuantizedFloatParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedFloatParam=} obj * @returns {MNN.QuantizedFloatParam|null} */ MNN.EltwiseInt8.prototype.outputQuan = function(obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.QuantizedFloatParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.EltwiseInt8.startEltwiseInt8 = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.EltwiseType} type */ MNN.EltwiseInt8.addType = function(builder, type) { builder.addFieldInt8(0, type, MNN.EltwiseType.PROD); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuan0Offset */ MNN.EltwiseInt8.addInputQuan0 = function(builder, inputQuan0Offset) { builder.addFieldOffset(1, inputQuan0Offset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuan1Offset */ MNN.EltwiseInt8.addInputQuan1 = function(builder, inputQuan1Offset) { builder.addFieldOffset(2, inputQuan1Offset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputQuanOffset */ MNN.EltwiseInt8.addOutputQuan = function(builder, outputQuanOffset) { builder.addFieldOffset(3, outputQuanOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.EltwiseInt8.endEltwiseInt8 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.EltwiseType} type * @param {flatbuffers.Offset} inputQuan0Offset * @param {flatbuffers.Offset} inputQuan1Offset * @param {flatbuffers.Offset} outputQuanOffset * @returns {flatbuffers.Offset} */ MNN.EltwiseInt8.createEltwiseInt8 = function(builder, type, inputQuan0Offset, inputQuan1Offset, outputQuanOffset) { MNN.EltwiseInt8.startEltwiseInt8(builder); MNN.EltwiseInt8.addType(builder, type); MNN.EltwiseInt8.addInputQuan0(builder, inputQuan0Offset); MNN.EltwiseInt8.addInputQuan1(builder, inputQuan1Offset); MNN.EltwiseInt8.addOutputQuan(builder, outputQuanOffset); return MNN.EltwiseInt8.endEltwiseInt8(builder); } /** * @constructor */ MNN.BinaryOp = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.BinaryOp} */ MNN.BinaryOp.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BinaryOp=} obj * @returns {MNN.BinaryOp} */ MNN.BinaryOp.getRootAsBinaryOp = function(bb, obj) { return (obj || new MNN.BinaryOp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BinaryOp=} obj * @returns {MNN.BinaryOp} */ MNN.BinaryOp.getSizePrefixedRootAsBinaryOp = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.BinaryOp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.BinaryOp.prototype.opType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.DataType} */ MNN.BinaryOp.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @param {flatbuffers.Builder} builder */ MNN.BinaryOp.startBinaryOp = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} opType */ MNN.BinaryOp.addOpType = function(builder, opType) { builder.addFieldInt32(0, opType, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.BinaryOp.addT = function(builder, T) { builder.addFieldInt32(1, T, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.BinaryOp.endBinaryOp = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} opType * @param {MNN.DataType} T * @returns {flatbuffers.Offset} */ MNN.BinaryOp.createBinaryOp = function(builder, opType, T) { MNN.BinaryOp.startBinaryOp(builder); MNN.BinaryOp.addOpType(builder, opType); MNN.BinaryOp.addT(builder, T); return MNN.BinaryOp.endBinaryOp(builder); } /** * @constructor */ MNN.PackParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.PackParam} */ MNN.PackParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PackParam=} obj * @returns {MNN.PackParam} */ MNN.PackParam.getRootAsPackParam = function(bb, obj) { return (obj || new MNN.PackParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PackParam=} obj * @returns {MNN.PackParam} */ MNN.PackParam.getSizePrefixedRootAsPackParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.PackParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.PackParam.prototype.dataType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.PackParam.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.PackParam.startPackParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dataType */ MNN.PackParam.addDataType = function(builder, dataType) { builder.addFieldInt32(0, dataType, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.PackParam.addAxis = function(builder, axis) { builder.addFieldInt32(1, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.PackParam.endPackParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dataType * @param {number} axis * @returns {flatbuffers.Offset} */ MNN.PackParam.createPackParam = function(builder, dataType, axis) { MNN.PackParam.startPackParam(builder); MNN.PackParam.addDataType(builder, dataType); MNN.PackParam.addAxis(builder, axis); return MNN.PackParam.endPackParam(builder); } /** * @constructor */ MNN.StridedSliceParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.StridedSliceParam} */ MNN.StridedSliceParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.StridedSliceParam=} obj * @returns {MNN.StridedSliceParam} */ MNN.StridedSliceParam.getRootAsStridedSliceParam = function(bb, obj) { return (obj || new MNN.StridedSliceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.StridedSliceParam=} obj * @returns {MNN.StridedSliceParam} */ MNN.StridedSliceParam.getSizePrefixedRootAsStridedSliceParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.StridedSliceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.StridedSliceParam.prototype.Index = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.StridedSliceParam.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.StridedSliceParam.prototype.beginMask = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.StridedSliceParam.prototype.endMask = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.StridedSliceParam.prototype.ellipsisMask = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.StridedSliceParam.prototype.newAxisMask = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.StridedSliceParam.prototype.shrinkAxisMask = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.StridedSliceParam.startStridedSliceParam = function(builder) { builder.startObject(7); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Index */ MNN.StridedSliceParam.addIndex = function(builder, Index) { builder.addFieldInt32(0, Index, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.StridedSliceParam.addT = function(builder, T) { builder.addFieldInt32(1, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} beginMask */ MNN.StridedSliceParam.addBeginMask = function(builder, beginMask) { builder.addFieldInt32(2, beginMask, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} endMask */ MNN.StridedSliceParam.addEndMask = function(builder, endMask) { builder.addFieldInt32(3, endMask, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} ellipsisMask */ MNN.StridedSliceParam.addEllipsisMask = function(builder, ellipsisMask) { builder.addFieldInt32(4, ellipsisMask, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} newAxisMask */ MNN.StridedSliceParam.addNewAxisMask = function(builder, newAxisMask) { builder.addFieldInt32(5, newAxisMask, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} shrinkAxisMask */ MNN.StridedSliceParam.addShrinkAxisMask = function(builder, shrinkAxisMask) { builder.addFieldInt32(6, shrinkAxisMask, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.StridedSliceParam.endStridedSliceParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Index * @param {MNN.DataType} T * @param {number} beginMask * @param {number} endMask * @param {number} ellipsisMask * @param {number} newAxisMask * @param {number} shrinkAxisMask * @returns {flatbuffers.Offset} */ MNN.StridedSliceParam.createStridedSliceParam = function(builder, Index, T, beginMask, endMask, ellipsisMask, newAxisMask, shrinkAxisMask) { MNN.StridedSliceParam.startStridedSliceParam(builder); MNN.StridedSliceParam.addIndex(builder, Index); MNN.StridedSliceParam.addT(builder, T); MNN.StridedSliceParam.addBeginMask(builder, beginMask); MNN.StridedSliceParam.addEndMask(builder, endMask); MNN.StridedSliceParam.addEllipsisMask(builder, ellipsisMask); MNN.StridedSliceParam.addNewAxisMask(builder, newAxisMask); MNN.StridedSliceParam.addShrinkAxisMask(builder, shrinkAxisMask); return MNN.StridedSliceParam.endStridedSliceParam(builder); } /** * @constructor */ MNN.SqueezeParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.SqueezeParam} */ MNN.SqueezeParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SqueezeParam=} obj * @returns {MNN.SqueezeParam} */ MNN.SqueezeParam.getRootAsSqueezeParam = function(bb, obj) { return (obj || new MNN.SqueezeParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SqueezeParam=} obj * @returns {MNN.SqueezeParam} */ MNN.SqueezeParam.getSizePrefixedRootAsSqueezeParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.SqueezeParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.SqueezeParam.prototype.squeezeDims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.SqueezeParam.prototype.squeezeDimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.SqueezeParam.prototype.squeezeDimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.SqueezeParam.startSqueezeParam = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} squeezeDimsOffset */ MNN.SqueezeParam.addSqueezeDims = function(builder, squeezeDimsOffset) { builder.addFieldOffset(0, squeezeDimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.SqueezeParam.createSqueezeDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.SqueezeParam.startSqueezeDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.SqueezeParam.endSqueezeParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} squeezeDimsOffset * @returns {flatbuffers.Offset} */ MNN.SqueezeParam.createSqueezeParam = function(builder, squeezeDimsOffset) { MNN.SqueezeParam.startSqueezeParam(builder); MNN.SqueezeParam.addSqueezeDims(builder, squeezeDimsOffset); return MNN.SqueezeParam.endSqueezeParam(builder); } /** * @constructor */ MNN.CastParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.CastParam} */ MNN.CastParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.CastParam=} obj * @returns {MNN.CastParam} */ MNN.CastParam.getRootAsCastParam = function(bb, obj) { return (obj || new MNN.CastParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.CastParam=} obj * @returns {MNN.CastParam} */ MNN.CastParam.getSizePrefixedRootAsCastParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.CastParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.CastParam.prototype.srcT = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.CastParam.prototype.dstT = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.CastParam.startCastParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} srcT */ MNN.CastParam.addSrcT = function(builder, srcT) { builder.addFieldInt32(0, srcT, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dstT */ MNN.CastParam.addDstT = function(builder, dstT) { builder.addFieldInt32(1, dstT, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.CastParam.endCastParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} srcT * @param {MNN.DataType} dstT * @returns {flatbuffers.Offset} */ MNN.CastParam.createCastParam = function(builder, srcT, dstT) { MNN.CastParam.startCastParam(builder); MNN.CastParam.addSrcT(builder, srcT); MNN.CastParam.addDstT(builder, dstT); return MNN.CastParam.endCastParam(builder); } /** * @constructor */ MNN.ReductionParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ReductionParam} */ MNN.ReductionParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReductionParam=} obj * @returns {MNN.ReductionParam} */ MNN.ReductionParam.getRootAsReductionParam = function(bb, obj) { return (obj || new MNN.ReductionParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReductionParam=} obj * @returns {MNN.ReductionParam} */ MNN.ReductionParam.getSizePrefixedRootAsReductionParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ReductionParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.ReductionType} */ MNN.ReductionParam.prototype.operation = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.ReductionType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ReductionType.SUM; }; /** * @param {number} index * @returns {number} */ MNN.ReductionParam.prototype.dim = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.ReductionParam.prototype.dimLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.ReductionParam.prototype.dimArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {number} */ MNN.ReductionParam.prototype.coeff = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {boolean} */ MNN.ReductionParam.prototype.keepDims = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {MNN.DataType} */ MNN.ReductionParam.prototype.dType = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @param {flatbuffers.Builder} builder */ MNN.ReductionParam.startReductionParam = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ReductionType} operation */ MNN.ReductionParam.addOperation = function(builder, operation) { builder.addFieldInt8(0, operation, MNN.ReductionType.SUM); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimOffset */ MNN.ReductionParam.addDim = function(builder, dimOffset) { builder.addFieldOffset(1, dimOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.ReductionParam.createDimVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.ReductionParam.startDimVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} coeff */ MNN.ReductionParam.addCoeff = function(builder, coeff) { builder.addFieldFloat32(2, coeff, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} keepDims */ MNN.ReductionParam.addKeepDims = function(builder, keepDims) { builder.addFieldInt8(3, +keepDims, +false); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dType */ MNN.ReductionParam.addDType = function(builder, dType) { builder.addFieldInt32(4, dType, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ReductionParam.endReductionParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ReductionType} operation * @param {flatbuffers.Offset} dimOffset * @param {number} coeff * @param {boolean} keepDims * @param {MNN.DataType} dType * @returns {flatbuffers.Offset} */ MNN.ReductionParam.createReductionParam = function(builder, operation, dimOffset, coeff, keepDims, dType) { MNN.ReductionParam.startReductionParam(builder); MNN.ReductionParam.addOperation(builder, operation); MNN.ReductionParam.addDim(builder, dimOffset); MNN.ReductionParam.addCoeff(builder, coeff); MNN.ReductionParam.addKeepDims(builder, keepDims); MNN.ReductionParam.addDType(builder, dType); return MNN.ReductionParam.endReductionParam(builder); } /** * @constructor */ MNN.Gather = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Gather} */ MNN.Gather.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Gather=} obj * @returns {MNN.Gather} */ MNN.Gather.getRootAsGather = function(bb, obj) { return (obj || new MNN.Gather).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Gather=} obj * @returns {MNN.Gather} */ MNN.Gather.getSizePrefixedRootAsGather = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Gather).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.Gather.prototype.Tindices = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.Gather.prototype.Tparams = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {boolean} */ MNN.Gather.prototype.validateIndices = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {number} */ MNN.Gather.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Gather.startGather = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tindices */ MNN.Gather.addTindices = function(builder, Tindices) { builder.addFieldInt32(0, Tindices, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tparams */ MNN.Gather.addTparams = function(builder, Tparams) { builder.addFieldInt32(1, Tparams, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} validateIndices */ MNN.Gather.addValidateIndices = function(builder, validateIndices) { builder.addFieldInt8(2, +validateIndices, +false); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.Gather.addAxis = function(builder, axis) { builder.addFieldInt32(3, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Gather.endGather = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tindices * @param {MNN.DataType} Tparams * @param {boolean} validateIndices * @param {number} axis * @returns {flatbuffers.Offset} */ MNN.Gather.createGather = function(builder, Tindices, Tparams, validateIndices, axis) { MNN.Gather.startGather(builder); MNN.Gather.addTindices(builder, Tindices); MNN.Gather.addTparams(builder, Tparams); MNN.Gather.addValidateIndices(builder, validateIndices); MNN.Gather.addAxis(builder, axis); return MNN.Gather.endGather(builder); } /** * @constructor */ MNN.ExpandDims = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ExpandDims} */ MNN.ExpandDims.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ExpandDims=} obj * @returns {MNN.ExpandDims} */ MNN.ExpandDims.getRootAsExpandDims = function(bb, obj) { return (obj || new MNN.ExpandDims).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ExpandDims=} obj * @returns {MNN.ExpandDims} */ MNN.ExpandDims.getSizePrefixedRootAsExpandDims = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ExpandDims).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.ExpandDims.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.ExpandDims.prototype.Tdim = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.ExpandDims.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.ExpandDims.startExpandDims = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.ExpandDims.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tdim */ MNN.ExpandDims.addTdim = function(builder, Tdim) { builder.addFieldInt32(1, Tdim, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.ExpandDims.addAxis = function(builder, axis) { builder.addFieldInt32(2, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ExpandDims.endExpandDims = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @param {MNN.DataType} Tdim * @param {number} axis * @returns {flatbuffers.Offset} */ MNN.ExpandDims.createExpandDims = function(builder, T, Tdim, axis) { MNN.ExpandDims.startExpandDims(builder); MNN.ExpandDims.addT(builder, T); MNN.ExpandDims.addTdim(builder, Tdim); MNN.ExpandDims.addAxis(builder, axis); return MNN.ExpandDims.endExpandDims(builder); } /** * @constructor */ MNN.Selu = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Selu} */ MNN.Selu.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Selu=} obj * @returns {MNN.Selu} */ MNN.Selu.getRootAsSelu = function(bb, obj) { return (obj || new MNN.Selu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Selu=} obj * @returns {MNN.Selu} */ MNN.Selu.getSizePrefixedRootAsSelu = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Selu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Selu.prototype.scale = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.Selu.prototype.alpha = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Selu.startSelu = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} scale */ MNN.Selu.addScale = function(builder, scale) { builder.addFieldFloat32(0, scale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} alpha */ MNN.Selu.addAlpha = function(builder, alpha) { builder.addFieldFloat32(1, alpha, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Selu.endSelu = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} scale * @param {number} alpha * @returns {flatbuffers.Offset} */ MNN.Selu.createSelu = function(builder, scale, alpha) { MNN.Selu.startSelu(builder); MNN.Selu.addScale(builder, scale); MNN.Selu.addAlpha(builder, alpha); return MNN.Selu.endSelu(builder); } /** * @constructor */ MNN.AsString = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.AsString} */ MNN.AsString.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.AsString=} obj * @returns {MNN.AsString} */ MNN.AsString.getRootAsAsString = function(bb, obj) { return (obj || new MNN.AsString).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.AsString=} obj * @returns {MNN.AsString} */ MNN.AsString.getSizePrefixedRootAsAsString = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.AsString).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.AsString.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.AsString.prototype.precision = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.AsString.prototype.scientific = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.AsString.prototype.shortest = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {number} */ MNN.AsString.prototype.width = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.AsString.prototype.fillString = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.AsString.startAsString = function(builder) { builder.startObject(6); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.AsString.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} precision */ MNN.AsString.addPrecision = function(builder, precision) { builder.addFieldInt32(1, precision, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} scientific */ MNN.AsString.addScientific = function(builder, scientific) { builder.addFieldInt8(2, +scientific, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} shortest */ MNN.AsString.addShortest = function(builder, shortest) { builder.addFieldInt8(3, +shortest, +false); }; /** * @param {flatbuffers.Builder} builder * @param {number} width */ MNN.AsString.addWidth = function(builder, width) { builder.addFieldInt32(4, width, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fillStringOffset */ MNN.AsString.addFillString = function(builder, fillStringOffset) { builder.addFieldOffset(5, fillStringOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.AsString.endAsString = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @param {number} precision * @param {boolean} scientific * @param {boolean} shortest * @param {number} width * @param {flatbuffers.Offset} fillStringOffset * @returns {flatbuffers.Offset} */ MNN.AsString.createAsString = function(builder, T, precision, scientific, shortest, width, fillStringOffset) { MNN.AsString.startAsString(builder); MNN.AsString.addT(builder, T); MNN.AsString.addPrecision(builder, precision); MNN.AsString.addScientific(builder, scientific); MNN.AsString.addShortest(builder, shortest); MNN.AsString.addWidth(builder, width); MNN.AsString.addFillString(builder, fillStringOffset); return MNN.AsString.endAsString(builder); } /** * @constructor */ MNN.ReduceJoin = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ReduceJoin} */ MNN.ReduceJoin.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReduceJoin=} obj * @returns {MNN.ReduceJoin} */ MNN.ReduceJoin.getRootAsReduceJoin = function(bb, obj) { return (obj || new MNN.ReduceJoin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReduceJoin=} obj * @returns {MNN.ReduceJoin} */ MNN.ReduceJoin.getSizePrefixedRootAsReduceJoin = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ReduceJoin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {boolean} */ MNN.ReduceJoin.prototype.keepDims = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.ReduceJoin.prototype.separator = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.ReduceJoin.startReduceJoin = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} keepDims */ MNN.ReduceJoin.addKeepDims = function(builder, keepDims) { builder.addFieldInt8(0, +keepDims, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} separatorOffset */ MNN.ReduceJoin.addSeparator = function(builder, separatorOffset) { builder.addFieldOffset(1, separatorOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ReduceJoin.endReduceJoin = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {boolean} keepDims * @param {flatbuffers.Offset} separatorOffset * @returns {flatbuffers.Offset} */ MNN.ReduceJoin.createReduceJoin = function(builder, keepDims, separatorOffset) { MNN.ReduceJoin.startReduceJoin(builder); MNN.ReduceJoin.addKeepDims(builder, keepDims); MNN.ReduceJoin.addSeparator(builder, separatorOffset); return MNN.ReduceJoin.endReduceJoin(builder); } /** * @constructor */ MNN.UnaryOp = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.UnaryOp} */ MNN.UnaryOp.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.UnaryOp=} obj * @returns {MNN.UnaryOp} */ MNN.UnaryOp.getRootAsUnaryOp = function(bb, obj) { return (obj || new MNN.UnaryOp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.UnaryOp=} obj * @returns {MNN.UnaryOp} */ MNN.UnaryOp.getSizePrefixedRootAsUnaryOp = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.UnaryOp).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.UnaryOpOperation} */ MNN.UnaryOp.prototype.opType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.UnaryOpOperation} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.UnaryOpOperation.ABS; }; /** * @returns {MNN.DataType} */ MNN.UnaryOp.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.UnaryOp.startUnaryOp = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.UnaryOpOperation} opType */ MNN.UnaryOp.addOpType = function(builder, opType) { builder.addFieldInt32(0, opType, MNN.UnaryOpOperation.ABS); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.UnaryOp.addT = function(builder, T) { builder.addFieldInt32(1, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.UnaryOp.endUnaryOp = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.UnaryOpOperation} opType * @param {MNN.DataType} T * @returns {flatbuffers.Offset} */ MNN.UnaryOp.createUnaryOp = function(builder, opType, T) { MNN.UnaryOp.startUnaryOp(builder); MNN.UnaryOp.addOpType(builder, opType); MNN.UnaryOp.addT(builder, T); return MNN.UnaryOp.endUnaryOp(builder); } /** * @constructor */ MNN.TopKV2 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.TopKV2} */ MNN.TopKV2.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TopKV2=} obj * @returns {MNN.TopKV2} */ MNN.TopKV2.getRootAsTopKV2 = function(bb, obj) { return (obj || new MNN.TopKV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TopKV2=} obj * @returns {MNN.TopKV2} */ MNN.TopKV2.getSizePrefixedRootAsTopKV2 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.TopKV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.TopKV2.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @returns {boolean} */ MNN.TopKV2.prototype.sorted = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.TopKV2.startTopKV2 = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.TopKV2.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} sorted */ MNN.TopKV2.addSorted = function(builder, sorted) { builder.addFieldInt8(1, +sorted, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.TopKV2.endTopKV2 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @param {boolean} sorted * @returns {flatbuffers.Offset} */ MNN.TopKV2.createTopKV2 = function(builder, T, sorted) { MNN.TopKV2.startTopKV2(builder); MNN.TopKV2.addT(builder, T); MNN.TopKV2.addSorted(builder, sorted); return MNN.TopKV2.endTopKV2(builder); } /** * @constructor */ MNN.CropAndResize = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.CropAndResize} */ MNN.CropAndResize.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.CropAndResize=} obj * @returns {MNN.CropAndResize} */ MNN.CropAndResize.getRootAsCropAndResize = function(bb, obj) { return (obj || new MNN.CropAndResize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.CropAndResize=} obj * @returns {MNN.CropAndResize} */ MNN.CropAndResize.getSizePrefixedRootAsCropAndResize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.CropAndResize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.CropAndResize.prototype.extrapolationValue = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {MNN.CropAndResizeMethod} */ MNN.CropAndResize.prototype.method = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.CropAndResizeMethod} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.CropAndResizeMethod.BILINEAR; }; /** * @param {flatbuffers.Builder} builder */ MNN.CropAndResize.startCropAndResize = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} extrapolationValue */ MNN.CropAndResize.addExtrapolationValue = function(builder, extrapolationValue) { builder.addFieldFloat32(0, extrapolationValue, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.CropAndResizeMethod} method */ MNN.CropAndResize.addMethod = function(builder, method) { builder.addFieldInt8(1, method, MNN.CropAndResizeMethod.BILINEAR); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.CropAndResize.endCropAndResize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} extrapolationValue * @param {MNN.CropAndResizeMethod} method * @returns {flatbuffers.Offset} */ MNN.CropAndResize.createCropAndResize = function(builder, extrapolationValue, method) { MNN.CropAndResize.startCropAndResize(builder); MNN.CropAndResize.addExtrapolationValue(builder, extrapolationValue); MNN.CropAndResize.addMethod(builder, method); return MNN.CropAndResize.endCropAndResize(builder); } /** * @constructor */ MNN.Fill = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Fill} */ MNN.Fill.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Fill=} obj * @returns {MNN.Fill} */ MNN.Fill.getRootAsFill = function(bb, obj) { return (obj || new MNN.Fill).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Fill=} obj * @returns {MNN.Fill} */ MNN.Fill.getSizePrefixedRootAsFill = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Fill).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Builder} builder */ MNN.Fill.startFill = function(builder) { builder.startObject(0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Fill.endFill = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Fill.createFill = function(builder) { MNN.Fill.startFill(builder); return MNN.Fill.endFill(builder); } /** * @constructor */ MNN.GatherV2 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GatherV2} */ MNN.GatherV2.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GatherV2=} obj * @returns {MNN.GatherV2} */ MNN.GatherV2.getRootAsGatherV2 = function(bb, obj) { return (obj || new MNN.GatherV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GatherV2=} obj * @returns {MNN.GatherV2} */ MNN.GatherV2.getSizePrefixedRootAsGatherV2 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GatherV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.GatherV2.prototype.Taxis = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.GatherV2.prototype.Tindices = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.DataType} */ MNN.GatherV2.prototype.Tparams = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.GatherV2.startGatherV2 = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Taxis */ MNN.GatherV2.addTaxis = function(builder, Taxis) { builder.addFieldInt32(0, Taxis, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tindices */ MNN.GatherV2.addTindices = function(builder, Tindices) { builder.addFieldInt32(1, Tindices, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tparams */ MNN.GatherV2.addTparams = function(builder, Tparams) { builder.addFieldInt32(2, Tparams, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GatherV2.endGatherV2 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Taxis * @param {MNN.DataType} Tindices * @param {MNN.DataType} Tparams * @returns {flatbuffers.Offset} */ MNN.GatherV2.createGatherV2 = function(builder, Taxis, Tindices, Tparams) { MNN.GatherV2.startGatherV2(builder); MNN.GatherV2.addTaxis(builder, Taxis); MNN.GatherV2.addTindices(builder, Tindices); MNN.GatherV2.addTparams(builder, Tparams); return MNN.GatherV2.endGatherV2(builder); } /** * @constructor */ MNN.NonMaxSuppressionV2 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.NonMaxSuppressionV2} */ MNN.NonMaxSuppressionV2.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.NonMaxSuppressionV2=} obj * @returns {MNN.NonMaxSuppressionV2} */ MNN.NonMaxSuppressionV2.getRootAsNonMaxSuppressionV2 = function(bb, obj) { return (obj || new MNN.NonMaxSuppressionV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.NonMaxSuppressionV2=} obj * @returns {MNN.NonMaxSuppressionV2} */ MNN.NonMaxSuppressionV2.getSizePrefixedRootAsNonMaxSuppressionV2 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.NonMaxSuppressionV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Builder} builder */ MNN.NonMaxSuppressionV2.startNonMaxSuppressionV2 = function(builder) { builder.startObject(0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.NonMaxSuppressionV2.endNonMaxSuppressionV2 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.NonMaxSuppressionV2.createNonMaxSuppressionV2 = function(builder) { MNN.NonMaxSuppressionV2.startNonMaxSuppressionV2(builder); return MNN.NonMaxSuppressionV2.endNonMaxSuppressionV2(builder); } /** * @constructor */ MNN.Range = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Range} */ MNN.Range.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Range=} obj * @returns {MNN.Range} */ MNN.Range.getRootAsRange = function(bb, obj) { return (obj || new MNN.Range).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Range=} obj * @returns {MNN.Range} */ MNN.Range.getSizePrefixedRootAsRange = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Range).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.Range.prototype.Tidx = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.Range.startRange = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tidx */ MNN.Range.addTidx = function(builder, Tidx) { builder.addFieldInt32(0, Tidx, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Range.endRange = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tidx * @returns {flatbuffers.Offset} */ MNN.Range.createRange = function(builder, Tidx) { MNN.Range.startRange(builder); MNN.Range.addTidx(builder, Tidx); return MNN.Range.endRange(builder); } /** * @constructor */ MNN.Rank = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Rank} */ MNN.Rank.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Rank=} obj * @returns {MNN.Rank} */ MNN.Rank.getRootAsRank = function(bb, obj) { return (obj || new MNN.Rank).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Rank=} obj * @returns {MNN.Rank} */ MNN.Rank.getSizePrefixedRootAsRank = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Rank).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Builder} builder */ MNN.Rank.startRank = function(builder) { builder.startObject(0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Rank.endRank = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Rank.createRank = function(builder) { MNN.Rank.startRank(builder); return MNN.Rank.endRank(builder); } /** * @constructor */ MNN.Size = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Size} */ MNN.Size.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Size=} obj * @returns {MNN.Size} */ MNN.Size.getRootAsSize = function(bb, obj) { return (obj || new MNN.Size).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Size=} obj * @returns {MNN.Size} */ MNN.Size.getSizePrefixedRootAsSize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Size).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.Size.prototype.outputDataType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.Size.startSize = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} outputDataType */ MNN.Size.addOutputDataType = function(builder, outputDataType) { builder.addFieldInt32(0, outputDataType, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Size.endSize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} outputDataType * @returns {flatbuffers.Offset} */ MNN.Size.createSize = function(builder, outputDataType) { MNN.Size.startSize(builder); MNN.Size.addOutputDataType(builder, outputDataType); return MNN.Size.endSize(builder); } /** * @constructor */ MNN.Transpose = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Transpose} */ MNN.Transpose.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Transpose=} obj * @returns {MNN.Transpose} */ MNN.Transpose.getRootAsTranspose = function(bb, obj) { return (obj || new MNN.Transpose).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Transpose=} obj * @returns {MNN.Transpose} */ MNN.Transpose.getSizePrefixedRootAsTranspose = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Transpose).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.Transpose.prototype.Tperm = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.Transpose.startTranspose = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tperm */ MNN.Transpose.addTperm = function(builder, Tperm) { builder.addFieldInt32(0, Tperm, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Transpose.endTranspose = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} Tperm * @returns {flatbuffers.Offset} */ MNN.Transpose.createTranspose = function(builder, Tperm) { MNN.Transpose.startTranspose(builder); MNN.Transpose.addTperm(builder, Tperm); return MNN.Transpose.endTranspose(builder); } /** * @constructor */ MNN.SliceTf = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.SliceTf} */ MNN.SliceTf.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SliceTf=} obj * @returns {MNN.SliceTf} */ MNN.SliceTf.getRootAsSliceTf = function(bb, obj) { return (obj || new MNN.SliceTf).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SliceTf=} obj * @returns {MNN.SliceTf} */ MNN.SliceTf.getSizePrefixedRootAsSliceTf = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.SliceTf).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.SliceTf.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.SliceTf.startSliceTf = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.SliceTf.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.SliceTf.endSliceTf = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @returns {flatbuffers.Offset} */ MNN.SliceTf.createSliceTf = function(builder, T) { MNN.SliceTf.startSliceTf(builder); MNN.SliceTf.addT(builder, T); return MNN.SliceTf.endSliceTf(builder); } /** * @constructor */ MNN.QuantizeMaxMin = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizeMaxMin} */ MNN.QuantizeMaxMin.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizeMaxMin=} obj * @returns {MNN.QuantizeMaxMin} */ MNN.QuantizeMaxMin.getRootAsQuantizeMaxMin = function(bb, obj) { return (obj || new MNN.QuantizeMaxMin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizeMaxMin=} obj * @returns {MNN.QuantizeMaxMin} */ MNN.QuantizeMaxMin.getSizePrefixedRootAsQuantizeMaxMin = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizeMaxMin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.QuantizeMaxMin.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizeMaxMin.startQuantizeMaxMin = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.QuantizeMaxMin.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizeMaxMin.endQuantizeMaxMin = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @returns {flatbuffers.Offset} */ MNN.QuantizeMaxMin.createQuantizeMaxMin = function(builder, T) { MNN.QuantizeMaxMin.startQuantizeMaxMin(builder); MNN.QuantizeMaxMin.addT(builder, T); return MNN.QuantizeMaxMin.endQuantizeMaxMin(builder); } /** * @constructor */ MNN.Crop = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Crop} */ MNN.Crop.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Crop=} obj * @returns {MNN.Crop} */ MNN.Crop.getRootAsCrop = function(bb, obj) { return (obj || new MNN.Crop).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Crop=} obj * @returns {MNN.Crop} */ MNN.Crop.getSizePrefixedRootAsCrop = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Crop).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.Crop.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 2; }; /** * @param {number} index * @returns {number} */ MNN.Crop.prototype.offset = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Crop.prototype.offsetLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Crop.prototype.offsetArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.Crop.startCrop = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.Crop.addAxis = function(builder, axis) { builder.addFieldInt32(0, axis, 2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} offsetOffset */ MNN.Crop.addOffset = function(builder, offsetOffset) { builder.addFieldOffset(1, offsetOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Crop.createOffsetVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Crop.startOffsetVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Crop.endCrop = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} axis * @param {flatbuffers.Offset} offsetOffset * @returns {flatbuffers.Offset} */ MNN.Crop.createCrop = function(builder, axis, offsetOffset) { MNN.Crop.startCrop(builder); MNN.Crop.addAxis(builder, axis); MNN.Crop.addOffset(builder, offsetOffset); return MNN.Crop.endCrop(builder); } /** * @constructor */ MNN.SpaceBatch = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.SpaceBatch} */ MNN.SpaceBatch.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SpaceBatch=} obj * @returns {MNN.SpaceBatch} */ MNN.SpaceBatch.getRootAsSpaceBatch = function(bb, obj) { return (obj || new MNN.SpaceBatch).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.SpaceBatch=} obj * @returns {MNN.SpaceBatch} */ MNN.SpaceBatch.getSizePrefixedRootAsSpaceBatch = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.SpaceBatch).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.SpaceBatch.prototype.blockShape = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.SpaceBatch.prototype.padding = function(obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.SpaceBatch.startSpaceBatch = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} blockShapeOffset */ MNN.SpaceBatch.addBlockShape = function(builder, blockShapeOffset) { builder.addFieldOffset(0, blockShapeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} paddingOffset */ MNN.SpaceBatch.addPadding = function(builder, paddingOffset) { builder.addFieldOffset(1, paddingOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.SpaceBatch.endSpaceBatch = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} blockShapeOffset * @param {flatbuffers.Offset} paddingOffset * @returns {flatbuffers.Offset} */ MNN.SpaceBatch.createSpaceBatch = function(builder, blockShapeOffset, paddingOffset) { MNN.SpaceBatch.startSpaceBatch(builder); MNN.SpaceBatch.addBlockShape(builder, blockShapeOffset); MNN.SpaceBatch.addPadding(builder, paddingOffset); return MNN.SpaceBatch.endSpaceBatch(builder); } /** * @constructor */ MNN.MatMul = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.MatMul} */ MNN.MatMul.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.MatMul=} obj * @returns {MNN.MatMul} */ MNN.MatMul.getRootAsMatMul = function(bb, obj) { return (obj || new MNN.MatMul).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.MatMul=} obj * @returns {MNN.MatMul} */ MNN.MatMul.getSizePrefixedRootAsMatMul = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.MatMul).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.MatMul.prototype.T = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {boolean} */ MNN.MatMul.prototype.transposeA = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.MatMul.prototype.transposeB = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {number} index * @returns {number} */ MNN.MatMul.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.MatMul.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.MatMul.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.MatMul.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.MatMul.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.MatMul.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.MatMul.startMatMul = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T */ MNN.MatMul.addT = function(builder, T) { builder.addFieldInt32(0, T, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transposeA */ MNN.MatMul.addTransposeA = function(builder, transposeA) { builder.addFieldInt8(1, +transposeA, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transposeB */ MNN.MatMul.addTransposeB = function(builder, transposeB) { builder.addFieldInt8(2, +transposeB, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.MatMul.addWeight = function(builder, weightOffset) { builder.addFieldOffset(3, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.MatMul.createWeightVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.MatMul.startWeightVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.MatMul.addBias = function(builder, biasOffset) { builder.addFieldOffset(4, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.MatMul.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.MatMul.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.MatMul.endMatMul = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} T * @param {boolean} transposeA * @param {boolean} transposeB * @param {flatbuffers.Offset} weightOffset * @param {flatbuffers.Offset} biasOffset * @returns {flatbuffers.Offset} */ MNN.MatMul.createMatMul = function(builder, T, transposeA, transposeB, weightOffset, biasOffset) { MNN.MatMul.startMatMul(builder); MNN.MatMul.addT(builder, T); MNN.MatMul.addTransposeA(builder, transposeA); MNN.MatMul.addTransposeB(builder, transposeB); MNN.MatMul.addWeight(builder, weightOffset); MNN.MatMul.addBias(builder, biasOffset); return MNN.MatMul.endMatMul(builder); } /** * @constructor */ MNN.MomentsParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.MomentsParam} */ MNN.MomentsParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.MomentsParam=} obj * @returns {MNN.MomentsParam} */ MNN.MomentsParam.getRootAsMomentsParam = function(bb, obj) { return (obj || new MNN.MomentsParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.MomentsParam=} obj * @returns {MNN.MomentsParam} */ MNN.MomentsParam.getSizePrefixedRootAsMomentsParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.MomentsParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.MomentsParam.prototype.dim = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.MomentsParam.prototype.dimLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.MomentsParam.prototype.dimArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {boolean} */ MNN.MomentsParam.prototype.keepDims = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : true; }; /** * @returns {MNN.DataType} */ MNN.MomentsParam.prototype.dType = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @param {flatbuffers.Builder} builder */ MNN.MomentsParam.startMomentsParam = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimOffset */ MNN.MomentsParam.addDim = function(builder, dimOffset) { builder.addFieldOffset(0, dimOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.MomentsParam.createDimVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.MomentsParam.startDimVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} keepDims */ MNN.MomentsParam.addKeepDims = function(builder, keepDims) { builder.addFieldInt8(1, +keepDims, +true); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dType */ MNN.MomentsParam.addDType = function(builder, dType) { builder.addFieldInt32(2, dType, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.MomentsParam.endMomentsParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimOffset * @param {boolean} keepDims * @param {MNN.DataType} dType * @returns {flatbuffers.Offset} */ MNN.MomentsParam.createMomentsParam = function(builder, dimOffset, keepDims, dType) { MNN.MomentsParam.startMomentsParam(builder); MNN.MomentsParam.addDim(builder, dimOffset); MNN.MomentsParam.addKeepDims(builder, keepDims); MNN.MomentsParam.addDType(builder, dType); return MNN.MomentsParam.endMomentsParam(builder); } /** * @constructor */ MNN.RNNParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.RNNParam} */ MNN.RNNParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RNNParam=} obj * @returns {MNN.RNNParam} */ MNN.RNNParam.getRootAsRNNParam = function(bb, obj) { return (obj || new MNN.RNNParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RNNParam=} obj * @returns {MNN.RNNParam} */ MNN.RNNParam.getSizePrefixedRootAsRNNParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.RNNParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.RNNParam.prototype.numUnits = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.RNNParam.prototype.isBidirectionalRNN = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.RNNParam.prototype.keepAllOutputs = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.fwGateWeight = function(obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.fwGateBias = function(obj) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.fwCandidateWeight = function(obj) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.fwCandidateBias = function(obj) { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.bwGateWeight = function(obj) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.bwGateBias = function(obj) { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.bwCandidateWeight = function(obj) { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.RNNParam.prototype.bwCandidateBias = function(obj) { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.RNNParam.startRNNParam = function(builder) { builder.startObject(11); }; /** * @param {flatbuffers.Builder} builder * @param {number} numUnits */ MNN.RNNParam.addNumUnits = function(builder, numUnits) { builder.addFieldInt32(0, numUnits, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} isBidirectionalRNN */ MNN.RNNParam.addIsBidirectionalRNN = function(builder, isBidirectionalRNN) { builder.addFieldInt8(1, +isBidirectionalRNN, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} keepAllOutputs */ MNN.RNNParam.addKeepAllOutputs = function(builder, keepAllOutputs) { builder.addFieldInt8(2, +keepAllOutputs, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fwGateWeightOffset */ MNN.RNNParam.addFwGateWeight = function(builder, fwGateWeightOffset) { builder.addFieldOffset(3, fwGateWeightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fwGateBiasOffset */ MNN.RNNParam.addFwGateBias = function(builder, fwGateBiasOffset) { builder.addFieldOffset(4, fwGateBiasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fwCandidateWeightOffset */ MNN.RNNParam.addFwCandidateWeight = function(builder, fwCandidateWeightOffset) { builder.addFieldOffset(5, fwCandidateWeightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} fwCandidateBiasOffset */ MNN.RNNParam.addFwCandidateBias = function(builder, fwCandidateBiasOffset) { builder.addFieldOffset(6, fwCandidateBiasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bwGateWeightOffset */ MNN.RNNParam.addBwGateWeight = function(builder, bwGateWeightOffset) { builder.addFieldOffset(7, bwGateWeightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bwGateBiasOffset */ MNN.RNNParam.addBwGateBias = function(builder, bwGateBiasOffset) { builder.addFieldOffset(8, bwGateBiasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bwCandidateWeightOffset */ MNN.RNNParam.addBwCandidateWeight = function(builder, bwCandidateWeightOffset) { builder.addFieldOffset(9, bwCandidateWeightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bwCandidateBiasOffset */ MNN.RNNParam.addBwCandidateBias = function(builder, bwCandidateBiasOffset) { builder.addFieldOffset(10, bwCandidateBiasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.RNNParam.endRNNParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} numUnits * @param {boolean} isBidirectionalRNN * @param {boolean} keepAllOutputs * @param {flatbuffers.Offset} fwGateWeightOffset * @param {flatbuffers.Offset} fwGateBiasOffset * @param {flatbuffers.Offset} fwCandidateWeightOffset * @param {flatbuffers.Offset} fwCandidateBiasOffset * @param {flatbuffers.Offset} bwGateWeightOffset * @param {flatbuffers.Offset} bwGateBiasOffset * @param {flatbuffers.Offset} bwCandidateWeightOffset * @param {flatbuffers.Offset} bwCandidateBiasOffset * @returns {flatbuffers.Offset} */ MNN.RNNParam.createRNNParam = function(builder, numUnits, isBidirectionalRNN, keepAllOutputs, fwGateWeightOffset, fwGateBiasOffset, fwCandidateWeightOffset, fwCandidateBiasOffset, bwGateWeightOffset, bwGateBiasOffset, bwCandidateWeightOffset, bwCandidateBiasOffset) { MNN.RNNParam.startRNNParam(builder); MNN.RNNParam.addNumUnits(builder, numUnits); MNN.RNNParam.addIsBidirectionalRNN(builder, isBidirectionalRNN); MNN.RNNParam.addKeepAllOutputs(builder, keepAllOutputs); MNN.RNNParam.addFwGateWeight(builder, fwGateWeightOffset); MNN.RNNParam.addFwGateBias(builder, fwGateBiasOffset); MNN.RNNParam.addFwCandidateWeight(builder, fwCandidateWeightOffset); MNN.RNNParam.addFwCandidateBias(builder, fwCandidateBiasOffset); MNN.RNNParam.addBwGateWeight(builder, bwGateWeightOffset); MNN.RNNParam.addBwGateBias(builder, bwGateBiasOffset); MNN.RNNParam.addBwCandidateWeight(builder, bwCandidateWeightOffset); MNN.RNNParam.addBwCandidateBias(builder, bwCandidateBiasOffset); return MNN.RNNParam.endRNNParam(builder); } /** * @constructor */ MNN.BatchMatMulParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.BatchMatMulParam} */ MNN.BatchMatMulParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BatchMatMulParam=} obj * @returns {MNN.BatchMatMulParam} */ MNN.BatchMatMulParam.getRootAsBatchMatMulParam = function(bb, obj) { return (obj || new MNN.BatchMatMulParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.BatchMatMulParam=} obj * @returns {MNN.BatchMatMulParam} */ MNN.BatchMatMulParam.getSizePrefixedRootAsBatchMatMulParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.BatchMatMulParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {boolean} */ MNN.BatchMatMulParam.prototype.adjX = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.BatchMatMulParam.prototype.adjY = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.BatchMatMulParam.startBatchMatMulParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} adjX */ MNN.BatchMatMulParam.addAdjX = function(builder, adjX) { builder.addFieldInt8(0, +adjX, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} adjY */ MNN.BatchMatMulParam.addAdjY = function(builder, adjY) { builder.addFieldInt8(1, +adjY, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.BatchMatMulParam.endBatchMatMulParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {boolean} adjX * @param {boolean} adjY * @returns {flatbuffers.Offset} */ MNN.BatchMatMulParam.createBatchMatMulParam = function(builder, adjX, adjY) { MNN.BatchMatMulParam.startBatchMatMulParam(builder); MNN.BatchMatMulParam.addAdjX(builder, adjX); MNN.BatchMatMulParam.addAdjY(builder, adjY); return MNN.BatchMatMulParam.endBatchMatMulParam(builder); } /** * @constructor */ MNN.DepthSpaceParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.DepthSpaceParam} */ MNN.DepthSpaceParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DepthSpaceParam=} obj * @returns {MNN.DepthSpaceParam} */ MNN.DepthSpaceParam.getRootAsDepthSpaceParam = function(bb, obj) { return (obj || new MNN.DepthSpaceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DepthSpaceParam=} obj * @returns {MNN.DepthSpaceParam} */ MNN.DepthSpaceParam.getSizePrefixedRootAsDepthSpaceParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.DepthSpaceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.DepthSpaceParam.prototype.blockSize = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.DepthSpaceParam.startDepthSpaceParam = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {number} blockSize */ MNN.DepthSpaceParam.addBlockSize = function(builder, blockSize) { builder.addFieldInt32(0, blockSize, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.DepthSpaceParam.endDepthSpaceParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} blockSize * @returns {flatbuffers.Offset} */ MNN.DepthSpaceParam.createDepthSpaceParam = function(builder, blockSize) { MNN.DepthSpaceParam.startDepthSpaceParam(builder); MNN.DepthSpaceParam.addBlockSize(builder, blockSize); return MNN.DepthSpaceParam.endDepthSpaceParam(builder); } /** * @constructor */ MNN.ReverseSequenceParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.ReverseSequenceParam} */ MNN.ReverseSequenceParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReverseSequenceParam=} obj * @returns {MNN.ReverseSequenceParam} */ MNN.ReverseSequenceParam.getRootAsReverseSequenceParam = function(bb, obj) { return (obj || new MNN.ReverseSequenceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.ReverseSequenceParam=} obj * @returns {MNN.ReverseSequenceParam} */ MNN.ReverseSequenceParam.getSizePrefixedRootAsReverseSequenceParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.ReverseSequenceParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.ReverseSequenceParam.prototype.batchDim = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.ReverseSequenceParam.prototype.seqDim = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.ReverseSequenceParam.startReverseSequenceParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} batchDim */ MNN.ReverseSequenceParam.addBatchDim = function(builder, batchDim) { builder.addFieldInt32(0, batchDim, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} seqDim */ MNN.ReverseSequenceParam.addSeqDim = function(builder, seqDim) { builder.addFieldInt32(1, seqDim, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.ReverseSequenceParam.endReverseSequenceParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} batchDim * @param {number} seqDim * @returns {flatbuffers.Offset} */ MNN.ReverseSequenceParam.createReverseSequenceParam = function(builder, batchDim, seqDim) { MNN.ReverseSequenceParam.startReverseSequenceParam(builder); MNN.ReverseSequenceParam.addBatchDim(builder, batchDim); MNN.ReverseSequenceParam.addSeqDim(builder, seqDim); return MNN.ReverseSequenceParam.endReverseSequenceParam(builder); } /** * @constructor */ MNN.DetectionPostProcessParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.DetectionPostProcessParam} */ MNN.DetectionPostProcessParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DetectionPostProcessParam=} obj * @returns {MNN.DetectionPostProcessParam} */ MNN.DetectionPostProcessParam.getRootAsDetectionPostProcessParam = function(bb, obj) { return (obj || new MNN.DetectionPostProcessParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.DetectionPostProcessParam=} obj * @returns {MNN.DetectionPostProcessParam} */ MNN.DetectionPostProcessParam.getSizePrefixedRootAsDetectionPostProcessParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.DetectionPostProcessParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.maxDetections = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.maxClassesPerDetection = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.detectionsPerClass = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.nmsScoreThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.iouThreshold = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.numClasses = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {boolean} */ MNN.DetectionPostProcessParam.prototype.useRegularNMS = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {number} index * @returns {number} */ MNN.DetectionPostProcessParam.prototype.centerSizeEncoding = function(index) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.DetectionPostProcessParam.prototype.centerSizeEncodingLength = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.DetectionPostProcessParam.prototype.centerSizeEncodingArray = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.DetectionPostProcessParam.startDetectionPostProcessParam = function(builder) { builder.startObject(8); }; /** * @param {flatbuffers.Builder} builder * @param {number} maxDetections */ MNN.DetectionPostProcessParam.addMaxDetections = function(builder, maxDetections) { builder.addFieldInt32(0, maxDetections, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} maxClassesPerDetection */ MNN.DetectionPostProcessParam.addMaxClassesPerDetection = function(builder, maxClassesPerDetection) { builder.addFieldInt32(1, maxClassesPerDetection, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} detectionsPerClass */ MNN.DetectionPostProcessParam.addDetectionsPerClass = function(builder, detectionsPerClass) { builder.addFieldInt32(2, detectionsPerClass, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} nmsScoreThreshold */ MNN.DetectionPostProcessParam.addNmsScoreThreshold = function(builder, nmsScoreThreshold) { builder.addFieldFloat32(3, nmsScoreThreshold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} iouThreshold */ MNN.DetectionPostProcessParam.addIouThreshold = function(builder, iouThreshold) { builder.addFieldFloat32(4, iouThreshold, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} numClasses */ MNN.DetectionPostProcessParam.addNumClasses = function(builder, numClasses) { builder.addFieldInt32(5, numClasses, 0); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} useRegularNMS */ MNN.DetectionPostProcessParam.addUseRegularNMS = function(builder, useRegularNMS) { builder.addFieldInt8(6, +useRegularNMS, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} centerSizeEncodingOffset */ MNN.DetectionPostProcessParam.addCenterSizeEncoding = function(builder, centerSizeEncodingOffset) { builder.addFieldOffset(7, centerSizeEncodingOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.DetectionPostProcessParam.createCenterSizeEncodingVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.DetectionPostProcessParam.startCenterSizeEncodingVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.DetectionPostProcessParam.endDetectionPostProcessParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} maxDetections * @param {number} maxClassesPerDetection * @param {number} detectionsPerClass * @param {number} nmsScoreThreshold * @param {number} iouThreshold * @param {number} numClasses * @param {boolean} useRegularNMS * @param {flatbuffers.Offset} centerSizeEncodingOffset * @returns {flatbuffers.Offset} */ MNN.DetectionPostProcessParam.createDetectionPostProcessParam = function(builder, maxDetections, maxClassesPerDetection, detectionsPerClass, nmsScoreThreshold, iouThreshold, numClasses, useRegularNMS, centerSizeEncodingOffset) { MNN.DetectionPostProcessParam.startDetectionPostProcessParam(builder); MNN.DetectionPostProcessParam.addMaxDetections(builder, maxDetections); MNN.DetectionPostProcessParam.addMaxClassesPerDetection(builder, maxClassesPerDetection); MNN.DetectionPostProcessParam.addDetectionsPerClass(builder, detectionsPerClass); MNN.DetectionPostProcessParam.addNmsScoreThreshold(builder, nmsScoreThreshold); MNN.DetectionPostProcessParam.addIouThreshold(builder, iouThreshold); MNN.DetectionPostProcessParam.addNumClasses(builder, numClasses); MNN.DetectionPostProcessParam.addUseRegularNMS(builder, useRegularNMS); MNN.DetectionPostProcessParam.addCenterSizeEncoding(builder, centerSizeEncodingOffset); return MNN.DetectionPostProcessParam.endDetectionPostProcessParam(builder); } /** * @constructor */ MNN.OneHotParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.OneHotParam} */ MNN.OneHotParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.OneHotParam=} obj * @returns {MNN.OneHotParam} */ MNN.OneHotParam.getRootAsOneHotParam = function(bb, obj) { return (obj || new MNN.OneHotParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.OneHotParam=} obj * @returns {MNN.OneHotParam} */ MNN.OneHotParam.getSizePrefixedRootAsOneHotParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.OneHotParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.OneHotParam.prototype.dType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_FLOAT; }; /** * @returns {number} */ MNN.OneHotParam.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : -1; }; /** * @param {flatbuffers.Builder} builder */ MNN.OneHotParam.startOneHotParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dType */ MNN.OneHotParam.addDType = function(builder, dType) { builder.addFieldInt32(0, dType, MNN.DataType.DT_FLOAT); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.OneHotParam.addAxis = function(builder, axis) { builder.addFieldInt32(1, axis, -1); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.OneHotParam.endOneHotParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} dType * @param {number} axis * @returns {flatbuffers.Offset} */ MNN.OneHotParam.createOneHotParam = function(builder, dType, axis) { MNN.OneHotParam.startOneHotParam(builder); MNN.OneHotParam.addDType(builder, dType); MNN.OneHotParam.addAxis(builder, axis); return MNN.OneHotParam.endOneHotParam(builder); } /** * @constructor */ MNN.PadParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.PadParam} */ MNN.PadParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PadParam=} obj * @returns {MNN.PadParam} */ MNN.PadParam.getRootAsPadParam = function(bb, obj) { return (obj || new MNN.PadParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.PadParam=} obj * @returns {MNN.PadParam} */ MNN.PadParam.getSizePrefixedRootAsPadParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.PadParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.PadValueMode} */ MNN.PadParam.prototype.mode = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.PadValueMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PadValueMode.CONSTANT; }; /** * @param {flatbuffers.Builder} builder */ MNN.PadParam.startPadParam = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PadValueMode} mode */ MNN.PadParam.addMode = function(builder, mode) { builder.addFieldInt8(0, mode, MNN.PadValueMode.CONSTANT); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.PadParam.endPadParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PadValueMode} mode * @returns {flatbuffers.Offset} */ MNN.PadParam.createPadParam = function(builder, mode) { MNN.PadParam.startPadParam(builder); MNN.PadParam.addMode(builder, mode); return MNN.PadParam.endPadParam(builder); } /** * @constructor */ MNN.QuantizedParam = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedParam} */ MNN.QuantizedParam.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam} */ MNN.QuantizedParam.getRootAsQuantizedParam = function(bb, obj) { return (obj || new MNN.QuantizedParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam} */ MNN.QuantizedParam.getSizePrefixedRootAsQuantizedParam = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedParam).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.QuantizedParam.prototype.zeroPoint = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedParam.prototype.scale = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedParam.startQuantizedParam = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} zeroPoint */ MNN.QuantizedParam.addZeroPoint = function(builder, zeroPoint) { builder.addFieldInt32(0, zeroPoint, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} scale */ MNN.QuantizedParam.addScale = function(builder, scale) { builder.addFieldFloat32(1, scale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedParam.endQuantizedParam = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} zeroPoint * @param {number} scale * @returns {flatbuffers.Offset} */ MNN.QuantizedParam.createQuantizedParam = function(builder, zeroPoint, scale) { MNN.QuantizedParam.startQuantizedParam(builder); MNN.QuantizedParam.addZeroPoint(builder, zeroPoint); MNN.QuantizedParam.addScale(builder, scale); return MNN.QuantizedParam.endQuantizedParam(builder); } /** * @constructor */ MNN.QuantizedAdd = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedAdd} */ MNN.QuantizedAdd.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedAdd=} obj * @returns {MNN.QuantizedAdd} */ MNN.QuantizedAdd.getRootAsQuantizedAdd = function(bb, obj) { return (obj || new MNN.QuantizedAdd).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedAdd=} obj * @returns {MNN.QuantizedAdd} */ MNN.QuantizedAdd.getSizePrefixedRootAsQuantizedAdd = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedAdd).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.FusedActivation} */ MNN.QuantizedAdd.prototype.activationType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.FusedActivation} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.FusedActivation.kTfLiteActNone; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedAdd.prototype.input1QuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedAdd.prototype.input2QuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedAdd.prototype.outputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedAdd.startQuantizedAdd = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.FusedActivation} activationType */ MNN.QuantizedAdd.addActivationType = function(builder, activationType) { builder.addFieldInt8(0, activationType, MNN.FusedActivation.kTfLiteActNone); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} input1QuantizedParamOffset */ MNN.QuantizedAdd.addInput1QuantizedParam = function(builder, input1QuantizedParamOffset) { builder.addFieldOffset(1, input1QuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} input2QuantizedParamOffset */ MNN.QuantizedAdd.addInput2QuantizedParam = function(builder, input2QuantizedParamOffset) { builder.addFieldOffset(2, input2QuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputQuantizedParamOffset */ MNN.QuantizedAdd.addOutputQuantizedParam = function(builder, outputQuantizedParamOffset) { builder.addFieldOffset(3, outputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedAdd.endQuantizedAdd = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.FusedActivation} activationType * @param {flatbuffers.Offset} input1QuantizedParamOffset * @param {flatbuffers.Offset} input2QuantizedParamOffset * @param {flatbuffers.Offset} outputQuantizedParamOffset * @returns {flatbuffers.Offset} */ MNN.QuantizedAdd.createQuantizedAdd = function(builder, activationType, input1QuantizedParamOffset, input2QuantizedParamOffset, outputQuantizedParamOffset) { MNN.QuantizedAdd.startQuantizedAdd(builder); MNN.QuantizedAdd.addActivationType(builder, activationType); MNN.QuantizedAdd.addInput1QuantizedParam(builder, input1QuantizedParamOffset); MNN.QuantizedAdd.addInput2QuantizedParam(builder, input2QuantizedParamOffset); MNN.QuantizedAdd.addOutputQuantizedParam(builder, outputQuantizedParamOffset); return MNN.QuantizedAdd.endQuantizedAdd(builder); } /** * @constructor */ MNN.Dequantize = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Dequantize} */ MNN.Dequantize.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Dequantize=} obj * @returns {MNN.Dequantize} */ MNN.Dequantize.getRootAsDequantize = function(bb, obj) { return (obj || new MNN.Dequantize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Dequantize=} obj * @returns {MNN.Dequantize} */ MNN.Dequantize.getSizePrefixedRootAsDequantize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Dequantize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.Dequantize.prototype.inputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @returns {MNN.QuantizeMode} */ MNN.Dequantize.prototype.mode = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.QuantizeMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.QuantizeMode.MIN_COMBINED; }; /** * @returns {MNN.ModeFormat} */ MNN.Dequantize.prototype.modelFormat = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.ModeFormat} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ModeFormat.TENSORFLOW; }; /** * @returns {MNN.DataType} */ MNN.Dequantize.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.Dequantize.startDequantize = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuantizedParamOffset */ MNN.Dequantize.addInputQuantizedParam = function(builder, inputQuantizedParamOffset) { builder.addFieldOffset(0, inputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.QuantizeMode} mode */ MNN.Dequantize.addMode = function(builder, mode) { builder.addFieldInt8(1, mode, MNN.QuantizeMode.MIN_COMBINED); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ModeFormat} modelFormat */ MNN.Dequantize.addModelFormat = function(builder, modelFormat) { builder.addFieldInt8(2, modelFormat, MNN.ModeFormat.TENSORFLOW); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.Dequantize.addType = function(builder, type) { builder.addFieldInt32(3, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Dequantize.endDequantize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuantizedParamOffset * @param {MNN.QuantizeMode} mode * @param {MNN.ModeFormat} modelFormat * @param {MNN.DataType} type * @returns {flatbuffers.Offset} */ MNN.Dequantize.createDequantize = function(builder, inputQuantizedParamOffset, mode, modelFormat, type) { MNN.Dequantize.startDequantize(builder); MNN.Dequantize.addInputQuantizedParam(builder, inputQuantizedParamOffset); MNN.Dequantize.addMode(builder, mode); MNN.Dequantize.addModelFormat(builder, modelFormat); MNN.Dequantize.addType(builder, type); return MNN.Dequantize.endDequantize(builder); } /** * @constructor */ MNN.QuantizedAvgPool = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedAvgPool} */ MNN.QuantizedAvgPool.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedAvgPool=} obj * @returns {MNN.QuantizedAvgPool} */ MNN.QuantizedAvgPool.getRootAsQuantizedAvgPool = function(bb, obj) { return (obj || new MNN.QuantizedAvgPool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedAvgPool=} obj * @returns {MNN.QuantizedAvgPool} */ MNN.QuantizedAvgPool.getSizePrefixedRootAsQuantizedAvgPool = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedAvgPool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.kernelX = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.kernelY = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.ModeFormat} */ MNN.QuantizedAvgPool.prototype.modelFormat = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.ModeFormat} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ModeFormat.TENSORFLOW; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.outputActivationMax = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.outputActivationMin = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.PoolPadType} */ MNN.QuantizedAvgPool.prototype.padType = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? /** @type {MNN.PoolPadType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolPadType.CAFFE; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.padX = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.padY = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.strideX = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedAvgPool.prototype.strideY = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.DataType} */ MNN.QuantizedAvgPool.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedAvgPool.startQuantizedAvgPool = function(builder) { builder.startObject(11); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX */ MNN.QuantizedAvgPool.addKernelX = function(builder, kernelX) { builder.addFieldInt32(0, kernelX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelY */ MNN.QuantizedAvgPool.addKernelY = function(builder, kernelY) { builder.addFieldInt32(1, kernelY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ModeFormat} modelFormat */ MNN.QuantizedAvgPool.addModelFormat = function(builder, modelFormat) { builder.addFieldInt8(2, modelFormat, MNN.ModeFormat.TENSORFLOW); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputActivationMax */ MNN.QuantizedAvgPool.addOutputActivationMax = function(builder, outputActivationMax) { builder.addFieldInt32(3, outputActivationMax, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputActivationMin */ MNN.QuantizedAvgPool.addOutputActivationMin = function(builder, outputActivationMin) { builder.addFieldInt32(4, outputActivationMin, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolPadType} padType */ MNN.QuantizedAvgPool.addPadType = function(builder, padType) { builder.addFieldInt8(5, padType, MNN.PoolPadType.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {number} padX */ MNN.QuantizedAvgPool.addPadX = function(builder, padX) { builder.addFieldInt32(6, padX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} padY */ MNN.QuantizedAvgPool.addPadY = function(builder, padY) { builder.addFieldInt32(7, padY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideX */ MNN.QuantizedAvgPool.addStrideX = function(builder, strideX) { builder.addFieldInt32(8, strideX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideY */ MNN.QuantizedAvgPool.addStrideY = function(builder, strideY) { builder.addFieldInt32(9, strideY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.QuantizedAvgPool.addType = function(builder, type) { builder.addFieldInt32(10, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedAvgPool.endQuantizedAvgPool = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX * @param {number} kernelY * @param {MNN.ModeFormat} modelFormat * @param {number} outputActivationMax * @param {number} outputActivationMin * @param {MNN.PoolPadType} padType * @param {number} padX * @param {number} padY * @param {number} strideX * @param {number} strideY * @param {MNN.DataType} type * @returns {flatbuffers.Offset} */ MNN.QuantizedAvgPool.createQuantizedAvgPool = function(builder, kernelX, kernelY, modelFormat, outputActivationMax, outputActivationMin, padType, padX, padY, strideX, strideY, type) { MNN.QuantizedAvgPool.startQuantizedAvgPool(builder); MNN.QuantizedAvgPool.addKernelX(builder, kernelX); MNN.QuantizedAvgPool.addKernelY(builder, kernelY); MNN.QuantizedAvgPool.addModelFormat(builder, modelFormat); MNN.QuantizedAvgPool.addOutputActivationMax(builder, outputActivationMax); MNN.QuantizedAvgPool.addOutputActivationMin(builder, outputActivationMin); MNN.QuantizedAvgPool.addPadType(builder, padType); MNN.QuantizedAvgPool.addPadX(builder, padX); MNN.QuantizedAvgPool.addPadY(builder, padY); MNN.QuantizedAvgPool.addStrideX(builder, strideX); MNN.QuantizedAvgPool.addStrideY(builder, strideY); MNN.QuantizedAvgPool.addType(builder, type); return MNN.QuantizedAvgPool.endQuantizedAvgPool(builder); } /** * @constructor */ MNN.QuantizedBiasAdd = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedBiasAdd} */ MNN.QuantizedBiasAdd.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedBiasAdd=} obj * @returns {MNN.QuantizedBiasAdd} */ MNN.QuantizedBiasAdd.getRootAsQuantizedBiasAdd = function(bb, obj) { return (obj || new MNN.QuantizedBiasAdd).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedBiasAdd=} obj * @returns {MNN.QuantizedBiasAdd} */ MNN.QuantizedBiasAdd.getSizePrefixedRootAsQuantizedBiasAdd = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedBiasAdd).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.QuantizedBiasAdd.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedBiasAdd.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.QuantizedBiasAdd.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.DataType} */ MNN.QuantizedBiasAdd.prototype.inputType = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {number} */ MNN.QuantizedBiasAdd.prototype.max = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedBiasAdd.prototype.min = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.DataType} */ MNN.QuantizedBiasAdd.prototype.outputType = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedBiasAdd.startQuantizedBiasAdd = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.QuantizedBiasAdd.addBias = function(builder, biasOffset) { builder.addFieldOffset(0, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedBiasAdd.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedBiasAdd.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} inputType */ MNN.QuantizedBiasAdd.addInputType = function(builder, inputType) { builder.addFieldInt32(1, inputType, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {number} max */ MNN.QuantizedBiasAdd.addMax = function(builder, max) { builder.addFieldInt32(2, max, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} min */ MNN.QuantizedBiasAdd.addMin = function(builder, min) { builder.addFieldInt32(3, min, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} outputType */ MNN.QuantizedBiasAdd.addOutputType = function(builder, outputType) { builder.addFieldInt32(4, outputType, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedBiasAdd.endQuantizedBiasAdd = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset * @param {MNN.DataType} inputType * @param {number} max * @param {number} min * @param {MNN.DataType} outputType * @returns {flatbuffers.Offset} */ MNN.QuantizedBiasAdd.createQuantizedBiasAdd = function(builder, biasOffset, inputType, max, min, outputType) { MNN.QuantizedBiasAdd.startQuantizedBiasAdd(builder); MNN.QuantizedBiasAdd.addBias(builder, biasOffset); MNN.QuantizedBiasAdd.addInputType(builder, inputType); MNN.QuantizedBiasAdd.addMax(builder, max); MNN.QuantizedBiasAdd.addMin(builder, min); MNN.QuantizedBiasAdd.addOutputType(builder, outputType); return MNN.QuantizedBiasAdd.endQuantizedBiasAdd(builder); } /** * @constructor */ MNN.QuantizedConcat = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedConcat} */ MNN.QuantizedConcat.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedConcat=} obj * @returns {MNN.QuantizedConcat} */ MNN.QuantizedConcat.getRootAsQuantizedConcat = function(bb, obj) { return (obj || new MNN.QuantizedConcat).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedConcat=} obj * @returns {MNN.QuantizedConcat} */ MNN.QuantizedConcat.getSizePrefixedRootAsQuantizedConcat = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedConcat).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.FusedActivation} */ MNN.QuantizedConcat.prototype.activationType = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.FusedActivation} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.FusedActivation.kTfLiteActNone; }; /** * @returns {number} */ MNN.QuantizedConcat.prototype.axis = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.QuantizedConcat.prototype.inputScale = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readFloat32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedConcat.prototype.inputScaleLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Float32Array} */ MNN.QuantizedConcat.prototype.inputScaleArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Float32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.QuantizedConcat.prototype.inputZeroPoint = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedConcat.prototype.inputZeroPointLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.QuantizedConcat.prototype.inputZeroPointArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedConcat.prototype.outputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedConcat.startQuantizedConcat = function(builder) { builder.startObject(5); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.FusedActivation} activationType */ MNN.QuantizedConcat.addActivationType = function(builder, activationType) { builder.addFieldInt8(0, activationType, MNN.FusedActivation.kTfLiteActNone); }; /** * @param {flatbuffers.Builder} builder * @param {number} axis */ MNN.QuantizedConcat.addAxis = function(builder, axis) { builder.addFieldInt32(1, axis, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputScaleOffset */ MNN.QuantizedConcat.addInputScale = function(builder, inputScaleOffset) { builder.addFieldOffset(2, inputScaleOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedConcat.createInputScaleVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addFloat32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedConcat.startInputScaleVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputZeroPointOffset */ MNN.QuantizedConcat.addInputZeroPoint = function(builder, inputZeroPointOffset) { builder.addFieldOffset(3, inputZeroPointOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedConcat.createInputZeroPointVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedConcat.startInputZeroPointVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputQuantizedParamOffset */ MNN.QuantizedConcat.addOutputQuantizedParam = function(builder, outputQuantizedParamOffset) { builder.addFieldOffset(4, outputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedConcat.endQuantizedConcat = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.FusedActivation} activationType * @param {number} axis * @param {flatbuffers.Offset} inputScaleOffset * @param {flatbuffers.Offset} inputZeroPointOffset * @param {flatbuffers.Offset} outputQuantizedParamOffset * @returns {flatbuffers.Offset} */ MNN.QuantizedConcat.createQuantizedConcat = function(builder, activationType, axis, inputScaleOffset, inputZeroPointOffset, outputQuantizedParamOffset) { MNN.QuantizedConcat.startQuantizedConcat(builder); MNN.QuantizedConcat.addActivationType(builder, activationType); MNN.QuantizedConcat.addAxis(builder, axis); MNN.QuantizedConcat.addInputScale(builder, inputScaleOffset); MNN.QuantizedConcat.addInputZeroPoint(builder, inputZeroPointOffset); MNN.QuantizedConcat.addOutputQuantizedParam(builder, outputQuantizedParamOffset); return MNN.QuantizedConcat.endQuantizedConcat(builder); } /** * @constructor */ MNN.QuantizedLogistic = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedLogistic} */ MNN.QuantizedLogistic.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedLogistic=} obj * @returns {MNN.QuantizedLogistic} */ MNN.QuantizedLogistic.getRootAsQuantizedLogistic = function(bb, obj) { return (obj || new MNN.QuantizedLogistic).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedLogistic=} obj * @returns {MNN.QuantizedLogistic} */ MNN.QuantizedLogistic.getSizePrefixedRootAsQuantizedLogistic = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedLogistic).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedLogistic.prototype.inputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.QuantizedLogistic.prototype.outputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedLogistic.startQuantizedLogistic = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuantizedParamOffset */ MNN.QuantizedLogistic.addInputQuantizedParam = function(builder, inputQuantizedParamOffset) { builder.addFieldOffset(0, inputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputQuantizedParamOffset */ MNN.QuantizedLogistic.addOutputQuantizedParam = function(builder, outputQuantizedParamOffset) { builder.addFieldOffset(1, outputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedLogistic.endQuantizedLogistic = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuantizedParamOffset * @param {flatbuffers.Offset} outputQuantizedParamOffset * @returns {flatbuffers.Offset} */ MNN.QuantizedLogistic.createQuantizedLogistic = function(builder, inputQuantizedParamOffset, outputQuantizedParamOffset) { MNN.QuantizedLogistic.startQuantizedLogistic(builder); MNN.QuantizedLogistic.addInputQuantizedParam(builder, inputQuantizedParamOffset); MNN.QuantizedLogistic.addOutputQuantizedParam(builder, outputQuantizedParamOffset); return MNN.QuantizedLogistic.endQuantizedLogistic(builder); } /** * @constructor */ MNN.QuantizedMatMul = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedMatMul} */ MNN.QuantizedMatMul.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedMatMul=} obj * @returns {MNN.QuantizedMatMul} */ MNN.QuantizedMatMul.getRootAsQuantizedMatMul = function(bb, obj) { return (obj || new MNN.QuantizedMatMul).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedMatMul=} obj * @returns {MNN.QuantizedMatMul} */ MNN.QuantizedMatMul.getSizePrefixedRootAsQuantizedMatMul = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedMatMul).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {boolean} */ MNN.QuantizedMatMul.prototype.transposeA = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @returns {boolean} */ MNN.QuantizedMatMul.prototype.transposeB = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedMatMul.startQuantizedMatMul = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transposeA */ MNN.QuantizedMatMul.addTransposeA = function(builder, transposeA) { builder.addFieldInt8(0, +transposeA, +false); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transposeB */ MNN.QuantizedMatMul.addTransposeB = function(builder, transposeB) { builder.addFieldInt8(1, +transposeB, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedMatMul.endQuantizedMatMul = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {boolean} transposeA * @param {boolean} transposeB * @returns {flatbuffers.Offset} */ MNN.QuantizedMatMul.createQuantizedMatMul = function(builder, transposeA, transposeB) { MNN.QuantizedMatMul.startQuantizedMatMul(builder); MNN.QuantizedMatMul.addTransposeA(builder, transposeA); MNN.QuantizedMatMul.addTransposeB(builder, transposeB); return MNN.QuantizedMatMul.endQuantizedMatMul(builder); } /** * @constructor */ MNN.QuantizedMaxPool = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedMaxPool} */ MNN.QuantizedMaxPool.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedMaxPool=} obj * @returns {MNN.QuantizedMaxPool} */ MNN.QuantizedMaxPool.getRootAsQuantizedMaxPool = function(bb, obj) { return (obj || new MNN.QuantizedMaxPool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedMaxPool=} obj * @returns {MNN.QuantizedMaxPool} */ MNN.QuantizedMaxPool.getSizePrefixedRootAsQuantizedMaxPool = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedMaxPool).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.kernelX = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.kernelY = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.ModeFormat} */ MNN.QuantizedMaxPool.prototype.modelFormat = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.ModeFormat} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ModeFormat.TENSORFLOW; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.outputActivationMax = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.outputActivationMin = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.PoolPadType} */ MNN.QuantizedMaxPool.prototype.padType = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? /** @type {MNN.PoolPadType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.PoolPadType.CAFFE; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.padX = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.padY = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.strideX = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.QuantizedMaxPool.prototype.strideY = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.DataType} */ MNN.QuantizedMaxPool.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedMaxPool.startQuantizedMaxPool = function(builder) { builder.startObject(11); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX */ MNN.QuantizedMaxPool.addKernelX = function(builder, kernelX) { builder.addFieldInt32(0, kernelX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelY */ MNN.QuantizedMaxPool.addKernelY = function(builder, kernelY) { builder.addFieldInt32(1, kernelY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ModeFormat} modelFormat */ MNN.QuantizedMaxPool.addModelFormat = function(builder, modelFormat) { builder.addFieldInt8(2, modelFormat, MNN.ModeFormat.TENSORFLOW); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputActivationMax */ MNN.QuantizedMaxPool.addOutputActivationMax = function(builder, outputActivationMax) { builder.addFieldInt32(3, outputActivationMax, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outputActivationMin */ MNN.QuantizedMaxPool.addOutputActivationMin = function(builder, outputActivationMin) { builder.addFieldInt32(4, outputActivationMin, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.PoolPadType} padType */ MNN.QuantizedMaxPool.addPadType = function(builder, padType) { builder.addFieldInt8(5, padType, MNN.PoolPadType.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {number} padX */ MNN.QuantizedMaxPool.addPadX = function(builder, padX) { builder.addFieldInt32(6, padX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} padY */ MNN.QuantizedMaxPool.addPadY = function(builder, padY) { builder.addFieldInt32(7, padY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideX */ MNN.QuantizedMaxPool.addStrideX = function(builder, strideX) { builder.addFieldInt32(8, strideX, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} strideY */ MNN.QuantizedMaxPool.addStrideY = function(builder, strideY) { builder.addFieldInt32(9, strideY, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.QuantizedMaxPool.addType = function(builder, type) { builder.addFieldInt32(10, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedMaxPool.endQuantizedMaxPool = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} kernelX * @param {number} kernelY * @param {MNN.ModeFormat} modelFormat * @param {number} outputActivationMax * @param {number} outputActivationMin * @param {MNN.PoolPadType} padType * @param {number} padX * @param {number} padY * @param {number} strideX * @param {number} strideY * @param {MNN.DataType} type * @returns {flatbuffers.Offset} */ MNN.QuantizedMaxPool.createQuantizedMaxPool = function(builder, kernelX, kernelY, modelFormat, outputActivationMax, outputActivationMin, padType, padX, padY, strideX, strideY, type) { MNN.QuantizedMaxPool.startQuantizedMaxPool(builder); MNN.QuantizedMaxPool.addKernelX(builder, kernelX); MNN.QuantizedMaxPool.addKernelY(builder, kernelY); MNN.QuantizedMaxPool.addModelFormat(builder, modelFormat); MNN.QuantizedMaxPool.addOutputActivationMax(builder, outputActivationMax); MNN.QuantizedMaxPool.addOutputActivationMin(builder, outputActivationMin); MNN.QuantizedMaxPool.addPadType(builder, padType); MNN.QuantizedMaxPool.addPadX(builder, padX); MNN.QuantizedMaxPool.addPadY(builder, padY); MNN.QuantizedMaxPool.addStrideX(builder, strideX); MNN.QuantizedMaxPool.addStrideY(builder, strideY); MNN.QuantizedMaxPool.addType(builder, type); return MNN.QuantizedMaxPool.endQuantizedMaxPool(builder); } /** * @constructor */ MNN.QuantizedRelu = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedRelu} */ MNN.QuantizedRelu.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedRelu=} obj * @returns {MNN.QuantizedRelu} */ MNN.QuantizedRelu.getRootAsQuantizedRelu = function(bb, obj) { return (obj || new MNN.QuantizedRelu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedRelu=} obj * @returns {MNN.QuantizedRelu} */ MNN.QuantizedRelu.getSizePrefixedRootAsQuantizedRelu = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedRelu).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.QuantizedRelu.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedRelu.startQuantizedRelu = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.QuantizedRelu.addType = function(builder, type) { builder.addFieldInt32(0, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedRelu.endQuantizedRelu = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type * @returns {flatbuffers.Offset} */ MNN.QuantizedRelu.createQuantizedRelu = function(builder, type) { MNN.QuantizedRelu.startQuantizedRelu(builder); MNN.QuantizedRelu.addType(builder, type); return MNN.QuantizedRelu.endQuantizedRelu(builder); } /** * @constructor */ MNN.QuantizedRelu6 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedRelu6} */ MNN.QuantizedRelu6.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedRelu6=} obj * @returns {MNN.QuantizedRelu6} */ MNN.QuantizedRelu6.getRootAsQuantizedRelu6 = function(bb, obj) { return (obj || new MNN.QuantizedRelu6).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedRelu6=} obj * @returns {MNN.QuantizedRelu6} */ MNN.QuantizedRelu6.getSizePrefixedRootAsQuantizedRelu6 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedRelu6).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.QuantizedRelu6.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedRelu6.startQuantizedRelu6 = function(builder) { builder.startObject(1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.QuantizedRelu6.addType = function(builder, type) { builder.addFieldInt32(0, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedRelu6.endQuantizedRelu6 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type * @returns {flatbuffers.Offset} */ MNN.QuantizedRelu6.createQuantizedRelu6 = function(builder, type) { MNN.QuantizedRelu6.startQuantizedRelu6(builder); MNN.QuantizedRelu6.addType(builder, type); return MNN.QuantizedRelu6.endQuantizedRelu6(builder); } /** * @constructor */ MNN.QuantizedReshape = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedReshape} */ MNN.QuantizedReshape.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedReshape=} obj * @returns {MNN.QuantizedReshape} */ MNN.QuantizedReshape.getRootAsQuantizedReshape = function(bb, obj) { return (obj || new MNN.QuantizedReshape).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedReshape=} obj * @returns {MNN.QuantizedReshape} */ MNN.QuantizedReshape.getSizePrefixedRootAsQuantizedReshape = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedReshape).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.QuantizedReshape.prototype.dims = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.QuantizedReshape.prototype.dimsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.QuantizedReshape.prototype.dimsArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.ModeFormat} */ MNN.QuantizedReshape.prototype.modelFormat = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.ModeFormat} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ModeFormat.TENSORFLOW; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedReshape.startQuantizedReshape = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset */ MNN.QuantizedReshape.addDims = function(builder, dimsOffset) { builder.addFieldOffset(0, dimsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.QuantizedReshape.createDimsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.QuantizedReshape.startDimsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ModeFormat} modelFormat */ MNN.QuantizedReshape.addModelFormat = function(builder, modelFormat) { builder.addFieldInt8(1, modelFormat, MNN.ModeFormat.TENSORFLOW); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedReshape.endQuantizedReshape = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} dimsOffset * @param {MNN.ModeFormat} modelFormat * @returns {flatbuffers.Offset} */ MNN.QuantizedReshape.createQuantizedReshape = function(builder, dimsOffset, modelFormat) { MNN.QuantizedReshape.startQuantizedReshape(builder); MNN.QuantizedReshape.addDims(builder, dimsOffset); MNN.QuantizedReshape.addModelFormat(builder, modelFormat); return MNN.QuantizedReshape.endQuantizedReshape(builder); } /** * @constructor */ MNN.QuantizedSoftmax = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizedSoftmax} */ MNN.QuantizedSoftmax.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedSoftmax=} obj * @returns {MNN.QuantizedSoftmax} */ MNN.QuantizedSoftmax.getRootAsQuantizedSoftmax = function(bb, obj) { return (obj || new MNN.QuantizedSoftmax).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizedSoftmax=} obj * @returns {MNN.QuantizedSoftmax} */ MNN.QuantizedSoftmax.getSizePrefixedRootAsQuantizedSoftmax = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizedSoftmax).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {number} */ MNN.QuantizedSoftmax.prototype.beta = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @returns {number} */ MNN.QuantizedSoftmax.prototype.inputScale = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizedSoftmax.startQuantizedSoftmax = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {number} beta */ MNN.QuantizedSoftmax.addBeta = function(builder, beta) { builder.addFieldFloat32(0, beta, 0.0); }; /** * @param {flatbuffers.Builder} builder * @param {number} inputScale */ MNN.QuantizedSoftmax.addInputScale = function(builder, inputScale) { builder.addFieldFloat32(1, inputScale, 0.0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizedSoftmax.endQuantizedSoftmax = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {number} beta * @param {number} inputScale * @returns {flatbuffers.Offset} */ MNN.QuantizedSoftmax.createQuantizedSoftmax = function(builder, beta, inputScale) { MNN.QuantizedSoftmax.startQuantizedSoftmax(builder); MNN.QuantizedSoftmax.addBeta(builder, beta); MNN.QuantizedSoftmax.addInputScale(builder, inputScale); return MNN.QuantizedSoftmax.endQuantizedSoftmax(builder); } /** * @constructor */ MNN.QuantizeV2 = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.QuantizeV2} */ MNN.QuantizeV2.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizeV2=} obj * @returns {MNN.QuantizeV2} */ MNN.QuantizeV2.getRootAsQuantizeV2 = function(bb, obj) { return (obj || new MNN.QuantizeV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.QuantizeV2=} obj * @returns {MNN.QuantizeV2} */ MNN.QuantizeV2.getSizePrefixedRootAsQuantizeV2 = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.QuantizeV2).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.DataType} */ MNN.QuantizeV2.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.DataType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.DataType.DT_INVALID; }; /** * @returns {MNN.QuantizeMode} */ MNN.QuantizeV2.prototype.mode = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.QuantizeMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.QuantizeMode.MIN_COMBINED; }; /** * @returns {MNN.QuantizeRoundMode} */ MNN.QuantizeV2.prototype.roundMode = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? /** @type {MNN.QuantizeRoundMode} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.QuantizeRoundMode.HALF_AWAY_FROM_ZERO; }; /** * @param {flatbuffers.Builder} builder */ MNN.QuantizeV2.startQuantizeV2 = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type */ MNN.QuantizeV2.addType = function(builder, type) { builder.addFieldInt32(0, type, MNN.DataType.DT_INVALID); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.QuantizeMode} mode */ MNN.QuantizeV2.addMode = function(builder, mode) { builder.addFieldInt8(1, mode, MNN.QuantizeMode.MIN_COMBINED); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.QuantizeRoundMode} roundMode */ MNN.QuantizeV2.addRoundMode = function(builder, roundMode) { builder.addFieldInt8(2, roundMode, MNN.QuantizeRoundMode.HALF_AWAY_FROM_ZERO); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.QuantizeV2.endQuantizeV2 = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.DataType} type * @param {MNN.QuantizeMode} mode * @param {MNN.QuantizeRoundMode} roundMode * @returns {flatbuffers.Offset} */ MNN.QuantizeV2.createQuantizeV2 = function(builder, type, mode, roundMode) { MNN.QuantizeV2.startQuantizeV2(builder); MNN.QuantizeV2.addType(builder, type); MNN.QuantizeV2.addMode(builder, mode); MNN.QuantizeV2.addRoundMode(builder, roundMode); return MNN.QuantizeV2.endQuantizeV2(builder); } /** * @constructor */ MNN.RequantizationRange = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.RequantizationRange} */ MNN.RequantizationRange.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RequantizationRange=} obj * @returns {MNN.RequantizationRange} */ MNN.RequantizationRange.getRootAsRequantizationRange = function(bb, obj) { return (obj || new MNN.RequantizationRange).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.RequantizationRange=} obj * @returns {MNN.RequantizationRange} */ MNN.RequantizationRange.getSizePrefixedRootAsRequantizationRange = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.RequantizationRange).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Builder} builder */ MNN.RequantizationRange.startRequantizationRange = function(builder) { builder.startObject(0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.RequantizationRange.endRequantizationRange = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.RequantizationRange.createRequantizationRange = function(builder) { MNN.RequantizationRange.startRequantizationRange(builder); return MNN.RequantizationRange.endRequantizationRange(builder); } /** * @constructor */ MNN.Requantize = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Requantize} */ MNN.Requantize.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Requantize=} obj * @returns {MNN.Requantize} */ MNN.Requantize.getRootAsRequantize = function(bb, obj) { return (obj || new MNN.Requantize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Requantize=} obj * @returns {MNN.Requantize} */ MNN.Requantize.getSizePrefixedRootAsRequantize = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Requantize).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Builder} builder */ MNN.Requantize.startRequantize = function(builder) { builder.startObject(0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Requantize.endRequantize = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Requantize.createRequantize = function(builder) { MNN.Requantize.startRequantize(builder); return MNN.Requantize.endRequantize(builder); } /** * @constructor */ MNN.TfQuantizedConv2D = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.TfQuantizedConv2D} */ MNN.TfQuantizedConv2D.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TfQuantizedConv2D=} obj * @returns {MNN.TfQuantizedConv2D} */ MNN.TfQuantizedConv2D.getRootAsTfQuantizedConv2D = function(bb, obj) { return (obj || new MNN.TfQuantizedConv2D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TfQuantizedConv2D=} obj * @returns {MNN.TfQuantizedConv2D} */ MNN.TfQuantizedConv2D.getSizePrefixedRootAsTfQuantizedConv2D = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.TfQuantizedConv2D).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.TfQuantizedConv2D.prototype.bias = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.biasLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.TfQuantizedConv2D.prototype.biasArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {boolean} */ MNN.TfQuantizedConv2D.prototype.biasflag = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {MNN.Convolution2DCommon=} obj * @returns {MNN.Convolution2DCommon|null} */ MNN.TfQuantizedConv2D.prototype.common = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? (obj || new MNN.Convolution2DCommon).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {number} index * @returns {number} */ MNN.TfQuantizedConv2D.prototype.weight = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.weightLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Uint8Array} */ MNN.TfQuantizedConv2D.prototype.weightArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.FusedActivation} */ MNN.TfQuantizedConv2D.prototype.activationType = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? /** @type {MNN.FusedActivation} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.FusedActivation.kTfLiteActNone; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.multiplier = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.outMax = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.outMin = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.shift = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.TfQuantizedConv2D.prototype.biasQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @returns {number} */ MNN.TfQuantizedConv2D.prototype.depthMultiplier = function() { var offset = this.bb.__offset(this.bb_pos, 24); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.TfQuantizedConv2D.prototype.filterQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 26); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.TfQuantizedConv2D.prototype.inputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 28); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @returns {MNN.ModeFormat} */ MNN.TfQuantizedConv2D.prototype.modelFormat = function() { var offset = this.bb.__offset(this.bb_pos, 30); return offset ? /** @type {MNN.ModeFormat} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ModeFormat.TENSORFLOW; }; /** * @param {MNN.QuantizedParam=} obj * @returns {MNN.QuantizedParam|null} */ MNN.TfQuantizedConv2D.prototype.outputQuantizedParam = function(obj) { var offset = this.bb.__offset(this.bb_pos, 32); return offset ? (obj || new MNN.QuantizedParam).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.TfQuantizedConv2D.startTfQuantizedConv2D = function(builder) { builder.startObject(15); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset */ MNN.TfQuantizedConv2D.addBias = function(builder, biasOffset) { builder.addFieldOffset(0, biasOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.TfQuantizedConv2D.createBiasVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.TfQuantizedConv2D.startBiasVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} biasflag */ MNN.TfQuantizedConv2D.addBiasflag = function(builder, biasflag) { builder.addFieldInt8(1, +biasflag, +false); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} commonOffset */ MNN.TfQuantizedConv2D.addCommon = function(builder, commonOffset) { builder.addFieldOffset(2, commonOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} weightOffset */ MNN.TfQuantizedConv2D.addWeight = function(builder, weightOffset) { builder.addFieldOffset(3, weightOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.TfQuantizedConv2D.createWeightVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.TfQuantizedConv2D.startWeightVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.FusedActivation} activationType */ MNN.TfQuantizedConv2D.addActivationType = function(builder, activationType) { builder.addFieldInt8(4, activationType, MNN.FusedActivation.kTfLiteActNone); }; /** * @param {flatbuffers.Builder} builder * @param {number} multiplier */ MNN.TfQuantizedConv2D.addMultiplier = function(builder, multiplier) { builder.addFieldInt32(5, multiplier, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outMax */ MNN.TfQuantizedConv2D.addOutMax = function(builder, outMax) { builder.addFieldInt32(6, outMax, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} outMin */ MNN.TfQuantizedConv2D.addOutMin = function(builder, outMin) { builder.addFieldInt32(7, outMin, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} shift */ MNN.TfQuantizedConv2D.addShift = function(builder, shift) { builder.addFieldInt32(8, shift, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasQuantizedParamOffset */ MNN.TfQuantizedConv2D.addBiasQuantizedParam = function(builder, biasQuantizedParamOffset) { builder.addFieldOffset(9, biasQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} depthMultiplier */ MNN.TfQuantizedConv2D.addDepthMultiplier = function(builder, depthMultiplier) { builder.addFieldInt32(10, depthMultiplier, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} filterQuantizedParamOffset */ MNN.TfQuantizedConv2D.addFilterQuantizedParam = function(builder, filterQuantizedParamOffset) { builder.addFieldOffset(11, filterQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputQuantizedParamOffset */ MNN.TfQuantizedConv2D.addInputQuantizedParam = function(builder, inputQuantizedParamOffset) { builder.addFieldOffset(12, inputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ModeFormat} modelFormat */ MNN.TfQuantizedConv2D.addModelFormat = function(builder, modelFormat) { builder.addFieldInt8(13, modelFormat, MNN.ModeFormat.TENSORFLOW); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputQuantizedParamOffset */ MNN.TfQuantizedConv2D.addOutputQuantizedParam = function(builder, outputQuantizedParamOffset) { builder.addFieldOffset(14, outputQuantizedParamOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.TfQuantizedConv2D.endTfQuantizedConv2D = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} biasOffset * @param {boolean} biasflag * @param {flatbuffers.Offset} commonOffset * @param {flatbuffers.Offset} weightOffset * @param {MNN.FusedActivation} activationType * @param {number} multiplier * @param {number} outMax * @param {number} outMin * @param {number} shift * @param {flatbuffers.Offset} biasQuantizedParamOffset * @param {number} depthMultiplier * @param {flatbuffers.Offset} filterQuantizedParamOffset * @param {flatbuffers.Offset} inputQuantizedParamOffset * @param {MNN.ModeFormat} modelFormat * @param {flatbuffers.Offset} outputQuantizedParamOffset * @returns {flatbuffers.Offset} */ MNN.TfQuantizedConv2D.createTfQuantizedConv2D = function(builder, biasOffset, biasflag, commonOffset, weightOffset, activationType, multiplier, outMax, outMin, shift, biasQuantizedParamOffset, depthMultiplier, filterQuantizedParamOffset, inputQuantizedParamOffset, modelFormat, outputQuantizedParamOffset) { MNN.TfQuantizedConv2D.startTfQuantizedConv2D(builder); MNN.TfQuantizedConv2D.addBias(builder, biasOffset); MNN.TfQuantizedConv2D.addBiasflag(builder, biasflag); MNN.TfQuantizedConv2D.addCommon(builder, commonOffset); MNN.TfQuantizedConv2D.addWeight(builder, weightOffset); MNN.TfQuantizedConv2D.addActivationType(builder, activationType); MNN.TfQuantizedConv2D.addMultiplier(builder, multiplier); MNN.TfQuantizedConv2D.addOutMax(builder, outMax); MNN.TfQuantizedConv2D.addOutMin(builder, outMin); MNN.TfQuantizedConv2D.addShift(builder, shift); MNN.TfQuantizedConv2D.addBiasQuantizedParam(builder, biasQuantizedParamOffset); MNN.TfQuantizedConv2D.addDepthMultiplier(builder, depthMultiplier); MNN.TfQuantizedConv2D.addFilterQuantizedParam(builder, filterQuantizedParamOffset); MNN.TfQuantizedConv2D.addInputQuantizedParam(builder, inputQuantizedParamOffset); MNN.TfQuantizedConv2D.addModelFormat(builder, modelFormat); MNN.TfQuantizedConv2D.addOutputQuantizedParam(builder, outputQuantizedParamOffset); return MNN.TfQuantizedConv2D.endTfQuantizedConv2D(builder); } /** * @constructor */ MNN.GpuBuffer = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GpuBuffer} */ MNN.GpuBuffer.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuBuffer=} obj * @returns {MNN.GpuBuffer} */ MNN.GpuBuffer.getRootAsGpuBuffer = function(bb, obj) { return (obj || new MNN.GpuBuffer).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuBuffer=} obj * @returns {MNN.GpuBuffer} */ MNN.GpuBuffer.getSizePrefixedRootAsGpuBuffer = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GpuBuffer).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.ACCESS_TYPE} */ MNN.GpuBuffer.prototype.access = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.ACCESS_TYPE} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ACCESS_TYPE.READ_ONLY; }; /** * @returns {MNN.STORAGE_TYPE} */ MNN.GpuBuffer.prototype.storage = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.STORAGE_TYPE} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.STORAGE_TYPE.BUFFER; }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.GpuBuffer.prototype.content = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.GpuBuffer.startGpuBuffer = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ACCESS_TYPE} access */ MNN.GpuBuffer.addAccess = function(builder, access) { builder.addFieldInt8(0, access, MNN.ACCESS_TYPE.READ_ONLY); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.STORAGE_TYPE} storage */ MNN.GpuBuffer.addStorage = function(builder, storage) { builder.addFieldInt8(1, storage, MNN.STORAGE_TYPE.BUFFER); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} contentOffset */ MNN.GpuBuffer.addContent = function(builder, contentOffset) { builder.addFieldOffset(2, contentOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GpuBuffer.endGpuBuffer = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ACCESS_TYPE} access * @param {MNN.STORAGE_TYPE} storage * @param {flatbuffers.Offset} contentOffset * @returns {flatbuffers.Offset} */ MNN.GpuBuffer.createGpuBuffer = function(builder, access, storage, contentOffset) { MNN.GpuBuffer.startGpuBuffer(builder); MNN.GpuBuffer.addAccess(builder, access); MNN.GpuBuffer.addStorage(builder, storage); MNN.GpuBuffer.addContent(builder, contentOffset); return MNN.GpuBuffer.endGpuBuffer(builder); } /** * @constructor */ MNN.GpuPipeline = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GpuPipeline} */ MNN.GpuPipeline.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuPipeline=} obj * @returns {MNN.GpuPipeline} */ MNN.GpuPipeline.getRootAsGpuPipeline = function(bb, obj) { return (obj || new MNN.GpuPipeline).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuPipeline=} obj * @returns {MNN.GpuPipeline} */ MNN.GpuPipeline.getSizePrefixedRootAsGpuPipeline = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GpuPipeline).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.GpuPipeline.prototype.localSize = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.GpuPipeline.prototype.localSizeLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.GpuPipeline.prototype.localSizeArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuPipeline.prototype.key = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @returns {number} */ MNN.GpuPipeline.prototype.metal = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.GpuPipeline.prototype.metalLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.GpuPipeline.prototype.metalArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.GpuPipeline.prototype.vulkan = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.GpuPipeline.prototype.vulkanLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.GpuPipeline.prototype.vulkanArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuPipeline.prototype.openglComputeShader = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuPipeline.prototype.openclKernel = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.GpuPipeline.startGpuPipeline = function(builder) { builder.startObject(6); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} localSizeOffset */ MNN.GpuPipeline.addLocalSize = function(builder, localSizeOffset) { builder.addFieldOffset(0, localSizeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuPipeline.createLocalSizeVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuPipeline.startLocalSizeVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} keyOffset */ MNN.GpuPipeline.addKey = function(builder, keyOffset) { builder.addFieldOffset(1, keyOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} metalOffset */ MNN.GpuPipeline.addMetal = function(builder, metalOffset) { builder.addFieldOffset(2, metalOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuPipeline.createMetalVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuPipeline.startMetalVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} vulkanOffset */ MNN.GpuPipeline.addVulkan = function(builder, vulkanOffset) { builder.addFieldOffset(3, vulkanOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuPipeline.createVulkanVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuPipeline.startVulkanVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} openglComputeShaderOffset */ MNN.GpuPipeline.addOpenglComputeShader = function(builder, openglComputeShaderOffset) { builder.addFieldOffset(4, openglComputeShaderOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} openclKernelOffset */ MNN.GpuPipeline.addOpenclKernel = function(builder, openclKernelOffset) { builder.addFieldOffset(5, openclKernelOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GpuPipeline.endGpuPipeline = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} localSizeOffset * @param {flatbuffers.Offset} keyOffset * @param {flatbuffers.Offset} metalOffset * @param {flatbuffers.Offset} vulkanOffset * @param {flatbuffers.Offset} openglComputeShaderOffset * @param {flatbuffers.Offset} openclKernelOffset * @returns {flatbuffers.Offset} */ MNN.GpuPipeline.createGpuPipeline = function(builder, localSizeOffset, keyOffset, metalOffset, vulkanOffset, openglComputeShaderOffset, openclKernelOffset) { MNN.GpuPipeline.startGpuPipeline(builder); MNN.GpuPipeline.addLocalSize(builder, localSizeOffset); MNN.GpuPipeline.addKey(builder, keyOffset); MNN.GpuPipeline.addMetal(builder, metalOffset); MNN.GpuPipeline.addVulkan(builder, vulkanOffset); MNN.GpuPipeline.addOpenglComputeShader(builder, openglComputeShaderOffset); MNN.GpuPipeline.addOpenclKernel(builder, openclKernelOffset); return MNN.GpuPipeline.endGpuPipeline(builder); } /** * @constructor */ MNN.GpuStage = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GpuStage} */ MNN.GpuStage.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuStage=} obj * @returns {MNN.GpuStage} */ MNN.GpuStage.getRootAsGpuStage = function(bb, obj) { return (obj || new MNN.GpuStage).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuStage=} obj * @returns {MNN.GpuStage} */ MNN.GpuStage.getSizePrefixedRootAsGpuStage = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GpuStage).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuStage.prototype.pipeline = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @returns {number} */ MNN.GpuStage.prototype.groupSize = function(index) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.GpuStage.prototype.groupSizeLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.GpuStage.prototype.groupSizeArray = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.GpuStage.prototype.inputIndexes = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.GpuStage.prototype.inputIndexesLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.GpuStage.prototype.inputIndexesArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @returns {number} */ MNN.GpuStage.prototype.outputIndexes = function(index) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.GpuStage.prototype.outputIndexesLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.GpuStage.prototype.outputIndexesArray = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @param {MNN.GpuBuffer=} obj * @returns {MNN.GpuBuffer} */ MNN.GpuStage.prototype.middleBuffer = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? (obj || new MNN.GpuBuffer).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.GpuStage.prototype.middleBufferLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {number} index * @param {MNN.GpuBuffer=} obj * @returns {MNN.GpuBuffer} */ MNN.GpuStage.prototype.constBuffer = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? (obj || new MNN.GpuBuffer).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.GpuStage.prototype.constBufferLength = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.GpuStage.prototype.globalSizeIndex = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {number} index * @returns {number} */ MNN.GpuStage.prototype.globalSizeDivide = function(index) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.GpuStage.prototype.globalSizeDivideLength = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.GpuStage.prototype.globalSizeDivideArray = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {boolean} */ MNN.GpuStage.prototype.requireSize = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false; }; /** * @param {flatbuffers.Builder} builder */ MNN.GpuStage.startGpuStage = function(builder) { builder.startObject(9); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} pipelineOffset */ MNN.GpuStage.addPipeline = function(builder, pipelineOffset) { builder.addFieldOffset(0, pipelineOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} groupSizeOffset */ MNN.GpuStage.addGroupSize = function(builder, groupSizeOffset) { builder.addFieldOffset(1, groupSizeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createGroupSizeVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startGroupSizeVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputIndexesOffset */ MNN.GpuStage.addInputIndexes = function(builder, inputIndexesOffset) { builder.addFieldOffset(2, inputIndexesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createInputIndexesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startInputIndexesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputIndexesOffset */ MNN.GpuStage.addOutputIndexes = function(builder, outputIndexesOffset) { builder.addFieldOffset(3, outputIndexesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createOutputIndexesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startOutputIndexesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} middleBufferOffset */ MNN.GpuStage.addMiddleBuffer = function(builder, middleBufferOffset) { builder.addFieldOffset(4, middleBufferOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createMiddleBufferVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startMiddleBufferVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} constBufferOffset */ MNN.GpuStage.addConstBuffer = function(builder, constBufferOffset) { builder.addFieldOffset(5, constBufferOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createConstBufferVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startConstBufferVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} globalSizeIndex */ MNN.GpuStage.addGlobalSizeIndex = function(builder, globalSizeIndex) { builder.addFieldInt32(6, globalSizeIndex, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} globalSizeDivideOffset */ MNN.GpuStage.addGlobalSizeDivide = function(builder, globalSizeDivideOffset) { builder.addFieldOffset(7, globalSizeDivideOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.GpuStage.createGlobalSizeDivideVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuStage.startGlobalSizeDivideVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {boolean} requireSize */ MNN.GpuStage.addRequireSize = function(builder, requireSize) { builder.addFieldInt8(8, +requireSize, +false); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GpuStage.endGpuStage = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} pipelineOffset * @param {flatbuffers.Offset} groupSizeOffset * @param {flatbuffers.Offset} inputIndexesOffset * @param {flatbuffers.Offset} outputIndexesOffset * @param {flatbuffers.Offset} middleBufferOffset * @param {flatbuffers.Offset} constBufferOffset * @param {number} globalSizeIndex * @param {flatbuffers.Offset} globalSizeDivideOffset * @param {boolean} requireSize * @returns {flatbuffers.Offset} */ MNN.GpuStage.createGpuStage = function(builder, pipelineOffset, groupSizeOffset, inputIndexesOffset, outputIndexesOffset, middleBufferOffset, constBufferOffset, globalSizeIndex, globalSizeDivideOffset, requireSize) { MNN.GpuStage.startGpuStage(builder); MNN.GpuStage.addPipeline(builder, pipelineOffset); MNN.GpuStage.addGroupSize(builder, groupSizeOffset); MNN.GpuStage.addInputIndexes(builder, inputIndexesOffset); MNN.GpuStage.addOutputIndexes(builder, outputIndexesOffset); MNN.GpuStage.addMiddleBuffer(builder, middleBufferOffset); MNN.GpuStage.addConstBuffer(builder, constBufferOffset); MNN.GpuStage.addGlobalSizeIndex(builder, globalSizeIndex); MNN.GpuStage.addGlobalSizeDivide(builder, globalSizeDivideOffset); MNN.GpuStage.addRequireSize(builder, requireSize); return MNN.GpuStage.endGpuStage(builder); } /** * @constructor */ MNN.GpuFunction = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GpuFunction} */ MNN.GpuFunction.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuFunction=} obj * @returns {MNN.GpuFunction} */ MNN.GpuFunction.getRootAsGpuFunction = function(bb, obj) { return (obj || new MNN.GpuFunction).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuFunction=} obj * @returns {MNN.GpuFunction} */ MNN.GpuFunction.getSizePrefixedRootAsGpuFunction = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GpuFunction).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @param {MNN.GpuStage=} obj * @returns {MNN.GpuStage} */ MNN.GpuFunction.prototype.stags = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.GpuStage).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.GpuFunction.prototype.stagsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuFunction.prototype.name = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.GpuFunction.startGpuFunction = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stagsOffset */ MNN.GpuFunction.addStags = function(builder, stagsOffset) { builder.addFieldOffset(0, stagsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.GpuFunction.createStagsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuFunction.startStagsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} nameOffset */ MNN.GpuFunction.addName = function(builder, nameOffset) { builder.addFieldOffset(1, nameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GpuFunction.endGpuFunction = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} stagsOffset * @param {flatbuffers.Offset} nameOffset * @returns {flatbuffers.Offset} */ MNN.GpuFunction.createGpuFunction = function(builder, stagsOffset, nameOffset) { MNN.GpuFunction.startGpuFunction(builder); MNN.GpuFunction.addStags(builder, stagsOffset); MNN.GpuFunction.addName(builder, nameOffset); return MNN.GpuFunction.endGpuFunction(builder); } /** * @constructor */ MNN.GpuLibrary = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.GpuLibrary} */ MNN.GpuLibrary.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuLibrary=} obj * @returns {MNN.GpuLibrary} */ MNN.GpuLibrary.getRootAsGpuLibrary = function(bb, obj) { return (obj || new MNN.GpuLibrary).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.GpuLibrary=} obj * @returns {MNN.GpuLibrary} */ MNN.GpuLibrary.getSizePrefixedRootAsGpuLibrary = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.GpuLibrary).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @param {MNN.GpuFunction=} obj * @returns {MNN.GpuFunction} */ MNN.GpuLibrary.prototype.functions = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.GpuFunction).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.GpuLibrary.prototype.functionsLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {number} index * @param {MNN.GpuPipeline=} obj * @returns {MNN.GpuPipeline} */ MNN.GpuLibrary.prototype.pipeline = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.GpuPipeline).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.GpuLibrary.prototype.pipelineLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.GpuLibrary.prototype.name = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.GpuLibrary.startGpuLibrary = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} functionsOffset */ MNN.GpuLibrary.addFunctions = function(builder, functionsOffset) { builder.addFieldOffset(0, functionsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.GpuLibrary.createFunctionsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuLibrary.startFunctionsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} pipelineOffset */ MNN.GpuLibrary.addPipeline = function(builder, pipelineOffset) { builder.addFieldOffset(1, pipelineOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.GpuLibrary.createPipelineVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.GpuLibrary.startPipelineVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} nameOffset */ MNN.GpuLibrary.addName = function(builder, nameOffset) { builder.addFieldOffset(2, nameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.GpuLibrary.endGpuLibrary = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} functionsOffset * @param {flatbuffers.Offset} pipelineOffset * @param {flatbuffers.Offset} nameOffset * @returns {flatbuffers.Offset} */ MNN.GpuLibrary.createGpuLibrary = function(builder, functionsOffset, pipelineOffset, nameOffset) { MNN.GpuLibrary.startGpuLibrary(builder); MNN.GpuLibrary.addFunctions(builder, functionsOffset); MNN.GpuLibrary.addPipeline(builder, pipelineOffset); MNN.GpuLibrary.addName(builder, nameOffset); return MNN.GpuLibrary.endGpuLibrary(builder); } /** * @constructor */ MNN.TensorConvertInfo = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.TensorConvertInfo} */ MNN.TensorConvertInfo.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TensorConvertInfo=} obj * @returns {MNN.TensorConvertInfo} */ MNN.TensorConvertInfo.getRootAsTensorConvertInfo = function(bb, obj) { return (obj || new MNN.TensorConvertInfo).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TensorConvertInfo=} obj * @returns {MNN.TensorConvertInfo} */ MNN.TensorConvertInfo.getSizePrefixedRootAsTensorConvertInfo = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.TensorConvertInfo).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.TensorConvertInfo.prototype.source = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NCHW; }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.TensorConvertInfo.prototype.dest = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NCHW; }; /** * @param {flatbuffers.Builder} builder */ MNN.TensorConvertInfo.startTensorConvertInfo = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} source */ MNN.TensorConvertInfo.addSource = function(builder, source) { builder.addFieldInt8(0, source, MNN.MNN_DATA_FORMAT.NCHW); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} dest */ MNN.TensorConvertInfo.addDest = function(builder, dest) { builder.addFieldInt8(1, dest, MNN.MNN_DATA_FORMAT.NCHW); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.TensorConvertInfo.endTensorConvertInfo = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} source * @param {MNN.MNN_DATA_FORMAT} dest * @returns {flatbuffers.Offset} */ MNN.TensorConvertInfo.createTensorConvertInfo = function(builder, source, dest) { MNN.TensorConvertInfo.startTensorConvertInfo(builder); MNN.TensorConvertInfo.addSource(builder, source); MNN.TensorConvertInfo.addDest(builder, dest); return MNN.TensorConvertInfo.endTensorConvertInfo(builder); } /** * @constructor */ MNN.Plugin = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Plugin} */ MNN.Plugin.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Plugin=} obj * @returns {MNN.Plugin} */ MNN.Plugin.getRootAsPlugin = function(bb, obj) { return (obj || new MNN.Plugin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Plugin=} obj * @returns {MNN.Plugin} */ MNN.Plugin.getSizePrefixedRootAsPlugin = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Plugin).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Plugin.prototype.type = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @param {MNN.Attribute=} obj * @returns {MNN.Attribute} */ MNN.Plugin.prototype.attr = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.Attribute).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.Plugin.prototype.attrLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Plugin.startPlugin = function(builder) { builder.startObject(2); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} typeOffset */ MNN.Plugin.addType = function(builder, typeOffset) { builder.addFieldOffset(0, typeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} attrOffset */ MNN.Plugin.addAttr = function(builder, attrOffset) { builder.addFieldOffset(1, attrOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Plugin.createAttrVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Plugin.startAttrVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Plugin.endPlugin = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} typeOffset * @param {flatbuffers.Offset} attrOffset * @returns {flatbuffers.Offset} */ MNN.Plugin.createPlugin = function(builder, typeOffset, attrOffset) { MNN.Plugin.startPlugin(builder); MNN.Plugin.addType(builder, typeOffset); MNN.Plugin.addAttr(builder, attrOffset); return MNN.Plugin.endPlugin(builder); } /** * @constructor */ MNN.Extra = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Extra} */ MNN.Extra.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Extra=} obj * @returns {MNN.Extra} */ MNN.Extra.getRootAsExtra = function(bb, obj) { return (obj || new MNN.Extra).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Extra=} obj * @returns {MNN.Extra} */ MNN.Extra.getSizePrefixedRootAsExtra = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Extra).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Extra.prototype.type = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Extra.prototype.engine = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @returns {number} */ MNN.Extra.prototype.info = function(index) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : 0; }; /** * @returns {number} */ MNN.Extra.prototype.infoLength = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int8Array} */ MNN.Extra.prototype.infoArray = function() { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @param {number} index * @param {MNN.Attribute=} obj * @returns {MNN.Attribute} */ MNN.Extra.prototype.attr = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.Attribute).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.Extra.prototype.attrLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Builder} builder */ MNN.Extra.startExtra = function(builder) { builder.startObject(4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} typeOffset */ MNN.Extra.addType = function(builder, typeOffset) { builder.addFieldOffset(0, typeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} engineOffset */ MNN.Extra.addEngine = function(builder, engineOffset) { builder.addFieldOffset(1, engineOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} infoOffset */ MNN.Extra.addInfo = function(builder, infoOffset) { builder.addFieldOffset(2, infoOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Extra.createInfoVector = function(builder, data) { builder.startVector(1, data.length, 1); for (var i = data.length - 1; i >= 0; i--) { builder.addInt8(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Extra.startInfoVector = function(builder, numElems) { builder.startVector(1, numElems, 1); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} attrOffset */ MNN.Extra.addAttr = function(builder, attrOffset) { builder.addFieldOffset(3, attrOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Extra.createAttrVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Extra.startAttrVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Extra.endExtra = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} typeOffset * @param {flatbuffers.Offset} engineOffset * @param {flatbuffers.Offset} infoOffset * @param {flatbuffers.Offset} attrOffset * @returns {flatbuffers.Offset} */ MNN.Extra.createExtra = function(builder, typeOffset, engineOffset, infoOffset, attrOffset) { MNN.Extra.startExtra(builder); MNN.Extra.addType(builder, typeOffset); MNN.Extra.addEngine(builder, engineOffset); MNN.Extra.addInfo(builder, infoOffset); MNN.Extra.addAttr(builder, attrOffset); return MNN.Extra.endExtra(builder); } /** * @constructor */ MNN.Op = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Op} */ MNN.Op.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Op=} obj * @returns {MNN.Op} */ MNN.Op.getRootAsOp = function(bb, obj) { return (obj || new MNN.Op).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Op=} obj * @returns {MNN.Op} */ MNN.Op.getSizePrefixedRootAsOp = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Op).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {number} index * @returns {number} */ MNN.Op.prototype.inputIndexes = function(index) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Op.prototype.inputIndexesLength = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Op.prototype.inputIndexesArray = function() { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.OpParameter} */ MNN.Op.prototype.mainType = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? /** @type {MNN.OpParameter} */ (this.bb.readUint8(this.bb_pos + offset)) : MNN.OpParameter.NONE; }; /** * @param {flatbuffers.Table} obj * @returns {?flatbuffers.Table} */ MNN.Op.prototype.main = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__union(obj, this.bb_pos + offset) : null; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Op.prototype.name = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @returns {number} */ MNN.Op.prototype.outputIndexes = function(index) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.readInt32(this.bb.__vector(this.bb_pos + offset) + index * 4) : 0; }; /** * @returns {number} */ MNN.Op.prototype.outputIndexesLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {Int32Array} */ MNN.Op.prototype.outputIndexesArray = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? new Int32Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; }; /** * @returns {MNN.OpType} */ MNN.Op.prototype.type = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? /** @type {MNN.OpType} */ (this.bb.readInt32(this.bb_pos + offset)) : MNN.OpType.AbsVal; }; /** * @returns {MNN.MNN_DATA_FORMAT} */ MNN.Op.prototype.defaultDimentionFormat = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? /** @type {MNN.MNN_DATA_FORMAT} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.MNN_DATA_FORMAT.NHWC; }; /** * @param {flatbuffers.Builder} builder */ MNN.Op.startOp = function(builder) { builder.startObject(7); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputIndexesOffset */ MNN.Op.addInputIndexes = function(builder, inputIndexesOffset) { builder.addFieldOffset(0, inputIndexesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Op.createInputIndexesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Op.startInputIndexesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.OpParameter} mainType */ MNN.Op.addMainType = function(builder, mainType) { builder.addFieldInt8(1, mainType, MNN.OpParameter.NONE); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} mainOffset */ MNN.Op.addMain = function(builder, mainOffset) { builder.addFieldOffset(2, mainOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} nameOffset */ MNN.Op.addName = function(builder, nameOffset) { builder.addFieldOffset(3, nameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputIndexesOffset */ MNN.Op.addOutputIndexes = function(builder, outputIndexesOffset) { builder.addFieldOffset(4, outputIndexesOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<number>} data * @returns {flatbuffers.Offset} */ MNN.Op.createOutputIndexesVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addInt32(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Op.startOutputIndexesVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.OpType} type */ MNN.Op.addType = function(builder, type) { builder.addFieldInt32(5, type, MNN.OpType.AbsVal); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.MNN_DATA_FORMAT} defaultDimentionFormat */ MNN.Op.addDefaultDimentionFormat = function(builder, defaultDimentionFormat) { builder.addFieldInt8(6, defaultDimentionFormat, MNN.MNN_DATA_FORMAT.NHWC); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Op.endOp = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} inputIndexesOffset * @param {MNN.OpParameter} mainType * @param {flatbuffers.Offset} mainOffset * @param {flatbuffers.Offset} nameOffset * @param {flatbuffers.Offset} outputIndexesOffset * @param {MNN.OpType} type * @param {MNN.MNN_DATA_FORMAT} defaultDimentionFormat * @returns {flatbuffers.Offset} */ MNN.Op.createOp = function(builder, inputIndexesOffset, mainType, mainOffset, nameOffset, outputIndexesOffset, type, defaultDimentionFormat) { MNN.Op.startOp(builder); MNN.Op.addInputIndexes(builder, inputIndexesOffset); MNN.Op.addMainType(builder, mainType); MNN.Op.addMain(builder, mainOffset); MNN.Op.addName(builder, nameOffset); MNN.Op.addOutputIndexes(builder, outputIndexesOffset); MNN.Op.addType(builder, type); MNN.Op.addDefaultDimentionFormat(builder, defaultDimentionFormat); return MNN.Op.endOp(builder); } /** * @constructor */ MNN.TensorDescribe = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.TensorDescribe} */ MNN.TensorDescribe.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TensorDescribe=} obj * @returns {MNN.TensorDescribe} */ MNN.TensorDescribe.getRootAsTensorDescribe = function(bb, obj) { return (obj || new MNN.TensorDescribe).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.TensorDescribe=} obj * @returns {MNN.TensorDescribe} */ MNN.TensorDescribe.getSizePrefixedRootAsTensorDescribe = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.TensorDescribe).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {MNN.Blob=} obj * @returns {MNN.Blob|null} */ MNN.TensorDescribe.prototype.blob = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? (obj || new MNN.Blob).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @returns {number} */ MNN.TensorDescribe.prototype.index = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.TensorDescribe.prototype.name = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {flatbuffers.Builder} builder */ MNN.TensorDescribe.startTensorDescribe = function(builder) { builder.startObject(3); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} blobOffset */ MNN.TensorDescribe.addBlob = function(builder, blobOffset) { builder.addFieldOffset(0, blobOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {number} index */ MNN.TensorDescribe.addIndex = function(builder, index) { builder.addFieldInt32(1, index, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} nameOffset */ MNN.TensorDescribe.addName = function(builder, nameOffset) { builder.addFieldOffset(2, nameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.TensorDescribe.endTensorDescribe = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} blobOffset * @param {number} index * @param {flatbuffers.Offset} nameOffset * @returns {flatbuffers.Offset} */ MNN.TensorDescribe.createTensorDescribe = function(builder, blobOffset, index, nameOffset) { MNN.TensorDescribe.startTensorDescribe(builder); MNN.TensorDescribe.addBlob(builder, blobOffset); MNN.TensorDescribe.addIndex(builder, index); MNN.TensorDescribe.addName(builder, nameOffset); return MNN.TensorDescribe.endTensorDescribe(builder); } /** * @constructor */ MNN.Net = function() { /** * @type {flatbuffers.ByteBuffer} */ this.bb = null; /** * @type {number} */ this.bb_pos = 0; }; /** * @param {number} i * @param {flatbuffers.ByteBuffer} bb * @returns {MNN.Net} */ MNN.Net.prototype.__init = function(i, bb) { this.bb_pos = i; this.bb = bb; return this; }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Net=} obj * @returns {MNN.Net} */ MNN.Net.getRootAsNet = function(bb, obj) { return (obj || new MNN.Net).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.ByteBuffer} bb * @param {MNN.Net=} obj * @returns {MNN.Net} */ MNN.Net.getSizePrefixedRootAsNet = function(bb, obj) { bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH); return (obj || new MNN.Net).__init(bb.readInt32(bb.position()) + bb.position(), bb); }; /** * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array|null} */ MNN.Net.prototype.bizCode = function(optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 4); return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null; }; /** * @param {number} index * @param {MNN.TensorDescribe=} obj * @returns {MNN.TensorDescribe} */ MNN.Net.prototype.extraTensorDescribe = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? (obj || new MNN.TensorDescribe).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.Net.prototype.extraTensorDescribeLength = function() { var offset = this.bb.__offset(this.bb_pos, 6); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {MNN.GpuLibrary=} obj * @returns {MNN.GpuLibrary|null} */ MNN.Net.prototype.gpulibrary = function(obj) { var offset = this.bb.__offset(this.bb_pos, 8); return offset ? (obj || new MNN.GpuLibrary).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null; }; /** * @param {number} index * @param {MNN.Op=} obj * @returns {MNN.Op} */ MNN.Net.prototype.oplists = function(index, obj) { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? (obj || new MNN.Op).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null; }; /** * @returns {number} */ MNN.Net.prototype.oplistsLength = function() { var offset = this.bb.__offset(this.bb_pos, 10); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @param {number} index * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array} */ MNN.Net.prototype.outputName = function(index, optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncoding) : null; }; /** * @returns {number} */ MNN.Net.prototype.outputNameLength = function() { var offset = this.bb.__offset(this.bb_pos, 12); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {MNN.ForwardType} */ MNN.Net.prototype.preferForwardType = function() { var offset = this.bb.__offset(this.bb_pos, 14); return offset ? /** @type {MNN.ForwardType} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.ForwardType.CPU; }; /** * @returns {MNN.NetSource} */ MNN.Net.prototype.sourceType = function() { var offset = this.bb.__offset(this.bb_pos, 16); return offset ? /** @type {MNN.NetSource} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.NetSource.CAFFE; }; /** * @param {number} index * @param {flatbuffers.Encoding=} optionalEncoding * @returns {string|Uint8Array} */ MNN.Net.prototype.tensorName = function(index, optionalEncoding) { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncoding) : null; }; /** * @returns {number} */ MNN.Net.prototype.tensorNameLength = function() { var offset = this.bb.__offset(this.bb_pos, 18); return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0; }; /** * @returns {number} */ MNN.Net.prototype.tensorNumber = function() { var offset = this.bb.__offset(this.bb_pos, 20); return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; }; /** * @returns {MNN.Usage} */ MNN.Net.prototype.usage = function() { var offset = this.bb.__offset(this.bb_pos, 22); return offset ? /** @type {MNN.Usage} */ (this.bb.readInt8(this.bb_pos + offset)) : MNN.Usage.INFERENCE; }; /** * @param {flatbuffers.Builder} builder */ MNN.Net.startNet = function(builder) { builder.startObject(10); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bizCodeOffset */ MNN.Net.addBizCode = function(builder, bizCodeOffset) { builder.addFieldOffset(0, bizCodeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} extraTensorDescribeOffset */ MNN.Net.addExtraTensorDescribe = function(builder, extraTensorDescribeOffset) { builder.addFieldOffset(1, extraTensorDescribeOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Net.createExtraTensorDescribeVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Net.startExtraTensorDescribeVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} gpulibraryOffset */ MNN.Net.addGpulibrary = function(builder, gpulibraryOffset) { builder.addFieldOffset(2, gpulibraryOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} oplistsOffset */ MNN.Net.addOplists = function(builder, oplistsOffset) { builder.addFieldOffset(3, oplistsOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Net.createOplistsVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Net.startOplistsVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} outputNameOffset */ MNN.Net.addOutputName = function(builder, outputNameOffset) { builder.addFieldOffset(4, outputNameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Net.createOutputNameVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Net.startOutputNameVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.ForwardType} preferForwardType */ MNN.Net.addPreferForwardType = function(builder, preferForwardType) { builder.addFieldInt8(5, preferForwardType, MNN.ForwardType.CPU); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.NetSource} sourceType */ MNN.Net.addSourceType = function(builder, sourceType) { builder.addFieldInt8(6, sourceType, MNN.NetSource.CAFFE); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} tensorNameOffset */ MNN.Net.addTensorName = function(builder, tensorNameOffset) { builder.addFieldOffset(7, tensorNameOffset, 0); }; /** * @param {flatbuffers.Builder} builder * @param {Array.<flatbuffers.Offset>} data * @returns {flatbuffers.Offset} */ MNN.Net.createTensorNameVector = function(builder, data) { builder.startVector(4, data.length, 4); for (var i = data.length - 1; i >= 0; i--) { builder.addOffset(data[i]); } return builder.endVector(); }; /** * @param {flatbuffers.Builder} builder * @param {number} numElems */ MNN.Net.startTensorNameVector = function(builder, numElems) { builder.startVector(4, numElems, 4); }; /** * @param {flatbuffers.Builder} builder * @param {number} tensorNumber */ MNN.Net.addTensorNumber = function(builder, tensorNumber) { builder.addFieldInt32(8, tensorNumber, 0); }; /** * @param {flatbuffers.Builder} builder * @param {MNN.Usage} usage */ MNN.Net.addUsage = function(builder, usage) { builder.addFieldInt8(9, usage, MNN.Usage.INFERENCE); }; /** * @param {flatbuffers.Builder} builder * @returns {flatbuffers.Offset} */ MNN.Net.endNet = function(builder) { var offset = builder.endObject(); return offset; }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} offset */ MNN.Net.finishNetBuffer = function(builder, offset) { builder.finish(offset); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} offset */ MNN.Net.finishSizePrefixedNetBuffer = function(builder, offset) { builder.finish(offset, undefined, true); }; /** * @param {flatbuffers.Builder} builder * @param {flatbuffers.Offset} bizCodeOffset * @param {flatbuffers.Offset} extraTensorDescribeOffset * @param {flatbuffers.Offset} gpulibraryOffset * @param {flatbuffers.Offset} oplistsOffset * @param {flatbuffers.Offset} outputNameOffset * @param {MNN.ForwardType} preferForwardType * @param {MNN.NetSource} sourceType * @param {flatbuffers.Offset} tensorNameOffset * @param {number} tensorNumber * @param {MNN.Usage} usage * @returns {flatbuffers.Offset} */ MNN.Net.createNet = function(builder, bizCodeOffset, extraTensorDescribeOffset, gpulibraryOffset, oplistsOffset, outputNameOffset, preferForwardType, sourceType, tensorNameOffset, tensorNumber, usage) { MNN.Net.startNet(builder); MNN.Net.addBizCode(builder, bizCodeOffset); MNN.Net.addExtraTensorDescribe(builder, extraTensorDescribeOffset); MNN.Net.addGpulibrary(builder, gpulibraryOffset); MNN.Net.addOplists(builder, oplistsOffset); MNN.Net.addOutputName(builder, outputNameOffset); MNN.Net.addPreferForwardType(builder, preferForwardType); MNN.Net.addSourceType(builder, sourceType); MNN.Net.addTensorName(builder, tensorNameOffset); MNN.Net.addTensorNumber(builder, tensorNumber); MNN.Net.addUsage(builder, usage); return MNN.Net.endNet(builder); } if (typeof module !== 'undefined' && typeof module.exports === 'object') { module.exports = MNN; }
const webpack = require('webpack'); const ringConfig = require('../webpack.config'); const pkgConfig = require('../package.json').config; module.exports = { stories: [ // Make welcome stories default '../components/welcome.examples.js', '../components/**/*.examples.js' ], presets: [require.resolve('./custom-header/header-preset')], addons: [ '@storybook/addon-docs', '@storybook/addon-notes', '@storybook/addon-storysource', '@storybook/addon-actions', '@storybook/addon-knobs', '@storybook/addon-a11y' ], webpackFinal(config) { ringConfig.loaders.cssLoader.include.push(/\.storybook/); ringConfig.loaders.svgInlineLoader.include.push(/octicons/); ringConfig.loaders.svgInlineLoader.include.push(/@jetbrains\/logos/); ringConfig.loaders.babelLoader.options.plugins = [[ 'babel-plugin-react-docgen', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ]]; config.module.rules = [ ...ringConfig.config.module.rules, config.module.rules.find(rule => rule.include instanceof RegExp && rule.include.test('node_modules/acorn-jsx')), { test: /\.md$/, loader: 'raw-loader' }, { test: /\.examples\.js$/, loaders: [require.resolve('@storybook/source-loader')], enforce: 'pre' } ]; const serverUri = pkgConfig.hub; const clientId = pkgConfig.clientId; const hubConfig = JSON.stringify({serverUri, clientId}); config.plugins.push(new webpack.DefinePlugin({hubConfig})); return config; } };
var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer = [ [ "icon", "de/d30/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer.html#ada8f803937769385176aae3251f3552e", null ], [ "navigationEndpoint", "de/d30/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer.html#a2934658754e8906db22fd0c0fbb5968a", null ], [ "text", "de/d30/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer.html#a8521a97eb3f02d963bd2302d5e188c0f", null ], [ "trackingParams", "de/d30/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer.html#a348f2ce58b2867b0e0574a08f140755e", null ] ];
var _ = require("underscore"), fs = require('fs'), path = require('path'), os = require('os'), bodyParser = require("body-parser"), cookieParser = require('cookie-parser'), Busboy = require("busboy"), Parent = require("brisk").getClass("main"); helper = Parent.extend({ /* init: function( site ){ // save context this.parser = _.bind(this.parser, this); if( Parent.prototype.init ) return Parent.prototype.init.call(this, site); }, */ parser: function( options ){ // context is all wrong in this version... var self = this, //app = this.site.modules.app; app = this.express; if( options.body ){ app.use(bodyParser.urlencoded({ extended: false })); } // parse application/json if( options.json ){ app.use(bodyParser.json()); } if( options.files ){ app.use(this.parseFiles); } return function(req, res, next) { // execute custom parser if set in the options //if( options.custom ) return self.custom(); next(); } }, cookieParser: cookieParser, // parseFiles: function(req, res, next){ // prerequisite(s) // convert query to object var type = req.headers['content-type']; // FIX if( type && type.indexOf("multipart/form-data") >-1 ) type = "multipart/form-data"; if( type !== "multipart/form-data") return next(); var busboy = new Busboy({ headers: req.headers }); req.files = req.files || []; // container // busboy.on('file', function(fieldname, file, filename, encoding, mimetype) { var saveTo = path.join(os.tmpDir(), path.basename(filename)); file.pipe(fs.createWriteStream(saveTo)); file.on('end', function() { //console.log('File [' + filename + '] Finished', saveTo); req.files.push( saveTo ); }); }); busboy.on('finish', function() { //res.writeHead(200, { 'Connection': 'close' }); //res.end(); next(); }); req.pipe(busboy); }, // Work around instead of using bodyParser // Source: http://stackoverflow.com/a/9920700/1247359 custom: function(req, res, next) { var data=''; req.setEncoding('utf8'); req.on('data', function(chunk) { data += chunk; }); req.on('end', function() { // convert query to object var query = {}; try { data.replace( new RegExp("([^?=&]+)(=([^&]*))?", "g"), function($0, $1, $2, $3) { query[$1] = decodeURIComponent( $3.replace(/\+/g, '%20') ); } ); } catch ( e ){ // assume no query string... just a JSON query = (typeof data == "string" ) ? JSON.parse( data ) : data; } // either way: //console.log("query", query); req.body = query; next(); }); } }); module.exports = helper;
import { combineUrlParams } from "utils"; import { client } from "client/request"; import { ROOM_BILL_DELETE, ROOM_BILL_CREATE, ROOM_BILL_SEARCH, ROOM_BILL_UPDATE, ROOM_BILL_CONFIRM_CHECKOUT, ROOM_BILL_SEARCH_BY_ROOM_AND_BOOKING, } from "../client/api"; export default { search(param = {}) { return new Promise((resolve, reject) => { client .get( combineUrlParams(`${ROOM_BILL_SEARCH}`, { page: param?.page, size: param?.size, id: param?.id, code: param?.code, status: param?.status, }) ) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, create({ ...payload }) { return new Promise((resolve, reject) => { client .post(`${ROOM_BILL_CREATE}`, payload) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, update({ id, payload }) { return new Promise((resolve, reject) => { client .put(`${ROOM_BILL_UPDATE}/${id}`, payload) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, delete({ id, ...payload }) { return new Promise((resolve, reject) => { client .delete(`${ROOM_BILL_DELETE}/${id}`) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, searchById: ({ id, ...payload }) => { return new Promise((resolve, reject) => { client .get(combineUrlParams(`${ROOM_BILL_SEARCH}`, { page: 1, size: 999, id, })) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, searchRoomBillByRoomAndBooking: (payload) => { return new Promise((resolve, reject) => { const { idRoom, idBooking } = payload; client .get(`${ROOM_BILL_SEARCH_BY_ROOM_AND_BOOKING}/${idRoom}/${idBooking}`) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); }, confirmCheckout: (payload) => { return new Promise((resolve, reject) => { client .post(`${ROOM_BILL_CONFIRM_CHECKOUT}`, payload) .then((s) => { if (s?.data?.code === 1 && s?.data?.data) { resolve(s?.data); } else reject(s?.data); }) .catch((e) => { reject(e); }); }); } };
import * as action from './action'; import { configureLogger } from '../../../../lib/index'; export default (event, context) => { configureLogger(event, context); action.respond(event, (error, response) => { return context.done(error, response); }); };
// Generated by LiveScript 1.3.1 (function(){ var local, ldParallax; local = {}; ldParallax = function(opt){ var handler, update, iocfg, this$ = this; opt == null && (opt = {}); this.host = opt.host; if (this.host === document) { this.host = null; } this.watching = false; handler = function(){ return this$.setOrigin(); }; update = function(ns){ var trigger; ns == null && (ns = []); ns.map(function(it){ return it.target._ldpx.active = it.isIntersecting; }); trigger = this$.list.filter(function(it){ return it._ldpx.active; }).length; if (trigger && !this$.watching) { (this$.host || document).addEventListener('scroll', handler); } if (!trigger && this$.watching) { (this$.host || document).removeEventListener('scroll', handler); } return this$.watching = trigger; }; iocfg = this.host ? { root: this.host } : {}; this.obs = new IntersectionObserver(update, iocfg); this.list = []; this.add(Array.from(this.host.querySelectorAll('.ldpx'))); return this; }; ldParallax.prototype = import$(Object.create(Object.prototype), { add: function(n){ var this$ = this; n == null && (n = []); n = Array.isArray(n) ? n : [n]; n.map(function(it){ return this$.obs.observe(it); }); n.map(function(it){ if (!it._ldpx) { return it._ldpx = {}; } }); this.list = this.list.concat(n); return this.setOrigin({ nodes: n, force: true }); }, setOrigin: function(opt){ var n, y, h, box, ref$, ct, ch; opt == null && (opt = {}); n = this.host || document.scrollingElement; y = n.scrollTop; h = n.scrollHeight + n.getBoundingClientRect().height; if (this.host) { box = this.host.getBoundingClientRect(); ref$ = [box.y, box.height], ct = ref$[0], ch = ref$[1]; } else { ref$ = [0, window.innerHeight], ct = ref$[0], ch = ref$[1]; } return (opt.nodes || this.list).filter(function(it){ return opt.force || it._ldpx.active; }).map(function(c){ var box, percent; box = c.getBoundingClientRect(); percent = 100 * (box.y - (ct + ch)) / ((ct - box.height) - (ct + ch)); return c.style.perspectiveOrigin = "50% " + percent + "%"; }); } }); ldParallax.init = function(){ var scrollers; scrollers = Array.from(document.querySelectorAll('.ldpx-scroller')); if (!scrollers.length) { scrollers = [document]; } return scrollers.map(function(){ var ldpx; return ldpx = new ldParallax({ host: document }); }); }; if (typeof module != 'undefined' && module !== null) { module.exports = ldParallax; } if (window) { return window.ldParallax = ldParallax; } })(); function import$(obj, src){ var own = {}.hasOwnProperty; for (var key in src) if (own.call(src, key)) obj[key] = src[key]; return obj; }
import React, { Component } from 'react'; import { Caffeine, BenzeneWithHomo } from '@openchemistry/sample-data'; import logo from './logo.svg'; import './App.css'; import { wc } from './utils/webcomponent'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welcome to React</h1> </header> <div style={{width: "100%", height: "20rem"}}> <split-me n="2"> <oc-molecule-vtkjs slot="0" ref={wc( // Events {}, // Props { cjson: {...Caffeine} } )} /> <oc-molecule-vtkjs slot="1" ref={wc( // Events {}, // Props { cjson: BenzeneWithHomo } )} /> </split-me> </div> </div> ); } } export default App;
import { RateConstantsDataTable } from "~/scenes/BiochemicalEntityDetails/Reaction/RateConstantsDataTable"; import testRawData from "~/__tests__/fixtures/reaction-constants-adenylate-kinase"; import { MetadataSection } from "~/scenes/BiochemicalEntityDetails/Reaction/MetadataSection"; import { shallow } from "enzyme"; import { getListDomElements, getSectionFromList } from "~/utils/testing_utils"; /* global describe, it, expect */ describe("Reaction data page", () => { it("Gets correct reaction data url", () => { const entity = "ATP,AMP-->ADP"; // assert URL correct expect(new RateConstantsDataTable().getUrl(entity)).toEqual( "reactions/kinlaw_by_rxn/?_from=0&size=1000&bound=tight&dof=0&substrates=ATP,AMP&products=ADP" ); expect( new RateConstantsDataTable().getUrl(entity, "Escherichia coli") ).toEqual( "reactions/kinlaw_by_rxn/?_from=0&size=1000&bound=tight&dof=0&substrates=ATP,AMP&products=ADP&taxon_distance=true&species=Escherichia coli" ); }); it("Formats data correctly", () => { // format raw data const formattedData = RateConstantsDataTable.formatData( null, "escherichia coli", testRawData, 9 ); // test formatted data expect(formattedData).toHaveLength(10); expect(formattedData).toEqual( expect.arrayContaining([ { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 650 }, ki: {}, km: { AMP: { units: "M", value: 0.000092 }, ATP: { units: "M", value: 0.000035 }, }, organism: "Gallus gallus", ph: 8, source: 6051, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "wildtype", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 680 }, ki: {}, km: { AMP: { units: "M", value: 0.00098 }, ATP: { units: "M", value: 0.00021 }, }, organism: "Gallus gallus", ph: 8, source: 6052, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 595 }, ki: {}, km: { AMP: { units: "M", value: 0.00041 }, ATP: { units: "M", value: 0.000078 }, }, organism: "Gallus gallus", ph: 8, source: 6053, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 81 }, ki: {}, km: { AMP: { units: "M", value: 0.00017 }, ATP: { units: "M", value: 0.000091 }, }, organism: "Gallus gallus", ph: 8, source: 6054, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 500 }, ki: {}, km: { AMP: { units: "M", value: 0.00015 } }, organism: "Gallus gallus", ph: null, source: 6055, taxonomicProximity: 7, temperature: null, wildtypeMutant: "wildtype", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 6 }, ki: {}, km: { AMP: { units: "M", value: 0.0014 } }, organism: "Gallus gallus", ph: null, source: 6056, taxonomicProximity: 7, temperature: null, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 22 }, ki: {}, km: { AMP: { units: "M", value: 0.0018 } }, organism: "Gallus gallus", ph: null, source: 6057, taxonomicProximity: 7, temperature: null, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 650 }, ki: {}, km: { AMP: { units: "M", value: 0.000098 }, ATP: { units: "M", value: 0.000042 }, }, organism: "Gallus gallus", ph: 8, source: 6061, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "wildtype", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 8.3 }, ki: {}, km: { AMP: { units: "M", value: 0.00055 }, ATP: { units: "M", value: 0.00025 }, }, organism: "Gallus gallus", ph: 8, source: 6062, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "mutant", }, { enzyme: { name: "adenylate kinase", subunits: ["P05081"] }, kcat: { units: "s^(-1)", value: 38 }, ki: {}, km: { AMP: { units: "M", value: 0.00084 }, ATP: { units: "M", value: 0.00051 }, }, organism: "Gallus gallus", ph: 8, source: 6063, taxonomicProximity: 7, temperature: 30, wildtypeMutant: "mutant", }, ]) ); expect(formattedData[5].organism).toEqual("Gallus gallus"); expect(formattedData[5].km).toEqual({ AMP: { value: 0.0014, units: "M" } }); expect(formattedData[9].km).toEqual({ AMP: { units: "M", value: 0.00084, }, ATP: { units: "M", value: 0.00051, }, }); }); it("Properly format columns", () => { const formattedData = RateConstantsDataTable.formatData( null, null, testRawData, null ); const colDefs = RateConstantsDataTable.getColDefs( null, null, formattedData, null ); expect(getSectionFromList(colDefs, "field", "kcat.value")).not.toEqual( null ); expect(getSectionFromList(colDefs, "field", "km.AMP.value")).not.toEqual( null ); const sourceCol = getSectionFromList(colDefs, "field", "source"); expect(sourceCol.cellRenderer({ value: "11554" })).toEqual( '<a href="http://sabiork.h-its.org/newSearch/index?q=EntryID:11554" target="_blank" rel="noopener noreferrer">SABIO-RK</a>' ); const nullTaxonSimCol = getSectionFromList( colDefs, "headerName", "Taxonomic similarity" ); expect(nullTaxonSimCol).toEqual(null); const organism = "Escherichia coli"; const rankings = ["species", "genus", "family"]; const colDefsWithOrganism = RateConstantsDataTable.getColDefs( null, organism, formattedData, rankings ); const taxonSimCol = getSectionFromList( colDefsWithOrganism, "field", "taxonomicProximity" ); expect(taxonSimCol.valueFormatter({ value: 2 })).toEqual("Family"); }); it("Properly format side bar", () => { const formattedData = RateConstantsDataTable.formatData( null, null, testRawData, null ); const sideBarDefs = RateConstantsDataTable.getSideBarDef( null, null, formattedData ); //expect(getSectionFromList(sideBarDefs)) expect( getSectionFromList(sideBarDefs.toolPanels, "id", "stats-km-AMP") ).not.toEqual(null); const colSortOrder = RateConstantsDataTable.getColSortOrder( null, null, formattedData ); expect(colSortOrder).toEqual([ { colId: "taxonomicProximity", sort: "asc" }, { colId: "organism", sort: "asc" }, { colId: "kcat", sort: "asc" }, { colId: "km.AMP", sort: "asc" }, { colId: "km.ATP", sort: "asc" }, ]); //expect(taxonSimCol.valueFormatter({ value: 2 })).toEqual("Family"); }); it("Gets correct metadata url ", () => { const query = "ATP,AMP-->ADP"; //const organism = "Saccharomyces cerevisiae S288C"; expect(new MetadataSection().getMetadataUrl(query)).toEqual( "reactions/kinlaw_by_rxn/?_from=0&size=1000&bound=tight&dof=0&substrates=ATP,AMP&products=ADP" ); }); it("Processes metadata data correctly", () => { // format raw data const processedMetadata = MetadataSection.processMetadata( null, null, testRawData ); expect(processedMetadata.reactionId).toEqual("82"); expect(processedMetadata.substrates).toEqual( expect.arrayContaining([ { inchiKey: "UDMBCSSLTHHNCD-KQYNXXCUSA-N", name: "AMP", }, { inchiKey: "ZKHQWZAMYRWXGA-KQYNXXCUSA-J", name: "ATP", }, ]) ); expect(processedMetadata.products).toEqual( expect.arrayContaining([ { inchiKey: "XTWYTFMLZFPYCI-KQYNXXCUSA-N", name: "ADP", }, ]) ); expect(processedMetadata.ecNumber).toEqual("2.7.4.3"); expect(processedMetadata.enzyme).toEqual("Adenylate kinase"); expect(processedMetadata.equation).toEqual("AMP + ATP → ADP"); }); it("Formats metadata data correctly", () => { // format processed data const processedMetadata = MetadataSection.processMetadata( null, null, testRawData ); expect(MetadataSection.formatTitle(processedMetadata)).toEqual( "Adenylate kinase" ); const processedMetadataWithoutTitle = Object.assign({}, processedMetadata); processedMetadataWithoutTitle.enzyme = null; expect(MetadataSection.formatTitle(processedMetadataWithoutTitle)).toEqual( "AMP + ATP → ADP" ); const formattedMetadata = MetadataSection.formatMetadata( null, "Escherichia coli", processedMetadata ); expect(formattedMetadata[1].id).toEqual("description"); expect(formattedMetadata[1].title).toEqual("Description"); const formattedMetadataWrapper = shallow(formattedMetadata[1].content); const correctListOfMetadata = [ "Enzyme: Adenylate kinase", // "Equation: AMP + ATP → ADP", "Cofactor: NAD(+)", "EC code: 2.7.4.3", ]; const actualListOfMetadata = getListDomElements( formattedMetadataWrapper, ".key-value-list li", "text" ); expect(actualListOfMetadata).toEqual( expect.arrayContaining(correctListOfMetadata) ); }); it("Test processing functions", () => { // format raw data const resources = [ { id: "82", namespace: "sabiork.reaction" }, { id: "2.7.4.3", namespace: "ec-code" }, ]; expect(MetadataSection.getEcNum(resources)).toEqual("2.7.4.3"); expect(MetadataSection.getReactionId(resources)).toEqual("82"); const substrates = [ { substrate_name: "AMP", substrate_structure: [ { InChI_Key: "UDMBCSSLTHHNCD-KQYNXXCUSA-N", format: "inchi", }, ], }, { substrate_name: "ATP", substrate_structure: [ { InChI_Key: "ZKHQWZAMYRWXGA-KQYNXXCUSA-J", format: "inchi", }, ], }, ]; const products = [ { product_name: "ADP", product_structure: [ { InChI_Key: "XTWYTFMLZFPYCI-KQYNXXCUSA-N", format: "inchi", }, ], }, ]; expect(MetadataSection.getReactantNames(substrates, "substrate")).toEqual( expect.arrayContaining([ { inchiKey: "UDMBCSSLTHHNCD-KQYNXXCUSA-N", name: "AMP", }, { inchiKey: "ZKHQWZAMYRWXGA-KQYNXXCUSA-J", name: "ATP", }, ]) ); expect(MetadataSection.getReactantNames(products, "product")).toEqual( expect.arrayContaining([ { inchiKey: "XTWYTFMLZFPYCI-KQYNXXCUSA-N", name: "ADP", }, ]) ); expect(MetadataSection.formatSide(["AMP", "ATP"])).toEqual("AMP + ATP"); }); });
"use strict"; /******************************************************************************** * Copyright (C) 2017 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available under the following Secondary * Licenses when the conditions for such availability set forth in the Eclipse * Public License v. 2.0 are satisfied: GNU General Public License, version 2 * with the GNU Classpath Exception which is available at * https://www.gnu.org/software/classpath/license.html. * * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 ********************************************************************************/ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); } return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; var _this = this; Object.defineProperty(exports, "__esModule", { value: true }); var yargs = require("yargs"); var chai = require("chai"); var cli_1 = require("./cli"); var promise_util_1 = require("../common/promise-util"); var TestCliManager = /** @class */ (function (_super) { __extends(TestCliManager, _super); function TestCliManager() { var contribs = []; for (var _i = 0; _i < arguments.length; _i++) { contribs[_i] = arguments[_i]; } return _super.call(this, { getContributions: function () { return contribs; } }) || this; } return TestCliManager; }(cli_1.CliManager)); beforeEach(function () { yargs.reset(); }); describe('CliManager', function () { it('Parses simple option', function () { return __awaiter(_this, void 0, void 0, function () { var value, mnr, _a, _b; return __generator(this, function (_c) { switch (_c.label) { case 0: value = new promise_util_1.Deferred(); mnr = new TestCliManager({ configure: function (conf) { conf.option('foo', { alias: 'f', description: 'Some foo.' }); conf.option('bar', { alias: 'b', description: 'Some bla.', default: 'my-default', type: 'string' }); }, setArguments: function (args) { value.resolve(args['foo']); } }); return [4 /*yield*/, mnr.initializeCli(['-f', 'bla'])]; case 1: _c.sent(); _b = (_a = chai.assert).equal; return [4 /*yield*/, value.promise]; case 2: _b.apply(_a, [_c.sent(), 'bla']); return [2 /*return*/]; } }); }); }); it('resolves with default', function () { return __awaiter(_this, void 0, void 0, function () { var value, mnr, _a, _b; return __generator(this, function (_c) { switch (_c.label) { case 0: value = new promise_util_1.Deferred(); mnr = new TestCliManager({ configure: function (conf) { conf.option('foo', { alias: 'f', description: 'Some foo.' }); conf.option('bar', { alias: 'b', description: 'Some bla.', default: 'my-default', type: 'string' }); }, setArguments: function (args) { value.resolve(args['bar']); } }); return [4 /*yield*/, mnr.initializeCli(['--foo'])]; case 1: _c.sent(); _b = (_a = chai.assert).equal; return [4 /*yield*/, value.promise]; case 2: _b.apply(_a, [_c.sent(), 'my-default']); return [2 /*return*/]; } }); }); }); it('prints help and exits', function () { return __awaiter(_this, void 0, void 0, function () { var _this = this; return __generator(this, function (_a) { return [2 /*return*/, assertExits(function () { return __awaiter(_this, void 0, void 0, function () { var mnr; return __generator(this, function (_a) { switch (_a.label) { case 0: mnr = new TestCliManager(); return [4 /*yield*/, mnr.initializeCli(['--help'])]; case 1: _a.sent(); return [2 /*return*/]; } }); }); })]; }); }); }); }); function assertExits(code) { return __awaiter(this, void 0, void 0, function () { var oldExit, exitCalled, exitError, err_1; return __generator(this, function (_a) { switch (_a.label) { case 0: oldExit = process.exit; exitCalled = new promise_util_1.Deferred(); exitError = new Error(); process.exit = function () { throw exitError; }; _a.label = 1; case 1: _a.trys.push([1, 3, 4, 5]); return [4 /*yield*/, code()]; case 2: _a.sent(); exitCalled.reject(); return [3 /*break*/, 5]; case 3: err_1 = _a.sent(); if (err_1 === exitError) { exitCalled.resolve(); } else { exitCalled.reject(); } return [3 /*break*/, 5]; case 4: process.exit = oldExit; return [7 /*endfinally*/]; case 5: return [2 /*return*/, exitCalled.promise]; } }); }); } //# sourceMappingURL=cli.spec.js.map
/* PrismJS 1.24.0 https://prismjs.com/download.html#themes=prism&languages=clike+javascript */ var _self = 'undefined' != typeof window ? window : 'undefined' != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : {}, Prism = (function (u) { var c = /\blang(?:uage)?-([\w-]+)\b/i, n = 0, e = {}, M = { manual: u.Prism && u.Prism.manual, disableWorkerMessageHandler: u.Prism && u.Prism.disableWorkerMessageHandler, util: { encode: function e (n) { return n instanceof W ? new W(n.type, e(n.content), n.alias) : Array.isArray(n) ? n.map(e) : n .replace(/&/g, '&amp;') .replace(/</g, '&lt;') .replace(/\u00a0/g, ' ') }, type: function (e) { return Object.prototype.toString.call(e).slice(8, -1) }, objId: function (e) { return e.__id || Object.defineProperty(e, '__id', { value: ++n }), e.__id }, clone: function t (e, r) { var a, n switch (((r = r || {}), M.util.type(e))) { case 'Object': if (((n = M.util.objId(e)), r[n])) return r[n] for (var i in ((a = {}), (r[n] = a), e)) e.hasOwnProperty(i) && (a[i] = t(e[i], r)) return a case 'Array': return ( (n = M.util.objId(e)), r[n] ? r[n] : ((a = []), (r[n] = a), e.forEach(function (e, n) { a[n] = t(e, r) }), a) ) default: return e } }, getLanguage: function (e) { for (; e && !c.test(e.className); ) e = e.parentElement return e ? (e.className.match(c) || [, 'none'])[1].toLowerCase() : 'none' }, currentScript: function () { if ('undefined' == typeof document) return null if ('currentScript' in document) return document.currentScript try { throw new Error() } catch (e) { var n = (/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(e.stack) || [])[1] if (n) { var t = document.getElementsByTagName('script') for (var r in t) if (t[r].src == n) return t[r] } return null } }, isActive: function (e, n, t) { for (var r = 'no-' + n; e; ) { var a = e.classList if (a.contains(n)) return !0 if (a.contains(r)) return !1 e = e.parentElement } return !!t } }, languages: { plain: e, plaintext: e, text: e, txt: e, extend: function (e, n) { var t = M.util.clone(M.languages[e]) for (var r in n) t[r] = n[r] return t }, insertBefore: function (t, e, n, r) { var a = (r = r || M.languages)[t], i = {} for (var l in a) if (a.hasOwnProperty(l)) { if (l == e) for (var o in n) n.hasOwnProperty(o) && (i[o] = n[o]) n.hasOwnProperty(l) || (i[l] = a[l]) } var s = r[t] return ( (r[t] = i), M.languages.DFS(M.languages, function (e, n) { n === s && e != t && (this[e] = i) }), i ) }, DFS: function e (n, t, r, a) { a = a || {} var i = M.util.objId for (var l in n) if (n.hasOwnProperty(l)) { t.call(n, l, n[l], r || l) var o = n[l], s = M.util.type(o) 'Object' !== s || a[i(o)] ? 'Array' !== s || a[i(o)] || ((a[i(o)] = !0), e(o, t, l, a)) : ((a[i(o)] = !0), e(o, t, null, a)) } } }, plugins: {}, highlightAll: function (e, n) { M.highlightAllUnder(document, e, n) }, highlightAllUnder: function (e, n, t) { var r = { callback: t, container: e, selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code' } M.hooks.run('before-highlightall', r), (r.elements = Array.prototype.slice.apply(r.container.querySelectorAll(r.selector))), M.hooks.run('before-all-elements-highlight', r) for (var a, i = 0; (a = r.elements[i++]); ) M.highlightElement(a, !0 === n, r.callback) }, highlightElement: function (e, n, t) { var r = M.util.getLanguage(e), a = M.languages[r] e.className = e.className.replace(c, '').replace(/\s+/g, ' ') + ' language-' + r var i = e.parentElement i && 'pre' === i.nodeName.toLowerCase() && (i.className = i.className.replace(c, '').replace(/\s+/g, ' ') + ' language-' + r) var l = { element: e, language: r, grammar: a, code: e.textContent } function o (e) { ;(l.highlightedCode = e), M.hooks.run('before-insert', l), (l.element.innerHTML = l.highlightedCode), M.hooks.run('after-highlight', l), M.hooks.run('complete', l), t && t.call(l.element) } if ( (M.hooks.run('before-sanity-check', l), (i = l.element.parentElement) && 'pre' === i.nodeName.toLowerCase() && !i.hasAttribute('tabindex') && i.setAttribute('tabindex', '0'), !l.code) ) return M.hooks.run('complete', l), void (t && t.call(l.element)) if ((M.hooks.run('before-highlight', l), l.grammar)) if (n && u.Worker) { var s = new Worker(M.filename) ;(s.onmessage = function (e) { o(e.data) }), s.postMessage( JSON.stringify({ language: l.language, code: l.code, immediateClose: !0 }) ) } else o(M.highlight(l.code, l.grammar, l.language)) else o(M.util.encode(l.code)) }, highlight: function (e, n, t) { var r = { code: e, grammar: n, language: t } return ( M.hooks.run('before-tokenize', r), (r.tokens = M.tokenize(r.code, r.grammar)), M.hooks.run('after-tokenize', r), W.stringify(M.util.encode(r.tokens), r.language) ) }, tokenize: function (e, n) { var t = n.rest if (t) { for (var r in t) n[r] = t[r] delete n.rest } var a = new i() return ( I(a, a.head, e), (function e (n, t, r, a, i, l) { for (var o in r) if (r.hasOwnProperty(o) && r[o]) { var s = r[o] s = Array.isArray(s) ? s : [s] for (var u = 0; u < s.length; ++u) { if (l && l.cause == o + ',' + u) return var c = s[u], g = c.inside, f = !!c.lookbehind, h = !!c.greedy, d = c.alias if (h && !c.pattern.global) { var p = c.pattern.toString().match(/[imsuy]*$/)[0] c.pattern = RegExp(c.pattern.source, p + 'g') } for ( var v = c.pattern || c, m = a.next, y = i; m !== t.tail && !(l && y >= l.reach); y += m.value.length, m = m.next ) { var b = m.value if (t.length > n.length) return if (!(b instanceof W)) { var k, x = 1 if (h) { if (!(k = z(v, y, n, f))) break var w = k.index, A = k.index + k[0].length, P = y for (P += m.value.length; P <= w; ) (m = m.next), (P += m.value.length) if (((P -= m.value.length), (y = P), m.value instanceof W)) continue for ( var E = m; E !== t.tail && (P < A || 'string' == typeof E.value); E = E.next ) x++, (P += E.value.length) x--, (b = n.slice(y, P)), (k.index -= y) } else if (!(k = z(v, 0, b, f))) continue var w = k.index, S = k[0], O = b.slice(0, w), L = b.slice(w + S.length), N = y + b.length l && N > l.reach && (l.reach = N) var j = m.prev O && ((j = I(t, j, O)), (y += O.length)), q(t, j, x) var C = new W(o, g ? M.tokenize(S, g) : S, d, S) if (((m = I(t, j, C)), L && I(t, m, L), 1 < x)) { var _ = { cause: o + ',' + u, reach: N } e(n, t, r, m.prev, y, _), l && _.reach > l.reach && (l.reach = _.reach) } } } } } })(e, a, n, a.head, 0), (function (e) { var n = [], t = e.head.next for (; t !== e.tail; ) n.push(t.value), (t = t.next) return n })(a) ) }, hooks: { all: {}, add: function (e, n) { var t = M.hooks.all ;(t[e] = t[e] || []), t[e].push(n) }, run: function (e, n) { var t = M.hooks.all[e] if (t && t.length) for (var r, a = 0; (r = t[a++]); ) r(n) } }, Token: W } function W (e, n, t, r) { ;(this.type = e), (this.content = n), (this.alias = t), (this.length = 0 | (r || '').length) } function z (e, n, t, r) { e.lastIndex = n var a = e.exec(t) if (a && r && a[1]) { var i = a[1].length ;(a.index += i), (a[0] = a[0].slice(i)) } return a } function i () { var e = { value: null, prev: null, next: null }, n = { value: null, prev: e, next: null } ;(e.next = n), (this.head = e), (this.tail = n), (this.length = 0) } function I (e, n, t) { var r = n.next, a = { value: t, prev: n, next: r } return (n.next = a), (r.prev = a), e.length++, a } function q (e, n, t) { for (var r = n.next, a = 0; a < t && r !== e.tail; a++) r = r.next ;((n.next = r).prev = n), (e.length -= a) } if ( ((u.Prism = M), (W.stringify = function n (e, t) { if ('string' == typeof e) return e if (Array.isArray(e)) { var r = '' return ( e.forEach(function (e) { r += n(e, t) }), r ) } var a = { type: e.type, content: n(e.content, t), tag: 'span', classes: ['token', e.type], attributes: {}, language: t }, i = e.alias i && (Array.isArray(i) ? Array.prototype.push.apply(a.classes, i) : a.classes.push(i)), M.hooks.run('wrap', a) var l = '' for (var o in a.attributes) l += ' ' + o + '="' + (a.attributes[o] || '').replace(/"/g, '&quot;') + '"' return ( '<' + a.tag + ' class="' + a.classes.join(' ') + '"' + l + '>' + a.content + '</' + a.tag + '>' ) }), !u.document) ) return ( u.addEventListener && (M.disableWorkerMessageHandler || u.addEventListener( 'message', function (e) { var n = JSON.parse(e.data), t = n.language, r = n.code, a = n.immediateClose u.postMessage(M.highlight(r, M.languages[t], t)), a && u.close() }, !1 )), M ) var t = M.util.currentScript() function r () { M.manual || M.highlightAll() } if ( (t && ((M.filename = t.src), t.hasAttribute('data-manual') && (M.manual = !0)), !M.manual) ) { var a = document.readyState 'loading' === a || ('interactive' === a && t && t.defer) ? document.addEventListener('DOMContentLoaded', r) : window.requestAnimationFrame ? window.requestAnimationFrame(r) : window.setTimeout(r, 16) } return M })(_self) 'undefined' != typeof module && module.exports && (module.exports = Prism), 'undefined' != typeof global && (global.Prism = Prism) Prism.languages.clike = { comment: [ { pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 } ], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, 'class-name': { pattern: /(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/, boolean: /\b(?:true|false)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ } ;(Prism.languages.javascript = Prism.languages.extend('clike', { 'class-name': [ Prism.languages.clike['class-name'], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/, lookbehind: !0 } ], keyword: [ { pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: !0 } ], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: /\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ })), (Prism.languages.javascript[ 'class-name' ][0].pattern = /(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/), Prism.languages.insertBefore('javascript', 'keyword', { regex: { pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/, lookbehind: !0, greedy: !0, inside: { 'regex-source': { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: !0, alias: 'language-regex', inside: Prism.languages.regex }, 'regex-delimiter': /^\/|\/$/, 'regex-flags': /^[a-z]+$/ } }, 'function-variable': { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: 'function' }, parameter: [ { pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: !0, inside: Prism.languages.javascript } ], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), Prism.languages.insertBefore('javascript', 'string', { hashbang: { pattern: /^#!.*/, greedy: !0, alias: 'comment' }, 'template-string': { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: !0, inside: { 'template-punctuation': { pattern: /^`|`$/, alias: 'string' }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: !0, inside: { 'interpolation-punctuation': { pattern: /^\$\{|\}$/, alias: 'punctuation' }, rest: Prism.languages.javascript } }, string: /[\s\S]+/ } } }), Prism.languages.markup && (Prism.languages.markup.tag.addInlined('script', 'javascript'), Prism.languages.markup.tag.addAttribute( 'on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)', 'javascript' )), (Prism.languages.js = Prism.languages.javascript)
module.exports = { branchSeed: [ { type: 0, name: 'Branch A', code: 'branch-a', address: 'Branch A Address, city A, state A, country A', startTime: '12:00', endTime: '18:00', status: true }, { type: 0, name: 'Branch B', code: 'branch-b', address: 'Branch B Address, city B, state B, country B', startTime: '13:00', endTime: '19:00', status: true }, { type: 0, name: 'Branch C', code: 'branch-c', address: 'Branch C Address, city C, state C, country C', startTime: '14:00', endTime: '20:00', status: true }, { type: 0, name: 'Branch D', code: 'branch-d', address: 'Branch D Address, city D, state D, country D', startTime: '15:00', endTime: '21:00', status: true }, { type: 0, name: 'Branch E', code: 'branch-e', address: 'Branch E Address, city E, state E, country E', startTime: '16:00', endTime: '22:00', status: true }, ] }
/* Prologue by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ (function($) { var $window = $(window), $body = $('body'), $nav = $('#nav'); // Breakpoints. breakpoints({ wide: [ '961px', '1880px' ], normal: [ '961px', '1620px' ], narrow: [ '961px', '1320px' ], narrower: [ '737px', '960px' ], mobile: [ null, '736px' ] }); // Play initial animations on page load. $window.on('load', function() { window.setTimeout(function() { $body.removeClass('is-preload'); }, 100); }); // Nav. var $nav_a = $nav.find('a'); $nav_a .addClass('scrolly') .on('click', function(e) { var $this = $(this); // External link? Bail. if ($this.attr('href').charAt(0) != '#') return; // Prevent default. e.preventDefault(); // Deactivate all links. $nav_a.removeClass('active'); // Activate link *and* lock it (so Scrollex doesn't try to activate other links as we're scrolling to this one's section). $this .addClass('active') .addClass('active-locked'); }) .each(function() { var $this = $(this), id = $this.attr('href'), $section = $(id); // No section for this link? Bail. if ($section.length < 1) return; // Scrollex. $section.scrollex({ mode: 'middle', top: '-10vh', bottom: '-10vh', initialize: function() { // Deactivate section. $section.addClass('inactive'); }, enter: function() { // Activate section. $section.removeClass('inactive'); // No locked links? Deactivate all links and activate this section's one. if ($nav_a.filter('.active-locked').length == 0) { $nav_a.removeClass('active'); $this.addClass('active'); } // Otherwise, if this section's link is the one that's locked, unlock it. else if ($this.hasClass('active-locked')) $this.removeClass('active-locked'); } }); }); // Scrolly. $('.scrolly').scrolly(); // Header (narrower + mobile). // Toggle. $( '<div id="headerToggle">' + '<a href="#header" class="toggle"></a>' + '</div>' ) .appendTo($body); // Header. $('#header') .panel({ delay: 500, hideOnClick: true, hideOnSwipe: true, resetScroll: true, resetForms: true, side: 'left', target: $body, visibleClass: 'header-visible' }); })(jQuery);
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), require('@angular-devkit/build-angular/plugins/karma') ], client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { dir: require('path').join(__dirname, './coverage/generic'), reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], singleRun: false, restartOnFileChange: true }); };
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _element = require("@wordpress/element"); var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); var _lodash = require("lodash"); var _data = require("@wordpress/data"); var _compose = require("@wordpress/compose"); function _createSuper(Derived) { return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } var BlockSelectionClearer = /*#__PURE__*/function (_Component) { (0, _inherits2.default)(BlockSelectionClearer, _Component); var _super = _createSuper(BlockSelectionClearer); function BlockSelectionClearer() { var _this; (0, _classCallCheck2.default)(this, BlockSelectionClearer); _this = _super.apply(this, arguments); _this.bindContainer = _this.bindContainer.bind((0, _assertThisInitialized2.default)(_this)); _this.clearSelectionIfFocusTarget = _this.clearSelectionIfFocusTarget.bind((0, _assertThisInitialized2.default)(_this)); return _this; } (0, _createClass2.default)(BlockSelectionClearer, [{ key: "bindContainer", value: function bindContainer(ref) { this.container = ref; } /** * Clears the selected block on focus if the container is the target of the * focus. This assumes no other descendents have received focus until event * has bubbled to the container. * * @param {FocusEvent} event Focus event. */ }, { key: "clearSelectionIfFocusTarget", value: function clearSelectionIfFocusTarget(event) { var _this$props = this.props, hasSelectedBlock = _this$props.hasSelectedBlock, hasMultiSelection = _this$props.hasMultiSelection, clearSelectedBlock = _this$props.clearSelectedBlock; var hasSelection = hasSelectedBlock || hasMultiSelection; if (event.target === this.container && hasSelection) { clearSelectedBlock(); } } }, { key: "render", value: function render() { return (0, _element.createElement)("div", (0, _extends2.default)({ tabIndex: -1, onFocus: this.clearSelectionIfFocusTarget, ref: this.bindContainer }, (0, _lodash.omit)(this.props, ['clearSelectedBlock', 'hasSelectedBlock', 'hasMultiSelection']))); } }]); return BlockSelectionClearer; }(_element.Component); var _default = (0, _compose.compose)([(0, _data.withSelect)(function (select) { var _select = select('core/block-editor'), hasSelectedBlock = _select.hasSelectedBlock, hasMultiSelection = _select.hasMultiSelection; return { hasSelectedBlock: hasSelectedBlock(), hasMultiSelection: hasMultiSelection() }; }), (0, _data.withDispatch)(function (dispatch) { var _dispatch = dispatch('core/block-editor'), clearSelectedBlock = _dispatch.clearSelectedBlock; return { clearSelectedBlock: clearSelectedBlock }; })])(BlockSelectionClearer); exports.default = _default; //# sourceMappingURL=index.js.map
const supertest = require('supertest'); const app = require('../app'); const request = supertest(app); const errorFormatMessage = 'Address field should has this format: <Street Number> <Street name>, <PostalCode> <City Name>'; describe('Locate the business unit', () => { test('Should returns 200', async () => { const response = await request.post('/locate_business_unit') .send({ address: '22 rue abc def, 75016 Paris', }); expect(response.status).toBe(200); }); test('Should returns ile de france as a business unit for the given address', async () => { const response = await request.post('/locate_business_unit') .send({ address: '22 rue abc def, 75016 Paris', }); expect(response.status).toBe(200); expect(response.body).toEqual({ arrondissment: 7501, BusinessUnit: 'Ile de France', }); }); test('Should returns Paca as a business unit for the given address', async () => { const response = await request.post('/locate_business_unit') .send({ address: '23 rue abc def, 13011 Marseille', }); expect(response.status).toBe(200); expect(response.body).toEqual({ arrondissment: 1301, BusinessUnit: 'Paca', }); }); test('Should returns other as a business unit for the given address', async () => { const response = await request.post('/locate_business_unit') .send({ address: '23 rue abc def, 94400 Vitry sur Seine', }); expect(response.status).toBe(200); expect(response.body).toEqual({ arrondissment: 9440, BusinessUnit: 'Other', }); }); test('Should returns error message when the address is not well fromatted', async () => { const response = await request.post('/locate_business_unit') .send({ address: 'bla bla bla', }); expect(response.status).toBe(404); expect(response.body.message).toBe(errorFormatMessage); }); test('Should returns error message when the address is missing', async () => { const response = await request.post('/locate_business_unit') .send({ address: '', }); expect(response.status).toBe(404); expect(response.body.message).toBe('Missing required address field!'); }); test('Should returns error message when the address is uncomplete', async () => { const response = await request.post('/locate_business_unit') .send({ address: '152 rue xyr qdsqs, 94000', }); expect(response.status).toBe(404); expect(response.body.message).toBe(errorFormatMessage); }); });
import{r as e,o as r,c as l,a as n,b as t,w as p,F as u,e as o,d as s}from"./app.eef53290.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const i={},k=o('<h1 id="mock-data" tabindex="-1"><a class="header-anchor" href="#mock-data" aria-hidden="true">#</a> mock data</h1><p>\u7528\u6765\u6A21\u62DF\u670D\u52A1\u7AEF\u8FD4\u56DE\u6570\u636E\uFF0C\u4E3B\u8981\u4F5C\u7528\u662F\u5728\u6CA1\u6709\u540E\u7AEF\u63A5\u53E3\u60C5\u51B5\u4E0B\u4E5F\u80FD\u6B63\u5E38\u4F7F\u7528\u6216\u5728\u5F00\u53D1\u73AF\u5883\u7684\u65F6\u5019\u8C03\u8BD5\u3002</p><div class="custom-container tip"><p class="custom-container-title">TIP</p><p>\u9ED8\u8BA4\u7684\u6570\u636E\u5305\u5B58\u653E\u5728IDM\u4EE3\u7801\u5305\u4E0B\u7684<code>static/mockdata</code>\u8DEF\u5F84\u4E2D</p></div><h2 id="componentmarketdata" tabindex="-1"><a class="header-anchor" href="#componentmarketdata" aria-hidden="true">#</a> ComponentMarketData</h2><p>\u7528\u4E8E\u6A21\u62DF\u5F00\u53D1\u5DE5\u5177\u7684\u5DE6\u4FA7\u7EC4\u4EF6\u5E02\u573A\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E\u7ED3\u6784</p>',5),q=s("\u540E\u7AEF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),b=s("componentMarketUrl"),m=s("\u6A21\u62DF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),d=s("componentMarketUrl"),g=o(`<div class="language-json ext-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span> <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;200&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;success&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;message&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u64CD\u4F5C\u6210\u529F&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;metadata&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span> <span class="token property">&quot;token&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;groupId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;groupTitle&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5E03\u5C40\u7EC4\u4EF6&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;componentList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;comId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;common&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comLangue&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;asName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;classId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idm.componet.layout.container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;iconClass&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idmicon idm-icon-rongqi4&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;platform&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;imgList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;src&quot;</span><span class="token operator">:</span> <span class="token string">&quot;~/static/img/demo/dbtablist.jpg&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">1127</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">673</span><span class="token punctuation">,</span> <span class="token property">&quot;size&quot;</span><span class="token operator">:</span> <span class="token string">&quot;113664&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;lastVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectNo&quot;</span><span class="token operator">:</span> <span class="token string">&quot;p1000&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;versionList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectNo&quot;</span><span class="token operator">:</span> <span class="token string">&quot;p1000&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.1.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectNo&quot;</span><span class="token operator">:</span> <span class="token string">&quot;p1000&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/v1.1.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span> </code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br></div></div>`,1),y=n("p",null,"\u6570\u636E\u7ED3\u6784\u5185\u76F8\u5173key\u8BF4\u660E\uFF1A",-1),h=n("thead",null,[n("tr",null,[n("th",null,"key"),n("th",null,"\u8BF4\u660E")])],-1),_=n("tr",null,[n("td",null,"groupId"),n("td",null,"\u7EC4\u4EF6\u5206\u7EC4\u7684ID")],-1),v=n("tr",null,[n("td",null,"groupTitle"),n("td",null,"\u7EC4\u4EF6\u5206\u7EC4\u5C55\u793A\u7684\u540D\u79F0")],-1),f=n("tr",null,[n("td",null,"componentList"),n("td",null,"\u7EC4\u4EF6\u5206\u7EC4\u7684\u6570\u7EC4key\u503C")],-1),I=n("tr",null,[n("td",null,"comId"),n("td",null,"\u7EC4\u4EF6\u7684id\uFF0C\u552F\u4E00\u4E14\u4E0D\u91CD\u590D")],-1),U=n("tr",null,[n("td",null,"comName"),n("td",null,"\u7EC4\u4EF6\u7684\u539F\u540D\u79F0")],-1),N=n("tr",null,[n("td",null,"comType"),n("td",null,"\u7EC4\u4EF6\u7684\u7C7B\u578B\uFF0Ccommon\uFF1A\u901A\u7528\u578B\u7EC4\u4EF6\uFF0Cdialog\uFF1A\u5F39\u7A97\u7C7B\u578B\u7EC4\u4EF6\uFF0C\u8BF7\u6839\u636E\u7EC4\u4EF6\u7528\u9014\u8C28\u614E\u9009\u62E9")],-1),j=n("tr",null,[n("td",null,"comLangue"),n("td",null,"\u7EC4\u4EF6\u7684\u6280\u672F\u6808\uFF0C\u53EF\u4EE5\u4E3Avue\u3001react\u3001angular\u3001jquery\u4EE5\u53CA\u5176\u4ED6")],-1),L=n("tr",null,[n("td",null,"asName"),n("td",null,"\u7EC4\u4EF6\u7684\u522B\u540D\uFF0C\u540C\u4E00\u7EC4\u4EF6\u590D\u7528\u53EF\u4EE5\u7528\u8FD9\u4E2A\u5C5E\u6027\u533A\u5206")],-1),x=n("tr",null,[n("td",null,"classId"),n("td",null,"\u7EC4\u4EF6\u7684\u7C7BID\uFF0C\u8BE5\u5C5E\u6027\u7531\u7EC4\u4EF6\u5F00\u53D1\u8005\u63D0\u4F9B\uFF0C\u5168\u5C40\u751F\u6001\u4E2D\u552F\u4E00\u4E14\u4E0D\u91CD\u590D\u5373\u53EF")],-1),D=n("tr",null,[n("td",null,"className"),n("td",null,"\u7EC4\u4EF6\u7684\u7C7B\u540D\uFF0C\u8BE5\u5C5E\u6027\u7531\u7EC4\u4EF6\u5F00\u53D1\u8005\u63D0\u4F9B\uFF0C\u5F53\u524D\u4EE3\u7801\u5305\u5185\u4E0D\u91CD\u590D\u5373\u53EF\uFF0C\u8BF7\u6CE8\u610F\u683C\u5F0F")],-1),C=n("td",null,"iconClass",-1),S=s("\u7EC4\u4EF6\u5728\u5F00\u53D1\u5DE5\u5177\u4E2D\u663E\u793A\u7684\u56FE\u6807\uFF0C\u53EF\u4EE5\u53C2\u8003 "),T=s("\u5B57\u4F53\u56FE\u6807"),w=n("tr",null,[n("td",null,"type"),n("td",null,"\u7EC4\u4EF6\u7C7B\u578B\uFF0C\u76EE\u524D\u53EF\u4EE5\u4E3Aplatform\u3001project")],-1),V=n("tr",null,[n("td",null,"imgList"),n("td",null,"\u7EC4\u4EF6\u7684\u6548\u679C\u56FE\u7247\u6570\u7EC4\u96C6\u5408")],-1),A=n("td",null,"src",-1),z=s("\u56FE\u7247\u7684\u8DEF\u5F84\uFF0C\u4F1A\u7ECF\u8FC7IDM\u63D0\u4F9B\u7684\u6838\u5FC3\u65B9\u6CD5"),Y=n("code",null,"IDM.url.getWebPath",-1),B=s("\u8FDB\u884C\u5730\u5740\u8F6C\u6362\uFF0C\u66F4\u591A\u7528\u6CD5\u8BF7\u53C2\u8003\uFF1A "),P=s("\u6807\u51C6API"),M=n("tr",null,[n("td",null,"lastVersion"),n("td",null,"\u5F53\u524D\u7EC4\u4EF6\u7684\u6700\u540E\u4E00\u4E2A\u7248\u672C")],-1),E=n("tr",null,[n("td",null,"versionList"),n("td",null,"\u5F53\u524D\u7EC4\u4EF6\u7684\u6240\u6709\u7248\u672C\u96C6\u5408")],-1),F=n("tr",null,[n("td",null,"version"),n("td",null,"\u7EC4\u4EF6\u7684\u7248\u672C\u7F16\u53F7")],-1),Z=n("tr",null,[n("td",null,"projectNo"),n("td",null,"\u7EC4\u4EF6\u7684\u7248\u672C\u6240\u5C5E\u54EA\u4E2A\u9879\u76EE\u7F16\u53F7")],-1),K=n("tr",null,[n("td",null,"codeSrc"),n("td",null,"\u7EC4\u4EF6\u7684\u5F53\u524D\u7248\u672C\u52A0\u8F7D\u7EC4\u4EF6\u4EE3\u7801\u7684\u5165\u53E3\u5730\u5740\uFF0C\u6B64\u5730\u5740\u5E94\u8BE5\u4ECE\u4EE3\u7801\u5305\u540D\u5F00\u59CB")],-1),Q=n("tr",null,[n("td",null,"datetime"),n("td",null,"\u7248\u672C\u4E0A\u4F20\u7684\u65F6\u95F4")],-1),G=n("h2",{id:"pageversionlistdata",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#pageversionlistdata","aria-hidden":"true"},"#"),s(" PageVersionListData")],-1),O=n("p",null,"\u7528\u4E8E\u6A21\u62DF\u5F00\u53D1\u5DE5\u5177\u7684\u5DE6\u4FA7\u9876\u90E8\u7248\u672C\u53F7\u5217\u8868\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E\u7ED3\u6784",-1),H=s("\u540E\u7AEF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),W=s("pageVersionListUrl"),R=s("\u6A21\u62DF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),X=s("pageVersionListUrl"),J=o(`<div class="language-json ext-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span> <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;200&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;success&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;message&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u64CD\u4F5C\u6210\u529F&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;metadata&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span> <span class="token property">&quot;token&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;author&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u4F5C\u8005&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7248\u672C\u5907\u6CE8&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-02-23 12:50:14&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectNo&quot;</span><span class="token operator">:</span><span class="token string">&quot;p1000&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span> </code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br></div></div><ul><li><p>\u6570\u636E\u7ED3\u6784\u5185\u76F8\u5173key\u8BF4\u660E\uFF1A</p><table><thead><tr><th>key</th><th>\u8BF4\u660E</th></tr></thead><tbody><tr><td>version</td><td>\u7EC4\u4EF6\u7684\u7248\u672C\u7F16\u53F7</td></tr><tr><td>projectNo</td><td>\u7EC4\u4EF6\u7684\u7248\u672C\u6240\u5C5E\u54EA\u4E2A\u9879\u76EE\u7F16\u53F7</td></tr><tr><td>datetime</td><td>\u7248\u672C\u4E0A\u4F20\u7684\u65F6\u95F4</td></tr></tbody></table></li></ul><h2 id="pagesettingdatadata" tabindex="-1"><a class="header-anchor" href="#pagesettingdatadata" aria-hidden="true">#</a> pageSettingDataData</h2><p>\u7528\u4E8E\u6A21\u62DF\u5F00\u53D1\u5DE5\u5177\u83B7\u53D6\u5F53\u524D\u6253\u5F00\u7684\u9875\u9762\u914D\u7F6E\u7684\u6570\u636E\u7ED3\u6784</p>`,4),$=s("\u540E\u7AEF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),nn=s("pageSettingDataUrl"),sn=s("\u6A21\u62DF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),an=s("pageSettingDataUrl"),tn=o(`<div class="language-json ext-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span> <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;200&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;success&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;message&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u64CD\u4F5C\u6210\u529F&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;metadata&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span> <span class="token property">&quot;token&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;developInfo&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;guides&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;posX&quot;</span><span class="token operator">:</span> <span class="token number">413</span><span class="token punctuation">,</span> <span class="token property">&quot;posY&quot;</span><span class="token operator">:</span> <span class="token number">-45</span><span class="token punctuation">,</span> <span class="token property">&quot;dimension&quot;</span><span class="token operator">:</span> <span class="token number">1</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;pageBaseInfo&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;title&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9875\u9762\u6807\u9898&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;dragAreaSizeInfo&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">346</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">802</span><span class="token punctuation">,</span> <span class="token property">&quot;showText&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9002\u5E94\u5F53\u524D&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token property">&quot;subKey&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;page&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;componentsMap&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;packageid&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9875\u9762&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;asName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9875\u9762&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;classId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idm.componet.root&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;iconClass&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idmicon idm-icon-rongqi&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;root&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;platform&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;imgList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;src&quot;</span><span class="token operator">:</span> <span class="token string">&quot;~/static/img/page_default.jpg&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">370</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">270</span><span class="token punctuation">,</span> <span class="token property">&quot;size&quot;</span><span class="token operator">:</span> <span class="token string">&quot;187298&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;currentVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;props&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;backgroundColor&quot;</span><span class="token operator">:</span> <span class="token string">&quot;#fff&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;padding&quot;</span><span class="token operator">:</span> <span class="token string">&quot;20px&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;dataAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span><span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;globalId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">&quot;comId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;asName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;classId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idm.componet.layout.container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;iconClass&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idmicon idm-icon-rongqi4&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;platform&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;imgList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;src&quot;</span><span class="token operator">:</span> <span class="token string">&quot;~/static/img/demo/dbtablist.jpg&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">1127</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">673</span><span class="token punctuation">,</span> <span class="token property">&quot;size&quot;</span><span class="token operator">:</span> <span class="token string">&quot;113664&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;lastVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;versionList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.1.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/v1_1_0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;packageid&quot;</span><span class="token operator">:</span> <span class="token string">&quot;component_L67dhUY8Z3Q13kKB&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;component_L67dhUY8Z3Q13kKB_inner&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;relationType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;bottom&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;relationId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;env&quot;</span><span class="token operator">:</span> <span class="token string">&quot;develop&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;props&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span><span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;currentVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;globalId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234.component_L67dhUY8Z3Q13kKB&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;attrSetting&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;layout&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;packageid&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9875\u9762&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;asName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u9875\u9762&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;classId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idm.componet.root&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;iconClass&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idmicon idm-icon-rongqi&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;root&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;platform&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;imgList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;src&quot;</span><span class="token operator">:</span> <span class="token string">&quot;~/static/img/page_default.jpg&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">370</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">270</span><span class="token punctuation">,</span> <span class="token property">&quot;size&quot;</span><span class="token operator">:</span> <span class="token string">&quot;187298&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;currentVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;attrSetting&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;dataAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;props&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;backgroundColor&quot;</span><span class="token operator">:</span> <span class="token string">&quot;#fff&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;padding&quot;</span><span class="token operator">:</span> <span class="token string">&quot;20px&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;dataAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span><span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;children&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;comId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;comType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;asName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u5BB9\u5668&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;classId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idm.componet.layout.container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;Container&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;iconClass&quot;</span><span class="token operator">:</span> <span class="token string">&quot;idmicon idm-icon-rongqi4&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;platform&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;imgList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;src&quot;</span><span class="token operator">:</span> <span class="token string">&quot;~/static/img/demo/dbtablist.jpg&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;width&quot;</span><span class="token operator">:</span> <span class="token number">1127</span><span class="token punctuation">,</span> <span class="token property">&quot;height&quot;</span><span class="token operator">:</span> <span class="token number">673</span><span class="token punctuation">,</span> <span class="token property">&quot;size&quot;</span><span class="token operator">:</span> <span class="token string">&quot;113664&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;lastVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;versionList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.1.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/v1_1_0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;packageid&quot;</span><span class="token operator">:</span> <span class="token string">&quot;component_L67dhUY8Z3Q13kKB&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;component_L67dhUY8Z3Q13kKB_inner&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;relationType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;bottom&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;relationId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;env&quot;</span><span class="token operator">:</span> <span class="token string">&quot;develop&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;props&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span><span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;currentVersion&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeSrc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;layout/1.0.0/static/main.js&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;datetime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-03-23 12:50:14&quot;</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">&quot;globalId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234.component_L67dhUY8Z3Q13kKB&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;attrSetting&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">&quot;compositeAttr&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;globalId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;abc1234&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> </code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br><span class="line-number">55</span><br><span class="line-number">56</span><br><span class="line-number">57</span><br><span class="line-number">58</span><br><span class="line-number">59</span><br><span class="line-number">60</span><br><span class="line-number">61</span><br><span class="line-number">62</span><br><span class="line-number">63</span><br><span class="line-number">64</span><br><span class="line-number">65</span><br><span class="line-number">66</span><br><span class="line-number">67</span><br><span class="line-number">68</span><br><span class="line-number">69</span><br><span class="line-number">70</span><br><span class="line-number">71</span><br><span class="line-number">72</span><br><span class="line-number">73</span><br><span class="line-number">74</span><br><span class="line-number">75</span><br><span class="line-number">76</span><br><span class="line-number">77</span><br><span class="line-number">78</span><br><span class="line-number">79</span><br><span class="line-number">80</span><br><span class="line-number">81</span><br><span class="line-number">82</span><br><span class="line-number">83</span><br><span class="line-number">84</span><br><span class="line-number">85</span><br><span class="line-number">86</span><br><span class="line-number">87</span><br><span class="line-number">88</span><br><span class="line-number">89</span><br><span class="line-number">90</span><br><span class="line-number">91</span><br><span class="line-number">92</span><br><span class="line-number">93</span><br><span class="line-number">94</span><br><span class="line-number">95</span><br><span class="line-number">96</span><br><span class="line-number">97</span><br><span class="line-number">98</span><br><span class="line-number">99</span><br><span class="line-number">100</span><br><span class="line-number">101</span><br><span class="line-number">102</span><br><span class="line-number">103</span><br><span class="line-number">104</span><br><span class="line-number">105</span><br><span class="line-number">106</span><br><span class="line-number">107</span><br><span class="line-number">108</span><br><span class="line-number">109</span><br><span class="line-number">110</span><br><span class="line-number">111</span><br><span class="line-number">112</span><br><span class="line-number">113</span><br><span class="line-number">114</span><br><span class="line-number">115</span><br><span class="line-number">116</span><br><span class="line-number">117</span><br><span class="line-number">118</span><br><span class="line-number">119</span><br><span class="line-number">120</span><br><span class="line-number">121</span><br><span class="line-number">122</span><br><span class="line-number">123</span><br><span class="line-number">124</span><br><span class="line-number">125</span><br><span class="line-number">126</span><br><span class="line-number">127</span><br><span class="line-number">128</span><br><span class="line-number">129</span><br><span class="line-number">130</span><br><span class="line-number">131</span><br><span class="line-number">132</span><br><span class="line-number">133</span><br><span class="line-number">134</span><br><span class="line-number">135</span><br><span class="line-number">136</span><br><span class="line-number">137</span><br><span class="line-number">138</span><br><span class="line-number">139</span><br><span class="line-number">140</span><br><span class="line-number">141</span><br><span class="line-number">142</span><br><span class="line-number">143</span><br><span class="line-number">144</span><br><span class="line-number">145</span><br><span class="line-number">146</span><br><span class="line-number">147</span><br><span class="line-number">148</span><br><span class="line-number">149</span><br><span class="line-number">150</span><br><span class="line-number">151</span><br><span class="line-number">152</span><br><span class="line-number">153</span><br><span class="line-number">154</span><br><span class="line-number">155</span><br><span class="line-number">156</span><br><span class="line-number">157</span><br><span class="line-number">158</span><br><span class="line-number">159</span><br><span class="line-number">160</span><br><span class="line-number">161</span><br><span class="line-number">162</span><br><span class="line-number">163</span><br><span class="line-number">164</span><br><span class="line-number">165</span><br><span class="line-number">166</span><br><span class="line-number">167</span><br><span class="line-number">168</span><br><span class="line-number">169</span><br><span class="line-number">170</span><br><span class="line-number">171</span><br><span class="line-number">172</span><br><span class="line-number">173</span><br><span class="line-number">174</span><br><span class="line-number">175</span><br><span class="line-number">176</span><br><span class="line-number">177</span><br><span class="line-number">178</span><br><span class="line-number">179</span><br><span class="line-number">180</span><br><span class="line-number">181</span><br><span class="line-number">182</span><br><span class="line-number">183</span><br><span class="line-number">184</span><br><span class="line-number">185</span><br><span class="line-number">186</span><br><span class="line-number">187</span><br><span class="line-number">188</span><br><span class="line-number">189</span><br><span class="line-number">190</span><br><span class="line-number">191</span><br><span class="line-number">192</span><br><span class="line-number">193</span><br><span class="line-number">194</span><br><span class="line-number">195</span><br><span class="line-number">196</span><br><span class="line-number">197</span><br><span class="line-number">198</span><br><span class="line-number">199</span><br><span class="line-number">200</span><br><span class="line-number">201</span><br><span class="line-number">202</span><br><span class="line-number">203</span><br><span class="line-number">204</span><br><span class="line-number">205</span><br><span class="line-number">206</span><br><span class="line-number">207</span><br><span class="line-number">208</span><br><span class="line-number">209</span><br><span class="line-number">210</span><br><span class="line-number">211</span><br></div></div><ul><li><p>\u6570\u636E\u7ED3\u6784\u5185\u76F8\u5173key\u8BF4\u660E\uFF1A</p><p>TODO</p></li></ul><h2 id="custommodulesettingdatadata" tabindex="-1"><a class="header-anchor" href="#custommodulesettingdatadata" aria-hidden="true">#</a> customModuleSettingDataData</h2><p>\u7528\u4E8E\u6A21\u62DF\u5F00\u53D1\u5DE5\u5177\u83B7\u53D6\u5F53\u524D\u6253\u5F00\u7684\u81EA\u5B9A\u4E49\u4E1A\u52A1\uFF08\u5E03\u5C40\uFF09\u7EC4\u4EF6\u7684\u6570\u636E\u7ED3\u6784</p>`,4),pn=s("\u540E\u7AEF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),on=s("customModuleSettingDataUrl"),en=s("\u6A21\u62DF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),rn=s("customModuleSettingDataUrl"),ln=s("\u540C "),un=s("pageSettingDataData"),cn=s(" \u7684\u6570\u636E\u7ED3\u6784"),kn=n("h2",{id:"allcodepackagelistdata",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#allcodepackagelistdata","aria-hidden":"true"},"#"),s(" AllCodePackageListData")],-1),qn=n("p",null,"\u7528\u4E8E\u6A21\u62DF\u83B7\u53D6\u6587\u6863\u7BA1\u7406\u7684\u5DE6\u4E0A\u89D2\u4EE3\u7801\u5305\u5207\u6362\u6570\u636E\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E\u7ED3\u6784",-1),bn=s("\u540E\u7AEF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),mn=s("allCodepackageUrl"),dn=s("\u6A21\u62DF\u63A5\u53E3\u5C5E\u6027\u914D\u7F6E\uFF1A "),gn=s("allCodepackageUrl"),yn=o(`<div class="language-json ext-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span> <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;200&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;success&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;message&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u64CD\u4F5C\u6210\u529F&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;metadata&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span> <span class="token property">&quot;token&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;createUnitId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;180505162656YILYYOzw1FnE5OzzNxm&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;versionCount&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token property">&quot;createDeptId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;180627211146kvt9gFekZIxpF5Gm6xh&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUserId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1806272111460YuoHeG49QtxcWmH568&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUnitName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u6C5F\u897F\u7701&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUnitName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;forms&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentCodeLanguage&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentCodePath&quot;</span><span class="token operator">:</span> <span class="token string">&quot;forms/1.0.0/&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;versionList&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">&quot;configText&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUnitId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;180505162656YILYYOzw1FnE5OzzNxm&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createDeptId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;180627211146kvt9gFekZIxpF5Gm6xh&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUserId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1806272111460YuoHeG49QtxcWmH568&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUnitName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u6C5F\u897F\u7701&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUnitName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;className&quot;</span><span class="token operator">:</span> <span class="token string">&quot;forms&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;remark&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;zipPath&quot;</span><span class="token operator">:</span> <span class="token string">&quot;/upload/idmconsole/b224be9c-c698-41b6-a2f3-b9b3c8fac9e0.zip&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;211029004423iI5Ga83vE0WiV8agBrw&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codeLanguage&quot;</span><span class="token operator">:</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateDeptId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUnitId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createDeptName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7EFC\u5408\u5904&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;author&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7533\u9F99&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUserId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;version&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7533\u9F99&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lasttime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021\u5E748\u670812\u65E518:46:37&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;codePath&quot;</span><span class="token operator">:</span> <span class="token string">&quot;forms/1.0.0/&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-10-29 00:44:23&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;p1001&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateDeptName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-10-29 00:44:22&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">&quot;id&quot;</span><span class="token operator">:</span> <span class="token string">&quot;21102900442112k8aeCoGdyptmKfFG1&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentZipPath&quot;</span><span class="token operator">:</span> <span class="token string">&quot;/upload/idmconsole/b224be9c-c698-41b6-a2f3-b9b3c8fac9e0.zip&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentLasttime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021\u5E748\u670812\u65E518:46:37&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateDeptId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUnitId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createDeptName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7EFC\u5408\u5904&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUserId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentAuthor&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7533\u9F99&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentVersion&quot;</span><span class="token operator">:</span> <span class="token string">&quot;1.0.0&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createUName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;\u7533\u9F99&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentRemark&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateUName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;createTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-10-29 00:44:22&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;currentConfigText&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;projectId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;p1001&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateDeptName&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token property">&quot;lastUpdateTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2021-10-29 00:44:22&quot;</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span> </code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br><span class="line-number">55</span><br><span class="line-number">56</span><br><span class="line-number">57</span><br><span class="line-number">58</span><br><span class="line-number">59</span><br><span class="line-number">60</span><br><span class="line-number">61</span><br><span class="line-number">62</span><br><span class="line-number">63</span><br><span class="line-number">64</span><br><span class="line-number">65</span><br><span class="line-number">66</span><br></div></div><ul><li><p>\u6570\u636E\u7ED3\u6784\u5185\u76F8\u5173key\u8BF4\u660E\uFF1A</p><table><thead><tr><th>key</th><th>\u8BF4\u660E</th></tr></thead><tbody><tr><td>versionCount</td><td>\u7EC4\u4EF6\u5305\u5185\u7684\u6240\u6709\u7248\u672C\u6570\u91CF</td></tr><tr><td>className</td><td>\u7EC4\u4EF6\u5305\u7684\u7C7B\u540D</td></tr><tr><td>currentCodeLanguage\u3001codeLanguage</td><td>\u5F53\u524D\u7248\u672C\u4EE3\u7801\u5305\u7684\u6280\u672F\u6808\u8BED\u8A00</td></tr><tr><td>currentCodePath\u3001codePath</td><td>\u5F53\u524D\u7248\u672C\u4EE3\u7801\u5305\u7684\u90E8\u5206\u8DEF\u5F84</td></tr><tr><td>currentConfigText\u3001configText</td><td>\u5F53\u524D\u7248\u672C\u4EE3\u7801\u5305\u7684\u7EC4\u4EF6\u6CE8\u518C\u7684\u914D\u7F6E\u6587\u4EF6</td></tr><tr><td>currentVersion\u3001version</td><td>\u7EC4\u4EF6\u7684\u7248\u672C\u7F16\u53F7</td></tr><tr><td>versionList</td><td>\u7EC4\u4EF6\u7684\u6240\u6709\u7248\u672C\u96C6\u5408</td></tr></tbody></table></li></ul>`,2);function hn(_n,vn){const a=e("RouterLink");return r(),l(u,null,[k,n("ul",null,[n("li",null,[n("p",null,[q,t(a,{to:"/setting/config.html#componentmarketurl"},{default:p(()=>[b]),_:1})])]),n("li",null,[n("p",null,[m,t(a,{to:"/setting/config.html#componentmarketurl-1"},{default:p(()=>[d]),_:1})])])]),g,n("ul",null,[n("li",null,[y,n("table",null,[h,n("tbody",null,[_,v,f,I,U,N,j,L,x,D,n("tr",null,[C,n("td",null,[S,t(a,{to:"/guide/developtool.html#%E5%AD%97%E4%BD%93%E5%9B%BE%E6%A0%87"},{default:p(()=>[T]),_:1})])]),w,V,n("tr",null,[A,n("td",null,[z,Y,B,t(a,{to:"/coreapi/api.html#getwebpath"},{default:p(()=>[P]),_:1})])]),M,E,F,Z,K,Q])])])]),G,O,n("ul",null,[n("li",null,[n("p",null,[H,t(a,{to:"/setting/config.html#pageversionlisturl"},{default:p(()=>[W]),_:1})])]),n("li",null,[n("p",null,[R,t(a,{to:"/setting/config.html#pageversionlisturl-1"},{default:p(()=>[X]),_:1})])])]),J,n("ul",null,[n("li",null,[n("p",null,[$,t(a,{to:"/setting/config.html#pagesettingdataurl"},{default:p(()=>[nn]),_:1})])]),n("li",null,[n("p",null,[sn,t(a,{to:"/setting/config.html#pagesettingdataurl-1"},{default:p(()=>[an]),_:1})])])]),tn,n("ul",null,[n("li",null,[n("p",null,[pn,t(a,{to:"/setting/config.html#custommodulesettingdataurl"},{default:p(()=>[on]),_:1})])]),n("li",null,[n("p",null,[en,t(a,{to:"/setting/config.html#custommodulesettingdataurl-1"},{default:p(()=>[rn]),_:1})])])]),n("p",null,[ln,t(a,{to:"/setting/mockdata.html#pagesettingdatadata"},{default:p(()=>[un]),_:1}),cn]),kn,qn,n("ul",null,[n("li",null,[n("p",null,[bn,t(a,{to:"/setting/config.html#allcodepackageurl"},{default:p(()=>[mn]),_:1})])]),n("li",null,[n("p",null,[dn,t(a,{to:"/setting/config.html#allcodepackageurl-1"},{default:p(()=>[gn]),_:1})])])]),yn],64)}var Un=c(i,[["render",hn]]);export{Un as default};
import styled, { css } from 'styled-components'; export default styled.div` ${({ theme }) => theme.mixins.flexBetween}; position: fixed; top: 0; z-index: 11; padding: 0px 50px; width: 100%; height: var(--nav-height); background-color: var(--pallete-primary); filter: none !important; pointer-events: auto !important; user-select: auto !important; backdrop-filter: blur(10px); transition: var(--transition); ${props => props.scrollDirection === 'up' && !props.scrolledToTop && css` height: var(--nav-scroll-height); transform: translateY(0px); /* background-color: rgba(10, 25, 47, 0.85); */ box-shadow: 0 10px 30px -10px var(--pallete-primary-shadow); `}; ${props => props.scrollDirection === 'down' && !props.scrolledToTop && css` height: var(--nav-scroll-height); transform: translateY(calc(var(--nav-scroll-height) * -1)); box-shadow: 0 10px 30px -10px var(--pallete-primary-shadow); `}; @media (max-width: 1080px) { padding: 0 40px; } @media (max-width: 768px) { padding: 0 25px; } `;
import React from 'react'; import PropTypes from 'prop-types'; import Config from '../config'; import {DeidentifiedNoteApi, ToolApi} from '../apis'; import {DeidentifyRequestFromJSON} from '../models'; import {Configuration} from '../runtime'; import {encodeString, decodeString} from '../stringSmuggler'; import {withStyles} from '@material-ui/core/styles'; import {AppBar, Box, Button, IconButton, Paper, Toolbar, Grid, Typography, TextField, Fab} from '@material-ui/core'; import InfoIcon from '@material-ui/icons/Info'; import AddIcon from '@material-ui/icons/Add'; import {DeidentifiedText, deidentificationStates} from './DeidentifiedText'; import {InfoDialog} from './InfoDialog'; import {DeidentificationConfigForm} from './DeidentificationConfigForm'; import AnnotationView from './AnnotationView'; const config = new Config(); const apiConfiguration = new Configuration({basePath: config.serverApiUrl()}); const deidentifiedNotesApi = new DeidentifiedNoteApi(apiConfiguration); const toolApi = new ToolApi(apiConfiguration); const defaultText = 'On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle.'; const styles = (theme) => { return { root: { backgroundColor: '#282c34', minHeight: '100vh', justifyContent: 'center', color: 'white', overflow: 'auto', padding: '20px', paddingBottom: '50px', }, deidButton: { backgroundColor: '#ADD8E6', }, }; }; class App extends React.Component { static propTypes = { location: PropTypes.object, history: PropTypes.object, }; constructor(props) { super(props); // Try loading state from URL const {location} = props; const queryInUrl = location.pathname.slice(1); let deidentifyRequest; let showInfo; if (queryInUrl) { deidentifyRequest = JSON.parse(decodeString(queryInUrl)); showInfo = false; } else { deidentifyRequest = { deidentificationSteps: [{ key: 0, confidenceThreshold: 20, maskingCharConfig: {maskingChar: '*'}, annotationTypes: [ 'text_person_name', 'text_location', 'text_date'], }], note: { text: defaultText, type: '0000', // FIXME: figure out whether and how to get this identifier: '0000', patientId: '0000', }, keyMax: 0, }; showInfo = true; } this.state = { deidentifiedNoteText: deidentificationStates.EMPTY, deidentifiedAnnotations: deidentificationStates.EMPTY, deidentifyRequest: deidentifyRequest, showInfo: showInfo, }; this.handleTextAreaChange = this.handleTextAreaChange.bind(this); } updateUrl = () => { const queryInUrl = '/' + encodeString(JSON.stringify(this.state.deidentifyRequest)); this.props.history.push(queryInUrl); } deidentifyNote = () => { // Mark de-identified text as loading this.setState({deidentifiedNoteText: deidentificationStates.LOADING}); // Build de-identification request const deidentifyRequest = new DeidentifyRequestFromJSON(this.state.deidentifyRequest); // Make de-identification request deidentifiedNotesApi.createDeidentifiedNotes( {deidentifyRequest: deidentifyRequest}) .then((deidentifyResponse) => { this.setState({ deidentifiedNoteText: deidentifyResponse.deidentifiedNote.text, deidentifiedAnnotations: deidentifyResponse.deidentifiedAnnotations, }); }) .catch(() => { this.setState({ deidentifiedNoteText: deidentificationStates.ERROR, deidentifiedAnnotations: deidentificationStates.ERROR, }); }); } replaceDeidentificationStep = (index, newStep) => { const deidentificationSteps = [...this.state.deidentifyRequest.deidentificationSteps]; deidentificationSteps[index] = newStep; this.setState( { deidentifyRequest: { ...this.state.deidentifyRequest, deidentificationSteps: deidentificationSteps, }, }, () => this.updateUrl(), ); } updateDeidentificationStep = (index, newSettings) => { const newStep = { ...this.state.deidentifyRequest.deidentificationSteps[index], ...newSettings, }; this.replaceDeidentificationStep(index, newStep); } handleTextAreaChange(event) { this.setState( { deidentifyRequest: { ...this.state.deidentifyRequest, note: { ...this.state.deidentifyRequest.note, text: event.target.value, }, }, }, () => this.updateUrl(), ); } addDeidStep = (event) => { const deidentificationSteps = [...this.state.deidentifyRequest.deidentificationSteps]; const newDeidStep = { confidenceThreshold: 20, maskingCharConfig: {maskingChar: '*'}, annotationTypes: [ 'text_person_name', 'text_location', 'text_date'], key: this.state.deidentifyRequest.keyMax+1, }; deidentificationSteps.push(newDeidStep); this.setState( { deidentifyRequest: { ...this.state.deidentifyRequest, deidentificationSteps: deidentificationSteps, keyMax: this.state.deidentifyRequest.keyMax + 1, }, }, () => this.updateUrl(), ); } redoDeidentificationStep = (index, oldKey, newKey, newValue) => { // Delete a key from a deid step, and add a new key, value pair to it /* eslint-disable no-unused-vars */ const {[oldKey]: omitted, ...newDeidStep} = this.state.deidentifyRequest.deidentificationSteps[index]; /* eslint-enable no-unused-vars */ newDeidStep[newKey] = newValue; this.replaceDeidentificationStep(index, newDeidStep); } deleteDeidentificationStep = (index) => { const deidentificationSteps = [...this.state.deidentifyRequest.deidentificationSteps]; deidentificationSteps.splice(index, 1); this.setState( { deidentifyRequest: { ...this.state.deidentifyRequest, deidentificationSteps: deidentificationSteps, }, }, () => this.updateUrl(), ); } render() { const {classes} = this.props; const leftColumn = <Grid align="center" item sm={6} lg={4} container direction="column" spacing={2} > <Grid item> <Box padding={2}> <Typography variant="h5" style={{fontWeight: 'bold'}}> Input Note </Typography> </Box> </Grid> <Grid item> <Paper> <TextField multiline fullWidth variant="outlined" rows={20} onChange={this.handleTextAreaChange} value={this.state.deidentifyRequest.note.text} /> </Paper> </Grid> <Grid item> <Button variant="contained" size="large" className={classes.deidButton} onClick={this.deidentifyNote}>Deidentify Note</Button> </Grid> <Grid item> <Box padding={2}> <Typography variant="h5" style={{fontWeight: 'bold'}}> Deidentification Steps </Typography> </Box> </Grid> { this.state.deidentifyRequest.deidentificationSteps.map( (deidStep, index) => <Grid item key={deidStep.key}> <DeidentificationConfigForm deleteDeidStep={this.deleteDeidentificationStep} updateDeidStep={this.updateDeidentificationStep} redoDeidStep={this.redoDeidentificationStep} index={index} {...deidStep} /> </Grid>, ) } <Grid item> <Fab size="small" onClick={this.addDeidStep}><AddIcon /></Fab> </Grid> </Grid>; const rightColumn = <Grid align="center" item sm={6} lg={4} container spacing={2} direction="column" > <Grid item> <Box padding={2}> <Typography variant="h5" style={{fontWeight: 'bold'}}> De-identified Note </Typography> </Box> </Grid> <Grid item> <DeidentifiedText text={this.state.deidentifiedNoteText} /> </Grid> <Grid item> <Box padding={2}> <Typography variant="h5" style={{fontWeight: 'bold'}}> Annotations </Typography> </Box> </Grid> <Grid item> <AnnotationView annotations={this.state.deidentifiedAnnotations} /> </Grid> </Grid>; return ( <div className={classes.root}> <AppBar style={{backgroundColor: 'grey'}} position="static"> <Toolbar> <Typography variant="h4" style={{flex: 1}} > NLP Sandbox PHI Deidentifier </Typography> <IconButton onClick={() => { this.setState({showInfo: true}); }}><InfoIcon style={{color: 'white'}} /></IconButton> </Toolbar> </AppBar> <Grid container spacing={1}> <Grid item sm={0} lg={1} /> {leftColumn} <Grid item sm={0} lg={2} /> {rightColumn} <Grid item sm={0} lg={1} /> </Grid> <InfoDialog open={this.state.showInfo} handleClose={() => { this.setState({showInfo: false}); }} toolApi={toolApi} /> </div> ); } } App.propTypes = { classes: PropTypes.object, }; export default withStyles(styles)(App);
/* Class for outline and threshold class Florian Wokurka (2013) https://github.com/notiontaxi */ "use strict" define(['text!templates/task-vectorizer.html', 'js/strategies/ImageProcessingMenubarStrategy'], function(contentTemplate, ImageProcessingMenubarStrategy) { var VectorizerStrategy, _ref, module, module = function() {} VectorizerStrategy = (function(_super){ __extends(VectorizerStrategy, ImageProcessingMenubarStrategy); // -------------------------------------- VectorizerStrategy.NAME = 'vectorizer' VectorizerStrategy.LABEL = 'Vectorizer' function VectorizerStrategy(canvases, imageProcessor){ this.name = VectorizerStrategy.NAME VectorizerStrategy.__super__.constructor(canvases, imageProcessor) // render templates $(".controls-wrapper").append($(contentTemplate)) this.init() this.filled = true } VectorizerStrategy.prototype.appendToMenuBar = function(){ this.appendToLGMenuBar('Vectorizer', 'action-menu-vectorizer', 'image-actions-list') this.appendToSDMenuBar('Vectorizer', 'action-menu-vectorizer', 'image-actions-list-sd') } VectorizerStrategy.prototype.initializeTools = function(){ // Automatic threshold button $("#action-compute-paths").click( function(event, ui){ var result = this.imageProcessor.processPathFinding(this.canvasOrigin.getImageData(), this.canvasOrigin.getImageWidth()) this.canvasStage.paths = result.paths this.canvasStage.pathType = 'none' $("#path-count").html(result.message) }.bind(this) ) $("#action-show-full-paths").click( function(event, ui){ this.canvasStage.pathType = 'full' this.canvasStage.draw() }.bind(this) ) $("#action-show-straight-paths").click( function(event, ui){ this.canvasStage.pathType = 'straight' this.canvasStage.draw() }.bind(this) ) $("#action-show-allowed-paths").click( function(event, ui){ this.canvasStage.pathType = 'allowed' this.canvasStage.draw() }.bind(this) ) $("#action-hide-paths").click( function(event, ui){ this.canvasStage.pathType = 'none' this.canvasStage.draw() }.bind(this) ) $("#action-toggle-filled").click( function(event, ui){ this.filled = !this.filled this.canvasStage.filling = this.filled this.canvasStage.draw() }.bind(this) ) $( "#alpha-limit-slider" ).slider( { range: "min", value: 0.55, min: 0.1, max: 2.0, step: 0.01, slide: function( event, ui ) { $( "#alpha-limit-slider-output" ).html(ui.value) this.canvasStage.alpha = ui.value this.canvasStage.draw() }.bind(this) } ) $( "#curve-limit-slider" ).slider( { range: "min", value: 1.0, min: 0.1, max: 1.4, step: 0.01, slide: function( event, ui ) { $( "#curve-limit-slider-output" ).html(ui.value) this.canvasStage.curveLimit = ui.value this.canvasStage.draw() }.bind(this) } ) } VectorizerStrategy.prototype.cancel = function(event, ui){ } // -------------------------------------- return VectorizerStrategy })() return module.exports = VectorizerStrategy })
"use strict"; /** * Various utility functions. * @namespace */ var util = module.exports = require("./util/minimal"); var roots = require("./roots"); var Type, // cyclic Enum; util.codegen = require("@protobufjs/codegen"); util.fetch = require("@protobufjs/fetch"); util.path = require("@protobufjs/path"); /** * Node's fs module if available. * @type {Object.<string,*>} */ util.fs = util.inquire("fs"); /** * Converts an object's values to an array. * @param {Object.<string,*>} object Object to convert * @returns {Array.<*>} Converted array */ util.toArray = function toArray(object) { if (object) { var keys = Object.keys(object), array = new Array(keys.length), index = 0; while (index < keys.length) array[index] = object[keys[index++]]; return array; } return []; }; /** * Converts an array of keys immediately followed by their respective value to an object, omitting undefined values. * @param {Array.<*>} array Array to convert * @returns {Object.<string,*>} Converted object */ util.toObject = function toObject(array) { var object = {}, index = 0; while (index < array.length) { var key = array[index++], val = array[index++]; if (val !== undefined) object[key] = val; } return object; }; var safePropBackslashRe = /\\/g, safePropQuoteRe = /"/g; /** * Tests whether the specified name is a reserved word in JS. * @param {string} name Name to test * @returns {boolean} `true` if reserved, otherwise `false` */ util.isReserved = function isReserved(name) { return /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(name); }; /** * Returns a safe property accessor for the specified property name. * @param {string} prop Property name * @returns {string} Safe accessor */ util.safeProp = function safeProp(prop) { if (!/^[$\w_]+$/.test(prop) || util.isReserved(prop)) return "[\"" + prop.replace(safePropBackslashRe, "\\\\").replace(safePropQuoteRe, "\\\"") + "\"]"; return "." + prop; }; /** * Converts the first character of a string to upper case. * @param {string} str String to convert * @returns {string} Converted string */ util.ucFirst = function ucFirst(str) { return str.charAt(0).toUpperCase() + str.substring(1); }; var camelCaseRe = /_([a-z])/g; /** * Converts a string to camel case. * @param {string} str String to convert * @returns {string} Converted string */ util.camelCase = function camelCase(str) { return str.substring(0, 1) + str.substring(1) .replace(camelCaseRe, function($0, $1) { return $1.toUpperCase(); }); }; /** * Compares reflected fields by id. * @param {Field} a First field * @param {Field} b Second field * @returns {number} Comparison value */ util.compareFieldsById = function compareFieldsById(a, b) { return a.id - b.id; }; /** * Decorator helper for types (TypeScript). * @param {Constructor<T>} ctor Constructor function * @param {string} [typeName] Type name, defaults to the constructor's name * @returns {Type} Reflected type * @template T extends Message<T> * @property {Root} root Decorators root */ util.decorateType = function decorateType(ctor, typeName) { /* istanbul ignore if */ if (ctor.$type) { if (typeName && ctor.$type.name !== typeName) { util.decorateRoot.remove(ctor.$type); ctor.$type.name = typeName; util.decorateRoot.add(ctor.$type); } return ctor.$type; } /* istanbul ignore next */ if (!Type) Type = require("./type"); var type = new Type(typeName || ctor.name); util.decorateRoot.add(type); type.ctor = ctor; // sets up .encode, .decode etc. Object.defineProperty(ctor, "$type", { value: type, enumerable: false }); Object.defineProperty(ctor.prototype, "$type", { value: type, enumerable: false }); return type; }; var decorateEnumIndex = 0; /** * Decorator helper for enums (TypeScript). * @param {Object} object Enum object * @returns {Enum} Reflected enum */ util.decorateEnum = function decorateEnum(object) { /* istanbul ignore if */ if (object.$type) return object.$type; /* istanbul ignore next */ if (!Enum) Enum = require("./enum"); var enm = new Enum("Enum" + decorateEnumIndex++, object); util.decorateRoot.add(enm); Object.defineProperty(object, "$type", { value: enm, enumerable: false }); return enm; }; /** * Sets the value of a property by property path. If a value already exists, it is turned to an array * @param {Object.<string,*>} dst Destination object * @param {string} path dot '.' delimited path of the property to set * @param {Object} value the value to set * @returns {Object.<string,*>} Destination object */ util.setProperty = function setProperty(dst, path, value) { function setProp(dst, path, value) { var part = path.shift(); if (path.length > 0) { dst[part] = setProp(dst[part] || {}, path, value) } else { var prevValue = dst[part]; if (prevValue) value = [].concat(prevValue).concat(value); dst[part] = value; } return dst; } if (typeof dst !== "object") throw TypeError("dst must be an object"); if (!path) throw TypeError("path must be specified"); path = path.split("."); return setProp(dst, path, value) }; /** * Decorator root (TypeScript). * @name util.decorateRoot * @type {Root} * @readonly */ Object.defineProperty(util, "decorateRoot", { get: function() { return roots["decorated"] || (roots["decorated"] = new (require("./root"))()); } });
import Vue from 'vue' import Router from 'vue-router' import Meta from 'vue-meta' import Login from './views/login' import CreateOrg from './views/create_org' import CreateUser from './views/create_user' import Forms from './views/forms' import Dashboard from './views/dashboard' import Messages from './views/messages' import './style.css' Vue.use(Router) Vue.use(Meta) export default new Router({ mode: 'history', routes: [ { name: 'login', path: '/', component: Login, }, { name: 'create_org', path: '/create_org', component: CreateOrg, }, { name: 'create_user', path: '/create_user', component: CreateUser, }, { name: 'forms', path: '/forms', component: Forms, }, { name: 'dashboard', path: '/dashboard', component: Dashboard, }, { name: 'messages', path: '/messages', component: Messages, }, ], })
Package.describe({ summary: 'A Blaze powered layout component for dynamic rendering.' }); Package.on_use(function (api) { api.use('iron-router', 'client', {weak: true}); api.use('templating'); api.use('ui'); api.use('reactive-dict'); api.use('underscore'); api.add_files('layout.js', 'client'); api.export('Layout', 'client'); }); Package.on_test(function (api) { api.use('tinytest', 'client'); api.use('test-helpers', 'client'); api.use('blaze-layout'); api.use('templating'); api.add_files('layout-test.html', 'client'); api.add_files('layout-test.js', 'client'); });
function colorChangerHex() { var x = Math.floor(Math.random()*256); var y = Math.floor(Math.random()*256); var z = Math.floor(Math.random()*256); var bgColor = "rgb("+ x +","+ y +","+ z +")"; document.getElementById("background").style.backgroundColor = bgColor; document.getElementById("textColor").textContent = document.getElementById("background").style.backgroundColor; } function colorChangerSimple(){ var x = Math.floor(Math.random()*10); var bgColor = ""; if(x == 0){ bgColor = "white"; } else if(x == 1){ bgColor = "black" } else if(x == 2){ bgColor = "red"; } else if(x == 3){ bgColor = "yellow"; } else if(x == 4){ bgColor = "green"; } else if(x == 5){ bgColor = "blue"; } else if(x == 6){ bgColor = "orange"; } else if(x == 7){ bgColor = "brown"; } else if(x == 8){ bgColor = "violet"; } else if(x == 9){ bgColor = "pink"; } document.getElementById("background").style.backgroundColor = bgColor; document.getElementById("textColor").textContent = bgColor; }
class MenuSystem { // onEventFunction = ('eventname', 'field_id', parameters) => {} constructor(scene, nodes, onEventFunction) { this.scene = scene var gui = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("MenuSystem", true, scene) gui.idealWidth = 1920 gui.idealHeight = 1080 gui.renderAtIdealSize = true gui.useSmallestIdeal = true this.gui = gui this.nodes = nodes this.onEventFunction = onEventFunction this._build() } // switches screen screen(name) { for (let sid in this._screens) { let screen = this._screens[sid] if (name == sid) { screen.isVisible = true } else { screen.isVisible = false } } this.selectedScreen = name } //highlight next menu option next() { } //highlight previous menu option prev() { } // select highlighted menu option select() { } // fire back event (exit menu) back(id=null) { this.onEventFunction('back', id) } // if slider/value is highlighted, turn value up turnUp() { } // if slider/value is highlighted, turn value down turnDown() { } //get Control by id getControl(id) { return(this._fields[id]) } //set text setText(id, text) { let c = this.getControl(id) c.text = text } //set value setValue(id, value) { } getValues() { } //----------------------------------------------------------------------------- _onevent(type, id, e) { let c //console.log('EVENT', type, id, e) if (type == 'enter') { c = this._getSelectable(id) } else if (type == 'up') { c = this._fields[id] if (c.back) {this.back(id)} this.onEventFunction('click', id, e) } } _getSelectable(id) { let allsel = this._selectable[this.selectedScreen] return allsel[id] } _getSelectableN(id) { let elem,prev,next,first,last,found=false let allsel = this._selectable[this.selectedScreen] for (let fid in allsel) { let field = allsel[fid] if (!first) { first = field } if (fid==id) { elem = field if (last) { prev = last } } last = field } return allsel[id] } _select(id) { let allsel = this._selectable[this.selectedScreen] } _mixOptions(baseo, addo) { let neo = JSON.parse(JSON.stringify(baseo)) delete neo.c for (let k in addo) { if (k != 'c') { neo[k] = addo[k] } } return neo } _build() { let c, _options this._screen = false this._highlighted = false this._screens = {} this._fields = {} this._selectable = {} let firstscreen = false for (let sid in this.nodes.c) { if (!firstscreen) {firstscreen = sid} let screen = this.nodes.c[sid] this.options = this._mixOptions(this.nodes, {}) _options = this._mixOptions(this.options, screen) let pscreen = new BABYLON.GUI.Rectangle() pscreen.width = 1.0; pscreen.height = 1.0; pscreen.cornerRadius = 0; pscreen.thickness = 0; if (_options.color) { pscreen.color = _options.color } if (_options.background) { pscreen.background = _options.background } pscreen.fontFamily = this.options.fontFamily pscreen.horizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_LEFT pscreen.verticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_TOP this.gui.addControl(pscreen) this._screens[sid] = pscreen this._selectable[sid] = {} this._sid = sid this._buildControls(pscreen, screen.c, _options) } this.screen(firstscreen) } _buildControls(parent, list, options) { let c, _options for (let fid in list) { let field = list[fid] _options = this._mixOptions(options, field) switch(field.type) { case 'title': c = new BABYLON.GUI.TextBlock() c.type = field.type c.text = field.text; this._controlSetTextAlign(c, _options) this._controlSetFieldOptions(c, field) c.textVerticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_TOP this._controlSetTextOptions(c, _options) c.fontSize = _options.titleSize parent.addControl(c) this._fields[fid] = c break; case 'text': case 'menu': c = new BABYLON.GUI.TextBlock() c.type = field.type c.text = field.text this._controlSetFieldOptions(c, field) if (!field.height) { c.resizeToFit = true } this._controlSetAlign(c, _options) this._controlSetTextAlign(c, _options) this._controlSetTextOptions(c, _options) if (field.type == 'menu') { this._controlSetEvents(c, fid) this._selectable[this._sid][fid] = c } else if (field.clickable) { this._controlSetEvents(c, fid) } parent.addControl(c) this._fields[fid] = c break; case 'image': c = new BABYLON.GUI.Image("image-"+fid, field.src); c.type = field.type c.stretch = BABYLON.GUI.Image.STRETCH_UNIFORM if (field.cellWidth || field.cellHeight) { c.cellWidth = field.cellWidth c.cellHeight = field.cellHeight c.cellId = field.cellId } if (field.pixelated) { c.pixelated = true } this._controlSetFieldOptions(c, field) this._controlSetAlign(c, _options) if (field.clickable) { this._controlSetEvents(c, fid) } parent.addControl(c) this._fields[fid] = c break; case 'stack': case 'scroll': if (field.type == 'stack') { c = new BABYLON.GUI.StackPanel() } else { c = new BABYLON.GUI.ScrollViewer() } c.type = field.type c.isVertical = true this._controlSetFieldOptions(c, field) this._controlSetAlign(c, _options) parent.addControl(c) this._buildControls(c, field.c, _options) break; default: console.error(`[MenuSystem] Unknown type: ${field.type}`) } } } _controlSetAlign(c, options) { if (options.align == 'center') { c.horizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER } else if (options.align == 'right') { c.horizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_RIGHT } else { c.horizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_LEFT } if (options.valign == 'center') { c.verticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_CENTER } else if (options.valign == 'bottom') { c.verticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_BOTTOM } else { c.verticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_TOP } } _controlSetTextAlign(c, options) { if (options.align == 'left') { c.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_LEFT } else if (options.align == 'right') { c.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_RIGHT } else { c.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER } if (options.valign == 'top') { c.textVerticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_TOP } else if (options.valign == 'bottom') { c.textVerticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_BOTTOM } else { c.textVerticalAlignment = BABYLON.GUI.Control.VERTICAL_ALIGNMENT_CENTER } } _controlSetTextOptions(c, options) { ['fontFamily','fontSize','fontStyle','fontWeight','selectedColor','color','alpha','paddingTop','paddingBottom','paddingLeft','paddingRight'].forEach(o => { if (typeof(options[o]) != 'undefined') {c[o] = options[o]} }) if (options.shadow) { c.shadowOffsetX = 1 c.shadowOffsetY = 1 c.shadowColor = "rgba(0,0,0,0.4)" c.shadowBlur = 2 } } _controlSetFieldOptions(c, options) { ['width','height','left','right','top','bottom','background','thickness','cornerRadius','back'].forEach(o => { if (typeof(options[o]) != 'undefined') {c[o] = options[o]} }) } _controlSetEvents(c, fid) { c.hoverCursor = 'pointer' c.isPointerBlocker = true c.onPointerEnterObservable.add((e) => { this._onevent('enter', fid, e) }); c.onPointerOutObservable.add((e) => { this._onevent('out', fid, e) }) c.onPointerUpObservable.add((e) => { this._onevent('up', fid, e) }) } } //hack to draw pixelated GUI images BABYLON.GUI.Image.prototype.__original_draw = BABYLON.GUI.Image.prototype._draw BABYLON.GUI.Image.prototype._draw = function (context) { context.webkitImageSmoothingEnabled = !this.pixelated; context.mozImageSmoothingEnabled = !this.pixelated; context.msImageSmoothingEnabled = !this.pixelated; context.imageSmoothingEnabled = !this.pixelated; this.__original_draw(context) }
const HtmlRelation = require('./HtmlRelation'); // Requires: config.attributeName class HtmlApplet extends HtmlRelation { get href() { return this.node.getAttribute(this.attributeName); } set href(href) { this.node.setAttribute(this.attributeName, href); } attach(position, adjacentRelation) { this.node = this.from.parseTree.createElement('applet'); return super.attach(position, adjacentRelation); } } module.exports = HtmlApplet;
/** * Copyright IBM Corp. 2016, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; var _16 = { "elem": "svg", "attrs": { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 32 32", "fill": "currentColor", "width": 16, "height": 16 }, "content": [{ "elem": "path", "attrs": { "d": "M26,30H14a2,2,0,0,1-2-2V25h2v3H26V4H14V7H12V4a2,2,0,0,1,2-2H26a2,2,0,0,1,2,2V28A2,2,0,0,1,26,30Z" } }, { "elem": "path", "attrs": { "d": "M14.59 20.59L18.17 17 4 17 4 15 18.17 15 14.59 11.41 16 10 22 16 16 22 14.59 20.59z" } }], "name": "login", "size": 16 }; module.exports = _16;
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.10/esri/copyright.txt for details. //>>built define(["dojo/_base/declare","dojo/json","../../../geometry/Multipoint","./Enum","./Util"],function(h,e,g,k,l){var f=new k,c=new l;return h(null,{declaredClass:"esri.tasks.workflow.support.JSONUtil",_jobCreationParametersToJSON:function(a){var b={f:"json",jobTypeId:a.jobTypeId};a.hasOwnProperty("assignedTo")&&(b.assignedTo=c._formatDomainUsername(a.assignedTo));a.hasOwnProperty("assignedType")&&(b.assignedType=f.jobAssignmentTypeJsonDict.toJSON(a.assignedType));a.hasOwnProperty("autoCommitWorkflow")&& (b.autoCommitWorkflow=a.autoCommitWorkflow);a.hasOwnProperty("autoExecute")&&(b.autoExecute=a.autoExecute);a.hasOwnProperty("dataWorkspaceId")&&(b.dataWorkspaceId=a.dataWorkspaceId);a.hasOwnProperty("description")&&(b.description=a.description);a.hasOwnProperty("name")&&(b.name=a.name);a.hasOwnProperty("numJobs")&&(b.numJobs=a.numJobs);a.hasOwnProperty("ownedBy")&&(b.ownedBy=c._formatDomainUsername(a.ownedBy));a.hasOwnProperty("parentJobId")&&(b.parentJobId=a.parentJobId);a.hasOwnProperty("parentVersion")&& (b.parentVersion=a.parentVersion);a.hasOwnProperty("priority")&&(b.priority=a.priority);a.hasOwnProperty("startDate")&&(b.startDate=a.startDate?Date.parse(a.startDate):null);a.hasOwnProperty("dueDate")&&(b.dueDate=a.dueDate?Date.parse(a.dueDate):null);if(a.hasOwnProperty("loi"))if(null==a.loi)b.aoi=null,b.poi=null;else if("polygon"==a.loi.type)b.aoi=e.stringify(a.loi.toJSON());else if("multipoint"==a.loi.type)b.poi=e.stringify(a.loi.toJSON());else if("point"==a.loi.type){var d=new g(a.loi.spatialReference); d.addPoint(a.loi);b.poi=e.stringify(d.toJSON())}return b},_jobUpdateParametersToJSON:function(a){var b={};a.hasOwnProperty("assignedTo")&&(b.assignedTo=c._formatDomainUsername(a.assignedTo));a.hasOwnProperty("assignedType")&&(b.assignedType=f.jobAssignmentTypeJsonDict.toJSON(a.assignedType));a.hasOwnProperty("dataWorkspaceId")&&(b.dataWorkspaceId=a.dataWorkspaceId);a.hasOwnProperty("description")&&(b.description=a.description);a.hasOwnProperty("name")&&(b.name=a.name);a.hasOwnProperty("ownedBy")&& (b.ownedBy=c._formatDomainUsername(a.ownedBy));a.hasOwnProperty("parentJobId")&&(b.parentJobId=a.parentJobId);a.hasOwnProperty("parentVersion")&&(b.parentVersion=a.parentVersion);a.hasOwnProperty("percentComplete")&&(b.percent=a.percentComplete);a.hasOwnProperty("priority")&&(b.priority=a.priority);a.hasOwnProperty("status")&&(b.status=a.status);a.hasOwnProperty("versionName")&&(b.versionName=a.versionName);a.hasOwnProperty("startDate")&&(b.startDate=a.startDate?Date.parse(a.startDate):null);a.hasOwnProperty("dueDate")&& (b.dueDate=a.dueDate?Date.parse(a.dueDate):null);if(a.hasOwnProperty("loi"))if(null==a.loi)b.aoi=null,b.poi=null;else if("polygon"==a.loi.type)b.aoi=a.loi.toJSON();else if("multipoint"==a.loi.type)b.poi=a.loi.toJSON();else if("point"==a.loi.type){var d=new g(a.loi.spatialReference);d.addPoint(a.loi);b.poi=d.toJSON()}a={};a.properties=e.stringify(b);return a},_jobQueryParametersToJSON:function(a){var b={f:"json",fields:c._formatJobQueryCSV(a.fields),tables:c._formatJobQueryCSV(a.tables)};a.aliases&& (b.aliases=c._formatJobQueryCSV(a.aliases));a.where&&(b.where=c._formatJobQueryCSV(a.where));a.orderBy&&(b.orderBy=c._formatJobQueryCSV(a.orderBy));return b},_jobDependencyParametersToJSON:function(a){return{f:"json",heldOnType:f.jobDependencyTypeJsonDict.toJSON(a.heldOnType),heldOnValue:a.heldOnValue,depJobId:a.depJobId,depOnType:f.jobDependencyTypeJsonDict.toJSON(a.depOnType),depOnValue:a.depOnValue}}})});
const path = require('path') const merge = require('webpack-merge') const base = require('./webpack.base.config.js') const config = require('../config') const configuration = merge(base, { mode: 'production', entry: { app: path.resolve(__dirname, '../src/index.js'), }, output: { filename: 'owl-create-api.js', publicPath: '/', path: path.resolve(__dirname, '../dist'), library: 'owl-create-api', libraryTarget: 'umd' } }) module.exports = configuration
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage'), require('@angular-devkit/build-angular/plugins/karma') ], client: { jasmine: { // you can add configuration options for Jasmine here // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html // for example, you can disable the random execution with `random: false` // or set a specific seed with `seed: 4321` }, clearContext: false // leave Jasmine Spec Runner output visible in browser }, jasmineHtmlReporter: { suppressAll: true // removes the duplicated traces }, coverageReporter: { dir: require('path').join(__dirname, './coverage/angular-src'), subdir: '.', reporters: [ { type: 'html' }, { type: 'text-summary' } ] }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], singleRun: false, restartOnFileChange: true }); };
/** * vein.js - version 0.3 * * by Danny Povolotski (dannypovolotski@gmail.com) **/ import {extend,registerEx,keys,isArray,isNumber,isString,isStringEmpty,isUndefined,isFunction,dePrefix} from "../util.js"; import prefixCSS from "../util/prefixfree.js"; import HOOK from "../util/stylehooks.js" import {Lib} from "../core.js"; import {$Stylesheet,$NullStylesheet} from "../cssom/types.js"; var findOrDeleteBySelector = function (selector, stylesheet, css) { var matches = [], removes = [], rules = stylesheet.cssRules||[], selectorCompare = selector.replace(/\s/g, ''), index, length; // Since there could theoretically be multiple versions of the same rule, // we will first iterate for (index = 0, length = rules.length; index < length; index++) { var rule = rules[index], same = false; if (!isStringEmpty(rule.selectorText)) { same = (selectorCompare === dePrefix(rule.selectorText).replace(/\s/g, '')); } else if (!isStringEmpty(rule.keyText)) { same = (selectorCompare === dePrefix(rule.keyText).replace(/\s/g, '')); } else if (!isStringEmpty(rule.cssText)) { //Must be @Rule same = (dePrefix(rule.cssText).replace(/\s/g, '').substring(0, selectorCompare.length) === selectorCompare); } if (same) { if (css === null) { // If we set css to null, let's delete that ruleset altogether removes.unshift(index); //Adds to the head of the removes array } else { // Otherwise - we push it into the matches array matches.push(rules[index]); } } } for (index = 0, length = removes.length; index < length; index++) { stylesheet.deleteRule(removes[index]); } return matches; }; var astToRule= function(ast,level) { var cssArray = []; if (isArray(ast)) { ast.forEach(function(rule) {cssArray.push(astToRule(rule))}); } else { keys(ast).forEach(function (selector) { var value = ast[selector]; var css = selector+ " {"; if (isArray(value)) css+='\n'+astToRule(value); else css+=cssToString(value); css+="}"; cssArray.push(css); }); } return cssArray.join('\n'); }; Lib.ast = astToRule; var cssToString = function (css) { var cssArray = []; for (var property in css) { if (css.hasOwnProperty(property)) { cssArray.push(property + ': ' + css[property]); } } return cssArray.join(';'); }; var setCSS = function (style, name, value) { var setter = HOOK.set[name] || HOOK.find(name, style); if (isFunction(value)) { value = value(this); } if (value == null) value = ""; if (isFunction(setter)) { setter(value, style); } else { style[setter] = isNumber(value) ? value + "px" : value.toString(); } }; var getRulesFromStylesheet = function (stylesheet) { return stylesheet.cssRules; }; var insertRule = function (selector, cssText, stylesheet) { var rules = getRulesFromStylesheet(stylesheet), length = rules.length || 0; stylesheet.insertRule(prefixCSS(selector + '{' + cssText + '}'), length); }; // Let's inject some CSS. We can supply an array (or string) of selectors, and an object // with CSS value and property pairs. registerEx($Stylesheet.fn, { inject: function (selectors, css, options) { options = extend({}, options); var $this = this, stylesheet = options.stylesheet || $this[0], rules = getRulesFromStylesheet(stylesheet), si, sl, query, matches, cssText, property, mi, ml, qi, ql; if (isString(selectors)) { selectors = [selectors]; } for (si = 0, sl = selectors.length; si < sl; si++) { if (typeof selectors[si] === 'object' && stylesheet.insertRule) { for (query in selectors[si]) { matches = findOrDeleteBySelector(query, stylesheet, css); if (matches.length === 0) { cssText = cssToString(css); for (qi = 0, ql = selectors[si][query].length; qi < ql; qi++) { insertRule(query, selectors[si][query][qi] + '{' + cssText + '}', stylesheet); } } else { for (mi = 0, ml = matches.length; mi < ml; mi++) { $this.inject(selectors[si][query], css, {stylesheet: matches[mi]}); } } } } else { matches = findOrDeleteBySelector(selectors[si], stylesheet, css); // If all we wanted is to delete that ruleset, we're done here if (css !== null) { // If no rulesets have been found for the selector, we will create it below if (matches.length === 0) { cssText = cssToString(css); insertRule(selectors[si], cssText, stylesheet); } else { // Otherwise, we're just going to modify the property of the last found rule; for (mi = 0, ml = matches.length; mi < ml; mi++) { for (property in css) { if (css.hasOwnProperty(property)) { // TODO: Implement priority setCSS(matches[mi].style,property, css[property]); } } } } } } } return $this; } }); registerEx($NullStylesheet.fn, { inject: function () { return this; } }); /* 'selector': 'css' null|{...} oder [ 'selector0':'css' null|{...}, 'selector1':'css' null|{...}, 'selector2':'css' null|{...} ] rule({'.header':{'color':'#f00'}); rulelist([ {'.header':{'color':'#f00'}, {'.test':{'color':'#f00'}, ]); @rule({'@media':[ {'.header':{'color':'#f00'}, {'.test':{'color':'#f00'}, ]}); */
import styled from 'styled-components'; const ContactMentorStyled = styled.div` textarea { width: 100%; height: 100%; resize: none; border: none; min-height: 23rem; background: #fbfcff; box-shadow: 0px 4px 15px rgba(31, 89, 187, 0.1); border-radius: 10px; padding: 1rem; } .send-message-cta { background: #6b9ae9; border-radius: 8px; margin-top: 1rem; display: flex; justify-content: center; align-items: center; } `; export default ContactMentorStyled;
import { css } from 'styled-components'; export const shadow = '4px 4px 10px 0 rgba(0, 0, 0, 0.35)'; export const insetShadow = 'inset 2px 2px 3px rgba(0,0,0,0.2)'; export const createDisabledTextStyles = () => css` -webkit-text-fill-color: ${({ theme }) => theme.materialTextDisabled}; color: ${({ theme }) => theme.materialTextDisabled}; text-shadow: 1px 1px ${({ theme }) => theme.materialTextDisabledShadow}; /* filter: grayscale(100%); */ `; export const createBoxStyles = () => css` box-sizing: border-box; display: inline-block; background: ${({ theme }) => theme.material}; color: ${({ theme }) => theme.materialText}; `; // TODO for flat box styles add checkered background when disabled (not solid color) export const createHatchedBackground = ({ mainColor = 'black', secondaryColor = 'transparent' }) => css` background-image: linear-gradient( 45deg, ${mainColor} 25%, transparent 25%, transparent 75%, ${mainColor} 75% ), linear-gradient( 45deg, ${mainColor} 25%, transparent 25%, transparent 75%, ${mainColor} 75% ); background-color: ${secondaryColor}; background-size: 4px 4px; background-position: 0 0, 2px 2px; `; export const createFlatBoxStyles = () => css` position: relative; box-sizing: border-box; display: inline-block; color: ${({ theme }) => theme.materialText}; background: ${({ theme, isDisabled }) => isDisabled ? theme.flatLight : theme.canvas}; border: 2px solid ${({ theme }) => theme.canvas}; outline: 2px solid ${({ theme }) => theme.flatDark}; outline-offset: -4px; `; export const createBorderStyles = ({ invert = false, windowBorders = false } = {}) => invert ? css` border-style: solid; border-width: 2px; border-left-color: ${({ theme }) => theme.borderDarkest}; border-top-color: ${({ theme }) => theme.borderDarkest}; border-right-color: ${({ theme }) => theme.borderLightest}; border-bottom-color: ${({ theme }) => theme.borderLightest}; box-shadow: ${props => props.shadow && `${shadow}, `} inset 1px 1px 0px 1px ${({ theme }) => theme.borderDark}, inset -1px -1px 0 1px ${({ theme }) => theme.borderLight}; ` : css` border-style: solid; border-width: 2px; border-left-color: ${({ theme }) => windowBorders ? theme.borderLight : theme.borderLightest}; border-top-color: ${({ theme }) => windowBorders ? theme.borderLight : theme.borderLightest}; border-right-color: ${({ theme }) => theme.borderDarkest}; border-bottom-color: ${({ theme }) => theme.borderDarkest}; box-shadow: ${props => props.shadow && `${shadow}, `} inset 1px 1px 0px 1px ${({ theme }) => windowBorders ? theme.borderLightest : theme.borderLight}, inset -1px -1px 0 1px ${({ theme }) => theme.borderDark}; `; export const createWellBorderStyles = (invert = false) => invert ? css` border-style: solid; border-width: 2px; border-left-color: ${({ theme }) => theme.borderDark}; border-top-color: ${({ theme }) => theme.borderDark}; border-right-color: ${({ theme }) => theme.borderLightest}; border-bottom-color: ${({ theme }) => theme.borderLightest}; ` : css` border-style: solid; border-width: 2px; border-left-color: ${({ theme }) => theme.borderLightest}; border-top-color: ${({ theme }) => theme.borderLightest}; border-right-color: ${({ theme }) => theme.borderDark}; border-bottom-color: ${({ theme }) => theme.borderDark}; `; export const focusOutline = () => css` outline: 2px dotted ${({ theme }) => theme.materialText}; `; const createTriangleSVG = (color, angle = 0) => { const svg = `<svg height="26" width="26" viewBox="0 0 26 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g transform="rotate(${angle} 13 13)"> <polygon fill="${color}" points="6,10 20,10 13,17"/> </g> </svg>`; const encoded = window.btoa(svg); return `url(data:image/svg+xml;base64,${encoded})`; }; export const createScrollbars = (variant = 'default') => css` ::-webkit-scrollbar { width: 26px; height: 26px; } ::-webkit-scrollbar-track { ${({ theme }) => createHatchedBackground({ mainColor: variant === 'flat' ? theme.flatLight : theme.material, secondaryColor: variant === 'flat' ? theme.canvas : theme.borderLightest })} } ::-webkit-scrollbar-thumb { ${createBoxStyles()} ${variant === 'flat' ? createFlatBoxStyles() : createBorderStyles({ windowBorders: true })} outline-offset: -2px; } ::-webkit-scrollbar-corner { background-color: ${({ theme }) => theme.material}; } ::-webkit-scrollbar-button { ${createBoxStyles()} ${variant === 'flat' ? createFlatBoxStyles() : createBorderStyles({ windowBorders: true })} display: block; outline-offset: -2px; height: 26px; width: 26px; background-repeat: no-repeat; background-size: 100%; background-position: 0 0; } ::-webkit-scrollbar-button:active, ::-webkit-scrollbar-button:active { background-position: 0 1px; ${variant === 'default' && createBorderStyles({ windowBorders: true, invert: true })} } ::-webkit-scrollbar-button:horizontal:increment:start, ::-webkit-scrollbar-button:horizontal:decrement:end, ::-webkit-scrollbar-button:vertical:increment:start, ::-webkit-scrollbar-button:vertical:decrement:end { display: none; } ::-webkit-scrollbar-button:horizontal:decrement { background-image: ${({ theme }) => createTriangleSVG(theme.materialText, 90)}; } ::-webkit-scrollbar-button:horizontal:increment { background-image: ${({ theme }) => createTriangleSVG(theme.materialText, 270)}; } ::-webkit-scrollbar-button:vertical:decrement { background-image: ${({ theme }) => createTriangleSVG(theme.materialText, 180)}; } ::-webkit-scrollbar-button:vertical:increment { background-image: ${({ theme }) => createTriangleSVG(theme.materialText, 0)}; } `;
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ app.controller('editPSServiceController' , function ($scope, $modalInstance, message, UserInfoServiceDS2, Notification){ if(message.psServiceDictionaryData==null) $scope.label='Add New Service' else{ $scope.label='Edit Service' $scope.disableCd=true; } /*getting user info from session*/ var userid = null; UserInfoServiceDS2.getFunctionalMenuStaticDetailSession() .then(function (response) { userid = response.userid; }); $scope.editPSService = message.psServiceDictionaryData; $scope.savePSService = function(psServiceDictionaryData) { var regex = new RegExp("^[a-zA-Z0-9_]*$"); if(!regex.test(psServiceDictionaryData.name)) { Notification.error("Enter Valid Service Name without spaces or special characters"); }else{ var uuu = "saveDictionary/ps_dictionary/save_psService"; var postData={psServiceDictionaryData: psServiceDictionaryData, userid: userid}; $.ajax({ type : 'POST', url : uuu, dataType: 'json', contentType: 'application/json', data: JSON.stringify(postData), success : function(data){ $scope.$apply(function(){ $scope.psServiceDictionaryDatas=data.psServiceDictionaryDatas;}); if($scope.psServiceDictionaryDatas == "Duplicate"){ Notification.error("Service Dictionary exists with Same Service Name.") }else{ console.log($scope.psServiceDictionaryDatas); $modalInstance.close({psServiceDictionaryDatas:$scope.psServiceDictionaryDatas}); } }, error : function(data){ Notification.error("Error while saving."); } }); } }; $scope.close = function() { $modalInstance.close(); }; });
import React, { Component } from "react"; import _ from "lodash"; import injectSheet from "react-jss"; import mapboxgl from "mapbox-gl"; mapboxgl.accessToken = "pk.eyJ1IjoiaG9mZnQiLCJhIjoiY2llaGNtaGRiMDAxeHNxbThnNDV6MG95OSJ9.p6Dj5S7iN-Mmxic6Z03BEA"; const styles = { mapArea: { flex: "1 1 100%", display: "flex", height: "100%", maxHeight: "100vh", flexDirection: "column" }, map: { flex: "1 1 100%", border: "1px solid #ddd", borderRadius: "3px", display: "flex", flexDirection: "column", "& canvas:focus": { outline: "none" } } }; class Map extends Component { constructor(props) { super(props); this.addLayer = this.addLayer.bind(this); this.updateLayer = this.updateLayer.bind(this); this.myRef = React.createRef(); this.state = {}; } componentDidMount() { this.map = new mapboxgl.Map({ container: this.myRef.current, style: "mapbox://styles/mapbox/light-v9", zoom: sessionStorage.getItem('mapZoom') || 0, center: [sessionStorage.getItem('mapLng') || 0, sessionStorage.getItem('mapLat') || 0] }); this.map.addControl(new mapboxgl.NavigationControl({ showCompass: false }), 'top-left'); this.map.on("load", this.addLayer); } componentWillUnmount() { this.map.remove(); } componentDidUpdate(prevProps) { if (prevProps.filterHash !== this.props.filterHash) { this.updateLayer(); } } updateLayer() { var layer = this.map.getSource("occurrences"); if (layer) { this.map.removeLayer("occurrences"); this.map.removeSource("occurrences"); this.addLayer(); } else { this.addLayer(); } } addLayer() { let filter = this.props.filter; filter = this.props.api.compose(filter).build(); var tileString = //"https://esmap.gbif-dev.org/api/tile/{x}/{y}/{z}.mvt?field=coordinates&url=" + "http://labs.gbif.org:7012/api/tile/point/{x}/{y}/{z}.mvt?resolution=medium&field=coordinates&url=" + // "http://localhost:3000/api/tile/significant/{x}/{y}/{z}.mvt?field=coordinate_point&significantField=backbone.speciesKey&url=" + //"http://localhost:3001/api/tile/point/{x}/{y}/{z}.mvt?resolution=high&field=coordinates&url=" + encodeURIComponent(`http:${this.props.api.esEndpoint}/_search?`) + "&filter=" + JSON.stringify(filter.query); this.map.addLayer( { id: "occurrences", type: "circle", source: { type: "vector", tiles: [tileString] }, "source-layer": "occurrences", paint: { // make circles larger as the user zooms from z12 to z22 "circle-radius": { property: "count", type: "interval", //stops: [[0, 2]] stops: [[0, 2], [10, 3], [100, 5], [1000, 8], [10000, 15]] }, // color circles by ethnicity, using data-driven styles "circle-color": { property: "count", type: "interval", stops: [ [0, "#fed976"], //#b99939 [10, "#fd8d3c"], [100, "#fd8d3c"], //#b45100 [1000, "#f03b20"], //#a40000 [10000, "#bd0026"] ] //#750000 }, "circle-opacity": { property: "count", type: "interval", stops: [[0, 1], [10, 0.8], [100, 0.7], [1000, 0.6], [10000, 0.6]] }, "circle-stroke-color": { property: "count", type: "interval", stops: [ [0, "#fe9724"], //#b99939 [10, "#fd5b24"], [100, "#fd471d"], //#b45100 [1000, "#f01129"], //#a40000 [10000, "#bd0047"] ] //#750000 }, "circle-stroke-width": { property: "count", type: "interval", stops: [[0, 1], [10, 0]] } } }, "poi-scalerank2" ); const map = this.map map.on('zoomend', function () { const center = map.getCenter(); sessionStorage.setItem('mapZoom', map.getZoom()); sessionStorage.setItem('mapLng', center.lng); sessionStorage.setItem('mapLat', center.lat); }); map.on('moveend', function () { const center = map.getCenter(); sessionStorage.setItem('mapZoom', map.getZoom()); sessionStorage.setItem('mapLng', center.lng); sessionStorage.setItem('mapLat', center.lat); }); // let map = this.map; // this.map.on('click', 'occurrences', function(e) { // // Change the cursor style as a UI indicator. // map.getCanvas().style.cursor = 'pointer'; // // Populate the popup and set its coordinates // // based on the feature found. // console.log(e.features[0].properties.species); // if (e.features[0].properties.species) { // new mapboxgl.Popup({closeButton: false}) // .setLngLat(e.lngLat) // .setHTML(e.features[0].properties.species + <span>tester</span>) // .addTo(map); // } // }); } render() { const { classes } = this.props; return ( <div className={classes.mapArea}> <div ref={this.myRef} className={classes.map} /> </div> ); } } export default injectSheet(styles)(Map);
/*- * ========================LICENSE_START================================= * AEM Permission Management * %% * Copyright (C) 2013 - 2016 Wunderman Thompson Technology * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * =========================LICENSE_END================================== */ (function(window, $, Coral) { 'use strict'; let dragCounter = 0, fileUploader; function init() { fileUploader = new Coral.FileUpload(); fileUploader.accept = '.cqsm,.apm'; fileUploader.action = '/bin/apm/scripts/upload'; fileUploader.async = true; fileUploader.multiple = true; fileUploader.name = 'file'; fileUploader._className = fileUploader._className + ' coral-fileupload-dropzone'; fileUploader .on('coral-fileupload:fileadded', function(event) { let filename = event.detail.item.file.name; let savePath = window.location.pathname.split('.html')[1]; event.detail.item._parameters = [ {name: 'apm:launchEnabled', value: true}, {name: 'apm:launchMode', value: 'ON_DEMAND'}, {name: 'apm:savePath', value: savePath}, ]; fileUploader.upload(filename); }) .on('coral-fileupload:load', function(event) { let savePath = window.location.pathname.split('.html')[1]; fileUploader.uploadQueue.forEach(function(item, index) { let filename = event.detail.item.file.name; if (item.file.name === filename) { item._parameters = [ {name: 'apm:savePath', value: savePath}, ]; fileUploader.uploadQueue.splice(index, 1); } }); if (fileUploader.uploadQueue.length === 0) { _reload(); } }); const coralShell = $('coral-shell-content').get(0); coralShell.addEventListener('drop', function(event) { dragCounter = 0; event.preventDefault(); _dropZoneDrop(); fileUploader._onInputChange(event); }, false); coralShell.addEventListener('dragenter', function(event) { event.preventDefault(); dragCounter++; _dropZoneDragEnter(); }, false); coralShell.addEventListener('dragover', function(event) { event.preventDefault(); }, false); coralShell.addEventListener('dragleave', function() { dragCounter--; if (dragCounter === 0) { _dropZoneDragLeave(); } }, false); } function _reload() { location.reload(); } function _dropZoneDragEnter() { let message = Granite.I18n.get('Drag and drop to upload'), dragAndDropMessage = $('<div class=\"drag-drop-message\" style="text-align: center;"><h1 > <span>{</span>' + message + '<span>}</span></h1></div>'); $('.foundation-collection').overlayMask('show', dragAndDropMessage); } function _dropZoneDragLeave() { $('.foundation-collection').overlayMask('hide'); } function _dropZoneDrop () { $('.foundation-collection').overlayMask('hide'); } $(window).adaptTo('foundation-registry').register('foundation.collection.action.action', { name: 'scripts.upload', handler: function() { fileUploader._showFileDialog(); } }); $(document).on('foundation-contentloaded', function () { init(); }); })(window, Granite.$, Coral);
var searchData= [ ['w_5fgrp_349',['w_grp',['../namespacem__system.html#a84acc0ec08b97205a7ab0c571de4a484',1,'m_system']]], ['w_5fok_350',['w_ok',['../namespacem__system.html#a8f34e61e94106b90ca48b9ef1165474c',1,'m_system']]], ['w_5foth_351',['w_oth',['../namespacem__system.html#a74aa20ba216fb67c7ab29c7f791654b3',1,'m_system']]], ['w_5fusr_352',['w_usr',['../namespacem__system.html#a545c1bfdb066cf1b30408bc6c8917653',1,'m_system']]] ];
/** * @license * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ describe('Mp4VttParser', function() { const vttInitSegmentUri = '/base/test/test/assets/vtt-init.mp4'; const vttSegmentUri = '/base/test/test/assets/vtt-segment.mp4'; const vttSegmentMultiPayloadUri = '/base/test/test/assets/vtt-segment-multi-payload.mp4'; const vttSegSettingsUri = '/base/test/test/assets/vtt-segment-settings.mp4'; const vttSegNoDurationUri = '/base/test/test/assets/vtt-segment-no-duration.mp4'; const audioInitSegmentUri = '/base/test/test/assets/sintel-audio-init.mp4'; /** @type {!Uint8Array} */ let vttInitSegment; /** @type {!Uint8Array} */ let vttSegment; /** @type {!Uint8Array} */ let vttSegmentMultiPayload; /** @type {!Uint8Array} */ let vttSegSettings; /** @type {!Uint8Array} */ let vttSegNoDuration; /** @type {!Uint8Array} */ let audioInitSegment; beforeAll(function(done) { Promise.all([ shaka.test.Util.fetch(vttInitSegmentUri), shaka.test.Util.fetch(vttSegmentUri), shaka.test.Util.fetch(vttSegmentMultiPayloadUri), shaka.test.Util.fetch(vttSegSettingsUri), shaka.test.Util.fetch(vttSegNoDurationUri), shaka.test.Util.fetch(audioInitSegmentUri), ]).then(function(responses) { vttInitSegment = new Uint8Array(responses[0]); vttSegment = new Uint8Array(responses[1]); vttSegmentMultiPayload = new Uint8Array(responses[2]); vttSegSettings = new Uint8Array(responses[3]); vttSegNoDuration = new Uint8Array(responses[4]); audioInitSegment = new Uint8Array(responses[5]); }).catch(fail).then(done); }); it('parses init segment', function() { new shaka.text.Mp4VttParser().parseInit(vttInitSegment); }); it('parses media segment', function() { let cues = [ { start: 111.8, end: 115.8, payload: 'It has shed much innocent blood.\n', }, { start: 118, end: 120, payload: 'You\'re a fool for traveling alone,\nso completely unprepared.\n', }, ]; let parser = new shaka.text.Mp4VttParser(); parser.parseInit(vttInitSegment); let time = {periodStart: 0, segmentStart: 0, segmentEnd: 0}; let result = parser.parseMedia(vttSegment, time); verifyHelper(cues, result); }); it('plays multiple payloads at one time if specified by size', () => { let cues = [ { start: 110, end: 113, payload: 'Hello', }, // This cue is part of the same presentation as the previous one, so it // shares the same start time and duration. { start: 110, end: 113, payload: 'and', }, { start: 113, end: 116.276, payload: 'goodbye', }, ]; let parser = new shaka.text.Mp4VttParser(); parser.parseInit(vttInitSegment); let time = {periodStart: 0, segmentStart: 0, segmentEnd: 0}; let result = parser.parseMedia(vttSegmentMultiPayload, time); verifyHelper(cues, result); }); it('parses media segment containing settings', function() { const Cue = shaka.text.Cue; let cues = [ { start: 111.8, end: 115.8, payload: 'It has shed much innocent blood.\n', align: 'right', size: 50, position: 10, }, { start: 118, end: 120, payload: 'You\'re a fool for traveling alone,\nso completely unprepared.\n', writingMode: Cue.writingMode.VERTICAL_LEFT_TO_RIGHT, line: 1, }, ]; let parser = new shaka.text.Mp4VttParser(); parser.parseInit(vttInitSegment); let time = {periodStart: 0, segmentStart: 0, segmentEnd: 0}; let result = parser.parseMedia(vttSegSettings, time); verifyHelper(cues, result); }); it('parses media segments without a sample duration', function() { // Regression test for https://github.com/google/shaka-player/issues/919 let cues = [ {start: 10, end: 11, payload: 'cue 10'}, {start: 11, end: 12, payload: 'cue 11'}, {start: 12, end: 13, payload: 'cue 12'}, {start: 13, end: 14, payload: 'cue 13'}, {start: 14, end: 15, payload: 'cue 14'}, {start: 15, end: 16, payload: 'cue 15'}, {start: 16, end: 17, payload: 'cue 16'}, {start: 17, end: 18, payload: 'cue 17'}, {start: 18, end: 19, payload: 'cue 18'}, {start: 19, end: 20, payload: 'cue 19'}, ]; let parser = new shaka.text.Mp4VttParser(); parser.parseInit(vttInitSegment); let time = {periodStart: 0, segmentStart: 0, segmentEnd: 0}; let result = parser.parseMedia(vttSegNoDuration, time); verifyHelper(cues, result); }); it('accounts for offset', function() { let cues = [ { start: 121.8, end: 125.8, payload: 'It has shed much innocent blood.\n', }, { start: 128, end: 130, payload: 'You\'re a fool for traveling alone,\nso completely unprepared.\n', }, ]; let parser = new shaka.text.Mp4VttParser(); parser.parseInit(vttInitSegment); let time = {periodStart: 10, segmentStart: 0, segmentEnd: 0}; let result = parser.parseMedia(vttSegment, time); verifyHelper(cues, result); }); it('rejects init segment with no vtt', function() { let error = new shaka.util.Error( shaka.util.Error.Severity.CRITICAL, shaka.util.Error.Category.TEXT, shaka.util.Error.Code.INVALID_MP4_VTT); try { new shaka.text.Mp4VttParser().parseInit(audioInitSegment); fail('Mp4 file with no vtt supported'); } catch (e) { shaka.test.Util.expectToEqualError(e, error); } }); function verifyHelper(expected, actual) { expect(actual).toBeTruthy(); expect(actual.length).toBe(expected.length); for (let i = 0; i < actual.length; i++) { expect(actual[i].startTime).toBe(expected[i].start); expect(actual[i].endTime).toBe(expected[i].end); expect(actual[i].payload).toBe(expected[i].payload); if ('line' in expected[i]) { expect(actual[i].line).toBe(expected[i].line); } if ('writingMode' in expected[i]) { expect(actual[i].writingMode).toBe(expected[i].writingMode); } if ('textAlign' in expected[i]) { expect(actual[i].textAlign).toBe(expected[i].textAlign); } if ('size' in expected[i]) { expect(actual[i].size).toBe(expected[i].size); } if ('position' in expected[i]) { expect(actual[i].position).toBe(expected[i].position); } } } });
module.exports = function(grunt) { grunt.config('lintspaces', { all: { src: [ 'Gruntfile.js', 'resources/grunt-configs/*.js', 'omnibus/**/src/*.js', 'testing/jstests/**/*.js' ], options: { editorconfig: '.editorconfig', ignores: ['js-comments'] } } }); grunt.loadNpmTasks('grunt-lintspaces'); };
'use strict'; const express = require('express'); const apiAuth = require('login.dfe.api.auth'); const config = require('./../../infrastructure/config')(); const { asyncWrapper } = require('login.dfe.express-error-handling'); const { deprecate } = require('./../../utils'); const listInvitations = require('./listInvitations'); const getInvitation = require('./getInvitation'); const getInvitationV2 = require('./getInvitationV2'); const putInvitation = require('./putInvitation'); const postMigrateInvitationToUser = require('./migrateInvitationToUser'); const deleteInvitationOrganisation = require('./deleteInvitationOrganisation'); const invitationRoutes = () => { const router = express.Router(); // Add auth middleware. if (config.hostingEnvironment.env !== 'dev') { router.use(apiAuth(router, config)); } // Map routes to functions. router.get('/', asyncWrapper(listInvitations)); router.get('/:inv_id', deprecate('/invitations/v2/:inv_id'), asyncWrapper(getInvitation)); router.get('/v2/:inv_id', asyncWrapper(getInvitationV2)); router.post('/:inv_id/migrate-to-user', asyncWrapper(postMigrateInvitationToUser)); return router; }; const organisationRoutes = () => { const router = express.Router(); // Add auth middleware. if (config.hostingEnvironment.env !== 'dev') { router.use(apiAuth(router, config)); } // Map routes to functions. router.put('/:org_id/invitations/:inv_id', asyncWrapper(putInvitation)); router.delete('/:org_id/invitations/:inv_id', asyncWrapper(deleteInvitationOrganisation)); router.put('/:org_id/services/:svc_id/invitations/:inv_id', asyncWrapper(putInvitation)); return router; }; module.exports = { invitations: invitationRoutes(), organisationInvitations: organisationRoutes(), };
var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; import React, { useEffect, useImperativeHandle, forwardRef } from 'react'; import { Line as G2plotLine } from '@antv/g2plot'; import useChart from '../hooks/useChart'; import { getChart } from '../util'; import { ErrorBoundary } from '../base'; import ChartLoading from '../util/createLoading'; var LineChart = forwardRef(function (props, ref) { var chartRef = props.chartRef, _a = props.style, style = _a === void 0 ? { height: 'inherit', } : _a, className = props.className, loading = props.loading, loadingTemplate = props.loadingTemplate, errorTemplate = props.errorTemplate, rest = __rest(props, ["chartRef", "style", "className", "loading", "loadingTemplate", "errorTemplate"]); var _b = useChart(G2plotLine, rest), chart = _b.chart, container = _b.container; useEffect(function () { getChart(chartRef, chart.current); }, [chart.current]); useImperativeHandle(ref, function () { return ({ getChart: function () { return chart.current; }, }); }); return (React.createElement(ErrorBoundary, { errorTemplate: errorTemplate }, loading && React.createElement(ChartLoading, { loadingTemplate: loadingTemplate }), React.createElement("div", { className: className, style: style, ref: container }))); }); export default LineChart;
define({ "map": { "error": "Impossibile creare la mappa", "licenseError": { "message": "L’account non dispone della licenza per l’uso di app configurabili non pubbliche. È necessario richiedere all’amministratore dell'organizzazione l’assegnazione di un tipo di utente che includa le app essenziali o una licenza aggiuntiva per le app essenziali.", "title": "Non Licenziato" } }, "viewer": { "content_title": "Filtro", "button_text": "Applica", "filterInstructions": "Filtrare il layer specificando valori.", "filterOr": "Una qualsiasi delle seguenti espressioni deve essere vera.", "filterAnd": "Tutte le seguenti espressioni devono essere vere.", "filterNo": "Questa mappa Web non contiene filtri interattivi. Per abilitare le espressioni dei filtri interattivi, selezionare 'Richiedi valori' nella finestra di dialogo dei filtri per le mappe Web. <br><br> Per ulteriori informazioni su come creare un'espressione di filtro interattivo nella mappa Web, visualizzare l'argomento della Guida ${link}.", "filterLink": "http://doc.arcgis.com/en/arcgis-online/use-maps/apply-filters.htm", "errors": { "message": "Problema durante la creazione dell'applicazione dei filtri" } }, "tools": { "toggle": "Attiva/disattiva pannello", "clear": "Cancella", "zoom": "Zoom" }, "legend": { "title": "Legenda" } });
//obsverer object const subNavList = { container: document.querySelector("#subnav"), anchors: null, headers: null, intersectionOptions: { root: this.headers, rootMargin: "-200px", }, observer: null, //initialise method init() { this.handler = this.handler.bind(this); this.setUp(); this.findElements(); this.sections(); }, // handler for entries (e), (o) observer handler(e, o) { e.forEach(entry => { //get anchor href let href = "#" + entry.target.getAttribute("id"), //find the current anchor link = this.anchors.find(a => a.getAttribute("href") === href), //find element that has current active. cActive = document.querySelector(".subnav-link.is-active"); // check if we have an intersection add class if (entry.isIntersecting) { link.classList.add("is-active"); // if current active exists remove else leave null cActive ? cActive.classList.remove("is-active") : null; } else { link.classList.remove("is-active"); } }); }, setUp() { this.observer = new IntersectionObserver( this.handler, this.intersectionOptions ); }, // create array of anchors for active and elements that will be observed. findElements() { this.anchors = [...this.container.querySelectorAll("a")]; this.headers = this.anchors.map(anchor => { let id = anchor.getAttribute("href"); return document.querySelector(id); }); }, // tell the observer what elements to observe the headers (h) sections() { this.headers.forEach(h => { this.observer.observe(h); }); } }; function checkSubNav() { let subnav = $(".subnav"), //the themes navbar osH = $("nav.navbar").outerHeight(), // get the height of the main navbar child = subnav.children().hasClass("fixed-top"); // to check child element has already got class fixed-top. // if themes navbar already has fixed-top no need to check if ($(window).scrollTop() > subnav.offset().top - osH && !child) { subnav.css("height", subnav.children().css("top", osH).outerHeight()); subnav.children().addClass("fixed-top bg-dark"); } else if ($(window).scrollTop() < subnav.offset().top - osH && child) { subnav.css("height", "").children().css("top", ""); subnav.children().removeClass("fixed-top bg-dark sticky"); } } subNavList.init(); checkSubNav(); $(window).on("scroll", checkSubNav); // might need to compare performance using a throttle/debounce
!function(){"use strict";function e(){}let t={};const n=0,r=1,o=2,i=3,a="__preactattr_",s=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,l=[];function c(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}R(c.prototype,{setState(e,t){let n=this.state;this.prevState||(this.prevState=R({},n)),R(n,"function"==typeof e?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),$(this)},forceUpdate(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),I(this,o)},render(){}});const u=[];function d(t,n){let r,o,i,a,s=l;for(a=arguments.length;a-- >2;)u.push(arguments[a]);for(n&&null!=n.children&&(u.length||u.push(n.children),delete n.children);u.length;)if((o=u.pop())&&void 0!==o.pop)for(a=o.length;a--;)u.push(o[a]);else"boolean"==typeof o&&(o=null),(i="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&r?s[s.length-1]+=o:s===l?s=[o]:s.push(o),r=i;let c=new e;return c.nodeName=t,c.children=s,c.attributes=null==n?void 0:n,c.key=null==n?void 0:n.key,c}function p(e){let t=e.parentNode;t&&t.removeChild(e)}function h(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function m(e){let t=R({},e.attributes);t.children=e.children;let n=e.nodeName.defaultProps;if(void 0!==n)for(let e in n)void 0===t[e]&&(t[e]=n[e]);return t}function f(e,o,i,a,s){e._disable||(e._disable=!0,(e.__ref=o.ref)&&delete o.ref,(e.__key=o.key)&&delete o.key,!e.base||s?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(o,a),a&&a!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=a),e.prevProps||(e.prevProps=e.props),e.props=o,e._disable=!1,i!==n&&(i!==r&&!1===t.syncComponentUpdates&&e.base?$(e):I(e,r,s)),e.__ref&&e.__ref(e))}const g={};function b(e,t,n){let r,o=g[e.name];if(e.prototype&&e.prototype.render?(r=new e(t,n),c.call(r,t,n)):((r=new c(t,n)).constructor=e,r.render=T),o)for(let t=o.length;t--;)if(o[t].constructor===e){r.nextBase=o[t].nextBase,o.splice(t,1);break}return r}const y=[];let v=0,w=!1,x=!1;function k(){let e;for(;e=y.pop();)e.componentDidMount&&e.componentDidMount()}function E(e,t,n,r,o,i){v++||(w=null!=o&&void 0!==o.ownerSVGElement,x=null!=e&&!(a in e));let s=S(e,t,n,r,i);return o&&s.parentNode!==o&&o.appendChild(s),--v||(x=!1,i||k()),s}function S(e,t,n,o,s){let l=e,c=w;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||s)?e.nodeValue!=t&&(e.nodeValue=t):(l=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(l,e),C(e,!0))),l[a]=!0,l;let u=t.nodeName;if("function"==typeof u)return function(e,t,n,o){let a=e&&e._component,s=a,l=e,c=a&&e._componentConstructor===t.nodeName,u=c,d=m(t);for(;a&&!u&&(a=a._parentComponent);)u=a.constructor===t.nodeName;a&&u&&(!o||a._component)?(f(a,d,i,n,o),e=a.base):(s&&!c&&(N(s),e=l=null),a=b(t.nodeName,d,n),e&&!a.nextBase&&(a.nextBase=e,l=null),f(a,d,r,n,o),e=a.base,l&&e!==l&&(l._component=null,C(l,!1)));return e}(e,t,n,o);if(w="svg"===u||"foreignObject"!==u&&w,u=String(u),(!e||!h(e,u))&&(l=function(e,t){let n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(u,w),e)){for(;e.firstChild;)l.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(l,e),C(e,!0)}let d=l.firstChild,g=l[a],y=t.children;if(null==g){g=l[a]={};for(let e=l.attributes,t=e.length;t--;)g[e[t].name]=e[t].value}return!x&&y&&1===y.length&&"string"==typeof y[0]&&null!=d&&void 0!==d.splitText&&null==d.nextSibling?d.nodeValue!=y[0]&&(d.nodeValue=y[0]):(y&&y.length||null!=d)&&function(e,t,n,r,o){let i,s,l,c,u,d=e.childNodes,m=[],f={},g=0,b=0,y=d.length,v=0,w=t?t.length:0;if(0!==y)for(let e=0;e<y;e++){let t=d[e],n=t[a],r=w&&n?t._component?t._component.__key:n.key:null;null!=r?(g++,f[r]=t):(n||(void 0!==t.splitText?!o||t.nodeValue.trim():o))&&(m[v++]=t)}if(0!==w)for(let a=0;a<w;a++){c=t[a],u=null;let y=c.key;if(null!=y)g&&void 0!==f[y]&&(u=f[y],f[y]=void 0,g--);else if(!u&&b<v)for(i=b;i<v;i++)if(void 0!==m[i]&&(x=s=m[i],E=o,"string"==typeof(k=c)||"number"==typeof k?void 0!==x.splitText:"string"==typeof k.nodeName?!x._componentConstructor&&h(x,k.nodeName):E||x._componentConstructor===k.nodeName)){u=s,m[i]=void 0,i===v-1&&v--,i===b&&b++;break}u=S(u,c,n,r),l=d[a],u&&u!==e&&u!==l&&(null==l?e.appendChild(u):u===l.nextSibling?p(l):e.insertBefore(u,l))}var x,k,E;if(g)for(let e in f)void 0!==f[e]&&C(f[e],!1);for(;b<=v;)void 0!==(u=m[v--])&&C(u,!1)}(l,y,n,o,x||null!=g.dangerouslySetInnerHTML),function(e,t,n){let r;for(r in n)t&&null!=t[r]||null==n[r]||P(e,r,n[r],n[r]=void 0,w);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||P(e,r,n[r],n[r]=t[r],w)}(l,t.attributes,g),w=c,l}function C(e,t){let n=e._component;n?N(n):(null!=e[a]&&e[a].ref&&e[a].ref(null),!1!==t&&null!=e[a]||p(e),O(e))}function O(e){for(e=e.lastChild;e;){let t=e.previousSibling;C(e,!0),e=t}}function T(e,t,n){return this.constructor(e,n)}function N(e){let t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;let n=e._component;n?N(n):t&&(t[a]&&t[a].ref&&t[a].ref(null),e.nextBase=t,p(t),function(e){let t=e.constructor.name;(g[t]||(g[t]=[])).push(e)}(e),O(t)),e.__ref&&e.__ref(null)}function P(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(let t in n)t in r||(e.style[t]="");for(let t in r)e.style[t]="number"==typeof r[t]&&!1===s.test(t)?r[t]+"px":r[t]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){let o=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,j,o):e.removeEventListener(t,j,o),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)!function(e,t,n){try{e[t]=n}catch(e){}}(e,t,null==r?"":r),null!=r&&!1!==r||e.removeAttribute(t);else{let n=o&&t!==(t=t.replace(/^xlink\:?/,""));null==r||!1===r?n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(n?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function j(e){return this._listeners[e.type](e)}function A(e,t,n){return E(n,e,{},!1,t,!1)}function R(e,t){for(let n in t)e[n]=t[n];return e}const W="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function I(e,t,i,a){if(e._disable)return;let s,l,c,u=e.props,d=e.state,p=e.context,h=e.prevProps||u,g=e.prevState||d,w=e.prevContext||p,x=e.base,S=e.nextBase,O=x||S,T=e._component,P=!1;if(x&&(e.props=h,e.state=g,e.context=w,t!==o&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,d,p)?P=!0:e.componentWillUpdate&&e.componentWillUpdate(u,d,p),e.props=u,e.state=d,e.context=p),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!P){s=e.render(u,d,p),e.getChildContext&&(p=R(R({},p),e.getChildContext()));let o,h,g=s&&s.nodeName;if("function"==typeof g){let t=m(s);(l=T)&&l.constructor===g&&t.key==l.__key?f(l,t,r,p,!1):(o=l,e._component=l=b(g,t,p),l.nextBase=l.nextBase||S,l._parentComponent=e,f(l,t,n,p,!1),I(l,r,i,!0)),h=l.base}else c=O,(o=T)&&(c=e._component=null),(O||t===r)&&(c&&(c._component=null),h=E(c,s,p,i||!x,O&&O.parentNode,!0));if(O&&h!==O&&l!==T){let e=O.parentNode;e&&h!==e&&(e.replaceChild(h,O),o||(O._component=null,C(O,!1)))}if(o&&N(o),e.base=h,h&&!a){let t=e,n=e;for(;n=n._parentComponent;)(t=n).base=h;h._component=t,h._componentConstructor=t.constructor}}if(!x||i?y.unshift(e):P||e.componentDidUpdate&&e.componentDidUpdate(h,g,w),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);v||a||k()}let M=[];function $(e){!e._dirty&&(e._dirty=!0)&&1==M.push(e)&&W(D)}function D(){let e,t=M;for(M=[];e=t.pop();)e._dirty&&I(e)}const B=[];let q={map:(e,t,n)=>null==e?null:(e=q.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)),forEach(e,t,n){if(null==e)return null;e=q.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:e=>e&&e.length||0,only(e){if(1!==(e=q.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:e=>null==e?[]:B.concat(e)};function L(e,t){for(let n in e)if(!(n in t))return!0;for(let n in t)if(e[n]!==t[n])return!0;return!1}function _(e,t){c.call(this,e,t)}function z(){}z.prototype=c.prototype,_.prototype=new z,_.prototype.isPureReactComponent=!0,_.prototype.shouldComponentUpdate=function(e,t){return L(this.props,e)||L(this.state,t)};let H=d;function U(){return null}var F={h:d,createElement:H,cloneElement:function(e,t){return d(e.nodeName,R(R({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)},Component:c,render:A,rerender:D,options:t,Children:q,PureComponent:_,createFactory:function(e){return H.bind(null,e)},isValidElement:function(t){return t&&(t instanceof e||t.$$typeof===REACT_ELEMENT_TYPE)},unmountComponentAtNode:function(e){let t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e||(preactRender(d(U),e,t),0))}};function Y(e){return"/"===e.charAt(0)}function V(e,t){for(let n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const G=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}},K=function(e,t,n,r,o,i,a,s){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}},X=!("undefined"==typeof window||!window.document||!window.document.createElement),J=(e,t,n)=>e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n),Q=(e,t,n)=>e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n),Z=(e,t)=>t(window.confirm(e)),ee=e=>"/"===e.charAt(0)?e:"/"+e,te=e=>"/"===e.charAt(0)?e.substr(1):e,ne=(e,t)=>new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e),re=(e,t)=>ne(e,t)?e.substr(t.length):e,oe=e=>"/"===e.charAt(e.length-1)?e.slice(0,-1):e,ie=e=>{let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));const i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},ae=e=>{const{pathname:t,search:n,hash:r}=e;let o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:`?${n}`),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:`#${r}`),o},se=(e,t,n,r)=>{let o;"string"==typeof e?(o=ie(e)).state=t:(void 0===(o={...e}).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(e,t=""){const n=e&&e.split("/")||[];let r=t&&t.split("/")||[];const o=e&&Y(e),i=t&&Y(t),a=o||i;if(e&&Y(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";let s;if(r.length){const e=r[r.length-1];s="."===e||".."===e||""===e}else s=!1;let l=0;for(let e=r.length;e>=0;e--){const t=r[e];"."===t?V(r,e):".."===t?(V(r,e),l++):l&&(V(r,e),l--)}if(!a)for(;l--;l)r.unshift("..");!a||""===r[0]||r[0]&&Y(r[0])||r.unshift("");let c=r.join("/");return s&&"/"!==c.substr(-1)&&(c+="/"),c}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o},le=(e,t)=>e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});const r=typeof t;if(r!==typeof n)return!1;if("object"===r){const r=t.valueOf(),o=n.valueOf();if(r!==t||o!==n)return e(r,o);const i=Object.keys(t),a=Object.keys(n);return i.length===a.length&&i.every(function(r){return e(t[r],n[r])})}return!1}(e.state,t.state),ce=()=>{let e=null,t=[];return{setPrompt:t=>(G(null==e,"A history supports only one prompt at a time"),e=t,()=>{e===t&&(e=null)}),confirmTransitionTo:(t,n,r,o)=>{if(null!=e){const i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):(G(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==i)}else o(!0)},appendListener:e=>{let n=!0;const r=(...t)=>{n&&e(...t)};return t.push(r),()=>{n=!1,t=t.filter(e=>e!==r)}},notifyListeners:(...e)=>{t.forEach(t=>t(...e))}}},ue=()=>{try{return window.history.state||{}}catch(e){return{}}},de=(e={})=>{K(X,"Browser history needs a DOM");const t=window.history,n=(()=>{const e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history})(),r=!(()=>-1===window.navigator.userAgent.indexOf("Trident"))(),{forceRefresh:o=!1,getUserConfirmation:i=Z,keyLength:a=6}=e,s=e.basename?oe(ee(e.basename)):"",l=e=>{const{key:t,state:n}=e||{},{pathname:r,search:o,hash:i}=window.location;let a=r+o+i;return G(!s||ne(a,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+s+'".'),s&&(a=re(a,s)),se(a,n,t)},c=()=>Math.random().toString(36).substr(2,a),u=ce(),d=e=>{Object.assign(S,e),S.length=t.length,u.notifyListeners(S.location,S.action)},p=e=>{(e=>void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS"))(e)||f(l(e.state))},h=()=>{f(l(ue()))};let m=!1;const f=e=>{m?(m=!1,d()):u.confirmTransitionTo(e,"POP",i,t=>{t?d({action:"POP",location:e}):g(e)})},g=e=>{const t=S.location;let n=y.indexOf(t.key);-1===n&&(n=0);let r=y.indexOf(e.key);-1===r&&(r=0);const o=n-r;o&&(m=!0,w(o))},b=l(ue());let y=[b.key];const v=e=>s+ae(e),w=e=>{t.go(e)};let x=0;const k=e=>{1===(x+=e)?(J(window,"popstate",p),r&&J(window,"hashchange",h)):0===x&&(Q(window,"popstate",p),r&&Q(window,"hashchange",h))};let E=!1;const S={length:t.length,action:"POP",location:b,createHref:v,push:(e,r)=>{G(!("object"==typeof e&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const a=se(e,r,c(),S.location);u.confirmTransitionTo(a,"PUSH",i,e=>{if(!e)return;const r=v(a),{key:i,state:s}=a;if(n)if(t.pushState({key:i,state:s},null,r),o)window.location.href=r;else{const e=y.indexOf(S.location.key),t=y.slice(0,-1===e?0:e+1);t.push(a.key),y=t,d({action:"PUSH",location:a})}else G(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r})},replace:(e,r)=>{G(!("object"==typeof e&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const a=se(e,r,c(),S.location);u.confirmTransitionTo(a,"REPLACE",i,e=>{if(!e)return;const r=v(a),{key:i,state:s}=a;if(n)if(t.replaceState({key:i,state:s},null,r),o)window.location.replace(r);else{const e=y.indexOf(S.location.key);-1!==e&&(y[e]=a.key),d({action:"REPLACE",location:a})}else G(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)})},go:w,goBack:()=>w(-1),goForward:()=>w(1),block:(e=!1)=>{const t=u.setPrompt(e);return E||(k(1),E=!0),()=>(E&&(E=!1,k(-1)),t())},listen:e=>{const t=u.appendListener(e);return k(1),()=>{k(-1),t()}}};return S},pe={hashbang:{encodePath:e=>"!"===e.charAt(0)?e:"!/"+te(e),decodePath:e=>"!"===e.charAt(0)?e.substr(1):e},noslash:{encodePath:te,decodePath:ee},slash:{encodePath:ee,decodePath:ee}},he=()=>{const e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},me=e=>{const t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},fe=(e={})=>{K(X,"Hash history needs a DOM");const t=window.history,n=(()=>-1===window.navigator.userAgent.indexOf("Firefox"))(),{getUserConfirmation:r=Z,hashType:o="slash"}=e,i=e.basename?oe(ee(e.basename)):"",{encodePath:a,decodePath:s}=pe[o],l=()=>{let e=s(he());return G(!i||ne(e,i),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+i+'".'),i&&(e=re(e,i)),se(e)},c=ce(),u=e=>{Object.assign(S,e),S.length=t.length,c.notifyListeners(S.location,S.action)};let d=!1,p=null;const h=()=>{const e=he(),t=a(e);if(e!==t)me(t);else{const e=l(),t=S.location;if(!d&&le(t,e))return;if(p===ae(e))return;p=null,m(e)}},m=e=>{d?(d=!1,u()):c.confirmTransitionTo(e,"POP",r,t=>{t?u({action:"POP",location:e}):f(e)})},f=e=>{const t=S.location;let n=v.lastIndexOf(ae(t));-1===n&&(n=0);let r=v.lastIndexOf(ae(e));-1===r&&(r=0);const o=n-r;o&&(d=!0,w(o))},g=he(),b=a(g);g!==b&&me(b);const y=l();let v=[ae(y)];const w=e=>{G(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)};let x=0;const k=e=>{1===(x+=e)?J(window,"hashchange",h):0===x&&Q(window,"hashchange",h)};let E=!1;const S={length:t.length,action:"POP",location:y,createHref:e=>"#"+a(i+ae(e)),push:(e,t)=>{G(void 0===t,"Hash history cannot push state; it is ignored");const n=se(e,void 0,void 0,S.location);c.confirmTransitionTo(n,"PUSH",r,e=>{if(!e)return;const t=ae(n),r=a(i+t);if(he()!==r){p=t,(e=>window.location.hash=e)(r);const e=v.lastIndexOf(ae(S.location)),o=v.slice(0,-1===e?0:e+1);o.push(t),v=o,u({action:"PUSH",location:n})}else G(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),u()})},replace:(e,t)=>{G(void 0===t,"Hash history cannot replace state; it is ignored");const n=se(e,void 0,void 0,S.location);c.confirmTransitionTo(n,"REPLACE",r,e=>{if(!e)return;const t=ae(n),r=a(i+t);he()!==r&&(p=t,me(r));const o=v.indexOf(ae(S.location));-1!==o&&(v[o]=t),u({action:"REPLACE",location:n})})},go:w,goBack:()=>w(-1),goForward:()=>w(1),block:(e=!1)=>{const t=c.setPrompt(e);return E||(k(1),E=!0),()=>(E&&(E=!1,k(-1)),t())},listen:e=>{const t=c.appendListener(e);return k(1),()=>{k(-1),t()}}};return S},ge=(e,t,n)=>Math.min(Math.max(e,t),n),be=(e={})=>{const{getUserConfirmation:t,initialEntries:n=["/"],initialIndex:r=0,keyLength:o=6}=e,i=ce(),a=e=>{Object.assign(p,e),p.length=p.entries.length,i.notifyListeners(p.location,p.action)},s=()=>Math.random().toString(36).substr(2,o),l=ge(r,0,n.length-1),c=n.map(e=>se(e,void 0,"string"==typeof e?s():e.key||s())),u=ae,d=e=>{const n=ge(p.index+e,0,p.entries.length-1),r=p.entries[n];i.confirmTransitionTo(r,"POP",t,e=>{e?a({action:"POP",location:r,index:n}):a()})},p={length:c.length,action:"POP",location:c[l],index:l,entries:c,createHref:u,push:(e,n)=>{G(!("object"==typeof e&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const r=se(e,n,s(),p.location);i.confirmTransitionTo(r,"PUSH",t,e=>{if(!e)return;const t=p.index+1,n=p.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),a({action:"PUSH",location:r,index:t,entries:n})})},replace:(e,n)=>{G(!("object"==typeof e&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const r=se(e,n,s(),p.location);i.confirmTransitionTo(r,"REPLACE",t,e=>{e&&(p.entries[p.index]=r,a({action:"REPLACE",location:r}))})},go:d,goBack:()=>d(-1),goForward:()=>d(1),canGo:e=>{const t=p.index+e;return t>=0&&t<p.entries.length},block:(e=!1)=>i.setPrompt(e),listen:e=>i.appendListener(e)};return p};let ye;function ve(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e,t,n){if(e.hasOwnProperty(t)){const r={},o=e[t],i=ve(t),a=Object.keys(n);for(let e=0;e<a.length;e++){const s=a[e];if(s===t)for(let e=0;e<o.length;e++)r[o[e]+i]=n[t];r[s]=n[s]}return r}return n}function xe(e,t,n,r,o){for(let o=0,i=e.length;o<i;++o){const i=e[o](t,n,r,o);if(i)return i}}function ke(e,t){-1===e.indexOf(t)&&e.push(t)}function Ee(e,t){if(Array.isArray(t))for(let n=0,r=t.length;n<r;++n)ke(e,t[n]);else ke(e,t)}function Se(e){return e instanceof Object&&!Array.isArray(e)}function Ce(e){return"string"==typeof e&&/-webkit-|-moz-|-ms-/.test(e)}function Oe(e){return function(e){let t={};return e in t?t[e]:t[e]=e.replace(/[A-Z]/g,"-$&").toLowerCase().replace(/^ms-/,"-ms-")}(e)}ye||(ye={env:{NODE_ENV:"production"}});let Te,Ne={plugins:[function(e,t){if("string"==typeof t&&!Ce(t)&&t.indexOf("calc(")>-1)return["-webkit-","-moz-",""].map(e=>t.replace(/calc\(/g,`${e}calc(`))},function(e,t){if("string"==typeof t&&!Ce(t)&&t.indexOf("cross-fade(")>-1)return["-webkit-",""].map(e=>t.replace(/cross-fade\(/g,`${e}cross-fade(`))},function(e,t){if("cursor"===e&&{"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}.hasOwnProperty(t))return["-webkit-","-moz-",""].map(e=>e+t)},function(e,t){if("string"==typeof t&&!Ce(t)&&t.indexOf("filter(")>-1)return["-webkit-",""].map(e=>t.replace(/filter\(/g,`${e}filter(`))},function(e,t){let n={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};if("display"===e&&n.hasOwnProperty(t))return n[t]},function(e,t,n){let r={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"};r.hasOwnProperty(e)&&(n[r[e]]={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"}[t]||t)},function(e,t,n){let r={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),r.hasOwnProperty(e)&&(n[r[e]]={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"}[t]||t)},function(e,t){if("string"==typeof t&&!Ce(t)&&/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/.test(t))return["-webkit-","-moz-",""].map(e=>e+t)},function(e,t){if("string"==typeof t&&!Ce(t)&&t.indexOf("image-set(")>-1)return["-webkit-",""].map(e=>t.replace(/image-set\(/g,`${e}image-set(`))},function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]},function(e,t){if({maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0}.hasOwnProperty(e)&&{"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}.hasOwnProperty(t))return["-webkit-","-moz-",""].map(e=>e+t)},function(e,t,n,r){let o={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};if("string"==typeof t&&{transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0}.hasOwnProperty(e)){const i=function(e,t){if(Ce(e))return e;const n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);for(let e=0,r=n.length;e<r;++e){const r=n[e],i=[r];for(const e in t){const n=Oe(e);if(r.indexOf(n)>-1&&"order"!==n){const a=t[e];for(let e=0,t=a.length;e<t;++e)i.unshift(r.replace(n,o[a[e]]+n))}}n[e]=i.join(",")}return n.join(",")}(t,r),a=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(e=>!/-moz-|-ms-/.test(e)).join(",");if(e.indexOf("Webkit")>-1)return a;const s=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(e=>!/-webkit-|-ms-/.test(e)).join(",");return e.indexOf("Moz")>-1?s:(n[`Webkit${ve(e)}`]=a,n[`Moz${ve(e)}`]=s,i)}}],prefixMap:{transform:["Webkit","ms"],transformOrigin:["Webkit","ms"],transformOriginX:["Webkit","ms"],transformOriginY:["Webkit","ms"],backfaceVisibility:["Webkit"],perspective:["Webkit"],perspectiveOrigin:["Webkit"],transformStyle:["Webkit"],transformOriginZ:["Webkit"],animation:["Webkit"],animationDelay:["Webkit"],animationDirection:["Webkit"],animationFillMode:["Webkit"],animationDuration:["Webkit"],animationIterationCount:["Webkit"],animationName:["Webkit"],animationPlayState:["Webkit"],animationTimingFunction:["Webkit"],appearance:["Webkit","Moz"],userSelect:["Webkit","Moz","ms"],fontKerning:["Webkit"],textEmphasisPosition:["Webkit"],textEmphasis:["Webkit"],textEmphasisStyle:["Webkit"],textEmphasisColor:["Webkit"],boxDecorationBreak:["Webkit"],clipPath:["Webkit"],maskImage:["Webkit"],maskMode:["Webkit"],maskRepeat:["Webkit"],maskPosition:["Webkit"],maskClip:["Webkit"],maskOrigin:["Webkit"],maskSize:["Webkit"],maskComposite:["Webkit"],mask:["Webkit"],maskBorderSource:["Webkit"],maskBorderMode:["Webkit"],maskBorderSlice:["Webkit"],maskBorderWidth:["Webkit"],maskBorderOutset:["Webkit"],maskBorderRepeat:["Webkit"],maskBorder:["Webkit"],maskType:["Webkit"],textDecorationStyle:["Webkit","Moz"],textDecorationSkip:["Webkit","Moz"],textDecorationLine:["Webkit","Moz"],textDecorationColor:["Webkit","Moz"],filter:["Webkit"],fontFeatureSettings:["Webkit","Moz"],breakAfter:["Webkit","Moz","ms"],breakBefore:["Webkit","Moz","ms"],breakInside:["Webkit","Moz","ms"],columnCount:["Webkit","Moz"],columnFill:["Webkit","Moz"],columnGap:["Webkit","Moz"],columnRule:["Webkit","Moz"],columnRuleColor:["Webkit","Moz"],columnRuleStyle:["Webkit","Moz"],columnRuleWidth:["Webkit","Moz"],columns:["Webkit","Moz"],columnSpan:["Webkit","Moz"],columnWidth:["Webkit","Moz"],flex:["Webkit","ms"],flexBasis:["Webkit"],flexDirection:["Webkit","ms"],flexGrow:["Webkit"],flexFlow:["Webkit","ms"],flexShrink:["Webkit"],flexWrap:["Webkit","ms"],alignContent:["Webkit"],alignItems:["Webkit"],alignSelf:["Webkit"],justifyContent:["Webkit"],order:["Webkit"],transitionDelay:["Webkit"],transitionDuration:["Webkit"],transitionProperty:["Webkit"],transitionTimingFunction:["Webkit"],backdropFilter:["Webkit"],scrollSnapType:["Webkit","ms"],scrollSnapPointsX:["Webkit","ms"],scrollSnapPointsY:["Webkit","ms"],scrollSnapDestination:["Webkit","ms"],scrollSnapCoordinate:["Webkit","ms"],shapeImageThreshold:["Webkit"],shapeImageMargin:["Webkit"],shapeImageOutside:["Webkit"],hyphens:["Webkit","Moz","ms"],flowInto:["Webkit","ms"],flowFrom:["Webkit","ms"],regionFragment:["Webkit","ms"],boxSizing:["Moz"],textAlignLast:["Moz"],tabSize:["Moz"],wrapFlow:["ms"],wrapThrough:["ms"],wrapMargin:["ms"],touchAction:["ms"],gridTemplateColumns:["ms"],gridTemplateRows:["ms"],gridTemplateAreas:["ms"],gridTemplate:["ms"],gridAutoColumns:["ms"],gridAutoRows:["ms"],gridAutoFlow:["ms"],grid:["ms"],gridRowStart:["ms"],gridColumnStart:["ms"],gridRowEnd:["ms"],gridRow:["ms"],gridColumn:["ms"],gridColumnEnd:["ms"],gridColumnGap:["ms"],gridRowGap:["ms"],gridArea:["ms"],gridGap:["ms"],textSizeAdjust:["Webkit","ms"],borderImage:["Webkit"],borderImageOutset:["Webkit"],borderImageRepeat:["Webkit"],borderImageSlice:["Webkit"],borderImageSource:["Webkit"],borderImageWidth:["Webkit"]}};if("undefined"!=typeof window){let e,t=[],n=!1,r=0,o=1024,i="undefined"!=typeof global?global:self,a=i.MutationObserver||i.WebKitMutationObserver,s=function(){for(;r<t.length;){var e=r;if(r+=1,t[e].call(),r>o){for(var i=0,a=t.length-r;i<a;i++)t[i]=t[i+r];t.length-=r,r=0}}t.length=0,r=0,n=!1},l=function(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}};e="function"==typeof a?function(e){var t=1,n=new a(s),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}():l(s);let c=function(r){t.length||(e(),n=!0),t[t.length]=r};c.requestFlush=e,c.makeRequestCallFromTimer=l;let u=[],d=[],p=function(){if(d.length)throw d.shift()},h=c.makeRequestCallFromTimer(p),m=function(){this.task=null};m.prototype.call=function(){try{this.task.call()}catch(e){Te.onerror?Te.onerror(e):(d.push(e),h())}finally{this.task=null,u[u.length]=this}},Te=function(e){var t;(t=u.length?u.pop():new m).task=e,c(t)}}else{let e,t="function"==typeof setImmediate,n=[],r=!1,o=0,i=1024,a=function(){for(;o<n.length;){var e=o;if(o+=1,n[e].call(),o>i){for(var t=0,a=n.length-o;t<a;t++)n[t]=n[t+o];n.length-=o,o=0}}n.length=0,o=0,r=!1},s=function(){var n=ye.domain;n&&(e||(e=require("domain")),e.active=ye.domain=null),r&&t?setImmediate(a):ye.nextTick(a),n&&(e.active=ye.domain=n)},l=function(e){n.length||(s(),r=!0),n[n.length]=e};l.requestFlush=s;let c=[],u=function(){this.task=null,this.domain=null};u.prototype.call=function(){this.domain&&this.domain.enter();var e=!0;try{this.task.call(),e=!1,this.domain&&this.domain.exit()}finally{e&&l.requestFlush(),this.task=null,this.domain=null,c.push(this)}},Te=function(e){var t;(t=c.length?c.pop():new u).task=e,t.domain=ye.domain,l(t)}}const Pe="undefined"!=typeof Map;class je{constructor(){this.elements={},this.keyOrder=[]}forEach(e){for(let t=0;t<this.keyOrder.length;t++)e(this.elements[this.keyOrder[t]],this.keyOrder[t])}set(e,t,n){if(this.elements.hasOwnProperty(e)){if(n){const t=this.keyOrder.indexOf(e);this.keyOrder.splice(t,1),this.keyOrder.push(e)}}else this.keyOrder.push(e);if(null!=t){if(Pe&&t instanceof Map||t instanceof je){const r=this.elements.hasOwnProperty(e)?this.elements[e]:new je;return t.forEach((e,t)=>{r.set(t,e,n)}),void(this.elements[e]=r)}if(Array.isArray(t)||"object"!=typeof t)this.elements[e]=t;else{const r=this.elements.hasOwnProperty(e)?this.elements[e]:new je,o=Object.keys(t);for(let e=0;e<o.length;e+=1)r.set(o[e],t[o[e]],n);this.elements[e]=r}}else this.elements[e]=t}get(e){return this.elements[e]}has(e){return this.elements.hasOwnProperty(e)}addStyleType(e){if(Pe&&e instanceof Map||e instanceof je)e.forEach((e,t)=>{this.set(t,e,!0)});else{const t=Object.keys(e);for(let n=0;n<t.length;n++)this.set(t[n],e[t[n]],!0)}}}const Ae=/([A-Z])/g,Re=e=>`-${e.toLowerCase()}`,We={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const Ie=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(e){Ie.forEach(function(t){We[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=We[e]})});const Me=(e,t)=>"number"==typeof t?We[e]?""+t:t+"px":""+t,$e=(e,t)=>Be(Me(e,t)),De=e=>(function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0})(e).toString(36),Be=e=>"!"===e[e.length-10]&&" !important"===e.slice(-11)?e:`${e} !important`;let qe=null;const Le={fontFamily:function e(t){return Array.isArray(t)?t.map(e).join(","):"object"==typeof t?(Fe(t.src,"@font-face",[t],!1),`"${t.fontFamily}"`):t},animationName:function e(t,n){if(Array.isArray(t))return t.map(t=>e(t,n)).join(",");if("object"==typeof t){const e=`keyframe_${(e=>De(JSON.stringify(e)))(t)}`;let r=`@keyframes ${e}{`;return t instanceof je?t.forEach((e,t)=>{r+=Ze(t,[e],n,Le,!1)}):Object.keys(t).forEach(e=>{r+=Ze(e,[t[e]],n,Le,!1)}),Ue(e,r+="}"),e}return t}};let _e={},ze="",He=!1;const Ue=(e,t)=>{if(!_e[e]){if(!He){if("undefined"==typeof document)throw new Error("Cannot automatically buffer without a document");He=!0,Te(Ke)}ze+=t,_e[e]=!0}},Fe=(e,t,n,r,o=[])=>{if(_e[e])return;const i=Ze(t,n,o,Le,r);Ue(e,i)},Ye=()=>{ze="",_e={},He=!1,qe=null},Ve=()=>{if(He)throw new Error("Cannot buffer while already buffering");He=!0},Ge=()=>{He=!1;const e=ze;return ze="",e},Ke=()=>{const e=Ge();e.length>0&&(e=>{if(null==qe&&null==(qe=document.querySelector("style[data-aphrodite]"))){const e=document.head||document.getElementsByTagName("head")[0];(qe=document.createElement("style")).type="text/css",qe.setAttribute("data-aphrodite",""),e.appendChild(qe)}qe.styleSheet?qe.styleSheet.cssText+=e:qe.appendChild(document.createTextNode(e))})(e)},Xe=()=>Object.keys(_e),Je=(e,t)=>{for(let n=0;n<e.length;n+=1)e[n]&&(Array.isArray(e[n])?Je(e[n],t):(t.classNameBits.push(e[n]._name),t.definitionBits.push(e[n]._definition)))},Qe=function({prefixMap:e,plugins:t}){return function n(r){for(const o in r){const i=r[o];if(Se(i))r[o]=n(i);else if(Array.isArray(i)){const e=[];for(let n=0,a=i.length;n<a;++n)Ee(e,xe(t,o,i[n],r)||i[n]);e.length>0&&(r[o]=e)}else{const n=xe(t,o,i,r);n&&(r[o]=n),r=we(e,o,r)}}return r}}(Ne),Ze=(e,t,n,r,o)=>{const i=new je;for(let e=0;e<t.length;e++)i.addStyleType(t[e]);const a=new je;let s="";return i.forEach((t,i)=>{n.some(a=>{const l=a(i,e,e=>Ze(e,[t],n,r,o));if(null!=l)return s+=l,!0})||a.set(i,t,!0)}),tt(e,a,r,o,n)+s},et=(e,t,n)=>`${(e=>{const t=e.replace(Ae,Re);return"m"===t[0]&&"s"===t[1]&&"-"===t[2]?`-${t}`:t})(e)}:${n(e,t)};`,tt=(e,t,n,r,o)=>{((e,t,n)=>{if(!t)return;const r=Object.keys(t);for(let o=0;o<r.length;o++){const i=r[o];e.has(i)&&e.set(i,t[i](e.get(i),n),!1)}})(t,n,o);const i={...t.elements},a=Qe(t.elements),s=Object.keys(a);if(s.length!==t.keyOrder.length)for(let e=0;e<s.length;e++){let n;if(!i.hasOwnProperty(s[e]))if((n="W"===s[e][0]?s[e][6].toLowerCase()+s[e].slice(7):"o"===s[e][1]?s[e][3].toLowerCase()+s[e].slice(4):s[e][2].toLowerCase()+s[e].slice(3))&&i.hasOwnProperty(n)){const r=t.keyOrder.indexOf(n);t.keyOrder.splice(r,0,s[e])}else t.keyOrder.unshift(s[e])}const l=!1===r?Me:$e,c=[];for(let e=0;e<t.keyOrder.length;e++){const n=t.keyOrder[e],r=a[n];if(Array.isArray(r))for(let e=0;e<r.length;e++)c.push(et(n,r[e],l));else c.push(et(n,r,l))}return c.length?`${e}{${c.join("")}}`:""},nt={create:e=>((e,t)=>{const n=Object.keys(e),r={};for(let o=0;o<n.length;o+=1){const[i,a]=t([n[o],e[n[o]]]);r[i]=a}return r})(e,([e,t])=>{const n=JSON.stringify(t);return[e,{_len:n.length,_name:De(n),_definition:t}]}),rehydrate(e=[]){e.forEach(e=>{_e[e]=!0})}},rt={renderStatic:e=>(Ye(),Ve(),{html:e(),css:{content:Ge(),renderedClassNames:Xe()}})},ot={suppressStyleInjection(){Ye(),Ve()},clearBufferAndResumeStyleInjection(){Ye()}},it=(e,t)=>({StyleSheet:{...nt,extend(n){const r=n.map(e=>e.selectorHandler).filter(e=>e);return it(e,t.concat(r))}},StyleSheetServer:rt,StyleSheetTestUtils:ot,css:(...n)=>((e,t,n)=>{const r={classNameBits:[],definitionBits:[]};if(Je(t,r),0===r.classNameBits.length)return"";let o;return o=1===r.classNameBits.length?`_${r.classNameBits[0]}`:`_${De(r.classNameBits.join())}${(e=>(e.reduce((e,t)=>e+(t?t._len:0),0)%36).toString(36))(t)}`,Fe(o,`.${o}`,r.definitionBits,e,n),o})(e,n,t)});let at=it(!1,[function(e,t,n){return":"!==e[0]?null:n(t+e)},function(e,t,n){return"@"!==e[0]?null:`${e}{${n(t)}}`}]),st=at.StyleSheet,lt=at.css;const ct="@@router/CALL_HISTORY_METHOD",ut="@@router/LOCATION_CHANGE";function dt(e){return function(){return e}}var pt=function(){};pt.thatReturns=dt,pt.thatReturnsFalse=dt(!1),pt.thatReturnsTrue=dt(!0),pt.thatReturnsNull=dt(null),pt.thatReturnsThis=function(){return this},pt.thatReturnsArgument=function(e){return e};var ht=pt,mt=function(e){};mt=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")};var ft,gt=function(e,t,n,r,o,i,a,s){if(mt(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}},bt=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}}).apply(void 0,[t].concat(r))}},yt=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,xt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))vt.call(n,a)&&(o[a]=n[a]);if(yt){r=yt(n);for(var s=0;s<r.length;s++)wt.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},kt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Et=gt,St=bt,Ct=kt,Ot={},Tt=function(e,t,n,r,o){for(var i in e)if(e.hasOwnProperty(i)){var a;try{Et("function"==typeof e[i],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",r||"React class",n,i,typeof e[i]),a=e[i](t,i,r,n,null,Ct)}catch(e){a=e}if(St(!a||a instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof a),a instanceof Error&&!(a.message in Ot)){Ot[a.message]=!0;var s=o?o():"";St(!1,"Failed %s type: %s%s",n,a.message,null!=s?s:"")}}},Nt=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function r(e){this.message=e,this.stack=""}function o(e){function n(n,a,s,l,c,u,d){if(l=l||p,u=u||s,d!==kt)if(t)gt(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("undefined"!=typeof console){var h=l+":"+s;!o[h]&&i<3&&(bt(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",u,l),o[h]=!0,i++)}return null==a[s]?n?new r(null===a[s]?"The "+c+" `"+u+"` is marked as required in `"+l+"`, but its value is `null`.":"The "+c+" `"+u+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,c,u)}var o={},i=0,a=n.bind(null,!1);return a.isRequired=n.bind(null,!0),a}function i(e){return o(function(t,n,o,i,a,c){var u=t[n];return s(u)!==e?new r("Invalid "+i+" `"+a+"` of type `"+l(u)+"` supplied to `"+o+"`, expected `"+e+"`."):null})}function a(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(a);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e[d]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!a(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!a(i[1]))return!1}return!0;default:return!1}}function s(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function l(e){if(null==e)return""+e;var t=s(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function c(e){var t=l(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",p="<<anonymous>>",h={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:o(ht.thatReturnsNull),arrayOf:function(e){return o(function(t,n,o,i,a){if("function"!=typeof e)return new r("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new r("Invalid "+i+" `"+a+"` of type `"+s(l)+"` supplied to `"+o+"`, expected an array.");for(var c=0;c<l.length;c++){var u=e(l,c,o,i,a+"["+c+"]",kt);if(u instanceof Error)return u}return null})},element:o(function(t,n,o,i,a){var l=t[n];return e(l)?null:new r("Invalid "+i+" `"+a+"` of type `"+s(l)+"` supplied to `"+o+"`, expected a single ReactElement.")}),instanceOf:function(e){return o(function(t,n,o,i,a){if(!(t[n]instanceof e)){var s=e.name||p;return new r("Invalid "+i+" `"+a+"` of type `"+function(e){return e.constructor&&e.constructor.name?e.constructor.name:p}(t[n])+"` supplied to `"+o+"`, expected instance of `"+s+"`.")}return null})},node:o(function(e,t,n,o,i){return a(e[t])?null:new r("Invalid "+o+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return o(function(t,n,o,i,a){if("function"!=typeof e)return new r("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[n],c=s(l);if("object"!==c)return new r("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected an object.");for(var u in l)if(l.hasOwnProperty(u)){var d=e(l,u,o,i,a+"."+u,kt);if(d instanceof Error)return d}return null})},oneOf:function(e){return Array.isArray(e)?o(function(t,o,i,a,s){for(var l=t[o],c=0;c<e.length;c++)if(n(l,e[c]))return null;return new r("Invalid "+a+" `"+s+"` of value `"+l+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}):(bt(!1,"Invalid argument supplied to oneOf, expected an instance of array."),ht.thatReturnsNull)},oneOfType:function(e){if(!Array.isArray(e))return bt(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),ht.thatReturnsNull;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return bt(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",c(n),t),ht.thatReturnsNull}return o(function(t,n,o,i,a){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,o,i,a,kt))return null;return new r("Invalid "+i+" `"+a+"` supplied to `"+o+"`.")})},shape:function(e){return o(function(t,n,o,i,a){var l=t[n],c=s(l);if("object"!==c)return new r("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var p=d(l,u,o,i,a+"."+u,kt);if(p)return p}}return null})},exact:function(e){return o(function(t,n,o,i,a){var l=t[n],c=s(l);if("object"!==c)return new r("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");var u=xt({},t[n],e);for(var d in u){var p=e[d];if(!p)return new r("Invalid "+i+" `"+a+"` key `"+d+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(l,d,o,i,a+"."+d,kt);if(h)return h}return null})}};return r.prototype=Error.prototype,h.checkPropTypes=Tt,h.PropTypes=h,h},Pt=(function(e){var t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=Nt(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},!0)}(ft={exports:{}},ft.exports),ft.exports);Pt.node;function jt(e){return null==e?void 0===e?Ut:Ht:zt&&zt in Object(e)?function(e){var t=_t.call(e,zt),n=e[zt];try{e[zt]=void 0;var r=!0}catch(e){}var o=Lt.call(e);return r&&(t?e[zt]=n:delete e[zt]),o}(e):function(e){return Lt.call(e)}(e)}function At(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||jt(e)!=Yt)return!1;var t=Ft(e);if(null===t)return!0;var n=_t.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Kt.call(n)==Xt}function Rt(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function Wt(e,t){return function(){return t(e.apply(this,arguments))}}function It(e,t){if("function"==typeof e)return Wt(e,t);if("object"!=typeof e||null===e)throw new Error(`bindActionCreators expected an object or a function, instead received ${null===e?"null":typeof e}. `+'Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');const n=Object.keys(e),r={};for(let o=0;o<n.length;o++){const i=n[o],a=e[i];"function"==typeof a&&(r[i]=Wt(a,t))}return r}function Mt(e,t,n){function r(){u===c&&(u=c.slice())}function o(){return l}function i(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");let t=!0;return r(),u.push(e),function(){if(!t)return;t=!1,r();const n=u.indexOf(e);u.splice(n,1)}}function a(e){if(!At(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,l=s(l,e)}finally{d=!1}const t=c=u;for(let e=0;e<t.length;e++)(0,t[e])();return e}if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Mt)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");let s=e,l=t,c=[],u=c,d=!1;return a({type:Qt.INIT}),{dispatch:a,subscribe:i,getState:o,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");s=e,a({type:Qt.INIT})},[Jt]:function(){const e=i;return{subscribe(t){function n(){t.next&&t.next(o())}if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:e(n)}},[Jt](){return this}}}}}function $t(e,t){const n=t&&t.type;return`Given ${n&&`action "${String(n)}"`||"an action"}, reducer "${e}" returned undefined. `+"To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined."}var Dt="object"==typeof global&&global&&global.Object===Object&&global,Bt="object"==typeof self&&self&&self.Object===Object&&self,qt=(Dt||Bt||Function("return this")()).Symbol,Lt=(Gt=Object.prototype).toString,_t=Gt.hasOwnProperty,zt=(Lt=Gt.toString,qt?qt.toStringTag:void 0),Ht="[object Null]",Ut="[object Undefined]",Ft=(zt=qt?qt.toStringTag:void 0,function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object)),Yt="[object Object]",Vt=Function.prototype,Gt=Object.prototype,Kt=Vt.toString,Xt=(_t=Gt.hasOwnProperty,Kt.call(Object)),Jt=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")());const Qt={INIT:"@@redux/INIT"};function Zt(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function en(e,t){if(Zt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!fn.call(t,n[r])||!Zt(e[n[r]],t[n[r]]))return!1;return!0}function tn(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function nn(e){return null==e?void 0===e?Cn:Sn:En&&En in Object(e)?function(e){var t=kn.call(e,En),n=e[En];try{e[En]=void 0;var r=!0}catch(e){}var o=xn.call(e);return r&&(t?e[En]=n:delete e[En]),o}(e):function(e){return xn.call(e)}(e)}function rn(e,t,n){(function(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||nn(e)!=On)return!1;var t=vn(e);if(null===t)return!0;var n=kn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Tn.call(n)==Nn})(e)||tn(`${n}() in ${t} must return a plain object. Instead received ${e}.`)}function on(){}function an(e,{getDisplayName:t=(e=>`ConnectAdvanced(${e})`),methodName:n="connectAdvanced",renderCountProp:r,shouldHandleStateChanges:o=!0,storeKey:i="store",withRef:a=!1,...s}={}){const l=i+"Subscription",u=_n++,d={[i]:dn,[l]:un},p={[l]:un};return function(h){Ln("function"==typeof h,"You must pass a component to the function returned by "+`connect. Instead received ${JSON.stringify(h)}`);const m=h.displayName||h.name||"Component",f=t(m),g={...s,getDisplayName:t,methodName:n,renderCountProp:r,shouldHandleStateChanges:o,storeKey:i,withRef:a,displayName:f,wrappedComponentName:m,WrappedComponent:h};class b extends c{constructor(e,t){super(e,t),this.version=u,this.state={},this.renderCount=0,this.store=e[i]||t[i],this.propsMode=Boolean(e[i]),this.setWrappedInstance=this.setWrappedInstance.bind(this),Ln(this.store,`Could not find "${i}" in either the context or props of `+`"${f}". Either wrap the root component in a <Provider>, `+`or explicitly pass "${i}" as a prop to "${f}".`),this.initSelector(),this.initSubscription()}getChildContext(){const e=this.propsMode?null:this.subscription;return{[l]:e||this.context[l]}}componentDidMount(){o&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())}componentWillReceiveProps(e){this.selector.run(e)}shouldComponentUpdate(){return this.selector.shouldComponentUpdate}componentWillUnmount(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=on,this.store=null,this.selector.run=on,this.selector.shouldComponentUpdate=!1}getWrappedInstance(){return Ln(a,"To access the wrapped instance, you need to specify "+`{ withRef: true } in the options argument of the ${n}() call.`),this.wrappedInstance}setWrappedInstance(e){this.wrappedInstance=e}initSelector(){const t=e(this.store.dispatch,g);this.selector=function(e,t){const n={run:function(r){try{const o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)}initSubscription(){if(!o)return;const e=(this.propsMode?this.props:this.context)[l];this.subscription=new mn(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}onStateChange(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(zn)):this.notifyNestedSubs()}notifyNestedSubsOnComponentDidUpdate(){this.componentDidUpdate=void 0,this.notifyNestedSubs()}isSubscribed(){return Boolean(this.subscription)&&this.subscription.isSubscribed()}addExtraProps(e){if(!(a||r||this.propsMode&&this.subscription))return e;const t={...e};return a&&(t.ref=this.setWrappedInstance),r&&(t[r]=this.renderCount++),this.propsMode&&this.subscription&&(t[l]=this.subscription),t}render(){const e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return H(h,this.addExtraProps(e.props))}}return b.WrappedComponent=h,b.displayName=f,b.childContextTypes=p,b.contextTypes=d,b.propTypes=d,b.prototype.componentWillUpdate=function(){if(this.version!==u){this.version=u,this.initSelector();let e=[];this.subscription&&(e=this.subscription.listeners.get(),this.subscription.tryUnsubscribe()),this.initSubscription(),o&&(this.subscription.trySubscribe(),e.forEach(e=>this.subscription.listeners.subscribe(e)))}},qn(b,h)}}function sn(e,t,n){if(!e)throw new Error(`Unexpected value for ${t} in ${n}.`);"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||tn(`The selector for ${t} of ${n} did not specify a value for dependsOnOwnProps.`)}function ln(e,t,n){for(let n=t.length-1;n>=0;n--){const r=t[n](e);if(r)return r}return(t,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${n} argument when connecting component ${r.wrappedComponentName}.`)}}function cn(e,t){return e===t}const un=Pt.shape({trySubscribe:Pt.func.isRequired,tryUnsubscribe:Pt.func.isRequired,notifyNestedSubs:Pt.func.isRequired,isSubscribed:Pt.func.isRequired}),dn=Pt.shape({subscribe:Pt.func.isRequired,dispatch:Pt.func.isRequired,getState:Pt.func.isRequired}),pn=null,hn={notify(){}};class mn{constructor(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=hn}addNestedSub(e){return this.trySubscribe(),this.listeners.subscribe(e)}notifyNestedSubs(){this.listeners.notify()}isSubscribed(){return Boolean(this.unsubscribe)}trySubscribe(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){let e=[],t=[];return{clear(){t=pn,e=pn},notify(){const n=e=t;for(let e=0;e<n.length;e++)n[e]()},get:()=>t,subscribe(n){let r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==pn&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())}tryUnsubscribe(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=hn)}}const fn=Object.prototype.hasOwnProperty;var gn="object"==typeof global&&global&&global.Object===Object&&global,bn="object"==typeof self&&self&&self.Object===Object&&self,yn=(gn||bn||Function("return this")()).Symbol,vn=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),wn=Object.prototype,xn=wn.toString,kn=wn.hasOwnProperty,En=yn?yn.toStringTag:void 0,Sn="[object Null]",Cn="[object Undefined]",On="[object Object]",Tn=Function.prototype.toString,Nn=Tn.call(Object);let Pn=!1;var jn=function(e="store",t){const n=t||`${e}Subscription`;class r extends c{getChildContext(){return{[e]:this[e],[n]:null}}constructor(t,n){super(t,n),this[e]=t.store}render(){return q.only(this.props.children)}}return r.prototype.componentWillReceiveProps=function(t){this[e]!==t.store&&(Pn||(Pn=!0,tn("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/reactjs/react-redux/releases/tag/v2.0.0 for the migration instructions.")))},r.propTypes={store:dn.isRequired,children:Pt.element.isRequired},r.childContextTypes={[e]:dn.isRequired,[n]:un},r}(),An={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},Rn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Wn=Object.defineProperty,In=Object.getOwnPropertyNames,Mn=Object.getOwnPropertySymbols,$n=Object.getOwnPropertyDescriptor,Dn=Object.getPrototypeOf,Bn=Dn&&Dn(Object),qn=function e(t,n,r){if("string"!=typeof n){if(Bn){var o=Dn(n);o&&o!==Bn&&e(t,o,r)}var i=In(n);Mn&&(i=i.concat(Mn(n)));for(var a=0;a<i.length;++a){var s=i[a];if(!(An[s]||Rn[s]||r&&r[s])){var l=$n(n,s);try{Wn(t,s,l)}catch(t){}}}return t}return t},Ln=function(e,t,n,r,o,i,a,s){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}};let _n=0;const zn={};function Hn(e){return function(t,n){function r(){return o}const o=e(t,n);return r.dependsOnOwnProps=!1,r}}function Un(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Fn(e,t){return function(n,{displayName:r}){const o=function(e,t){return o.dependsOnOwnProps?o.mapToProps(e,t):o.mapToProps(e)};return o.dependsOnOwnProps=!0,o.mapToProps=function(n,i){o.mapToProps=e,o.dependsOnOwnProps=Un(e);let a=o(n,i);return"function"==typeof a&&(o.mapToProps=a,o.dependsOnOwnProps=Un(a),a=o(n,i)),rn(a,r,t),a},o}}function Yn(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){function s(o,i){return h=e(d=o,p=i),m=t(r,p),f=n(h,m,p),g=!0,f}function l(){return h=e(d,p),t.dependsOnOwnProps&&(m=t(r,p)),f=n(h,m,p)}function c(){return e.dependsOnOwnProps&&(h=e(d,p)),t.dependsOnOwnProps&&(m=t(r,p)),f=n(h,m,p)}function u(){const t=e(d,p),r=!a(t,h);return h=t,r&&(f=n(h,m,p)),f}let d,p,h,m,f,g=!1;return function(e,t){return g?function(e,t){const n=!i(t,p),r=!o(e,d);return d=e,p=t,n&&r?l():n?c():r?u():f}(e,t):s(e,t)}}function Vn(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){const i=t(e,o),a=n(e,o),s=r(e,o);return function(e,t,n,r){sn(e,"mapStateToProps",r),sn(t,"mapDispatchToProps",r),sn(n,"mergeProps",r)}(i,a,s,o.displayName),(o.pure?Yn:function(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}})(i,a,s,e,o)}function Gn(e){return"function"==typeof e?function(e){return function(t,{displayName:n,pure:r,areMergedPropsEqual:o}){let i,a=!1;return function(t,s,l){const c=e(t,s,l);return a?r&&o(c,i)||(i=c):(a=!0,rn(i=c,n,"mergeProps")),i}}}(e):void 0}function Kn(e){return e?void 0:()=>(function(e,t,n){return{...n,...e,...t}})}function Xn(e){return"function"==typeof e?Fn(e,"mapStateToProps"):void 0}function Jn(e){return e?void 0:Hn(()=>({}))}function Qn(e){return"function"==typeof e?Fn(e,"mapDispatchToProps"):void 0}function Zn(e){return e?void 0:Hn(e=>({dispatch:e}))}function er(e){return e&&"object"==typeof e?Hn(t=>It(e,t)):void 0}var tr=function({connectHOC:e=an,mapStateToPropsFactories:t=[Xn,Jn],mapDispatchToPropsFactories:n=[Qn,Zn,er],mergePropsFactories:r=[Gn,Kn],selectorFactory:o=Vn}={}){return function(i,a,s,{pure:l=!0,areStatesEqual:c=cn,areOwnPropsEqual:u=en,areStatePropsEqual:d=en,areMergedPropsEqual:p=en,...h}={}){const m=ln(i,t,"mapStateToProps"),f=ln(a,n,"mapDispatchToProps"),g=ln(s,r,"mergeProps");return e(o,{methodName:"connect",getDisplayName:e=>`Connect(${e})`,shouldHandleStateChanges:Boolean(i),initMapStateToProps:m,initMapDispatchToProps:f,initMergeProps:g,pure:l,areStatesEqual:c,areOwnPropsEqual:u,areStatePropsEqual:d,areMergedPropsEqual:p,...h})}}();function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function or(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ir(e){return e&&e.sensitive?"":"i"}function ar(e,t,n){return function(e,t,n){for(var r=(n=n||{}).strict,o=!1!==n.end,i=rr(n.delimiter||"/"),a=[].concat(n.endsWith||[]).map(rr).concat("$").join("|"),s="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)s+=rr(c);else{var u=rr(c.prefix),d="(?:"+c.pattern+")";t&&t.push(c),c.repeat&&(d+="(?:"+u+d+")*"),s+=d=c.optional?c.partial?u+"("+d+")?":"(?:"+u+"("+d+"))?":u+"("+d+")"}}return o?(r||(s+="(?:"+i+")?"),s+="$"===a?"$":"(?="+a+")"):(r||(s+="(?:"+i+"(?="+a+"))?"),s+="(?="+i+"|"+a+")"),new RegExp("^"+s,ir(n))}(function(e,t){for(var n,r=[],o=0,i=0,a="",s=t&&t.delimiter||"/",l=t&&t.delimiters||"./",c=!1;null!==(n=cr.exec(e));){var u=n[0],d=n[1],p=n.index;if(a+=e.slice(i,p),i=p+u.length,d)a+=d[1],c=!0;else{var h="",m=e[i],f=n[2],g=n[3],b=n[4],y=n[5];if(!c&&a.length){var v=a.length-1;l.indexOf(a[v])>-1&&(h=a[v],a=a.slice(0,v))}a&&(r.push(a),a="",c=!1);var w=""!==h&&void 0!==m&&m!==h,x="+"===y||"*"===y,k="?"===y||"*"===y,E=h||s,S=g||b;r.push({name:f||o++,prefix:h,delimiter:E,optional:k,repeat:x,partial:w,pattern:S?or(S):"[^"+rr(E)+"]+?"})}}return(a||i<e.length)&&r.push(a+e.substr(i)),r}(e,n),t,n)}function sr(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,t):Array.isArray(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(sr(e[o],t,n).source);return new RegExp("(?:"+r.join("|")+")",ir(n))}(e,t,n):ar(e,t,n)}const lr=F.createElement;var cr=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");const ur=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}},dr=function(e,t,n,r,o,i,a,s){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}},pr={};let hr=0;const mr=(e="/",t={})=>"/"===e?e:(e=>{const t=e,n=pr[t]||(pr[t]={});if(n[e])return n[e];const r=sr.compile(e);return hr<1e4&&(n[e]=r,hr++),r})(e)(t),fr={};let gr=0;const br=(e,t={})=>{"string"==typeof t&&(t={path:t});const{path:n="/",exact:r=!1,strict:o=!1,sensitive:i=!1}=t,{re:a,keys:s}=((e,t)=>{const n=`${t.end}${t.strict}${t.sensitive}`,r=fr[n]||(fr[n]={});if(r[e])return r[e];const o=[],i={re:sr(e,o,t),keys:o};return gr<1e4&&(r[e]=i,gr++),i})(n,{end:r,strict:o,sensitive:i}),l=a.exec(e);if(!l)return null;const[c,...u]=l,d=e===c;return r&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:s.reduce((e,t,n)=>(e[t.name]=u[n],e),{})}},yr=e=>0===F.Children.count(e);class vr extends F.Component{constructor(e,t){super(e,t),this.state={match:this.computeMatch(e,t.router)}}getChildContext(){return{router:{...this.context.router,route:{location:this.props.location||this.context.router.route.location,match:this.state.match}}}}computeMatch({computedMatch:e,location:t,path:n,strict:r,exact:o,sensitive:i},a){if(e)return e;dr(a,"You should not use <Route> or withRouter() outside a <Router>");const{route:s}=a,l=(t||s.location).pathname;return n?br(l,{path:n,strict:r,exact:o,sensitive:i}):s.match}componentWillMount(){ur(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),ur(!(this.props.component&&this.props.children&&!yr(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),ur(!(this.props.render&&this.props.children&&!yr(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")}componentWillReceiveProps(e,t){ur(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),ur(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})}render(){const{match:e}=this.state,{children:t,component:n,render:r}=this.props,{history:o,route:i,staticContext:a}=this.context.router,s={match:e,location:this.props.location||i.location,history:o,staticContext:a};return n?e?F.createElement(n,s):null:r?e?r(s):null:"function"==typeof t?t(s):t&&!yr(t)?F.Children.only(t):null}}vr.propTypes={computedMatch:Pt.object,path:Pt.string,exact:Pt.bool,strict:Pt.bool,sensitive:Pt.bool,component:Pt.func,render:Pt.func,children:Pt.oneOfType([Pt.func,Pt.node]),location:Pt.object},vr.contextTypes={router:Pt.shape({history:Pt.object.isRequired,route:Pt.object.isRequired,staticContext:Pt.object})},vr.childContextTypes={router:Pt.object.isRequired};class wr extends F.Component{enable(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)}disable(){this.unblock&&(this.unblock(),this.unblock=null)}componentWillMount(){dr(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)}componentWillReceiveProps(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()}componentWillUnmount(){this.disable()}render(){return null}}wr.propTypes={when:Pt.bool,message:Pt.oneOfType([Pt.func,Pt.string]).isRequired},wr.defaultProps={when:!0},wr.contextTypes={router:Pt.shape({history:Pt.shape({block:Pt.func.isRequired}).isRequired}).isRequired};class xr extends F.Component{isStatic(){return this.context.router&&this.context.router.staticContext}componentWillMount(){dr(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()}componentDidMount(){this.isStatic()||this.perform()}componentDidUpdate(e){const t=se(e.to),n=se(this.props.to);le(t,n)?ur(!1,"You tried to redirect to the same route you're currently on: "+`"${n.pathname}${n.search}"`):this.perform()}computeTo({computedMatch:e,to:t}){return e?"string"==typeof t?mr(t,e.params):{...t,pathname:mr(t.pathname,e.params)}:t}perform(){const{history:e}=this.context.router,{push:t}=this.props,n=this.computeTo(this.props);t?e.push(n):e.replace(n)}render(){return null}}xr.propTypes={computedMatch:Pt.object,push:Pt.bool,from:Pt.string,to:Pt.oneOfType([Pt.string,Pt.object]).isRequired},xr.defaultProps={push:!1},xr.contextTypes={router:Pt.shape({history:Pt.shape({push:Pt.func.isRequired,replace:Pt.func.isRequired}).isRequired,staticContext:Pt.object}).isRequired};class kr extends F.Component{getChildContext(){return{router:{...this.context.router,history:this.props.history,route:{location:this.props.history.location,match:this.state.match}}}}constructor(e){super(e),this.state={match:this.computeMatch(e.history.location.pathname)}}computeMatch(e){return{path:"/",url:"/",params:{},isExact:"/"===e}}componentWillMount(){const{children:e,history:t}=this.props;dr(null==e||1===F.Children.count(e),"A <Router> may have only one child element"),this.unlisten=t.listen(()=>{this.setState({match:this.computeMatch(t.location.pathname)})})}componentWillReceiveProps(e){ur(this.props.history===e.history,"You cannot change <Router history>")}componentWillUnmount(){this.unlisten()}render(){const{children:e}=this.props;return e?F.Children.only(e):null}}kr.propTypes={history:Pt.object.isRequired,children:Pt.node},kr.contextTypes={router:Pt.object},kr.childContextTypes={router:Pt.object.isRequired};(class extends F.Component{constructor(e){super(e),this.history=this.history.bind(this)}history(){return be(this.props)}componentWillMount(){ur(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")}render(){return lr(kr,{history:this.history},this.props.children)}}).propTypes={initialEntries:Pt.array,initialIndex:Pt.number,getUserConfirmation:Pt.func,keyLength:Pt.number,children:Pt.node};const Er=(e,t)=>e?{...t,pathname:ee(e)+t.pathname}:t,Sr=(e,t)=>{if(!e)return t;const n=ee(e);return 0!==t.pathname.indexOf(n)?t:{...t,pathname:t.pathname.substr(n.length)}},Cr=e=>"string"==typeof e?ie(e):(e=>{const{pathname:t="/",search:n="",hash:r=""}=e;return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}})(e),Or=e=>"string"==typeof e?e:ae(e),Tr=e=>()=>{dr(!1,"You cannot %s with <StaticRouter>",e)},Nr=()=>{};class Pr extends F.Component{getChildContext(){return{router:{staticContext:this.props.context}}}constructor(e){super(e),this.createHref=this.createHref.bind(this),this.handlePush=this.handlePush.bind(this),this.handleReplace=this.handleReplace.bind(this),this.handleListen=this.handleListen.bind(this),this.handleBlock=this.handleBlock.bind(this)}createHref(e){return ee(this.props.basename+Or(e))}handlePush(e){const{basename:t,context:n}=this.props;n.action="PUSH",n.location=Er(t,Cr(e)),n.url=Or(n.location)}handleReplace(e){const{basename:t,context:n}=this.props;n.action="REPLACE",n.location=Er(t,Cr(e)),n.url=Or(n.location)}handleListen(){return Nr}handleBlock(){return Nr}componentWillMount(){ur(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")}render(){const{basename:e,context:t,location:n,...r}=this.props,o={createHref:this.createHref,action:"POP",location:Sr(e,Cr(n)),push:this.handlePush,replace:this.handleReplace,go:Tr("go"),goBack:Tr("goBack"),goForward:Tr("goForward"),listen:this.handleListen,block:this.handleBlock};return lr(kr,{history:o,...r})}}Pr.propTypes={basename:Pt.string,context:Pt.object.isRequired,location:Pt.oneOfType([Pt.string,Pt.object])},Pr.defaultProps={basename:"",location:"/"},Pr.childContextTypes={router:Pt.object.isRequired};class jr extends F.Component{componentWillMount(){dr(this.context.router,"You should not use <Switch> outside a <Router>")}componentWillReceiveProps(e){ur(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),ur(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')}render(){const{route:e}=this.context.router,{children:t}=this.props,n=this.props.location||e.location;let r,o;return t.forEach(t=>{if(null==r&&F.isValidElement(t)){const{path:i,exact:a,strict:s,sensitive:l,from:c}=t.props?t.props:t.attributes,u=i||c;o=t,r=u?br(n.pathname,{path:u,exact:a,strict:s,sensitive:l}):e.match}}),r?F.cloneElement(o,{location:n,computedMatch:r}):null}}jr.contextTypes={router:Pt.shape({route:Pt.object.isRequired}).isRequired},jr.propTypes={children:Pt.node,location:Pt.object};(class extends F.Component{constructor(e){super(e),this.history=this.history.bind(this)}history(){return de(this.props)}componentWillMount(){ur(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")}render(){return lr(kr,{history:this.history},this.props.children)}}).propTypes={basename:Pt.string,forceRefresh:Pt.bool,getUserConfirmation:Pt.func,keyLength:Pt.number,children:Pt.node};(class extends F.Component{constructor(e){super(e),this.history=this.history.bind(this)}history(){return fe(this.props)}componentWillMount(){ur(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")}render(){return lr(kr,{history:this.history},this.props.children)}}).propTypes={basename:Pt.string,getUserConfirmation:Pt.func,hashType:Pt.oneOf(["hashbang","noslash","slash"]),children:Pt.node};const Ar=e=>!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey);class Rr extends F.Component{constructor(e){super(e),this.handleClick=this.handleClick.bind(this)}handleClick(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented&&0===e.button&&!this.props.target&&!Ar(e)){e.preventDefault();const{history:t}=this.context.router,{replace:n,to:r}=this.props;n?t.replace(r):t.push(r)}}render(){const{replace:e,to:t,innerRef:n,...r}=this.props;dr(this.context.router,"You should not use <Link> outside a <Router>");const{history:o}=this.context.router,i="string"==typeof t?se(t,null,null,o.location):t,a=o.createHref(i);return lr("a",Object.assign({...r},{onClick:this.handleClick,href:a,ref:n}))}}Rr.propTypes={onClick:Pt.func,target:Pt.string,replace:Pt.bool,to:Pt.oneOfType([Pt.string,Pt.object]).isRequired,innerRef:Pt.oneOfType([Pt.string,Pt.func])},Rr.defaultProps={replace:!1},Rr.contextTypes={router:Pt.shape({history:Pt.shape({push:Pt.func.isRequired,replace:Pt.func.isRequired,createHref:Pt.func.isRequired}).isRequired}).isRequired};const Wr=({to:e,exact:t,strict:n,location:r,activeClassName:o,className:i,activeStyle:a,style:s,isActive:l,ariaCurrent:c,...u})=>{const d=("object"==typeof e?e.pathname:e).replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1");return lr(vr,{path:d,exact:t,strict:n,location:r},({location:t,match:n})=>{const r=!!(l?l(n,t):n);return lr(Rr,{to:e,className:r?[i,o].filter(e=>e).join(" "):i,style:r?{...s,...a}:s,"aria-current":r&&c,...u})})};Wr.propTypes={to:Rr.propTypes.to,exact:Pt.bool,strict:Pt.bool,location:Pt.object,activeClassName:Pt.string,className:Pt.string,activeStyle:Pt.object,style:Pt.object,isActive:Pt.func,ariaCurrent:Pt.oneOf(["page","step","location","true"])},Wr.defaultProps={activeClassName:"active",ariaCurrent:"true"};class Ir extends c{constructor(...e){super(...e),nr(this,"handleLocationChange",e=>{this.store.dispatch({type:ut,location:e})})}componentWillMount(){const{store:e,history:t}=this.props;this.store=e||this.context.store,this.handleLocationChange(t.location)}componentDidMount(){const{history:e}=this.props;this.unsubscribeFromHistory=e.listen(this.handleLocationChange)}componentWillUnmount(){this.unsubscribeFromHistory&&this.unsubscribeFromHistory()}render(){return F.createElement(kr,this.props)}}function Mr(e){return null==e}function $r(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}nr(Ir,"propTypes",{store:Pt.object,history:Pt.object,children:Pt.node}),nr(Ir,"contextTypes",{store:Pt.object});var Dr=Array.prototype.slice,Br=function(e){return"[object Arguments]"==Object.prototype.toString.call(e)},qr=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var r,o;if(Mr(e)||Mr(t))return!1;if(e.prototype!==t.prototype)return!1;if(Br(e))return!!Br(t)&&(e=Dr.call(e),t=Dr.call(t),qr(e,t,n));if($r(e)){if(!$r(t))return!1;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}try{var i=Object.keys(e),a=Object.keys(t)}catch(e){return!1}if(i.length!=a.length)return!1;for(i.sort(),a.sort(),r=i.length-1;r>=0;r--)if(i[r]!=a[r])return!1;for(r=i.length-1;r>=0;r--)if(o=i[r],!qr(e[o],t[o],n))return!1;return typeof e==typeof t}(e,t,n))};const Lr={HTML:"htmlAttributes",TITLE:"title",BASE:"base",META:"meta",LINK:"link",SCRIPT:"script",NOSCRIPT:"noscript",STYLE:"style"},_r="name",zr="charset",Hr="http-equiv",Ur="rel",Fr="href",Yr="property",Vr="src",Gr="innerHTML",Kr="cssText",Xr="itemprop",Jr=e=>String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Qr=(e,t)=>{for(let n=e.length-1;n>=0;n--){const r=e[n];if(r[t])return r[t]}return null},Zr=e=>{const t=Qr(e,"title"),n=Qr(e,"titleTemplate");if(n&&t)return n.replace(/%s/g,()=>t);const r=Qr(e,"defaultTitle");return t||r||""},eo=e=>Qr(e,"onChangeClientState")||(()=>{}),to=(e,t)=>t.filter(t=>void 0!==t[e]).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),no=(e,t)=>t.filter(e=>void 0!==e[Lr.BASE]).map(e=>e[Lr.BASE]).reverse().reduce((t,n)=>{if(!t.length){const r=Object.keys(n);for(let o=0;o<r.length;o++){const i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}}return t},[]),ro=(e,t,n)=>{const r={};return n.filter(t=>void 0!==t[e]).map(t=>t[e]).reverse().reduce((e,n)=>{const o={};n.filter(e=>{let n;const i=Object.keys(e);for(let r=0;r<i.length;r++){const o=i[r],a=o.toLowerCase();-1===t.indexOf(a)||n===Ur&&"canonical"===e[n].toLowerCase()||a===Ur&&"stylesheet"===e[a].toLowerCase()||(n=a),-1===t.indexOf(o)||o!==Gr&&o!==Kr&&o!==Xr||(n=o)}if(!n||!e[n])return!1;const a=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][a]&&(o[n][a]=!0,!0)}).reverse().forEach(t=>e.push(t));const i=Object.keys(o);for(let e=0;e<i.length;e++){const t=i[e],n=Object.assign({},r[t],o[t]);r[t]=n}return e},[]).reverse()},oo=(e,t)=>{const n=document.getElementsByTagName(e)[0],r=n.getAttribute("data-preact-helmet"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t);for(let e=0;e<a.length;e++){const r=a[e],s=t[r]||"";n.setAttribute(r,s),-1===o.indexOf(r)&&o.push(r);const l=i.indexOf(r);-1!==l&&i.splice(l,1)}for(let e=i.length-1;e>=0;e--)n.removeAttribute(i[e]);o.length===i.length?n.removeAttribute("data-preact-helmet"):n.setAttribute("data-preact-helmet",o.join(","))},io=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[data-preact-helmet]`),o=Array.prototype.slice.call(r),i=[];let a;return t&&t.length&&t.forEach(t=>{const n=document.createElement(e);for(const e in t)if(t.hasOwnProperty(e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const r=void 0===t[e]?"":t[e];n.setAttribute(e,r)}n.setAttribute("data-preact-helmet","true"),o.some((e,t)=>(a=t,n.isEqualNode(e)))?o.splice(a,1):i.push(n)}),o.forEach(e=>e.parentNode.removeChild(e)),i.forEach(e=>n.appendChild(e)),{oldTags:o,newTags:i}},ao=e=>Object.keys(e).reduce((t,n)=>{const r=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),so=(e,t)=>{switch(e){case Lr.TITLE:return{toComponent:()=>((e,t,n)=>{const r={key:t,"data-preact-helmet":!0},o=Object.keys(n).reduce((e,t)=>(e[t]=n[t],e),r);return[d(Lr.TITLE,o,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n)=>{const r=ao(n);return r?`<${e} data-preact-helmet ${r}>${Jr(t)}</${e}>`:`<${e} data-preact-helmet>${Jr(t)}</${e}>`})(e,t.title,t.titleAttributes)};case Lr.HTML:return{toComponent:()=>t,toString:()=>ao(t)};default:return{toComponent:()=>((e,t)=>t.map((t,n)=>{const r={key:n,"data-preact-helmet":!0};return Object.keys(t).forEach(e=>{const n=e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:e}}else r[n]=t[e]}),d(e,r)}))(e,t),toString:()=>((e,t)=>t.reduce((t,n)=>{const r=Object.keys(n).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===n[t]?t:`${t}="${Jr(n[t])}"`;return e?`${e} ${r}`:r},""),o=n.innerHTML||n.cssText||"",i=-1===[Lr.NOSCRIPT,Lr.SCRIPT,Lr.STYLE].indexOf(e);return`${t}<${e} data-preact-helmet ${r}${i?">":`>${o}</${e}>`}`},""))(e,t)}}},lo=({htmlAttributes:e,title:t,titleAttributes:n,baseTag:r,metaTags:o,linkTags:i,scriptTags:a,noscriptTags:s,styleTags:l})=>({htmlAttributes:so(Lr.HTML,e),title:so(Lr.TITLE,{title:t,titleAttributes:n}),base:so(Lr.BASE,r),meta:so(Lr.META,o),link:so(Lr.LINK,i),script:so(Lr.SCRIPT,a),noscript:so(Lr.NOSCRIPT,s),style:so(Lr.STYLE,l)});let co=(e=>{class t extends c{static set canUseDOM(t){e.canUseDOM=t}shouldComponentUpdate(e){const t={...e};return t.children&&t.children.length||delete t.children,!qr(this.props,t)}render(){return d(e,{...this.props})}}return t.peek=((...t)=>e.peek(...t)),t.rewind=(()=>{let t=e.rewind();return t||(t=lo({htmlAttributes:{},title:"",titleAttributes:{},baseTag:[],metaTags:[],linkTags:[],scriptTags:[],noscriptTags:[],styleTags:[]})),t}),t})(function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){function o(){i=e(a.map(function(e){return e.props})),s.canUseDOM?t(i):n&&(i=n(i))}if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");let i,a=[];class s extends c{shouldComponentUpdate(e){let{children:t,...n}=e;return t&&t.length&&(n.children=t),function(e,t){for(let n in e)if(!(n in t))return!0;for(let n in t)if(e[n]!==t[n])return!0;return!1}(n,this.props)}componentWillMount(){a.push(this),o()}componentDidUpdate(){o()}componentWillUnmount(){const e=a.indexOf(this);a.splice(e,1),o()}render(){return d(r,{...this.props})}}return s.displayName=`SideEffect(${function(e){return e.displayName||e.name||"Component"}(r)})`,s.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),s.peek=(()=>i),s.rewind=(()=>{if(s.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");let e=i;return i=void 0,a=[],e}),s}}(e=>({htmlAttributes:to(Lr.HTML,e),title:Zr(e),titleAttributes:to("titleAttributes",e),baseTag:no([Fr],e),metaTags:ro(Lr.META,[_r,zr,Hr,Yr,Xr],e),linkTags:ro(Lr.LINK,[Ur,Fr],e),scriptTags:ro(Lr.SCRIPT,[Vr,Gr],e),noscriptTags:ro(Lr.NOSCRIPT,[Gr],e),styleTags:ro(Lr.STYLE,[Kr],e),onChangeClientState:eo(e)}),e=>{const{htmlAttributes:t,title:n,titleAttributes:r,baseTag:o,metaTags:i,linkTags:a,scriptTags:s,noscriptTags:l,styleTags:c,onChangeClientState:u}=e;oo("html",t),((e,t)=>{document.title=e||document.title,oo(Lr.TITLE,t)})(n,r);const d={baseTag:io(Lr.BASE,o),metaTags:io(Lr.META,i),linkTags:io(Lr.LINK,a),scriptTags:io(Lr.SCRIPT,s),noscriptTags:io(Lr.NOSCRIPT,l),styleTags:io(Lr.STYLE,c)},p={},h={};Object.keys(d).forEach(e=>{const{newTags:t,oldTags:n}=d[e];t.length&&(p[e]=t),n.length&&(h[e]=d[e].oldTags)}),u(e,p,h)},lo)(()=>null));const uo=e=>e.route.location,po="REQUEST_CATEGORIES",ho="RECEIVE_CATEGORIES",mo=e=>!e.category.isFetching&&!e.category.fetched;class fo{constructor(){this.call=this.call.bind(this),this.get=this.get.bind(this),this.post=this.post.bind(this)}call(e,t={method:"GET",credentials:"include",headers:{}}){let{method:n,credentials:r,headers:o}=t;return r||(t={...t,credentials:"include"}),t=Object.assign({},t,{headers:o}),fetch(e,t)}get(e,t={method:"GET",credentials:"include"}){return this.call(e,{...t,method:"GET"})}post(e,t={method:"POST",credentials:"include"}){return this.call(e,{...t,method:"POST"})}}var go={author:"React Drive CMS",dashboardId:"1-on_GfmvaEcOk7HcWfKb8B6KFRv166RkLN2YmDEtDn4",sendContactMessageUrlId:"AKfycbyL4vW1UWs4mskuDjLoLmf1Hjan1rTLEca6i2Hi2H_4CtKUN84d",shortname:"easydrivecms",root:"react-drive-cms"};var bo=new class extends fo{constructor(){super(),this.getSpreadsheet=this.getSpreadsheet.bind(this),this.getDocument=this.getDocument.bind(this),this.getCategories=this.getCategories.bind(this),this.getArticleHtml=this.getArticleHtml.bind(this),this.driveExportUrl="https://drive.google.com/uc?export=download&id=",this.slug=this.slug.bind(this),this.formatDate=this.formatDate.bind(this)}getSpreadsheet(e){return this.get(`https://spreadsheets.google.com/feeds/list/${e}/od6/public/values?alt=json`,{credentials:"omit"}).then(e=>e.json()).catch(e=>console.log("error",e))}getDocument(e){return this.get(`https://docs.google.com/feeds/download/documents/export/Export?id=${e}&exportFormat=html`,{credentials:"omit"}).then(e=>e.text()).catch(e=>console.log("error",e))}getCategories(){return this.getSpreadsheet(go.dashboardId).then(e=>{let t={},n={};return e.feed.entry.map(e=>({title:e.gsx$title.$t,subtitle:e.gsx$subtitle.$t,image:e.gsx$image.$t,category:e.gsx$category.$t,postId:e.gsx$postid.$t,imageId:e.gsx$imageid.$t,lastUpdated:e.gsx$lastupdated.$t})).forEach(e=>{let r={},o=this.slug(e.category,"category"),i=Object.values(n).find(e=>e.id===o),a={id:e.postId,title:e.title,subtitle:e.subtitle,imageName:e.image,image:this.driveExportUrl+e.imageId,categoryId:o,lastUpdated:e.lastUpdated,date:this.formatDate(e.lastUpdated),uri:`/articles/${e.postId}/${this.slug(e.title,"article")}`};i?n[o].articles.push(e.postId):(r={id:o,title:e.category,imageName:e.image,image:this.driveExportUrl+e.imageId,articles:[e.postId],uri:`/categories/${o}`},n[o]=r),t[e.postId]=a}),{articles:t,categories:n}})}getArticleHtml(e){return this.getDocument(e).then(e=>{let t=e.split('<style type="text/css">')[1].split("</style>"),n=t[1].split("<body "),r="<body "+n[1].split(">")[0]+">",o=(n=t[1].split(r))[1].split("</body>");return'<style type="text/css">'+t[0]+"</style><div>"+o[0]+"</div>"})}slug(e,t="type"){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();let n="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;";for(let t=0,r=n.length;t<r;t++)e=e.replace(new RegExp(n.charAt(t),"g"),"aaaaaeeeeeiiiiooooouuuunc------".charAt(t));return(e=e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")).length<4&&(e=t+"_"+e),e}formatDate(e){var t=e.split(" ")[0].split("/"),n=parseInt(t[0]),r=t[1],o=t[2],i="th";switch(n){case 1:i="st";break;case 2:i="nd";break;case 3:i="rd"}return n+i+" of "+["January","February","March","April","May","June","July","August","September","October","November","December"][r-1]+" "+o}};function yo(){return(e,t)=>{let n=t();if(mo(n))return vo(e)}}function vo(e){return e(wo()),bo.getCategories().then(t=>e(xo(t))).catch(function(e){console.log("code:",e.code," message:",e.message)})}function wo(){return{type:po}}function xo(e){return{type:ho,categories:e}}var ko=Object.freeze({fetchCategoriesIfNeeded:yo,fetchCategories:vo,requestCategories:wo,receiveCategories:xo});const Eo="REQUEST_ARTICLE",So="RECEIVE_ARTICLE",Co=(e,t)=>!!t&&(!Oo(e,t)&&void 0===e.article.texts[t]),Oo=(e,t)=>!!t&&e.article.isFetching[t];function To(e){return(t,n)=>{let r=n();if(Co(r,e))return function(e,t){return e(function(e){return{type:Eo,articleId:e}}(t)),bo.getArticleHtml(t).then(n=>e(function(e,t){return{type:So,articleId:e,article:t}}(t,n))).catch(function(e){console.log("code:",e.code," message:",e.message)})}(t,e)}}class No extends c{constructor(){super(),this.addDisqusScript=this.addDisqusScript.bind(this),this.removeDisqusScript=this.removeDisqusScript.bind(this)}addDisqusScript(){let e=this.disqus=document.createElement("script"),t=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];e.async=!0,e.type="text/javascript",e.src="//"+go.shortname+".disqus.com/embed.js",t.appendChild(e)}removeDisqusScript(){this.disqus&&this.disqus.parentNode&&(this.disqus.parentNode.removeChild(this.disqus),this.disqus=null)}componentDidMount(){let{id:e,title:t}=this.props;window.disqus_shortname=go.shortname,window.disqus_identifier=e,window.disqus_title=t,window.disqus_url=window.location.href,void 0!==window.DISQUS?window.DISQUS.reset({reload:!0}):this.addDisqusScript()}componentWillUnmount(){this.removeDisqusScript()}render(){return F.createElement("div",{id:"disqus_thread"})}}var Po=tr(function(e){return{categories:e.category.categories,articles:e.article.articles}},function(e){return Object.assign(It({},e),{dispatch:e})})(class extends c{constructor(){super(),this.toggleCategory=this.toggleCategory.bind(this),this.state={activeCategory:!1}}toggleCategory(e){let{activeCategory:t}=this.state,n=e.target.dataset.category;this.setState({activeCategory:n!==t&&n})}componentWillReceiveProps(e){let{categories:t}=e;t&&Object.values(t).length&&this.setState({activeCategory:Object.values(t)[0].id})}render(){let{categories:e,articles:t,menuVisible:n}=this.props,{activeCategory:r}=this.state;return F.createElement("nav",{id:"menu",className:lt(jo.menu,n&&jo.menuOpen)},F.createElement("ul",{className:lt(jo.list)},F.createElement("li",{className:lt(jo.item)},F.createElement("i",{className:"icon-home "+lt(jo.icon)}),F.createElement(Rr,{to:"/",title:"Home",className:lt(jo.itemLink)},"Home")),F.createElement("li",{className:lt(jo.item)},F.createElement("i",{className:"icon-user "+lt(jo.icon)}),F.createElement(Rr,{to:"/about",title:"About",className:lt(jo.itemLink)},"About")),F.createElement("li",{className:lt(jo.item)},F.createElement("i",{className:"icon-paper-plane "+lt(jo.icon)}),F.createElement(Rr,{to:"/contact",title:"Contact",className:lt(jo.itemLink)},"Contact"))),F.createElement("hr",{className:lt(jo.separator)}),F.createElement("ul",{className:lt(jo.list)},Object.values(e).map((e,n)=>F.createElement("li",{key:e.id},F.createElement("i",{className:"icon-right-open "+lt(jo.icon)}),F.createElement("button",{title:e.title,onClick:this.toggleCategory,className:lt(jo.itemLink),"data-category":e.id},e.title),F.createElement("ul",{className:lt(jo.subList)},Object.values(t).filter(t=>t.categoryId===e.id).map(t=>F.createElement("li",{key:t.id,className:lt(jo.subItem,e.id===r&&jo.subItemExpanded)},F.createElement(Rr,{key:t.id,title:t.title,to:t.uri,className:lt(jo.subItemLink)},t.title))))))))}});let jo=st.create({menu:{backgroundColor:"#333",overflow:"hidden",zIndex:10,display:"block",top:0,left:0,height:"100%",boxShadow:"#000 2px 2px 10px",paddingTop:"5rem",transition:"opacity linear 750ms,width linear 750ms",width:0,opacity:0,paddingRight:0,position:"fixed"},menuOpen:{opacity:1,width:"100%","@media (min-width: 768px)":{width:"40%"},"@media (min-width: 992px)":{width:"30%"},"@media (min-width: 1200px)":{width:"25%"}},icon:{padding:"0 20px",color:"#DADADA",fontSize:"1.6rem"},list:{padding:"10px 0",fontSize:"1.6rem",marginBottom:20,marginTop:0},item:{margin:0,listStyle:"none",padding:"10px 0",fontSize:"1.6rem"},itemLink:{color:"#DADADA",fontWeight:500,fontSize:"large",borderBottom:"0 transparent",backgroundColor:"transparent",outline:0,border:0,cursor:"pointer",":hover":{color:"#fff",outline:0},":focus":{outline:0},fontFamily:"Arial"},separator:{margin:"20px auto",display:"block",border:"1px solid #dededc",height:0,width:"40%"},subList:{marginLeft:"15px",paddingTop:0,paddingBottom:0,position:"relative",padding:"10px 0",marginBottom:0,fontSize:"1.6rem",marginTop:0},subItem:{padding:0,height:0,overflow:"hidden",opacity:".1",position:"relative",fontSize:"small",margin:0,listStyle:"none",transition:"opacity ease 750ms,height linear 750ms"},subItemExpanded:{opacity:1,height:"4.5rem",transition:"opacity ease 750ms,height linear 750ms"},subItemLink:{fontSize:"medium",position:"relative",color:"#DADADA",fontWeight:500,borderBottom:"0 transparent",textDecoration:"none",backgroundColor:"transparent",fontStyle:"normal",top:"10px",":hover":{borderBottom:"none",color:"#fff"},fontFamily:"Arial"}});let Ao=st.create({outline:{border:"0.1rem solid transparent"},image:{backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center center"},center:{width:"30%",margin:"auto"},container:{padding:"0.5rem"},col:{flexGrow:1},row:{display:"flex"},wrapper:{position:"relative",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%",margin:0,padding:0,overflowX:"hidden",maxWidth:"100%"},block:{background:"#fff",padding:10,borderRadius:4,position:"relative",cursor:"default"},fadein:{animationName:[{from:{opacity:0},to:{opacity:1}}],animationDuration:"1s, 1s",animationIterationCount:1}}),Ro=F.createFactory;const Wo=Object.prototype.hasOwnProperty;function Io(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}const Mo=e=>((e,t)=>n=>(n[e]=t,n))("displayName",e),$o=(e,t)=>`${t}(${(e=>"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0)(e)})`,Do=e=>t=>{const n=Ro(t);return Mo($o(t,"shouldUpdate"))(class extends c{shouldComponentUpdate(t){return e(this.props,t)}render(){return n(this.props)}})},Bo=e=>{const t=Do((e,t)=>!function(e,t){if(Io(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Wo.call(t,n[r])||!Io(e[n[r]],t[n[r]]))return!1;return!0}(e,t));return Mo($o(e,"pure"))(t(e))};var qo=Bo(({article:e,category:t,articles:n,menuVisible:r})=>F.createElement("footer",{className:lt(Lo.footer)},F.createElement("div",{className:lt(Lo.footerTop,r&&Lo.topNarrow)},F.createElement(Rr,{to:"/about",title:"About",className:lt(Lo.profileLink)},F.createElement("img",{src:`${window.location.protocol}//${window.location.hostname}:${window.location.port}${"/"+go.root}/assets/images/profile-1.jpg`,className:lt(Lo.profile),alt:"user-image"})),F.createElement("div",{className:lt(Lo.credits,r&&Lo.creditsNarrow)},F.createElement("p",{className:lt(Lo.p)},"Published on the ",F.createElement("span",{className:lt(Lo.underline)},e.date)," by ",F.createElement(Rr,{to:"/about",title:"About",className:lt(Lo.blueLink)},go.author)," in ",F.createElement(Rr,{to:t.uri,title:t.title,className:lt(Lo.blueLink)},t.title))),F.createElement("div",{className:lt(Lo.social)},F.createElement("p",{className:lt(Lo.p)},"Share this article"),F.createElement("div",{className:lt(Lo.socialLinks)},F.createElement("a",{className:lt(Lo.socialIcon),href:"#","data-platform":"twitter","data-message":"Message about this post"},F.createElement("i",{className:"icon-twitter"})),F.createElement("a",{className:lt(Lo.socialIcon),href:"#","data-platform":"facebook","data-message":"Message about this post"},F.createElement("i",{className:"icon-facebook-official"})),F.createElement(Rr,{className:lt(Lo.socialIcon),"data-platform":"mail",to:"/contact"},F.createElement("i",{className:"icon-mail-alt"}))))),F.createElement("div",{className:lt(Lo.footerBottom)},Object.values(n).map(e=>F.createElement("div",{className:lt(Lo.otherArticle,r&&Lo.otherArticleNarrow),style:{backgroundImage:`url(${e.image})`}},F.createElement("div",{className:lt(Lo.overlay)}),F.createElement(Rr,{to:e.uri,title:e.title,className:lt(Lo.otherArticleTitle)},e.title))))));let Lo=st.create({footer:{width:"100%",backgroundColor:"#F5F5F5",borderTop:"solid 1px #E9E9E9",padding:"3rem"},footerTop:{display:"flex",flexDirection:"column",justifyContent:"space-evenly","@media (min-width: 768px)":{flexDirection:"row"},"@media (min-width: 992px)":{flexDirection:"row"},marginBottom:"3rem",alignItems:"center"},topNarrow:{"@media (min-width: 768px)":{flexDirection:"column"},"@media (min-width: 992px)":{flexDirection:"row"}},profile:{width:"6rem",padding:0,border:0,borderRadius:"50%",height:"6rem",marginBottom:"1rem"},credits:{width:"100%",marginBottom:"1rem","@media (min-width: 768px)":{borderRight:"solid 4px #E9E9E9",padding:0,width:"50%"},"@media (min-width: 992px)":{borderRight:"solid 4px #E9E9E9",padding:0,width:"50%"}},creditsNarrow:{"@media (min-width: 768px)":{borderRight:"none",borderBottom:"solid 4px #E9E9E9",padding:0,width:"100%"},"@media (min-width: 992px)":{borderBottom:"none",borderRight:"solid 4px #E9E9E9",padding:0,width:"50%"}},p:{paddingRight:"2rem",letterSpacing:"2px",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',fontSize:"1.1rem",textTransform:"uppercase",color:"#000000",lineHeight:"30px",margin:0},underline:{borderBottom:"solid 1px #222"},blueLink:{color:"#337ab7",textDecoration:"none"},share:{},social:{},socialLinks:{display:"flex"},socialIcon:{margin:"0 10px",display:"inline-block",color:"#ccc",borderBottom:"solid 1px #fAfafa",textDecoration:"none",backgroundColor:"transparent",fontSize:"2.4rem",":hover":{color:"#aaa"}},footerBottom:{display:"flex",flexWrap:"wrap",justifyContent:"end"},otherArticle:{display:"flex",justifyContent:"center",backgroundPosition:"center center",backgroundSize:"cover",height:"20rem",pointerEvents:"auto",width:"80%",position:"relative",marginRight:"10%",marginLeft:"10%",marginBottom:"3rem","@media (min-width: 768px)":{width:"40%",marginRight:"5%",marginLeft:"5%"},"@media (min-width: 992px)":{width:"27.3%",marginRight:"3%",marginLeft:"3%"},"@media (min-width: 1200px)":{width:"27.3%",marginRight:"3%",marginLeft:"3%"}},otherArticleNarrow:{width:"80%",marginRight:"10%",marginLeft:"10%","@media (min-width: 768px)":{width:"80%",marginRight:"10%",marginLeft:"10%"},"@media (min-width: 992px)":{width:"40%",marginRight:"5%",marginLeft:"5%"},"@media (min-width: 1200px)":{width:"27.3%",marginRight:"3%",marginLeft:"3%"}},overlay:{position:"absolute",width:"100%",height:"100%",zIndex:2,backgroundColor:"rgba(50,50,50,.5)",top:0,left:0,pointerEvents:"none"},otherArticleTitle:{color:"#E9E9E9",marginRight:"5px",cursor:"pointer",borderBottom:"solid 1px #fAfafa",textDecoration:"none",backgroundColor:"transparent",fontSize:"large",letterSpacing:"2px",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',textTransform:"uppercase",lineHeight:"30px",margin:0,alignSelf:"center",zIndex:5,":hover":{color:"#fff"}}});class _o extends c{static readyOnActions(e,t){return Promise.all([e(yo()),e(To(t))])}constructor(){super(),this.toggleMenu=this.toggleMenu.bind(this),this.state={menuVisible:!("undefined"!=typeof window&&window.innerWidth<769)}}componentDidMount(){let{match:e}=this.props,t=e.params.articleId;_o.readyOnActions(this.props.dispatch,t)}componentWillReceiveProps(e){let{match:t}=this.props,n=t.params.articleId;e.match.params.articleId!==n&&_o.readyOnActions(this.props.dispatch,e.match.params.articleId).then(e=>{document.getElementById("article-header").scrollIntoView()})}toggleMenu(){let{menuVisible:e}=this.state;this.setState({menuVisible:!e},e=>e)}render(){let e,{texts:t,articles:n,categories:r,match:o}=this.props,i=o.params.articleId,a={title:"",id:i},s={title:"",uri:"/"};void 0!==n[i]&&void 0!==t[i]&&void 0!==r[n[i].categoryId]&&(a=n[i],e=t[i],s=r[a.categoryId]);let{menuVisible:l}=this.state;return F.createElement("div",{className:lt(Ao.wrapper,Ho.page)},F.createElement(co,{title:a.title,titleTemplate:"%s - React Drive CMS",meta:[{"char-set":"utf-8"},{name:"description",content:a.title}]}),F.createElement("button",{className:lt(Ho.menuBurger),onClick:this.toggleMenu,id:"menu-burger"},F.createElement("div",{className:lt(Ho.bar)}),F.createElement("div",{className:lt(Ho.bar)}),F.createElement("div",{className:lt(Ho.bar)})),F.createElement(Po,{menuVisible:l}),F.createElement("main",{className:lt(Ao.wrapper,Ho.main,l&&Ho.mainNarrow)},F.createElement("header",{className:lt(Ho.hero),role:"banner",style:{backgroundImage:`url(${a.image})`},id:"article-header"}),F.createElement("section",{className:lt(Ho.content,l&&Ho.contentNarrow)},F.createElement("h1",{id:"article-title",className:lt(Ho.title)},a.title),F.createElement("p",{className:lt(Ho.p)},a.subtitle),F.createElement("div",{className:lt(Ho.text),dangerouslySetInnerHTML:{__html:e}}),F.createElement(No,{id:a.id,title:a.title})),F.createElement(qo,{article:a,articles:n,category:s,menuVisible:l})))}}var zo=tr(function(e){return{location:uo(e),articles:e.article.articles,categories:e.category.categories,texts:e.article.texts}},function(e){return Object.assign(It({...ko},e),{dispatch:e})})(_o);let Ho=st.create({hero:{position:"relative",display:"block",height:"15rem",width:"100%",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover","@media (min-width: 768px)":{height:"30rem"},overflowX:"hidden",maxWidth:"100%"},title:{paddingTop:"20pt",color:"#000000",fontSize:"20pt",paddingBottom:"6pt",fontFamily:'"Arial"',lineHeight:"1.15",pageBreakAfter:"avoid",orphans:2,widows:2,textAlign:"left",letterSpacing:"-1pt",marginTop:"20px",margin:".67em 0",fontWeight:700,marginBottom:"10px"},p:{margin:0,paddingTop:"0pt",color:"#666666",fontSize:"15pt",paddingBottom:"16pt",fontFamily:'"Arial"',lineHeight:"1.15",pageBreakAfter:"avoid",orphans:2,widows:2,textAlign:"left"},text:{},page:{display:"flex",width:"100%",justifyContent:"flex-end",overflowX:"hidden",maxWidth:"100%"},main:{opacity:1,width:"100%",overflowX:"hidden",display:"block",transition:"width linear 750ms",margin:0,padding:0,animationName:[{from:{opacity:0},to:{opacity:1}}],animationDuration:"1s, 1s",animationIterationCount:1,maxWidth:"100%"},mainNarrow:{"@media (min-width: 768px)":{width:"60%"},"@media (min-width: 992px)":{width:"70%"},"@media (min-width: 1200px)":{width:"75%"}},content:{display:"block",width:"100%",padding:"3rem 8%","@media (min-width: 768px)":{padding:"3rem 16%"},"@media (min-width: 992px)":{padding:"3rem 18%"},"@media (min-width: 1200px)":{padding:"3rem 24%"},overflowX:"hidden",maxWidth:"100%"},contentNarrow:{display:"block",width:"100%",padding:"3rem 8%","@media (min-width: 768px)":{padding:"3rem 8%"},"@media (min-width: 992px)":{padding:"3rem 12%"},"@media (min-width: 1200px)":{padding:"3rem 20%"}},menuBurger:{position:"fixed",top:"1.5rem",left:"1.5rem",zIndex:"15",borderRadius:5,height:"4rem",width:"4rem",background:"#333",paddingTop:8,cursor:"pointer",borderBottom:"0 transparent",boxShadow:"#948b8b 2px 2px 10px",color:"#fff",display:"flex",flexDirection:"column",alignItems:"center",outline:0,border:0,":hover":{color:"#fff",outline:0,background:"#999"},":focus":{outline:0}},bar:{height:"0.5rem",width:"2.8rem",display:"block",margin:"0 6px 5px",background:"#fff",borderRadius:"0.3rem"}});var Uo=Bo(({title:e,subtitle:t,description:n,sidebarImage:r,menuVisible:o,showLinks:i})=>F.createElement("aside",{className:lt(Fo.sidebar,o&&Fo.sidebarNarrow),style:{backgroundImage:`url(${r})`}},F.createElement("div",{className:lt(Fo.info)},F.createElement("div",{className:lt(Fo.primary)},F.createElement("h1",{className:lt(Fo.h1)},e),F.createElement("p",{className:lt(Fo.p)},t),F.createElement("p",{className:lt(Fo.p)},n)),F.createElement("div",{className:lt(Fo.links,i&&Fo.showLinks)},F.createElement("a",{className:lt(Fo.button),href:"https://docs.google.com/folderview?id=0B0A_zASTMp9WU0NMYW9wXzVQWjg&usp=drivesdk",target:"_blank"},"Original posts on Drive"),F.createElement("a",{className:lt(Fo.button),href:"https://github.com/misterfresh/react-drive-cms/tree/master",target:"_blank"},"Source on GitHub")))));let Fo=st.create({sidebar:{justifyContent:"flex-start",alignItems:"flex-end",transition:"width linear 750ms, height linear 750ms, left linear 750ms",padding:0,backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",display:"flex",position:"relative",width:"100%","@media (min-width: 768px)":{height:"45rem",position:"relative",width:"100%"},"@media (min-width: 992px)":{height:"100vh",backgroundColor:"#f5f5f5",position:"fixed",width:"40%",left:0},"@media (min-width: 1200px)":{height:"100vh",backgroundColor:"#f5f5f5",position:"fixed",width:"40%",left:0},overflowX:"hidden",maxWidth:"100%"},sidebarNarrow:{padding:0,backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",display:"flex",width:"100%","@media (min-width: 768px)":{height:"45rem",position:"relative",width:"100%"},"@media (min-width: 992px)":{height:"45rem",position:"relative",width:"100%"},"@media (min-width: 1200px)":{height:"100vh",backgroundColor:"#f5f5f5",position:"fixed",width:"35%",left:"25%"}},info:{padding:"5%",background:"rgba(50,50,50,.5)",color:"#fafafa",height:"28rem",width:"100%",display:"flex",justifyContent:"flex-end",alignItems:"end",flexDirection:"column"},primary:{borderBottom:"solid 1px rgba(255,255,255,.3)",marginBottom:"1.6rem"},h1:{letterSpacing:0,marginBottom:0,fontSize:"3.4rem",textShadow:"0 1px 3px rgba(0,0,0,.3)",fontWeight:700,fontFamily:"'Source Sans Pro',Helvetica,Arial,sans-serif"},p:{marginBottom:10,textShadow:"0 1px 3px rgba(0,0,0,.3)",lineHeight:"2.4rem",fontSize:"1.8rem"},links:{display:"none"},showLinks:{display:"flex"},button:{fontFamily:"'Source Sans Pro',Helvetica,Arial,sans-serif",display:"inline-block",color:"#fff",marginRight:"20px",marginBottom:0,backgroundColor:"#337ab7",borderColor:"#2e6da4",fontWeight:400,textAlign:"center",touchAction:"manipulation",cursor:"pointer",border:"1px solid transparent",whiteSpace:"nowrap",padding:"6px 12px",fontSize:"14px",lineHeight:"1.42857",borderRadius:"4px",userSelect:"none",":hover":{color:"#fff",backgroundColor:"#286090",borderColor:"#204d74",textDecoration:"none"},":focus":{color:"#fff",backgroundColor:"#286090",borderColor:"#122b40",textDecoration:"none"}}});class Yo extends c{static readyOnActions(e){return Promise.all([e(yo())])}constructor(){super(),this.toggleMenu=this.toggleMenu.bind(this),this.state={menuVisible:!("undefined"!=typeof window&&window.innerWidth<769)}}componentDidMount(){Yo.readyOnActions(this.props.dispatch)}toggleMenu(){let{menuVisible:e}=this.state;this.setState({menuVisible:!e},e=>e)}render(){let{title:e,subtitle:t,description:n,sidebarImage:r,showLinks:o,children:i}=this.props,{menuVisible:a}=this.state;return F.createElement("div",{className:lt(Ao.wrapper,Go.page)},F.createElement(co,{title:e,titleTemplate:"%s - React Drive CMS",meta:[{"char-set":"utf-8"},{name:"description",content:e}]}),F.createElement("button",{className:lt(Go.menuBurger),onClick:this.toggleMenu},F.createElement("div",{className:lt(Go.bar)}),F.createElement("div",{className:lt(Go.bar)}),F.createElement("div",{className:lt(Go.bar)})),F.createElement(Po,{menuVisible:a}),F.createElement("main",{className:lt(Ao.wrapper,Go.main,Ao.fadein,a&&Go.mainNarrow)},F.createElement(Uo,{title:e,subtitle:t,description:n,sidebarImage:r,menuVisible:a,showLinks:o}),F.createElement("section",{className:lt(Go.content,a&&Go.contentNarrow)},i)))}}var Vo=tr(function(e){return{location:uo(e)}},function(e){return Object.assign(It({...ko},e),{dispatch:e})})(Yo);let Go=st.create({page:{display:"flex",width:"100%",justifyContent:"flex-end",overflowX:"hidden",maxWidth:"100%"},main:{opacity:1,width:"100%",display:"block",transition:"width linear 750ms","@media (min-width: 768px)":{display:"block"},"@media (min-width: 992px)":{flexDirection:"row",display:"flex",justifyContent:"flex-end"},margin:0,padding:0,overflowX:"hidden",maxWidth:"100%"},mainNarrow:{margin:0,width:"100%","@media (min-width: 768px)":{width:"60%",display:"block"},"@media (min-width: 992px)":{display:"block",width:"70%"},"@media (min-width: 1200px)":{width:"75%",flexDirection:"row",display:"flex",justifyContent:"flex-end"}},content:{padding:"5rem",overflowX:"hidden",maxWidth:"100%",transition:"width linear 750ms",width:"100%",marginLeft:0,"@media (min-width: 768px)":{width:"100%"},"@media (min-width: 992px)":{width:"60%"},"@media (min-width: 1200px)":{width:"60%"}},contentNarrow:{width:"100%",marginLeft:0,"@media (min-width: 768px)":{width:"100%"},"@media (min-width: 992px)":{width:"100%"},"@media (min-width: 1200px)":{width:"52%"}},menuBurger:{position:"fixed",top:"1.5rem",left:"1.5rem",zIndex:"15",borderRadius:5,height:"4rem",width:"4rem",background:"#333",paddingTop:8,cursor:"pointer",borderBottom:"0 transparent",boxShadow:"#948b8b 2px 2px 10px",color:"#fff",display:"flex",flexDirection:"column",alignItems:"center",outline:0,border:0,":hover":{color:"#fff",outline:0,background:"#999"},":focus":{outline:0}},bar:{height:"0.5rem",width:"2.8rem",display:"block",margin:"0 6px 5px",background:"#fff",borderRadius:"0.3rem"}});class Ko extends c{constructor(e){super(e),this.addDisqusScript=this.addDisqusScript.bind(this),this.removeDisqusScript=this.removeDisqusScript.bind(this)}addDisqusScript(){this.disqusCount=document.createElement("script");let e=this.disqusCount,t=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];e.async=!0,e.type="text/javascript",e.src=`https://${go.shortname}.disqus.com/count.js`,t.appendChild(e)}removeDisqusScript(){this.disqusCount&&this.disqusCount.parentNode&&(this.disqusCount.parentNode.removeChild(this.disqusCount),this.disqusCount=null)}componentDidMount(){window.disqus_shortname=go.shortname,void 0!==window.DISQUSWIDGETS&&(window.DISQUSWIDGETS=void 0),this.addDisqusScript()}componentWillUnmount(){this.removeDisqusScript()}render(){return F.createElement("span",{id:"disqus-comments-count"})}}var Xo=Bo(({article:e,category:t})=>F.createElement("article",{className:lt(Jo.article)},F.createElement("h2",null,F.createElement(Rr,{to:e.uri,title:e.title,className:lt(Jo.title)},e.title)),F.createElement("p",{className:lt(Jo.p,Jo.description)},e.subtitle),F.createElement("p",{className:lt(Jo.p,Jo.meta)},F.createElement("span",{title:"Comments for "+e.title,"data-disqus-url":window.location.protocol+window.location.hostname+e.uri,"data-disqus-identifier":e.id,className:"disqus-comment-count "+lt(Jo.comments)})," -  Published in :  ",F.createElement(Rr,{title:t.title,to:t.uri,className:lt(Jo.category)},t.title))));let Jo=st.create({article:{padding:"30px 0",display:"block",borderBottom:"solid 1px #f5f5f5"},title:{textDecoration:"none",color:"#333337",fontSize:"2.4rem",marginTop:0,fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',fontWeight:700,marginBottom:"10px",lineHeight:"1.1",cursor:"pointer",backgroundColor:"transparent",border:"none","@media (min-width: 992px)":{fontSize:"3.2rem"},":hover":{color:"#b6b6b6"}},p:{margin:"0 0 10px",fontFamily:'"Droid Serif",serif',fontSize:"1.6rem","@media (min-width: 992px)":{fontSize:"1.8rem"}},description:{marginBottom:"30px"},meta:{color:"#b6b6b6"},comments:{},category:{textDecoration:"none",cursor:"pointer",backgroundColor:"transparent",outline:0,transition:"all .4s",color:"#b6b6b6",borderBottom:"1px solid #b6b6b6",":hover":{textDecoration:"none",cursor:"pointer",backgroundColor:"transparent",color:"#333337",outline:0,transition:"all .4s",borderBottom:"1px solid #b6b6b6"}}});var Qo=Bo(({category:e})=>F.createElement("div",{className:lt(Zo.category),style:{backgroundImage:`url(${e.image})`}},F.createElement("h2",{className:lt(Zo.title)},F.createElement(Rr,{to:e.uri,title:e.title,className:lt(Zo.link)},e.title))));let Zo=st.create({category:{height:"30rem",backgroundPosition:"center center",backgroundSize:"cover",width:"100%","@media (min-width: 768px)":{width:"100%"},"@media (min-width: 992px)":{width:"48%"},position:"relative",marginBottom:"2rem",display:"flex",alignItems:"flex-end"},link:{color:"#fff",cursor:"pointer",textDecoration:"none",backgroundColor:"transparent",fontSize:"2rem",borderBottom:"solid 1px #fAfafa",":hover":{cursor:"pointer",textDecoration:"none",backgroundColor:"transparent",outline:0,color:"#999",borderBottom:"solid 1px #999",transition:"all .4s"}},title:{background:"rgba(50,50,50,.5)",width:"100%",fontSize:"2rem",color:"#fff",padding:"10px",fontWeight:700,lineHeight:"1.1",bottom:0,fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',marginBottom:0}});var ei=tr(function(e){return{location:uo(e),categories:e.category.categories,articles:e.article.articles}},function(e){return Object.assign(It({},e),{dispatch:e})})(class extends c{constructor(){super(),this.setActivePanel=this.setActivePanel.bind(this),this.state={activePanel:"posts"}}setActivePanel(){let e=event.target.dataset.panel;this.setState({activePanel:e})}componentWillReceiveProps(e){let{match:t}=this.props;t.params.categoryId!==e.match.params.categoryId&&this.setState({activePanel:"posts"})}render(){let{location:e,categories:t,articles:n,match:r}=this.props,o=r.params.categoryId,i=t[o]?t[o]:{title:"",image:`${window.location.protocol}//${window.location.hostname}:${window.location.port}/assets/images/default-sidebar.jpg`},{activePanel:a}=this.state;return F.createElement(Vo,{title:i.title,categories:t,articles:n,sidebarImage:i.image},F.createElement("div",{className:lt(ti.subNav)},F.createElement("button",{className:lt(ti.button,"posts"===a&&ti.buttonActive),onClick:this.setActivePanel,"data-panel":"posts"},"Posts"),F.createElement("button",{className:lt(ti.button,"categories"===a&&ti.buttonActive),onClick:this.setActivePanel,"data-panel":"categories"},"Categories")),F.createElement("div",{className:lt(ti.list)},"posts"===a&&Object.values(n).filter(e=>e.categoryId===o).map(e=>F.createElement(Xo,{key:e.id,article:e,category:t[e.categoryId]})),"categories"===a&&Object.values(t).map(e=>F.createElement(Qo,{key:e.id,category:e}))),F.createElement(Ko,null))}});let ti=st.create({subNav:{borderBottom:"solid 1px #f5f5f5",lineHeight:"3rem"},button:{borderBottom:"solid 2px #000",display:"inline-block",fontWeight:700,marginRight:"10px",fontSize:"1.2rem",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',textTransform:"uppercase",cursor:"pointer",backgroundColor:"transparent",outline:0,lineHeight:"30px",letterSpacing:"2pt",textDecoration:"none",color:"#b6b6b6",border:"none",":active":{borderBottom:"solid 2px #000",color:"#333337"},":hover":{borderBottom:"solid 2px #000",color:"#333337"},":focus":{outline:0}},buttonActive:{borderBottom:"solid 2px #000",color:"#333337"},list:{animation:"fadein 2s",display:"flex",flexWrap:"wrap",width:"100%",justifyContent:"space-between"}}),ni=st.create({content:{display:"block"},image:{borderRadius:"50%",width:"150px",border:0,maxWidth:"100%",verticalAlign:"middle",float:"left",marginRight:"2rem"},info:{},title:{margin:"30px 0 20px",fontSize:"3.8rem",fontWeight:700,lineHeight:"1.1",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif'},p:{fontSize:"2rem",margin:"0 0 10px",marginBottom:"30px"},footer:{padding:"10px 0",fontSize:"1.4rem",letterSpacing:"1px",fontWeight:700,fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',textTransform:"uppercase"},contact:{textDecoration:"none",backgroundColor:"transparent",color:"#999",borderBottom:"none",fontSize:"1.4rem",":hover":{textDecoration:"none",backgroundColor:"transparent",color:"#333",outline:0,transition:"all .4s",borderBottom:"none"}}});function ri(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oi(e){return null==e?void 0===e?bi:gi:mi&&mi in Object(e)?function(e){var t=hi.call(e,mi),n=e[mi];try{e[mi]=void 0;var r=!0}catch(e){}var o=li.call(e);return r&&(t?e[mi]=n:delete e[mi]),o}(e):function(e){return li.call(e)}(e)}function ii(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&oi(e)==yi}(e))return vi;if(ri(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ri(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(wi,"");var n=ki.test(e);return n||Ei.test(e)?Si(e.slice(2),n?2:8):xi.test(e)?vi:+e}function ai(e,t,n){function r(t){var n=l,r=c;return l=c=void 0,m=t,d=e.apply(r,n)}function o(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-m>=u}function i(){var e=fi();if(o(e))return a(e);p=setTimeout(i,function(e){var n=t-(e-h);return g?Ti(n,u-(e-m)):n}(e))}function a(e){return p=void 0,b&&l?r(e):(l=c=void 0,d)}function s(){var e=fi(),n=o(e);if(l=arguments,c=this,h=e,n){if(void 0===p)return function(e){return m=e,p=setTimeout(i,t),f?r(e):d}(h);if(g)return p=setTimeout(i,t),r(h)}return void 0===p&&(p=setTimeout(i,t)),d}var l,c,u,d,p,h,m=0,f=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError(Ci);return t=ii(t)||0,ri(n)&&(f=!!n.leading,u=(g="maxWait"in n)?Oi(ii(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),s.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=h=c=p=void 0},s.flush=function(){return void 0===p?d:a(fi())},s}var si=Object.prototype,li=si.toString,ci="object"==typeof global&&global&&global.Object===Object&&global,ui="object"==typeof self&&self&&self.Object===Object&&self,di=ci||ui||Function("return this")(),pi=di.Symbol,hi=(si=Object.prototype).hasOwnProperty,mi=(li=si.toString,pi?pi.toStringTag:void 0),fi=function(){return di.Date.now()},gi="[object Null]",bi="[object Undefined]",yi=(mi=pi?pi.toStringTag:void 0,"[object Symbol]"),vi=NaN,wi=/^\s+|\s+$/g,xi=/^[-+]0x[0-9a-f]+$/i,ki=/^0b[01]+$/i,Ei=/^0o[0-7]+$/i,Si=parseInt,Ci="Expected a function",Oi=Math.max,Ti=Math.min;let Ni=[];for(let e=0;e<256;e++)Ni[e]=(e<16?"0":"")+e.toString(16);class Pi extends _{constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.updateValue=ai(this.updateValue.bind(this),700),this.state={value:e.value},this.id=function(){let e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return Ni[255&e]+Ni[e>>8&255]+Ni[e>>16&255]+Ni[e>>24&255]+"-"+Ni[255&t]+Ni[t>>8&255]+"-"+Ni[t>>16&15|64]+Ni[t>>24&255]+"-"+Ni[63&n|128]+Ni[n>>8&255]+"-"+Ni[n>>16&255]+Ni[n>>24&255]+Ni[255&r]+Ni[r>>8&255]+Ni[r>>16&255]+Ni[r>>24&255]}()}handleChange(e){let t=e.target.dataset.property,n="number"===this.props.type?parseInt(e.target.value):e.target.value;this.setState({value:n},()=>this.updateValue(t,n))}componentWillReceiveProps(e){this.id!==document.activeElement.id&&this.setState({value:e.value})}updateValue(e,t){this.setState({value:t},()=>this.props.onInput(e,t,this.props.id))}render(){let{className:e="",style:t={},name:n="",type:r="text",placeholder:o="",Component:i="input",property:a="",min:s=0,step:l=1}=this.props,{value:c}=this.state;return n=n||a,F.createElement(i,{value:c,onInput:this.handleChange,style:t,className:e,name:n,type:r,placeholder:o||(u=n,u?u.charAt(0).toUpperCase()+u.slice(1):""),"data-property":a||n,min:s,step:l,id:this.id});var u}}let ji=st.create({base:{display:"block",width:"100%",padding:".5rem .75rem",fontSize:"1.6rem",lineHeight:"1.25",color:"#464a4c",backgroundColor:"#fff",backgroundImage:"none",backgroundClip:"padding-box",border:".1rem solid rgba(0,0,0,.15)",borderRadius:".25rem",transition:"border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s",marginBottom:10,"::placeholder":{maxWidth:"92%",overflowX:"hidden",textOverflow:"ellipsis"}},error:{border:".1rem solid red","::placeholder":{maxWidth:"92%",overflowX:"hidden",textOverflow:"ellipsis",color:"red"}}}),Ai=st.create({base:{display:"inline-block",fontWeight:"400",lineHeight:"1.25rem",textAlign:"center",whiteSpace:"nowrap",verticalAlign:"middle",userSelect:"none",border:"0.1rem solid transparent",padding:"1rem 1rem",fontSize:"1.6rem",borderRadius:".5rem",transition:"all .2s ease-in-out",cursor:"pointer",textDecoration:"none",color:"#fff",backgroundColor:"#0275d8",borderColor:"#0275d8",":hover":{textDecoration:"none",backgroundColor:"#025aa5",borderColor:"#01549b",color:"#fff"}},large:{padding:"1.5rem",fontSize:"2rem",borderRadius:".5rem"},block:{display:"block",width:"100%"},disabled:{pointerEvents:"none",backgroundColor:"#85c6f2",borderColor:"#85c6f2",":hover":{backgroundColor:"#85c6f2",borderColor:"#85c6f2",cursor:"not-allowed"}}});function Ri(e,t){let n="handleJsonpResults_"+Date.now()+"_"+parseInt(1e4*Math.random());window[n]=function(e){t(e);const r=document.getElementById(n);document.getElementsByTagName("head")[0].removeChild(r),delete window[n]};let r=`${e}${e.indexOf("?")>-1?"&":"?"}callback=${n}`;const o=document.createElement("script");o.setAttribute("src",r),o.id=n,document.getElementsByTagName("head")[0].appendChild(o)}var Wi=new class extends fo{constructor(){super(),this.send=this.send.bind(this)}send(e){Ri("http://smart-ip.net/info-json",t=>{e.ip=t.address,e.country=t.countryName,Ri(`https://script.google.com/macros/s/${go.sendContactMessageUrlId}/exec?${Object.keys(e).map(t=>`${t}=${encodeURIComponent(e[t])}`).join("&")}`,e=>{console.log(e)})})}};var Ii=tr(function(e){return{location:uo(e)}},function(e){return Object.assign(It({},e),{dispatch:e})})(class extends c{constructor(e){super(e),this.state={values:{name:{value:"",error:!1,required:!0},email:{value:"",error:!1,required:!0},company:{value:"",error:!1,required:!1},phone:{value:"",error:!1,required:!1},message:{value:"",error:!1,required:!0}},valid:!1,sent:!1},this.validateEmail=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,this.updateFormProperty=this.updateFormProperty.bind(this),this.sendMessage=this.sendMessage.bind(this)}updateFormProperty(e,t){let{values:n}=this.state,r=n[e],{error:o,required:i}=r;o=i&&t.length<4?"4 characters minimum.":"email"===e&&!this.validateEmail.test(t)&&"Enter valid email.",n={...n,[e]:{required:i,value:t,error:o}};let a=Object.values(n).every(e=>!e.error&&(!e.required||e.value.length>3));this.setState({values:n,valid:a})}sendMessage(e){e.preventDefault(),e.stopPropagation();let{values:t}=this.state;this.setState({sent:!0},()=>{let e={};Object.keys(t).forEach(n=>{e[n]=t[n].value}),Wi.send(e)})}render(){let{name:e,email:t,company:n,phone:r,message:o}=this.state.values,{valid:i,sent:a}=this.state;return F.createElement(Vo,{title:"Contact",subtitle:"Get in touch with us",description:"",sidebarImage:`${window.location.protocol}//${window.location.hostname}:${window.location.port}${"/"+go.root}/assets/images/default-contact.jpg`},F.createElement("h3",{className:lt(Mi.title)},"Send me an email"),F.createElement("form",{className:lt(Mi.form)},F.createElement("div",null,F.createElement("label",{for:"name",className:lt(Mi.label,Mi.required)},"Your name"),e.error&&F.createElement("span",{className:lt(Mi.error)},"   ",e.error),F.createElement(Pi,{value:e.value,name:"name",placeholder:"Jack Smith",onInput:this.updateFormProperty,className:lt(ji.base,e.error&&ji.error)})),F.createElement("div",null,F.createElement("label",{for:"email",className:lt(Mi.label,Mi.required)},"Your email"),t.error&&F.createElement("span",{className:lt(Mi.error)},"   ",t.error),F.createElement(Pi,{value:t.value,name:"email",placeholder:"example@mail.com",type:"email",onInput:this.updateFormProperty,className:lt(ji.base,t.error&&ji.error)})),F.createElement("div",null,F.createElement("label",{for:"company",className:lt(Mi.label)},"Company"),n.error&&F.createElement("span",{className:lt(Mi.error)},"   ",n.error),F.createElement(Pi,{value:n.value,name:"company",placeholder:"Example Corporation",onInput:this.updateFormProperty,className:lt(ji.base,n.error&&ji.error)})),F.createElement("div",null,F.createElement("label",{for:"phone",className:lt(Mi.label)},"Phone number"),r.error&&F.createElement("span",{className:lt(Mi.error)},"   ",r.error),F.createElement(Pi,{value:r.value,name:"phone",placeholder:"+44778765439",onInput:this.updateFormProperty,className:lt(ji.base,r.error&&ji.error)})),F.createElement("div",null,F.createElement("label",{for:"message",className:lt(Mi.label,Mi.required)},"Your message"),o.error&&F.createElement("span",{className:lt(Mi.error)},"   ",o.error),F.createElement(Pi,{value:o.value,name:"message",placeholder:"Hello, let's chat!",Component:"textarea",onInput:this.updateFormProperty,className:lt(ji.base,o.error&&ji.error)})),i&&!a?F.createElement("button",{className:lt(Ai.base,Mi.button),onClick:this.sendMessage},"Send Message"):F.createElement("button",{className:lt(Ai.base,Ai.disabled,Mi.button)},a?"Message sent !":"Form incomplete")),F.createElement("footer",{className:lt(Mi.footer)},F.createElement(Rr,{to:"/about",className:lt(Mi.contact)},"About")))}});let Mi=st.create({title:{fontSize:"2.6rem",marginTop:"20px",fontFamily:"inherit",fontWeight:500,lineHeight:"1.1",color:"inherit",marginBottom:"10px"},label:{fontSize:"2rem",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',fontWeight:700,margin:"15px 0 0"},button:{fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif'},error:{color:"red"},required:{":after":{color:"red",content:'" *"'}},footer:{padding:"10px 0",fontSize:"1.4rem",letterSpacing:"1px",fontWeight:700,fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',textTransform:"uppercase"},contact:{textDecoration:"none",backgroundColor:"transparent",color:"#999",borderBottom:"none",fontSize:"1.4rem",":hover":{textDecoration:"none",backgroundColor:"transparent",color:"#333",outline:0,transition:"all .4s",borderBottom:"none"}},form:{marginBottom:"5rem"}});var $i=tr(function(e){return{location:uo(e),categories:e.category.categories,articles:e.article.articles}},function(e){return Object.assign(It({},e),{dispatch:e})})(class extends c{constructor(){super(),this.setActivePanel=this.setActivePanel.bind(this),this.state={activePanel:"posts"}}setActivePanel(){let e=event.target.dataset.panel;this.setState({activePanel:e})}render(){let{location:e,categories:t,articles:n}=this.props,{activePanel:r}=this.state;return F.createElement(Vo,{title:"Cats",subtitle:"React Drive CMS Demo",description:"Publish articles directly from Google Drive to your website.",sidebarImage:`${window.location.protocol}//${window.location.hostname}:${window.location.port}${"/"+go.root}/assets/images/default-sidebar.jpg`,showLinks:!0},F.createElement("div",{className:lt(Di.subNav)},F.createElement("button",{className:lt(Di.button,"posts"===r&&Di.buttonActive),onClick:this.setActivePanel,"data-panel":"posts"},"Posts"),F.createElement("button",{className:lt(Di.button,"categories"===r&&Di.buttonActive),onClick:this.setActivePanel,"data-panel":"categories"},"Categories")),F.createElement("div",{className:lt(Di.list,"posts"===r?Ao.fadein:Di.hide)},Object.values(n).map(e=>F.createElement(Xo,{key:e.id,article:e,category:t[e.categoryId]}))),F.createElement("div",{className:lt(Di.list,"categories"===r?Ao.fadein:Di.hide)},Object.values(t).map(e=>F.createElement(Qo,{key:e.id,category:e}))),F.createElement(Ko,null))}});let Di=st.create({subNav:{borderBottom:"solid 1px #f5f5f5",lineHeight:"3rem"},button:{borderBottom:"solid 2px #000",display:"inline-block",fontWeight:700,marginRight:"10px",fontSize:"1.2rem",fontFamily:'"Source Sans Pro",Helvetica,Arial,sans-serif',textTransform:"uppercase",cursor:"pointer",backgroundColor:"transparent",outline:0,lineHeight:"30px",letterSpacing:"2pt",textDecoration:"none",color:"#b6b6b6",border:"none",":active":{borderBottom:"solid 2px #000",color:"#333337"},":hover":{borderBottom:"solid 2px #000",color:"#333337"},":focus":{outline:0}},buttonActive:{borderBottom:"solid 2px #000",color:"#333337"},list:{animation:"fadein 2s",display:"flex",flexWrap:"wrap",width:"100%",justifyContent:"space-between"},hide:{position:"absolute",top:"-9999px",left:"-9999px",display:"none"}});var Bi=[{path:"/",component:$i,exact:!0},{path:"/articles/:articleId/:slug",component:zo},{path:"/categories/:categoryId",component:ei},{path:"/about",component:()=>F.createElement(Vo,{title:"About",subtitle:"React Drive CMS Demo",description:"An easy way to publish articles directly from Google Drive",sidebarImage:`${window.location.protocol}//${window.location.hostname}:${window.location.port}${"/"+go.root}/assets/images/default-about.jpg`,showLinks:!0},F.createElement("div",{className:lt(ni.content)},F.createElement("img",{src:`${window.location.protocol}//${window.location.hostname}:${window.location.port}${"/"+go.root}/assets/images/react_logo.png`,className:lt(ni.image)}),F.createElement("div",{className:lt(ni.info)},F.createElement("h1",{className:lt(ni.title)},"React Drive CMS Demo"),F.createElement("p",{className:lt(ni.p)},"A demo site to showcase the use of Google Drive as a Content Management System. Write articles in Google Docs and publish them directly from there."),F.createElement("p",{className:lt(ni.p)},"Google Drive is the backend, only a few static files are hosted on GitHub Pages, and the content is displayed with React JS."))),F.createElement("footer",{className:lt(ni.footer)},F.createElement(Rr,{to:"/contact",className:lt(ni.contact)},"Contact"))),exact:!0},{path:"/contact",component:Ii,exact:!0},{path:"/*",component:class extends _{render(){return F.createElement("div",null,F.createElement(co,{title:"Not Found"}),"Page was not found")}}}];function qi(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}const Li=qi();Li.withExtraArgument=qi;const _i={location:{pathname:"/",query:{},search:""}};const zi={isFetching:{},fetched:{},articles:{},texts:{}};const Hi={isFetching:!1,fetched:!1,categories:{}},Ui=function(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];void 0===e[o]&&Rt(`No reducer provided for key "${o}"`),"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o,i;o={};try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:Qt.INIT}))throw new Error(`Reducer "${t}" returned undefined during initialization. `+"If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error(`Reducer "${t}" returned undefined when probed with a random type. `+`Don't try to handle ${Qt.INIT} or other actions in "redux/*" `+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;{const r=function(e,t,n,r){const o=Object.keys(t),i=n&&n.type===Qt.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!At(e))return`The ${i} has unexpected type of "`+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+`keys: "${o.join('", "')}"`;const a=Object.keys(e).filter(e=>!t.hasOwnProperty(e)&&!r[e]);return a.forEach(e=>{r[e]=!0}),a.length>0?`Unexpected ${a.length>1?"keys":"key"} `+`"${a.join('", "')}" found in ${i}. `+"Expected to find one of the known reducer keys instead: "+`"${o.join('", "')}". Unexpected keys will be ignored.`:void 0}(e,n,t,o);r&&Rt(r)}let a=!1;const s={};for(let o=0;o<r.length;o++){const i=r[o],l=n[i],c=e[i],u=l(c,t);if(void 0===u){const e=$t(i,t);throw new Error(e)}s[i]=u,a=a||u!==c}return a?s:e}}({article:function(e=zi,t){switch(t.type){case Eo:return{...e,isFetching:{...e.isFetching,[t.articleId]:!0}};case So:return{...e,isFetching:{...e.isFetching,[t.articleId]:!1},fetched:{...e.fetched,[t.articleId]:!0},texts:{...e.texts,[t.articleId]:t.article}};case ho:return{...e,articles:{...e.articles,...t.categories.articles}};default:return e}},category:function(e=Hi,t){switch(t.type){case po:return{...e,isFetching:!0};case ho:return{...e,isFetching:!0,fetched:!0,categories:{...t.categories.categories}};default:return e}},route:function(e=_i,t){switch(t.type){case ut:let n={...t.location};if(n&&n.search&&(!n.query||!Object.keys(n.query).length)){let e=n.search.slice(1);n.query=JSON.parse('{"'+decodeURI(e.replace("+"," ")).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}')}return{...e,location:n};default:return e}}});let Fi=de({basename:go.root});const Yi=function(e,t){return Mt(Ui,e,function(...e){return t=>(...n)=>{const r=t(...n);let o=r.dispatch,i=[];const a={getState:r.getState,dispatch:(...e)=>o(...e)};return i=e.map(e=>e(a)),o=function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}(...i)(r.dispatch),{...r,dispatch:o}}}(Li,t))}({},function(e){return()=>t=>n=>{if(n.type!==ct)return t(n);const{location:{method:r,args:o}}=n;e[r](...o)}}(Fi));A(F.createElement(({store:e,history:t})=>F.createElement(jn,{store:e},F.createElement(Ir,{history:t},F.createElement("div",{className:lt(Ao.wrapper)},((e,t={})=>e?lr(jr,null,e.map((e,n)=>lr(vr,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:n=>lr(e.component,{...n,...t,route:e})}))):null)(Bi)))),{store:Yi,history:Fi}),document.getElementById("app-mount"),document.getElementById("app-mount").firstElementChild)}();
import PropTypes from 'prop-types'; import styled from 'styled-components'; import { getDownArrowIcon } from './icons'; /** * A select. */ const Select = styled.select` appearance: none; user-select: none; width: ${props => props.fullWidth && '100%'}; height: 2.5rem; padding-top: ${props => props.theme.space[3]}; padding-right: ${props => props.theme.space[5]}; padding-bottom: ${props => props.theme.space[3]}; padding-left: ${props => props.theme.space[3]}; border: 1px solid ${props => props.theme.colors.primary}; border-radius: ${props => props.theme.radii.base}; font-family: ${props => props.theme.fonts.base}; font-size: ${props => props.theme.fontSizes.base}; color: ${props => props.theme.colors.base}; background-color: ${props => props.theme.colors.bg}; /* Down arrow icon */ background-image: ${props => getDownArrowIcon(props.theme.colors.secondary)}; background-position: center right ${props => props.theme.space[3]}; background-repeat: no-repeat; &:hover:enabled, &:active:enabled, &:focus { outline: 0; box-shadow: 0 0 0 2px ${props => props.theme.colors.focus}; cursor: pointer; } &:disabled { opacity: 0.6; filter: saturate(60%); } `; Select.propTypes = { value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), fullWidth: PropTypes.bool, disabled: PropTypes.bool, }; Select.defaultProps = {}; /** @component */ export default Select;
!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a(require("src/main/webapp/static/assets/bower_components/moment/moment"),require("src/main/webapp/static/assets/bower_components/fullcalendar/dist/fullcalendar")):"function"==typeof define&&define.amd?define(["src/main/webapp/static/assets/bower_components/moment/moment","fullcalendar"],a):"object"==typeof exports?a(require("src/main/webapp/static/assets/bower_components/moment/moment"),require("src/main/webapp/static/assets/bower_components/fullcalendar/dist/fullcalendar")):a(e.moment,e.FullCalendar)}("undefined"!=typeof self?self:this,function(e, a){return function(e){function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}var t={};return a.m=e,a.c=t,a.d=function(e, t, n){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e, a){return Object.prototype.hasOwnProperty.call(e,a)},a.p="",a(a.s=432)}([function(a,t){a.exports=e},function(e,t){e.exports=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(66);var n=t(1);n.datepickerLocale("af","af",{closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("af",{buttonText:{year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayHtml:"Heeldag",eventLimitText:"Addisionele",noEventsMessage:"Daar is geen gebeurtenisse nie"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(68);var n=t(1);n.datepickerLocale("ar-dz","ar-DZ",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-dz",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(70);var n=t(1);n.datepickerLocale("ar-kw","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-kw",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(72);var n=t(1);n.datepickerLocale("ar-ly","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-ly",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(a,r,s,d){var i=t(a),o=n[e][t(a)];return 2===i&&(o=o[r?0:1]),o.replace(/%d/i,a)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return a[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(74);var n=t(1);n.datepickerLocale("ar-ma","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-ma",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(76);var n=t(1);n.datepickerLocale("ar-sa","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-sa",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},t={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return t[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return a[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(78);var n=t(1);n.datepickerLocale("ar-tn","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar-tn",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(80);var n=t(1);n.datepickerLocale("ar","ar",{closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ar",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},t={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(a,t,s,d){var i=n(a),o=r[e][n(a)];return 2===i&&(o=o[t?0:1]),o.replace(/%d/i,a)}},d=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar",{months:d,monthsShort:d,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return t[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return a[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(82);var n=t(1);n.datepickerLocale("bg","bg",{closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("bg",{buttonText:{month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",eventLimitText:function(e){return"+още "+e},noEventsMessage:"Няма събития за показване"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e+"-ти":1===a?e+"-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(84);var n=t(1);n.datepickerLocale("bs","bs",{closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novmbar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("bs",{buttonText:{prev:"Prošli",next:"Sljedeći",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},allDayText:"Cijeli dan",eventLimitText:function(e){return"+ još "+e},noEventsMessage:"Nema događaja za prikazivanje"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t){var n=e+" ";switch(t){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(86);var n=t(1);n.datepickerLocale("ca","ca",{closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ca",{buttonText:{month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},allDayText:"Tot el dia",eventLimitText:"més",noEventsMessage:"No hi ha esdeveniments per mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,a){var t=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==a&&"W"!==a||(t="a"),e+t},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(88);var n=t(1);n.datepickerLocale("cs","cs",{closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("cs",{buttonText:{month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},allDayText:"Celý den",eventLimitText:function(e){return"+další: "+e},noEventsMessage:"Žádné akce k zobrazení"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?s+(a(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?s+(a(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(a(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?s+(a(e)?"dny":"dní"):s+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?s+(a(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?s+(a(e)?"roky":"let"):s+"lety"}}var n="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return e.defineLocale("cs",{months:n,monthsShort:r,monthsParse:function(e,a){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$|^"+a[t]+"$","i");return n}(n,r),shortMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(r),longMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(n),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(90);var n=t(1);n.datepickerLocale("da","da",{closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("da",{buttonText:{month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},allDayText:"Hele dagen",eventLimitText:"flere",noEventsMessage:"Ingen arrangementer at vise"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(92);var n=t(1);n.datepickerLocale("de-at","de",{closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("de-at",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?r[t][0]:r[t][1]}return e.defineLocale("de-at",{ months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(94);var n=t(1);n.datepickerLocale("de-ch","de",{closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("de-ch",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?r[t][0]:r[t][1]}return e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(96);var n=t(1);n.datepickerLocale("de","de",{closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("de",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?r[t][0]:r[t][1]}return e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(98);var n=t(1);n.datepickerLocale("el","el",{closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Σήμερα",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("el",{buttonText:{month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},allDayText:"Ολοήμερο",eventLimitText:"περισσότερα",noEventsMessage:"Δεν υπάρχουν γεγονότα για να εμφανιστεί"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}return e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,a){return e?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,a,t){return e>11?t?"μμ":"ΜΜ":t?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],r=t&&t.hours();return a(n)&&(n=n.apply(t)),n.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(100);var n=t(1);n.datepickerLocale("en-au","en-AU",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("en-au")},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(102),t(1).locale("en-ca")},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(104);var n=t(1);n.datepickerLocale("en-gb","en-GB",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("en-gb")},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(106),t(1).locale("en-ie")},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(108);var n=t(1);n.datepickerLocale("en-nz","en-NZ",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("en-nz")},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(110);var n=t(1);n.datepickerLocale("es-do","es",{closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("es-do",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),t="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?t[e.month()]:a[e.month()]:a},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(112);var n=t(1);n.datepickerLocale("es-us","es",{closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("es-us",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),t="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?t[e.month()]:a[e.month()]:a},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(114);var n=t(1);n.datepickerLocale("es","es",{closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("es",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),t="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?t[e.month()]:a[e.month()]:a},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(116);var n=t(1);n.datepickerLocale("et","et",{closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("et",{buttonText:{month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},allDayText:"Kogu päev",eventLimitText:function(e){return"+ veel "+e},noEventsMessage:"Kuvamiseks puuduvad sündmused"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return a?r[t][2]?r[t][2]:r[t][1]:n?r[t][0]:r[t][1]}return e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(118);var n=t(1);n.datepickerLocale("eu","eu",{closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("eu",{buttonText:{month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},allDayHtml:"Egun<br/>osoa",eventLimitText:"gehiago",noEventsMessage:"Ez dago ekitaldirik erakusteko"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(120);var n=t(1);n.datepickerLocale("fa","fa",{closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("fa",{buttonText:{month:"ماه",week:"هفته",day:"روز",list:"برنامه"},allDayText:"تمام روز",eventLimitText:function(e){return"بیش از "+e},noEventsMessage:"هیچ رویدادی به نمایش"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},t={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,a,t){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return t[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return a[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(122);var n=t(1);n.datepickerLocale("fi","fi",{closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"d.m.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("fi",{buttonText:{month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},allDayText:"Koko päivä",eventLimitText:"lisää",noEventsMessage:"Ei näytettäviä tapahtumia"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,n,r){var s="";switch(n){ case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":s=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":s=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":s=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":s=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":s=r?"vuoden":"vuotta"}return s=t(e,r)+" "+s}function t(e,a){return e<10?a?r[e]:n[e]:e}var n="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",n[7],n[8],n[9]];return e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(124);var n=t(1);n.datepickerLocale("fr-ca","fr-CA",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("fr-ca",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(126);var n=t(1);n.datepickerLocale("fr-ch","fr-CH",{closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("fr-ch",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(128);var n=t(1);n.datepickerLocale("fr","fr",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("fr",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(130);var n=t(1);n.datepickerLocale("gl","gl",{closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("gl",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Axenda"},allDayHtml:"Todo<br/>o día",eventLimitText:"máis",noEventsMessage:"Non hai eventos para amosar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(132);var n=t(1);n.datepickerLocale("he","he",{closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),n.locale("he",{buttonText:{month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",eventLimitText:"אחר",noEventsMessage:"אין אירועים להצגה",weekNumberTitle:"שבוע"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,a,t){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?t?'לפנה"צ':"לפני הצהריים":e<18?t?'אחה"צ':"אחרי הצהריים":"בערב"}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(134);var n=t(1);n.datepickerLocale("hi","hi",{closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("hi",{buttonText:{month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},allDayText:"सभी दिन",eventLimitText:function(e){return"+अधिक "+e},noEventsMessage:"कोई घटनाओं को प्रदर्शित करने के लिए"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},t={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return t[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return a[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,a){return 12===e&&(e=0),"रात"===a?e<4?e:e+12:"सुबह"===a?e:"दोपहर"===a?e>=10?e:e+12:"शाम"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(136);var n=t(1);n.datepickerLocale("hr","hr",{closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("hr",{buttonText:{prev:"Prijašnji",next:"Sljedeći",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},allDayText:"Cijeli dan",eventLimitText:function(e){return"+ još "+e},noEventsMessage:"Nema događaja za prikaz"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t){var n=e+" ";switch(t){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(138);var n=t(1);n.datepickerLocale("hu","hu",{closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""}),n.locale("hu",{buttonText:{month:"Hónap",week:"Hét",day:"Nap",list:"Napló"},allDayText:"Egész nap",eventLimitText:"további",noEventsMessage:"Nincs megjeleníthető események"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r=e;switch(t){case"s":return n||a?"néhány másodperc":"néhány másodperce";case"ss":return r+(n||a)?" másodperc":" másodperce";case"m":return"egy"+(n||a?" perc":" perce");case"mm":return r+(n||a?" perc":" perce");case"h":return"egy"+(n||a?" óra":" órája");case"hh":return r+(n||a?" óra":" órája");case"d":return"egy"+(n||a?" nap":" napja");case"dd":return r+(n||a?" nap":" napja");case"M":return"egy"+(n||a?" hónap":" hónapja");case"MM":return r+(n||a?" hónap":" hónapja");case"y":return"egy"+(n||a?" év":" éve");case"yy":return r+(n||a?" év":" éve")}return""}function t(e){return(e?"":"[múlt] ")+"["+n[this.day()]+"] LT[-kor]"}var n="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?!0===t?"de":"DE":!0===t?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return t.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return t.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(140);var n=t(1);n.datepickerLocale("id","id",{closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("id",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayHtml:"Sehari<br/>penuh",eventLimitText:"lebih",noEventsMessage:"Tidak ada acara untuk ditampilkan"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(142);var n=t(1);n.datepickerLocale("is","is",{closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd.mm.yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("is",{buttonText:{month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},allDayHtml:"Allan<br/>daginn",eventLimitText:"meira",noEventsMessage:"Engir viðburðir til að sýna"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e){return e%100==11||e%10!=1}function t(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return a(e)?s+(t||r?"sekúndur":"sekúndum"):s+"sekúnda";case"m":return t?"mínúta":"mínútu";case"mm":return a(e)?s+(t||r?"mínútur":"mínútum"):t?s+"mínúta":s+"mínútu";case"hh":return a(e)?s+(t||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return t?"dagur":r?"dag":"degi";case"dd":return a(e)?t?s+"dagar":s+(r?"daga":"dögum"):t?s+"dagur":s+(r?"dag":"degi");case"M":return t?"mánuður":r?"mánuð":"mánuði";case"MM":return a(e)?t?s+"mánuðir":s+(r?"mánuði":"mánuðum"):t?s+"mánuður":s+(r?"mánuð":"mánuði");case"y":return t||r?"ár":"ári";case"yy":return a(e)?s+(t||r?"ár":"árum"):s+(t||r?"ár":"ári")}}return e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,ss:t,m:t,mm:t,h:"klukkustund",hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(144);var n=t(1);n.datepickerLocale("it","it",{closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("it",{buttonText:{month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},allDayHtml:"Tutto il<br/>giorno",eventLimitText:function(e){return"+altri "+e},noEventsMessage:"Non ci sono eventi da visualizzare"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(146);var n=t(1);n.datepickerLocale("ja","ja",{closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),n.locale("ja",{buttonText:{month:"月",week:"週",day:"日",list:"予定リスト"},allDayText:"終日",eventLimitText:function(e){return"他 "+e+" 件"},noEventsMessage:"イベントが表示されないように"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,a,t){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(148);var n=t(1);n.datepickerLocale("ka","ka",{closeText:"დახურვა",prevText:"წინა",nextText:"შემდეგი",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],weekHeader:"კვ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ka",{buttonText:{month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},allDayText:"მთელი დღე",eventLimitText:function(e){return"+ კიდევ "+e},noEventsMessage:"ღონისძიებები არ არის"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(e)?e.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(150);var n=t(1);n.datepickerLocale("kk","kk",{closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"], monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("kk",{buttonText:{month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},allDayText:"Күні бойы",eventLimitText:function(e){return"+ тағы "+e},noEventsMessage:"Көрсету үшін оқиғалар жоқ"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(a[e]||a[t]||a[n])},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(152);var n=t(1);n.datepickerLocale("ko","ko",{closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"주",dateFormat:"yy. m. d.",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"}),n.locale("ko",{buttonText:{month:"월",week:"주",day:"일",list:"일정목록"},allDayText:"종일",eventLimitText:"개",noEventsMessage:"일정이 없습니다"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,a,t){return e<12?"오전":"오후"}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(154);var n=t(1);n.datepickerLocale("lb","lb",{closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("lb",{buttonText:{month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},allDayText:"Ganzen Dag",eventLimitText:"méi",noEventsMessage:"Nee Evenementer ze affichéieren"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?r[t][0]:r[t][1]}function t(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function n(e){return r(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var a=e%10,t=e/10;return r(0===a?t:a)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return e/=1e3,r(e)}return e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:t,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d Méint",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(156);var n=t(1);n.datepickerLocale("lt","lt",{closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"SAV",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""}),n.locale("lt",{buttonText:{month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},allDayText:"Visą dieną",eventLimitText:"daugiau",noEventsMessage:"Nėra įvykių rodyti"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){return a?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function t(e,a,t,n){return a?r(t)[0]:n?r(t)[1]:r(t)[2]}function n(e){return e%10==0||e>10&&e<20}function r(e){return d[e].split("_")}function s(e,a,s,d){var i=e+" ";return 1===e?i+t(e,a,s[0],d):a?i+(n(e)?r(s)[1]:r(s)[0]):d?i+r(s)[1]:i+(n(e)?r(s)[1]:r(s)[2])}var d={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};return e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:a,ss:s,m:t,mm:s,h:t,hh:s,d:t,dd:s,M:t,MM:s,y:t,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(158);var n=t(1);n.datepickerLocale("lv","lv",{closeText:"Aizvērt",prevText:"Iepr.",nextText:"Nāk.",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Ned.",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("lv",{buttonText:{month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},allDayText:"Visu dienu",eventLimitText:function(e){return"+vēl "+e},noEventsMessage:"Nav notikumu"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function t(e,t,n){return e+" "+a(s[n],e,t)}function n(e,t,n){return a(s[n],e,t)}function r(e,a){return a?"dažas sekundes":"dažām sekundēm"}var s={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};return e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:r,ss:t,m:n,mm:t,h:n,hh:t,d:n,dd:t,M:n,MM:t,y:n,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(160);var n=t(1);n.datepickerLocale("mk","mk",{closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("mk",{buttonText:{month:"Месец",week:"Недела",day:"Ден",list:"График"},allDayText:"Цел ден",eventLimitText:function(e){return"+повеќе "+e},noEventsMessage:"Нема настани за прикажување"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e+"-ти":1===a?e+"-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(162);var n=t(1);n.datepickerLocale("ms-my","ms",{closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ms-my",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayText:"Sepanjang hari",eventLimitText:function(e){return"masih ada "+e+" acara"},noEventsMessage:"Tiada peristiwa untuk dipaparkan"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(164);var n=t(1);n.datepickerLocale("ms","ms",{closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ms",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayText:"Sepanjang hari",eventLimitText:function(e){return"masih ada "+e+" acara"},noEventsMessage:"Tiada peristiwa untuk dipaparkan"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(166);var n=t(1);n.datepickerLocale("nb","nb",{closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("nb",{buttonText:{month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},allDayText:"Hele dagen",eventLimitText:"til",noEventsMessage:"Ingen hendelser å vise"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(168);var n=t(1);n.datepickerLocale("nl-be","nl-BE",{closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("nl-be",{buttonText:{month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",eventLimitText:"extra",noEventsMessage:"Geen evenementen om te laten zien"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),t="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?t[e.month()]:a[e.month()]:a},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(170);var n=t(1);n.datepickerLocale("nl","nl",{closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("nl",{buttonText:{month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",eventLimitText:"extra",noEventsMessage:"Geen evenementen om te laten zien"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),t="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?t[e.month()]:a[e.month()]:a},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(172);var n=t(1);n.datepickerLocale("nn","nn",{closeText:"Lukk",prevText:"&#xAB;Førre",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("nn",{buttonText:{month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},allDayText:"Heile dagen",eventLimitText:"til",noEventsMessage:"Ingen hendelser å vise"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(174);var n=t(1);n.datepickerLocale("pl","pl",{closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("pl",{buttonText:{month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},allDayText:"Cały dzień",eventLimitText:"więcej",noEventsMessage:"Brak wydarzeń do wyświetlenia"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}var n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return e.defineLocale("pl",{months:function(e,a){return e?""===a?"("+r[e.month()]+"|"+n[e.month()]+")":/D MMMM/.test(a)?r[e.month()]:n[e.month()]:n},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:t,m:t,mm:t,h:t,hh:t,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:t,y:"rok",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(176);var n=t(1);n.datepickerLocale("pt-br","pt-BR",{closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("pt-br",{buttonText:{month:"Mês",week:"Semana",day:"Dia",list:"Compromissos"},allDayText:"dia inteiro",eventLimitText:function(e){return"mais +"+e},noEventsMessage:"Não há eventos para mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"}, calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(178);var n=t(1);n.datepickerLocale("pt","pt",{closeText:"Fechar",prevText:"Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("pt",{buttonText:{month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},allDayText:"Todo o dia",eventLimitText:"mais",noEventsMessage:"Não há eventos para mostrar"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(180);var n=t(1);n.datepickerLocale("ro","ro",{closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ro",{buttonText:{prev:"precedentă",next:"următoare",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},allDayText:"Toată ziua",eventLimitText:function(e){return"+alte "+e},noEventsMessage:"Nu există evenimente de afișat"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+n[t]}return e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:a,m:"un minut",mm:a,h:"o oră",hh:a,d:"o zi",dd:a,M:"o lună",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(182);var n=t(1);n.datepickerLocale("ru","ru",{closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("ru",{buttonText:{month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},allDayText:"Весь день",eventLimitText:function(e){return"+ ещё "+e},noEventsMessage:"Нет событий для отображения"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function t(e,t,n){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+a(r[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,a,t){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(184);var n=t(1);n.datepickerLocale("sk","sk",{closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sk",{buttonText:{month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},allDayText:"Celý deň",eventLimitText:function(e){return"+ďalšie: "+e},noEventsMessage:"Žiadne akcie na zobrazenie"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e){return e>1&&e<5}function t(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?s+(a(e)?"sekundy":"sekúnd"):s+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?s+(a(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(a(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?s+(a(e)?"dni":"dní"):s+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(a(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(a(e)?"roky":"rokov"):s+"rokmi"}}var n="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return e.defineLocale("sk",{months:n,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(186);var n=t(1);n.datepickerLocale("sl","sl",{closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sl",{buttonText:{month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},allDayText:"Ves dan",eventLimitText:"več",noEventsMessage:"Ni dogodkov za prikaz"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a,t,n){var r=e+" ";switch(t){case"s":return a||n?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?a?"sekundo":"sekundi":2===e?a||n?"sekundi":"sekundah":e<5?a||n?"sekunde":"sekundah":"sekund";case"m":return a?"ena minuta":"eno minuto";case"mm":return r+=1===e?a?"minuta":"minuto":2===e?a||n?"minuti":"minutama":e<5?a||n?"minute":"minutami":a||n?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return r+=1===e?a?"ura":"uro":2===e?a||n?"uri":"urama":e<5?a||n?"ure":"urami":a||n?"ur":"urami";case"d":return a||n?"en dan":"enim dnem";case"dd":return r+=1===e?a||n?"dan":"dnem":2===e?a||n?"dni":"dnevoma":a||n?"dni":"dnevi";case"M":return a||n?"en mesec":"enim mesecem";case"MM":return r+=1===e?a||n?"mesec":"mesecem":2===e?a||n?"meseca":"mesecema":e<5?a||n?"mesece":"meseci":a||n?"mesecev":"meseci";case"y":return a||n?"eno leto":"enim letom";case"yy":return r+=1===e?a||n?"leto":"letom":2===e?a||n?"leti":"letoma":e<5?a||n?"leta":"leti":a||n?"let":"leti"}}return e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(188);var n=t(1);n.datepickerLocale("sq","sq",{closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sq",{buttonText:{month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},allDayHtml:"Gjithë<br/>ditën",eventLimitText:function(e){return"+më tepër "+e},noEventsMessage:"Nuk ka evente për të shfaqur"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,a,t){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(190);var n=t(1);n.datepickerLocale("sr-cyrl","sr",{closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sr-cyrl",{buttonText:{prev:"Претходна",next:"следећи",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},allDayText:"Цео дан",eventLimitText:function(e){return"+ још "+e},noEventsMessage:"Нема догађаја за приказ"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}};return e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"дан",dd:a.translate,M:"месец",MM:a.translate,y:"годину",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(192);var n=t(1);n.datepickerLocale("sr","sr-SR",{closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sr",{buttonText:{prev:"Prethodna",next:"Sledeći",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},allDayText:"Cеo dan",eventLimitText:function(e){return"+ još "+e},noEventsMessage:"Nеma događaja za prikaz"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}};return e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(194);var n=t(1);n.datepickerLocale("sv","sv",{closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("sv",{buttonText:{month:"Månad",week:"Vecka",day:"Dag",list:"Program"},allDayText:"Heldag",eventLimitText:"till",noEventsMessage:"Inga händelser att visa"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"e":1===a?"a":2===a?"a":"e")},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(196);var n=t(1);n.datepickerLocale("th","th",{closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("th",{buttonText:{month:"เดือน",week:"สัปดาห์",day:"วัน",list:"แผนงาน"},allDayText:"ตลอดวัน",eventLimitText:"เพิ่มเติม",noEventsMessage:"ไม่มีกิจกรรมที่จะแสดง"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,a,t){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(198);var n=t(1);n.datepickerLocale("tr","tr",{closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("tr",{buttonText:{next:"ileri",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},allDayText:"Tüm gün",eventLimitText:"daha fazla",noEventsMessage:"Herhangi bir etkinlik görüntülemek için"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10,n=e%100-t,r=e>=100?100:null;return e+(a[t]||a[n]||a[r])},week:{dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(200);var n=t(1);n.datepickerLocale("uk","uk",{closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("uk",{buttonText:{month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},allDayText:"Увесь день",eventLimitText:function(e){return"+ще "+e+"..."},noEventsMessage:"Немає подій для відображення"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){function a(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function t(e,t,n){var r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+a(r[n],+e)}function n(e,a){var t={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return e?t[/(\[[ВвУу]\]) ?dddd/.test(a)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(a)?"genitive":"nominative"][e.day()]:t.nominative}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}return e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,a,t){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{ dow:1,doy:7}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(202);var n=t(1);n.datepickerLocale("vi","vi",{closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),n.locale("vi",{buttonText:{month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},allDayText:"Cả ngày",eventLimitText:function(e){return"+ thêm "+e},noEventsMessage:"Không có sự kiện để hiển thị"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(204);var n=t(1);n.datepickerLocale("zh-cn","zh-CN",{closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),n.locale("zh-cn",{buttonText:{month:"月",week:"周",day:"日",list:"日程"},allDayText:"全天",eventLimitText:function(e){return"另外 "+e+" 个"},noEventsMessage:"没有事件显示"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e:"下午"===a||"晚上"===a?e+12:e>=11?e:e+12},meridiem:function(e,a,t){var n=100*e+a;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})})},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0}),t(206);var n=t(1);n.datepickerLocale("zh-tw","zh-TW",{closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),n.locale("zh-tw",{buttonText:{month:"月",week:"週",day:"天",list:"活動列表"},allDayText:"整天",eventLimitText:"顯示更多",noEventsMessage:"没有任何活動"})},function(e,a,t){!function(e,a){a(t(0))}(0,function(e){return e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e:"中午"===a?e>=11?e:e+12:"下午"===a||"晚上"===a?e+12:void 0},meridiem:function(e,a,t){var n=100*e+a;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,a,t){t(65),t(67),t(69),t(71),t(73),t(75),t(77),t(79),t(81),t(83),t(85),t(87),t(89),t(91),t(93),t(95),t(97),t(99),t(101),t(103),t(105),t(107),t(109),t(111),t(113),t(115),t(117),t(119),t(121),t(123),t(125),t(127),t(129),t(131),t(133),t(135),t(137),t(139),t(141),t(143),t(145),t(147),t(149),t(151),t(153),t(155),t(157),t(159),t(161),t(163),t(165),t(167),t(169),t(171),t(173),t(175),t(177),t(179),t(181),t(183),t(185),t(187),t(189),t(191),t(193),t(195),t(197),t(199),t(201),t(203),t(205),e.exports=t(433)},function(e,a,t){Object.defineProperty(a,"__esModule",{value:!0});var n=t(0),r=t(1);n.locale("en"),r.locale("en"),window.jQuery.datepicker&&window.jQuery.datepicker.setDefaults(window.jQuery.datepicker.regional[""])}])});
tinyMCE.addI18n({el:{common:{"more_colors":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1","invalid_data":"Error: Invalid values entered, these are marked in red.","popup_blocked":"\u0388\u03bd\u03b1 popup-blocker \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03ad\u03c7\u03b5\u03b9 \u03b1\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9 \u03ad\u03bd\u03b1 \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf \u03b1\u03c0\u03b1\u03c1\u03b1\u03af\u03c4\u03b7\u03c4\u03bf \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae. \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c4\u03bf \u03b1\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b9\u03c3\u03c4\u03bf\u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03b1\u03c5\u03c4\u03ae \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c0\u03bb\u03ae\u03c1\u03c9\u03c2 \u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae.","clipboard_no_support":"\u0394\u03b5\u03bd \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd \u03c6\u03c5\u03bb\u03bb\u03bf\u03bc\u03b5\u03c4\u03c1\u03b7\u03c4\u03ae \u03c3\u03b1\u03c2, \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03c4\u03bf\u03bc\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2 \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03af\u03bf\u03c5.","clipboard_msg":"\u039f\u03b9 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b5\u03c2 \u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae/\u0391\u03c0\u03bf\u03ba\u03bf\u03c0\u03ae/\u0395\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b5\u03c2 \u03c3\u03b5 Mozilla \u03ba\u03b1\u03b9 Firefox.\\n\u0398\u03ad\u03bb\u03b5\u03c4\u03b5 \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2 ;","not_set":"-- \u039c\u03b7 \u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf --","class_name":"\u039a\u03bb\u03ac\u03c3\u03b7",browse:"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7",close:"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf",cancel:"\u0386\u03ba\u03c5\u03c1\u03bf",update:"\u0395\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7",insert:"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae",apply:"\u0395\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae","edit_confirm":"\u0398\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 WYSIWYG ;","invalid_data_number":"{#field} \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2","invalid_data_min":"{#field} \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2 \u03c4\u03bf\u03c5 {#min}","invalid_data_size":"{#field} \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03ae \u03c0\u03bf\u03c3\u03bf\u03c3\u03c4\u03cc"},contextmenu:{full:"\u03a0\u03bb\u03ae\u03c1\u03b7\u03c2",right:"\u0394\u03b5\u03be\u03b9\u03ac",center:"\u039a\u03ad\u03bd\u03c4\u03c1\u03bf",left:"\u0391\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac",align:"\u03a3\u03c4\u03bf\u03af\u03c7\u03b9\u03c3\u03b7"},insertdatetime:{"day_short":"\u039a\u03c5,\u0394\u03b5,\u03a4\u03c1,\u03a4\u03b5\u03c4,\u03a0\u03ad\u03bc,\u03a0\u03b1\u03c1,\u03a3\u03b1\u03b2","day_long":"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae,\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1,\u03a4\u03c1\u03af\u03c4\u03b7,\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7,\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7,\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae,\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf","months_short":"\u0399\u03b1\u03bd,\u03a6\u03b5\u03b2,\u039c\u03ac\u03c1,\u0391\u03c0\u03c1,\u039c\u03ac\u03b9,\u0399\u03bf\u03cd\u03bd,\u0399\u03bf\u03cd\u03bb,\u0391\u03cd\u03b3,\u03a3\u03b5\u03c0,\u039f\u03ba\u03c4,\u039d\u03bf\u03ad,\u0394\u03b5\u03ba","months_long":"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2,\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2,\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2,\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2,\u039c\u03ac\u03b9\u03bf\u03c2,\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2,\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2,\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2,\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2,\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2,\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2,\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","inserttime_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03ce\u03c1\u03b1\u03c2","insertdate_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03b7\u03bc\u03ad\u03c1\u03b1\u03c2","time_fmt":"%H:%M:%S","date_fmt":"%Y-%m-%d"},print:{"print_desc":"\u0395\u03ba\u03c4\u03cd\u03c0\u03c9\u03c3\u03b7"},preview:{"preview_desc":"\u03a0\u03c1\u03bf\u03b5\u03c0\u03b9\u03c3\u03ba\u03cc\u03c0\u03b7\u03c3\u03b7"},directionality:{"rtl_desc":"\u039a\u03b1\u03c4\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 \u03b4\u03b5\u03be\u03b9\u03ac \u03c0\u03c1\u03bf\u03c2 \u03b1\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac","ltr_desc":"\u039a\u03b1\u03c4\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 \u03b1\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac \u03c0\u03c1\u03bf\u03c2 \u03b4\u03b5\u03be\u03b9\u03ac"},layer:{content:"\u039d\u03ad\u03bf layer...","absolute_desc":"\u0391\u03c0\u03cc\u03bb\u03c5\u03c4\u03b7/\u03a3\u03c7\u03b5\u03c4\u03b9\u03ba\u03ae \u03c4\u03bf\u03c0\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7","backward_desc":"\u039c\u03b5\u03c4\u03b1\u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf \u03c0\u03b1\u03c1\u03b1\u03c3\u03ba\u03ae\u03bd\u03b9\u03bf","forward_desc":"\u039c\u03b5\u03c4\u03b1\u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf \u03c0\u03c1\u03bf\u03c3\u03ba\u03ae\u03bd\u03b9\u03bf","insertlayer_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03bd\u03ad\u03bf\u03c5 layer"},save:{"save_desc":"\u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7","cancel_desc":"\u0391\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7 \u03cc\u03bb\u03c9\u03bd \u03c4\u03c9\u03bd \u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd"},nonbreaking:{"nonbreaking_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae non-breaking \u03ba\u03b5\u03bd\u03bf\u03cd \u03c7\u03b1\u03c1\u03b1\u03ba\u03c4\u03ae\u03c1\u03b1"},iespell:{download:"\u03a4\u03bf ieSpell \u03b4\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5. \u039d\u03b1 \u03ba\u03b1\u03c4\u03ad\u03b2\u03b5\u03b9 \u03c4\u03ce\u03c1\u03b1 ;","iespell_desc":"\u0395\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03bf\u03c1\u03b8\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1\u03c2"},advhr:{"advhr_desc":"\u039f\u03c1\u03b9\u03b6\u03cc\u03bd\u03c4\u03b9\u03b1 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae","delta_height":"","delta_width":""},emotions:{"emotions_desc":"\u03a3\u03c5\u03bd\u03b1\u03b9\u03c3\u03b8\u03ae\u03bc\u03b1\u03c4\u03b1","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7/\u0391\u03bd\u03c4\u03b9\u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7","search_desc":"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7","delta_width":"","delta_height":""},advimage:{"image_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae/\u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2","delta_width":"","delta_height":""},advlink:{"delta_width":"50","link_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae/\u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03bc\u03bf\u03c5","delta_height":""},xhtmlxtras:{"attribs_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae/\u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03b9\u03b4\u03b9\u03bf\u03c4\u03ae\u03c4\u03c9\u03bd","ins_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae","del_desc":"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae","acronym_desc":"\u0391\u03ba\u03c1\u03bf\u03bd\u03cd\u03bc\u03b9\u03bf","abbr_desc":"\u03a3\u03c5\u03bd\u03c4\u03bf\u03bc\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b1","cite_desc":"Citation","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03a3\u03c4\u03c5\u03bb CSS","delta_height":"","delta_width":""},paste:{"selectall_desc":"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03cc\u03bb\u03c9\u03bd","paste_word_desc":"\u0395\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf Word","paste_text_desc":"\u0395\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03c9\u03c2 \u03b1\u03c0\u03bb\u03cc \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf","plaintext_mode":"Paste is now in plain text mode. Click again to toggle back to regular paste mode.","plaintext_mode_sticky":"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode."},"paste_dlg":{"word_title":"\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 CTRL+V \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03b5\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c3\u03c4\u03bf \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf.","text_linebreaks":"\u039d\u03b1 \u03ba\u03c1\u03b1\u03c4\u03b7\u03b8\u03bf\u03cd\u03bd \u03c4\u03b1 linebreaks","text_title":"\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 CTRL+V \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03b5\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03ba\u03b5\u03b9\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c3\u03c4\u03bf \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf."},table:{"cellprops_delta_width":"60",cell:"\u039a\u03b5\u03bb\u03af",col:"\u03a3\u03c4\u03ae\u03bb\u03b7",row:"\u0393\u03c1\u03b1\u03bc\u03bc\u03ae",del:"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","copy_row_desc":"\u0391\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","cut_row_desc":"\u0391\u03c0\u03bf\u03ba\u03bf\u03c0\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","paste_row_after_desc":"\u0395\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 \u03bc\u03b5\u03c4\u03ac","paste_row_before_desc":"\u0395\u03c0\u03b9\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1 \u03c0\u03c1\u03b9\u03bd","props_desc":"\u0399\u03b4\u03b9\u03cc\u03c4\u03b7\u03c4\u03b5\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","cell_desc":"\u0399\u03b4\u03b9\u03cc\u03c4\u03b7\u03c4\u03b5\u03c2 \u03ba\u03b5\u03bb\u03b9\u03bf\u03cd \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","row_desc":"\u0399\u03b4\u03b9\u03cc\u03c4\u03b7\u03c4\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","merge_cells_desc":"\u03a3\u03c5\u03b3\u03c7\u03ce\u03bd\u03b5\u03c5\u03c3\u03b7 \u03ba\u03b5\u03bb\u03b9\u03ce\u03bd \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","split_cells_desc":"\u0394\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c3\u03c5\u03b3\u03c7\u03c9\u03bd\u03b5\u03c5\u03bc\u03ad\u03bd\u03c9\u03bd \u03ba\u03b5\u03bb\u03b9\u03ce\u03bd \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","delete_col_desc":"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2","col_after_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2 \u03bc\u03b5\u03c4\u03ac","col_before_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2 \u03c0\u03c1\u03b9\u03bd","delete_row_desc":"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2","row_after_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03bc\u03b5\u03c4\u03ac","row_before_desc":"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c0\u03c1\u03b9\u03bd",desc:"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03bd\u03ad\u03bf\u03c5 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"\u0395\u03ac\u03bd \u03b5\u03c0\u03b1\u03bd\u03b1\u03c6\u03ad\u03c1\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03c5\u03bc\u03ad\u03bd\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf, \u03b8\u03b1 \u03c7\u03ac\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf \u03c0\u03bf\u03c5 \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03c3\u03c4\u03b9\u03b3\u03bc\u03ae \u03c3\u03c4\u03bf\u03bd editor.nn\u03a3\u03af\u03b3\u03bf\u03c5\u03c1\u03b1 \u03bd\u03b1 \u03b3\u03af\u03bd\u03b5\u03b9 \u03b5\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03c4\u03bf\u03c5 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03c5\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5;.","restore_content":"\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5 \u03c0\u03bf\u03c5 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03b8\u03b7\u03ba\u03b5 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1.","unload_msg":"\u039f\u03b9 \u03b1\u03bb\u03bb\u03b1\u03b3\u03ad\u03c2 \u03c0\u03bf\u03c5 \u03ba\u03ac\u03bd\u03b1\u03c4\u03b5 \u03b8\u03b1 \u03c7\u03b1\u03b8\u03bf\u03cd\u03bd \u03b1\u03bd \u03c6\u03cd\u03b3\u03b5\u03c4\u03b5 \u03c3\u03b5 \u03ac\u03bb\u03bb\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1."},fullscreen:{desc:"\u0395\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03c0\u03bb\u03ae\u03c1\u03bf\u03c5\u03c2 \u03bf\u03b8\u03cc\u03bd\u03b7\u03c2"},media:{"delta_width":"50",edit:"\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03c9\u03bd media",desc:"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae/\u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03c9\u03bd media","delta_height":""},fullpage:{desc:"\u0399\u03b4\u03b9\u03cc\u03c4\u03b7\u03c4\u03b5\u03c2 \u03b5\u03b3\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5","delta_width":"140","delta_height":""},template:{desc:"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03c0\u03c1\u03bf\u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf \u03c0\u03c1\u03cc\u03c4\u03c5\u03c0\u03bf"},visualchars:{desc:"\u039f\u03c0\u03c4\u03b9\u03ba\u03bf\u03af \u03c7\u03b1\u03c1\u03b1\u03ba\u03c4\u03ae\u03c1\u03b5\u03c2 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03bd\u03b1\u03b9/\u03cc\u03c7\u03b9."},spellchecker:{desc:"\u0395\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03bf\u03c1\u03b8\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03bf\u03cd \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5",menu:"\u03a1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2 \u03bf\u03c1\u03b8\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03bf\u03cd \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5","ignore_word":"\u03a0\u03b1\u03c1\u03ac\u03b2\u03bb\u03b5\u03c8\u03b7 \u03bb\u03ad\u03be\u03b7\u03c2","ignore_words":"\u03a0\u03b1\u03c1\u03ac\u03b2\u03bb\u03b5\u03c8\u03b7 \u03cc\u03bb\u03c9\u03bd",langs:"\u0393\u03bb\u03ce\u03c3\u03c3\u03b5\u03c2",wait:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5...",sug:"\u03a0\u03c1\u03bf\u03c4\u03ac\u03c3\u03b5\u03b9\u03c2","no_sug":"\u03a7\u03c9\u03c1\u03af\u03c2 \u03c0\u03c1\u03bf\u03c4\u03ac\u03c3\u03b5\u03b9\u03c2","no_mpell":"\u0394\u03b5 \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03bf\u03c1\u03b8\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03ac \u03bb\u03ac\u03b8\u03b7.","learn_word":"\u0395\u03ba\u03bc\u03ac\u03b8\u03b7\u03c3\u03b7 \u03bb\u03ad\u03be\u03b7\u03c2"},pagebreak:{desc:"\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1\u03c2."},advlist:{types:"Types",def:"Default","lower_alpha":"Lower alpha","lower_greek":"Lower greek","lower_roman":"Lower roman","upper_alpha":"Upper alpha","upper_roman":"Upper roman",circle:"Circle",disc:"Disc",square:"Square"},colors:["\u039a\u03b1\u03bc\u03ad\u03bd\u03bf \u03c0\u03bf\u03c1\u03c4\u03bf\u03ba\u03b1\u03bb\u03af","\u03a3\u03ba\u03bf\u03cd\u03c1\u03bf \u03c4\u03b7\u03c2 \u03b5\u03bb\u03b9\u03ac\u03c2"],aria:{"rich_text_area":"Rich Text Area"}}});
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; const Validator = require('./validator'); /** * A Validator to enforce that non null numeric values are between two values. * @private * @class * @memberof module:concerto-core */ class NumberValidator extends Validator{ /** * Create a NumberValidator. * @param {Field} field - the field this validator is attached to * @param {Object} ast - The ast for the range defined as [lower,upper] (inclusive). * * @throws {IllegalModelException} */ constructor(field, ast) { super(field, ast); this.lowerBound = null; this.upperBound = null; if(Object.prototype.hasOwnProperty.call(ast, 'lower')) { this.lowerBound = ast.lower; } if(Object.prototype.hasOwnProperty.call(ast, 'upper')) { this.upperBound = ast.upper; } if(this.lowerBound === null && this.upperBound === null) { // can't specify no upper and lower value this.reportError(null, 'Invalid range, lower and-or upper bound must be specified.'); } else if (this.lowerBound === null || this.upperBound === null) { // this is fine and means that we don't need to check whether upper > lower } else { if(this.lowerBound > this.upperBound) { this.reportError(null, 'Lower bound must be less than or equal to upper bound.'); } } } /** * Returns the lower bound for this validator, or null if not specified * @returns {number} the lower bound or null */ getLowerBound() { return this.lowerBound; } /** * Returns the upper bound for this validator, or null if not specified * @returns {number} the upper bound or null */ getUpperBound() { return this.upperBound; } /** * Validate the property * @param {string} identifier the identifier of the instance being validated * @param {Object} value the value to validate * @throws {IllegalModelException} * @private */ validate(identifier, value) { if(value !== null) { if(this.lowerBound !== null && value < this.lowerBound) { this.reportError(identifier, `Value ${value} is outside lower bound ${this.lowerBound}`); } if(this.upperBound !== null && value > this.upperBound) { this.reportError(identifier, `Value ${value} is outside upper bound ${this.upperBound}`); } } } /** * Returns a string representation * @return {string} the string representation * @private */ toString() { return 'NumberValidator lower: ' + this.lowerBound + ' upper: ' + this.upperBound; } } module.exports = NumberValidator;
import debugLog from "./debug-log"; import trustedSymbol from "./trusted-symbol"; function makeRawNode(text = "", symbol) { var trustSymbol = symbol; var rawText = text; if (typeof symbol === "undefined" || typeof symbol !== "symbol") { trustSymbol = trustedSymbol(); } else if (symbol !== trustedSymbol()) { throw debugLog(new Error("Symbol provided is a forgery!"), "makeRawNode"); } if (typeof text !== "string") { rawText = String(text); } return { type: "RAW", text: rawText, [trustSymbol]: true }; } /** * WARNING!: proceed with caution as text is not escaped! * Creates a Sql item for raw SQL text. Just plain ol‘ raw SQL. * This method is dangerous because it involves no escaping. */ export default function raw(text, symbol) { return makeRawNode(text, symbol); }
import {Socket} from "phoenix" import _ from "underscore" import $ from "jquery" import format from "./color" export class NPCSocket { constructor(spawnerId, npcName) { this.spawnerId = spawnerId this.npcName = npcName } formatName(character) { if (character.type === "user") { return `{player}${character.name}{/player}`; } if (character.type === "npc") { return `{npc}${character.name}{/npc}`; } } connect() { let body = $("body") let userToken = body.data("user-token") this.socket = new Socket("/admin/socket", {params: {token: userToken}}) this.socket.connect() this.channel = this.socket.channel("npc:" + this.spawnerId, {}) this.channel.on("character/died", msg => { this.append(`{npc}${this.npcName}{/npc} died`) }); this.channel.on("character/respawned", msg => { this.append(`{npc}${this.npcName}{/npc} respawned`) }); this.channel.on("character/targeted", msg => { this.append(`${this.formatName(msg)} targeted`) }); this.channel.on("combat/targeted", msg => { this.append(`{npc}${this.npcName}{/npc} targeted by ${this.formatName(msg)}`) }); this.channel.on("combat/action", msg => { let combatText = `{npc}${this.npcName}{/npc} attacks ${this.formatName(msg.target)}: ${msg.text}` msg.effects.map(effect => { combatText += "\n" + JSON.stringify(effect) }) this.append(combatText) }); this.channel.on("combat/effects", msg => { let combatText = `{npc}${this.npcName}{/npc} received effects from ${this.formatName(msg.from)}: ${msg.text}` msg.effects.map(effect => { combatText += "\n" + JSON.stringify(effect) }) this.append(combatText) }); this.channel.on("room/entered", msg => { this.append(`${this.formatName(msg)} entered`) }); this.channel.on("room/leave", msg => { this.append(`${this.formatName(msg)} left`) }); this.channel.on("room/heard", msg => { this.append(msg.formatted); }); $(".npc-chat").on("keyup", e => { if (e.which == 13 && $(".npc-chat").val() != "") { let action = $("#npc-action").val() this.channel.push(action, {message: $(".npc-chat").val()}) $(".npc-chat").val("") } }) $(".npc-console").append("Connecting...\n") this.channel.join() .receive("ok", resp => { $(".npc-console").append("Connected\n") }) .receive("error", resp => { $(".npc-console").append(`Failed to connect: ${resp.reason}`) }) } append(text) { let console = $(".npc-console") console.append(format(`\n${text}\n`)) console.scrollTop(console.prop("scrollHeight")) } } export class CharacterSocket { constructor(characterId) { this.characterId = characterId } connect() { let body = $("body") let userToken = body.data("user-token") this.socket = new Socket("/admin/socket", {params: {token: userToken}}) this.socket.connect() this.channel = this.socket.channel("character:" + this.characterId, {}) this.channel.on("echo", msg => { this.append(msg.data) }) this.append("Connecting...") this.channel.join() .receive("ok", resp => { this.append("Connected") }) .receive("error", resp => { this.append(`Failed to connect: ${resp.reason}`) }) } append(text) { let console = $(".console") console.append(format(`${text}\n`)) console.scrollTop(console.prop("scrollHeight")) } } window.NPCSocket = NPCSocket; window.CharacterSocket = CharacterSocket;
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppModule = void 0; const common_1 = require("@nestjs/common"); const app_controller_1 = require("./app.controller"); const app_service_1 = require("./app.service"); const cats_controller_1 = require("./cat/cats.controller"); const cats_service_1 = require("./cat/cats.service"); const prisma_service_1 = require("./prisma/prisma.service"); const user_controller_1 = require("./user/user.controller"); const user_service_1 = require("./user/user.service"); let AppModule = class AppModule { }; AppModule = __decorate([ (0, common_1.Module)({ imports: [], controllers: [app_controller_1.AppController, cats_controller_1.CatsController, user_controller_1.UserController], providers: [app_service_1.AppService, cats_service_1.CatsService, user_service_1.UserService, prisma_service_1.PrismaService], }) ], AppModule); exports.AppModule = AppModule; //# sourceMappingURL=app.module.js.map
/** * The Widget namespace. * @namespace Widget */ // you can also use '@class Widget(2)' and omit the @variation tag /** * The Widget class. Defaults to the properties in {@link Widget.properties}. * @class * @variation 2 * @param {Object} props - Name-value pairs to add to the widget. */ function Widget(props) {} /** * Properties added by default to a new {@link Widget(2)} instance. */ Widget.properties = { /** * Indicates whether the widget is shiny. */ shiny: true, /** * Indicates whether the widget is metallic. */ metallic: true };
(function () { 'use strict'; angular.module('main') .controller('StartCtrl', StartController); function StartController () { } })();
import DefaultConfig from '../config' export function createLogin (config = {}) { return { name: 'login', path: config.loginUrl || DefaultConfig.loginUrl, component: config.loginComponent || DefaultConfig.loginComponent } }
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.en'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Add Comment"; Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you."; Blockly.Msg.CHANGE_VALUE_TITLE = "Change value:"; Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; Blockly.Msg.CLEAN_UP = "Clean up Blocks"; Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks"; Blockly.Msg.COLLAPSE_BLOCK = "Collapse Block"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colour 1"; Blockly.Msg.COLOUR_BLEND_COLOUR2 = "colour 2"; Blockly.Msg.COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/"; Blockly.Msg.COLOUR_BLEND_RATIO = "ratio"; Blockly.Msg.COLOUR_BLEND_TITLE = "blend"; Blockly.Msg.COLOUR_BLEND_TOOLTIP = "Blends two colours together with a given ratio (0.0 - 1.0)."; Blockly.Msg.COLOUR_PICKER_HELPURL = "https://en.wikipedia.org/wiki/Color"; Blockly.Msg.COLOUR_PICKER_TOOLTIP = "Choose a colour from the palette."; Blockly.Msg.COLOUR_RANDOM_HELPURL = "http://randomcolour.com"; Blockly.Msg.COLOUR_RANDOM_TITLE = "random colour"; Blockly.Msg.COLOUR_RANDOM_TOOLTIP = "Choose a colour at random."; Blockly.Msg.COLOUR_RGB_BLUE = "blue"; Blockly.Msg.COLOUR_RGB_GREEN = "green"; Blockly.Msg.COLOUR_RGB_HELPURL = "http://www.december.com/html/spec/colorper.html"; Blockly.Msg.COLOUR_RGB_RED = "red"; Blockly.Msg.COLOUR_RGB_TITLE = "colour with"; Blockly.Msg.COLOUR_RGB_TOOLTIP = "Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 100."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks"; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "break out of loop"; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "continue with next iteration of loop"; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "Break out of the containing loop."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "Skip the rest of this loop, and continue with the next iteration."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = "Warning: This block may only be used within a loop."; Blockly.Msg.CONTROLS_FOREACH_HELPURL = "https://github.com/google/blockly/wiki/Loops#for-each"; Blockly.Msg.CONTROLS_FOREACH_TITLE = "for each item %1 in list %2"; Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = "For each item in a list, set the variable '%1' to the item, and then do some statements."; Blockly.Msg.CONTROLS_FOR_HELPURL = "https://github.com/google/blockly/wiki/Loops#count-with"; Blockly.Msg.CONTROLS_FOR_TITLE = "count with %1 from %2 to %3 by %4"; Blockly.Msg.CONTROLS_FOR_TOOLTIP = "Have the variable '%1' take on the values from the start number to the end number, counting by the specified interval, and do the specified blocks."; Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = "Add a condition to the if block."; Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = "Add a final, catch-all condition to the if block."; Blockly.Msg.CONTROLS_IF_HELPURL = "https://github.com/google/blockly/wiki/IfElse"; Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = "Add, remove, or reorder sections to reconfigure this if block."; Blockly.Msg.CONTROLS_IF_MSG_ELSE = "else"; Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = "else if"; Blockly.Msg.CONTROLS_IF_MSG_IF = "if"; Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = "If a value is true, then do some statements."; Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = "If a value is true, then do the first block of statements. Otherwise, do the second block of statements."; Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements."; Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements. If none of the values are true, do the last block of statements."; Blockly.Msg.CONTROLS_REPEAT_HELPURL = "https://en.wikipedia.org/wiki/For_loop"; Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = "do"; Blockly.Msg.CONTROLS_REPEAT_TITLE = "repeat %1 times"; Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = "Do some statements several times."; Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = "https://github.com/google/blockly/wiki/Loops#repeat"; Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "repeat until"; Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "repeat while"; Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "While a value is false, then do some statements."; Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "While a value is true, then do some statements."; Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; Blockly.Msg.DELETE_BLOCK = "Delete Block"; Blockly.Msg.DELETE_X_BLOCKS = "Delete %1 Blocks"; Blockly.Msg.DISABLE_BLOCK = "Disable Block"; Blockly.Msg.DUPLICATE_BLOCK = "Duplicate"; Blockly.Msg.ENABLE_BLOCK = "Enable Block"; Blockly.Msg.EXPAND_ALL = "Expand Blocks"; Blockly.Msg.EXPAND_BLOCK = "Expand Block"; Blockly.Msg.EXTERNAL_INPUTS = "External Inputs"; Blockly.Msg.HELP = "Help"; Blockly.Msg.INLINE_INPUTS = "Inline Inputs"; Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "create empty list"; Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Returns a list, of length 0, containing no data records"; Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "list"; Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "Add, remove, or reorder sections to reconfigure this list block."; Blockly.Msg.LISTS_CREATE_WITH_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = "create list with"; Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = "Add an item to the list."; Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = "Create a list with any number of items."; Blockly.Msg.LISTS_GET_INDEX_FIRST = "first"; Blockly.Msg.LISTS_GET_INDEX_FROM_END = "# from end"; Blockly.Msg.LISTS_GET_INDEX_FROM_START = "#"; Blockly.Msg.LISTS_GET_INDEX_GET = "get"; Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = "get and remove"; Blockly.Msg.LISTS_GET_INDEX_LAST = "last"; Blockly.Msg.LISTS_GET_INDEX_RANDOM = "random"; Blockly.Msg.LISTS_GET_INDEX_REMOVE = "remove"; Blockly.Msg.LISTS_GET_INDEX_TAIL = ""; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "Returns the first item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = "Returns the item at the specified position in a list. #1 is the last item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = "Returns the item at the specified position in a list. #1 is the first item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = "Returns the last item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "Returns a random item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "Removes and returns the first item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = "Removes and returns the item at the specified position in a list. #1 is the last item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = "Removes and returns the item at the specified position in a list. #1 is the first item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "Removes and returns the last item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "Removes and returns a random item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "Removes the first item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = "Removes the item at the specified position in a list. #1 is the last item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = "Removes the item at the specified position in a list. #1 is the first item."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "Removes the last item in a list."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "Removes a random item in a list."; Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = "to # from end"; Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = "to #"; Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = "to last"; Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist"; Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = "get sub-list from first"; Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = "get sub-list from # from end"; Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = "get sub-list from #"; Blockly.Msg.LISTS_GET_SUBLIST_TAIL = ""; Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Creates a copy of the specified portion of a list."; Blockly.Msg.LISTS_INDEX_OF_FIRST = "find first occurrence of item"; Blockly.Msg.LISTS_INDEX_OF_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; Blockly.Msg.LISTS_INDEX_OF_LAST = "find last occurrence of item"; Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found."; Blockly.Msg.LISTS_INLIST = "in list"; Blockly.Msg.LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; Blockly.Msg.LISTS_ISEMPTY_TITLE = "%1 is empty"; Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = "Returns true if the list is empty."; Blockly.Msg.LISTS_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Lists#length-of"; Blockly.Msg.LISTS_LENGTH_TITLE = "length of %1"; Blockly.Msg.LISTS_LENGTH_TOOLTIP = "Returns the length of a list."; Blockly.Msg.LISTS_REPEAT_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; Blockly.Msg.LISTS_REPEAT_TITLE = "create list with item %1 repeated %2 times"; Blockly.Msg.LISTS_REPEAT_TOOLTIP = "Creates a list consisting of the given value repeated the specified number of times."; Blockly.Msg.LISTS_SET_INDEX_HELPURL = "https://github.com/google/blockly/wiki/Lists#in-list--set"; Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = "as"; Blockly.Msg.LISTS_SET_INDEX_INSERT = "insert at"; Blockly.Msg.LISTS_SET_INDEX_SET = "set"; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "Inserts the item at the start of a list."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = "Inserts the item at the specified position in a list. #1 is the last item."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = "Inserts the item at the specified position in a list. #1 is the first item."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "Append the item to the end of a list."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "Inserts the item randomly in a list."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "Sets the first item in a list."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = "Sets the item at the specified position in a list. #1 is the last item."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = "Sets the item at the specified position in a list. #1 is the first item."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = "Sets the last item in a list."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "Sets a random item in a list."; Blockly.Msg.LISTS_SORT_HELPURL = "https://github.com/google/blockly/wiki/Lists#sorting-a-list"; Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = "ascending"; Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = "descending"; Blockly.Msg.LISTS_SORT_TITLE = "sort %1 %2 %3"; Blockly.Msg.LISTS_SORT_TOOLTIP = "Sort a copy of a list."; Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = "alphabetic, ignore case"; Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = "numeric"; Blockly.Msg.LISTS_SORT_TYPE_TEXT = "alphabetic"; Blockly.Msg.LISTS_SPLIT_HELPURL = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists"; Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = "make list from text"; Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = "make text from list"; Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = "Join a list of texts into one text, separated by a delimiter."; Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = "Split text into a list of texts, breaking at each delimiter."; Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = "with delimiter"; Blockly.Msg.LOGIC_BOOLEAN_FALSE = "false"; Blockly.Msg.LOGIC_BOOLEAN_HELPURL = "https://github.com/google/blockly/wiki/Logic#values"; Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = "Returns either true or false."; Blockly.Msg.LOGIC_BOOLEAN_TRUE = "true"; Blockly.Msg.LOGIC_COMPARE_HELPURL = "https://en.wikipedia.org/wiki/Inequality_(mathematics)"; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = "Return true if both inputs equal each other."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = "Return true if the first input is greater than the second input."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = "Return true if the first input is greater than or equal to the second input."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = "Return true if the first input is smaller than the second input."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = "Return true if the first input is smaller than or equal to the second input."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = "Return true if both inputs are not equal to each other."; Blockly.Msg.LOGIC_NEGATE_HELPURL = "https://github.com/google/blockly/wiki/Logic#not"; Blockly.Msg.LOGIC_NEGATE_TITLE = "not %1"; Blockly.Msg.LOGIC_NEGATE_TOOLTIP = "Returns true if the input is false. Returns false if the input is true."; Blockly.Msg.LOGIC_NULL = "null"; Blockly.Msg.LOGIC_NULL_HELPURL = "https://en.wikipedia.org/wiki/Nullable_type"; Blockly.Msg.LOGIC_NULL_TOOLTIP = "Returns null."; Blockly.Msg.LOGIC_OPERATION_AND = "and"; Blockly.Msg.LOGIC_OPERATION_HELPURL = "https://github.com/google/blockly/wiki/Logic#logical-operations"; Blockly.Msg.LOGIC_OPERATION_OR = "or"; Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = "Return true if both inputs are true."; Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = "Return true if at least one of the inputs is true."; Blockly.Msg.LOGIC_TERNARY_CONDITION = "test"; Blockly.Msg.LOGIC_TERNARY_HELPURL = "https://en.wikipedia.org/wiki/%3F:"; Blockly.Msg.LOGIC_TERNARY_IF_FALSE = "if false"; Blockly.Msg.LOGIC_TERNARY_IF_TRUE = "if true"; Blockly.Msg.LOGIC_TERNARY_TOOLTIP = "Check the condition in 'test'. If the condition is true, returns the 'if true' value; otherwise returns the 'if false' value."; Blockly.Msg.MATH_ADDITION_SYMBOL = "+"; Blockly.Msg.MATH_ARITHMETIC_HELPURL = "https://en.wikipedia.org/wiki/Arithmetic"; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = "Return the sum of the two numbers."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = "Return the quotient of the two numbers."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = "Return the difference of the two numbers."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "Return the product of the two numbers."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = "Return the first number raised to the power of the second number."; Blockly.Msg.MATH_CHANGE_HELPURL = "https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter"; Blockly.Msg.MATH_CHANGE_TITLE = "change %1 by %2"; Blockly.Msg.MATH_CHANGE_TOOLTIP = "Add a number to variable '%1'."; Blockly.Msg.MATH_CONSTANT_HELPURL = "https://en.wikipedia.org/wiki/Mathematical_constant"; Blockly.Msg.MATH_CONSTANT_TOOLTIP = "Return one of the common constants: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (infinity)."; Blockly.Msg.MATH_CONSTRAIN_HELPURL = "https://en.wikipedia.org/wiki/Clamping_%28graphics%29"; Blockly.Msg.MATH_CONSTRAIN_TITLE = "constrain %1 low %2 high %3"; Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = "Constrain a number to be between the specified limits (inclusive)."; Blockly.Msg.MATH_DIVISION_SYMBOL = "÷"; Blockly.Msg.MATH_IS_DIVISIBLE_BY = "is divisible by"; Blockly.Msg.MATH_IS_EVEN = "is even"; Blockly.Msg.MATH_IS_NEGATIVE = "is negative"; Blockly.Msg.MATH_IS_ODD = "is odd"; Blockly.Msg.MATH_IS_POSITIVE = "is positive"; Blockly.Msg.MATH_IS_PRIME = "is prime"; Blockly.Msg.MATH_IS_TOOLTIP = "Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false."; Blockly.Msg.MATH_IS_WHOLE = "is whole"; Blockly.Msg.MATH_MODULO_HELPURL = "https://en.wikipedia.org/wiki/Modulo_operation"; Blockly.Msg.MATH_MODULO_TITLE = "remainder of %1 ÷ %2"; Blockly.Msg.MATH_MODULO_TOOLTIP = "Return the remainder from dividing the two numbers."; Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = "×"; Blockly.Msg.MATH_NUMBER_HELPURL = "https://en.wikipedia.org/wiki/Number"; Blockly.Msg.MATH_NUMBER_TOOLTIP = "A number."; Blockly.Msg.MATH_ONLIST_HELPURL = ""; Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = "average of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = "max of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = "median of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = "min of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = "modes of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = "random item of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = "standard deviation of list"; Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = "sum of list"; Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = "Return the average (arithmetic mean) of the numeric values in the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = "Return the largest number in the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = "Return the median number in the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = "Return the smallest number in the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = "Return a list of the most common item(s) in the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = "Return a random element from the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = "Return the standard deviation of the list."; Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = "Return the sum of all the numbers in the list."; Blockly.Msg.MATH_POWER_SYMBOL = "^"; Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation"; Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = "random fraction"; Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = "Return a random fraction between 0.0 (inclusive) and 1.0 (exclusive)."; Blockly.Msg.MATH_RANDOM_INT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation"; Blockly.Msg.MATH_RANDOM_INT_TITLE = "random integer from %1 to %2"; Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = "Return a random integer between the two specified limits, inclusive."; Blockly.Msg.MATH_ROUND_HELPURL = "https://en.wikipedia.org/wiki/Rounding"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = "round"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = "round down"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = "round up"; Blockly.Msg.MATH_ROUND_TOOLTIP = "Round a number up or down."; Blockly.Msg.MATH_SINGLE_HELPURL = "https://en.wikipedia.org/wiki/Square_root"; Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = "absolute"; Blockly.Msg.MATH_SINGLE_OP_ROOT = "square root"; Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = "Return the absolute value of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = "Return e to the power of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = "Return the natural logarithm of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = "Return the base 10 logarithm of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = "Return the negation of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = "Return 10 to the power of a number."; Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = "Return the square root of a number."; Blockly.Msg.MATH_SUBTRACTION_SYMBOL = "-"; Blockly.Msg.MATH_TRIG_ACOS = "acos"; Blockly.Msg.MATH_TRIG_ASIN = "asin"; Blockly.Msg.MATH_TRIG_ATAN = "atan"; Blockly.Msg.MATH_TRIG_COS = "cos"; Blockly.Msg.MATH_TRIG_HELPURL = "https://en.wikipedia.org/wiki/Trigonometric_functions"; Blockly.Msg.MATH_TRIG_SIN = "sin"; Blockly.Msg.MATH_TRIG_TAN = "tan"; Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = "Return the arccosine of a number."; Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = "Return the arcsine of a number."; Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = "Return the arctangent of a number."; Blockly.Msg.MATH_TRIG_TOOLTIP_COS = "Return the cosine of a degree (not radian)."; Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = "Return the sine of a degree (not radian)."; Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = "Return the tangent of a degree (not radian)."; Blockly.Msg.ME = "Me"; Blockly.Msg.NEW_VARIABLE = "New variable..."; Blockly.Msg.NEW_VARIABLE_TITLE = "New variable name:"; Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = "allow statements"; Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "with:"; Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Run the user-defined function '%1'."; Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Run the user-defined function '%1' and use its output."; Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = "with:"; Blockly.Msg.PROCEDURES_CREATE_DO = "Create '%1'"; Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = "Describe this function..."; Blockly.Msg.PROCEDURES_DEFNORETURN_DO = ""; Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = "do something"; Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = "to"; Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = "Creates a function with no output."; Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = "return"; Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = "Creates a function with an output."; Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = "Warning: This function has duplicate parameters."; Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = "Highlight function definition"; Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = "http://c2.com/cgi/wiki?GuardClause"; Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = "If a value is true, then return a second value."; Blockly.Msg.PROCEDURES_IFRETURN_WARNING = "Warning: This block may be used only within a function definition."; Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = "input name:"; Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = "Add an input to the function."; Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = "inputs"; Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = "Add, remove, or reorder inputs to this function."; Blockly.Msg.REDO = "Redo"; Blockly.Msg.REMOVE_COMMENT = "Remove Comment"; Blockly.Msg.RENAME_VARIABLE = "Rename variable..."; Blockly.Msg.RENAME_VARIABLE_TITLE = "Rename all '%1' variables to:"; Blockly.Msg.TEXT_APPEND_APPENDTEXT = "append text"; Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; Blockly.Msg.TEXT_APPEND_TO = "to"; Blockly.Msg.TEXT_APPEND_TOOLTIP = "Append some text to variable '%1'."; Blockly.Msg.TEXT_CHANGECASE_HELPURL = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = "to lower case"; Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = "to Title Case"; Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = "to UPPER CASE"; Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = "Return a copy of the text in a different case."; Blockly.Msg.TEXT_CHARAT_FIRST = "get first letter"; Blockly.Msg.TEXT_CHARAT_FROM_END = "get letter # from end"; Blockly.Msg.TEXT_CHARAT_FROM_START = "get letter #"; Blockly.Msg.TEXT_CHARAT_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-text"; Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = "in text"; Blockly.Msg.TEXT_CHARAT_LAST = "get last letter"; Blockly.Msg.TEXT_CHARAT_RANDOM = "get random letter"; Blockly.Msg.TEXT_CHARAT_TAIL = ""; Blockly.Msg.TEXT_CHARAT_TOOLTIP = "Returns the letter at the specified position."; Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = "Add an item to the text."; Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = "join"; Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = "Add, remove, or reorder sections to reconfigure this text block."; Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = "to letter # from end"; Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = "to letter #"; Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = "to last letter"; Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text"; Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "in text"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = "get substring from first letter"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = "get substring from letter # from end"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = "get substring from letter #"; Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = ""; Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = "Returns a specified portion of the text."; Blockly.Msg.TEXT_INDEXOF_HELPURL = "https://github.com/google/blockly/wiki/Text#finding-text"; Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = "in text"; Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = "find first occurrence of text"; Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = "find last occurrence of text"; Blockly.Msg.TEXT_INDEXOF_TAIL = ""; Blockly.Msg.TEXT_INDEXOF_TOOLTIP = "Returns the index of the first/last occurrence of the first text in the second text. Returns 0 if text is not found."; Blockly.Msg.TEXT_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; Blockly.Msg.TEXT_ISEMPTY_TITLE = "%1 is empty"; Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = "Returns true if the provided text is empty."; Blockly.Msg.TEXT_JOIN_HELPURL = "https://github.com/google/blockly/wiki/Text#text-creation"; Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = "create text with"; Blockly.Msg.TEXT_JOIN_TOOLTIP = "Create a piece of text by joining together any number of items."; Blockly.Msg.TEXT_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; Blockly.Msg.TEXT_LENGTH_TITLE = "length of %1"; Blockly.Msg.TEXT_LENGTH_TOOLTIP = "Returns the number of letters (including spaces) in the provided text."; Blockly.Msg.TEXT_PRINT_HELPURL = "https://github.com/google/blockly/wiki/Text#printing-text"; Blockly.Msg.TEXT_PRINT_TITLE = "print %1"; Blockly.Msg.TEXT_PRINT_TOOLTIP = "Print the specified text, number or other value."; Blockly.Msg.TEXT_PROMPT_HELPURL = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = "Prompt for user for a number."; Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = "Prompt for user for some text."; Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = "prompt for number with message"; Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = "prompt for text with message"; Blockly.Msg.TEXT_TEXT_HELPURL = "https://en.wikipedia.org/wiki/String_(computer_science)"; Blockly.Msg.TEXT_TEXT_TOOLTIP = "A letter, word, or line of text."; Blockly.Msg.TEXT_TRIM_HELPURL = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = "trim spaces from both sides of"; Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = "trim spaces from left side of"; Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = "trim spaces from right side of"; Blockly.Msg.TEXT_TRIM_TOOLTIP = "Return a copy of the text with spaces removed from one or both ends."; Blockly.Msg.TODAY = "Today"; Blockly.Msg.UNDO = "Undo"; Blockly.Msg.VARIABLES_DEFAULT_NAME = "item"; Blockly.Msg.VARIABLES_GET_CREATE_SET = "Create 'set %1'"; Blockly.Msg.VARIABLES_GET_HELPURL = "https://github.com/google/blockly/wiki/Variables#get"; Blockly.Msg.VARIABLES_GET_TOOLTIP = "Returns the value of this variable."; Blockly.Msg.VARIABLES_SET = "set %1 to %2"; Blockly.Msg.VARIABLES_SET_CREATE_GET = "Create 'get %1'"; Blockly.Msg.VARIABLES_SET_HELPURL = "https://github.com/google/blockly/wiki/Variables#set"; Blockly.Msg.VARIABLES_SET_TOOLTIP = "Sets this variable to be equal to the input."; Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE; Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF; Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE; Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE; Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO; Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF; Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL; Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT; // Ardublockly strings Blockly.Msg.ARD_ANALOGREAD = "read analog pin#"; Blockly.Msg.ARD_ANALOGREAD_TIP = "Return value between 0 and 1024"; Blockly.Msg.ARD_ANALOGWRITE = "set analog pin#"; Blockly.Msg.ARD_ANALOGWRITE_TIP = "Write analog value between 0 and 255 to a specific PWM Port"; Blockly.Msg.ARD_BUILTIN_LED = "set built-in LED"; Blockly.Msg.ARD_BUILTIN_LED_TIP = "Light on or off for the built-in LED of the Arduino"; Blockly.Msg.ARD_COMPONENT_WARN1 = "A %1 configuration block with the same %2 name must be added to use this block!"; Blockly.Msg.ARD_DEFINE = "Define"; Blockly.Msg.ARD_DIGITALREAD = "read digital pin#"; Blockly.Msg.ARD_DIGITALREAD_TIP = "Read digital value on a pin: HIGH or LOW"; Blockly.Msg.ARD_DIGITALWRITE = "set digitial pin#"; Blockly.Msg.ARD_DIGITALWRITE_TIP = "Write digital value HIGH or LOW to a specific Port"; Blockly.Msg.ARD_FUN_RUN_LOOP = "Arduino loop forever:"; Blockly.Msg.ARD_FUN_RUN_SETUP = "Arduino run first:"; Blockly.Msg.ARD_FUN_RUN_TIP = "Defines the Arduino setup() and loop() functions."; Blockly.Msg.ARD_HIGH = "HIGH"; Blockly.Msg.ARD_HIGHLOW_TIP = "Set a pin state logic High or Low."; Blockly.Msg.ARD_LOW = "LOW"; Blockly.Msg.ARD_MAP = "Map Value"; Blockly.Msg.ARD_MAP_FROMMAX = "from Max"; Blockly.Msg.ARD_MAP_FROMMIN = "from Min"; Blockly.Msg.ARD_MAP_TIP = "Re-maps a number from [0-1024] to another."; Blockly.Msg.ARD_MAP_TOMAX = "to Max"; Blockly.Msg.ARD_MAP_TOMIN = "to Min"; Blockly.Msg.ARD_MAP_VAL = "value to [0-"; Blockly.Msg.ARD_NOTONE = "Turn off tone on pin #"; Blockly.Msg.ARD_NOTONE_PIN = "No tone PIN#"; Blockly.Msg.ARD_NOTONE_PIN_TIP = "Stop generating a tone on a pin"; Blockly.Msg.ARD_NOTONE_TIP = "Turns the tone off on the selected pin"; Blockly.Msg.ARD_PIN_WARN1 = "Pin %1 is needed for %2 as pin %3. Already used as %4."; Blockly.Msg.ARD_PULSETIMEOUT_TIP = "Measures the duration of a pulse on the selected pin, if it is within the time-out in microseconds."; Blockly.Msg.ARD_PULSE_READ = "measure %1 pulse on pin #%2"; Blockly.Msg.ARD_PULSE_READ_TIMEOUT = "measure %1 pulse on pin #%2 (timeout after %3 μs)"; Blockly.Msg.ARD_PULSE_TIP = "Measures the duration of a pulse on the selected pin."; Blockly.Msg.ARD_SERIAL_BPS = "bps"; Blockly.Msg.ARD_SERIAL_PRINT = "print"; Blockly.Msg.ARD_SERIAL_PRINT_NEWLINE = "add new line"; Blockly.Msg.ARD_SERIAL_PRINT_TIP = "Prints data to the console/serial port as human-readable ASCII text."; Blockly.Msg.ARD_SERIAL_PRINT_WARN = "A setup block for %1 must be added to the workspace to use this block!"; Blockly.Msg.ARD_SERIAL_SETUP = "Setup"; Blockly.Msg.ARD_SERIAL_SETUP_TIP = "Selects the speed for a specific Serial peripheral"; Blockly.Msg.ARD_SERIAL_SPEED = ": speed to"; Blockly.Msg.ARD_SERVO_READ = "read SERVO from PIN#"; Blockly.Msg.ARD_SERVO_READ_TIP = "Read a Servo angle"; Blockly.Msg.ARD_SERVO_WRITE = "set SERVO from Pin"; Blockly.Msg.ARD_SERVO_WRITE_DEG_180 = "Degrees (0~180)"; Blockly.Msg.ARD_SERVO_WRITE_TIP = "Set a Servo to an specified angle"; Blockly.Msg.ARD_SERVO_WRITE_TO = "to"; Blockly.Msg.ARD_SETTONE = "Set tone on pin #"; Blockly.Msg.ARD_SPI_SETUP = "Setup"; Blockly.Msg.ARD_SPI_SETUP_CONF = "configuration:"; Blockly.Msg.ARD_SPI_SETUP_DIVIDE = "clock divide"; Blockly.Msg.ARD_SPI_SETUP_LSBFIRST = "LSBFIRST"; Blockly.Msg.ARD_SPI_SETUP_MODE = "SPI mode (idle - edge)"; Blockly.Msg.ARD_SPI_SETUP_MODE0 = "0 (Low - Falling)"; Blockly.Msg.ARD_SPI_SETUP_MODE1 = "1 (Low - Rising)"; Blockly.Msg.ARD_SPI_SETUP_MODE2 = "2 (High - Falling)"; Blockly.Msg.ARD_SPI_SETUP_MODE3 = "3 (High - Rising)"; Blockly.Msg.ARD_SPI_SETUP_MSBFIRST = "MSBFIRST"; Blockly.Msg.ARD_SPI_SETUP_SHIFT = "data shift"; Blockly.Msg.ARD_SPI_SETUP_TIP = "Configures the SPI peripheral."; Blockly.Msg.ARD_SPI_TRANSRETURN_TIP = "Send a SPI message to an specified slave device and get data back."; Blockly.Msg.ARD_SPI_TRANS_NONE = "none"; Blockly.Msg.ARD_SPI_TRANS_SLAVE = "to slave pin"; Blockly.Msg.ARD_SPI_TRANS_TIP = "Send a SPI message to an specified slave device."; Blockly.Msg.ARD_SPI_TRANS_VAL = "transfer"; Blockly.Msg.ARD_SPI_TRANS_WARN1 = "A setup block for %1 must be added to the workspace to use this block!"; Blockly.Msg.ARD_SPI_TRANS_WARN2 = "Old pin value %1 is no longer available."; Blockly.Msg.ARD_STEPPER_COMPONENT = "stepper"; Blockly.Msg.ARD_STEPPER_DEFAULT_NAME = "MyStepper"; Blockly.Msg.ARD_STEPPER_FOUR_PINS = "4"; Blockly.Msg.ARD_STEPPER_MOTOR = "stepper motor:"; Blockly.Msg.ARD_STEPPER_NUMBER_OF_PINS = "Number of pins"; Blockly.Msg.ARD_STEPPER_PIN1 = "pin1#"; Blockly.Msg.ARD_STEPPER_PIN2 = "pin2#"; Blockly.Msg.ARD_STEPPER_PIN3 = "pin3#"; Blockly.Msg.ARD_STEPPER_PIN4 = "pin4#"; Blockly.Msg.ARD_STEPPER_REVOLVS = "how many steps per revolution"; Blockly.Msg.ARD_STEPPER_SETUP = "Setup stepper motor"; Blockly.Msg.ARD_STEPPER_SETUP_TIP = "Configures a stepper motor pinout and other settings."; Blockly.Msg.ARD_STEPPER_SPEED = "set speed (rpm) to"; Blockly.Msg.ARD_STEPPER_STEP = "move stepper"; Blockly.Msg.ARD_STEPPER_STEPS = "steps"; Blockly.Msg.ARD_STEPPER_STEP_TIP = "Turns the stepper motor a specific number of steps."; Blockly.Msg.ARD_STEPPER_TWO_PINS = "2"; Blockly.Msg.ARD_TIME_DELAY = "wait"; Blockly.Msg.ARD_TIME_DELAY_MICROS = "microseconds"; Blockly.Msg.ARD_TIME_DELAY_MICRO_TIP = "Wait specific time in microseconds"; Blockly.Msg.ARD_TIME_DELAY_TIP = "Wait specific time in milliseconds"; Blockly.Msg.ARD_TIME_INF = "wait forever (end program)"; Blockly.Msg.ARD_TIME_INF_TIP = "Wait indefinitely, stopping the program."; Blockly.Msg.ARD_TIME_MICROS = "current elapsed Time (microseconds)"; Blockly.Msg.ARD_TIME_MICROS_TIP = "Returns the number of microseconds since the Arduino board began running the current program. Has to be stored in a positive long integer"; Blockly.Msg.ARD_TIME_MILLIS = "current elapsed Time (milliseconds)"; Blockly.Msg.ARD_TIME_MILLIS_TIP = "Returns the number of milliseconds since the Arduino board began running the current program. Has to be stored in a positive long integer"; Blockly.Msg.ARD_TIME_MS = "milliseconds"; Blockly.Msg.ARD_TONEFREQ = "at frequency"; Blockly.Msg.ARD_TONE_FREQ = "frequency"; Blockly.Msg.ARD_TONE_PIN = "Tone PIN#"; Blockly.Msg.ARD_TONE_PIN_TIP = "Generate audio tones on a pin"; Blockly.Msg.ARD_TONE_TIP = "Sets tone on pin to specified frequency within range 31 - 65535"; Blockly.Msg.ARD_TONE_WARNING = "Frequency must be in range 31 - 65535"; Blockly.Msg.ARD_TYPE_ARRAY = "Array"; Blockly.Msg.ARD_TYPE_BOOL = "Boolean"; Blockly.Msg.ARD_TYPE_CHAR = "Character"; Blockly.Msg.ARD_TYPE_CHILDBLOCKMISSING = "ChildBlockMissing"; Blockly.Msg.ARD_TYPE_DECIMAL = "Decimal"; Blockly.Msg.ARD_TYPE_LONG = "Large Number"; Blockly.Msg.ARD_TYPE_NULL = "Null"; Blockly.Msg.ARD_TYPE_NUMBER = "Number"; Blockly.Msg.ARD_TYPE_SHORT = "Short Number"; Blockly.Msg.ARD_TYPE_TEXT = "Text"; Blockly.Msg.ARD_TYPE_UNDEF = "Undefined"; Blockly.Msg.ARD_VAR_AS = "as"; Blockly.Msg.ARD_VAR_AS_TIP = "Sets a value to a specific type"; Blockly.Msg.ARD_WRITE_TO = "to"; Blockly.Msg.NEW_INSTANCE = "New instance..."; Blockly.Msg.NEW_INSTANCE_TITLE = "New instance name:"; Blockly.Msg.RENAME_INSTANCE = "Rename instance..."; Blockly.Msg.RENAME_INSTANCE_TITLE = "Rename all '%1' instances to:"; Blockly.Msg.cases_add = "Case"; Blockly.Msg.cases_condition = "Case (Variable) = "; Blockly.Msg.cases_do = "Do"; Blockly.Msg.cases_switch = "Variable"; Blockly.Msg.senseBox_SD_COMPONENT = "SD-Block"; Blockly.Msg.senseBox_basic_blue = "Blue"; Blockly.Msg.senseBox_basic_green = "Gree"; Blockly.Msg.senseBox_basic_red = "Red"; Blockly.Msg.senseBox_basic_state = "Status"; Blockly.Msg.senseBox_bmx055_accelerometer = "Accelerometer"; Blockly.Msg.senseBox_bmx055_accelerometer_direction = "Direction"; Blockly.Msg.senseBox_bmx055_accelerometer_direction_total = "Total"; Blockly.Msg.senseBox_bmx055_accelerometer_direction_x = "X-Axis"; Blockly.Msg.senseBox_bmx055_accelerometer_direction_y = "Y-Axis"; Blockly.Msg.senseBox_bmx055_accelerometer_direction_z = "Z-Axis"; Blockly.Msg.senseBox_bmx055_accelerometer_range = "Range"; Blockly.Msg.senseBox_bmx055_accelerometer_range_16g = "16g"; Blockly.Msg.senseBox_bmx055_accelerometer_range_2g = "2g"; Blockly.Msg.senseBox_bmx055_accelerometer_range_4g = "4g"; Blockly.Msg.senseBox_bmx055_accelerometer_range_8g = "8g"; Blockly.Msg.senseBox_bmx055_accelerometer_tip = "Measuring the acceleration"; Blockly.Msg.senseBox_bmx055_compass = "Compass"; Blockly.Msg.senseBox_bmx055_compass_tip = "Gives the "; Blockly.Msg.senseBox_bmx055_gyroscope = "Gyroscope"; Blockly.Msg.senseBox_bmx055_gyroscope_tip = "Lage Sensor"; Blockly.Msg.senseBox_bmx055_x = "X-Direction"; Blockly.Msg.senseBox_bmx055_y = "Y-Direction"; Blockly.Msg.senseBox_button = "Button"; Blockly.Msg.senseBox_button_isPressed = "is Pressed"; Blockly.Msg.senseBox_button_switch = "as Switch"; Blockly.Msg.senseBox_button_tip = "Button"; Blockly.Msg.senseBox_button_wasPressed = "was Pressed"; Blockly.Msg.senseBox_display_beginDisplay = "Initialize Display"; Blockly.Msg.senseBox_display_beginDisplay_tip = "Starts the display"; Blockly.Msg.senseBox_display_black = "Black"; Blockly.Msg.senseBox_display_clearDisplay = "Clear Display"; Blockly.Msg.senseBox_display_clearDisplay_tip = "Clear the display content"; Blockly.Msg.senseBox_display_color = "Font color"; Blockly.Msg.senseBox_display_filled = "filled"; Blockly.Msg.senseBox_display_plotDisplay = "Plot Diagram"; Blockly.Msg.senseBox_display_plotTimeFrame = "TimeFrame"; Blockly.Msg.senseBox_display_plotTitle = "Title"; Blockly.Msg.senseBox_display_plotXLabel = "X-Axis Label"; Blockly.Msg.senseBox_display_plotXRange1 = "X-Range Begin"; Blockly.Msg.senseBox_display_plotXRange2 = "X-Range End"; Blockly.Msg.senseBox_display_plotXTick = "X-Tick"; Blockly.Msg.senseBox_display_plotYLabel = "Y-Axis Label"; Blockly.Msg.senseBox_display_plotYRange1 = "Y-Range Begin"; Blockly.Msg.senseBox_display_plotYRange2 = "Y-Range End"; Blockly.Msg.senseBox_display_plotYTick = "Y-Tick"; Blockly.Msg.senseBox_display_printDisplay = "Write Text/Number"; Blockly.Msg.senseBox_display_printDisplay_tip = "Prints Values to the Display, set X and Y Location"; Blockly.Msg.senseBox_display_printDisplay_value = "value"; Blockly.Msg.senseBox_display_printDisplay_x = "x-coordinates"; Blockly.Msg.senseBox_display_printDisplay_y = "y-coordinates"; Blockly.Msg.senseBox_display_setSize = "set font size to"; Blockly.Msg.senseBox_display_setSize_tip = "Change the font size. Set a Value between 1-10."; Blockly.Msg.senseBox_display_white = "White"; Blockly.Msg.senseBox_foto = "Light Dependent Resistor"; Blockly.Msg.senseBox_foto_tip = "simple light depending resistor, gives values between 0 and 1023"; Blockly.Msg.senseBox_gps_alt = "altitude"; Blockly.Msg.senseBox_gps_begin = "initialize GPS"; Blockly.Msg.senseBox_gps_begin_tip = "initialize GPS Sensor"; Blockly.Msg.senseBox_gps_date = "date"; Blockly.Msg.senseBox_gps_getValues = "GPS-Module"; Blockly.Msg.senseBox_gps_getValues_tip = "gets the specific Value from the GPS Sensor"; Blockly.Msg.senseBox_gps_lat = "latitude"; Blockly.Msg.senseBox_gps_lng = "longitude"; Blockly.Msg.senseBox_gps_speed = "speed"; Blockly.Msg.senseBox_gps_time = "time"; Blockly.Msg.senseBox_html_body = "<body>"; Blockly.Msg.senseBox_html_body_end = "</body>"; Blockly.Msg.senseBox_html_document = "HTML"; Blockly.Msg.senseBox_html_document_tip = "A block for generating a HTML document."; Blockly.Msg.senseBox_html_general_tag_tip = "A general HTML tag building block."; Blockly.Msg.senseBox_html_header = "<head>"; Blockly.Msg.senseBox_html_header_end = "</head>"; Blockly.Msg.senseBox_http_method = "Method"; Blockly.Msg.senseBox_http_method_tip = "Method of the current HTTP request"; Blockly.Msg.senseBox_http_not_found = "404 Not found"; Blockly.Msg.senseBox_http_not_found_tip = "Send a predefined 404 HTTP response."; Blockly.Msg.senseBox_http_on_client_connect = "If client is connected:"; Blockly.Msg.senseBox_http_on_client_connect_tip = "Checks if a client is connected and executes given statement in that case."; Blockly.Msg.senseBox_http_protocol_version = "HTTP Version"; Blockly.Msg.senseBox_http_protocol_version_tip = "The HTTP Version of the current HTTP request"; Blockly.Msg.senseBox_http_success = "Succesful"; Blockly.Msg.senseBox_http_success_l2 = "HTTP reponse"; Blockly.Msg.senseBox_http_success_tip = "Send a successful HTTP response with content."; Blockly.Msg.senseBox_http_uri = "URI"; Blockly.Msg.senseBox_http_uri_tip = "URI of requested resource of the current HTTP request"; Blockly.Msg.senseBox_http_user_agent = "User-Agent"; Blockly.Msg.senseBox_http_user_agent_tip = "The User-Agent send along with the current HTTP request"; Blockly.Msg.senseBox_hum = "humidity in %"; Blockly.Msg.senseBox_hum_tip = "Measures humidity in %"; Blockly.Msg.senseBox_init_http_server = "Initialize HTTP-Server"; Blockly.Msg.senseBox_init_http_server_tip = "Initializes a http server on the specified port."; Blockly.Msg.senseBox_interval = "ms"; Blockly.Msg.senseBox_interval_timer = "Measuring interval"; Blockly.Msg.senseBox_interval_timer_tip = "Setup an Intervall"; Blockly.Msg.senseBox_ip_address = "IP-Address"; Blockly.Msg.senseBox_ip_address_tip = "Returns the IP address as a string."; Blockly.Msg.senseBox_ir = "infrared distance sensor"; Blockly.Msg.senseBox_ir_tip = "infrared distance sensor can measure the distance between 10 and 80 cm"; Blockly.Msg.senseBox_led = "LED connected to digital"; Blockly.Msg.senseBox_led_tip = "simple LED. Don't forget the resistor"; Blockly.Msg.senseBox_light = "Illuminance in Lux"; Blockly.Msg.senseBox_lux = "lightsensor"; Blockly.Msg.senseBox_lux_tip = "Light Sensor can measure the illuminance in lux"; Blockly.Msg.senseBox_off = "off"; Blockly.Msg.senseBox_on = "on"; Blockly.Msg.senseBox_osem_connection = "Connect to openSenseMap"; Blockly.Msg.senseBox_osem_connection_tip = ""; Blockly.Msg.senseBox_output_filename = "filename"; Blockly.Msg.senseBox_output_format = "format:"; Blockly.Msg.senseBox_output_linebreak = "linebreak"; Blockly.Msg.senseBox_output_networkid = "networkID"; Blockly.Msg.senseBox_output_password = "Password"; Blockly.Msg.senseBox_output_safetosd = "safe to sd"; Blockly.Msg.senseBox_output_safetosd_tip = "Save Measurment to SD-Card"; Blockly.Msg.senseBox_output_serialprint = "Print on Serial Monitor"; Blockly.Msg.senseBox_output_timestamp = "timestamp"; Blockly.Msg.senseBox_piezo_tip = "simple piezo to make sound"; Blockly.Msg.senseBox_poti = "Potentiometer"; Blockly.Msg.senseBox_poti_tip = "Potentiometer"; Blockly.Msg.senseBox_pressure = "Airpressure in Pa"; Blockly.Msg.senseBox_pressure_referencePressure = "Pressure at Sea Level"; Blockly.Msg.senseBox_pressure_referencePressure_dim = "hPa"; Blockly.Msg.senseBox_pressure_sensor = "Airpressure/Temperature Sensor (BMP280)"; Blockly.Msg.senseBox_pressure_tip = "airpressure sensor can measure the airpressure in Pa"; Blockly.Msg.senseBox_rgb_led = "RGB-LED"; Blockly.Msg.senseBox_rgb_led_tip = "RGB-LED"; Blockly.Msg.senseBox_sd_create_file = "Create file on SD-Card"; Blockly.Msg.senseBox_sd_decimals = "decimals"; Blockly.Msg.senseBox_sd_open_file = "Open a file from SD-Card"; Blockly.Msg.senseBox_sd_web_readHTML = "Read HTML from SD Card"; Blockly.Msg.senseBox_sd_write_file = " Write Data to SD-Card"; Blockly.Msg.senseBox_sds011 = "Fine Particular Sensor"; Blockly.Msg.senseBox_sds011_dimension = "in µg/m³ at"; Blockly.Msg.senseBox_sds011_pm10 = "PM10"; Blockly.Msg.senseBox_sds011_pm25 = "PM2.5"; Blockly.Msg.senseBox_sds011_serial1 = "Serial1"; Blockly.Msg.senseBox_sds011_serial2 = "Serial2"; Blockly.Msg.senseBox_sds011_tip = "Measuring the fine particular concentration"; Blockly.Msg.senseBox_send_mobile_to_osem = "Send measurement and location to openSenseMap"; Blockly.Msg.senseBox_send_mobile_to_osem_tip = "Send Value and Location to openSenseMap"; Blockly.Msg.senseBox_send_to_osem = "Send measurement to openSenseMap"; Blockly.Msg.senseBox_send_to_osem_tip = "sends the measurement to openSenseMap. Make shure to enter the correct BoxID and SensorID"; Blockly.Msg.senseBox_sensor = "Sensors"; Blockly.Msg.senseBox_serial_tip = "prints the values to the serial monitor in the arduino IDE. Good way to have a fast and easy feedback for your programm"; Blockly.Msg.senseBox_soil = "Soil Moisture"; Blockly.Msg.senseBox_sound = "Microphone"; Blockly.Msg.senseBox_sound_tip = "This block returns the measured value of the microphone in volts."; Blockly.Msg.senseBox_tag_first_mutator_tip = "Mandatory children to this block."; Blockly.Msg.senseBox_tag_optional_mutator_tip = "Add more children to the block."; Blockly.Msg.senseBox_temp = "Temperature in °C"; Blockly.Msg.senseBox_temp_hum = "Temperature/Humidity Sensor (HDC1080)"; Blockly.Msg.senseBox_temp_hum_tip = "Sensor measuring temperature and humidity"; Blockly.Msg.senseBox_ultrasonic = "Ultrasonic distance sensor at Port"; Blockly.Msg.senseBox_ultrasonic_echo = "Echo"; Blockly.Msg.senseBox_ultrasonic_port_A = "A"; Blockly.Msg.senseBox_ultrasonic_port_B = "B"; Blockly.Msg.senseBox_ultrasonic_port_C = "C"; Blockly.Msg.senseBox_ultrasonic_tip = "ultrasonic distance sensor"; Blockly.Msg.senseBox_ultrasonic_trigger = "Trigger"; Blockly.Msg.senseBox_uv = "UV-Light in µW/cm²"; Blockly.Msg.senseBox_uv_light = "Light Visible + UV"; Blockly.Msg.senseBox_uv_light_tip = "Sensor measuring the UV-light and the illuminance"; Blockly.Msg.senseBox_value = "value:"; Blockly.Msg.senseBox_watertemperature = "Water Temperature"; Blockly.Msg.senseBox_wifi_connect = "Connect to Wifi"; Blockly.Msg.senseBox_wifi_ssid = "Networkname"; Blockly.Msg.senseBox_wifi_startap = "Initialize Wifi Access Point"; Blockly.Msg.senseBox_wifi_tip = "Establishes a wifi connection"; Blockly.Msg.sensebox_display_drawRectangle = "Draw Rectangle"; Blockly.Msg.sensebox_display_drawRectangle_height = "height"; Blockly.Msg.sensebox_display_drawRectangle_width = "width"; Blockly.Msg.sensebox_display_fillCircle = "Draw Point"; Blockly.Msg.sensebox_display_fillCircle_radius = "Radius"; Blockly.Msg.sensebox_display_show = "Print on Display"; Blockly.Msg.sensebox_display_show_tip = "Print on Display"; Blockly.Msg.sensebox_sd_filename = "Filename"; Blockly.Msg.sensebox_web_readHTML_filename = "File:";
const user = sessionStorage.getItem('githubNameSearch'); if (!user) { window.location.href = 'index.html'; // redirecting back on error } else { function convertItemObjectToHtmlString(item){ const html = (` <article class="item"> <section><b>${item.name}</b></section> <br/> <section>${item.language}</section> <section>${item.stargazers_count} stars</section> <section>Updated ${item.updated_at}</section> <section>${item.fork ? 'Fork' : 'Not fork'}</section> <br/> <section>${item.description}</section> </article> `); return html; }; let page = 1; let minStars = '0'; let repoType = ''; let sort = ''; let allReposLoaded = []; function filterStarsCallback(val) { return val.stargazers_count >= minStars; } function filterTypeCallback(val) { switch (repoType){ case 'fork': return val.fork; case 'source': return !(val.fork); default: return true; } } function sortCallback(a, b) { switch (sort){ case 'name-asc': if(a.name>b.name) {return 1} if(a.name<b.name) {return -1} return 0; case 'name-desc': if(a.name>b.name) {return -1} if(a.name<b.name) {return 1} return 0; case 'stars-desc': return -a.stargazers_count+b.stargazers_count; case 'stars-asc': return a.stargazers_count-b.stargazers_count; } } function filterSort(){ function checkNumber(val){ return /^\d+$/.test(val); } const disabledNextPage=document.getElementById('nextPageLoad').disabled; document.getElementById('nextPageLoad').setAttribute("disabled","disabled"); document.getElementById('filter-sort-button').setAttribute("disabled","disabled"); let minStarsTemp=document.getElementById('star-field').value; if (minStarsTemp==='') {minStarsTemp='0'} if (!checkNumber(minStarsTemp)){ alert('Min stars must contain only digits! Try again!'); document.getElementById('filter-sort-button').removeAttribute('disabled'); if (!disabledNextPage) {document.getElementById('nextPageLoad').removeAttribute('disabled')} return; } else { minStars = minStarsTemp; repoType = document.getElementById('type-select').value; sort = document.getElementById('sort-select').value; const show = allReposLoaded .filter(filterStarsCallback) .filter(filterTypeCallback) .sort(sortCallback) .map(convertItemObjectToHtmlString) .join(''); document.getElementById('search-items').innerHTML = show; document.getElementById('filter-sort-button').removeAttribute('disabled'); if (!disabledNextPage) {document.getElementById('nextPageLoad').removeAttribute('disabled')} } } function addPage(){ document.getElementById('nextPageLoad').setAttribute("disabled","disabled"); document.getElementById('filter-sort-button').setAttribute("disabled","disabled"); fetch(`https://api.github.com/search/repositories?q=user:${user}&per_page=100&page=${++page}`) .then((res) => { if(res.ok){ return res.json() } else { throw new Error(`Fetch error! ${res.status} ${res.statusText}`); } }) .then((data) => { if(data.items.length===0){ document.getElementById('nextPageLoad').text = 'End reached'; } else { let lastPage=false; if(data.items.length<100) { lastPage=true } allReposLoaded = allReposLoaded.concat(data.items); //concat is faster than [ ...arr ] and is more semantical for code understanding const show = allReposLoaded .filter(filterStarsCallback) .filter(filterTypeCallback) .sort(sortCallback) .map(convertItemObjectToHtmlString) .join(''); document.getElementById('search-items').innerHTML = show; document.getElementById('filter-sort-button').removeAttribute('disabled'); if(lastPage){ document.getElementById('nextPageLoad').text = 'End reached'; } else { document.getElementById('nextPageLoad').removeAttribute('disabled'); } } }) .catch(() => document.getElementById('nextPageLoad').text = 'Can not get more repos'); } fetch(`https://api.github.com/search/repositories?q=user:${user}&per_page=100&page=${page}`) // 100 - maximum on page .then((res) => { if(res.ok){ return res.json() } else { throw new Error(`Fetch error! ${res.status} ${res.statusText}`); } }) .then((data) => { if(data.items.length===0){ alert ('No repos found for owner! Go back and try again!'); } else { let lastPage=false; if(data.items.length<100) { lastPage=true } allReposLoaded = allReposLoaded.concat(data.items); //concat is faster than [ ...arr ] and is more semantical for code understanding; const show = allReposLoaded.map(convertItemObjectToHtmlString).join(''); document.getElementById('search-items').innerHTML = show; document.getElementById('filter-sort-button').removeAttribute('disabled'); if(lastPage){ document.getElementById('nextPageLoad').text = 'End reached'; } else { document.getElementById('nextPageLoad').removeAttribute('disabled'); } } }) .catch(() => alert('Error happened! Go back and try again!')); }
import React from "react"; import { BrowserRouter as Router, Switch } from "react-router-dom"; import PublicRoute from "./routes/PublicRoute"; import PrivateRoute from "./routes/PrivateRoute"; import Login from "./modules/login/Login"; import Main from "./modules/main/Main"; function App() { return ( <> <Router> <Switch> <PublicRoute exact path="/login"> <Login /> </PublicRoute> <PrivateRoute path="/dashboard"> <Main /> </PrivateRoute> <PrivateRoute path="/analytics"> <Main /> </PrivateRoute> <PrivateRoute path="/settings"> <Main /> </PrivateRoute> </Switch> </Router> </> ); } export default App;
module.exports = { 'files': [ './svg/logo.svg', './svg/facebook.svg', './svg/vk.svg', './svg/twitter.svg', './svg/clipboard.svg', './svg/arrow_down.svg', './svg/play.svg', './svg/pause.svg', './svg/discogs_logo.svg', './svg/mixcloud.svg', './svg/soundcloud.svg', './svg/itunes.svg', './svg/angle_down.svg', ], 'fontName': 'MightyIcons', 'classPrefix': 'icon-', 'baseClass': 'mg-icon', 'fixedWidth': true, 'types': ['eot', 'woff', 'ttf', 'svg'] // this is the default }
/* PrismJS 1.15.0 https://prismjs.com/download.html?#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bison+bnf+brainfuck+bro+cpp+aspnet+arduino+cil+coffeescript+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+docker+ebnf+eiffel+ejs+elixir+elm+erb+erlang+fsharp+flow+fortran+gcode+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+javadoclike+n4js+json+jsonp+json5+julia+keyman+kotlin+latex+markdown+liquid+lisp+livescript+lolcode+lua+makefile+crystal+django+matlab+mel+mizar+monkey+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+textile+rust+sas+sass+stylus+javadoc+scheme+smalltalk+smarty+plsql+soy+twig+swift+yaml+tcl+haml+toml+tt2+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap&plugins=line-highlight+line-numbers+toolbar+copy-to-clipboard */ var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof i?new i(e.type,a.util.encode(e.content),e.alias):Array.isArray(e)?e.map(a.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var i,r,o=a.util.type(t);switch(n=n||{},o){case"Object":if(r=a.util.objId(t),n[r])return n[r];for(var s in i={},n[r]=i,t)t.hasOwnProperty(s)&&(i[s]=e(t[s],n));return i;case"Array":return r=a.util.objId(t),n[r]?n[r]:(i=[],n[r]=i,t.forEach(function(t,a){i[a]=e(t,n)}),i);default:return t}}},languages:{extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var i in t)n[i]=t[i];return n},insertBefore:function(e,t,n,i){var r=(i=i||a.languages)[e],o={};for(var s in r)if(r.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=r[s])}var d=i[e];return i[e]=o,a.languages.DFS(a.languages,function(t,n){n===d&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,i,r){r=r||{};var o=a.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],i||s);var l=t[s],d=a.util.type(l);"Object"!==d||r[o(l)]?"Array"!==d||r[o(l)]||(r[o(l)]=!0,e(l,n,s,r)):(r[o(l)]=!0,e(l,n,null,r))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var i={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",i);for(var r,o=i.elements||e.querySelectorAll(i.selector),s=0;r=o[s++];)a.highlightElement(r,!0===t,i.callback)},highlightElement:function(n,i,r){for(var o,s,l=n;l&&!t.test(l.className);)l=l.parentNode;l&&(o=(l.className.match(t)||[,""])[1].toLowerCase(),s=a.languages[o]),n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+o,n.parentNode&&(l=n.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+o));var d={element:n,language:o,grammar:s,code:n.textContent},c=function(e){d.highlightedCode=e,a.hooks.run("before-insert",d),d.element.innerHTML=d.highlightedCode,a.hooks.run("after-highlight",d),a.hooks.run("complete",d),r&&r.call(d.element)};if(a.hooks.run("before-sanity-check",d),d.code)if(a.hooks.run("before-highlight",d),d.grammar)if(i&&e.Worker){var p=new Worker(a.filename);p.onmessage=function(e){c(e.data)},p.postMessage(JSON.stringify({language:d.language,code:d.code,immediateClose:!0}))}else c(a.highlight(d.code,d.grammar,d.language));else c(a.util.encode(d.code));else a.hooks.run("complete",d)},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return a.hooks.run("before-tokenize",r),r.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),i.stringify(a.util.encode(r.tokens),r.language)},matchGrammar:function(e,t,n,r,o,s,l){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){if(d==l)return;var c=n[d];c="Array"===a.util.type(c)?c:[c];for(var p=0;p<c.length;++p){var u=c[p],m=u.inside,g=!!u.lookbehind,b=!!u.greedy,f=0,E=u.alias;if(b&&!u.pattern.global){var h=u.pattern.toString().match(/[imuy]*$/)[0];u.pattern=RegExp(u.pattern.source,h+"g")}u=u.pattern||u;for(var S=r,_=o;S<t.length;_+=t[S].length,++S){var y=t[S];if(t.length>e.length)return;if(!(y instanceof i)){if(b&&S!=t.length-1){if(u.lastIndex=_,!(N=u.exec(e)))break;for(var A=N.index+(g?N[1].length:0),T=N.index+N[0].length,I=S,R=_,v=t.length;I<v&&(R<T||!t[I].type&&!t[I-1].greedy);++I)(R+=t[I].length)<=A&&(++S,_=R);if(t[S]instanceof i)continue;w=I-S,y=e.slice(_,R),N.index-=_}else{u.lastIndex=0;var N=u.exec(y),w=1}if(N){g&&(f=N[1]?N[1].length:0),T=(A=N.index+f)+(N=N[0].slice(f)).length;var k=y.slice(0,A),C=y.slice(T),L=[S,w];k&&(++S,_+=k.length,L.push(k));var P=new i(d,m?a.tokenize(N,m):N,E,N,b);if(L.push(P),C&&L.push(C),Array.prototype.splice.apply(t,L),1!=w&&a.matchGrammar(e,t,n,S,_,!0,d),s)break}else if(s)break}}}}},tokenize:function(e,t){var n=[e],i=t.rest;if(i){for(var r in i)t[r]=i[r];delete t.rest}return a.matchGrammar(e,n,t,0,0,!1),n},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var i,r=0;i=n[r++];)i(t)}},Token:i};function i(e,t,n,a,i){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!i}if(e.Prism=a,i.stringify=function(e,t,n){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var r={type:e.type,content:i.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var o=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,o)}a.hooks.run("wrap",r);var s=Object.keys(r.attributes).map(function(e){return e+'="'+(r.attributes[e]||"").replace(/"/g,"&quot;")+'"'}).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(s?" "+s:"")+">"+r.content+"</"+r.tag+">"},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),i=n.language,r=n.code,o=n.immediateClose;e.postMessage(a.highlight(r,a.languages[i],i)),o&&e.close()},!1)),a;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(a.filename=r.src,a.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(a.highlightAll):window.setTimeout(a.highlightAll,16):document.addEventListener("DOMContentLoaded",a.highlightAll))),a}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s\/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp("(<__[\\s\\S]*?>)(?:<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\s*|[\\s\\S])*?(?=<\\/__>)".replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",i)}}),Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?[\s\S]*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:RegExp("url\\((?:"+t.source+"|.*?)\\)","i"),selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+)n?|\d+n|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${[^}]+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript,Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|SELECTOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/},function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";Prism.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(),Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript["class-name"].alias="function",Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}}),Prism.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/i,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/i,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|new|return|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:true|false)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:[_a-z\d])*\b/i},Prism.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/^(\s*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding|AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch|Allow|AllowCONNECT|AllowEncodedSlashes|AllowMethods|AllowOverride|AllowOverrideList|Anonymous|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail|AsyncRequestWorkerFactor|AuthBasicAuthoritative|AuthBasicFake|AuthBasicProvider|AuthBasicUseDigestAlgorithm|AuthDBDUserPWQuery|AuthDBDUserRealmQuery|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm|AuthDigestDomain|AuthDigestNonceLifetime|AuthDigestProvider|AuthDigestQop|AuthDigestShmemSize|AuthFormAuthoritative|AuthFormBody|AuthFormDisableNoStore|AuthFormFakeBasicAuth|AuthFormLocation|AuthFormLoginRequiredLocation|AuthFormLoginSuccessLocation|AuthFormLogoutLocation|AuthFormMethod|AuthFormMimetype|AuthFormPassword|AuthFormProvider|AuthFormSitePassphrase|AuthFormSize|AuthFormUsername|AuthGroupFile|AuthLDAPAuthorizePrefix|AuthLDAPBindAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareAsUser|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPInitialBindAsUser|AuthLDAPInitialBindPattern|AuthLDAPMaxSubGroupDepth|AuthLDAPRemoteUserAttribute|AuthLDAPRemoteUserIsDN|AuthLDAPSearchAsUser|AuthLDAPSubGroupAttribute|AuthLDAPSubGroupClass|AuthLDAPUrl|AuthMerging|AuthName|AuthnCacheContext|AuthnCacheEnable|AuthnCacheProvideFor|AuthnCacheSOCache|AuthnCacheTimeout|AuthnzFcgiCheckAuthnProvider|AuthnzFcgiDefineProvider|AuthType|AuthUserFile|AuthzDBDLoginToReferer|AuthzDBDQuery|AuthzDBDRedirectQuery|AuthzDBMType|AuthzSendForbiddenOnFailure|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|CacheDefaultExpire|CacheDetailHeader|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheFile|CacheHeader|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheIgnoreQueryString|CacheIgnoreURLSessionIdentifiers|CacheKeyBaseURL|CacheLastModifiedFactor|CacheLock|CacheLockMaxAge|CacheLockPath|CacheMaxExpire|CacheMaxFileSize|CacheMinExpire|CacheMinFileSize|CacheNegotiatedDocs|CacheQuickHandler|CacheReadSize|CacheReadTime|CacheRoot|CacheSocache|CacheSocacheMaxSize|CacheSocacheMaxTime|CacheSocacheMinTime|CacheSocacheReadSize|CacheSocacheReadTime|CacheStaleOnError|CacheStoreExpired|CacheStoreNoStore|CacheStorePrivate|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateInflateLimitRequestBody|DeflateInflateRatioBurst|DeflateInflateRatioLimit|DeflateMemLevel|DeflateWindowSize|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|HeartbeatAddress|HeartbeatListen|HeartbeatMaxServers|HeartbeatStorage|HeartbeatStorage|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|IndexHeadInsert|IndexIgnore|IndexIgnoreReset|IndexOptions|IndexOrderDefault|IndexStyleSheet|InputSed|ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionPoolTTL|LDAPConnectionTimeout|LDAPLibraryDebug|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPReferralHopLimit|LDAPReferrals|LDAPRetries|LDAPRetryDelay|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTimeout|LDAPTrustedClientCert|LDAPTrustedGlobalCert|LDAPTrustedMode|LDAPVerifyServerCert|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|LuaHookAccessChecker|LuaHookAuthChecker|LuaHookCheckUserID|LuaHookFixups|LuaHookInsertFilter|LuaHookLog|LuaHookMapToStorage|LuaHookTranslateName|LuaHookTypeChecker|LuaInherit|LuaInputFilter|LuaMapHandler|LuaOutputFilter|LuaPackageCPath|LuaPackagePath|LuaQuickHandler|LuaRoot|LuaScope|MaxConnectionsPerChild|MaxKeepAliveRequests|MaxMemFree|MaxRangeOverlaps|MaxRangeReversals|MaxRanges|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|ProxyAddHeaders|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyExpressDBMFile|ProxyExpressDBMType|ProxyExpressEnable|ProxyFtpDirCharset|ProxyFtpEscapeWildcards|ProxyFtpListOnWildcard|ProxyHTMLBufSize|ProxyHTMLCharsetOut|ProxyHTMLDocType|ProxyHTMLEnable|ProxyHTMLEvents|ProxyHTMLExtended|ProxyHTMLFixups|ProxyHTMLInterp|ProxyHTMLLinks|ProxyHTMLMeta|ProxyHTMLStripComments|ProxyHTMLURLMap|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassInherit|ProxyPassInterpolateEnv|ProxyPassMatch|ProxyPassReverse|ProxyPassReverseCookieDomain|ProxyPassReverseCookiePath|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxySCGIInternalRedirect|ProxySCGISendfile|ProxySet|ProxySourceAddress|ProxyStatus|ProxyTimeout|ProxyVia|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIPHeader|RemoteIPInternalProxy|RemoteIPInternalProxyList|RemoteIPProxiesHeader|RemoteIPTrustedProxy|RemoteIPTrustedProxyList|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|RewriteBase|RewriteCond|RewriteEngine|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen|SeeRequestTail|SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|Session|SessionCookieName|SessionCookieName2|SessionCookieRemove|SessionCryptoCipher|SessionCryptoDriver|SessionCryptoPassphrase|SessionCryptoPassphraseFile|SessionDBDCookieName|SessionDBDCookieName2|SessionDBDCookieRemove|SessionDBDDeleteLabel|SessionDBDInsertLabel|SessionDBDPerUser|SessionDBDSelectLabel|SessionDBDUpdateLabel|SessionEnv|SessionExclude|SessionHeader|SessionInclude|SessionMaxAge|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath|SSLCADNRequestFile|SSLCADNRequestPath|SSLCARevocationCheck|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLCompression|SSLCryptoDevice|SSLEngine|SSLFIPS|SSLHonorCipherOrder|SSLInsecureRenegotiation|SSLOCSPDefaultResponder|SSLOCSPEnable|SSLOCSPOverrideResponder|SSLOCSPResponderTimeout|SSLOCSPResponseMaxAge|SSLOCSPResponseTimeSkew|SSLOCSPUseRequestNonce|SSLOpenSSLConfCmd|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationCheck|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCheckPeerCN|SSLProxyCheckPeerExpire|SSLProxyCheckPeerName|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateChainFile|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRenegBufferSize|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLSessionTicketKeyFile|SSLSRPUnknownUserSeed|SSLSRPVerifierFile|SSLStaplingCache|SSLStaplingErrorCacheTimeout|SSLStaplingFakeTryLater|SSLStaplingForceURL|SSLStaplingResponderTimeout|SSLStaplingResponseMaxAge|SSLStaplingResponseTimeSkew|SSLStaplingReturnResponderErrors|SSLStaplingStandardCacheTimeout|SSLStrictSNIVHostCheck|SSLUserName|SSLUseStapling|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:AuthnProviderAlias|AuthzProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|RequireAll|RequireAny|RequireNone|VirtualHost)\b *.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:\w,?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/},Prism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}},Prism.languages.applescript={comment:[/\(\*(?:\(\*[\s\S]*?\*\)|[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+\.?\d*|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,class:{pattern:/\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\b/,alias:"builtin"},punctuation:/[{}():,¬«»《》]/},Prism.languages.c=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*\/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/},function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\]\\]|\\.)*\]|[^\]\\]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?!\|)(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*])?(?:[<^>](?:\.[<^>])?|\.[<^>])?[a-z]*)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} +.+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:(?:\S+)??\[(?:[^\]\\"]|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"]|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"]|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?: ['`]|.)+?(?:(?:\r?\n|\r)(?: ['`]|.)+?)*['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"]|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|TM|R)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(e){for(var t={},a=0,i=(e=e.split(" ")).length;a<i;a++)t[e[a]]=n[e[a]];return t}t.inside.interpreted.inside.rest=a("macro inline replacement entity"),n["passthrough-block"].inside.rest=a("macro"),n["literal-block"].inside.rest=a("callout"),n.table.inside.rest=a("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),n["other-block"].inside.rest=a("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),n.title.inside.rest=a("macro inline replacement entity"),e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),e.languages.adoc=e.languages.asciidoc}(Prism),Prism.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"keyword"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,opcode:{pattern:/\b(?:adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya|ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA)\b/,alias:"property"},hexnumber:{pattern:/#?\$[\da-f]{2,4}/i,alias:"string"},binarynumber:{pattern:/#?%[01]+/,alias:"string"},decimalnumber:{pattern:/#?\d+/,alias:"string"},register:{pattern:/\b[xya]\b/i,alias:"variable"}},Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(?:abstract|add|alias|as|ascending|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|descending|do|double|dynamic|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|from|get|global|goto|group|if|implicit|in|int|interface|internal|into|is|join|let|lock|long|namespace|new|null|object|operator|orderby|out|override|params|partial|private|protected|public|readonly|ref|remove|return|sbyte|sealed|select|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|value|var|virtual|void|volatile|where|while|yield)\b/,string:[{pattern:/@("|')(?:\1\1|\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*?\1/,greedy:!0}],"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=\s+\w+)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|interface|new)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)f?/i,operator:/>>=?|<<=?|[-=]>|([-+&|?])\1|~|[-+*\/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),Prism.languages.insertBefore("csharp","class-name",{"generic-method":{pattern:/\w+\s*<[^>\r\n]+?>\s*(?=\()/,inside:{function:/^\w+/,"class-name":{pattern:/\b[A-Z]\w*(?:\.\w+)*\b/,inside:{punctuation:/\./}},keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}}),Prism.languages.dotnet=Prism.languages.csharp,Prism.languages.autohotkey={comment:{pattern:/(^[^";\n]*("[^"\n]*?"[^"\n]*?)*)(?:;.*$|^\s*\/\*[\s\S]*\n\*\/)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/m,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+?(?=\()/m,tag:/^[ \t]*[^\s:]+?(?=:(?:[^:]|$))/m,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,punctuation:/[{}[\]():,]/,boolean:/\b(?:true|false)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|programfiles|a_programfiles|a_programs|a_programscommon|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|cos|dllcall|exp|fileexist|Fileopen|floor|il_add|il_create|il_destroy|instr|substr|isfunc|islabel|IsObject|ln|log|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|registercallback|regexmatch|regexreplace|round|sin|tan|sqrt|strlen|sb_seticon|sb_setparts|sb_settext|strsplit|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__New|__Call|__Get|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InstallKeybdHook|InstallMouseHook|KeyHistory|LTrim|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Region|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|TryAgain|Type|UnCheck|underline|Unicode|Unlock|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i},Prism.languages.autoit={comment:[/;.*/,{pattern:/(^\s*)#(?:comments-start|cs)[\s\S]*?^\s*#(?:comments-end|ce)/m,lookbehind:!0}],url:{pattern:/(^\s*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^\s*)#\w+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:True|False)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Or|Not)\b/i,punctuation:/[\[\]().,:]/},function(e){var t={variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[\w#?*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*\r?\n(?:[\s\S])*?\r?\n\2/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:t}],variable:t.variable,function:{pattern:/(^|[\s;|&])(?:add|alias|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|hash|head|help|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logout|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tail|tar|tee|test|time|timeout|times|top|touch|tr|traceroute|trap|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zip|zypper)(?=$|[\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&])(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|[\s;|&])/,lookbehind:!0},boolean:{pattern:/(^|[\s;|&])(?:true|false)(?=$|[\s;|&])/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var n=t.variable[1].inside;n.string=e.languages.bash.string,n.function=e.languages.bash.function,n.keyword=e.languages.bash.keyword,n.boolean=e.languages.bash.boolean,n.operator=e.languages.bash.operator,n.punctuation=e.languages.bash.punctuation,e.languages.shell=e.languages.bash}(Prism),Prism.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/},function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"[^"]*"/,i=/(?:\b|-)\d+\b/;Prism.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/^for\b|\b(?:in|do)\b/i,string:a,parameter:n,variable:t,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:"[^"]*"|\S+))/im,lookbehind:!0,inside:{keyword:/^if\b|\b(?:not|cmdextversion|defined|errorlevel|exist)\b/i,string:a,parameter:n,variable:t,number:i,operator:/\^|==|\b(?:equ|neq|lss|leq|gtr|geq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: ?\/[a-z](?:[ :](?:"[^"]*"|\S+))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^\w+\b/i,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(),Prism.languages.bison=Prism.languages.extend("c",{}),Prism.languages.insertBefore("bison","comment",{bison:{pattern:/^[\s\S]*?%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:Prism.languages.c}},comment:Prism.languages.c.comment,string:Prism.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}}),Prism.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},Prism.languages.rbnf=Prism.languages.bnf,Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/},Prism.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:TODO|FIXME|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(?:function|hook|event) \w+(?:::\w+)?/,inside:{keyword:/^(?:function|hook|event)/}},variable:{pattern:/(?:global|local) \w+/i,inside:{keyword:/(?:global|local)/}},builtin:/(?:@(?:load(?:-(?:sigs|plugin))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:redef|priority|log|optional|default|add_func|delete_func|expire_func|read_expire|write_expire|create_expire|synchronized|persistent|rotate_interval|rotate_size|encrypt|raw_output|mergeable|group|error_handler|type_column))/,constant:{pattern:/const \w+/i,inside:{keyword:/const/}},keyword:/\b(?:break|next|continue|alarm|using|of|add|delete|export|print|return|schedule|when|timeout|addr|any|bool|count|double|enum|file|int|interval|pattern|opaque|port|record|set|string|subnet|table|time|vector|for|if|else|in|module|function)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/},Prism.languages.cpp=Prism.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,boolean:/\b(?:true|false)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*\/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),Prism.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),Prism.languages.aspnet=Prism.languages.extend("markup",{"page-directive tag":{pattern:/<%\s*@.*%>/i,inside:{"page-directive tag":/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},"directive tag":{pattern:/<%.*%>/i,inside:{"directive tag":/<%\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,Prism.languages.insertBefore("inside","punctuation",{"directive tag":Prism.languages.aspnet["directive tag"]},Prism.languages.aspnet.tag.inside["attr-value"]),Prism.languages.insertBefore("aspnet","comment",{"asp comment":/<%--[\s\S]*?--%>/}),Prism.languages.insertBefore("aspnet",Prism.languages.javascript?"script":"tag",{"asp script":{pattern:/(<script(?=.*runat=['"]?server['"]?)[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}}),Prism.languages.arduino=Prism.languages.extend("cpp",{keyword:/\b(?:setup|if|else|while|do|for|return|in|instanceof|default|function|loop|goto|switch|case|new|try|throw|catch|finally|null|break|continue|boolean|bool|void|byte|word|string|String|array|int|long|integer|double)\b/,builtin:/\b(?:KeyboardController|MouseController|SoftwareSerial|EthernetServer|EthernetClient|LiquidCrystal|LiquidCrystal_I2C|RobotControl|GSMVoiceCall|EthernetUDP|EsploraTFT|HttpClient|RobotMotor|WiFiClient|GSMScanner|FileSystem|Scheduler|GSMServer|YunClient|YunServer|IPAddress|GSMClient|GSMModem|Keyboard|Ethernet|Console|GSMBand|Esplora|Stepper|Process|WiFiUDP|GSM_SMS|Mailbox|USBHost|Firmata|PImage|Client|Server|GSMPIN|FileIO|Bridge|Serial|EEPROM|Stream|Mouse|Audio|Servo|File|Task|GPRS|WiFi|Wire|TFT|GSM|SPI|SD|runShellCommandAsynchronously|analogWriteResolution|retrieveCallingNumber|printFirmwareVersion|analogReadResolution|sendDigitalPortPair|noListenOnLocalhost|readJoystickButton|setFirmwareVersion|readJoystickSwitch|scrollDisplayRight|getVoiceCallStatus|scrollDisplayLeft|writeMicroseconds|delayMicroseconds|beginTransmission|getSignalStrength|runAsynchronously|getAsynchronously|listenOnLocalhost|getCurrentCarrier|readAccelerometer|messageAvailable|sendDigitalPorts|lineFollowConfig|countryNameWrite|runShellCommand|readStringUntil|rewindDirectory|readTemperature|setClockDivider|readLightSensor|endTransmission|analogReference|detachInterrupt|countryNameRead|attachInterrupt|encryptionType|readBytesUntil|robotNameWrite|readMicrophone|robotNameRead|cityNameWrite|userNameWrite|readJoystickY|readJoystickX|mouseReleased|openNextFile|scanNetworks|noInterrupts|digitalWrite|beginSpeaker|mousePressed|isActionDone|mouseDragged|displayLogos|noAutoscroll|addParameter|remoteNumber|getModifiers|keyboardRead|userNameRead|waitContinue|processInput|parseCommand|printVersion|readNetworks|writeMessage|blinkVersion|cityNameRead|readMessage|setDataMode|parsePacket|isListening|setBitOrder|beginPacket|isDirectory|motorsWrite|drawCompass|digitalRead|clearScreen|serialEvent|rightToLeft|setTextSize|leftToRight|requestFrom|keyReleased|compassRead|analogWrite|interrupts|WiFiServer|disconnect|playMelody|parseFloat|autoscroll|getPINUsed|setPINUsed|setTimeout|sendAnalog|readSlider|analogRead|beginWrite|createChar|motorsStop|keyPressed|tempoWrite|readButton|subnetMask|debugPrint|macAddress|writeGreen|randomSeed|attachGPRS|readString|sendString|remotePort|releaseAll|mouseMoved|background|getXChange|getYChange|answerCall|getResult|voiceCall|endPacket|constrain|getSocket|writeJSON|getButton|available|connected|findUntil|readBytes|exitValue|readGreen|writeBlue|startLoop|IPAddress|isPressed|sendSysex|pauseMode|gatewayIP|setCursor|getOemKey|tuneWrite|noDisplay|loadImage|switchPIN|onRequest|onReceive|changePIN|playFile|noBuffer|parseInt|overflow|checkPIN|knobRead|beginTFT|bitClear|updateIR|bitWrite|position|writeRGB|highByte|writeRed|setSpeed|readBlue|noStroke|remoteIP|transfer|shutdown|hangCall|beginSMS|endWrite|attached|maintain|noCursor|checkReg|checkPUK|shiftOut|isValid|shiftIn|pulseIn|connect|println|localIP|pinMode|getIMEI|display|noBlink|process|getBand|running|beginSD|drawBMP|lowByte|setBand|release|bitRead|prepare|pointTo|readRed|setMode|noFill|remove|listen|stroke|detach|attach|noTone|exists|buffer|height|bitSet|circle|config|cursor|random|IRread|setDNS|endSMS|getKey|micros|millis|begin|print|write|ready|flush|width|isPIN|blink|clear|press|mkdir|rmdir|close|point|yield|image|BSSID|click|delay|read|text|move|peek|beep|rect|line|open|seek|fill|size|turn|stop|home|find|step|tone|sqrt|RSSI|SSID|end|bit|tan|cos|sin|pow|map|abs|max|min|get|run|put)\b/,constant:/\b(?:DIGITAL_MESSAGE|FIRMATA_STRING|ANALOG_MESSAGE|REPORT_DIGITAL|REPORT_ANALOG|INPUT_PULLUP|SET_PIN_MODE|INTERNAL2V56|SYSTEM_RESET|LED_BUILTIN|INTERNAL1V1|SYSEX_START|INTERNAL|EXTERNAL|DEFAULT|OUTPUT|INPUT|HIGH|LOW)\b/}),Prism.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|iant|idispatch|implements|import|initonly|instance|u?int(?:8|16|32|64)?|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|unaligned|volatile|readonly|tail|no)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.[0-9]+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.[0-9]+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|ldvirtftn|castclass|beq(?:\.s)?|mkrefany|localloc|ckfinite|rethrow|ldtoken|ldsflda|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stloc|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|clt|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:true|false)\b/,number:/\b-?(?:0x[0-9a-fA-F]+|[0-9]+)(?:\.[0-9a-fA-F]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/},function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(Prism),Prism.languages.clojure={comment:/;+.*/,string:/"(?:\\.|[^\\"\r\n])*"/,operator:/(?:::|[:|'])\b[a-z][\w*+!?-]*\b/i,keyword:{pattern:/([^\w+*'?-])(?:def|if|do|let|\.\.|quote|var|->>|->|fn|loop|recur|throw|try|monitor-enter|\.|new|set!|def\-|defn|defn\-|defmacro|defmulti|defmethod|defstruct|defonce|declare|definline|definterface|defprotocol|==|defrecord|>=|deftype|<=|defproject|ns|\*|\+|\-|\/|<|=|>|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|conj|cons|constantly|cond|if-not|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|deref|difference|disj|dissoc|distinct|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|for|fnseq|frest|gensym|get-proxy-class|get|hash-map|hash-set|identical\?|identity|if-let|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|line-seq|list\*|list|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|time|to-array|to-array-2d|tree-seq|true\?|union|up|update-proxy|val|vals|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[^\w+*'?-])/,lookbehind:!0},boolean:/\b(?:true|false|nil)\b/,number:/\b[0-9A-Fa-f]+\b/,punctuation:/[{}\[\](),]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,greedy:!0,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:t}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.csp={directive:{pattern:/\b(?:(?:base-uri|form-action|frame-ancestors|plugin-types|referrer|reflected-xss|report-to|report-uri|require-sri-for|sandbox) |(?:block-all-mixed-content|disown-opener|upgrade-insecure-requests)(?: |;)|(?:child|connect|default|font|frame|img|manifest|media|object|script|style|worker)-src )/i,alias:"keyword"},safe:{pattern:/'(?:self|none|strict-dynamic|(?:nonce-|sha(?:256|384|512)-)[a-zA-Z\d+=\/]+)'/,alias:"selector"},unsafe:{pattern:/(?:'unsafe-inline'|'unsafe-eval'|'unsafe-hashed-attributes'|\*)/,alias:"function"}},Prism.languages.css.selector={pattern:Prism.languages.css.selector,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:{pattern:/\[(?:[^[\]"']|("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1)*\]/,greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)[-*\w\xA0-\uFFFF]*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},attribute:{pattern:/^(\s*)[-\w\xA0-\uFFFF]+/,lookbehind:!0},value:[/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,{pattern:/(=\s*)[-\w\xA0-\uFFFF]+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},punctuation:/[()]/}},Prism.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*/i,lookbehind:!0}}),Prism.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,unit:{pattern:/(\d)(?:%|[a-z]+)/,lookbehind:!0},number:/-?[\d.]+/}),Prism.languages.d=Prism.languages.extend("clike",{string:[/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/,/\bq"([_a-zA-Z][_a-zA-Z\d]*)(?:\r?\n|\r)[\s\S]*?(?:\r?\n|\r)\1"/,/\bq"(.)[\s\S]*?\1"/,/'(?:\\'|\\?[^']+)'/,/(["`])(?:\\[\s\S]|(?!\1)[^\\])*\1[cwd]?/],number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]*/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]*/i,lookbehind:!0}],keyword:/\$|\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\b/,operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),Prism.languages.d.comment=[/^\s*#!.+/,{pattern:/(^|[^\\])\/\+(?:\/\+[\s\S]*?\+\/|[\s\S])*?\+\//,lookbehind:!0}].concat(Prism.languages.d.comment),Prism.languages.insertBefore("d","comment",{"token-string":{pattern:/\bq\{(?:\{[^}]*\}|[^}])*\}/,alias:"string"}}),Prism.languages.insertBefore("d","keyword",{property:/\B@\w*/}),Prism.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}}),Prism.languages.dart=Prism.languages.extend("clike",{string:[{pattern:/r?("""|''')[\s\S]*?\1/,greedy:!0},{pattern:/r?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/],operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),Prism.languages.insertBefore("dart","function",{metadata:{pattern:/@\w+/,alias:"symbol"}}),Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}},function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,i,r){if(n.language===a){var o=n.tokenStack=[];n.code=n.code.replace(i,function(e){if("function"==typeof r&&!r(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(a,s));)++s;return o[s]=e,i}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var i=0,r=Object.keys(n.tokenStack);!function o(s){for(var l=0;l<s.length&&!(i>=r.length);l++){var d=s[l];if("string"==typeof d||d.content&&"string"==typeof d.content){var c=r[i],p=n.tokenStack[c],u="string"==typeof d?d:d.content,m=t(a,c),g=u.indexOf(m);if(-1<g){++i;var b=u.substring(0,g),f=new e.Token(a,e.tokenize(p,n.grammar),"language-"+a,p),E=u.substring(g+m.length),h=[];b&&h.push.apply(h,o([b])),h.push(f),E&&h.push.apply(h,o([E])),"string"==typeof d?s.splice.apply(s,[l,1].concat(h)):d.content=h}}else d.content&&o(d.content)}return s}(n.tokens)}}}})}(Prism),Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker,Prism.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^(\s*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/[a-z]\w*(?:[ \t]+[a-z]\w*)*/i,punctuation:/\([:\/]|[:\/]\)|[.,;()[\]{}]/,operator:/[-=|*\/!]/},Prism.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%\s+%|%.|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:True|False)\b/i,"class-name":{pattern:/\b[A-Z][\dA-Z_]*\b/,alias:"builtin"},number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*|\d(?:_*\d)*\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/},function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})}(Prism),Prism.languages.elixir={comment:{pattern:/#.*/m,lookbehind:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},"attr-name":/\w+:(?!:)/,capture:{pattern:/(^|[^&])&(?:[^&\s\d()][^\s()]*|(?=\())/,lookbehind:!0,alias:"function"},argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|exception|impl|module|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|require|rescue|try|unless|use|when)\b/,boolean:/\b(?:true|false|nil)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},Prism.languages.elixir.string.forEach(function(e){e.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:Prism.languages.elixir}}}}),Prism.languages.elm={comment:/--.*|{-[\s\S]*?-}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\(?:[abfnrtv\\"]|\d+|x[0-9a-fA-F]+))*"/,greedy:!0}],import_statement:{pattern:/^\s*import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+([A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,inside:{keyword:/\b(?:import|as|exposing)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-\/*=.$<>:&|^?%#@~!]{2,}|[+\-\/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/},function(e){e.languages.erb=e.languages.extend("ruby",{}),e.languages.insertBefore("erb","comment",{delimiter:{pattern:/^<%=?|%>$/,alias:"punctuation"}}),e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s[\s\S]*?^=end)+?%>/gm)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}(Prism),Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:true|false)\b/,keyword:/\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/,number:[/\$\\?./,/\d+#[a-z0-9]+/i,/(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/},Prism.languages.fsharp=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*[\s\S]*?\*\)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?|'(?:[^\\']|\\.)'B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\b/,number:[/\b0x[\da-fA-F]+(?:un|lf|LF)?\b/,/\b0b[01]+(?:y|uy)?\b/,/(?:\b\d+\.?\d*|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|u[lsy]?|UL)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*\/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),Prism.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/^[^\r\n\S]*#.*/m,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),Prism.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),Prism.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:Prism.languages.fsharp}}}}),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Nn]umber|[Ss]tring|[Bb]oolean|Function|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:type|opaque|declare|Class)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:await|Diff|Exact|Keys|ObjMap|PropertyType|Shape|Record|Supertype|Subtype|Enum)\b(?!\$)/,lookbehind:!0})}(Prism),Prism.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:\s*!.+(?:\r\n?|\n))?|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:TRUE|FALSE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\.|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/},Prism.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/\*\d+/,alias:"punctuation"},punctuation:/:/},Prism.languages.gedcom={"line-value":{pattern:/(^\s*\d+ +(?:@\w[\w!"$%&'()*+,\-.\/:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ +).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-.\/:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^\s*\d+ +(?:@\w[\w!"$%&'()*+,\-.\/:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^\s*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-.\/:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}},Prism.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/((?:^|\r?\n|\r)[ \t]*)#.*/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[ \t]*)@\S*/,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|laH|Lastnost|Mak|Mogucnost|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|perbogh|poQbogh malja'|Potrzeba biznesowa|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram senaryo|Dyagram Senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|Examples|EXAMPLZ|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|ghantoH|Grundlage|Hannergrond|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut|lut chovnatlh|lutmey|Lýsing Atburðarásar|Lýsing Dæma|Menggariskan Senario|MISHUN|MISHUN SRSLY|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan senaryo|Plan Senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo|Senaryo deskripsyon|Senaryo Deskripsyon|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie|Situasie Uiteensetting|Skenario|Skenario konsep|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa|Swa hwaer swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo\-ho\-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:/((?:\r?\n|\r)[ \t]*\|.+\|[^\r\n]*)+/,lookbehind:!0,inside:{outline:{pattern:/<[^>]+?>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:/(?:\r?\n|\r)[ \t]*\|.+\|[^\r\n]*/,inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/((?:\r?\n|\r)[ \t]+)(?:'ach|'a|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cando|Cand|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|Dato|DEN|Den youse gotta|Dengan|De|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|Entonces|En|Epi|E|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kadar|Kada|Kad|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Majd|Maka|Manawa|Mas|Ma|Menawa|Men|Mutta|Nalikaning|Nalika|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Og|Och|Oletetaan|Onda|Ond|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|qaSDI'|Quando|Quand|Quan|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|ugeholl|Und|Un|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadani|Zadano|Zadan|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t]+)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+?>/,alias:"variable"}}},outline:{pattern:/<[^>]+?>/,alias:"variable"}},Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m},Prism.languages.glsl=Prism.languages.extend("clike",{comment:[/\/\*[\s\S]*?\*\//,/\/\/(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/],number:/(?:\b0x[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ulf]*/i,keyword:/\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\b/}),Prism.languages.insertBefore("glsl","comment",{preprocessor:{pattern:/(^[ \t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\b)?/m,lookbehind:!0,alias:"builtin"}}),Prism.languages.gamemakerlanguage=Prism.languages.gml=Prism.languages.extend("clike",{number:/(?:\b0x[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ulf]*/i,keyword:/\b(?:if|else|switch|case|default|break|for|repeat|while|do|until|continue|exit|return|globalvar|var|enum)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not|with|at|xor|not)\b/,constant:/\b(self|other|all|noone|global|local|undefined|pointer_(?:invalid|null)|action_(?:stop|restart|continue|reverse)|pi|GM_build_date|GM_version|timezone_(?:local|utc)|gamespeed_(?:fps|microseconds)|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|pre|post)|keypress|keyrelease|trigger|(?:left|right|middle|no)_button|(?:left|right|middle)_press|(?:left|right|middle)_release|mouse_(?:enter|leave|wheel_up|wheel_down)|global_(?:left|right|middle)_button|global_(?:left|right|middle)_press|global_(?:left|right|middle)_release|joystick(?:1|2)_(?:left|right|up|down|button1|button2|button3|button4|button5|button6|button7|button8)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|step_(?:normal|begin|end)|gui|gui_begin|gui_end)|vk_(?:nokey|anykey|enter|return|shift|control|alt|escape|space|backspace|tab|pause|printscreen|left|right|up|down|home|end|delete|insert|pageup|pagedown|f\d|numpad\d|divide|multiply|subtract|add|decimal|lshift|lcontrol|lalt|rshift|rcontrol|ralt)|mb_(?:any|none|left|right|middle)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|purple|red|silver|teal|white|yellow|orange)|fa_(?:left|center|right|top|middle|bottom|readonly|hidden|sysfile|volumeid|directory|archive)|pr_(?:pointlist|linelist|linestrip|trianglelist|trianglestrip|trianglefan)|bm_(?:complex|normal|add|max|subtract|zero|one|src_colour|inv_src_colour|src_color|inv_src_color|src_alpha|inv_src_alpha|dest_alpha|inv_dest_alpha|dest_colour|inv_dest_colour|dest_color|inv_dest_color|src_alpha_sat)|audio_(?:falloff_(?:none|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|exponent_distance|exponent_distance_clamped)|old_system|new_system|mono|stereo|3d)|cr_(?:default|none|arrow|cross|beam|size_nesw|size_ns|size_nwse|size_we|uparrow|hourglass|drag|appstart|handpoint|size_all)|spritespeed_framesper(?:second|gameframe)|asset_(?:object|unknown|sprite|sound|room|path|script|font|timeline|tiles|shader)|ds_type_(?:map|list|stack|queue|grid|priority)|ef_(?:explosion|ring|ellipse|firework|smoke|smokeup|star|spark|flare|cloud|rain|snow)|pt_shape_(?:pixel|disk|square|line|star|circle|ring|sphere|flare|spark|explosion|cloud|smoke|snow)|ps_(?:distr|shape)_(?:linear|gaussian|invgaussian|rectangle|ellipse|diamond|line)|ty_(?:real|string)|dll_(?:cdel|cdecl|stdcall)|matrix_(?:view|projection|world)|os_(?:win32|windows|macosx|ios|android|linux|unknown|winphone|win8native|psvita|ps4|xboxone|ps3|uwp)|browser_(?:not_a_browser|unknown|ie|firefox|chrome|safari|safari_mobile|opera|tizen|windows_store|ie_mobile)|device_ios_(?:unknown|iphone|iphone_retina|ipad|ipad_retina|iphone5|iphone6|iphone6plus)|device_(?:emulator|tablet)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|of_challenge_(?:win|lose|tie)|leaderboard_type_(?:number|time_mins_secs)|cmpfunc_(?:never|less|equal|lessequal|greater|notequal|greaterequal|always)|cull_(?:noculling|clockwise|counterclockwise)|lighttype_(?:dir|point)|iap_(?:ev_storeload|ev_product|ev_purchase|ev_consume|ev_restore|storeload_ok|storeload_failed|status_uninitialised|status_unavailable|status_loading|status_available|status_processing|status_restoring|failed|unavailable|available|purchased|canceled|refunded)|fb_login_(?:default|fallback_to_webview|no_fallback_to_webview|forcing_webview|use_system_account|forcing_safari)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|reaction_force_x|reaction_force_y|reaction_torque|motor_speed|angle|motor_torque|max_motor_torque|translation|speed|motor_force|max_motor_force|length_1|length_2|damping_ratio|frequency|lower_angle_limit|upper_angle_limit|angle_limits|max_length|max_torque|max_force)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_particle_flag_(?:water|zombie|wall|spring|elastic|viscous|powder|tensile|colourmixing|colormixing)|phy_particle_group_flag_(?:solid|rigid)|phy_particle_data_flag_(?:typeflags|position|velocity|colour|color|category)|achievement_(?:our_info|friends_info|leaderboard_info|info|filter_(?:all_players|friends_only|favorites_only)|type_challenge|type_score_challenge|pic_loaded|show_(?:ui|profile|leaderboard|achievement|bank|friend_picker|purchase_prompt))|network_(?:socket_(?:tcp|udp|bluetooth)|type_(?:connect|disconnect|data|non_blocking_connect)|config_(?:connect_timeout|use_non_blocking_socket|enable_reliable_udp|disable_reliable_udp))|buffer_(?:fixed|grow|wrap|fast|vbuffer|network|u8|s8|u16|s16|u32|s32|u64|f16|f32|f64|bool|text|string|seek_start|seek_relative|seek_end|generalerror|outofspace|outofbounds|invalidtype)|gp_(?:face\d|shoulderl|shoulderr|shoulderlb|shoulderrb|select|start|stickl|stickr|padu|padd|padl|padr|axislh|axislv|axisrh|axisrv)|ov_(?:friends|community|players|settings|gamegroup|achievements)|lb_sort_(?:none|ascending|descending)|lb_disp_(?:none|numeric|time_sec|time_ms)|ugc_(?:result_success|filetype_(?:community|microtrans)|visibility_(?:public|friends_only|private)|query_RankedBy(?:Vote|PublicationDate|Trend|NumTimesReported|TotalVotesAsc|VotesUp|TextSearch)|query_(?:AcceptedForGameRankedByAcceptanceDate|FavoritedByFriendsRankedByPublicationDate|CreatedByFriendsRankedByPublicationDate|NotYetRated)|sortorder_CreationOrder(?:Desc|Asc)|sortorder_(?:TitleAsc|LastUpdatedDesc|SubscriptionDateDesc|VoteScoreDesc|ForModeration)|list_(?:Published|VotedOn|VotedUp|VotedDown|WillVoteLater|Favorited|Subscribed|UsedOrPlayed|Followed)|match_(?:Items|Items_Mtx|Items_ReadyToUse|Collections|Artwork|Videos|Screenshots|AllGuides|WebGuides|IntegratedGuides|UsableInGame|ControllerBindings))|vertex_usage_(?:position|colour|color|normal|texcoord|textcoord|blendweight|blendindices|psize|tangent|binormal|fog|depth|sample)|vertex_type_(?:float\d|colour|color|ubyte4)|layerelementtype_(?:undefined|background|instance|oldtilemap|sprite|tilemap|particlesystem|tile)|tile_(?:rotate|flip|mirror|index_mask)|input_type|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|(obj|scr|spr|rm)\w+)\b/,variable:/\b(x|y|(?:x|y)(?:previous|start)|(?:h|v)speed|direction|speed|friction|gravity|gravity_direction|path_(?:index|position|positionprevious|speed|scale|orientation|endaction)|object_index|id|solid|persistent|mask_index|instance_(?:count|id)|alarm|timeline_(?:index|position|speed|running|loop)|visible|sprite_(?:index|width|height|xoffset|yoffset)|image_(?:number|index|speed|depth|xscale|yscale|angle|alpha|blend)|bbox_(?:left|right|top|bottom)|layer|phy_(?:rotation|(?:position|linear_velocity|speed|com|collision|col_normal)_(?:x|y)|angular_(?:velocity|damping)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|working_directory|webgl_enabled|view_(?:(?:y|x|w|h)view|(?:y|x|w|h)port|(?:v|h)(?:speed|border)|visible|surface_id|object|enabled|current|angle)|undefined|transition_(?:steps|kind|color)|temp_directory|show_(?:score|lives|health)|secure_mode|score|room_(?:width|speed|persistent|last|height|first|caption)|room|pointer_(?:null|invalid)|os_(?:version|type|device|browser)|mouse_(?:y|x|lastbutton|button)|lives|keyboard_(?:string|lastkey|lastchar|key)|iap_data|health|gamemaker_(?:version|registered|pro)|game_(?:save|project|display)_(?:id|name)|fps_real|fps|event_(?:type|object|number|action)|error_(?:occurred|last)|display_aa|delta_time|debug_mode|cursor_sprite|current_(?:year|weekday|time|second|month|minute|hour|day)|caption_(?:score|lives|health)|browser_(?:width|height)|background_(?:yscale|y|xscale|x|width|vtiled|vspeed|visible|showcolour|showcolor|index|htiled|hspeed|height|foreground|colour|color|blend|alpha)|async_load|application_surface|argument(?:_relitive|_count|\d)|argument|global|local|self|other)\b/}),Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i,string:{pattern:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete Prism.languages.go["class-name"],Prism.languages.graphql={comment:/#.*/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:true|false)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+)[a-zA-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:enum|fragment|implements|input|interface|mutation|on|query|scalar|schema|type|union)\b/,operator:/[!=|]|\.{3}/,punctuation:/[!(){}\[\]:=,]/,constant:/\b(?!ID\b)[A-Z][A-Z_\d]*\b/},Prism.languages.groovy=Prism.languages.extend("clike",{keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,string:[{pattern:/("""|''')[\s\S]*?\1|(?:\$\/)(?:\$\/\$|[\s\S])*?\/\$/,greedy:!0},{pattern:/(["'\/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?[\d]+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.{1,2}(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0}}),Prism.hooks.add("wrap",function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}}),Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:true|false)\b/,block:{pattern:/^(\s*~?\s*)[#\/]\S+?(?=\s*~?\s*$|\s)/i,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})}(Prism),Prism.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--[^-!#$%*+=?&@|~.:<>^\\\/].*|{-[\s\S]*?-})/m,lookbehind:!0},char:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,string:{pattern:/"(?:[^\\"]|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\s+\\)*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,import_statement:{pattern:/((?:\r?\n|\r|^)\s*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][_a-zA-Z0-9']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:import|qualified|as|hiding)\b/}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][\w']*\.)*[_a-z][\w']*`/,hvariable:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*\b/,constant:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*\b/,punctuation:/[{}[\];(),.:]/},Prism.languages.haxe=Prism.languages.extend("clike",{string:{pattern:/(["'])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^}]+\})/,lookbehind:!0,inside:{interpolation:{pattern:/^\$\w*/,alias:"variable"}}}}},keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\.)\b/,operator:/\.{3}|\+\+?|-[->]?|[=!]=?|&&?|\|\|?|<[<=]?|>[>=]?|[*\/%~^]/}),Prism.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[igmsu]*/,greedy:!0}}),Prism.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#\w+/,alias:"builtin"},metadata:{pattern:/@:?\w+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"variable"}}),Prism.languages.haxe.string.inside.interpolation.inside.rest=Prism.languages.haxe,delete Prism.languages.haxe["class-name"],Prism.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+)[\s\S]*?^\s*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:resource|data)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:provider|provisioner|variable|output|module|backend)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?={)/i,inside:{type:{pattern:/(provider|provisioner|variable|output|module|backend)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},{pattern:/[\w-]+(?=\s+{)/}],property:[/[\w-\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:terraform|var|self|count|module|path|data|local)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:terraform|var|self|count|module|path|data|local)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+|\d+\.?\d*(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+|\d+\.?\d*(?:e[+-]?\d+)?/i,boolean:/\b(?:true|false)\b/i,punctuation:/[=\[\]{}]/},function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d+.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d+.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,n,a,i=e.languages,r={"application/javascript":i.javascript,"application/json":i.json||i.javascript,"application/xml":i.xml,"text/xml":i.xml,"text/html":i.html,"text/css":i.css},o={"application/json":!0,"application/xml":!0};for(var s in r)if(r[s]){t=t||{};var l=o[s]?(a=(n=s).replace(/^[a-z]+\//,""),"(?:"+n+"|\\w+/(?:[\\w.-]+\\+)+"+a+"(?![+\\w.-]))"):s;t[s]={pattern:RegExp("(content-type:\\s*"+l+"[\\s\\S]*?)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:{rest:r[s]}}}t&&e.languages.insertBefore("http","header-name",t)}(Prism),Prism.languages.hpkp={directive:{pattern:/\b(?:(?:includeSubDomains|preload|strict)(?: |;)|pin-sha256="[a-zA-Z\d+=\/]+"|(?:max-age|report-uri)=|report-to )/,alias:"keyword"},safe:{pattern:/\d{7,}/,alias:"selector"},unsafe:{pattern:/\d{1,6}/,alias:"function"}},Prism.languages.hsts={directive:{pattern:/\b(?:max-age=|includeSubDomains|preload)/,alias:"keyword"},safe:{pattern:/\d{8,}/,alias:"selector"},unsafe:{pattern:/\d{1,7}/,alias:"function"}},Prism.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GSB|GOTO|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|RIGHT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@[^\s]+)/i,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/},Prism.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/},Prism.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:volume|book|part(?! of)|chapter|section|table)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?\w*|\b(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:applying to|are|attacking|answering|asking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:s|ing)?|consulting|contain(?:s|ing)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:ve|s|ving)|hold(?:s|ing)?|impl(?:y|ies)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:s|ing)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:s|ing)?|setting|showing|singing|sleeping|smelling|squeezing|switching|support(?:s|ing)?|swearing|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:s|ing)?|var(?:y|ies|ying)|waiting|waking|waving|wear(?:s|ing)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|unless|the story)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: on| off)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:y|ies)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},Prism.languages.inform7.string.inside.substitution.inside.rest=Prism.languages.inform7,Prism.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"},Prism.languages.ini={comment:/^[ \t]*[;#].*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}},Prism.languages.io={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getSlot|getEnvironmentVariable|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|call|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Regex|SGML|SGMLElement|SGMLParser|SQLite|Server|Sequence|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink|Random|BigNum|Sequence)\b/,boolean:/\b(?:true|false|nil)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*\/%+-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|(\b(?:return|and|or|not)\b)|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/},Prism.languages.j={comment:/\bNB\..*/,string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:[ejpx]|ad|ar)_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/},function(e){var t=/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|var|null|exports|module|open|opens|provides|requires|to|transitive|uses|with)\b/,n=/\b[A-Z](?:\w*[a-z]\w*)?\b/;e.languages.java=e.languages.extend("clike",{"class-name":[n,/\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])\2|[?:~]|[-+*\/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),Prism.languages.scala=Prism.languages.extend("java",{keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],builtin:/\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/,number:/\b0x[\da-f]*\.?[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e\d+)?[dfl]?/i,symbol:/'[^\d\s\\]\w*/}),delete Prism.languages.scala["class-name"],delete Prism.languages.scala.function,function(e){e.languages.php=e.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),e.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),e.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),e.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),e.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var t={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/,lookbehind:!0,inside:{rest:e.languages.php}};e.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:t}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:t}}}),delete e.languages.php.string,e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'\/#]|\/(?![*\/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(Prism),Prism.languages.javastacktrace={summary:{pattern:/^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m,inside:{keyword:{pattern:/^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+(?=$|:)/,namespace:/[a-z]\w*/,punctuation:/[.:]/}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/[:]/}},"stack-frame":{pattern:/^[\t ]*at [\w$.]+(?:<init>)?\([^()]*\)/m,inside:{keyword:{pattern:/^(\s*)at/,lookbehind:!0},source:[{pattern:/(\()\w+.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\d+/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Unknown Source|Native Method)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,namespace:/[a-z]\w*/,punctuation:/[.()]/}},more:{pattern:/^[\t ]*\.{3} \d+ [a-z]+(?: [a-z]+)*/m,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}},Prism.languages.jolie=Prism.languages.extend("clike",{keyword:/\b(?:include|define|is_defined|undef|main|init|outputPort|inputPort|Location|Protocol|Interfaces|RequestResponse|OneWay|type|interface|extender|throws|cset|csets|forward|Aggregates|Redirects|embedded|courier|execution|sequential|concurrent|single|scope|install|throw|comp|cH|default|global|linkIn|linkOut|synchronized|this|new|for|if|else|while|in|Jolie|Java|Javascript|nullProcess|spawn|constants|with|provide|until|exit|foreach|instanceof|over|service)\b/,builtin:/\b(?:undefined|string|int|void|long|Byte|bool|double|float|char|any)\b/,number:/(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[:?\/%^]/,symbol:/[|;@]/,punctuation:/[,.]/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0}}),delete Prism.languages.jolie["class-name"],Prism.languages.insertBefore("jolie","keyword",{function:{pattern:/((?:\b(?:outputPort|inputPort|in|service|courier)\b|@)\s*)\w+/,lookbehind:!0},aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{withExtension:{pattern:/\bwith\s+\w+/,inside:{keyword:/\bwith\b/}},function:{pattern:/\w+/},punctuation:{pattern:/,/}}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:{pattern:/,/},function:{pattern:/\w+/},symbol:{pattern:/=>/}}}}),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var a="doc-comment",i=e.languages[t];if(i){var r=i[a];if(!r){r=(i=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^\/][\s\S]*?(?:\*\/|$)/,alias:"comment"}}))[a]}if(r instanceof RegExp&&(r=i[a]={pattern:r}),Array.isArray(r))for(var o=0,s=r.length;o<s;o++)r[o]instanceof RegExp&&(r[o]={pattern:r[o]}),n(r[o]);else n(r)}}(t,function(e){e.inside||(e.inside={}),e.inside.rest=n})})}}),t.addSupport(["java","javascript","php"],t)}(Prism),Prism.languages.n4js=Prism.languages.extend("javascript",{keyword:/\b(?:any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Prism.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),Prism.languages.n4jsd=Prism.languages.n4js,Prism.languages.json={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.jsonp=Prism.languages.extend("json",{punctuation:/[{}[\]();,.]/}),Prism.languages.insertBefore("jsonp","punctuation",{function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/}),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?(?:NaN|Infinity|0x[a-fA-F\d]+|(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?)/})}(Prism),Prism.languages.julia={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2/,keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|let|local|macro|module|print|println|quote|return|try|type|typealias|using|while)\b/,boolean:/\b(?:true|false)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+\.?\d*|\.\d+)(?:[efp][+-]?\d+)?j?/i,operator:/[-+*^%÷&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥]/,punctuation:/[{}[\];(),.:]/},Prism.languages.keyman={comment:/\bc\s.*/i,function:/\[\s*(?:(?:CTRL|SHIFT|ALT|LCTRL|RCTRL|LALT|RALT|CAPS|NCAPS)\s+)*(?:[TKU]_[\w?]+|".+?"|'.+?')\s*\]/i,string:/("|').*?\1/,bold:[/&(?:baselayout|bitmap|capsononly|capsalwaysoff|shiftfreescaps|copyright|ethnologuecode|hotkey|includecodes|keyboardversion|kmw_embedcss|kmw_embedjs|kmw_helpfile|kmw_helptext|kmw_rtl|language|layer|layoutfile|message|mnemoniclayout|name|oldcharposmatching|platform|targets|version|visualkeyboard|windowslanguages)\b/i,/\b(?:bitmap|bitmaps|caps on only|caps always off|shift frees caps|copyright|hotkey|language|layout|message|name|version)\b/i],keyword:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|return|reset|save|set|store|use)\b/i,atrule:/\b(?:ansi|begin|unicode|group|using keys|match|nomatch)\b/i,number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\,()]/,tag:/\$(?:keyman|kmfl|weaver|keymanweb|keymanonly):/i},function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[/\w+(?=\s*\()/,{pattern:/(\.)\w+(?=\s*\{)/,lookbehind:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],e.languages.insertBefore("kotlin","string",{"raw-string":{pattern:/("""|''')[\s\S]*?\1/,alias:"string"}}),e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\w+@|@\w+/,alias:"symbol"}});var t=[{pattern:/\$\{[^}]+\}/,inside:{delimiter:{pattern:/^\$\{|\}$/,alias:"variable"},rest:e.languages.kotlin}},{pattern:/\$\w+/,alias:"variable"}];e.languages.kotlin.string.inside=e.languages.kotlin["raw-string"].inside={interpolation:t}}(Prism),function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};Prism.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\begin\{((?:verbatim|lstlisting)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$(?:\\[\s\S]|[^\\$])*\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/}}(),Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},code:[{pattern:/^(?: {4}|\t).+/m,alias:"keyword"},{pattern:/``.+?``|`[^`\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\r?\n|\r))[\s\S]+?(?=(?:\r?\n|\r)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\r?\n|\r)(?:==+|--+)/,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:/(^|[^\\])(\*\*|__)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,greedy:!0,inside:{punctuation:/^\*\*|^__|\*\*$|__$/}},italic:{pattern:/(^|[^\\])([*_])(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,greedy:!0,inside:{punctuation:/^[*_]|[*_]$/}},strike:{pattern:/(^|[^\\])(~~?)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,greedy:!0,inside:{punctuation:/^~~?|~~?$/}},url:{pattern:/!?\[[^\]]+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[[^\]\n]*\])/,inside:{variable:{pattern:/(!?\[)[^\]]+(?=\]$)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),["bold","italic","strike"].forEach(function(e){["url","bold","italic","strike"].forEach(function(t){e!==t&&(Prism.languages.markdown[e].inside[t]=Prism.languages.markdown[t])})}),Prism.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n<a;n++){var i=t[n];if("code"===i.type){var r=i.content[1],o=i.content[3];if(r&&o&&"code-language"===r.type&&"code-block"===o.type&&"string"==typeof r.content){var s="language-"+r.content.trim().split(/\s+/)[0].toLowerCase();o.alias?"string"==typeof o.alias?o.alias=[o.alias,s]:o.alias.push(s):o.alias=[s]}}else e(i.content)}}(e.tokens)}),Prism.hooks.add("wrap",function(e){if("code-block"===e.type){for(var t="",n=0,a=e.classes.length;n<a;n++){var i=e.classes[n],r=/language-(.+)/.exec(i);if(r){t=r[1];break}}var o=Prism.languages[t];if(o){var s=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&");e.content=Prism.highlight(s,o,t)}}}),Prism.languages.md=Prism.languages.markdown,Prism.languages.liquid={keyword:/\b(?:comment|endcomment|if|elsif|else|endif|unless|endunless|for|endfor|case|endcase|when|in|break|assign|continue|limit|offset|range|reversed|raw|endraw|capture|endcapture|tablerow|endtablerow)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp-]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?[df]?/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0},function:{pattern:/(^|[\s;|&])(?:append|prepend|capitalize|cycle|cols|increment|decrement|abs|at_least|at_most|ceil|compact|concat|date|default|divided_by|downcase|escape|escape_once|first|floor|join|last|lstrip|map|minus|modulo|newline_to_br|plus|remove|remove_first|replace|replace_first|reverse|round|rstrip|size|slice|sort|sort_natural|split|strip|strip_html|strip_newlines|times|truncate|truncatewords|uniq|upcase|url_decode|url_encode|include|paginate)(?=$|[\s;|&])/,lookbehind:!0}},function(e){function t(e){return RegExp("(\\()"+e+"(?=[\\s\\)])")}function n(e){return RegExp("([\\s([])"+e+"(?=[\\s)])")}var a="[-+*/_~!@$%^=<>{}\\w]+",i="(\\()",r="(?=\\))",o="(?=\\s)",s={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:(?:lexical-)?let\\*?|(?:cl-)?letf|if|when|while|unless|cons|cl-loop|and|or|not|cond|setq|error|message|null|require|provide|use-package)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:for|do|collect|return|finally|append|concat|in|by)"+o),lookbehind:!0}],declare:{pattern:t("declare"),lookbehind:!0,alias:"keyword"},interactive:{pattern:t("interactive"),lookbehind:!0,alias:"keyword"},boolean:{pattern:n("(?:t|nil)"),lookbehind:!0},number:{pattern:n("[-+]?\\d+(?:\\.\\d*)?"),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:var|const|custom|group)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(i+"(?:cl-)?(?:defun\\*?|defmacro)\\s+"+a+"\\s+\\([\\s\\S]*?\\)"),lookbehind:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\((?:&?"+a+"\\s*)*\\)"),lookbehind:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+a),lookbehind:!0},punctuation:[/(['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},l={"lisp-marker":RegExp("&[-+*/_~!@$%^=<>{}\\w]+"),rest:{argument:{pattern:RegExp(a),alias:"variable"},varform:{pattern:RegExp(i+a+"\\s+\\S[\\s\\S]*"+r),lookbehind:!0,inside:{string:s.string,boolean:s.boolean,number:s.number,symbol:s.symbol,punctuation:/[()]/}}}},d="\\S+(?:\\s+\\S+)*",c={pattern:RegExp(i+"[\\s\\S]*"+r),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:rest|body)\\s+"+d),inside:l},"other-marker-vars":{pattern:RegExp("&(?:optional|aux)\\s+"+d),inside:l},keys:{pattern:RegExp("&key\\s+"+d+"(?:\\s+&allow-other-keys)?"),inside:l},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};s.lambda.inside.arguments=c,s.defun.inside.arguments=e.util.clone(c),s.defun.inside.arguments.inside.sublist=c,e.languages.lisp=s,e.languages.elisp=s,e.languages.emacs=s,e.languages["emacs-lisp"]=s}(Prism),Prism.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(\[.+?]|\\.|(?!\/\/)[^\\])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?:nt| not)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},Prism.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=Prism.languages.livescript,Prism.languages.lolcode={comment:[/\bOBTW\s+[\s\S]*?\s+TLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^"])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+\.?\d*|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:YARN|NUMBR|NUMBAR|TROOF|BUKKIT|NOOB)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:I IZ|HOW IZ I|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:O HAI IM|KTHX|HAI|KTHXBYE|I HAS A|ITZ(?: A)?|R|AN|MKAY|SMOOSH|MAEK|IS NOW(?: A)?|VISIBLE|GIMMEH|O RLY\?|YA RLY|NO WAI|OIC|MEBBE|WTF\?|OMG|OMGWTF|GTFO|IM IN YR|IM OUTTA YR|FOUND YR|YR|TIL|WILE|UPPIN|NERFIN|I IZ|HOW IZ I|IF U SAY SO|SRS|HAS A|LIEK(?: A)?|IZ)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:WIN|FAIL)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:SUM|DIFF|PRODUKT|QUOSHUNT|MOD|BIGGR|SMALLR|BOTH|EITHER|WON|ALL|ANY) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/},Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:abstract|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|rescue|return|require|select|self|sizeof|struct|super|then|type|typeof|uninitialized|union|unless|until|when|while|with|yield|__DIR__|__END_LINE__|__FILE__|__LINE__)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/}),e.languages.insertBefore("crystal","string",{attribute:{pattern:/@\[.+?\]/,alias:"attr-name",inside:{delimiter:{pattern:/^@\[|\]$/,alias:"tag"},rest:e.languages.crystal}},expansion:[{pattern:/\{\{.+?\}\}/,inside:{delimiter:{pattern:/^\{\{|\}\}$/,alias:"tag"},rest:e.languages.crystal}},{pattern:/\{%.+?%\}/,inside:{delimiter:{pattern:/^\{%|%\}$/,alias:"tag"},rest:e.languages.crystal}}]})}(Prism),function(e){e.languages.django={comment:/^{#[\s\S]*?#}$/,tag:{pattern:/(^{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^{[{%][+-]?|[+-]?[}%]}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+*\/%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Tt]rue|[Ff]alse|[Nn]one/,variable:/\b\w+?\b/,punctuation:/[{}[\](),.:;]/};var t=/{{[\s\S]*?}}|{%[\s\S]*?%}|{#[\s\S]*?#}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}(Prism),Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/},Prism.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+\.?\d*|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\w+(?=\()|\b(?:about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},Prism.languages.mel.code.inside.rest=Prism.languages.mel,Prism.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|equals|end|environ|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:y|ies)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/},Prism.languages.monkey={string:/"[^"\r\n]*"/,comment:[{pattern:/^#Rem\s+[\s\S]*?^#End/im,greedy:!0},{pattern:/'.+/,greedy:!0}],preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,alias:"comment"},function:/\w+(?=\()/,"type-char":{pattern:/(\w)[?%#$]/,lookbehind:!0,alias:"variable"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Void|Strict|Public|Private|Property|Bool|Int|Float|String|Array|Object|Continue|Exit|Import|Extern|New|Self|Super|Try|Catch|Eachin|True|False|Extends|Abstract|Final|Select|Case|Default|Const|Local|Global|Field|Method|Function|Class|End|If|Then|Else|ElseIf|EndIf|While|Wend|Repeat|Until|Forever|For|To|Step|Next|Return|Module|Interface|Implements|Inline|Throw|Null)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/},Prism.languages.n1ql={comment:/\/\*[\s\S]*?(?:$|\*\/)/,parameter:/\$[\w.]+/,string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},function:/\b(?:ABS|ACOS|ARRAY_AGG|ARRAY_APPEND|ARRAY_AVG|ARRAY_CONCAT|ARRAY_CONTAINS|ARRAY_COUNT|ARRAY_DISTINCT|ARRAY_FLATTEN|ARRAY_IFNULL|ARRAY_INSERT|ARRAY_INTERSECT|ARRAY_LENGTH|ARRAY_MAX|ARRAY_MIN|ARRAY_POSITION|ARRAY_PREPEND|ARRAY_PUT|ARRAY_RANGE|ARRAY_REMOVE|ARRAY_REPEAT|ARRAY_REPLACE|ARRAY_REVERSE|ARRAY_SORT|ARRAY_STAR|ARRAY_SUM|ARRAY_SYMDIFF|ARRAY_SYMDIFFN|ARRAY_UNION|ASIN|ATAN|ATAN2|AVG|BASE64|BASE64_DECODE|BASE64_ENCODE|BITAND|BITCLEAR|BITNOT|BITOR|BITSET|BITSHIFT|BITTEST|BITXOR|CEIL|CLOCK_LOCAL|CLOCK_MILLIS|CLOCK_STR|CLOCK_TZ|CLOCK_UTC|CONTAINS|CONTAINS_TOKEN|CONTAINS_TOKEN_LIKE|CONTAINS_TOKEN_REGEXP|COS|COUNT|CURL|DATE_ADD_MILLIS|DATE_ADD_STR|DATE_DIFF_MILLIS|DATE_DIFF_STR|DATE_FORMAT_STR|DATE_PART_MILLIS|DATE_PART_STR|DATE_RANGE_MILLIS|DATE_RANGE_STR|DATE_TRUNC_MILLIS|DATE_TRUNC_STR|DECODE_JSON|DEGREES|DURATION_TO_STR|E|ENCODED_SIZE|ENCODE_JSON|EXP|FLOOR|GREATEST|HAS_TOKEN|IFINF|IFMISSING|IFMISSINGORNULL|IFNAN|IFNANORINF|IFNULL|INITCAP|ISARRAY|ISATOM|ISBOOLEAN|ISNUMBER|ISOBJECT|ISSTRING|IsBitSET|LEAST|LENGTH|LN|LOG|LOWER|LTRIM|MAX|META|MILLIS|MILLIS_TO_LOCAL|MILLIS_TO_STR|MILLIS_TO_TZ|MILLIS_TO_UTC|MILLIS_TO_ZONE_NAME|MIN|MISSINGIF|NANIF|NEGINFIF|NOW_LOCAL|NOW_MILLIS|NOW_STR|NOW_TZ|NOW_UTC|NULLIF|OBJECT_ADD|OBJECT_CONCAT|OBJECT_INNER_PAIRS|OBJECT_INNER_VALUES|OBJECT_LENGTH|OBJECT_NAMES|OBJECT_PAIRS|OBJECT_PUT|OBJECT_REMOVE|OBJECT_RENAME|OBJECT_REPLACE|OBJECT_UNWRAP|OBJECT_VALUES|PAIRS|PI|POLY_LENGTH|POSINFIF|POSITION|POWER|RADIANS|RANDOM|REGEXP_CONTAINS|REGEXP_LIKE|REGEXP_POSITION|REGEXP_REPLACE|REPEAT|REPLACE|REVERSE|ROUND|RTRIM|SIGN|SIN|SPLIT|SQRT|STR_TO_DURATION|STR_TO_MILLIS|STR_TO_TZ|STR_TO_UTC|STR_TO_ZONE_NAME|SUBSTR|SUFFIXES|SUM|TAN|TITLE|TOARRAY|TOATOM|TOBOOLEAN|TOKENS|TOKENS|TONUMBER|TOOBJECT|TOSTRING|TRIM|TRUNC|TYPE|UPPER|WEEKDAY_MILLIS|WEEKDAY_STR)(?=\s*\()/i,keyword:/\b(?:ALL|ALTER|ANALYZE|AS|ASC|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|CONNECT|CONTINUE|CORRELATE|COVER|CREATE|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FLATTEN|FOR|FORCE|FROM|FUNCTION|GRANT|GROUP|GSI|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LAST|LEFT|LET|LETTING|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NULL|NUMBER|OBJECT|OFFSET|ON|OPTION|ORDER|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROCEDURE|PUBLIC|RAW|REALM|REDUCE|RENAME|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|SATISFIES|SCHEMA|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TO|TRANSACTION|TRIGGER|TRUNCATE|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WITH|WORK|XOR)\b/i,boolean:/\b(?:TRUE|FALSE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/},Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),Prism.languages.ts=Prism.languages.typescript,Prism.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:CHIP|IN|OUT|PARTS|BUILTIN|CLOCKED)\b/,boolean:/\b(?:true|false)\b/,function:/[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/},Prism.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-zA-Z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|FLOAT|DEFAULT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|sp|si|di)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx][\da-f]*\.?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|\d*\.?\d+(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/},Prism.languages.nginx=Prism.languages.extend("clike",{comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},keyword:/\b(?:CONTENT_|DOCUMENT_|GATEWAY_|HTTP_|HTTPS|if_not_empty|PATH_|QUERY_|REDIRECT_|REMOTE_|REQUEST_|SCGI|SCRIPT_|SERVER_|http|events|accept_mutex|accept_mutex_delay|access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth|auth_basic|auth_basic_user_file|auth_http|auth_http_header|auth_http_timeout|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|debug_connection|debug_points|default_type|deny|devpoll_changes|devpoll_events|directio|directio_alignment|disable_symlinks|empty_gif|env|epoll_events|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_purge|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|google_perftools_profiles|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|imap_capabilities|imap_client_buffer|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|kqueue_changes|kqueue_events|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|lock_file|log_format|log_format_combined|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|multi_accept|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|pop3_auth|pop3_capabilities|port_in_redirect|post_action|postpone_output|protocol|proxy|proxy_buffer|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_error_message|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_timeout|proxy_upstream_fail_timeout|proxy_upstream_max_fails|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|rtsig_signo|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|smtp_auth|smtp_capabilities|so_keepalive|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssi_value_length|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|starttls|stub_status|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timeout|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|use|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_connections|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory|xclient|xml_entities|xslt_entities|xslt_stylesheet|xslt_types|ssl_session_tickets|ssl_stapling|ssl_stapling_verify|ssl_ecdh_curve|ssl_trusted_certificate|more_set_headers|ssl_early_data)\b/i}),Prism.languages.insertBefore("nginx","keyword",{variable:/\$[a-z_]+/i}),Prism.languages.nim={comment:/#.*/,string:{pattern:/(?:(?:\b(?!\d)(?:\w|\\x[8-9a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")|'(?:\\(?:\d+|x[\da-fA-F]{2}|.)|[^'])')/,greedy:!0},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,function:{pattern:/(?:(?!\d)(?:\w|\\x[8-9a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,inside:{operator:/\*$/}},ignore:{pattern:/`[^`\r\n]+`/,inside:{punctuation:/`/}},operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/},Prism.languages.nix={comment:/\/\*[\s\S]*?\*\/|#.*/,string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^}]|\{[^}]*\})*}/,lookbehind:!0,inside:{antiquotation:{pattern:/^\$(?=\{)/,alias:"variable"}}}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"variable"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:url|Tarball)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:true|false)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},Prism.languages.nix.string.inside.interpolation.inside.rest=Prism.languages.nix,Prism.languages.nsis={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^\s*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|Banner|BG(?:Font|Gradient|Image)|BrandingText|BringToFront|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|WriteUTF16LE|Seek|Write|WriteByte|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DlgItem|DLLVersion(?:Local)?|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|Name|Nop|ns(?:Dialogs|Exec)|NSISdl|OutFile|Page(?:Callbacks)?|PE(?:DllCharacteristics|SubsysVer)|Pop|Push|Quit|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Unicode|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UninstPage|UnRegDLL|UserInfo|Var|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle)\b/m,lookbehind:!0},property:/\b(?:admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user|ARCHIVE|FILE_(ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK((CR|CU|LM)(32|64)?|DD|PD|U)|HKEY_(CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)\b/,constant:/\${[\w\.:\^-]+}|\$\([\w\.:\^-]+\)/i,variable:/\$\w+/i,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^\s*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}},Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/\b(?:asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.ocaml={comment:/\(\*[\s\S]*?\*\)/,string:[{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},{pattern:/(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i,greedy:!0}],number:/\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*\.?[\d_]*(?:e[+-]?[\d_]+)?)/i,type:{pattern:/\B['`]\w*/,alias:"variable"},directive:{pattern:/\B#\w+/,alias:"function"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\b/,boolean:/\b(?:false|true)\b/,operator:/:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\b/,punctuation:/[(){}\[\]|_.,:;]/},function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:__attribute__|(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|auto|break|case|cl_(?:image_format|mem_fence_flags)|clk_event_t|complex|const|continue|default|do|(?:float|double)(?:16(?:x(?:1|16|2|4|8))?|1x(?:1|16|2|4|8)|2(?:x(?:1|16|2|4|8))?|3|4(?:x(?:1|16|2|4|8))?|8(?:x(?:1|16|2|4|8))?)?|else|enum|event_t|extern|for|goto|(?:u?(?:char|short|int|long)|half|quad|bool)(?:2|3|4|8|16)?|if|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|imaginary|inline|intptr_t|ndrange_t|packed|pipe|ptrdiff_t|queue_t|register|reserve_id_t|restrict|return|sampler_t|signed|size_t|sizeof|static|struct|switch|typedef|uintptr_t|uniform|union|unsigned|void|volatile|while)\b/,"function-opencl-kernel":{pattern:/\b(?:abs(?:_diff)?|a?(?:cos|sin)(?:h|pi)?|add_sat|aligned|all|and|any|async(?:_work_group_copy|_work_group_strided_copy)?|atan(?:2?(?:pi)?|h)?|atom_(?:add|and|cmpxchg|dec|inc|max|min|or|sub|xchg|xor)|barrier|bitselect|cbrt|ceil|clamp|clz|copies|copysign|cross|degrees|distance|dot|endian|erf|erfc|exp(?:2|10)?|expm1|fabs|fast_(?:distance|length|normalize)|fdim|floor|fma|fmax|fmin|fract|frexp|fro|from|get_(?:global_(?:id|offset|size)|group_id|image_(?:channel_data_type|channel_order|depth|dim|height|width)|local(?:_id|_size)|num_groups|work_dim)|hadd|(?:half|native)_(?:cos|divide|exp(?:2|10)?|log(?:2|10)?|powr|recip|r?sqrt|sin|tan)|hypot|ilogb|is(?:equal|finite|greater(?:equal)?|inf|less(?:equal|greater)?|nan|normal|notequal|(?:un)?ordered)|ldexp|length|lgamma|lgamma_r|log(?:b|1p|2|10)?|mad(?:24|_hi|_sat)?|max|mem(?:_fence)?|min|mix|modf|mul24|mul_hi|nan|nextafter|normalize|pow[nr]?|prefetch|radians|read_(?:image)(?:f|h|u?i)|read_mem_fence|remainder|remquo|reqd_work_group_size|rhadd|rint|rootn|rotate|round|rsqrt|select|shuffle2?|sign|signbit|sincos|smoothstep|sqrt|step|sub_sat|tan|tanh|tanpi|tgamma|to|trunc|upsample|vec_(?:step|type_hint)|v(?:load|store)(?:_half)?(?:2|3|4|8|16)?|v(?:loada_half|storea?(?:_half)?)(?:2|3|4|8|16)?(?:_(?:rte|rtn|rtp|rtz))?|wait_group_events|work_group_size_hint|write_image(?:f|h|u?i)|write_mem_fence)\b/,alias:"function"},"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:LOCAL|GLOBAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT)_(?:DIG|EPSILON|MANT_DIG|(?:MIN|MAX)(?:(?:_10)?_EXP)?)|FLT_RADIX|HUGE_VALF|INFINITY|(?:INT|LONG|SCHAR|SHRT|UCHAR|UINT|ULONG)_(?:MAX|MIN)|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:10|2)E?|PI[24]?|SQRT(?:1_2|2))|NAN)\b/,alias:"constant"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|short|int|long)|float|double)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:TRUE|FALSE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:16|24|8|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|Kernel|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),t["type-opencl-host-c++"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|Sampler|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t)}(Prism),Prism.languages.oz={comment:/\/\*[\s\S]*?\*\/|%.*/,string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/[$_]|\[\]|\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+\.?\d*(?:e~?\d+)?\b)|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/\b[A-Z][A-Za-z\d]*|`(?:[^`\\]|\\.)+`/,"attr-name":/\w+(?=:)/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/},Prism.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var e=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return e=e.map(function(e){return e.split("").join(" *")}).join("|"),RegExp("\\b(?:"+e+")\\b")}(),function:/\w[\w ]*?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *[+-]? *\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?:(?: *<)?(?: *=)?| *>)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/},function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:true|false)\b/,number:/\b(?:0x[a-f\d]+|\d+\.?\d*(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),t=e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(Prism),Prism.languages.pascal={comment:[/\(\*[\s\S]+?\*\)/,/\{[\s\S]+?\}/,/\/\/.*/],string:{pattern:/(?:'(?:''|[^'\r\n])*'|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/i,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},Prism.languages.objectpascal=Prism.languages.pascal,Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+)+(?:::)*/i,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*>|\b_\b/,alias:"symbol"},vstring:{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,punctuation:/[{}[\];(),:]/},function(e){var t=e.languages.javascript,n="{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})+}",a="(@(?:param|arg|argument|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(a+"[$\\w\\xA0-\\uFFFF.]+(?=\\s|$)"),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(a+"\\[[$\\w\\xA0-\\uFFFF.]+(?:=[^[\\]]+)?\\](?=\\s|$)"),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{punctuation:/[.,:?=<>|{}()[\]]/}},{pattern:/(@(?:augments|extends|class|interface|memberof!?|this)\s+)[A-Z]\w*(?:\.[A-Z]\w*)*/,lookbehind:!0,inside:{punctuation:/\./}}],example:{pattern:/(@example\s+)[^@]+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^(\s*(?:\*\s*)?).+$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(Prism),function(e){var t="(?:[a-zA-Z]\\w*|[|\\\\[\\]])+";e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:callback|resource|boolean|integer|double|object|string|array|false|float|mixed|bool|null|self|true|void|int)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(Prism),Prism.languages.insertBefore("php","variable",{this:/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\\/}}}),Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:{function:{pattern:/(^|[^`])\$\((?:\$\(.*?\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:{}}}},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*]|[^\[\]])*]|[^\[\]])*]/i,boolean:/\$(?:true|false)\b/i,variable:/\$\w+\b/i,function:[/\b(?:Add-(?:Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(?:Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(?:Csv|Json|StringData)|Convert-Path|ConvertTo-(?:Csv|Html|Json|Xml)|Copy-(?:Item|ItemProperty)|Debug-Process|Disable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(?:Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(?:Custom|List|Table|Wide)|Get-(?:Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(?:Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(?:Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(?:Command|Object)|Move-(?:Item|ItemProperty)|New-(?:Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(?:Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(?:Job|PSSession)|Register-(?:EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(?:Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(?:Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(?:Computer|Service)|Restore-Computer|Resume-(?:Job|Service)|Save-Help|Select-(?:Object|String|Xml)|Send-MailMessage|Set-(?:Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(?:Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(?:Job|Process|Service|Sleep|Transaction)|Stop-(?:Computer|Job|Process|Service)|Suspend-(?:Job|Service)|Tee-Object|Test-(?:ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)|Trace-Command|Unblock-File|Undo-Transaction|Unregister-(?:Event|PSSessionConfiguration)|Update-(?:FormatData|Help|List|TypeData)|Use-Transaction|Wait-(?:Event|Job|Process)|Where-Object|Write-(?:Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning))\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(\W?)(?:!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(?:and|x?or)|(?:Not)?(?:Like|Match|Contains|In)|Replace|Join|is(?:Not)?|as)\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/},n=t.string[0].inside;n.boolean=t.boolean,n.variable=t.variable,n.function.inside=t}(),Prism.languages.processing=Prism.languages.extend("clike",{keyword:/\b(?:break|catch|case|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),Prism.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|XML|[A-Z]\w*)\b/,alias:"variable"}}),Prism.languages.processing.function.pattern=/\w+(?=\s*\()/,Prism.languages.processing["class-name"].alias="variable",Prism.languages.prolog={comment:[/%.+/,/\/\*[\s\S]*?\*\//],string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,variable:/\b[A-Z_]\w*/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+\.?\d*/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/},Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,punctuation:/[=:]/},Prism.languages.protobuf=Prism.languages.extend("clike",{keyword:/\b(?:package|import|message|enum)\b/,builtin:/\b(?:required|repeated|optional|reserved)\b/,primitive:{pattern:/\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/,alias:"symbol"}}),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss,function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:true|false)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(Prism),function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d)?|\B\.\d)\d*(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|NULL|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:(?:fundef|interface|macdef|typedef)(?:_at)?|addr|constdef|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_(?:matrix|pointer)|byte_c?string(?:_pointer)?|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|short|sentry|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?=\b_|[^_])[!"#$%&'*+,\-.\/:<=>?@\\^_`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(t){var n=t;if("string"!=typeof t&&(n=t.alias,t=t.lang),e.languages[n]){var a={};a["inline-lang-"+n]={pattern:RegExp("%< *-\\*- *{lang}\\d* *-\\*-[\\s\\S]+?%>".replace("{lang}",t.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+n].inside.rest=e.util.clone(e.languages[n]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/i,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,Prism.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\da-fA-F]+|\d+\.?\d*(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?_~=|$&#@^]):?/,alias:"operator"},punctuation:/[(){}\[\];.]/},Prism.languages.qore=Prism.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},variable:/\$(?!\d)\w+\b/,keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:int|float|number|bool|string|date|list)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01]+|0x[\da-f]*\.?[\da-fp\-]+|\d*\.?\d+e?\d*[df]|\d*\.?\d+)\b/i,boolean:/\b(?:true|false)\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},function:/\$?\b(?!\d)\w+(?=\()/}),Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+\.?\d*|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/},function(e){e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:/(\.\s*)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*/,lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],n=0;n<t.length;n++){var a=t[n],i=e.languages.javascript[a];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[a]={pattern:i});var r=i.inside||{};(i.inside=r)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(Prism),function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^}]*\}|[^{}])*\}|[^{}])+\}))?|\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{(?:\{[^}]*\}|[^}])*\}|[^}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(n).join(""):""},a=function(t){for(var i=[],r=0;r<t.length;r++){var o=t[r],s=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<i.length&&i[i.length-1].tagName===n(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:n(o.content[0].content[1]),openedBraces:0}):0<i.length&&"punctuation"===o.type&&"{"===o.content?i[i.length-1].openedBraces++:0<i.length&&0<i[i.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:s=!0),(s||"string"==typeof o)&&0<i.length&&0===i[i.length-1].openedBraces){var l=n(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=n(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=n(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&a(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||a(e.tokens)})}(Prism),Prism.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2|(?:^#?(?:(?:[0-9a-fA-F]{2}){3}|(?:[0-9a-fA-F]){3})$)/m,greedy:!0},function:/[a-z_]\w*(?=\()/i,property:/\b(?:insensitive|idle|hover|selected_idle|selected_hover|background|position|alt|xpos|ypos|pos|xanchor|yanchor|anchor|xalign|yalign|align|xcenter|ycenter|xofsset|yoffset|ymaximum|maximum|xmaximum|xminimum|yminimum|minimum|xsize|ysizexysize|xfill|yfill|area|antialias|black_color|bold|caret|color|first_indent|font|size|italic|justify|kerning|language|layout|line_leading|line_overlap_split|line_spacing|min_width|newline_indent|outlines|rest_indent|ruby_style|slow_cps|slow_cps_multiplier|strikethrough|text_align|underline|hyperlink_functions|vertical|hinting|foreground|left_margin|xmargin|top_margin|bottom_margin|ymargin|left_padding|right_padding|xpadding|top_padding|bottom_padding|ypadding|size_group|child|hover_sound|activate_sound|mouse|focus_mask|keyboard_focus|bar_vertical|bar_invert|bar_resizing|left_gutter|right_gutter|top_gutter|bottom_gutter|left_bar|right_bar|top_bar|bottom_bar|thumb|thumb_shadow|thumb_offset|unscrollable|spacing|first_spacing|box_reverse|box_wrap|order_reverse|fit_first|ysize|thumbnail_width|thumbnail_height|help|text_ypos|text_xpos|idle_color|hover_color|selected_idle_color|selected_hover_color|insensitive_color|alpha|insensitive_background|hover_background|zorder|value|width|xadjustment|xanchoraround|xaround|xinitial|xoffset|xzoom|yadjustment|yanchoraround|yaround|yinitial|yzoom|zoom|ground|height|text_style|text_y_fudge|selected_insensitive|has_sound|has_music|has_voice|focus|hovered|image_style|length|minwidth|mousewheel|offset|prefix|radius|range|right_margin|rotate|rotate_pad|developer|screen_width|screen_height|window_title|name|version|windows_icon|default_fullscreen|default_text_cps|default_afm_time|main_menu_music|sample_sound|enter_sound|exit_sound|save_directory|enter_transition|exit_transition|intra_transition|main_game_transition|game_main_transition|end_splash_transition|end_game_transition|after_load_transition|window_show_transition|window_hide_transition|adv_nvl_transition|nvl_adv_transition|enter_yesno_transition|exit_yesno_transition|enter_replay_transition|exit_replay_transition|say_attribute_transition|directory_name|executable_name|include_update|window_icon|modal|google_play_key|google_play_salt|drag_name|drag_handle|draggable|dragged|droppable|dropped|narrator_menu|action|default_afm_enable|version_name|version_tuple|inside|fadeout|fadein|layers|layer_clipping|linear|scrollbars|side_xpos|side_ypos|side_spacing|edgescroll|drag_joined|drag_raise|drop_shadow|drop_shadow_color|subpixel|easein|easeout|time|crop|auto|update|get_installed_packages|can_update|UpdateVersion|Update|overlay_functions|translations|window_left_padding|show_side_image|show_two_window)\b/,tag:/\b(?:label|image|menu|[hv]box|frame|text|imagemap|imagebutton|bar|vbar|screen|textbutton|buttoscreenn|fixed|grid|input|key|mousearea|side|timer|viewport|window|hotspot|hotbar|self|button|drag|draggroup|tag|mm_menu_frame|nvl|block|parallel)\b|\$/,keyword:/\b(?:as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|yield|adjustment|alignaround|allow|angle|around|box_layout|cache|changed|child_size|clicked|clipping|corner1|corner2|default|delay|exclude|scope|slow|slow_abortable|slow_done|sound|style_group|substitute|suffix|transform_anchor|transpose|unhovered|config|theme|mm_root|gm_root|rounded_window|build|disabled_text|disabled|widget_selected|widget_text|widget_hover|widget|updater|behind|call|expression|hide|init|jump|onlayer|python|renpy|scene|set|show|transform|play|queue|stop|pause|define|window|repeat|contains|choice|on|function|event|animation|clockwise|counterclockwise|circles|knot|null|None|random|has|add|use|fade|dissolve|style|store|id|voice|center|left|right|less_rounded|music|movie|clear|persistent|ui)\b/,boolean:/\b(?:[Tt]rue|[Ff]alse)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not|with|at)\b/,punctuation:/[{}[\];(),.:]/},Prism.languages.reason=Prism.languages.extend("clike",{comment:{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/}),Prism.languages.insertBefore("reason","class-name",{character:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,alias:"string"},constructor:{pattern:/\b[A-Z]\w*\b(?!\s*\.)/,alias:"variable"},label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete Prism.languages.reason.function,Prism.languages.vala=Prism.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w+)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|interface|new|struct|enum)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],constant:/\b[A-Z0-9_]+\b/,function:/\w+(?=\s*\()/,keyword:/\b(?:bool|char|double|float|null|size_t|ssize_t|string|unichar|void|int|int8|int16|int32|int64|long|short|uchar|uint|uint8|uint16|uint32|uint64|ulong|ushort|class|delegate|enum|errordomain|interface|namespace|struct|break|continue|do|for|foreach|return|while|else|if|switch|assert|case|default|abstract|const|dynamic|ensures|extern|inline|internal|override|private|protected|public|requires|signal|static|virtual|volatile|weak|async|owned|unowned|try|catch|finally|throw|as|base|construct|delete|get|in|is|lock|new|out|params|ref|sizeof|set|this|throws|typeof|using|value|var|yield)\b/i,number:/(?:\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/}),Prism.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:Prism.languages.vala}},string:/[\s\S]+/}}}),Prism.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^\/\\\[\r\n])+\/[imsx]{0,4}(?=\s*($|[\r\n,.;})\]]))/,greedy:!0}}),Prism.languages.rest={table:[{pattern:/(\s*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1(?:[+|].+)+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(\s*)(?:=+ +)+=+(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1(?:=+ +)+=+(?=(?:\r?\n|\r){2}|\s*$)/,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^\s*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( +)[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^\s*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^\s*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^\s*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^\s*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^\s*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^\s*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^\s*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^\s*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s).*?[^\s]\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d](?:[_.:+]?[a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^\s*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}},Prism.languages.rip={comment:/#.*/,keyword:/(?:=>|->)|\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:true|false)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,character:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},number:/[+-]?(?:(?:\d+\.\d+)|(?:\d+))/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/},Prism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*)[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/},function(e){var t="(?:\\([^|)]+\\)|\\[[^\\]]+\\]|\\{[^}]+\\})+",n={css:{pattern:/\{[^}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^)]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:RegExp("^[a-z]\\w*(?:"+t+"|[<>=()])*\\."),inside:{modifier:{pattern:RegExp("(^[a-z]\\w*)(?:"+t+"|[<>=()])+(?=\\.)"),lookbehind:!0,inside:n},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:RegExp("^[*#]+(?:"+t+")?\\s+.+","m"),inside:{modifier:{pattern:RegExp("(^[*#]+)"+t),lookbehind:!0,inside:n},punctuation:/^[*#]+/}},table:{pattern:RegExp("^(?:(?:"+t+"|[<>=()^~])+\\.\\s*)?(?:\\|(?:(?:"+t+"|[<>=()^~_]|[\\\\/]\\d+)+\\.)?[^|]*)+\\|","m"),inside:{modifier:{pattern:RegExp("(^|\\|(?:\\r?\\n|\\r)?)(?:"+t+"|[<>=()^~_]|[\\\\/]\\d+)+(?=\\.)"),lookbehind:!0,inside:n},punctuation:/\||^\./}},inline:{pattern:RegExp("(\\*\\*|__|\\?\\?|[*_%@+\\-^~])(?:"+t+")?.+?\\1"),inside:{bold:{pattern:RegExp("(^(\\*\\*?)(?:"+t+")?).+?(?=\\2)"),lookbehind:!0},italic:{pattern:RegExp("(^(__?)(?:"+t+")?).+?(?=\\2)"),lookbehind:!0},cite:{pattern:RegExp("(^\\?\\?(?:"+t+")?).+?(?=\\?\\?)"),lookbehind:!0,alias:"string"},code:{pattern:RegExp("(^@(?:"+t+")?).+?(?=@)"),lookbehind:!0,alias:"keyword"},inserted:{pattern:RegExp("(^\\+(?:"+t+")?).+?(?=\\+)"),lookbehind:!0},deleted:{pattern:RegExp("(^-(?:"+t+")?).+?(?=-)"),lookbehind:!0},span:{pattern:RegExp("(^%(?:"+t+")?).+?(?=%)"),lookbehind:!0},modifier:{pattern:RegExp("(^\\*\\*|__|\\?\\?|[*_%@+\\-^~])"+t),lookbehind:!0,inside:n},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:RegExp('"(?:'+t+')?[^"]+":.+?(?=[^\\w/]?(?:\\s|$))'),inside:{text:{pattern:RegExp('(^"(?:'+t+')?)[^"]+(?=")'),lookbehind:!0},modifier:{pattern:RegExp('(^")'+t),lookbehind:!0,inside:n},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:RegExp("!(?:"+t+"|[<>=()])*[^!\\s()]+(?:\\([^)]+\\))?!(?::.+?(?=[^\\w/]?(?:\\s|$)))?"),inside:{source:{pattern:RegExp("(^!(?:"+t+"|[<>=()])*)[^!\\s()]+(?:\\([^)]+\\))?(?=!)"),lookbehind:!0,alias:"url"},modifier:{pattern:RegExp("(^!)(?:"+t+"|[<>=()])+"),lookbehind:!0,inside:n},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^)]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:TM|R|C)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),i=a.phrase.inside,r={inline:i.inline,link:i.link,image:i.image,footnote:i.footnote,acronym:i.acronym,mark:i.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var o=i.inline.inside;o.bold.inside=r,o.italic.inside=r,o.inserted.inside=r,o.deleted.inside=r,o.span.inside=r;var s=i.table.inside;s.inline=r.inline,s.link=r.link,s.image=r.image,s.footnote=r.footnote,s.acronym=r.acronym,s.mark=r.mark}(Prism),Prism.languages.rust={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)"(?:\\.|(?!"\1)[^\\\r\n])*"\1/,greedy:!0},{pattern:/b?"(?:\\.|[^\\\r\n"])*"/,greedy:!0}],char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u{(?:[\da-fA-F]_*){1,6}|.)|[^\\\r\n\t'])'/,alias:"string"},"lifetime-annotation":{pattern:/'[^\s>']+/,alias:"symbol"},keyword:/\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|dyn|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|Self|struct|super|true|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,attribute:{pattern:/#!?\[.+?\]/,greedy:!0,alias:"attr-name"},function:[/\w+(?=\s*\()/,/\w+!(?=\s*\(|\[)/],"macro-rules":{pattern:/\w+!/,alias:"function"},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\b/,"closure-params":{pattern:/\|[^|]*\|(?=\s*[{-])/,inside:{punctuation:/[|:,]/,operator:/[&*]/}},punctuation:/[{}[\];(),:]|\.+|->/,operator:/[-+*\/%!^]=?|=[=>]?|@|&[&=]?|\|[|=]?|<<?=?|>>?=?/},Prism.languages.sas={datalines:{pattern:/^\s*(?:(?:data)?lines|cards);[\s\S]+?(?:\r?\n|\r);/im,alias:"string",inside:{keyword:{pattern:/^(\s*)(?:(?:data)?lines|cards)/i,lookbehind:!0},punctuation:/;/}},comment:[{pattern:/(^\s*|;\s*)\*.*;/m,lookbehind:!0},/\/\*[\s\S]+?\*\//],datetime:{pattern:/'[^']+'(?:dt?|t)\b/i,alias:"number"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},keyword:/\b(?:data|else|format|if|input|proc\s\w+|quit|run|then|libname|set|output|options)\b/i,number:/\b(?:[\da-f]+x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?|\b(?:eq|ne|gt|lt|ge|le|in|not)\b/i,punctuation:/[$%@.(){}\[\];,\\]/},function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism),function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,number:/\b\d+(?:\.\d+)?%?/,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],punctuation:/[{}()\[\];:,]/};t.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^{|}$/,alias:"punctuation"},rest:t}},t.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:t}},e.languages.stylus={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:t}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:t}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:t}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\[\];:.]/}}(Prism),function(e){var t={code:{pattern:/(^(\s*(?:\*\s*)*)).*[^*\s].+$/m,lookbehind:!0,inside:e.languages.java,alias:"language-java"}};e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{"class-name":[{pattern:/(@(?:exception|throws|see|link|linkplain|value)\s+(?:[a-z\d]+\.)*)[A-Z](?:\w*[a-z]\w*)?(?:\.[A-Z](?:\w*[a-z]\w*)?)*/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}}],namespace:{pattern:/(@(?:exception|throws|see|link|linkplain)\s+)(?:[a-z\d]+\.)+/,lookbehind:!0,inside:{punctuation:/\./}},"code-section":[{pattern:/(\{@code\s+)(?:[^{}]|\{[^{}]*\})+?(?=\s*\})/,lookbehind:!0,inside:t},{pattern:/(<(code|tt)>\s*)[\s\S]+?(?=\s*<\/\2>)/,lookbehind:!0,inside:t}],tag:e.languages.markup.tag}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(Prism),Prism.languages.scheme={comment:/;.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'[^()#'\s]+/,greedy:!0},character:{pattern:/#\\(?:u[a-fA-F\d]{4}|[a-zA-Z]+|\S)/,alias:"string"},keyword:{pattern:/(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)(?=[()\s])/,lookbehind:!0},builtin:{pattern:/(\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?)(?=[()\s])/,lookbehind:!0},number:{pattern:/(\s|[()])[-+]?\d*\.?\d+(?:\s*[-+]\s*\d*\.?\d+i)?\b/,lookbehind:!0},boolean:/#[tf]/,operator:{pattern:/(\()(?:[-+*%\/]|[<>]=?|=>?)(?=\s|$)/,lookbehind:!0},function:{pattern:/(\()[^()'\s]+(?=[()\s)]|$)/,lookbehind:!0},punctuation:/[()']/},Prism.languages.smalltalk={comment:/"(?:""|[^"])*"/,string:/'(?:''|[^'])*'/,symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:nil|true|false|self|super|new)\b/,character:{pattern:/\$./,alias:"string"},number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/},function(e){e.languages.smarty={comment:/\{\*[\s\S]*?\*\}/,delimiter:{pattern:/^\{|\}$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->)(?!\d)\w+/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:[{pattern:/(\|\s*)@?(?!\d)\w+/,lookbehind:!0},/^\/?(?!\d)\w+/,/(?!\d)\w+(?=\()/],"attr-name":{pattern:/\w+\s*=\s*(?:(?!\d)\w+)?/,inside:{variable:{pattern:/(=\s*)(?!\d)\w+/,lookbehind:!0},operator:/=/}},punctuation:[/[\[\]().,:`]|->/],operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\b/],keyword:/\b(?:false|off|on|no|true|yes)\b/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",/\{\*[\s\S]*?\*\}|\{[\s\S]+?\}/g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}(Prism),function(e){var t=e.languages.plsql=e.languages.extend("sql",{comment:[/\/\*[\s\S]*?\*\//,/--.*/]}),n=t.keyword;Array.isArray(n)||(n=t.keyword=[n]),n.unshift(/\b(?:ACCESS|AGENT|AGGREGATE|ARRAY|ARROW|AT|ATTRIBUTE|AUDIT|AUTHID|BFILE_BASE|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BYTE|CALLING|CHAR_BASE|CHARSET(?:FORM|ID)|CLOB_BASE|COLAUTH|COLLECT|CLUSTERS?|COMPILED|COMPRESS|CONSTANT|CONSTRUCTOR|CONTEXT|CRASH|CUSTOMDATUM|DANGLING|DATE_BASE|DEFINE|DETERMINISTIC|DURATION|ELEMENT|EMPTY|EXCEPTIONS?|EXCLUSIVE|EXTERNAL|FINAL|FORALL|FORM|FOUND|GENERAL|HEAP|HIDDEN|IDENTIFIED|IMMEDIATE|INCLUDING|INCREMENT|INDICATOR|INDEXES|INDICES|INFINITE|INITIAL|ISOPEN|INSTANTIABLE|INTERFACE|INVALIDATE|JAVA|LARGE|LEADING|LENGTH|LIBRARY|LIKE[24C]|LIMITED|LONG|LOOP|MAP|MAXEXTENTS|MAXLEN|MEMBER|MINUS|MLSLABEL|MULTISET|NAME|NAN|NATIVE|NEW|NOAUDIT|NOCOMPRESS|NOCOPY|NOTFOUND|NOWAIT|NUMBER(?:_BASE)?|OBJECT|OCI(?:COLL|DATE|DATETIME|DURATION|INTERVAL|LOBLOCATOR|NUMBER|RAW|REF|REFCURSOR|ROWID|STRING|TYPE)|OFFLINE|ONLINE|ONLY|OPAQUE|OPERATOR|ORACLE|ORADATA|ORGANIZATION|ORL(?:ANY|VARY)|OTHERS|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETERS?|PASCAL|PCTFREE|PIPE(?:LINED)?|PRAGMA|PRIOR|PRIVATE|RAISE|RANGE|RAW|RECORD|REF|REFERENCE|REM|REMAINDER|RESULT|RESOURCE|RETURNING|REVERSE|ROW(?:ID|NUM|TYPE)|SAMPLE|SB[124]|SEGMENT|SELF|SEPARATE|SEQUENCE|SHORT|SIZE(?:_T)?|SPARSE|SQL(?:CODE|DATA|NAME|STATE)|STANDARD|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUCCESSFUL|SYNONYM|SYSDATE|TABAUTH|TDO|THE|TIMEZONE_(?:ABBR|HOUR|MINUTE|REGION)|TRAILING|TRANSAC(?:TIONAL)?|TRUSTED|UB[124]|UID|UNDER|UNTRUSTED|VALIDATE|VALIST|VARCHAR2|VARIABLE|VARIANCE|VARRAY|VIEWS|VOID|WHENEVER|WRAPPED|ZONE)\b/i);var a=t.operator;Array.isArray(a)||(a=t.operator=[a]),a.unshift(/:=/)}(Prism),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/({+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/({+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/({+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|in|int|js|html|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^{+\/?|\/?}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:true|false)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*\/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/{{.+?}}|{.+?}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}(Prism),Prism.languages.twig={comment:/\{#[\s\S]*?#\}/,tag:{pattern:/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}/,inside:{ld:{pattern:/^(?:\{\{-?|\{%-?\s*\w+)/,inside:{punctuation:/^(?:\{\{|\{%)-?/,keyword:/\w+/}},rd:{pattern:/-?(?:%\}|\}\})$/,inside:{punctuation:/.+/}},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:true|false|null)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-xor|b-or|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],property:/\b[a-zA-Z_]\w*\b/,punctuation:/[()\[\]{}:.,]/}},other:{pattern:/\S(?:[\s\S]*\S)?/,inside:Prism.languages.markup}},Prism.languages.swift=Prism.languages.extend("clike",{string:{pattern:/("|')(\\(?:\((?:[^()]|\([^)]+\))+\)|\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/\\\((?:[^()]|\([^)]+\))+\)/,inside:{delimiter:{pattern:/^\\\(|\)$/,alias:"variable"}}}}},keyword:/\b(?:as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\b/,number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,constant:/\b(?:nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,atrule:/@\b(?:IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\b/,builtin:/\b(?:[A-Z]\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\b/}),Prism.languages.swift.string.inside.interpolation.inside.rest=Prism.languages.swift,Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}|\s*#))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml,Prism.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$){[^}]+}/,lookbehind:!0},{pattern:/(^\s*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^\s*proc[ \t]+)[^\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\b/m,lookbehind:!0},/\b(?:elseif|else)\b/],scope:{pattern:/(^\s*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^\s*|\[)(?:after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|ne|in|ni)\b/,punctuation:/[{}()\[\]]/},function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ]+.+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ]+.+)/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*\|[\t ]*)*/,lookbehind:!0,inside:{rest:e.languages.ruby}}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^}])+\}/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:{rest:e.languages.ruby}}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:{rest:e.languages.ruby}},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.ruby}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,i=t.length;a<i;a++){var r=t[a];r="string"==typeof r?{filter:r,language:r}:r,e.languages[r.language]&&(n["filter-"+r.filter]={pattern:RegExp("((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+".replace("{{filter_name}}",r.filter)),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},rest:e.languages[r.language]}})}e.languages.insertBefore("haml","filter",n)}(Prism),function(e){var t="(?:[\\w-]+|'[^'\n\r]*'|\"(?:\\.|[^\\\\\"\r\n])*\")";Prism.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp("(\\[\\s*)"+t+"(?:\\s*\\.\\s*"+t+")*(?=\\s*\\])"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp("(^\\s*|[{,]\\s*)"+t+"(?:\\s*\\.\\s*"+t+")*(?=\\s*=)","m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?/i,alias:"number"},{pattern:/\d{2}:\d{2}:\d{2}(?:\.\d+)?/i,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?(?:inf|nan)\b/,boolean:/\b(?:true|false)\b/,punctuation:/[.,=[\]{}]/}}(),function(e){e.languages.tt2=e.languages.extend("clike",{comment:{pattern:/#.*|\[%#[\s\S]*?%\]/,lookbehind:!0},keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|TAGS|THROW|TRY|SWITCH|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|or|not)\b/,variable:{pattern:/[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}(Prism),function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ]+.+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"}}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:if|unless|else|case|when|default|each|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:if|unless|else|case|when|default|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:block|extends|include|append|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]+).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]+).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:{rest:e.languages.javascript}},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:{rest:e.languages.javascript}},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}}],punctuation:/[.\-!=|]+/};for(var t=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],n={},a=0,i=t.length;a<i;a++){var r=t[a];r="string"==typeof r?{filter:r,language:r}:r,e.languages[r.language]&&(n["filter-"+r.filter]={pattern:RegExp("(^([\t ]*)):{{filter_name}}(?:(?:\r?\n|\r(?!\n))(?:\\2[\t ]+.+|\\s*?(?=\r?\n|\r)))+".replace("{{filter_name}}",r.filter),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},rest:e.languages[r.language]}})}e.languages.insertBefore("pug","filter",n)}(Prism);var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript),function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var a=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\w+(?=\s)/,"attr-name":/\w+/}),expression:t("=",a,i),"class-feature":t("\\+",a,i),standard:t("",a,i)}}}}})}(Prism),Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b).*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([\/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:[/[+\-*\/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.t4=Prism.languages["t4-cs"]=Prism.languages["t4-templating"].createT4("csharp"),function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|c[a-zA-Z]|0[0-7]{0,2}|[123][0-7]{2}|.)/,a=/\\[wsd]|\.|\\p{[^{}]+}/i,i="(?:[^\\\\-]|"+n.source+")",r=RegExp(i+"-"+i),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s=[/\\(?![123][0-7]{2})[1-9]/,{pattern:/\\k<[^<>']+>/,inside:{"group-name":o}}];e.languages.regex={charset:{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"charset-negation":{pattern:/(^\[)\^/,lookbehind:!0},"charset-punctuation":/^\[|\]$/,range:{pattern:r,inside:{escape:n,"range-punctuation":/-/}},"special-escape":t,charclass:a,backreference:s,escape:n}},"special-escape":t,charclass:a,backreference:s,anchor:/[$^]|\\[ABbGZz]/,escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,inside:{"group-name":o}},/\)/],quantifier:/[+*?]|\{(?:\d+,?\d*)\}/,alternation:/\|/},["actionscript","coffescript","flow","javascript","typescript","vala"].forEach(function(t){var n=e.languages[t];n&&(n.regex.inside={"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/,"language-regex":{pattern:/[\s\S]+/,inside:e.languages.regex}})})}(Prism),Prism.languages.vbnet=Prism.languages.extend("basic",{keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}]}),function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+])*|{[^}]+})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:true|false)\b/,operator:/[=!<>]=?|[+*\/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?]]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|]]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|{[a-z][\w-]*})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|{[a-z][\w-]*})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(Prism),Prism.languages.verilog={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},property:/\B\$\w+\b/,constant:/\B`\w+\b/,function:/\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|class|case|casex|casez|cell|chandle|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endspecify|endsequence|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_onevent|pulsestyle_ondetect|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always_latch|always_comb|always_ff|always)\b ?@?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b\d*[._]?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/},Prism.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:use|library)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:true|false)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*\/&=]|\b(?:abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|xnor|xor|nor)\b/i,punctuation:/[{}[\];(),.:]/},Prism.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\w+(?=\()/,keyword:/\b(?:ab|abbreviate|abc|abclear|abo|aboveleft|al|all|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|ar|args|argu|argument|as|ascii|bad|badd|ba|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bN|bNext|bo|botright|bp|bprevious|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|br|brewind|bro|browse|bufdo|b|buffer|buffers|bun|bunload|bw|bwipeout|ca|cabbrev|cabc|cabclear|caddb|caddbuffer|cad|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cgetb|cgetbuffer|cgete|cgetexpr|cg|cgetfile|c|change|changes|chd|chdir|che|checkpath|checkt|checktime|cla|clast|cl|clist|clo|close|cmapc|cmapclear|cnew|cnewer|cn|cnext|cN|cNext|cnf|cnfile|cNfcNfile|cnorea|cnoreabbrev|col|colder|colo|colorscheme|comc|comclear|comp|compiler|conf|confirm|con|continue|cope|copen|co|copy|cpf|cpfile|cp|cprevious|cq|cquit|cr|crewind|cuna|cunabbrev|cu|cunmap|cw|cwindow|debugg|debuggreedy|delc|delcommand|d|delete|delf|delfunction|delm|delmarks|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|di|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|earlier|echoe|echoerr|echom|echomsg|echon|e|edit|el|else|elsei|elseif|em|emenu|endfo|endfor|endf|endfunction|endfun|en|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fina|finally|fin|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|folddoc|folddoclosed|foldd|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|ha|hardcopy|h|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iuna|iunabbrev|iu|iunmap|j|join|ju|jumps|k|keepalt|keepj|keepjumps|kee|keepmarks|laddb|laddbuffer|lad|laddexpr|laddf|laddfile|lan|language|la|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|let|left|lefta|leftabove|lex|lexpr|lf|lfile|lfir|lfirst|lgetb|lgetbuffer|lgete|lgetexpr|lg|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|l|list|ll|lla|llast|lli|llist|lmak|lmake|lm|lmap|lmapc|lmapclear|lnew|lnewer|lne|lnext|lN|lNext|lnf|lnfile|lNf|lNfile|ln|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lpf|lpfile|lp|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|mak|make|ma|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkvie|mkview|mkv|mkvimrc|mod|mode|m|move|mzf|mzfile|mz|mzscheme|nbkey|new|n|next|N|Next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|omapc|omapclear|on|only|o|open|opt|options|ou|ounmap|pc|pclose|ped|pedit|pe|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|p|print|P|Print|profd|profdel|prof|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptN|ptNext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|pyf|pyfile|py|python|qa|qall|q|quit|quita|quitall|r|read|rec|recover|redi|redir|red|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|rub|ruby|rubyd|rubydo|rubyf|rubyfile|ru|runtime|rv|rviminfo|sal|sall|san|sandbox|sa|sargument|sav|saveas|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbN|sbNext|sbp|sbprevious|sbr|sbrewind|sb|sbuffer|scripte|scriptencoding|scrip|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sla|slast|sl|sleep|sm|smagic|sm|smap|smapc|smapclear|sme|smenu|sn|snext|sN|sNext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|sor|sort|so|source|spelld|spelldump|spe|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|sp|split|spr|sprevious|sre|srewind|sta|stag|startg|startgreplace|star|startinsert|startr|startreplace|stj|stjump|st|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tab|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabnew|tabn|tabnext|tabN|tabNext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|ta|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tm|tmenu|tn|tnext|tN|tNext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tu|tunmenu|una|unabbreviate|u|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|verb|verbose|ve|version|vert|vertical|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|vi|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|wa|wall|wh|while|winc|wincmd|windo|winp|winpos|win|winsize|wn|wnext|wN|wNext|wp|wprevious|wq|wqa|wqall|w|write|ws|wsverb|wv|wviminfo|X|xa|xall|x|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|XMLent|XMLns|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:autocmd|acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|t_AB|t_AF|t_al|t_AL|t_bc|t_cd|t_ce|t_Ce|t_cl|t_cm|t_Co|t_cs|t_Cs|t_CS|t_CV|t_da|t_db|t_dl|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_fs|t_IE|t_IS|t_k1|t_K1|t_k2|t_k3|t_K3|t_k4|t_K4|t_k5|t_K5|t_k6|t_K6|t_k7|t_K7|t_k8|t_K8|t_k9|t_K9|t_KA|t_kb|t_kB|t_KB|t_KC|t_kd|t_kD|t_KD|t_ke|t_KE|t_KF|t_KG|t_kh|t_KH|t_kI|t_KI|t_KJ|t_KK|t_kl|t_KL|t_kN|t_kP|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_RI|t_RV|t_Sb|t_se|t_Sf|t_SI|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_WP|t_WS|t_xs|t_ZH|t_ZR)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/},Prism.languages["t4-vb"]=Prism.languages["t4-templating"].createT4("visual-basic"),Prism.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-.\/:<=>?@\\^_`|~]+/i,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},Prism.languages.wiki=Prism.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+).+?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:RFC|PMID) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),Prism.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[\s\S]*?>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[\s\S]*?>|<\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}}),function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:\|?(?:[-#.^+*~]*(?:[\w+][^$]*)|=(?:[\S+][^$]*)|@[-#]*(?:\w+.)[\w+.]+)?)*)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:{[-\w.]+\?[-\w.]+(?:,(?:\|?(?:[-#.^+*~]*(?:[\w+][^$]*)|=(?:[\S+][^$]*)|@[-#]*(?:\w+.)[\w+.]+)?)*)?}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+])?:[-\w.]+:{(![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/}:[-\w.]+:{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(Prism),Prism.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,inside:{keyword:/^Rem/i}},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],symbol:/#(?:If|Else|ElseIf|Endif|Pragma)\b/i,keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|By(?:Ref|Val)|Break|Call|Case|Catch|Const|Continue|CurrentMethodName|Declare|Dim|Do(?:wnTo)?|Each|Else(?:If)?|End|Exit|Extends|False|Finally|For|Global|If|In|Lib|Loop|Me|Next|Nil|Optional|ParamArray|Raise(?:Event)?|ReDim|Rem|RemoveHandler|Return|Select|Self|Soft|Static|Step|Super|Then|To|True|Try|Ubound|Until|Using|Wend|While)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|Xor|WeakAddressOf)\b/i,punctuation:/[.,;:()]/},function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[\w-:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|ENTITIES|ENTITY|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|ID|IDREFS?|int|integer|language|long|Name|NCName|negativeInteger|NMTOKENS?|nonNegativeInteger|nonPositiveInteger|normalizedString|NOTATION|positiveInteger|QName|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:\/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+)/i,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}/,inside:{rest:e.languages.xquery},alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(a){for(var i=[],r=0;r<a.length;r++){var o=a[r],s=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<i.length&&i[i.length-1].tagName===t(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(0<i.length&&"punctuation"===o.type&&"{"===o.content)||a[r+1]&&"punctuation"===a[r+1].type&&"{"===a[r+1].content||a[r-1]&&"plain-text"===a[r-1].type&&"{"===a[r-1].content?0<i.length&&0<i[i.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:"comment"!==o.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof o)&&0<i.length&&0===i[i.length-1].openedBraces){var l=t(o);r<a.length-1&&("string"==typeof a[r+1]||"plain-text"===a[r+1].type)&&(l+=t(a[r+1]),a.splice(r+1,1)),0<r&&("string"==typeof a[r-1]||"plain-text"===a[r-1].type)&&(l=t(a[r-1])+l,a.splice(r-1,1),r--),/^\s+$/.test(l)?a[r]=l:a[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(Prism),Prism.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[^\S\r\n]*)---(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?[^\S\r\n]*\.\.\.$/m,lookbehind:!0,inside:Prism.languages.yaml,alias:"language-yaml"}},function(){if("undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector){var e,t=function(){if(void 0===e){var t=document.createElement("div");t.style.fontSize="13px",t.style.lineHeight="1.5",t.style.padding=0,t.style.border=0,t.innerHTML="&nbsp;<br />&nbsp;",document.body.appendChild(t),e=38===t.offsetHeight,document.body.removeChild(t)}return e},n=0;Prism.hooks.add("before-sanity-check",function(e){var t=e.element.parentNode,n=t&&t.getAttribute("data-line");if(t&&n&&/pre/i.test(t.nodeName)){var i=0;a(".line-highlight",t).forEach(function(e){i+=e.textContent.length,e.parentNode.removeChild(e)}),i&&/^( \n)+$/.test(e.code.slice(-i))&&(e.code=e.code.slice(0,-i))}}),Prism.hooks.add("complete",function e(t){var a=t.element.parentNode,s=a&&a.getAttribute("data-line");if(a&&s&&/pre/i.test(a.nodeName)){clearTimeout(n);var l=Prism.plugins.lineNumbers,d=t.plugins&&t.plugins.lineNumbers;i(a,"line-numbers")&&l&&!d?Prism.hooks.add("line-numbers",e):(r(a,s),n=setTimeout(o,1))}}),window.addEventListener("hashchange",o),window.addEventListener("resize",function(){var e=document.querySelectorAll("pre[data-line]");Array.prototype.forEach.call(e,function(e){r(e)})})}function a(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function i(e,t){return t=" "+t+" ",-1<(" "+e.className+" ").replace(/[\n\t]/g," ").indexOf(t)}function r(e,n,a){for(var r,o=(n="string"==typeof n?n:e.getAttribute("data-line")).replace(/\s+/g,"").split(","),s=+e.getAttribute("data-line-offset")||0,l=(t()?parseInt:parseFloat)(getComputedStyle(e).lineHeight),d=i(e,"line-numbers"),c=0;r=o[c++];){var p=r.split("-"),u=+p[0],m=+p[1]||u,g=e.querySelector('.line-highlight[data-range="'+r+'"]')||document.createElement("div");if(g.setAttribute("aria-hidden","true"),g.setAttribute("data-range",r),g.className=(a||"")+" line-highlight",d&&Prism.plugins.lineNumbers){var b=Prism.plugins.lineNumbers.getLine(e,u),f=Prism.plugins.lineNumbers.getLine(e,m);b&&(g.style.top=b.offsetTop+"px"),f&&(g.style.height=f.offsetTop-b.offsetTop+f.offsetHeight+"px")}else g.setAttribute("data-start",u),u<m&&g.setAttribute("data-end",m),g.style.top=(u-s-1)*l+"px",g.textContent=new Array(m-u+2).join(" \n");d?e.appendChild(g):(e.querySelector("code")||e).appendChild(g)}}function o(){var e=location.hash.slice(1);a(".temporary.line-highlight").forEach(function(e){e.parentNode.removeChild(e)});var t=(e.match(/\.([\d,-]+)$/)||[,""])[1];if(t&&!document.getElementById(e)){var n=e.slice(0,e.lastIndexOf(".")),i=document.getElementById(n);i&&(i.hasAttribute("data-line")||i.setAttribute("data-line",""),r(i,t,"temporary "),document.querySelector(".temporary.line-highlight").scrollIntoView())}}}(),function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e="line-numbers",t=/\n(?!$)/g,n=function(e){var n=a(e)["white-space"];if("pre-wrap"===n||"pre-line"===n){var i=e.querySelector("code"),r=e.querySelector(".line-numbers-rows"),o=e.querySelector(".line-numbers-sizer"),s=i.textContent.split(t);o||((o=document.createElement("span")).className="line-numbers-sizer",i.appendChild(o)),o.style.display="block",s.forEach(function(e,t){o.textContent=e||"\n";var n=o.getBoundingClientRect().height;r.children[t].style.height=n+"px"}),o.textContent="",o.style.display="none"}},a=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null};window.addEventListener("resize",function(){Array.prototype.forEach.call(document.querySelectorAll("pre."+e),n)}),Prism.hooks.add("complete",function(e){if(e.code){var a=e.element,i=a.parentNode;if(i&&/pre/i.test(i.nodeName)&&!a.querySelector(".line-numbers-rows")){for(var r=!1,o=/(?:^|\s)line-numbers(?:\s|$)/,s=a;s;s=s.parentNode)if(o.test(s.className)){r=!0;break}if(r){a.className=a.className.replace(o," "),o.test(i.className)||(i.className+=" line-numbers");var l,d=e.code.match(t),c=d?d.length+1:1,p=new Array(c+1).join("<span></span>");(l=document.createElement("span")).setAttribute("aria-hidden","true"),l.className="line-numbers-rows",l.innerHTML=p,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),e.element.appendChild(l),n(i),Prism.hooks.run("line-numbers",e)}}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}),Prism.plugins.lineNumbers={getLine:function(t,n){if("PRE"===t.tagName&&t.classList.contains(e)){var a=t.querySelector(".line-numbers-rows"),i=parseInt(t.getAttribute("data-start"),10)||1,r=i+(a.children.length-1);n<i&&(n=i),r<n&&(n=r);var o=n-i;return a.children[o]}}}}}(),function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(n,a){var i;i="function"==typeof a?a:function(e){var t;return"function"==typeof a.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){a.onClick.call(this,e)})):"string"==typeof a.url?(t=document.createElement("a")).href=a.url:t=document.createElement("span"),t.textContent=a.text,t},e.push(t[n]=i)},i=Prism.plugins.toolbar.hook=function(a){var i=a.element.parentNode;if(i&&/pre/i.test(i.nodeName)&&!i.parentNode.classList.contains("code-toolbar")){var r=document.createElement("div");r.classList.add("code-toolbar"),i.parentNode.insertBefore(r,i),r.appendChild(i);var o=document.createElement("div");o.classList.add("toolbar"),document.body.hasAttribute("data-toolbar-order")&&(e=document.body.getAttribute("data-toolbar-order").split(",").map(function(e){return t[e]||n})),e.forEach(function(e){var t=e(a);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),o.appendChild(n)}}),r.appendChild(o)}};a("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,a,i=t.getAttribute("data-label");try{a=document.querySelector("template#"+i)}catch(e){}return a?n=a.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=i),n}}),Prism.hooks.add("complete",i)}}(),function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var e=window.ClipboardJS||void 0;e||"function"!=typeof require||(e=require("clipboard"));var t=[];if(!e){var n=document.createElement("script"),a=document.querySelector("head");n.onload=function(){if(e=window.ClipboardJS)for(;t.length;)t.pop()()},n.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",a.appendChild(n)}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(n){var a=document.createElement("a");return a.textContent="Copy",e?i():t.push(i),a;function i(){var t=new e(a,{text:function(){return n.code}});t.on("success",function(){a.textContent="Copied!",r()}),t.on("error",function(){a.textContent="Press Ctrl+C to copy",r()})}function r(){setTimeout(function(){a.textContent="Copy"},5e3)}})}else console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.")}();
/*! * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2015 SAP SE. All rights reserved */ sap.ui.define([], function () { "use strict"; /** * Utility is a static class providing support functions for other Network Graph classes. * * @static * @private * @since 1.50 * @alias sap.suite.ui.commons.networkgraph.Utils */ var Utils = {}; /** * Polyfill for array find in IE. * @param {array} arr Array to search in * @param {object} callback Predicate function used to identify the item that is searched for * @param {object} thisArg Argument of the callback function * @returns {object} Object that has been searched for, or undefined if none was found */ Utils.find = function (arr, callback, thisArg) { var i; if (typeof arr.find === "function") { return arr.find(callback, thisArg); } else { for (i = 0; i < arr.length; i++) { if (callback.call(thisArg, arr[i], i, arr)) { return arr[i]; } } return undefined; } }; /** * Trims string to given character count. * @param {string} sText Text to trim * @param {number} iCount Number of maximum character text can have (minus "...") * @returns {string} Trimmed string */ Utils.trimText = function (sText, iCount) { if (sText && sText.length > iCount) { return sText.substring(0, iCount) + " ... "; } return sText; }; return Utils; }, true);
(function($) { voice_recognition = function() { var old_placeholder = $('#g_search').attr("placeholder"); var recognition = new webkitSpeechRecognition(); var final_transcript = ''; var is_recording = false; recognition.continuous = true; recognition.interimResults = true; recognition.lang = localStorage["project-dashboard.locale"]; recognition.onstart = function() { console.log("SpeechRecognition Started."); $('#g_search').attr("placeholder", 'Say "Okay Dashboard !"'); } recognition.onresult = function(event) { var interim_transcript = ''; for (var i = event.resultIndex; i < event.results.length; ++i) { if (event.results[i].isFinal) { final_transcript += event.results[i][0].transcript; } else { interim_transcript += event.results[i][0].transcript; } } final_transcript = final_transcript; if (is_recording === false) { if (interim_transcript.indexOf("ok dashboard") > -1 || interim_transcript.indexOf("okay dashboard") > -1) { final_transcript = ''; interim_transcript = ''; is_recording = true; $('#g_search').addClass('hidden'); $('#final_span').parent().removeClass('hidden'); } } else { //$('#g_search').val(final_transcript + interim_transcript); final_transcript = capitalize(final_transcript); $('#final_span').html(linebreak(final_transcript)); $('#inter_span').html(linebreak(interim_transcript)); } }; recognition.onerror = function(event) { is_recording = false; $('#g_search').removeClass('hidden'); $('#final_span').parent().addClass('hidden'); $('#g_search').attr("placeholder", old_placeholder); console.log("Error.", event); } recognition.onend = function() { is_recording = false; if (is_recording === true) window.location = "https://www.google.com#q="+$('#final_span').html(); else console.log("SpeechRecognition Ended."); $('#g_search').removeClass('hidden'); $('#final_span').parent().addClass('hidden'); $('#g_search').attr("placeholder", old_placeholder); } recognition.start(); }; var two_line = /\n\n/g; var one_line = /\n/g; function linebreak(s) { return s.replace(two_line, '<p></p>').replace(one_line, '<br>'); } var first_char = /\S/; function capitalize(s) { return s.replace(first_char, function(m) { return m.toUpperCase(); }); } })(jQuery);
const mongoose = require('mongoose'); const RestaurantSchema = new mongoose.Schema( { name: { type: String, required: true, }, phone: { type: String, required: true, }, address: { type: String, required: true, }, location: { type: String, required: true, }, imageURL: { type: String, required: true, }, stars: { type: Number, required: true, }, tags: { type: [String], required: true, }, }, { timestamps: true } ); const Restaurant = mongoose.model('Restaurant', RestaurantSchema); module.exports = Restaurant;
/////////////////////////////////////////////////////////////////////////////// // // AutobahnJS - http://autobahn.ws, http://wamp.ws // // A JavaScript library for WAMP ("The Web Application Messaging Protocol"). // // Copyright (c) Crossbar.io Technologies GmbH and contributors // // Licensed under the MIT License. // http://www.opensource.org/licenses/mit-license.php // /////////////////////////////////////////////////////////////////////////////// var autobahn = require('../index.js'); var testutil = require('./testutil.js'); exports.testConnect = function (testcase) { testcase.expect(1); var test = new testutil.Testlog("test/test_connect.txt"); var N = 10; test.log("connecting " + N + " sessions ..."); var dl = testutil.connect_n(N); autobahn.when.all(dl).then( function (res) { test.log("all " + res.length + " sessions connected"); for (var i = 0; i < res.length; ++i) { test.log("leaving session " + i); res[i].leave(); } var chk = test.check(); testcase.ok(!chk, chk); testcase.done(); }, function (err) { test.log(err); testcase.done(); } ); }
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).vuejsDatepicker=t()}(this,function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){a(e,t,i[t])})}return e}var n=new(function(){function e(t,a,i,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.months=a,this.monthsAbbr=i,this.days=n,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var a,i,n;return a=e,(i=[{key:"language",get:function(){return this._language},set:function(e){if("string"!=typeof e)throw new TypeError("Language must be a string");this._language=e}},{key:"months",get:function(){return this._months},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=e}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=e}},{key:"days",get:function(){return this._days},set:function(e){if(7!==e.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=e}}])&&t(a.prototype,i),n&&t(a,n),e}())("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),s={useUtc:!1,getFullYear:function(e){return this.useUtc?e.getUTCFullYear():e.getFullYear()},getMonth:function(e){return this.useUtc?e.getUTCMonth():e.getMonth()},getDate:function(e){return this.useUtc?e.getUTCDate():e.getDate()},getDay:function(e){return this.useUtc?e.getUTCDay():e.getDay()},getHours:function(e){return this.useUtc?e.getUTCHours():e.getHours()},getMinutes:function(e){return this.useUtc?e.getUTCMinutes():e.getMinutes()},setFullYear:function(e,t,a){return this.useUtc?e.setUTCFullYear(t):e.setFullYear(t)},setMonth:function(e,t,a){return this.useUtc?e.setUTCMonth(t):e.setMonth(t)},setDate:function(e,t,a){return this.useUtc?e.setUTCDate(t):e.setDate(t)},compareDates:function(e,t){var a=new Date(e.getTime()),i=new Date(t.getTime());return this.useUtc?(a.setUTCHours(0,0,0,0),i.setUTCHours(0,0,0,0)):(a.setHours(0,0,0,0),i.setHours(0,0,0,0)),a.getTime()===i.getTime()},isValidDate:function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},getDayNameAbbr:function(t,a){if("object"!==e(t))throw TypeError("Invalid Type");return a[this.getDay(t)]},getMonthName:function(t,a){if(!a)throw Error("missing 2nd parameter Months array");if("object"===e(t))return a[this.getMonth(t)];if("number"==typeof t)return a[t];throw TypeError("Invalid type")},getMonthNameAbbr:function(t,a){if(!a)throw Error("missing 2nd paramter Months array");if("object"===e(t))return a[this.getMonth(t)];if("number"==typeof t)return a[t];throw TypeError("Invalid type")},daysInMonth:function(e,t){return/8|3|5|10/.test(t)?30:1===t?(e%4||!(e%100))&&e%400?28:29:31},getNthSuffix:function(e){switch(e){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(e,t,a){a=a||n;var i=this.getFullYear(e),s=this.getMonth(e)+1,r=this.getDate(e);return t.replace(/dd/,("0"+r).slice(-2)).replace(/d/,r).replace(/yyyy/,i).replace(/yy/,String(i).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(e),a.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(e),a.monthsAbbr)).replace(/MM/,("0"+s).slice(-2)).replace(/M(?!a|ä|e)/,s).replace(/su/,this.getNthSuffix(this.getDate(e))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(e,a.days))},createDateArray:function(e,t){for(var a=[];e<=t;)a.push(new Date(e)),e=this.setDate(new Date(e),this.getDate(new Date(e))+1);return a},validateDateInput:function(e){return null===e||e instanceof Date||"string"==typeof e||"number"==typeof e}},r=function(e){return i({},s,{useUtc:e})},l=i({},s);var d=function(e,t,a,i,n,s,r,l,d,o){"boolean"!=typeof r&&(d=l,l=r,r=!1);var h,c="function"==typeof a?a.options:a;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,n&&(c.functional=!0)),i&&(c._scopeId=i),s?(h=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=h):t&&(h=r?function(){t.call(this,o(this.$root.$options.shadowRoot))}:function(e){t.call(this,l(e))}),h)if(c.functional){var u=c.render;c.render=function(e,t){return h.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,h):[h]}return a};const o={props:{selectedDate:Date,resetTypedDate:[Date],format:[String,Function],translation:Object,inline:Boolean,id:String,name:String,refName:String,openDate:Date,placeholder:String,inputClass:[String,Object,Array],clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,disabled:Boolean,required:Boolean,typeable:Boolean,bootstrapStyling:Boolean,useUtc:Boolean},data:function(){return{input:null,typedDate:!1,utils:r(this.useUtc)}},computed:{formattedValue:function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},computedInputClass:function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):i({"form-control":!0},this.inputClass):this.inputClass}},watch:{resetTypedDate:function(){this.typedDate=!1}},methods:{showCalendar:function(){this.$emit("showCalendar")},parseTypedDate:function(e){if([27,13].includes(e.keyCode)&&this.input.blur(),this.typeable){var t=Date.parse(this.input.value);isNaN(t)||(this.typedDate=this.input.value,this.$emit("typedDate",new Date(this.typedDate)))}},inputBlurred:function(){this.typeable&&isNaN(Date.parse(this.input.value))&&(this.clearDate(),this.input.value=null,this.typedDate=null),this.$emit("closeCalendar")},clearDate:function(){this.$emit("clearDate")}},mounted:function(){this.input=this.$el.querySelector("input")}};var h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"input-group":e.bootstrapStyling}},[e.calendarButton?a("span",{staticClass:"vdp-datepicker__calendar-button",class:{"input-group-prepend":e.bootstrapStyling},style:{"cursor:not-allowed;":e.disabled},on:{click:e.showCalendar}},[a("span",{class:{"input-group-text":e.bootstrapStyling}},[a("i",{class:e.calendarButtonIcon},[e._v("\n "+e._s(e.calendarButtonIconContent)+"\n "),e.calendarButtonIcon?e._e():a("span",[e._v("…")])])])]):e._e(),e._v(" "),a("input",{ref:e.refName,class:e.computedInputClass,attrs:{type:e.inline?"hidden":"text",name:e.name,id:e.id,"open-date":e.openDate,placeholder:e.placeholder,"clear-button":e.clearButton,disabled:e.disabled,required:e.required,readonly:!e.typeable,autocomplete:"off"},domProps:{value:e.formattedValue},on:{click:e.showCalendar,keyup:e.parseTypedDate,blur:e.inputBlurred}}),e._v(" "),e.clearButton&&e.selectedDate?a("span",{staticClass:"vdp-datepicker__clear-button",class:{"input-group-append":e.bootstrapStyling},on:{click:function(t){return e.clearDate()}}},[a("span",{class:{"input-group-text":e.bootstrapStyling}},[a("i",{class:e.clearButtonIcon},[e.clearButtonIcon?e._e():a("span",[e._v("×")])])])]):e._e(),e._v(" "),e._t("afterDateInput")],2)};h._withStripped=!0;const c=d({render:h,staticRenderFns:[]},void 0,o,void 0,!1,void 0,!1,void 0,void 0,void 0);const u={props:{showDayView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,fullMonthName:Boolean,allowedToShowView:Function,dayCellContent:{type:Function,default:function(e){return e.date}},disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,mondayFirst:Boolean,useUtc:Boolean},data:function(){return{utils:r(this.useUtc)}},computed:{daysOfWeek:function(){if(this.mondayFirst){var e=this.translation.days.slice();return e.push(e.shift()),e}return this.translation.days},blankDays:function(){var e=this.pageDate,t=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes());return this.mondayFirst?this.utils.getDay(t)>0?this.utils.getDay(t)-1:6:this.utils.getDay(t)},days:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes()),i=this.utils.daysInMonth(this.utils.getFullYear(a),this.utils.getMonth(a)),n=0;n<i;n++)t.push({date:this.utils.getDate(a),timestamp:a.getTime(),isSelected:this.isSelectedDate(a),isDisabled:this.isDisabledDate(a),isHighlighted:this.isHighlightedDate(a),isAdditionalHighlighted:this.isAdditionalHighlightedDate(a),isHighlightStart:this.isHighlightStart(a),isHighlightEnd:this.isHighlightEnd(a),isToday:this.utils.compareDates(a,new Date),isWeekend:0===this.utils.getDay(a)||6===this.utils.getDay(a),isSaturday:6===this.utils.getDay(a),isSunday:0===this.utils.getDay(a)}),this.utils.setDate(a,this.utils.getDate(a)+1);return t},currMonthName:function(){var e=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),e)},currYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isYmd:function(){return this.translation.ymd&&!0===this.translation.ymd},isLeftNavDisabled:function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)}},methods:{selectDate:function(e){if(e.isDisabled)return this.$emit("selectedDisabled",e),!1;this.$emit("selectDate",e)},getPageMonth:function(){return this.utils.getMonth(this.pageDate)},showMonthCalendar:function(){this.$emit("showMonthCalendar")},changeMonth:function(e){var t=this.pageDate;this.utils.setMonth(t,this.utils.getMonth(t)+e),this.$emit("changedMonth",t)},previousMonth:function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},isPreviousMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.to)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(e)},nextMonth:function(){this.isNextMonthDisabled()||this.changeMonth(1)},isNextMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.from)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(e)},isSelectedDate:function(e){return this.selectedDate&&this.utils.compareDates(this.selectedDate,e)},isDisabledDate:function(e){var t=this,a=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach(function(i){if(t.utils.compareDates(e,i))return a=!0,!0}),void 0!==this.disabledDates.to&&this.disabledDates.to&&e<this.disabledDates.to&&(a=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&e>this.disabledDates.from&&(a=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach(function(t){if(void 0!==t.from&&t.from&&void 0!==t.to&&t.to&&e<t.to&&e>t.from)return a=!0,!0}),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(e))&&(a=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(e))&&(a=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(a=!0),a)},isHighlightedDate:function(e){var t=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(e))return!1;var a=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach(function(i){if(t.utils.compareDates(e,i))return a=!0,!0}),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(a=e>=this.highlighted.from&&e<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(e))&&(a=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(e))&&(a=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted.customPredictor(e)&&(a=!0),a)},isAdditionalHighlightedDate:function(e){var t=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(e))return!1;var a=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.additional&&this.highlighted.additional.forEach(function(i){if(t.utils.compareDates(e,i))return a=!0,!0}),a)},dayClasses:function(e){return{selected:e.isSelected,disabled:e.isDisabled,highlighted:e.isHighlighted,"additional-highlighted":e.isAdditionalHighlighted,today:e.isToday,weekend:e.isWeekend,sat:e.isSaturday,sun:e.isSunday,"highlight-start":e.isHighlightStart,"highlight-end":e.isHighlightEnd}},isHighlightStart:function(e){return this.isHighlightedDate(e)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(e)},isHighlightEnd:function(e){return this.isHighlightedDate(e)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(e)},isDefined:function(e){return void 0!==e&&e}}};var p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showDayView,expression:"showDayView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextMonth():e.previousMonth()}}},[e._v("<")]),e._v(" "),a("span",{staticClass:"day__month_btn",class:e.allowedToShowView("month")?"up":"",on:{click:e.showMonthCalendar}},[e._v(e._s(e.isYmd?e.currYearName:e.currMonthName)+" "+e._s(e.isYmd?e.currMonthName:e.currYearName))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousMonth():e.nextMonth()}}},[e._v(">")])]),e._v(" "),a("div",{class:e.isRtl?"flex-rtl":""},[e._l(e.daysOfWeek,function(t){return a("span",{key:t.timestamp,staticClass:"cell day-header"},[e._v(e._s(t))])}),e._v(" "),e.blankDays>0?e._l(e.blankDays,function(e){return a("span",{key:e.timestamp,staticClass:"cell day blank"})}):e._e(),e._l(e.days,function(t){return a("span",{key:t.timestamp,staticClass:"cell day",class:e.dayClasses(t),domProps:{innerHTML:e._s(e.dayCellContent(t))},on:{click:function(a){return e.selectDate(t)}}})})],2)],2)};p._withStripped=!0;const g=d({render:p,staticRenderFns:[]},void 0,u,void 0,!1,void 0,!1,void 0,void 0,void 0);const f={props:{showMonthView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},data:function(){return{utils:r(this.useUtc)}},computed:{months:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),0,e.getUTCDate())):new Date(e.getFullYear(),0,e.getDate(),e.getHours(),e.getMinutes()),i=0;i<12;i++)t.push({month:this.utils.getMonthName(i,this.translation.months),timestamp:a.getTime(),isSelected:this.isSelectedMonth(a),isDisabled:this.isDisabledMonth(a)}),this.utils.setMonth(a,this.utils.getMonth(a)+1);return t},pageYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isLeftNavDisabled:function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)}},methods:{selectMonth:function(e){if(e.isDisabled)return!1;this.$emit("selectMonth",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedYear",t)},previousYear:function(){this.isPreviousYearDisabled()||this.changeYear(-1)},isPreviousYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},nextYear:function(){this.isNextYearDisabled()||this.changeYear(1)},isNextYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},showYearCalendar:function(){this.$emit("showYearCalendar")},isSelectedMonth:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(e)},isDisabledMonth:function(e){var t=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(e)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(e)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to))&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(e)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(e)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from))&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var D=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonthView,expression:"showMonthView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextYear():e.previousYear()}}},[e._v("<")]),e._v(" "),a("span",{staticClass:"month__year_btn",class:e.allowedToShowView("year")?"up":"",on:{click:e.showYearCalendar}},[e._v(e._s(e.pageYearName))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousYear():e.nextYear()}}},[e._v(">")])]),e._v(" "),e._l(e.months,function(t){return a("span",{key:t.timestamp,staticClass:"cell month",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(a){return a.stopPropagation(),e.selectMonth(t)}}},[e._v(e._s(t.month))])})],2)};D._withStripped=!0;const b=d({render:D,staticRenderFns:[]},void 0,f,void 0,!1,void 0,!1,void 0,void 0,void 0);const m={props:{showYearView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},computed:{years:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(10*Math.floor(e.getUTCFullYear()/10),e.getUTCMonth(),e.getUTCDate())):new Date(10*Math.floor(e.getFullYear()/10),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes()),i=0;i<10;i++)t.push({year:this.utils.getFullYear(a),timestamp:a.getTime(),isSelected:this.isSelectedYear(a),isDisabled:this.isDisabledYear(a)}),this.utils.setFullYear(a,this.utils.getFullYear(a)+1);return t},getPageDecade:function(){var e=10*Math.floor(this.utils.getFullYear(this.pageDate)/10),t=e+9,a=this.translation.yearSuffix;return"".concat(e," - ").concat(t).concat(a)},isLeftNavDisabled:function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)}},data:function(){return{utils:r(this.useUtc)}},methods:{selectYear:function(e){if(e.isDisabled)return!1;this.$emit("selectYear",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedDecade",t)},previousDecade:function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},isPreviousDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},nextDecade:function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},isNextDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},isSelectedYear:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)},isDisabledYear:function(e){var t=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to)&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from)&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var A=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showYearView,expression:"showYearView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextDecade():e.previousDecade()}}},[e._v("<")]),e._v(" "),a("span",[e._v(e._s(e.getPageDecade))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousDecade():e.nextDecade()}}},[e._v(">")])]),e._v(" "),e._l(e.years,function(t){return a("span",{key:t.timestamp,staticClass:"cell year",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(a){return a.stopPropagation(),e.selectYear(t)}}},[e._v(e._s(t.year))])})],2)};A._withStripped=!0;var v={components:{DateInput:c,PickerDay:g,PickerMonth:b,PickerYear:d({render:A,staticRenderFns:[]},void 0,m,void 0,!1,void 0,!1,void 0,void 0,void 0)},props:{value:{validator:function(e){return l.validateDateInput(e)}},name:String,refName:String,id:String,format:{type:[String,Function],default:"dd MMM yyyy"},language:{type:Object,default:function(){return n}},openDate:{validator:function(e){return l.validateDateInput(e)}},dayCellContent:Function,fullMonthName:Boolean,disabledDates:Object,highlighted:Object,placeholder:String,inline:Boolean,calendarClass:[String,Object,Array],inputClass:[String,Object,Array],wrapperClass:[String,Object,Array],mondayFirst:Boolean,clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,bootstrapStyling:Boolean,initialView:String,disabled:Boolean,required:Boolean,typeable:Boolean,useUtc:Boolean,minimumView:{type:String,default:"day"},maximumView:{type:String,default:"year"}},data:function(){var e=this.openDate?new Date(this.openDate):new Date,t=r(this.useUtc);return{pageTimestamp:t.setDate(e,1),selectedDate:null,showDayView:!1,showMonthView:!1,showYearView:!1,calendarHeight:0,resetTypedDate:new Date,utils:t}},watch:{value:function(e){this.setValue(e)},openDate:function(){this.setPageDate()},initialView:function(){this.setInitialView()}},computed:{computedInitialView:function(){return this.initialView?this.initialView:this.minimumView},pageDate:function(){return new Date(this.pageTimestamp)},translation:function(){return this.language},calendarStyle:function(){return{position:this.isInline?"static":void 0}},isOpen:function(){return this.showDayView||this.showMonthView||this.showYearView},isInline:function(){return!!this.inline},isRtl:function(){return!0===this.translation.rtl}},methods:{resetDefaultPageDate:function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},showCalendar:function(){return!this.disabled&&!this.isInline&&(this.isOpen?this.close(!0):void this.setInitialView())},setInitialView:function(){var e=this.computedInitialView;if(!this.allowedToShowView(e))throw new Error("initialView '".concat(this.initialView,"' cannot be rendered based on minimum '").concat(this.minimumView,"' and maximum '").concat(this.maximumView,"'"));switch(e){case"year":this.showYearCalendar();break;case"month":this.showMonthCalendar();break;default:this.showDayCalendar()}},allowedToShowView:function(e){var t=["day","month","year"],a=t.indexOf(this.minimumView),i=t.indexOf(this.maximumView),n=t.indexOf(e);return n>=a&&n<=i},showDayCalendar:function(){return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,!0)},showMonthCalendar:function(){return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,!0)},showYearCalendar:function(){return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,!0)},setDate:function(e){var t=new Date(e);this.selectedDate=t,this.setPageDate(t),this.$emit("selected",t),this.$emit("input",t)},clearDate:function(){this.selectedDate=null,this.setPageDate(),this.$emit("selected",null),this.$emit("input",null),this.$emit("cleared")},selectDate:function(e){this.setDate(e.timestamp),this.isInline||this.close(!0),this.resetTypedDate=new Date},selectDisabledDate:function(e){this.$emit("selectedDisabled",e)},selectMonth:function(e){var t=new Date(e.timestamp);this.allowedToShowView("day")?(this.setPageDate(t),this.$emit("changedMonth",e),this.showDayCalendar()):this.selectDate(e)},selectYear:function(e){var t=new Date(e.timestamp);this.allowedToShowView("month")?(this.setPageDate(t),this.$emit("changedYear",e),this.showMonthCalendar()):this.selectDate(e)},setValue:function(e){if("string"==typeof e||"number"==typeof e){var t=new Date(e);e=isNaN(t.valueOf())?null:t}if(!e)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=e,this.setPageDate(e)},setPageDate:function(e){e||(e=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=this.utils.setDate(new Date(e),1)},handleChangedMonthFromDayPicker:function(e){this.setPageDate(e),this.$emit("changedMonth",e)},setTypedDate:function(e){this.setDate(e.getTime())},close:function(e){this.showDayView=this.showMonthView=this.showYearView=!1,this.isInline||(e&&this.$emit("closed"),document.removeEventListener("click",this.clickOutside,!1))},init:function(){this.value&&this.setValue(this.value),this.isInline&&this.setInitialView()}},mounted:function(){this.init()}},_="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var y=document.head||document.getElementsByTagName("head")[0],w={};var C=function(e){return function(e,t){return function(e,t){var a=_?t.media||"default":e,i=w[a]||(w[a]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);var n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),y.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var s=i.ids.size-1,r=document.createTextNode(n),l=i.element.childNodes;l[s]&&i.element.removeChild(l[s]),l.length?i.element.insertBefore(r,l[s]):i.element.appendChild(r)}}}(e,t)}};const k=v;var B=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"vdp-datepicker",class:[e.wrapperClass,e.isRtl?"rtl":""]},[a("date-input",{attrs:{selectedDate:e.selectedDate,resetTypedDate:e.resetTypedDate,format:e.format,translation:e.translation,inline:e.inline,id:e.id,name:e.name,refName:e.refName,openDate:e.openDate,placeholder:e.placeholder,inputClass:e.inputClass,typeable:e.typeable,clearButton:e.clearButton,clearButtonIcon:e.clearButtonIcon,calendarButton:e.calendarButton,calendarButtonIcon:e.calendarButtonIcon,calendarButtonIconContent:e.calendarButtonIconContent,disabled:e.disabled,required:e.required,bootstrapStyling:e.bootstrapStyling,"use-utc":e.useUtc},on:{showCalendar:e.showCalendar,closeCalendar:e.close,typedDate:e.setTypedDate,clearDate:e.clearDate}},[e._t("afterDateInput",null,{slot:"afterDateInput"})],2),e._v(" "),e.allowedToShowView("day")?a("picker-day",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showDayView:e.showDayView,fullMonthName:e.fullMonthName,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,highlighted:e.highlighted,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,pageTimestamp:e.pageTimestamp,isRtl:e.isRtl,mondayFirst:e.mondayFirst,dayCellContent:e.dayCellContent,"use-utc":e.useUtc},on:{changedMonth:e.handleChangedMonthFromDayPicker,selectDate:e.selectDate,showMonthCalendar:e.showMonthCalendar,selectedDisabled:e.selectDisabledDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("month")?a("picker-month",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showMonthView:e.showMonthView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectMonth:e.selectMonth,showYearCalendar:e.showYearCalendar,changedYear:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("year")?a("picker-year",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showYearView:e.showYearView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectYear:e.selectYear,changedDecade:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e()],1)};B._withStripped=!0;return d({render:B,staticRenderFns:[]},function(e){e&&e("data-v-5967b024_0",{source:".rtl {\n direction: rtl;\n}\n.vdp-datepicker {\n position: relative;\n text-align: left;\n}\n.vdp-datepicker * {\n box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n position: absolute;\n z-index: 100;\n background: #fff;\n width: 300px;\n border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n display: block;\n line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n display: inline-block;\n text-align: center;\n width: 71.42857142857143%;\n float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n width: 14.285714285714286%;\n float: left;\n text-indent: -10000px;\n position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n content: '';\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n border-right: 10px solid #000;\n margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n border-left: 10px solid #000;\n margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n color: #ddd;\n cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n display: flex;\n width: inherit;\n flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n display: inline-block;\n padding: 0 5px;\n width: 14.285714285714286%;\n height: 40px;\n line-height: 40px;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted,\n.vdp-datepicker__calendar .cell.selected.additional-highlighted {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted,\n.vdp-datepicker__calendar .cell.additional-highlighted {\n background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled,\n.vdp-datepicker__calendar .cell.additional-highlighted.disabled {\n color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n font-size: 75%;\n white-space: nowrap;\n cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n cursor: pointer;\n font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n color: #999;\n cursor: default;\n}\n",map:{version:3,sources:["Datepicker.vue"],names:[],mappings:"AAAA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;AACb;AACA;;EAEE,0BAA0B;EAC1B,WAAW;EACX,qBAAqB;EACrB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,4CAA4C;EAC5C,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,4BAA4B;EAC5B,gBAAgB;AAClB;AACA;EACE,4BAA4B;AAC9B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,0BAA0B;EAC1B,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,sBAAsB;EACtB,6BAA6B;AAC/B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;AACjB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;;EAEE,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB",file:"Datepicker.vue",sourcesContent:[".rtl {\n direction: rtl;\n}\n.vdp-datepicker {\n position: relative;\n text-align: left;\n}\n.vdp-datepicker * {\n box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n position: absolute;\n z-index: 100;\n background: #fff;\n width: 300px;\n border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n display: block;\n line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n display: inline-block;\n text-align: center;\n width: 71.42857142857143%;\n float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n width: 14.285714285714286%;\n float: left;\n text-indent: -10000px;\n position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n content: '';\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n border-right: 10px solid #000;\n margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n border-left: 10px solid #000;\n margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n color: #ddd;\n cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n display: flex;\n width: inherit;\n flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n display: inline-block;\n padding: 0 5px;\n width: 14.285714285714286%;\n height: 40px;\n line-height: 40px;\n text-align: center;\n vertical-align: middle;\n border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted,\n.vdp-datepicker__calendar .cell.selected.additional-highlighted {\n background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted,\n.vdp-datepicker__calendar .cell.additional-highlighted {\n background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled,\n.vdp-datepicker__calendar .cell.additional-highlighted.disabled {\n color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n font-size: 75%;\n white-space: nowrap;\n cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n cursor: pointer;\n font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n color: #999;\n cursor: default;\n}\n"]},media:void 0})},k,void 0,!1,void 0,!1,C,void 0,void 0)});
Polymer({ is: 'paper-tooltip', hostAttributes: { role: 'tooltip', tabindex: -1 }, behaviors: [ Polymer.NeonAnimationRunnerBehavior ], properties: { /** * The id of the element that the tooltip is anchored to. This element * must be a sibling of the tooltip. */ for: { type: String, observer: '_forChanged' }, /** * Positions the tooltip to the top, right, bottom, left of its content. */ position: { type: String, value: 'bottom' }, /** * If true, no parts of the tooltip will ever be shown offscreen. */ fitToVisibleBounds: { type: Boolean, value: false }, /** * The spacing between the top of the tooltip and the element it is * anchored to. */ offset: { type: Number, value: 14 }, /** * This property is deprecated, but left over so that it doesn't * break exiting code. Please use `offset` instead. If both `offset` and * `marginTop` are provided, `marginTop` will be ignored. * @deprecated since version 1.0.3 */ marginTop: { type: Number, value: 14 }, /** * The delay that will be applied before the `entry` animation is * played when showing the tooltip. */ animationDelay: { type: Number, value: 500 }, /** * The entry and exit animations that will be played when showing and * hiding the tooltip. If you want to override this, you must ensure * that your animationConfig has the exact format below. */ animationConfig: { type: Object, value: function() { return { 'entry': [{ name: 'fade-in-animation', node: this, timing: {delay: 0} }], 'exit': [{ name: 'fade-out-animation', node: this }] } } }, _showing: { type: Boolean, value: false } }, listeners: { 'neon-animation-finish': '_onAnimationFinish', 'mouseenter': 'hide' }, /** * Returns the target element that this tooltip is anchored to. It is * either the element given by the `for` attribute, or the immediate parent * of the tooltip. */ get target () { var parentNode = Polymer.dom(this).parentNode; // If the parentNode is a document fragment, then we need to use the host. var ownerRoot = Polymer.dom(this).getOwnerRoot(); var target; if (this.for) { target = Polymer.dom(ownerRoot).querySelector('#' + this.for); } else { target = parentNode.nodeType == Node.DOCUMENT_FRAGMENT_NODE ? ownerRoot.host : parentNode; } return target; }, attached: function() { this._target = this.target; this.listen(this._target, 'mouseenter', 'show'); this.listen(this._target, 'focus', 'show'); this.listen(this._target, 'mouseleave', 'hide'); this.listen(this._target, 'blur', 'hide'); this.listen(this._target, 'tap', 'hide'); }, detached: function() { if (this._target) { this.unlisten(this._target, 'mouseenter', 'show'); this.unlisten(this._target, 'focus', 'show'); this.unlisten(this._target, 'mouseleave', 'hide'); this.unlisten(this._target, 'blur', 'hide'); this.unlisten(this._target, 'tap', 'hide'); } }, show: function() { // If the tooltip is already showing, there's nothing to do. if (this._showing) return; if (Polymer.dom(this).textContent.trim() === '') return; this.cancelAnimation(); this._showing = true; this.toggleClass('hidden', false, this.$.tooltip); this.updatePosition(); this.animationConfig.entry[0].timing.delay = this.animationDelay; this._animationPlaying = true; this.playAnimation('entry'); }, hide: function() { // If the tooltip is already hidden, there's nothing to do. if (!this._showing) { return; } // If the entry animation is still playing, don't try to play the exit // animation since this will reset the opacity to 1. Just end the animation. if (this._animationPlaying) { this.cancelAnimation(); this._showing = false; this._onAnimationFinish(); return; } this._showing = false; this._animationPlaying = true; this.playAnimation('exit'); }, _forChanged: function() { this._target = this.target; }, updatePosition: function() { if (!this._target) return; var offset = this.offset; // If a marginTop has been provided by the user (pre 1.0.3), use it. if (this.marginTop != 14 && this.offset == 14) offset = this.marginTop; var parentRect = this.offsetParent.getBoundingClientRect(); var targetRect = this._target.getBoundingClientRect(); var thisRect = this.getBoundingClientRect(); var horizontalCenterOffset = (targetRect.width - thisRect.width) / 2; var verticalCenterOffset = (targetRect.height - thisRect.height) / 2; var targetLeft = targetRect.left - parentRect.left; var targetTop = targetRect.top - parentRect.top; var tooltipLeft, tooltipTop; switch (this.position) { case 'top': tooltipLeft = targetLeft + horizontalCenterOffset; tooltipTop = targetTop - thisRect.height - offset; break; case 'bottom': tooltipLeft = targetLeft + horizontalCenterOffset; tooltipTop = targetTop + targetRect.height + offset; break; case 'left': tooltipLeft = targetLeft - thisRect.width - offset; tooltipTop = targetTop + verticalCenterOffset; break; case 'right': tooltipLeft = targetLeft + targetRect.width + offset; tooltipTop = targetTop + verticalCenterOffset; break; } // TODO(noms): This should use IronFitBehavior if possible. if (this.fitToVisibleBounds) { // Clip the left/right side. if (tooltipLeft + thisRect.width > window.innerWidth) { this.style.right = '0px'; this.style.left = 'auto'; } else { this.style.left = Math.max(0, tooltipLeft) + 'px'; this.style.right = 'auto'; } // Clip the top/bottom side. if (tooltipTop + thisRect.height > window.innerHeight) { this.style.bottom = '0px'; this.style.top = 'auto'; } else { this.style.top = Math.max(0, tooltipTop) + 'px'; this.style.bottom = 'auto'; } } else { this.style.left = tooltipLeft + 'px'; this.style.top = tooltipTop + 'px'; } }, _onAnimationFinish: function() { this._animationPlaying = false; if (!this._showing) { this.toggleClass('hidden', true, this.$.tooltip); } }, });
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details // about supported directives. // //= require jquery //= require jquery_ujs //= require bootstrap-sass-official //= require angular/angular //= require angular-route/angular-route //= require angular-animate/angular-animate //= require angular-resource/angular-resource //= require angular-ui-bootstrap-bower //= require lodash //= require moment/moment //= require angular-moment/angular-moment //= require angular-flash/dist/angular-flash //= require angular-rails-templates //= require_tree .
/// <reference path="../../observable.ts"/> /// <reference path="../../concurrency/scheduler.ts" /> (function () { var o; o.sample(100); o.sample(100, Rx.Scheduler.async); o.sample(Rx.Observable.interval(100)); o.sample(Rx.Observable.interval(100), Rx.Scheduler.async); o.throttleLatest(100); o.throttleLatest(100, Rx.Scheduler.async); o.throttleLatest(Rx.Observable.interval(100)); o.throttleLatest(Rx.Observable.interval(100), Rx.Scheduler.async); }); //# sourceMappingURL=sample.js.map
var class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder = [ [ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a2b6498d71757e9a34713b4fcd60704c7", null ], [ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a42914e87a1dc78f422e08cc2cc73f3df", null ], [ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ade89f3dfb1e2ddbfeef033ad269fc2cd", null ], [ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#aeb36f591df4e0205273eb9141324a2e8", null ], [ "AjaxOptions", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#afd67d8aba74cdd323f2d3c8888b20cfe", null ], [ "AutoLoad", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a8cab66e09c1ffe501fafc57e1168a941", null ], [ "BaseParams", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a7c487bbb007b1a33bf0452cf3f356443", null ], [ "Callback", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a6bfebb2dd1b1a5a696ff874ab3b0b654", null ], [ "DirectMethod", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a5a85134d6f82c914201f81641845b12b", null ], [ "DisableCaching", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ac009942a11ccfec631cd8baa639e9bef", null ], [ "DisableCachingParam", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a223d2e3609ce08c36f4a699f8dc82662", null ], [ "Failure", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a0db08e508fc6e5454e957e6ba67a78b0", null ], [ "Listeners", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a94edaea563864bd8ebbd10713d4dc807", null ], [ "LoadMask", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ac530af77fa0d2607fe2b8a3c2b518402", null ], [ "Mode", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a7d45e007700f6a8b14af3d263b3fbb3b", null ], [ "MonitorComplete", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#aaed358218e775bc7f1f224889811bb65", null ], [ "Params", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#aa49cde324de534131302a17bb1c92673", null ], [ "Params", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a6a36daa93b11e4551e6c7eeb604a052c", null ], [ "ParentRef", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#af50b56b9d8baef85f0d331bf4e25616c", null ], [ "PassParentSize", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ab5bc33dc7a7bd9b47927a7adbd4c2f81", null ], [ "ReloadOnEvent", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ae042f84604dc68f8893481b7d83a50ba", null ], [ "RemoveAll", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a12d50c78d2499efaf69468910630eff9", null ], [ "RemoveD", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a086e390644e51d368cef3036c41cdbd4", null ], [ "Renderer", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a9622fd95faad9432911f81a9dd8cfcab", null ], [ "RendererScope", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a6d1aeb40f0ccd0faf8129080ef04ba11", null ], [ "Scope", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a6f9bb0cfe17d363bf5dcc00261c0a3b7", null ], [ "Scripts", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#ad0023711f768f6e3218cb068f7caeb9e", null ], [ "ShowWarningOnFailure", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a84d41a73ad38530e9c3a00f4b18a45f1", null ], [ "Success", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#aa285e6b0732a8e7fa0698fde2fa9745c", null ], [ "Target", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a6b73d8fceb4461d57ae5cbdd9c6456f4", null ], [ "TriggerControl", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#af1028e0b08918e07d33d8cd80f66277f", null ], [ "TriggerEvent", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#abfa0217ab904d7f5bd18216a98a358ec", null ], [ "Url", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#af3615d7152eada5abca8aaf889416090", null ] ];
import React, { useEffect } from 'react'; import useHttpRequest from '../../CustomHooks/useHttpRequest'; import Select from '../../UI/Select'; const Option = React.memo(({ dataTransformation, dataType, className, property, eachOptionUrl, text, disabled }) => { const { error, isLoading, changeOptionHandler } = useHttpRequest(); useEffect(() => { const abortController = new AbortController(); changeOptionHandler(abortController, { url: eachOptionUrl }, dataTransformation); return () => abortController.abort(); }, [changeOptionHandler, dataTransformation, eachOptionUrl]) return ( <div workingWithData={dataTransformation} className={className}> <Select isLoading={isLoading} error={error} data={dataType} property={property} text={text} disabled={disabled} onChange={changeOptionHandler.bind(null, new AbortController())} > </Select> </div> ); }) export default Option;
import React from "react"; import { withNamespaces } from "react-i18next"; import styles from "./companyInformation.module.scss"; import Dropdown from "../../inputs/dropdown/dropdown"; import * as actions from "../../../../action"; import { connect } from "react-redux"; import { getLeadField } from "../../../../utils/utils"; class CompanyType extends React.Component { constructor(props) { super(props); this.state = { selectedIndex: 0, }; } componentDidMount() { this.props.setFormValidity(null, this.props.id); this.props.componentLoaded(); } static getDerivedStateFromProps(props, state) { if ("field" in props) { const value = getLeadField(props); if (value) { let selectedIndex = 0; for (let i = 0; i < props.initialInfo.transports.length; i++) { if (value === props.initialInfo.transports[i].value) { selectedIndex = i; break; } } return { selectedIndex }; } return null; } return null; } isSelectedStep = id => { return this.props.selectedStep === id; }; selectValue = () => { this.props.setFormValidity(null, this.props.id, true); }; render() { const { t } = this.props; let containerClass = ""; if (this.isSelectedStep(this.props.id)) { containerClass = " active"; } return ( <div className={`${styles.clickHere} ${styles.section}` + containerClass} id={this.props.id} onClick={() => this.props.selectStep(this.props.id)} > <span className={styles.sectionDescription}> {t("Select your company type")} </span> <Dropdown options={this.props.companyTypes} field="seller.companyType" selectedIndex={this.state.selectedIndex} propagateToParent={this.selectValue} /> </div> ); } } function mapStateToProps({ leadForm }) { return { initialInfo: leadForm.initialInfo, lead: leadForm.lead, magicLinkToken: leadForm.magicLinkToken, companyTypes: leadForm.initialInfo.companyTypes, selectedStep: leadForm.selectedStep, }; } export default connect(mapStateToProps, actions)(withNamespaces()(CompanyType));
import React from 'react' import { storiesOf } from '@storybook/react' import { BackgroundImage, Box, Text, Flex } from '../src' const image = 'https://source.unsplash.com/random/1280x720' storiesOf('BackgroundImage', module) .add('Basic', () => ( <Box> <BackgroundImage image={image} width="320px"> <Box p={4}> <Text fontSize={6} bold align="center" color="white"> Hello </Text> </Box> </BackgroundImage> </Box> )) .add('Fixed Height', () => ( <Box> <BackgroundImage height="320px" image={image} width="360px"> <Box p={4}> <Text fontSize={6} bold align="center" color="white"> Hello </Text> </Box> </BackgroundImage> </Box> )) .add('Responsive', () => ( <Flex> <BackgroundImage width={['100px', '216px', '260px']} height="320px" image={image} > <Box p={4}> <Text fontSize={6} bold align="center" color="white"> Hello </Text> </Box> </BackgroundImage> </Flex> ))
// NOTE: This script determines if the user has completed the intro conversatiom, // and sets the corresponding value to true in the user object so they will get push notifications const constants = require('../src/constants'); const { getUserById } = require('../src/database'); const { isInvalidUser } = require('../src/utils/user_utils'); const { DB_USER_LIST } = constants; const {promisify} = require('util'); const redis = require('redis'); const config = require('config'); const redisClient = redis.createClient({ host: config.redis.host, port: config.redis.port }); const getLAsync = promisify(redisClient.lrange).bind(redisClient); let num = 0; let userNum = 0; getLAsync(DB_USER_LIST, 0, -1).then(userIds => { if (!userIds || userIds.length === 0) { console.log('no users to modify') redisClient.quit(); setTimeout(() => { process.exit(0) }, 3000); } else { const promises = userIds.map(id => { return getUserById(id); }); Promise.all(promises).then(users => { users.forEach(user => { userNum ++; if (isInvalidUser(user)) { num++; } }); console.log(num + ' users to have become invalid out of ' + userNum); redisClient.quit(); setTimeout(() => { process.exit(0); }, 3000); }) .catch(err => console.log(err));// eslint-disable-line no-console } }).catch(err => {console.log(err);process.exit(1);});// eslint-disable-line no-console
var HDWalletProvider = require("truffle-hdwallet-provider"); // var mnemonic = "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat"; var mnemonic = "robot boat soon reduce liquid food mobile sheriff core raw injury lift"; module.exports = { networks: { development: { host: '127.0.0.1', port: 8545, network_id: '*', gas: 6721975, gasPrice: 20000000000, confirmations: 0, timeoutBlocks: 50, skipDryRun: true, } } , compilers: { solc: { // version: "^0.4.24" version: "0.8.10" } } };